| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713 |
- {
- "version":"2.0",
- "metadata":{
- "apiVersion":"2015-02-01",
- "endpointPrefix":"elasticfilesystem",
- "protocol":"rest-json",
- "serviceAbbreviation":"EFS",
- "serviceFullName":"Amazon Elastic File System",
- "signatureVersion":"v4"
- },
- "operations":{
- "CreateFileSystem":{
- "name":"CreateFileSystem",
- "http":{
- "method":"POST",
- "requestUri":"/2015-02-01/file-systems",
- "responseCode":201
- },
- "input":{"shape":"CreateFileSystemRequest"},
- "output":{"shape":"FileSystemDescription"},
- "errors":[
- {"shape":"BadRequest"},
- {"shape":"InternalServerError"},
- {"shape":"FileSystemAlreadyExists"},
- {"shape":"FileSystemLimitExceeded"}
- ]
- },
- "CreateMountTarget":{
- "name":"CreateMountTarget",
- "http":{
- "method":"POST",
- "requestUri":"/2015-02-01/mount-targets",
- "responseCode":200
- },
- "input":{"shape":"CreateMountTargetRequest"},
- "output":{"shape":"MountTargetDescription"},
- "errors":[
- {"shape":"BadRequest"},
- {"shape":"InternalServerError"},
- {"shape":"FileSystemNotFound"},
- {"shape":"IncorrectFileSystemLifeCycleState"},
- {"shape":"MountTargetConflict"},
- {"shape":"SubnetNotFound"},
- {"shape":"NoFreeAddressesInSubnet"},
- {"shape":"IpAddressInUse"},
- {"shape":"NetworkInterfaceLimitExceeded"},
- {"shape":"SecurityGroupLimitExceeded"},
- {"shape":"SecurityGroupNotFound"},
- {"shape":"UnsupportedAvailabilityZone"}
- ]
- },
- "CreateTags":{
- "name":"CreateTags",
- "http":{
- "method":"POST",
- "requestUri":"/2015-02-01/create-tags/{FileSystemId}",
- "responseCode":204
- },
- "input":{"shape":"CreateTagsRequest"},
- "errors":[
- {"shape":"BadRequest"},
- {"shape":"InternalServerError"},
- {"shape":"FileSystemNotFound"}
- ]
- },
- "DeleteFileSystem":{
- "name":"DeleteFileSystem",
- "http":{
- "method":"DELETE",
- "requestUri":"/2015-02-01/file-systems/{FileSystemId}",
- "responseCode":204
- },
- "input":{"shape":"DeleteFileSystemRequest"},
- "errors":[
- {"shape":"BadRequest"},
- {"shape":"InternalServerError"},
- {"shape":"FileSystemNotFound"},
- {"shape":"FileSystemInUse"}
- ]
- },
- "DeleteMountTarget":{
- "name":"DeleteMountTarget",
- "http":{
- "method":"DELETE",
- "requestUri":"/2015-02-01/mount-targets/{MountTargetId}",
- "responseCode":204
- },
- "input":{"shape":"DeleteMountTargetRequest"},
- "errors":[
- {"shape":"BadRequest"},
- {"shape":"InternalServerError"},
- {"shape":"DependencyTimeout"},
- {"shape":"MountTargetNotFound"}
- ]
- },
- "DeleteTags":{
- "name":"DeleteTags",
- "http":{
- "method":"POST",
- "requestUri":"/2015-02-01/delete-tags/{FileSystemId}",
- "responseCode":204
- },
- "input":{"shape":"DeleteTagsRequest"},
- "errors":[
- {"shape":"BadRequest"},
- {"shape":"InternalServerError"},
- {"shape":"FileSystemNotFound"}
- ]
- },
- "DescribeFileSystems":{
- "name":"DescribeFileSystems",
- "http":{
- "method":"GET",
- "requestUri":"/2015-02-01/file-systems",
- "responseCode":200
- },
- "input":{"shape":"DescribeFileSystemsRequest"},
- "output":{"shape":"DescribeFileSystemsResponse"},
- "errors":[
- {"shape":"BadRequest"},
- {"shape":"InternalServerError"},
- {"shape":"FileSystemNotFound"}
- ]
- },
- "DescribeMountTargetSecurityGroups":{
- "name":"DescribeMountTargetSecurityGroups",
- "http":{
- "method":"GET",
- "requestUri":"/2015-02-01/mount-targets/{MountTargetId}/security-groups",
- "responseCode":200
- },
- "input":{"shape":"DescribeMountTargetSecurityGroupsRequest"},
- "output":{"shape":"DescribeMountTargetSecurityGroupsResponse"},
- "errors":[
- {"shape":"BadRequest"},
- {"shape":"InternalServerError"},
- {"shape":"MountTargetNotFound"},
- {"shape":"IncorrectMountTargetState"}
- ]
- },
- "DescribeMountTargets":{
- "name":"DescribeMountTargets",
- "http":{
- "method":"GET",
- "requestUri":"/2015-02-01/mount-targets",
- "responseCode":200
- },
- "input":{"shape":"DescribeMountTargetsRequest"},
- "output":{"shape":"DescribeMountTargetsResponse"},
- "errors":[
- {"shape":"BadRequest"},
- {"shape":"InternalServerError"},
- {"shape":"FileSystemNotFound"},
- {"shape":"MountTargetNotFound"}
- ]
- },
- "DescribeTags":{
- "name":"DescribeTags",
- "http":{
- "method":"GET",
- "requestUri":"/2015-02-01/tags/{FileSystemId}/",
- "responseCode":200
- },
- "input":{"shape":"DescribeTagsRequest"},
- "output":{"shape":"DescribeTagsResponse"},
- "errors":[
- {"shape":"BadRequest"},
- {"shape":"InternalServerError"},
- {"shape":"FileSystemNotFound"}
- ]
- },
- "ModifyMountTargetSecurityGroups":{
- "name":"ModifyMountTargetSecurityGroups",
- "http":{
- "method":"PUT",
- "requestUri":"/2015-02-01/mount-targets/{MountTargetId}/security-groups",
- "responseCode":204
- },
- "input":{"shape":"ModifyMountTargetSecurityGroupsRequest"},
- "errors":[
- {"shape":"BadRequest"},
- {"shape":"InternalServerError"},
- {"shape":"MountTargetNotFound"},
- {"shape":"IncorrectMountTargetState"},
- {"shape":"SecurityGroupLimitExceeded"},
- {"shape":"SecurityGroupNotFound"}
- ]
- }
- },
- "shapes":{
- "AwsAccountId":{"type":"string"},
- "BadRequest":{
- "type":"structure",
- "required":["ErrorCode"],
- "members":{
- "ErrorCode":{"shape":"ErrorCode"},
- "Message":{"shape":"ErrorMessage"}
- },
- "error":{"httpStatusCode":400},
- "exception":true
- },
- "CreateFileSystemRequest":{
- "type":"structure",
- "required":["CreationToken"],
- "members":{
- "CreationToken":{"shape":"CreationToken"},
- "PerformanceMode":{"shape":"PerformanceMode"}
- }
- },
- "CreateMountTargetRequest":{
- "type":"structure",
- "required":[
- "FileSystemId",
- "SubnetId"
- ],
- "members":{
- "FileSystemId":{"shape":"FileSystemId"},
- "SubnetId":{"shape":"SubnetId"},
- "IpAddress":{"shape":"IpAddress"},
- "SecurityGroups":{"shape":"SecurityGroups"}
- }
- },
- "CreateTagsRequest":{
- "type":"structure",
- "required":[
- "FileSystemId",
- "Tags"
- ],
- "members":{
- "FileSystemId":{
- "shape":"FileSystemId",
- "location":"uri",
- "locationName":"FileSystemId"
- },
- "Tags":{"shape":"Tags"}
- }
- },
- "CreationToken":{
- "type":"string",
- "max":64,
- "min":1
- },
- "DeleteFileSystemRequest":{
- "type":"structure",
- "required":["FileSystemId"],
- "members":{
- "FileSystemId":{
- "shape":"FileSystemId",
- "location":"uri",
- "locationName":"FileSystemId"
- }
- }
- },
- "DeleteMountTargetRequest":{
- "type":"structure",
- "required":["MountTargetId"],
- "members":{
- "MountTargetId":{
- "shape":"MountTargetId",
- "location":"uri",
- "locationName":"MountTargetId"
- }
- }
- },
- "DeleteTagsRequest":{
- "type":"structure",
- "required":[
- "FileSystemId",
- "TagKeys"
- ],
- "members":{
- "FileSystemId":{
- "shape":"FileSystemId",
- "location":"uri",
- "locationName":"FileSystemId"
- },
- "TagKeys":{"shape":"TagKeys"}
- }
- },
- "DependencyTimeout":{
- "type":"structure",
- "required":["ErrorCode"],
- "members":{
- "ErrorCode":{"shape":"ErrorCode"},
- "Message":{"shape":"ErrorMessage"}
- },
- "error":{"httpStatusCode":504},
- "exception":true
- },
- "DescribeFileSystemsRequest":{
- "type":"structure",
- "members":{
- "MaxItems":{
- "shape":"MaxItems",
- "location":"querystring",
- "locationName":"MaxItems"
- },
- "Marker":{
- "shape":"Marker",
- "location":"querystring",
- "locationName":"Marker"
- },
- "CreationToken":{
- "shape":"CreationToken",
- "location":"querystring",
- "locationName":"CreationToken"
- },
- "FileSystemId":{
- "shape":"FileSystemId",
- "location":"querystring",
- "locationName":"FileSystemId"
- }
- }
- },
- "DescribeFileSystemsResponse":{
- "type":"structure",
- "members":{
- "Marker":{"shape":"Marker"},
- "FileSystems":{"shape":"FileSystemDescriptions"},
- "NextMarker":{"shape":"Marker"}
- }
- },
- "DescribeMountTargetSecurityGroupsRequest":{
- "type":"structure",
- "required":["MountTargetId"],
- "members":{
- "MountTargetId":{
- "shape":"MountTargetId",
- "location":"uri",
- "locationName":"MountTargetId"
- }
- }
- },
- "DescribeMountTargetSecurityGroupsResponse":{
- "type":"structure",
- "required":["SecurityGroups"],
- "members":{
- "SecurityGroups":{"shape":"SecurityGroups"}
- }
- },
- "DescribeMountTargetsRequest":{
- "type":"structure",
- "members":{
- "MaxItems":{
- "shape":"MaxItems",
- "location":"querystring",
- "locationName":"MaxItems"
- },
- "Marker":{
- "shape":"Marker",
- "location":"querystring",
- "locationName":"Marker"
- },
- "FileSystemId":{
- "shape":"FileSystemId",
- "location":"querystring",
- "locationName":"FileSystemId"
- },
- "MountTargetId":{
- "shape":"MountTargetId",
- "location":"querystring",
- "locationName":"MountTargetId"
- }
- }
- },
- "DescribeMountTargetsResponse":{
- "type":"structure",
- "members":{
- "Marker":{"shape":"Marker"},
- "MountTargets":{"shape":"MountTargetDescriptions"},
- "NextMarker":{"shape":"Marker"}
- }
- },
- "DescribeTagsRequest":{
- "type":"structure",
- "required":["FileSystemId"],
- "members":{
- "MaxItems":{
- "shape":"MaxItems",
- "location":"querystring",
- "locationName":"MaxItems"
- },
- "Marker":{
- "shape":"Marker",
- "location":"querystring",
- "locationName":"Marker"
- },
- "FileSystemId":{
- "shape":"FileSystemId",
- "location":"uri",
- "locationName":"FileSystemId"
- }
- }
- },
- "DescribeTagsResponse":{
- "type":"structure",
- "required":["Tags"],
- "members":{
- "Marker":{"shape":"Marker"},
- "Tags":{"shape":"Tags"},
- "NextMarker":{"shape":"Marker"}
- }
- },
- "ErrorCode":{
- "type":"string",
- "min":1
- },
- "ErrorMessage":{"type":"string"},
- "FileSystemAlreadyExists":{
- "type":"structure",
- "required":[
- "ErrorCode",
- "FileSystemId"
- ],
- "members":{
- "ErrorCode":{"shape":"ErrorCode"},
- "Message":{"shape":"ErrorMessage"},
- "FileSystemId":{"shape":"FileSystemId"}
- },
- "error":{"httpStatusCode":409},
- "exception":true
- },
- "FileSystemDescription":{
- "type":"structure",
- "required":[
- "OwnerId",
- "CreationToken",
- "FileSystemId",
- "CreationTime",
- "LifeCycleState",
- "NumberOfMountTargets",
- "SizeInBytes",
- "PerformanceMode"
- ],
- "members":{
- "OwnerId":{"shape":"AwsAccountId"},
- "CreationToken":{"shape":"CreationToken"},
- "FileSystemId":{"shape":"FileSystemId"},
- "CreationTime":{"shape":"Timestamp"},
- "LifeCycleState":{"shape":"LifeCycleState"},
- "Name":{"shape":"TagValue"},
- "NumberOfMountTargets":{"shape":"MountTargetCount"},
- "SizeInBytes":{"shape":"FileSystemSize"},
- "PerformanceMode":{"shape":"PerformanceMode"}
- }
- },
- "FileSystemDescriptions":{
- "type":"list",
- "member":{"shape":"FileSystemDescription"}
- },
- "FileSystemId":{"type":"string"},
- "FileSystemInUse":{
- "type":"structure",
- "required":["ErrorCode"],
- "members":{
- "ErrorCode":{"shape":"ErrorCode"},
- "Message":{"shape":"ErrorMessage"}
- },
- "error":{"httpStatusCode":409},
- "exception":true
- },
- "FileSystemLimitExceeded":{
- "type":"structure",
- "required":["ErrorCode"],
- "members":{
- "ErrorCode":{"shape":"ErrorCode"},
- "Message":{"shape":"ErrorMessage"}
- },
- "error":{"httpStatusCode":403},
- "exception":true
- },
- "FileSystemNotFound":{
- "type":"structure",
- "required":["ErrorCode"],
- "members":{
- "ErrorCode":{"shape":"ErrorCode"},
- "Message":{"shape":"ErrorMessage"}
- },
- "error":{"httpStatusCode":404},
- "exception":true
- },
- "FileSystemSize":{
- "type":"structure",
- "required":["Value"],
- "members":{
- "Value":{"shape":"FileSystemSizeValue"},
- "Timestamp":{"shape":"Timestamp"}
- }
- },
- "FileSystemSizeValue":{
- "type":"long",
- "min":0
- },
- "IncorrectFileSystemLifeCycleState":{
- "type":"structure",
- "required":["ErrorCode"],
- "members":{
- "ErrorCode":{"shape":"ErrorCode"},
- "Message":{"shape":"ErrorMessage"}
- },
- "error":{"httpStatusCode":409},
- "exception":true
- },
- "IncorrectMountTargetState":{
- "type":"structure",
- "required":["ErrorCode"],
- "members":{
- "ErrorCode":{"shape":"ErrorCode"},
- "Message":{"shape":"ErrorMessage"}
- },
- "error":{"httpStatusCode":409},
- "exception":true
- },
- "InternalServerError":{
- "type":"structure",
- "required":["ErrorCode"],
- "members":{
- "ErrorCode":{"shape":"ErrorCode"},
- "Message":{"shape":"ErrorMessage"}
- },
- "error":{"httpStatusCode":500},
- "exception":true
- },
- "IpAddress":{"type":"string"},
- "IpAddressInUse":{
- "type":"structure",
- "required":["ErrorCode"],
- "members":{
- "ErrorCode":{"shape":"ErrorCode"},
- "Message":{"shape":"ErrorMessage"}
- },
- "error":{"httpStatusCode":409},
- "exception":true
- },
- "LifeCycleState":{
- "type":"string",
- "enum":[
- "creating",
- "available",
- "deleting",
- "deleted"
- ]
- },
- "Marker":{"type":"string"},
- "MaxItems":{
- "type":"integer",
- "min":1
- },
- "ModifyMountTargetSecurityGroupsRequest":{
- "type":"structure",
- "required":["MountTargetId"],
- "members":{
- "MountTargetId":{
- "shape":"MountTargetId",
- "location":"uri",
- "locationName":"MountTargetId"
- },
- "SecurityGroups":{"shape":"SecurityGroups"}
- }
- },
- "MountTargetConflict":{
- "type":"structure",
- "required":["ErrorCode"],
- "members":{
- "ErrorCode":{"shape":"ErrorCode"},
- "Message":{"shape":"ErrorMessage"}
- },
- "error":{"httpStatusCode":409},
- "exception":true
- },
- "MountTargetCount":{
- "type":"integer",
- "min":0
- },
- "MountTargetDescription":{
- "type":"structure",
- "required":[
- "MountTargetId",
- "FileSystemId",
- "SubnetId",
- "LifeCycleState"
- ],
- "members":{
- "OwnerId":{"shape":"AwsAccountId"},
- "MountTargetId":{"shape":"MountTargetId"},
- "FileSystemId":{"shape":"FileSystemId"},
- "SubnetId":{"shape":"SubnetId"},
- "LifeCycleState":{"shape":"LifeCycleState"},
- "IpAddress":{"shape":"IpAddress"},
- "NetworkInterfaceId":{"shape":"NetworkInterfaceId"}
- }
- },
- "MountTargetDescriptions":{
- "type":"list",
- "member":{"shape":"MountTargetDescription"}
- },
- "MountTargetId":{"type":"string"},
- "MountTargetNotFound":{
- "type":"structure",
- "required":["ErrorCode"],
- "members":{
- "ErrorCode":{"shape":"ErrorCode"},
- "Message":{"shape":"ErrorMessage"}
- },
- "error":{"httpStatusCode":404},
- "exception":true
- },
- "NetworkInterfaceId":{"type":"string"},
- "NetworkInterfaceLimitExceeded":{
- "type":"structure",
- "required":["ErrorCode"],
- "members":{
- "ErrorCode":{"shape":"ErrorCode"},
- "Message":{"shape":"ErrorMessage"}
- },
- "error":{"httpStatusCode":409},
- "exception":true
- },
- "NoFreeAddressesInSubnet":{
- "type":"structure",
- "required":["ErrorCode"],
- "members":{
- "ErrorCode":{"shape":"ErrorCode"},
- "Message":{"shape":"ErrorMessage"}
- },
- "error":{"httpStatusCode":409},
- "exception":true
- },
- "PerformanceMode":{
- "type":"string",
- "enum":[
- "generalPurpose",
- "maxIO"
- ]
- },
- "SecurityGroup":{"type":"string"},
- "SecurityGroupLimitExceeded":{
- "type":"structure",
- "required":["ErrorCode"],
- "members":{
- "ErrorCode":{"shape":"ErrorCode"},
- "Message":{"shape":"ErrorMessage"}
- },
- "error":{"httpStatusCode":400},
- "exception":true
- },
- "SecurityGroupNotFound":{
- "type":"structure",
- "required":["ErrorCode"],
- "members":{
- "ErrorCode":{"shape":"ErrorCode"},
- "Message":{"shape":"ErrorMessage"}
- },
- "error":{"httpStatusCode":400},
- "exception":true
- },
- "SecurityGroups":{
- "type":"list",
- "member":{"shape":"SecurityGroup"},
- "max":5
- },
- "SubnetId":{"type":"string"},
- "SubnetNotFound":{
- "type":"structure",
- "required":["ErrorCode"],
- "members":{
- "ErrorCode":{"shape":"ErrorCode"},
- "Message":{"shape":"ErrorMessage"}
- },
- "error":{"httpStatusCode":400},
- "exception":true
- },
- "Tag":{
- "type":"structure",
- "required":[
- "Key",
- "Value"
- ],
- "members":{
- "Key":{"shape":"TagKey"},
- "Value":{"shape":"TagValue"}
- }
- },
- "TagKey":{
- "type":"string",
- "max":128,
- "min":1
- },
- "TagKeys":{
- "type":"list",
- "member":{"shape":"TagKey"}
- },
- "TagValue":{
- "type":"string",
- "max":256
- },
- "Tags":{
- "type":"list",
- "member":{"shape":"Tag"}
- },
- "Timestamp":{"type":"timestamp"},
- "UnsupportedAvailabilityZone":{
- "type":"structure",
- "required":["ErrorCode"],
- "members":{
- "ErrorCode":{"shape":"ErrorCode"},
- "Message":{"shape":"ErrorMessage"}
- },
- "error":{"httpStatusCode":400},
- "exception":true
- }
- }
- }
|