{ "swagger": "2.0", "schemes": [ "http" ], "host": "elasticfilesystem.amazonaws.com", "basePath": "/", "info": { "contact": { "email": "mike.ralphson@gmail.com", "name": "Mike Ralphson", "url": "https://github.com/mermade/aws2openapi" }, "description": "Amazon Elastic File System

Amazon Elastic File System (Amazon EFS) provides simple, scalable file storage for use with Amazon EC2 instances in the AWS Cloud. With Amazon EFS, storage capacity is elastic, growing and shrinking automatically as you add and remove files, so your applications have the storage they need, when they need it. For more information, see the User Guide.

", "license": { "name": "Apache 2.0 License", "url": "http://www.apache.org/licenses/" }, "termsOfService": "https://aws.amazon.com/service-terms/", "title": "Amazon Elastic File System", "version": "2015-02-01", "x-apiClientRegistration": { "url": "https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct" }, "x-apisguru-categories": [ "cloud" ], "x-logo": { "backgroundColor": "#FFFFFF", "url": "https://api.apis.guru/v2/cache/logo/https_media.amazonwebservices.com_blog_2007_big_pbaws_logo_300px.jpg" }, "x-origin": [ { "contentType": "application/json", "converter": { "url": "https://github.com/mermade/aws2openapi", "version": "1.0.0" }, "url": "https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/elasticfilesystem-2015-02-01.normal.json", "x-apisguru-direct": true } ], "x-preferred": true, "x-providerName": "amazonaws.com", "x-release": "v4", "x-serviceName": "elasticfilesystem" }, "externalDocs": { "description": "Amazon Web Services documentation", "url": "https://aws.amazon.com/elasticfilesystem/" }, "consumes": [ "application/json" ], "produces": [ "application/json" ], "securityDefinitions": { "hmac": { "description": "Amazon Signature authorization v4", "in": "header", "name": "Authorization", "type": "apiKey", "x-amazon-apigateway-authtype": "awsSigv4" } }, "security": [ { "hmac": [] } ], "parameters": { "Action": { "in": "header", "name": "Action", "required": true, "type": "string" }, "Version": { "in": "header", "name": "Version", "required": true, "type": "string" }, "X-Amz-Algorithm": { "in": "header", "name": "X-Amz-Algorithm", "required": false, "type": "string" }, "X-Amz-Content-Sha256": { "in": "header", "name": "X-Amz-Content-Sha256", "required": false, "type": "string" }, "X-Amz-Credential": { "in": "header", "name": "X-Amz-Credential", "required": false, "type": "string" }, "X-Amz-Date": { "in": "header", "name": "X-Amz-Date", "required": false, "type": "string" }, "X-Amz-Security-Token": { "in": "header", "name": "X-Amz-Security-Token", "required": false, "type": "string" }, "X-Amz-Signature": { "in": "header", "name": "X-Amz-Signature", "required": false, "type": "string" }, "X-Amz-SignedHeaders": { "in": "header", "name": "X-Amz-SignedHeaders", "required": false, "type": "string" } }, "paths": { "/2015-02-01/create-tags/{FileSystemId}": { "parameters": [ { "$ref": "#/parameters/Action" }, { "$ref": "#/parameters/Version" }, { "$ref": "#/parameters/X-Amz-Content-Sha256" }, { "$ref": "#/parameters/X-Amz-Date" }, { "$ref": "#/parameters/X-Amz-Algorithm" }, { "$ref": "#/parameters/X-Amz-Credential" }, { "$ref": "#/parameters/X-Amz-Security-Token" }, { "$ref": "#/parameters/X-Amz-Signature" }, { "$ref": "#/parameters/X-Amz-SignedHeaders" } ], "post": { "description": "

Creates or overwrites tags associated with a file system. Each tag is a key-value pair. If a tag key specified in the request already exists on the file system, this operation overwrites its value with the value provided in the request. If you add the Name tag to your file system, Amazon EFS returns it in the response to the DescribeFileSystems operation.

This operation requires permission for the elasticfilesystem:CreateTags action.

", "operationId": "CreateTags", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/CreateTagsRequest" } }, { "in": "path", "name": "FileSystemId", "required": true, "type": "string" }, { "in": "query", "name": "FileSystemId", "type": "string" } ], "responses": { "204": { "description": "Success" }, "480": { "description": "BadRequest", "schema": { "$ref": "#/definitions/BadRequest" } }, "481": { "description": "InternalServerError", "schema": { "$ref": "#/definitions/InternalServerError" } }, "482": { "description": "FileSystemNotFound", "schema": { "$ref": "#/definitions/FileSystemNotFound" } } } } }, "/2015-02-01/delete-tags/{FileSystemId}": { "parameters": [ { "$ref": "#/parameters/Action" }, { "$ref": "#/parameters/Version" }, { "$ref": "#/parameters/X-Amz-Content-Sha256" }, { "$ref": "#/parameters/X-Amz-Date" }, { "$ref": "#/parameters/X-Amz-Algorithm" }, { "$ref": "#/parameters/X-Amz-Credential" }, { "$ref": "#/parameters/X-Amz-Security-Token" }, { "$ref": "#/parameters/X-Amz-Signature" }, { "$ref": "#/parameters/X-Amz-SignedHeaders" } ], "post": { "description": "

Deletes the specified tags from a file system. If the DeleteTags request includes a tag key that does not exist, Amazon EFS ignores it and doesn't cause an error. For more information about tags and related restrictions, see Tag Restrictions in the AWS Billing and Cost Management User Guide.

This operation requires permissions for the elasticfilesystem:DeleteTags action.

", "operationId": "DeleteTags", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/DeleteTagsRequest" } }, { "in": "path", "name": "FileSystemId", "required": true, "type": "string" }, { "in": "query", "name": "FileSystemId", "type": "string" } ], "responses": { "204": { "description": "Success" }, "480": { "description": "BadRequest", "schema": { "$ref": "#/definitions/BadRequest" } }, "481": { "description": "InternalServerError", "schema": { "$ref": "#/definitions/InternalServerError" } }, "482": { "description": "FileSystemNotFound", "schema": { "$ref": "#/definitions/FileSystemNotFound" } } } } }, "/2015-02-01/file-systems": { "get": { "description": "

Returns the description of a specific Amazon EFS file system if either the file system CreationToken or the FileSystemId is provided. Otherwise, it returns descriptions of all file systems owned by the caller's AWS account in the AWS Region of the endpoint that you're calling.

When retrieving all file system descriptions, you can optionally specify the MaxItems parameter to limit the number of descriptions in a response. If more file system descriptions remain, Amazon EFS returns a NextMarker, an opaque token, in the response. In this case, you should send a subsequent request with the Marker request parameter set to the value of NextMarker.

To retrieve a list of your file system descriptions, this operation is used in an iterative process, where DescribeFileSystems is called first without the Marker and then the operation continues to call it with the Marker parameter set to the value of the NextMarker from the previous response until the response has no NextMarker.

The implementation may return fewer than MaxItems file system descriptions while still including a NextMarker value.

The order of file systems returned in the response of one DescribeFileSystems call and the order of file systems returned across the responses of a multi-call iteration is unspecified.

This operation requires permissions for the elasticfilesystem:DescribeFileSystems action.

", "operationId": "DescribeFileSystems", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/DescribeFileSystemsRequest" } } ], "responses": { "200": { "description": "Success", "schema": { "$ref": "#/definitions/DescribeFileSystemsResponse" } }, "480": { "description": "BadRequest", "schema": { "$ref": "#/definitions/BadRequest" } }, "481": { "description": "InternalServerError", "schema": { "$ref": "#/definitions/InternalServerError" } }, "482": { "description": "FileSystemNotFound", "schema": { "$ref": "#/definitions/FileSystemNotFound" } } } }, "parameters": [ { "$ref": "#/parameters/Action" }, { "$ref": "#/parameters/Version" }, { "$ref": "#/parameters/X-Amz-Content-Sha256" }, { "$ref": "#/parameters/X-Amz-Date" }, { "$ref": "#/parameters/X-Amz-Algorithm" }, { "$ref": "#/parameters/X-Amz-Credential" }, { "$ref": "#/parameters/X-Amz-Security-Token" }, { "$ref": "#/parameters/X-Amz-Signature" }, { "$ref": "#/parameters/X-Amz-SignedHeaders" } ] }, "/2015-02-01/file-systems/{FileSystemId}": { "delete": { "description": "

Deletes a file system, permanently severing access to its contents. Upon return, the file system no longer exists and you can't access any contents of the deleted file system.

You can't delete a file system that is in use. That is, if the file system has any mount targets, you must first delete them. For more information, see DescribeMountTargets and DeleteMountTarget.

The DeleteFileSystem call returns while the file system state is still deleting. You can check the file system deletion status by calling the DescribeFileSystems operation, which returns a list of file systems in your account. If you pass file system ID or creation token for the deleted file system, the DescribeFileSystems returns a 404 FileSystemNotFound error.

This operation requires permissions for the elasticfilesystem:DeleteFileSystem action.

", "operationId": "DeleteFileSystem", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/DeleteFileSystemRequest" } }, { "in": "path", "name": "FileSystemId", "required": true, "type": "string" }, { "in": "query", "name": "FileSystemId", "type": "string" } ], "responses": { "204": { "description": "Success" }, "480": { "description": "BadRequest", "schema": { "$ref": "#/definitions/BadRequest" } }, "481": { "description": "InternalServerError", "schema": { "$ref": "#/definitions/InternalServerError" } }, "482": { "description": "FileSystemNotFound", "schema": { "$ref": "#/definitions/FileSystemNotFound" } }, "483": { "description": "FileSystemInUse", "schema": { "$ref": "#/definitions/FileSystemInUse" } } } }, "parameters": [ { "$ref": "#/parameters/Action" }, { "$ref": "#/parameters/Version" }, { "$ref": "#/parameters/X-Amz-Content-Sha256" }, { "$ref": "#/parameters/X-Amz-Date" }, { "$ref": "#/parameters/X-Amz-Algorithm" }, { "$ref": "#/parameters/X-Amz-Credential" }, { "$ref": "#/parameters/X-Amz-Security-Token" }, { "$ref": "#/parameters/X-Amz-Signature" }, { "$ref": "#/parameters/X-Amz-SignedHeaders" } ] }, "/2015-02-01/mount-targets": { "get": { "description": "

Returns the descriptions of all the current mount targets, or a specific mount target, for a file system. When requesting all of the current mount targets, the order of mount targets returned in the response is unspecified.

This operation requires permissions for the elasticfilesystem:DescribeMountTargets action, on either the file system ID that you specify in FileSystemId, or on the file system of the mount target that you specify in MountTargetId.

", "operationId": "DescribeMountTargets", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/DescribeMountTargetsRequest" } } ], "responses": { "200": { "description": "Success", "schema": { "$ref": "#/definitions/DescribeMountTargetsResponse" } }, "480": { "description": "BadRequest", "schema": { "$ref": "#/definitions/BadRequest" } }, "481": { "description": "InternalServerError", "schema": { "$ref": "#/definitions/InternalServerError" } }, "482": { "description": "FileSystemNotFound", "schema": { "$ref": "#/definitions/FileSystemNotFound" } }, "483": { "description": "MountTargetNotFound", "schema": { "$ref": "#/definitions/MountTargetNotFound" } } } }, "parameters": [ { "$ref": "#/parameters/Action" }, { "$ref": "#/parameters/Version" }, { "$ref": "#/parameters/X-Amz-Content-Sha256" }, { "$ref": "#/parameters/X-Amz-Date" }, { "$ref": "#/parameters/X-Amz-Algorithm" }, { "$ref": "#/parameters/X-Amz-Credential" }, { "$ref": "#/parameters/X-Amz-Security-Token" }, { "$ref": "#/parameters/X-Amz-Signature" }, { "$ref": "#/parameters/X-Amz-SignedHeaders" } ] }, "/2015-02-01/mount-targets/{MountTargetId}": { "delete": { "description": "

Deletes the specified mount target.

This operation forcibly breaks any mounts of the file system via the mount target that is being deleted, which might disrupt instances or applications using those mounts. To avoid applications getting cut off abruptly, you might consider unmounting any mounts of the mount target, if feasible. The operation also deletes the associated network interface. Uncommitted writes may be lost, but breaking a mount target using this operation does not corrupt the file system itself. The file system you created remains. You can mount an EC2 instance in your VPC via another mount target.

This operation requires permissions for the following action on the file system:

The DeleteMountTarget call returns while the mount target state is still deleting. You can check the mount target deletion by calling the DescribeMountTargets operation, which returns a list of mount target descriptions for the given file system.

The operation also requires permissions for the following Amazon EC2 action on the mount target's network interface:

", "operationId": "DeleteMountTarget", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/DeleteMountTargetRequest" } }, { "in": "path", "name": "MountTargetId", "required": true, "type": "string" }, { "in": "query", "name": "MountTargetId", "type": "string" } ], "responses": { "204": { "description": "Success" }, "480": { "description": "BadRequest", "schema": { "$ref": "#/definitions/BadRequest" } }, "481": { "description": "InternalServerError", "schema": { "$ref": "#/definitions/InternalServerError" } }, "482": { "description": "DependencyTimeout", "schema": { "$ref": "#/definitions/DependencyTimeout" } }, "483": { "description": "MountTargetNotFound", "schema": { "$ref": "#/definitions/MountTargetNotFound" } } } }, "parameters": [ { "$ref": "#/parameters/Action" }, { "$ref": "#/parameters/Version" }, { "$ref": "#/parameters/X-Amz-Content-Sha256" }, { "$ref": "#/parameters/X-Amz-Date" }, { "$ref": "#/parameters/X-Amz-Algorithm" }, { "$ref": "#/parameters/X-Amz-Credential" }, { "$ref": "#/parameters/X-Amz-Security-Token" }, { "$ref": "#/parameters/X-Amz-Signature" }, { "$ref": "#/parameters/X-Amz-SignedHeaders" } ] }, "/2015-02-01/mount-targets/{MountTargetId}/security-groups": { "parameters": [ { "$ref": "#/parameters/Action" }, { "$ref": "#/parameters/Version" }, { "$ref": "#/parameters/X-Amz-Content-Sha256" }, { "$ref": "#/parameters/X-Amz-Date" }, { "$ref": "#/parameters/X-Amz-Algorithm" }, { "$ref": "#/parameters/X-Amz-Credential" }, { "$ref": "#/parameters/X-Amz-Security-Token" }, { "$ref": "#/parameters/X-Amz-Signature" }, { "$ref": "#/parameters/X-Amz-SignedHeaders" } ], "put": { "description": "

Modifies the set of security groups in effect for a mount target.

When you create a mount target, Amazon EFS also creates a new network interface. For more information, see CreateMountTarget. This operation replaces the security groups in effect for the network interface associated with a mount target, with the SecurityGroups provided in the request. This operation requires that the network interface of the mount target has been created and the lifecycle state of the mount target is not deleted.

The operation requires permissions for the following actions:

", "operationId": "ModifyMountTargetSecurityGroups", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/ModifyMountTargetSecurityGroupsRequest" } }, { "in": "path", "name": "MountTargetId", "required": true, "type": "string" }, { "in": "query", "name": "MountTargetId", "type": "string" } ], "responses": { "204": { "description": "Success" }, "480": { "description": "BadRequest", "schema": { "$ref": "#/definitions/BadRequest" } }, "481": { "description": "InternalServerError", "schema": { "$ref": "#/definitions/InternalServerError" } }, "482": { "description": "MountTargetNotFound", "schema": { "$ref": "#/definitions/MountTargetNotFound" } }, "483": { "description": "IncorrectMountTargetState", "schema": { "$ref": "#/definitions/IncorrectMountTargetState" } }, "484": { "description": "SecurityGroupLimitExceeded", "schema": { "$ref": "#/definitions/SecurityGroupLimitExceeded" } }, "485": { "description": "SecurityGroupNotFound", "schema": { "$ref": "#/definitions/SecurityGroupNotFound" } } } } }, "/2015-02-01/tags/{FileSystemId}/": { "get": { "description": "

Returns the tags associated with a file system. The order of tags returned in the response of one DescribeTags call and the order of tags returned across the responses of a multi-call iteration (when using pagination) is unspecified.

This operation requires permissions for the elasticfilesystem:DescribeTags action.

", "operationId": "DescribeTags", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { "$ref": "#/definitions/DescribeTagsRequest" } }, { "in": "path", "name": "FileSystemId", "required": true, "type": "string" }, { "in": "query", "name": "FileSystemId", "type": "string" } ], "responses": { "200": { "description": "Success", "schema": { "$ref": "#/definitions/DescribeTagsResponse" } }, "480": { "description": "BadRequest", "schema": { "$ref": "#/definitions/BadRequest" } }, "481": { "description": "InternalServerError", "schema": { "$ref": "#/definitions/InternalServerError" } }, "482": { "description": "FileSystemNotFound", "schema": { "$ref": "#/definitions/FileSystemNotFound" } } } }, "parameters": [ { "$ref": "#/parameters/Action" }, { "$ref": "#/parameters/Version" }, { "$ref": "#/parameters/X-Amz-Content-Sha256" }, { "$ref": "#/parameters/X-Amz-Date" }, { "$ref": "#/parameters/X-Amz-Algorithm" }, { "$ref": "#/parameters/X-Amz-Credential" }, { "$ref": "#/parameters/X-Amz-Security-Token" }, { "$ref": "#/parameters/X-Amz-Signature" }, { "$ref": "#/parameters/X-Amz-SignedHeaders" } ] } }, "definitions": { "AwsAccountId": { "type": "string" }, "BadRequest": { "description": "Returned if the request is malformed or contains an error such as an invalid parameter value or a missing required parameter.", "properties": { "ErrorCode": { "$ref": "#/definitions/ErrorCode" }, "Message": { "$ref": "#/definitions/ErrorMessage" } }, "required": [ "ErrorCode" ], "type": "object" }, "CreateFileSystemRequest": { "example": { "CreationToken": "tokenstring", "PerformanceMode": "generalPurpose" }, "properties": { "CreationToken": { "$ref": "#/definitions/CreationToken", "description": "String of up to 64 ASCII characters. Amazon EFS uses this to ensure idempotent creation." }, "Encrypted": { "$ref": "#/definitions/Encrypted", "description": "A boolean value that, if true, creates an encrypted file system. When creating an encrypted file system, you have the option of specifying a CreateFileSystemRequest$KmsKeyId for an existing AWS Key Management Service (AWS KMS) customer master key (CMK). If you don't specify a CMK, then the default CMK for Amazon EFS, /aws/elasticfilesystem, is used to protect the encrypted file system. " }, "KmsKeyId": { "$ref": "#/definitions/KmsKeyId", "description": "

The id of the AWS KMS CMK that will be used to protect the encrypted file system. This parameter is only required if you want to use a non-default CMK. If this parameter is not specified, the default CMK for Amazon EFS is used. This id can be in one of the following formats:

Note that if the KmsKeyId is specified, the CreateFileSystemRequest$Encrypted parameter must be set to true.

" }, "PerformanceMode": { "$ref": "#/definitions/PerformanceMode", "description": "The PerformanceMode of the file system. We recommend generalPurpose performance mode for most file systems. File systems using the maxIO performance mode can scale to higher levels of aggregate throughput and operations per second with a tradeoff of slightly higher latencies for most file operations. This can't be changed after the file system has been created." } }, "required": [ "CreationToken" ], "type": "object" }, "CreateMountTargetRequest": { "description": "

", "example": { "FileSystemId": "fs-01234567", "SubnetId": "subnet-1234abcd" }, "properties": { "FileSystemId": { "$ref": "#/definitions/FileSystemId", "description": "ID of the file system for which to create the mount target." }, "IpAddress": { "$ref": "#/definitions/IpAddress", "description": "Valid IPv4 address within the address range of the specified subnet." }, "SecurityGroups": { "$ref": "#/definitions/SecurityGroups", "description": "Up to five VPC security group IDs, of the form sg-xxxxxxxx. These must be for the same VPC as subnet specified." }, "SubnetId": { "$ref": "#/definitions/SubnetId", "description": "ID of the subnet to add the mount target in." } }, "required": [ "FileSystemId", "SubnetId" ], "type": "object" }, "CreateTagsRequest": { "description": "

", "example": { "FileSystemId": "fs-01234567", "Tags": [ { "Key": "Name", "Value": "MyFileSystem" } ] }, "properties": { "Tags": { "$ref": "#/definitions/Tags", "description": "Array of Tag objects to add. Each Tag object is a key-value pair. " } }, "required": [ "Tags" ], "type": "object" }, "CreationToken": { "maxLength": 64, "minLength": 1, "type": "string" }, "DeleteFileSystemRequest": { "description": "

", "example": { "FileSystemId": "fs-01234567" }, "properties": {}, "type": "object" }, "DeleteMountTargetRequest": { "description": "

", "example": { "MountTargetId": "fsmt-12340abc" }, "properties": {}, "type": "object" }, "DeleteTagsRequest": { "description": "

", "example": { "FileSystemId": "fs-01234567", "TagKeys": [ "Name" ] }, "properties": { "TagKeys": { "$ref": "#/definitions/TagKeys", "description": "List of tag keys to delete." } }, "required": [ "TagKeys" ], "type": "object" }, "DependencyTimeout": { "description": "The service timed out trying to fulfill the request, and the client should try the call again.", "properties": { "ErrorCode": { "$ref": "#/definitions/ErrorCode" }, "Message": { "$ref": "#/definitions/ErrorMessage" } }, "required": [ "ErrorCode" ], "type": "object" }, "DescribeFileSystemsRequest": { "description": "

", "example": {}, "properties": {}, "type": "object" }, "DescribeFileSystemsResponse": { "example": { "FileSystems": [ { "CreationTime": "1481841524.0", "CreationToken": "tokenstring", "FileSystemId": "fs-01234567", "LifeCycleState": "available", "Name": "MyFileSystem", "NumberOfMountTargets": 1, "OwnerId": "012345678912", "PerformanceMode": "generalPurpose", "SizeInBytes": { "Value": 6144 } } ] }, "properties": { "FileSystems": { "$ref": "#/definitions/FileSystemDescriptions", "description": "Array of file system descriptions." }, "Marker": { "$ref": "#/definitions/Marker", "description": "Present if provided by caller in the request (String)." }, "NextMarker": { "$ref": "#/definitions/Marker", "description": "Present if there are more file systems than returned in the response (String). You can use the NextMarker in the subsequent request to fetch the descriptions." } }, "type": "object" }, "DescribeMountTargetSecurityGroupsRequest": { "description": "

", "example": { "MountTargetId": "fsmt-12340abc" }, "properties": {}, "type": "object" }, "DescribeMountTargetSecurityGroupsResponse": { "example": { "SecurityGroups": [ "sg-fghi4567" ] }, "properties": { "SecurityGroups": { "$ref": "#/definitions/SecurityGroups", "description": "Array of security groups." } }, "required": [ "SecurityGroups" ], "type": "object" }, "DescribeMountTargetsRequest": { "description": "

", "example": { "FileSystemId": "fs-01234567" }, "properties": {}, "type": "object" }, "DescribeMountTargetsResponse": { "description": "

", "example": { "MountTargets": [ { "FileSystemId": "fs-01234567", "IpAddress": "192.0.0.2", "LifeCycleState": "available", "MountTargetId": "fsmt-12340abc", "NetworkInterfaceId": "eni-cedf6789", "OwnerId": "012345678912", "SubnetId": "subnet-1234abcd" } ] }, "properties": { "Marker": { "$ref": "#/definitions/Marker", "description": "If the request included the Marker, the response returns that value in this field." }, "MountTargets": { "$ref": "#/definitions/MountTargetDescriptions", "description": "Returns the file system's mount targets as an array of MountTargetDescription objects." }, "NextMarker": { "$ref": "#/definitions/Marker", "description": "If a value is present, there are more mount targets to return. In a subsequent request, you can provide Marker in your request with this value to retrieve the next set of mount targets." } }, "type": "object" }, "DescribeTagsRequest": { "description": "

", "example": { "FileSystemId": "fs-01234567" }, "properties": {}, "type": "object" }, "DescribeTagsResponse": { "description": "

", "example": { "Tags": [ { "Key": "Name", "Value": "MyFileSystem" } ] }, "properties": { "Marker": { "$ref": "#/definitions/Marker", "description": "If the request included a Marker, the response returns that value in this field." }, "NextMarker": { "$ref": "#/definitions/Marker", "description": "If a value is present, there are more tags to return. In a subsequent request, you can provide the value of NextMarker as the value of the Marker parameter in your next request to retrieve the next set of tags." }, "Tags": { "$ref": "#/definitions/Tags", "description": "Returns tags associated with the file system as an array of Tag objects. " } }, "required": [ "Tags" ], "type": "object" }, "Encrypted": { "type": "boolean" }, "ErrorCode": { "minLength": 1, "type": "string" }, "ErrorMessage": { "type": "string" }, "FileSystemAlreadyExists": { "description": "Returned if the file system you are trying to create already exists, with the creation token you provided.", "properties": { "ErrorCode": { "$ref": "#/definitions/ErrorCode" }, "FileSystemId": { "$ref": "#/definitions/FileSystemId" }, "Message": { "$ref": "#/definitions/ErrorMessage" } }, "required": [ "ErrorCode", "FileSystemId" ], "type": "object" }, "FileSystemDescription": { "description": "Description of the file system.", "example": { "CreationTime": "1481841524.0", "CreationToken": "tokenstring", "FileSystemId": "fs-01234567", "LifeCycleState": "creating", "NumberOfMountTargets": 0, "OwnerId": "012345678912", "PerformanceMode": "generalPurpose", "SizeInBytes": { "Value": 0 } }, "properties": { "CreationTime": { "$ref": "#/definitions/Timestamp", "description": "Time that the file system was created, in seconds (since 1970-01-01T00:00:00Z)." }, "CreationToken": { "$ref": "#/definitions/CreationToken", "description": "Opaque string specified in the request." }, "Encrypted": { "$ref": "#/definitions/Encrypted", "description": "A boolean value that, if true, indicates that the file system is encrypted." }, "FileSystemId": { "$ref": "#/definitions/FileSystemId", "description": "ID of the file system, assigned by Amazon EFS." }, "KmsKeyId": { "$ref": "#/definitions/KmsKeyId", "description": "The id of an AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the encrypted file system." }, "LifeCycleState": { "$ref": "#/definitions/LifeCycleState", "description": "Lifecycle phase of the file system." }, "Name": { "$ref": "#/definitions/TagValue", "description": "You can add tags to a file system, including a Name tag. For more information, see CreateTags. If the file system has a Name tag, Amazon EFS returns the value in this field. " }, "NumberOfMountTargets": { "$ref": "#/definitions/MountTargetCount", "description": "Current number of mount targets that the file system has. For more information, see CreateMountTarget." }, "OwnerId": { "$ref": "#/definitions/AwsAccountId", "description": "AWS account that created the file system. If the file system was created by an IAM user, the parent account to which the user belongs is the owner." }, "PerformanceMode": { "$ref": "#/definitions/PerformanceMode", "description": "The PerformanceMode of the file system." }, "SizeInBytes": { "$ref": "#/definitions/FileSystemSize", "description": "Latest known metered size (in bytes) of data stored in the file system, in bytes, in its Value field, and the time at which that size was determined in its Timestamp field. The Timestamp value is the integer number of seconds since 1970-01-01T00:00:00Z. Note that the value does not represent the size of a consistent snapshot of the file system, but it is eventually consistent when there are no writes to the file system. That is, the value will represent actual size only if the file system is not modified for a period longer than a couple of hours. Otherwise, the value is not the exact size the file system was at any instant in time. " } }, "required": [ "OwnerId", "CreationToken", "FileSystemId", "CreationTime", "LifeCycleState", "NumberOfMountTargets", "SizeInBytes", "PerformanceMode" ], "type": "object" }, "FileSystemDescriptions": { "items": { "$ref": "#/definitions/FileSystemDescription" }, "type": "array" }, "FileSystemId": { "type": "string" }, "FileSystemInUse": { "description": "Returned if a file system has mount targets.", "properties": { "ErrorCode": { "$ref": "#/definitions/ErrorCode" }, "Message": { "$ref": "#/definitions/ErrorMessage" } }, "required": [ "ErrorCode" ], "type": "object" }, "FileSystemLimitExceeded": { "description": "Returned if the AWS account has already created maximum number of file systems allowed per account.", "properties": { "ErrorCode": { "$ref": "#/definitions/ErrorCode" }, "Message": { "$ref": "#/definitions/ErrorMessage" } }, "required": [ "ErrorCode" ], "type": "object" }, "FileSystemNotFound": { "description": "Returned if the specified FileSystemId does not exist in the requester's AWS account.", "properties": { "ErrorCode": { "$ref": "#/definitions/ErrorCode" }, "Message": { "$ref": "#/definitions/ErrorMessage" } }, "required": [ "ErrorCode" ], "type": "object" }, "FileSystemSize": { "description": "Latest known metered size (in bytes) of data stored in the file system, in its Value field, and the time at which that size was determined in its Timestamp field. Note that the value does not represent the size of a consistent snapshot of the file system, but it is eventually consistent when there are no writes to the file system. That is, the value will represent the actual size only if the file system is not modified for a period longer than a couple of hours. Otherwise, the value is not necessarily the exact size the file system was at any instant in time.", "properties": { "Timestamp": { "$ref": "#/definitions/Timestamp", "description": "Time at which the size of data, returned in the Value field, was determined. The value is the integer number of seconds since 1970-01-01T00:00:00Z." }, "Value": { "$ref": "#/definitions/FileSystemSizeValue", "description": "Latest known metered size (in bytes) of data stored in the file system." } }, "required": [ "Value" ], "type": "object" }, "FileSystemSizeValue": { "minimum": 0, "type": "integer" }, "IncorrectFileSystemLifeCycleState": { "description": "Returned if the file system's life cycle state is not \"created\".", "properties": { "ErrorCode": { "$ref": "#/definitions/ErrorCode" }, "Message": { "$ref": "#/definitions/ErrorMessage" } }, "required": [ "ErrorCode" ], "type": "object" }, "IncorrectMountTargetState": { "description": "Returned if the mount target is not in the correct state for the operation.", "properties": { "ErrorCode": { "$ref": "#/definitions/ErrorCode" }, "Message": { "$ref": "#/definitions/ErrorMessage" } }, "required": [ "ErrorCode" ], "type": "object" }, "InternalServerError": { "description": "Returned if an error occurred on the server side.", "properties": { "ErrorCode": { "$ref": "#/definitions/ErrorCode" }, "Message": { "$ref": "#/definitions/ErrorMessage" } }, "required": [ "ErrorCode" ], "type": "object" }, "IpAddress": { "type": "string" }, "IpAddressInUse": { "description": "Returned if the request specified an IpAddress that is already in use in the subnet.", "properties": { "ErrorCode": { "$ref": "#/definitions/ErrorCode" }, "Message": { "$ref": "#/definitions/ErrorMessage" } }, "required": [ "ErrorCode" ], "type": "object" }, "KmsKeyId": { "maxLength": 2048, "minLength": 1, "type": "string" }, "LifeCycleState": { "enum": [ "creating", "available", "deleting", "deleted" ], "type": "string" }, "Marker": { "type": "string" }, "MaxItems": { "minimum": 1, "type": "integer" }, "ModifyMountTargetSecurityGroupsRequest": { "description": "

", "example": { "MountTargetId": "fsmt-12340abc", "SecurityGroups": [ "sg-abcd1234" ] }, "properties": { "SecurityGroups": { "$ref": "#/definitions/SecurityGroups", "description": "Array of up to five VPC security group IDs." } }, "type": "object" }, "MountTargetConflict": { "description": "Returned if the mount target would violate one of the specified restrictions based on the file system's existing mount targets.", "properties": { "ErrorCode": { "$ref": "#/definitions/ErrorCode" }, "Message": { "$ref": "#/definitions/ErrorMessage" } }, "required": [ "ErrorCode" ], "type": "object" }, "MountTargetCount": { "minimum": 0, "type": "integer" }, "MountTargetDescription": { "description": "Provides a description of a mount target.", "example": { "FileSystemId": "fs-01234567", "IpAddress": "192.0.0.2", "LifeCycleState": "creating", "MountTargetId": "fsmt-12340abc", "NetworkInterfaceId": "eni-cedf6789", "OwnerId": "012345678912", "SubnetId": "subnet-1234abcd" }, "properties": { "FileSystemId": { "$ref": "#/definitions/FileSystemId", "description": "ID of the file system for which the mount target is intended." }, "IpAddress": { "$ref": "#/definitions/IpAddress", "description": "Address at which the file system may be mounted via the mount target." }, "LifeCycleState": { "$ref": "#/definitions/LifeCycleState", "description": "Lifecycle state of the mount target." }, "MountTargetId": { "$ref": "#/definitions/MountTargetId", "description": "System-assigned mount target ID." }, "NetworkInterfaceId": { "$ref": "#/definitions/NetworkInterfaceId", "description": "ID of the network interface that Amazon EFS created when it created the mount target." }, "OwnerId": { "$ref": "#/definitions/AwsAccountId", "description": "AWS account ID that owns the resource." }, "SubnetId": { "$ref": "#/definitions/SubnetId", "description": "ID of the mount target's subnet." } }, "required": [ "MountTargetId", "FileSystemId", "SubnetId", "LifeCycleState" ], "type": "object" }, "MountTargetDescriptions": { "items": { "$ref": "#/definitions/MountTargetDescription" }, "type": "array" }, "MountTargetId": { "type": "string" }, "MountTargetNotFound": { "description": "Returned if there is no mount target with the specified ID found in the caller's account.", "properties": { "ErrorCode": { "$ref": "#/definitions/ErrorCode" }, "Message": { "$ref": "#/definitions/ErrorMessage" } }, "required": [ "ErrorCode" ], "type": "object" }, "NetworkInterfaceId": { "type": "string" }, "NetworkInterfaceLimitExceeded": { "description": " The calling account has reached the ENI limit for the specific AWS region. Client should try to delete some ENIs or get its account limit raised. For more information, see Amazon VPC Limits in the Amazon Virtual Private Cloud User Guide (see the Network interfaces per VPC entry in the table). ", "properties": { "ErrorCode": { "$ref": "#/definitions/ErrorCode" }, "Message": { "$ref": "#/definitions/ErrorMessage" } }, "required": [ "ErrorCode" ], "type": "object" }, "NoFreeAddressesInSubnet": { "description": "Returned if IpAddress was not specified in the request and there are no free IP addresses in the subnet.", "properties": { "ErrorCode": { "$ref": "#/definitions/ErrorCode" }, "Message": { "$ref": "#/definitions/ErrorMessage" } }, "required": [ "ErrorCode" ], "type": "object" }, "PerformanceMode": { "enum": [ "generalPurpose", "maxIO" ], "type": "string" }, "SecurityGroup": { "type": "string" }, "SecurityGroupLimitExceeded": { "description": "Returned if the size of SecurityGroups specified in the request is greater than five.", "properties": { "ErrorCode": { "$ref": "#/definitions/ErrorCode" }, "Message": { "$ref": "#/definitions/ErrorMessage" } }, "required": [ "ErrorCode" ], "type": "object" }, "SecurityGroupNotFound": { "description": "Returned if one of the specified security groups does not exist in the subnet's VPC.", "properties": { "ErrorCode": { "$ref": "#/definitions/ErrorCode" }, "Message": { "$ref": "#/definitions/ErrorMessage" } }, "required": [ "ErrorCode" ], "type": "object" }, "SecurityGroups": { "items": { "$ref": "#/definitions/SecurityGroup" }, "maxItems": 5, "type": "array" }, "SubnetId": { "type": "string" }, "SubnetNotFound": { "description": "Returned if there is no subnet with ID SubnetId provided in the request.", "properties": { "ErrorCode": { "$ref": "#/definitions/ErrorCode" }, "Message": { "$ref": "#/definitions/ErrorMessage" } }, "required": [ "ErrorCode" ], "type": "object" }, "Tag": { "description": "A tag is a key-value pair. Allowed characters: letters, whitespace, and numbers, representable in UTF-8, and the following characters: + - = . _ : / ", "properties": { "Key": { "$ref": "#/definitions/TagKey", "description": "Tag key (String). The key can't start with aws:." }, "Value": { "$ref": "#/definitions/TagValue", "description": "Value of the tag key." } }, "required": [ "Key", "Value" ], "type": "object" }, "TagKey": { "maxLength": 128, "minLength": 1, "type": "string" }, "TagKeys": { "items": { "$ref": "#/definitions/TagKey" }, "type": "array" }, "TagValue": { "maxLength": 256, "type": "string" }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" }, "Timestamp": { "format": "date-time", "type": "string" }, "UnsupportedAvailabilityZone": { "description": "

", "properties": { "ErrorCode": { "$ref": "#/definitions/ErrorCode" }, "Message": { "$ref": "#/definitions/ErrorMessage" } }, "required": [ "ErrorCode" ], "type": "object" } } }