Upgrade AWS SDK to the latest version

This commit is contained in:
Andrey Smirnov
2017-09-28 17:57:05 +03:00
parent 9a767b7631
commit 182c21e38c
1096 changed files with 309697 additions and 132612 deletions
+36 -15
View File
@@ -103,7 +103,8 @@
"input":{"shape":"DescribeAddressesRequest"},
"output":{"shape":"DescribeAddressesResult"},
"errors":[
{"shape":"InvalidResourceException"}
{"shape":"InvalidResourceException"},
{"shape":"InvalidNextTokenException"}
]
},
"DescribeCluster":{
@@ -174,7 +175,8 @@
"input":{"shape":"ListClusterJobsRequest"},
"output":{"shape":"ListClusterJobsResult"},
"errors":[
{"shape":"InvalidResourceException"}
{"shape":"InvalidResourceException"},
{"shape":"InvalidNextTokenException"}
]
},
"ListClusters":{
@@ -184,7 +186,10 @@
"requestUri":"/"
},
"input":{"shape":"ListClustersRequest"},
"output":{"shape":"ListClustersResult"}
"output":{"shape":"ListClustersResult"},
"errors":[
{"shape":"InvalidNextTokenException"}
]
},
"ListJobs":{
"name":"ListJobs",
@@ -193,7 +198,10 @@
"requestUri":"/"
},
"input":{"shape":"ListJobsRequest"},
"output":{"shape":"ListJobsResult"}
"output":{"shape":"ListJobsResult"},
"errors":[
{"shape":"InvalidNextTokenException"}
]
},
"UpdateCluster":{
"name":"UpdateCluster",
@@ -243,7 +251,8 @@
"Landmark":{"shape":"String"},
"Country":{"shape":"String"},
"PostalCode":{"shape":"String"},
"PhoneNumber":{"shape":"String"}
"PhoneNumber":{"shape":"String"},
"IsRestricted":{"shape":"Boolean"}
}
},
"AddressId":{
@@ -321,7 +330,8 @@
"Resources":{"shape":"JobResource"},
"AddressId":{"shape":"AddressId"},
"ShippingOption":{"shape":"ShippingOption"},
"Notification":{"shape":"Notification"}
"Notification":{"shape":"Notification"},
"ForwardingAddressId":{"shape":"AddressId"}
}
},
"ClusterState":{
@@ -365,7 +375,8 @@
"RoleARN":{"shape":"RoleARN"},
"SnowballType":{"shape":"SnowballType"},
"ShippingOption":{"shape":"ShippingOption"},
"Notification":{"shape":"Notification"}
"Notification":{"shape":"Notification"},
"ForwardingAddressId":{"shape":"AddressId"}
}
},
"CreateClusterResult":{
@@ -387,7 +398,8 @@
"ShippingOption":{"shape":"ShippingOption"},
"Notification":{"shape":"Notification"},
"ClusterId":{"shape":"ClusterId"},
"SnowballType":{"shape":"SnowballType"}
"SnowballType":{"shape":"SnowballType"},
"ForwardingAddressId":{"shape":"AddressId"}
}
},
"CreateJobResult":{
@@ -529,6 +541,13 @@
},
"exception":true
},
"InvalidNextTokenException":{
"type":"structure",
"members":{
"Message":{"shape":"String"}
},
"exception":true
},
"InvalidResourceException":{
"type":"structure",
"members":{
@@ -584,7 +603,8 @@
"Notification":{"shape":"Notification"},
"DataTransferProgress":{"shape":"DataTransfer"},
"JobLogInfo":{"shape":"JobLogs"},
"ClusterId":{"shape":"String"}
"ClusterId":{"shape":"String"},
"ForwardingAddressId":{"shape":"AddressId"}
}
},
"JobMetadataList":{
@@ -644,7 +664,7 @@
"KmsKeyARN":{
"type":"string",
"max":255,
"pattern":"arn:(aws|aws-us-gov):kms:.*:[0-9]{12}:key/.*"
"pattern":"arn:aws.*:kms:.*:[0-9]{12}:key/.*"
},
"LambdaResource":{
"type":"structure",
@@ -722,7 +742,7 @@
"RoleARN":{
"type":"string",
"max":255,
"pattern":"arn:(aws|aws-us-gov):iam::[0-9]{12}:role/.*"
"pattern":"arn:aws.*:iam::[0-9]{12}:role/.*"
},
"S3Resource":{
"type":"structure",
@@ -778,11 +798,10 @@
"SnsTopicARN":{
"type":"string",
"max":255,
"pattern":"arn:(aws|aws-us-gov):sns:.*:[0-9]{12}:.*"
"pattern":"arn:aws.*:sns:.*:[0-9]{12}:.*"
},
"String":{
"type":"string",
"max":255,
"min":1
},
"Timestamp":{"type":"timestamp"},
@@ -803,7 +822,8 @@
"Resources":{"shape":"JobResource"},
"AddressId":{"shape":"AddressId"},
"ShippingOption":{"shape":"ShippingOption"},
"Notification":{"shape":"Notification"}
"Notification":{"shape":"Notification"},
"ForwardingAddressId":{"shape":"AddressId"}
}
},
"UpdateClusterResult":{
@@ -822,7 +842,8 @@
"AddressId":{"shape":"AddressId"},
"ShippingOption":{"shape":"ShippingOption"},
"Description":{"shape":"String"},
"SnowballCapacityPreference":{"shape":"SnowballCapacity"}
"SnowballCapacityPreference":{"shape":"SnowballCapacity"},
"ForwardingAddressId":{"shape":"AddressId"}
}
},
"UpdateJobResult":{
+23 -10
View File
@@ -4,13 +4,13 @@
"operations": {
"CancelCluster": "<p>Cancels a cluster job. You can only cancel a cluster job while it's in the <code>AwaitingQuorum</code> status. You'll have at least an hour after creating a cluster job to cancel it.</p>",
"CancelJob": "<p>Cancels the specified job. You can only cancel a job before its <code>JobState</code> value changes to <code>PreparingAppliance</code>. Requesting the <code>ListJobs</code> or <code>DescribeJob</code> action will return a job's <code>JobState</code> as part of the response element data returned.</p>",
"CreateAddress": "<p>Creates an address for a Snowball to be shipped to. </p> <p>Addresses are validated at the time of creation. The address you provide must be located within the serviceable area of your region. If the address is invalid or unsupported, then an exception is thrown.</p>",
"CreateAddress": "<p>Creates an address for a Snowball to be shipped to. In most regions, addresses are validated at the time of creation. The address you provide must be located within the serviceable area of your region. If the address is invalid or unsupported, then an exception is thrown.</p>",
"CreateCluster": "<p>Creates an empty cluster. Each cluster supports five nodes. You use the <a>CreateJob</a> action separately to create the jobs for each of these nodes. The cluster does not ship until these five node jobs have been created.</p>",
"CreateJob": "<p>Creates a job to import or export data between Amazon S3 and your on-premises data center. Your AWS account must have the right trust policies and permissions in place to create a job for Snowball. If you're creating a job for a node in a cluster, you only need to provide the <code>clusterId</code> value; the other job attributes are inherited from the cluster. .</p>",
"CreateJob": "<p>Creates a job to import or export data between Amazon S3 and your on-premises data center. Your AWS account must have the right trust policies and permissions in place to create a job for Snowball. If you're creating a job for a node in a cluster, you only need to provide the <code>clusterId</code> value; the other job attributes are inherited from the cluster. </p>",
"DescribeAddress": "<p>Takes an <code>AddressId</code> and returns specific details about that address in the form of an <code>Address</code> object.</p>",
"DescribeAddresses": "<p>Returns a specified number of <code>ADDRESS</code> objects. Calling this API in one of the US regions will return addresses from the list of all addresses associated with this account in all US regions.</p>",
"DescribeCluster": "<p>Returns information about a specific cluster including shipping information, cluster status, and other important metadata.</p>",
"DescribeJob": "<p>Returns information about a specific job including shipping information, job status, and other important metadata. .</p>",
"DescribeJob": "<p>Returns information about a specific job including shipping information, job status, and other important metadata. </p>",
"GetJobManifest": "<p>Returns a link to an Amazon S3 presigned URL for the manifest file associated with the specified <code>JobId</code> value. You can access the manifest file for up to 60 minutes after this request has been made. To access the manifest file after 60 minutes have passed, you'll have to make another call to the <code>GetJobManifest</code> action.</p> <p>The manifest is an encrypted file that you can download after your job enters the <code>WithCustomer</code> status. The manifest is decrypted by using the <code>UnlockCode</code> code value, when you pass both values to the Snowball through the Snowball client when the client is started for the first time.</p> <p>As a best practice, we recommend that you don't save a copy of an <code>UnlockCode</code> value in the same location as the manifest file for that job. Saving these separately helps prevent unauthorized parties from gaining access to the Snowball associated with that job.</p> <p>The credentials of a given job, including its manifest file and unlock code, expire 90 days after the job is created.</p>",
"GetJobUnlockCode": "<p>Returns the <code>UnlockCode</code> code value for the specified job. A particular <code>UnlockCode</code> value can be accessed for up to 90 days after the associated job has been created.</p> <p>The <code>UnlockCode</code> value is a 29-character code with 25 alphanumeric characters and 4 hyphens. This code is used to decrypt the manifest file when it is passed along with the manifest to the Snowball through the Snowball client when the client is started for the first time.</p> <p>As a best practice, we recommend that you don't save a copy of the <code>UnlockCode</code> in the same location as the manifest file for that job. Saving these separately helps prevent unauthorized parties from gaining access to the Snowball associated with that job.</p>",
"GetSnowballUsage": "<p>Returns information about the Snowball service limit for your account, and also the number of Snowballs your account has in use.</p> <p>The default service limit for the number of Snowballs that you can have at one time is 1. If you want to increase your service limit, contact AWS Support.</p>",
@@ -34,12 +34,18 @@
"refs": {
"Address$AddressId": "<p>The unique ID for an address.</p>",
"ClusterMetadata$AddressId": "<p>The automatically generated ID for a specific address.</p>",
"ClusterMetadata$ForwardingAddressId": "<p>The ID of the address that you want a cluster shipped to, after it will be shipped to its primary address. This field is not supported in most regions.</p>",
"CreateClusterRequest$AddressId": "<p>The ID for the address that you want the cluster shipped to.&gt;</p>",
"CreateClusterRequest$ForwardingAddressId": "<p>The forwarding address ID for a cluster. This field is not supported in most regions.</p>",
"CreateJobRequest$AddressId": "<p>The ID for the address that you want the Snowball shipped to.</p>",
"CreateJobRequest$ForwardingAddressId": "<p>The forwarding address ID for a job. This field is not supported in most regions.</p>",
"DescribeAddressRequest$AddressId": "<p>The automatically generated ID for a specific address.</p>",
"JobMetadata$AddressId": "<p>The ID for the address that you want the Snowball shipped to.</p>",
"JobMetadata$ForwardingAddressId": "<p>The ID of the address that you want a job shipped to, after it will be shipped to its primary address. This field is not supported in most regions.</p>",
"UpdateClusterRequest$AddressId": "<p>The ID of the updated <a>Address</a> object.</p>",
"UpdateJobRequest$AddressId": "<p>The ID of the updated <a>Address</a> object.</p>"
"UpdateClusterRequest$ForwardingAddressId": "<p>The updated ID for the forwarding address for a cluster. This field is not supported in most regions.</p>",
"UpdateJobRequest$AddressId": "<p>The ID of the updated <a>Address</a> object.</p>",
"UpdateJobRequest$ForwardingAddressId": "<p>The updated ID for the forwarding address for a job. This field is not supported in most regions.</p>"
}
},
"AddressList": {
@@ -51,6 +57,7 @@
"Boolean": {
"base": null,
"refs": {
"Address$IsRestricted": "<p>If the address you are creating is a primary address, then set this option to true. This field is not supported in most regions.</p>",
"JobListEntry$IsMaster": "<p>A value that indicates that this job is a master job. A master job represents a successful request to create an export job. Master jobs aren't associated with any Snowballs. Instead, each master job will have at least one job part, and each job part is associated with a Snowball. It might take some time before the job parts associated with a particular master job are listed, because they are created after the master job is created.</p>",
"Notification$NotifyAll": "<p>Any change in job state will trigger a notification for this job.</p>"
}
@@ -256,6 +263,11 @@
"refs": {
}
},
"InvalidNextTokenException": {
"base": "<p>The <code>NextToken</code> string was altered unexpectedly, and the operation has stopped. Run the operation without changing the <code>NextToken</code> string, and try again.</p>",
"refs": {
}
},
"InvalidResourceException": {
"base": "<p>The specified resource can't be found. Check the information you provided in your last request, and try again.</p>",
"refs": {
@@ -356,7 +368,7 @@
"ClusterMetadata$KmsKeyARN": "<p>The <code>KmsKeyARN</code> Amazon Resource Name (ARN) associated with this cluster. This ARN was created using the <a href=\"http://docs.aws.amazon.com/kms/latest/APIReference/API_CreateKey.html\">CreateKey</a> API action in AWS Key Management Service (AWS KMS).</p>",
"CreateClusterRequest$KmsKeyARN": "<p>The <code>KmsKeyARN</code> value that you want to associate with this cluster. <code>KmsKeyARN</code> values are created by using the <a href=\"http://docs.aws.amazon.com/kms/latest/APIReference/API_CreateKey.html\">CreateKey</a> API action in AWS Key Management Service (AWS KMS). </p>",
"CreateJobRequest$KmsKeyARN": "<p>The <code>KmsKeyARN</code> that you want to associate with this job. <code>KmsKeyARN</code>s are created using the <a href=\"http://docs.aws.amazon.com/kms/latest/APIReference/API_CreateKey.html\">CreateKey</a> AWS Key Management Service (KMS) API action.</p>",
"JobMetadata$KmsKeyARN": "<p>The Amazon Resource Name (ARN) for the AWS Key Management Service (AWS KMS) key associated with this job. This ARN was created using the <code>CreateKey</code> API action in AWS KMS.</p>"
"JobMetadata$KmsKeyARN": "<p>The Amazon Resource Name (ARN) for the AWS Key Management Service (AWS KMS) key associated with this job. This ARN was created using the <a href=\"http://docs.aws.amazon.com/kms/latest/APIReference/API_CreateKey.html\">CreateKey</a> API action in AWS KMS.</p>"
}
},
"LambdaResource": {
@@ -444,9 +456,9 @@
"ClusterMetadata$RoleARN": "<p>The role ARN associated with this cluster. This ARN was created using the <a href=\"http://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html\">CreateRole</a> API action in AWS Identity and Access Management (IAM).</p>",
"CreateClusterRequest$RoleARN": "<p>The <code>RoleARN</code> that you want to associate with this cluster. <code>RoleArn</code> values are created by using the <a href=\"http://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html\">CreateRole</a> API action in AWS Identity and Access Management (IAM).</p>",
"CreateJobRequest$RoleARN": "<p>The <code>RoleARN</code> that you want to associate with this job. <code>RoleArn</code>s are created using the <a href=\"http://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html\">CreateRole</a> AWS Identity and Access Management (IAM) API action.</p>",
"JobMetadata$RoleARN": "<p>The role ARN associated with this job. This ARN was created using the <code>CreateRole</code> API action in AWS Identity and Access Management (IAM).</p>",
"JobMetadata$RoleARN": "<p>The role ARN associated with this job. This ARN was created using the <a href=\"http://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html\">CreateRole</a> API action in AWS Identity and Access Management (IAM).</p>",
"UpdateClusterRequest$RoleARN": "<p>The new role Amazon Resource Name (ARN) that you want to associate with this cluster. To create a role ARN, use the <a href=\"http://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html\">CreateRole</a> API action in AWS Identity and Access Management (IAM).</p>",
"UpdateJobRequest$RoleARN": "<p>The new role Amazon Resource Name (ARN) that you want to associate with this job. To create a role ARN, use the <a href=\"http://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html\">CreateRole</a> AWS Identity and Access Management (IAM) API action.</p>"
"UpdateJobRequest$RoleARN": "<p>The new role Amazon Resource Name (ARN) that you want to associate with this job. To create a role ARN, use the <a href=\"http://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html\">CreateRole</a>AWS Identity and Access Management (IAM) API action.</p>"
}
},
"S3Resource": {
@@ -519,8 +531,8 @@
"Address$Street3": "<p>The third line in a street address that a Snowball is to be delivered to.</p>",
"Address$City": "<p>The city in an address that a Snowball is to be delivered to.</p>",
"Address$StateOrProvince": "<p>The state or province in an address that a Snowball is to be delivered to.</p>",
"Address$PrefectureOrDistrict": "<p>The prefecture or district that the appliance will be shipped to.</p>",
"Address$Landmark": "<p>The landmark identifying the address that the appliance will be shipped to.</p>",
"Address$PrefectureOrDistrict": "<p>This field is no longer used and the value is ignored.</p>",
"Address$Landmark": "<p>This field is no longer used and the value is ignored.</p>",
"Address$Country": "<p>The country in an address that a Snowball is to be delivered to.</p>",
"Address$PostalCode": "<p>The postal code in an address that a Snowball is to be delivered to.</p>",
"Address$PhoneNumber": "<p>The phone number associated with an address that a Snowball is to be delivered to.</p>",
@@ -539,6 +551,7 @@
"InvalidAddressException$Message": null,
"InvalidInputCombinationException$Message": null,
"InvalidJobStateException$Message": null,
"InvalidNextTokenException$Message": null,
"InvalidResourceException$Message": null,
"JobListEntry$JobId": "<p>The automatically generated ID for a job, for example <code>JID123e4567-e89b-12d3-a456-426655440000</code>.</p>",
"JobListEntry$Description": "<p>The optional description of this specific job, for example <code>Important Photos 2016-08-11</code>.</p>",
@@ -557,7 +570,7 @@
"ListClustersResult$NextToken": "<p>HTTP requests are stateless. If you use the automatically generated <code>NextToken</code> value in your next <code>ClusterListEntry</code> call, your list of returned clusters will start from this point in the array.</p>",
"ListJobsRequest$NextToken": "<p>HTTP requests are stateless. To identify what object comes \"next\" in the list of <code>JobListEntry</code> objects, you have the option of specifying <code>NextToken</code> as the starting point for your returned list.</p>",
"ListJobsResult$NextToken": "<p>HTTP requests are stateless. If you use this automatically generated <code>NextToken</code> value in your next <code>ListJobs</code> call, your returned <code>JobListEntry</code> objects will start from this point in the array.</p>",
"Shipment$Status": "<p>Status information for a shipment. Valid statuses include <code>NEW</code>, <code>IN_TRANSIT</code>, and <code>DELIVERED</code>.</p>",
"Shipment$Status": "<p>Status information for a shipment.</p>",
"Shipment$TrackingNumber": "<p>The tracking number for this job. Using this tracking number with your region's carrier's website, you can track a Snowball as the carrier transports it.</p> <p>For India, the carrier is Amazon Logistics. For all other regions, UPS is the carrier.</p>",
"UnsupportedAddressException$Message": null,
"UpdateClusterRequest$Description": "<p>The updated description of this cluster.</p>",
@@ -1,16 +1,16 @@
{
"pagination": {
"ListJobs": {
"limit_key": "MaxResults",
"output_token": "NextToken",
"input_token": "NextToken",
"result_key": "JobListEntries"
},
"DescribeAddresses": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"input_token": "NextToken",
"result_key": "Addresses"
},
"ListJobs": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "JobListEntries"
}
}
}