mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-29 04:16:07 +00:00
Update Go AWS SDK to the latest version
This commit is contained in:
committed by
Andrey Smirnov
parent
d08be990ef
commit
94a72b23ff
Generated
Vendored
+177
-5
@@ -6,6 +6,7 @@
|
||||
"protocol":"rest-json",
|
||||
"serviceAbbreviation":"EFS",
|
||||
"serviceFullName":"Amazon Elastic File System",
|
||||
"serviceId":"EFS",
|
||||
"signatureVersion":"v4",
|
||||
"uid":"elasticfilesystem-2015-02-01"
|
||||
},
|
||||
@@ -23,7 +24,9 @@
|
||||
{"shape":"BadRequest"},
|
||||
{"shape":"InternalServerError"},
|
||||
{"shape":"FileSystemAlreadyExists"},
|
||||
{"shape":"FileSystemLimitExceeded"}
|
||||
{"shape":"FileSystemLimitExceeded"},
|
||||
{"shape":"InsufficientThroughputCapacity"},
|
||||
{"shape":"ThroughputLimitExceeded"}
|
||||
]
|
||||
},
|
||||
"CreateMountTarget":{
|
||||
@@ -123,6 +126,21 @@
|
||||
{"shape":"FileSystemNotFound"}
|
||||
]
|
||||
},
|
||||
"DescribeLifecycleConfiguration":{
|
||||
"name":"DescribeLifecycleConfiguration",
|
||||
"http":{
|
||||
"method":"GET",
|
||||
"requestUri":"/2015-02-01/file-systems/{FileSystemId}/lifecycle-configuration",
|
||||
"responseCode":200
|
||||
},
|
||||
"input":{"shape":"DescribeLifecycleConfigurationRequest"},
|
||||
"output":{"shape":"LifecycleConfigurationDescription"},
|
||||
"errors":[
|
||||
{"shape":"InternalServerError"},
|
||||
{"shape":"BadRequest"},
|
||||
{"shape":"FileSystemNotFound"}
|
||||
]
|
||||
},
|
||||
"DescribeMountTargetSecurityGroups":{
|
||||
"name":"DescribeMountTargetSecurityGroups",
|
||||
"http":{
|
||||
@@ -186,6 +204,41 @@
|
||||
{"shape":"SecurityGroupLimitExceeded"},
|
||||
{"shape":"SecurityGroupNotFound"}
|
||||
]
|
||||
},
|
||||
"PutLifecycleConfiguration":{
|
||||
"name":"PutLifecycleConfiguration",
|
||||
"http":{
|
||||
"method":"PUT",
|
||||
"requestUri":"/2015-02-01/file-systems/{FileSystemId}/lifecycle-configuration",
|
||||
"responseCode":200
|
||||
},
|
||||
"input":{"shape":"PutLifecycleConfigurationRequest"},
|
||||
"output":{"shape":"LifecycleConfigurationDescription"},
|
||||
"errors":[
|
||||
{"shape":"BadRequest"},
|
||||
{"shape":"InternalServerError"},
|
||||
{"shape":"FileSystemNotFound"},
|
||||
{"shape":"IncorrectFileSystemLifeCycleState"}
|
||||
]
|
||||
},
|
||||
"UpdateFileSystem":{
|
||||
"name":"UpdateFileSystem",
|
||||
"http":{
|
||||
"method":"PUT",
|
||||
"requestUri":"/2015-02-01/file-systems/{FileSystemId}",
|
||||
"responseCode":202
|
||||
},
|
||||
"input":{"shape":"UpdateFileSystemRequest"},
|
||||
"output":{"shape":"FileSystemDescription"},
|
||||
"errors":[
|
||||
{"shape":"BadRequest"},
|
||||
{"shape":"FileSystemNotFound"},
|
||||
{"shape":"IncorrectFileSystemLifeCycleState"},
|
||||
{"shape":"InsufficientThroughputCapacity"},
|
||||
{"shape":"InternalServerError"},
|
||||
{"shape":"ThroughputLimitExceeded"},
|
||||
{"shape":"TooManyRequests"}
|
||||
]
|
||||
}
|
||||
},
|
||||
"shapes":{
|
||||
@@ -207,7 +260,10 @@
|
||||
"CreationToken":{"shape":"CreationToken"},
|
||||
"PerformanceMode":{"shape":"PerformanceMode"},
|
||||
"Encrypted":{"shape":"Encrypted"},
|
||||
"KmsKeyId":{"shape":"KmsKeyId"}
|
||||
"KmsKeyId":{"shape":"KmsKeyId"},
|
||||
"ThroughputMode":{"shape":"ThroughputMode"},
|
||||
"ProvisionedThroughputInMibps":{"shape":"ProvisionedThroughputInMibps"},
|
||||
"Tags":{"shape":"Tags"}
|
||||
}
|
||||
},
|
||||
"CreateMountTargetRequest":{
|
||||
@@ -323,6 +379,17 @@
|
||||
"NextMarker":{"shape":"Marker"}
|
||||
}
|
||||
},
|
||||
"DescribeLifecycleConfigurationRequest":{
|
||||
"type":"structure",
|
||||
"required":["FileSystemId"],
|
||||
"members":{
|
||||
"FileSystemId":{
|
||||
"shape":"FileSystemId",
|
||||
"location":"uri",
|
||||
"locationName":"FileSystemId"
|
||||
}
|
||||
}
|
||||
},
|
||||
"DescribeMountTargetSecurityGroupsRequest":{
|
||||
"type":"structure",
|
||||
"required":["MountTargetId"],
|
||||
@@ -434,7 +501,8 @@
|
||||
"LifeCycleState",
|
||||
"NumberOfMountTargets",
|
||||
"SizeInBytes",
|
||||
"PerformanceMode"
|
||||
"PerformanceMode",
|
||||
"Tags"
|
||||
],
|
||||
"members":{
|
||||
"OwnerId":{"shape":"AwsAccountId"},
|
||||
@@ -447,7 +515,10 @@
|
||||
"SizeInBytes":{"shape":"FileSystemSize"},
|
||||
"PerformanceMode":{"shape":"PerformanceMode"},
|
||||
"Encrypted":{"shape":"Encrypted"},
|
||||
"KmsKeyId":{"shape":"KmsKeyId"}
|
||||
"KmsKeyId":{"shape":"KmsKeyId"},
|
||||
"ThroughputMode":{"shape":"ThroughputMode"},
|
||||
"ProvisionedThroughputInMibps":{"shape":"ProvisionedThroughputInMibps"},
|
||||
"Tags":{"shape":"Tags"}
|
||||
}
|
||||
},
|
||||
"FileSystemDescriptions":{
|
||||
@@ -485,12 +556,18 @@
|
||||
"error":{"httpStatusCode":404},
|
||||
"exception":true
|
||||
},
|
||||
"FileSystemNullableSizeValue":{
|
||||
"type":"long",
|
||||
"min":0
|
||||
},
|
||||
"FileSystemSize":{
|
||||
"type":"structure",
|
||||
"required":["Value"],
|
||||
"members":{
|
||||
"Value":{"shape":"FileSystemSizeValue"},
|
||||
"Timestamp":{"shape":"Timestamp"}
|
||||
"Timestamp":{"shape":"Timestamp"},
|
||||
"ValueInIA":{"shape":"FileSystemNullableSizeValue"},
|
||||
"ValueInStandard":{"shape":"FileSystemNullableSizeValue"}
|
||||
}
|
||||
},
|
||||
"FileSystemSizeValue":{
|
||||
@@ -517,6 +594,16 @@
|
||||
"error":{"httpStatusCode":409},
|
||||
"exception":true
|
||||
},
|
||||
"InsufficientThroughputCapacity":{
|
||||
"type":"structure",
|
||||
"required":["ErrorCode"],
|
||||
"members":{
|
||||
"ErrorCode":{"shape":"ErrorCode"},
|
||||
"Message":{"shape":"ErrorMessage"}
|
||||
},
|
||||
"error":{"httpStatusCode":503},
|
||||
"exception":true
|
||||
},
|
||||
"InternalServerError":{
|
||||
"type":"structure",
|
||||
"required":["ErrorCode"],
|
||||
@@ -548,10 +635,27 @@
|
||||
"enum":[
|
||||
"creating",
|
||||
"available",
|
||||
"updating",
|
||||
"deleting",
|
||||
"deleted"
|
||||
]
|
||||
},
|
||||
"LifecycleConfigurationDescription":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"LifecyclePolicies":{"shape":"LifecyclePolicies"}
|
||||
}
|
||||
},
|
||||
"LifecyclePolicies":{
|
||||
"type":"list",
|
||||
"member":{"shape":"LifecyclePolicy"}
|
||||
},
|
||||
"LifecyclePolicy":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"TransitionToIA":{"shape":"TransitionToIARules"}
|
||||
}
|
||||
},
|
||||
"Marker":{"type":"string"},
|
||||
"MaxItems":{
|
||||
"type":"integer",
|
||||
@@ -644,6 +748,25 @@
|
||||
"maxIO"
|
||||
]
|
||||
},
|
||||
"ProvisionedThroughputInMibps":{
|
||||
"type":"double",
|
||||
"min":1.0
|
||||
},
|
||||
"PutLifecycleConfigurationRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"FileSystemId",
|
||||
"LifecyclePolicies"
|
||||
],
|
||||
"members":{
|
||||
"FileSystemId":{
|
||||
"shape":"FileSystemId",
|
||||
"location":"uri",
|
||||
"locationName":"FileSystemId"
|
||||
},
|
||||
"LifecyclePolicies":{"shape":"LifecyclePolicies"}
|
||||
}
|
||||
},
|
||||
"SecurityGroup":{"type":"string"},
|
||||
"SecurityGroupLimitExceeded":{
|
||||
"type":"structure",
|
||||
@@ -709,7 +832,43 @@
|
||||
"type":"list",
|
||||
"member":{"shape":"Tag"}
|
||||
},
|
||||
"ThroughputLimitExceeded":{
|
||||
"type":"structure",
|
||||
"required":["ErrorCode"],
|
||||
"members":{
|
||||
"ErrorCode":{"shape":"ErrorCode"},
|
||||
"Message":{"shape":"ErrorMessage"}
|
||||
},
|
||||
"error":{"httpStatusCode":400},
|
||||
"exception":true
|
||||
},
|
||||
"ThroughputMode":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"bursting",
|
||||
"provisioned"
|
||||
]
|
||||
},
|
||||
"Timestamp":{"type":"timestamp"},
|
||||
"TooManyRequests":{
|
||||
"type":"structure",
|
||||
"required":["ErrorCode"],
|
||||
"members":{
|
||||
"ErrorCode":{"shape":"ErrorCode"},
|
||||
"Message":{"shape":"ErrorMessage"}
|
||||
},
|
||||
"error":{"httpStatusCode":429},
|
||||
"exception":true
|
||||
},
|
||||
"TransitionToIARules":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"AFTER_14_DAYS",
|
||||
"AFTER_30_DAYS",
|
||||
"AFTER_60_DAYS",
|
||||
"AFTER_90_DAYS"
|
||||
]
|
||||
},
|
||||
"UnsupportedAvailabilityZone":{
|
||||
"type":"structure",
|
||||
"required":["ErrorCode"],
|
||||
@@ -719,6 +878,19 @@
|
||||
},
|
||||
"error":{"httpStatusCode":400},
|
||||
"exception":true
|
||||
},
|
||||
"UpdateFileSystemRequest":{
|
||||
"type":"structure",
|
||||
"required":["FileSystemId"],
|
||||
"members":{
|
||||
"FileSystemId":{
|
||||
"shape":"FileSystemId",
|
||||
"location":"uri",
|
||||
"locationName":"FileSystemId"
|
||||
},
|
||||
"ThroughputMode":{"shape":"ThroughputMode"},
|
||||
"ProvisionedThroughputInMibps":{"shape":"ProvisionedThroughputInMibps"}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Generated
Vendored
+150
-59
File diff suppressed because one or more lines are too long
Generated
Vendored
+72
-3
@@ -5,7 +5,13 @@
|
||||
{
|
||||
"input": {
|
||||
"CreationToken": "tokenstring",
|
||||
"PerformanceMode": "generalPurpose"
|
||||
"PerformanceMode": "generalPurpose",
|
||||
"Tags": [
|
||||
{
|
||||
"Key": "Name",
|
||||
"Value": "MyFileSystem"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"CreationTime": "1481841524.0",
|
||||
@@ -17,7 +23,13 @@
|
||||
"PerformanceMode": "generalPurpose",
|
||||
"SizeInBytes": {
|
||||
"Value": 0
|
||||
}
|
||||
},
|
||||
"Tags": [
|
||||
{
|
||||
"Key": "Name",
|
||||
"Value": "MyFileSystem"
|
||||
}
|
||||
]
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
@@ -130,7 +142,13 @@
|
||||
"PerformanceMode": "generalPurpose",
|
||||
"SizeInBytes": {
|
||||
"Value": 6144
|
||||
}
|
||||
},
|
||||
"Tags": [
|
||||
{
|
||||
"Key": "Name",
|
||||
"Value": "MyFileSystem"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -141,6 +159,29 @@
|
||||
"title": "To describe an EFS file system"
|
||||
}
|
||||
],
|
||||
"DescribeLifecycleConfiguration": [
|
||||
{
|
||||
"input": {
|
||||
"FileSystemId": "fs-01234567"
|
||||
},
|
||||
"output": {
|
||||
"LifecyclePolicies": [
|
||||
{
|
||||
"TransitionToIA": "AFTER_30_DAYS"
|
||||
}
|
||||
]
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This operation describes a file system's LifecycleConfiguration. EFS lifecycle management uses the LifecycleConfiguration object to identify which files to move to the EFS Infrequent Access (IA) storage class. ",
|
||||
"id": "to-describe-the-lifecycle-configuration-for-a-file-system-1551200664502",
|
||||
"title": "To describe the lifecycle configuration for a file system"
|
||||
}
|
||||
],
|
||||
"DescribeMountTargetSecurityGroups": [
|
||||
{
|
||||
"input": {
|
||||
@@ -217,6 +258,34 @@
|
||||
"id": "to-modify-the-security-groups-associated-with-a-mount-target-for-a-file-system-1481850772562",
|
||||
"title": "To modify the security groups associated with a mount target for a file system"
|
||||
}
|
||||
],
|
||||
"PutLifecycleConfiguration": [
|
||||
{
|
||||
"input": {
|
||||
"FileSystemId": "fs-01234567",
|
||||
"LifecyclePolicies": [
|
||||
{
|
||||
"TransitionToIA": "AFTER_30_DAYS"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
"LifecyclePolicies": [
|
||||
{
|
||||
"TransitionToIA": "AFTER_30_DAYS"
|
||||
}
|
||||
]
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This operation enables lifecycle management on a file system by creating a new LifecycleConfiguration object. A LifecycleConfiguration object defines when files in an Amazon EFS file system are automatically transitioned to the lower-cost EFS Infrequent Access (IA) storage class. A LifecycleConfiguration applies to all files in a file system.",
|
||||
"id": "creates-a-new-lifecycleconfiguration-object-for-a-file-system-1551201594692",
|
||||
"title": "Creates a new lifecycleconfiguration object for a file system"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Generated
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"version": 1,
|
||||
"defaultRegion": "us-west-2",
|
||||
"testCases": [
|
||||
{
|
||||
"operationName": "DescribeFileSystems",
|
||||
"input": {},
|
||||
"errorExpectedFromService": false
|
||||
},
|
||||
{
|
||||
"operationName": "DeleteFileSystem",
|
||||
"input": {
|
||||
"FileSystemId": "fs-c5a1446c"
|
||||
},
|
||||
"errorExpectedFromService": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user