diff --git a/.changes/2.561.0.json b/.changes/2.561.0.json
new file mode 100644
index 0000000000..f44df28166
--- /dev/null
+++ b/.changes/2.561.0.json
@@ -0,0 +1,12 @@
+[
+ {
+ "type": "feature",
+ "category": "Amplify",
+ "description": "This release of AWS Amplify Console introduces support for Web Previews. This feature allows user to create ephemeral branch deployments from pull request submissions made to a connected repository. A pull-request preview deploys every pull request made to your Git repository to a unique preview URL."
+ },
+ {
+ "type": "feature",
+ "category": "S3",
+ "description": "S3 Inventory now supports a new field 'IntelligentTieringAccessTier' that reports the access tier (frequent or infrequent) of objects stored in Intelligent-Tiering storage class."
+ }
+]
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 63831b2ca3..ef7a48a22c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,7 +1,11 @@
# Changelog for AWS SDK for JavaScript
-
+
+## 2.561.0
+* feature: Amplify: This release of AWS Amplify Console introduces support for Web Previews. This feature allows user to create ephemeral branch deployments from pull request submissions made to a connected repository. A pull-request preview deploys every pull request made to your Git repository to a unique preview URL.
+* feature: S3: S3 Inventory now supports a new field 'IntelligentTieringAccessTier' that reports the access tier (frequent or infrequent) of objects stored in Intelligent-Tiering storage class.
+
## 2.560.0
* feature: ElastiCache: Amazon ElastiCache for Redis 5.0.5 now allows you to modify authentication tokens by setting and rotating new tokens. You can now modify active tokens while in use, or add brand-new tokens to existing encryption-in-transit enabled clusters that were previously setup without authentication tokens. This is a two-step process that allows you to set and rotate the token without interrupting client requests.
diff --git a/README.md b/README.md
index f683669dd7..0e5f57979e 100644
--- a/README.md
+++ b/README.md
@@ -25,7 +25,7 @@ version.
To use the SDK in the browser, simply add the following script tag to your
HTML pages:
-
+
You can also build a custom browser SDK with your specified set of AWS services.
This can allow you to reduce the SDK's size, specify different API versions of
diff --git a/apis/amplify-2017-07-25.min.json b/apis/amplify-2017-07-25.min.json
index 7a131e979a..e297b4d448 100644
--- a/apis/amplify-2017-07-25.min.json
+++ b/apis/amplify-2017-07-25.min.json
@@ -65,7 +65,7 @@
],
"members": {
"app": {
- "shape": "Sy"
+ "shape": "Sz"
}
}
}
@@ -110,7 +110,9 @@
"displayName": {},
"enablePullRequestPreview": {
"type": "boolean"
- }
+ },
+ "pullRequestEnvironmentName": {},
+ "backendEnvironmentArn": {}
}
},
"output": {
@@ -120,7 +122,7 @@
],
"members": {
"branch": {
- "shape": "S1d"
+ "shape": "S1f"
}
}
}
@@ -189,7 +191,7 @@
"type": "boolean"
},
"subDomainSettings": {
- "shape": "S1w"
+ "shape": "S1y"
}
}
},
@@ -200,7 +202,7 @@
],
"members": {
"domainAssociation": {
- "shape": "S20"
+ "shape": "S22"
}
}
}
@@ -231,7 +233,7 @@
],
"members": {
"webhook": {
- "shape": "S2b"
+ "shape": "S2d"
}
}
}
@@ -260,7 +262,7 @@
],
"members": {
"app": {
- "shape": "Sy"
+ "shape": "Sz"
}
}
}
@@ -294,7 +296,7 @@
],
"members": {
"branch": {
- "shape": "S1d"
+ "shape": "S1f"
}
}
}
@@ -328,7 +330,7 @@
],
"members": {
"domainAssociation": {
- "shape": "S20"
+ "shape": "S22"
}
}
}
@@ -367,7 +369,7 @@
],
"members": {
"jobSummary": {
- "shape": "S2n"
+ "shape": "S2p"
}
}
}
@@ -396,7 +398,7 @@
],
"members": {
"webhook": {
- "shape": "S2b"
+ "shape": "S2d"
}
}
}
@@ -456,7 +458,7 @@
],
"members": {
"app": {
- "shape": "Sy"
+ "shape": "Sz"
}
}
}
@@ -519,7 +521,7 @@
],
"members": {
"branch": {
- "shape": "S1d"
+ "shape": "S1f"
}
}
}
@@ -553,7 +555,7 @@
],
"members": {
"domainAssociation": {
- "shape": "S20"
+ "shape": "S22"
}
}
}
@@ -599,7 +601,7 @@
],
"members": {
"summary": {
- "shape": "S2n"
+ "shape": "S2p"
},
"steps": {
"type": "list",
@@ -663,7 +665,7 @@
],
"members": {
"webhook": {
- "shape": "S2b"
+ "shape": "S2d"
}
}
}
@@ -696,7 +698,7 @@
"apps": {
"type": "list",
"member": {
- "shape": "Sy"
+ "shape": "Sz"
}
},
"nextToken": {}
@@ -728,7 +730,6 @@
"location": "uri",
"locationName": "jobId"
},
- "artifactType": {},
"nextToken": {
"location": "querystring",
"locationName": "nextToken"
@@ -799,7 +800,7 @@
"branches": {
"type": "list",
"member": {
- "shape": "S1d"
+ "shape": "S1f"
}
},
"nextToken": {}
@@ -841,7 +842,7 @@
"domainAssociations": {
"type": "list",
"member": {
- "shape": "S20"
+ "shape": "S22"
}
},
"nextToken": {}
@@ -888,7 +889,7 @@
"jobSummaries": {
"type": "list",
"member": {
- "shape": "S2n"
+ "shape": "S2p"
}
},
"nextToken": {}
@@ -956,7 +957,7 @@
"webhooks": {
"type": "list",
"member": {
- "shape": "S2b"
+ "shape": "S2d"
}
},
"nextToken": {}
@@ -993,7 +994,7 @@
],
"members": {
"jobSummary": {
- "shape": "S2n"
+ "shape": "S2p"
}
}
}
@@ -1035,7 +1036,7 @@
],
"members": {
"jobSummary": {
- "shape": "S2n"
+ "shape": "S2p"
}
}
}
@@ -1074,7 +1075,7 @@
],
"members": {
"jobSummary": {
- "shape": "S2n"
+ "shape": "S2p"
}
}
}
@@ -1186,7 +1187,7 @@
],
"members": {
"app": {
- "shape": "Sy"
+ "shape": "Sz"
}
}
}
@@ -1231,7 +1232,9 @@
"displayName": {},
"enablePullRequestPreview": {
"type": "boolean"
- }
+ },
+ "pullRequestEnvironmentName": {},
+ "backendEnvironmentArn": {}
}
},
"output": {
@@ -1241,7 +1244,7 @@
],
"members": {
"branch": {
- "shape": "S1d"
+ "shape": "S1f"
}
}
}
@@ -1270,7 +1273,7 @@
"type": "boolean"
},
"subDomainSettings": {
- "shape": "S1w"
+ "shape": "S1y"
}
}
},
@@ -1281,7 +1284,7 @@
],
"members": {
"domainAssociation": {
- "shape": "S20"
+ "shape": "S22"
}
}
}
@@ -1311,7 +1314,7 @@
],
"members": {
"webhook": {
- "shape": "S2b"
+ "shape": "S2d"
}
}
}
@@ -1366,10 +1369,11 @@
"buildSpec": {},
"enablePullRequestPreview": {
"type": "boolean"
- }
+ },
+ "pullRequestEnvironmentName": {}
}
},
- "Sy": {
+ "Sz": {
"type": "structure",
"required": [
"appId",
@@ -1439,7 +1443,7 @@
}
}
},
- "S1d": {
+ "S1f": {
"type": "structure",
"required": [
"branchArn",
@@ -1505,17 +1509,19 @@
"enablePullRequestPreview": {
"type": "boolean"
},
+ "pullRequestEnvironmentName": {},
"destinationBranch": {},
- "sourceBranch": {}
+ "sourceBranch": {},
+ "backendEnvironmentArn": {}
}
},
- "S1w": {
+ "S1y": {
"type": "list",
"member": {
- "shape": "S1x"
+ "shape": "S1z"
}
},
- "S1x": {
+ "S1z": {
"type": "structure",
"required": [
"prefix",
@@ -1526,7 +1532,7 @@
"branchName": {}
}
},
- "S20": {
+ "S22": {
"type": "structure",
"required": [
"domainAssociationArn",
@@ -1556,7 +1562,7 @@
],
"members": {
"subDomainSetting": {
- "shape": "S1x"
+ "shape": "S1z"
},
"verified": {
"type": "boolean"
@@ -1567,7 +1573,7 @@
}
}
},
- "S2b": {
+ "S2d": {
"type": "structure",
"required": [
"webhookArn",
@@ -1592,7 +1598,7 @@
}
}
},
- "S2n": {
+ "S2p": {
"type": "structure",
"required": [
"jobArn",
diff --git a/apis/amplify-2017-07-25.normal.json b/apis/amplify-2017-07-25.normal.json
index 19cb52befe..0a9447129f 100644
--- a/apis/amplify-2017-07-25.normal.json
+++ b/apis/amplify-2017-07-25.normal.json
@@ -355,7 +355,7 @@
"shape": "InternalFailureException"
}
],
- "documentation": "
Retrieve website access logs for a specific time range via a pre-signed URL. Optionally, deliver the logs to a given S3 bucket.
"
+ "documentation": " Retrieve website access logs for a specific time range via a pre-signed URL.
"
},
"GetApp": {
"name": "GetApp",
@@ -1138,12 +1138,6 @@
"type": "string",
"max": 255
},
- "ArtifactType": {
- "type": "string",
- "enum": [
- "TEST"
- ]
- },
"ArtifactUrl": {
"type": "string",
"max": 1000
@@ -1203,6 +1197,10 @@
"enablePullRequestPreview": {
"shape": "EnablePullRequestPreview",
"documentation": " Enables Pull Request Preview for auto created branch.
"
+ },
+ "pullRequestEnvironmentName": {
+ "shape": "PullRequestEnvironmentName",
+ "documentation": " The Amplify Environment name for the pull request.
"
}
},
"documentation": " Structure with auto branch creation config.
"
@@ -1218,6 +1216,11 @@
"shape": "AutoBranchCreationPattern"
}
},
+ "BackendEnvironmentArn": {
+ "type": "string",
+ "max": 1000,
+ "min": 1
+ },
"BasicAuthCredentials": {
"type": "string",
"max": 2000
@@ -1332,6 +1335,10 @@
"shape": "EnablePullRequestPreview",
"documentation": " Enables Pull Request Preview for this branch.
"
},
+ "pullRequestEnvironmentName": {
+ "shape": "PullRequestEnvironmentName",
+ "documentation": " The Amplify Environment name for the pull request.
"
+ },
"destinationBranch": {
"shape": "BranchName",
"documentation": " The destination branch if the branch is a pull request branch.
"
@@ -1339,6 +1346,10 @@
"sourceBranch": {
"shape": "BranchName",
"documentation": " The source branch if the branch is a pull request branch.
"
+ },
+ "backendEnvironmentArn": {
+ "shape": "BackendEnvironmentArn",
+ "documentation": " ARN for a Backend Environment, part of an Amplify App.
"
}
},
"documentation": " Branch for an Amplify App, which maps to a 3rd party repository branch.
"
@@ -1544,6 +1555,14 @@
"enablePullRequestPreview": {
"shape": "EnablePullRequestPreview",
"documentation": " Enables Pull Request Preview for this branch.
"
+ },
+ "pullRequestEnvironmentName": {
+ "shape": "PullRequestEnvironmentName",
+ "documentation": " The Amplify Environment name for the pull request.
"
+ },
+ "backendEnvironmentArn": {
+ "shape": "BackendEnvironmentArn",
+ "documentation": " ARN for a Backend Environment, part of an Amplify App.
"
}
},
"documentation": " Request structure for a branch create request.
"
@@ -1629,7 +1648,7 @@
},
"enableAutoSubDomain": {
"shape": "EnableAutoSubDomain",
- "documentation": " Enables automated creation of Subdomains for branches.
"
+ "documentation": " Enables automated creation of Subdomains for branches. (Currently not supported)
"
},
"subDomainSettings": {
"shape": "SubDomainSettings",
@@ -1936,7 +1955,7 @@
},
"enableAutoSubDomain": {
"shape": "EnableAutoSubDomain",
- "documentation": " Enables automated creation of Subdomains for branches.
"
+ "documentation": " Enables automated creation of Subdomains for branches. (Currently not supported)
"
},
"domainStatus": {
"shape": "DomainStatus",
@@ -2173,7 +2192,7 @@
"locationName": "branchName"
}
},
- "documentation": " Result structure for get branch request.
"
+ "documentation": " Request structure for get branch request.
"
},
"GetBranchResult": {
"type": "structure",
@@ -2463,10 +2482,6 @@
"location": "uri",
"locationName": "jobId"
},
- "artifactType": {
- "shape": "ArtifactType",
- "documentation": " Type for an artifact.
"
- },
"nextToken": {
"shape": "NextToken",
"documentation": " Pagination token. Set to null to start listing artifacts from start. If non-null pagination token is returned in a result, then pass its value in here to list more artifacts.
",
@@ -2761,6 +2776,10 @@
},
"documentation": " Structure with Production Branch information.
"
},
+ "PullRequestEnvironmentName": {
+ "type": "string",
+ "max": 20
+ },
"Repository": {
"type": "string",
"max": 1000
@@ -3349,6 +3368,14 @@
"enablePullRequestPreview": {
"shape": "EnablePullRequestPreview",
"documentation": " Enables Pull Request Preview for this branch.
"
+ },
+ "pullRequestEnvironmentName": {
+ "shape": "PullRequestEnvironmentName",
+ "documentation": " The Amplify Environment name for the pull request.
"
+ },
+ "backendEnvironmentArn": {
+ "shape": "BackendEnvironmentArn",
+ "documentation": " ARN for a Backend Environment, part of an Amplify App.
"
}
},
"documentation": " Request structure for update branch request.
"
@@ -3388,7 +3415,7 @@
},
"enableAutoSubDomain": {
"shape": "EnableAutoSubDomain",
- "documentation": " Enables automated creation of Subdomains for branches.
"
+ "documentation": " Enables automated creation of Subdomains for branches. (Currently not supported)
"
},
"subDomainSettings": {
"shape": "SubDomainSettings",
diff --git a/apis/s3-2006-03-01.examples.json b/apis/s3-2006-03-01.examples.json
index 9546326961..0732c2fba9 100644
--- a/apis/s3-2006-03-01.examples.json
+++ b/apis/s3-2006-03-01.examples.json
@@ -84,13 +84,10 @@
"CreateBucket": [
{
"input": {
- "Bucket": "examplebucket",
- "CreateBucketConfiguration": {
- "LocationConstraint": "eu-west-1"
- }
+ "Bucket": "examplebucket"
},
"output": {
- "Location": "http://examplebucket.s3.amazonaws.com/"
+ "Location": "/examplebucket"
},
"comments": {
"input": {
@@ -98,16 +95,19 @@
"output": {
}
},
- "description": "The following example creates a bucket. The request specifies an AWS region where to create the bucket.",
- "id": "to-create-a-bucket-in-a-specific-region-1483399072992",
- "title": "To create a bucket in a specific region"
+ "description": "The following example creates a bucket.",
+ "id": "to-create-a-bucket--1472851826060",
+ "title": "To create a bucket "
},
{
"input": {
- "Bucket": "examplebucket"
+ "Bucket": "examplebucket",
+ "CreateBucketConfiguration": {
+ "LocationConstraint": "eu-west-1"
+ }
},
"output": {
- "Location": "/examplebucket"
+ "Location": "http://examplebucket.s3.amazonaws.com/"
},
"comments": {
"input": {
@@ -115,9 +115,9 @@
"output": {
}
},
- "description": "The following example creates a bucket.",
- "id": "to-create-a-bucket--1472851826060",
- "title": "To create a bucket "
+ "description": "The following example creates a bucket. The request specifies an AWS region where to create the bucket.",
+ "id": "to-create-a-bucket-in-a-specific-region-1483399072992",
+ "title": "To create a bucket in a specific region"
}
],
"CreateMultipartUpload": [
@@ -292,11 +292,10 @@
{
"input": {
"Bucket": "examplebucket",
- "Key": "HappyFace.jpg",
- "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
+ "Key": "HappyFace.jpg"
},
"output": {
- "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
+ "VersionId": "null"
},
"comments": {
"input": {
@@ -304,17 +303,18 @@
"output": {
}
},
- "description": "The following example removes tag set associated with the specified object version. The request specifies both the object key and object version.",
- "id": "to-remove-tag-set-from-an-object-version-1483145285913",
- "title": "To remove tag set from an object version"
+ "description": "The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the operation removes tag set from the latest object version.",
+ "id": "to-remove-tag-set-from-an-object-1483145342862",
+ "title": "To remove tag set from an object"
},
{
"input": {
"Bucket": "examplebucket",
- "Key": "HappyFace.jpg"
+ "Key": "HappyFace.jpg",
+ "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
},
"output": {
- "VersionId": "null"
+ "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
},
"comments": {
"input": {
@@ -322,9 +322,9 @@
"output": {
}
},
- "description": "The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the operation removes tag set from the latest object version.",
- "id": "to-remove-tag-set-from-an-object-1483145342862",
- "title": "To remove tag set from an object"
+ "description": "The following example removes tag set associated with the specified object version. The request specifies both the object key and object version.",
+ "id": "to-remove-tag-set-from-an-object-version-1483145285913",
+ "title": "To remove tag set from an object version"
}
],
"DeleteObjects": [
@@ -728,17 +728,18 @@
{
"input": {
"Bucket": "examplebucket",
- "Key": "HappyFace.jpg"
+ "Key": "SampleFile.txt",
+ "Range": "bytes=0-9"
},
"output": {
"AcceptRanges": "bytes",
- "ContentLength": "3191",
- "ContentType": "image/jpeg",
- "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
- "LastModified": "Thu, 15 Dec 2016 01:19:41 GMT",
+ "ContentLength": "10",
+ "ContentRange": "bytes 0-9/43",
+ "ContentType": "text/plain",
+ "ETag": "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
+ "LastModified": "Thu, 09 Oct 2014 22:57:28 GMT",
"Metadata": {
},
- "TagCount": 2,
"VersionId": "null"
},
"comments": {
@@ -747,25 +748,24 @@
"output": {
}
},
- "description": "The following example retrieves an object for an S3 bucket.",
- "id": "to-retrieve-an-object-1481827837012",
- "title": "To retrieve an object"
+ "description": "The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a specific byte range.",
+ "id": "to-retrieve-a-byte-range-of-an-object--1481832674603",
+ "title": "To retrieve a byte range of an object "
},
{
"input": {
"Bucket": "examplebucket",
- "Key": "SampleFile.txt",
- "Range": "bytes=0-9"
+ "Key": "HappyFace.jpg"
},
"output": {
"AcceptRanges": "bytes",
- "ContentLength": "10",
- "ContentRange": "bytes 0-9/43",
- "ContentType": "text/plain",
- "ETag": "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
- "LastModified": "Thu, 09 Oct 2014 22:57:28 GMT",
+ "ContentLength": "3191",
+ "ContentType": "image/jpeg",
+ "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
+ "LastModified": "Thu, 15 Dec 2016 01:19:41 GMT",
"Metadata": {
},
+ "TagCount": 2,
"VersionId": "null"
},
"comments": {
@@ -774,9 +774,9 @@
"output": {
}
},
- "description": "The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a specific byte range.",
- "id": "to-retrieve-a-byte-range-of-an-object--1481832674603",
- "title": "To retrieve a byte range of an object "
+ "description": "The following example retrieves an object for an S3 bucket.",
+ "id": "to-retrieve-an-object-1481827837012",
+ "title": "To retrieve an object"
}
],
"GetObjectAcl": [
@@ -840,17 +840,20 @@
{
"input": {
"Bucket": "examplebucket",
- "Key": "exampleobject",
- "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
+ "Key": "HappyFace.jpg"
},
"output": {
"TagSet": [
{
- "Key": "Key1",
- "Value": "Value1"
+ "Key": "Key4",
+ "Value": "Value4"
+ },
+ {
+ "Key": "Key3",
+ "Value": "Value3"
}
],
- "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
+ "VersionId": "null"
},
"comments": {
"input": {
@@ -858,27 +861,24 @@
"output": {
}
},
- "description": "The following example retrieves tag set of an object. The request specifies object version.",
- "id": "to-retrieve-tag-set-of-a-specific-object-version-1483400283663",
- "title": "To retrieve tag set of a specific object version"
+ "description": "The following example retrieves tag set of an object.",
+ "id": "to-retrieve-tag-set-of-an-object-1481833847896",
+ "title": "To retrieve tag set of an object"
},
{
"input": {
"Bucket": "examplebucket",
- "Key": "HappyFace.jpg"
+ "Key": "exampleobject",
+ "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
},
"output": {
"TagSet": [
{
- "Key": "Key4",
- "Value": "Value4"
- },
- {
- "Key": "Key3",
- "Value": "Value3"
+ "Key": "Key1",
+ "Value": "Value1"
}
],
- "VersionId": "null"
+ "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
},
"comments": {
"input": {
@@ -886,9 +886,9 @@
"output": {
}
},
- "description": "The following example retrieves tag set of an object.",
- "id": "to-retrieve-tag-set-of-an-object-1481833847896",
- "title": "To retrieve tag set of an object"
+ "description": "The following example retrieves tag set of an object. The request specifies object version.",
+ "id": "to-retrieve-tag-set-of-a-specific-object-version-1483400283663",
+ "title": "To retrieve tag set of a specific object version"
}
],
"GetObjectTorrent": [
@@ -1567,14 +1567,14 @@
"PutObject": [
{
"input": {
- "Body": "c:\\HappyFace.jpg",
+ "ACL": "authenticated-read",
+ "Body": "filetoupload",
"Bucket": "examplebucket",
- "Key": "HappyFace.jpg",
- "Tagging": "key1=value1&key2=value2"
+ "Key": "exampleobject"
},
"output": {
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
- "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
+ "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
},
"comments": {
"input": {
@@ -1582,20 +1582,19 @@
"output": {
}
},
- "description": "The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore S3 returns version ID of the newly created object.",
- "id": "to-upload-an-object-and-specify-optional-tags-1481762310955",
- "title": "To upload an object and specify optional tags"
+ "description": "The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.",
+ "id": "to-upload-an-object-and-specify-canned-acl-1483397779571",
+ "title": "To upload an object and specify canned ACL."
},
{
"input": {
- "ACL": "authenticated-read",
- "Body": "filetoupload",
+ "Body": "HappyFace.jpg",
"Bucket": "examplebucket",
- "Key": "exampleobject"
+ "Key": "HappyFace.jpg"
},
"output": {
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
- "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
+ "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
},
"comments": {
"input": {
@@ -1603,9 +1602,9 @@
"output": {
}
},
- "description": "The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.",
- "id": "to-upload-an-object-and-specify-canned-acl-1483397779571",
- "title": "To upload an object and specify canned ACL."
+ "description": "The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object.",
+ "id": "to-upload-an-object-1481760101010",
+ "title": "To upload an object"
},
{
"input": {
@@ -1629,16 +1628,17 @@
},
{
"input": {
- "Body": "HappyFace.jpg",
+ "Body": "filetoupload",
"Bucket": "examplebucket",
- "Key": "HappyFace.jpg",
- "ServerSideEncryption": "AES256",
- "StorageClass": "STANDARD_IA"
+ "Key": "exampleobject",
+ "Metadata": {
+ "metadata1": "value1",
+ "metadata2": "value2"
+ }
},
"output": {
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
- "ServerSideEncryption": "AES256",
- "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
+ "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
},
"comments": {
"input": {
@@ -1646,19 +1646,20 @@
"output": {
}
},
- "description": "The following example uploads an object. The request specifies optional request headers to directs S3 to use specific storage class and use server-side encryption.",
- "id": "to-upload-an-object-(specify-optional-headers)",
- "title": "To upload an object (specify optional headers)"
+ "description": "The following example creates an object. The request also specifies optional metadata. If the bucket is versioning enabled, S3 returns version ID in response.",
+ "id": "to-upload-object-and-specify-user-defined-metadata-1483396974757",
+ "title": "To upload object and specify user-defined metadata"
},
{
"input": {
- "Body": "HappyFace.jpg",
+ "Body": "c:\\HappyFace.jpg",
"Bucket": "examplebucket",
- "Key": "HappyFace.jpg"
+ "Key": "HappyFace.jpg",
+ "Tagging": "key1=value1&key2=value2"
},
"output": {
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
- "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
+ "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
},
"comments": {
"input": {
@@ -1666,23 +1667,22 @@
"output": {
}
},
- "description": "The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object.",
- "id": "to-upload-an-object-1481760101010",
- "title": "To upload an object"
+ "description": "The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore S3 returns version ID of the newly created object.",
+ "id": "to-upload-an-object-and-specify-optional-tags-1481762310955",
+ "title": "To upload an object and specify optional tags"
},
{
"input": {
"Body": "filetoupload",
"Bucket": "examplebucket",
"Key": "exampleobject",
- "Metadata": {
- "metadata1": "value1",
- "metadata2": "value2"
- }
+ "ServerSideEncryption": "AES256",
+ "Tagging": "key1=value1&key2=value2"
},
"output": {
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
- "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
+ "ServerSideEncryption": "AES256",
+ "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
},
"comments": {
"input": {
@@ -1690,22 +1690,22 @@
"output": {
}
},
- "description": "The following example creates an object. The request also specifies optional metadata. If the bucket is versioning enabled, S3 returns version ID in response.",
- "id": "to-upload-object-and-specify-user-defined-metadata-1483396974757",
- "title": "To upload object and specify user-defined metadata"
+ "description": "The following example uploads and object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.",
+ "id": "to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831",
+ "title": "To upload an object and specify server-side encryption and object tags"
},
{
"input": {
- "Body": "filetoupload",
+ "Body": "HappyFace.jpg",
"Bucket": "examplebucket",
- "Key": "exampleobject",
+ "Key": "HappyFace.jpg",
"ServerSideEncryption": "AES256",
- "Tagging": "key1=value1&key2=value2"
+ "StorageClass": "STANDARD_IA"
},
"output": {
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
"ServerSideEncryption": "AES256",
- "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
+ "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
},
"comments": {
"input": {
@@ -1713,9 +1713,9 @@
"output": {
}
},
- "description": "The following example uploads and object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.",
- "id": "to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831",
- "title": "To upload an object and specify server-side encryption and object tags"
+ "description": "The following example uploads an object. The request specifies optional request headers to directs S3 to use specific storage class and use server-side encryption.",
+ "id": "to-upload-an-object-(specify-optional-headers)",
+ "title": "To upload an object (specify optional headers)"
}
],
"PutObjectAcl": [
diff --git a/apis/s3-2006-03-01.normal.json b/apis/s3-2006-03-01.normal.json
index 793bdd3304..82ca210d19 100644
--- a/apis/s3-2006-03-01.normal.json
+++ b/apis/s3-2006-03-01.normal.json
@@ -5020,7 +5020,8 @@
"EncryptionStatus",
"ObjectLockRetainUntilDate",
"ObjectLockMode",
- "ObjectLockLegalHoldStatus"
+ "ObjectLockLegalHoldStatus",
+ "IntelligentTieringAccessTier"
]
},
"InventoryOptionalFields": {
diff --git a/apis/support-2013-04-15.examples.json b/apis/support-2013-04-15.examples.json
new file mode 100644
index 0000000000..0ea7e3b0bb
--- /dev/null
+++ b/apis/support-2013-04-15.examples.json
@@ -0,0 +1,5 @@
+{
+ "version": "1.0",
+ "examples": {
+ }
+}
diff --git a/apis/support-2013-04-15.min.json b/apis/support-2013-04-15.min.json
index d4ce40d239..b199ca8453 100644
--- a/apis/support-2013-04-15.min.json
+++ b/apis/support-2013-04-15.min.json
@@ -1,7 +1,6 @@
{
"version": "2.0",
"metadata": {
- "uid": "support-2013-04-15",
"apiVersion": "2013-04-15",
"endpointPrefix": "support",
"jsonVersion": "1.1",
@@ -9,7 +8,8 @@
"serviceFullName": "AWS Support",
"serviceId": "Support",
"signatureVersion": "v4",
- "targetPrefix": "AWSSupport_20130415"
+ "targetPrefix": "AWSSupport_20130415",
+ "uid": "support-2013-04-15"
},
"operations": {
"AddAttachmentsToSet": {
diff --git a/apis/support-2013-04-15.normal.json b/apis/support-2013-04-15.normal.json
index e86bf78709..24f2868df5 100644
--- a/apis/support-2013-04-15.normal.json
+++ b/apis/support-2013-04-15.normal.json
@@ -1,1070 +1,1192 @@
{
- "version":"2.0",
- "metadata":{
- "uid":"support-2013-04-15",
- "apiVersion":"2013-04-15",
- "endpointPrefix":"support",
- "jsonVersion":"1.1",
- "protocol":"json",
- "serviceFullName":"AWS Support",
- "serviceId":"Support",
- "signatureVersion":"v4",
- "targetPrefix":"AWSSupport_20130415"
+ "version": "2.0",
+ "metadata": {
+ "apiVersion": "2013-04-15",
+ "endpointPrefix": "support",
+ "jsonVersion": "1.1",
+ "protocol": "json",
+ "serviceFullName": "AWS Support",
+ "serviceId": "Support",
+ "signatureVersion": "v4",
+ "targetPrefix": "AWSSupport_20130415",
+ "uid": "support-2013-04-15"
},
- "operations":{
- "AddAttachmentsToSet":{
- "name":"AddAttachmentsToSet",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"AddAttachmentsToSetRequest"},
- "output":{"shape":"AddAttachmentsToSetResponse"},
- "errors":[
- {"shape":"InternalServerError"},
- {"shape":"AttachmentSetIdNotFound"},
- {"shape":"AttachmentSetExpired"},
- {"shape":"AttachmentSetSizeLimitExceeded"},
- {"shape":"AttachmentLimitExceeded"}
+ "operations": {
+ "AddAttachmentsToSet": {
+ "name": "AddAttachmentsToSet",
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "AddAttachmentsToSetRequest"
+ },
+ "output": {
+ "shape": "AddAttachmentsToSetResponse"
+ },
+ "errors": [
+ {
+ "shape": "InternalServerError"
+ },
+ {
+ "shape": "AttachmentSetIdNotFound"
+ },
+ {
+ "shape": "AttachmentSetExpired"
+ },
+ {
+ "shape": "AttachmentSetSizeLimitExceeded"
+ },
+ {
+ "shape": "AttachmentLimitExceeded"
+ }
],
- "documentation":"Adds one or more attachments to an attachment set. If an attachmentSetId
is not specified, a new attachment set is created, and the ID of the set is returned in the response. If an attachmentSetId
is specified, the attachments are added to the specified set, if it exists.
An attachment set is a temporary container for attachments that are to be added to a case or case communication. The set is available for one hour after it is created; the expiryTime
returned in the response indicates when the set expires. The maximum number of attachments in a set is 3, and the maximum size of any attachment in the set is 5 MB.
"
- },
- "AddCommunicationToCase":{
- "name":"AddCommunicationToCase",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"AddCommunicationToCaseRequest"},
- "output":{"shape":"AddCommunicationToCaseResponse"},
- "errors":[
- {"shape":"InternalServerError"},
- {"shape":"CaseIdNotFound"},
- {"shape":"AttachmentSetIdNotFound"},
- {"shape":"AttachmentSetExpired"}
+ "documentation": "Adds one or more attachments to an attachment set. If an attachmentSetId
is not specified, a new attachment set is created, and the ID of the set is returned in the response. If an attachmentSetId
is specified, the attachments are added to the specified set, if it exists.
An attachment set is a temporary container for attachments that are to be added to a case or case communication. The set is available for one hour after it is created; the expiryTime
returned in the response indicates when the set expires. The maximum number of attachments in a set is 3, and the maximum size of any attachment in the set is 5 MB.
"
+ },
+ "AddCommunicationToCase": {
+ "name": "AddCommunicationToCase",
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "AddCommunicationToCaseRequest"
+ },
+ "output": {
+ "shape": "AddCommunicationToCaseResponse"
+ },
+ "errors": [
+ {
+ "shape": "InternalServerError"
+ },
+ {
+ "shape": "CaseIdNotFound"
+ },
+ {
+ "shape": "AttachmentSetIdNotFound"
+ },
+ {
+ "shape": "AttachmentSetExpired"
+ }
],
- "documentation":"Adds additional customer communication to an AWS Support case. You use the caseId
value to identify the case to add communication to. You can list a set of email addresses to copy on the communication using the ccEmailAddresses
value. The communicationBody
value contains the text of the communication.
The response indicates the success or failure of the request.
This operation implements a subset of the features of the AWS Support Center.
"
- },
- "CreateCase":{
- "name":"CreateCase",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"CreateCaseRequest"},
- "output":{"shape":"CreateCaseResponse"},
- "errors":[
- {"shape":"InternalServerError"},
- {"shape":"CaseCreationLimitExceeded"},
- {"shape":"AttachmentSetIdNotFound"},
- {"shape":"AttachmentSetExpired"}
+ "documentation": "Adds additional customer communication to an AWS Support case. You use the caseId
value to identify the case to add communication to. You can list a set of email addresses to copy on the communication using the ccEmailAddresses
value. The communicationBody
value contains the text of the communication.
The response indicates the success or failure of the request.
This operation implements a subset of the features of the AWS Support Center.
"
+ },
+ "CreateCase": {
+ "name": "CreateCase",
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "CreateCaseRequest"
+ },
+ "output": {
+ "shape": "CreateCaseResponse"
+ },
+ "errors": [
+ {
+ "shape": "InternalServerError"
+ },
+ {
+ "shape": "CaseCreationLimitExceeded"
+ },
+ {
+ "shape": "AttachmentSetIdNotFound"
+ },
+ {
+ "shape": "AttachmentSetExpired"
+ }
],
- "documentation":"Creates a new case in the AWS Support Center. This operation is modeled on the behavior of the AWS Support Center Create Case page. Its parameters require you to specify the following information:
-
issueType. The type of issue for the case. You can specify either \"customer-service\" or \"technical.\" If you do not indicate a value, the default is \"technical.\"
-
serviceCode. The code for an AWS service. You obtain the serviceCode
by calling DescribeServices.
-
categoryCode. The category for the service defined for the serviceCode
value. You also obtain the category code for a service by calling DescribeServices. Each AWS service defines its own set of category codes.
-
severityCode. A value that indicates the urgency of the case, which in turn determines the response time according to your service level agreement with AWS Support. You obtain the SeverityCode by calling DescribeSeverityLevels.
-
subject. The Subject field on the AWS Support Center Create Case page.
-
communicationBody. The Description field on the AWS Support Center Create Case page.
-
attachmentSetId. The ID of a set of attachments that has been created by using AddAttachmentsToSet.
-
language. The human language in which AWS Support handles the case. English and Japanese are currently supported.
-
ccEmailAddresses. The AWS Support Center CC field on the Create Case page. You can list email addresses to be copied on any correspondence about the case. The account that opens the case is already identified by passing the AWS Credentials in the HTTP POST method or in a method or function call from one of the programming languages supported by an AWS SDK.
To add additional communication or attachments to an existing case, use AddCommunicationToCase.
A successful CreateCase request returns an AWS Support case number. Case numbers are used by the DescribeCases operation to retrieve existing AWS Support cases.
"
- },
- "DescribeAttachment":{
- "name":"DescribeAttachment",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DescribeAttachmentRequest"},
- "output":{"shape":"DescribeAttachmentResponse"},
- "errors":[
- {"shape":"InternalServerError"},
- {"shape":"DescribeAttachmentLimitExceeded"},
- {"shape":"AttachmentIdNotFound"}
+ "documentation": "Creates a new case in the AWS Support Center. This operation is modeled on the behavior of the AWS Support Center Create Case page. Its parameters require you to specify the following information:
-
issueType. The type of issue for the case. You can specify either \"customer-service\" or \"technical.\" If you do not indicate a value, the default is \"technical.\"
Service limit increases are not supported by the Support API; you must submit service limit increase requests in Support Center.
The caseId
is not the displayId
that appears in Support Center. You can use the DescribeCases API to get the displayId
.
-
serviceCode. The code for an AWS service. You can get the possible serviceCode
values by calling DescribeServices.
-
categoryCode. The category for the service defined for the serviceCode
value. You also get the category code for a service by calling DescribeServices. Each AWS service defines its own set of category codes.
-
severityCode. A value that indicates the urgency of the case, which in turn determines the response time according to your service level agreement with AWS Support. You can get the possible severityCode
values by calling DescribeSeverityLevels. For more information about the meaning of the codes, see SeverityLevel and Choosing a Severity.
-
subject. The Subject field on the AWS Support Center Create Case page.
-
communicationBody. The Description field on the AWS Support Center Create Case page.
-
attachmentSetId. The ID of a set of attachments that has been created by using AddAttachmentsToSet.
-
language. The human language in which AWS Support handles the case. English and Japanese are currently supported.
-
ccEmailAddresses. The AWS Support Center CC field on the Create Case page. You can list email addresses to be copied on any correspondence about the case. The account that opens the case is already identified by passing the AWS Credentials in the HTTP POST method or in a method or function call from one of the programming languages supported by an AWS SDK.
To add additional communication or attachments to an existing case, use AddCommunicationToCase.
A successful CreateCase request returns an AWS Support case number. Case numbers are used by the DescribeCases operation to retrieve existing AWS Support cases.
"
+ },
+ "DescribeAttachment": {
+ "name": "DescribeAttachment",
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "DescribeAttachmentRequest"
+ },
+ "output": {
+ "shape": "DescribeAttachmentResponse"
+ },
+ "errors": [
+ {
+ "shape": "InternalServerError"
+ },
+ {
+ "shape": "DescribeAttachmentLimitExceeded"
+ },
+ {
+ "shape": "AttachmentIdNotFound"
+ }
],
- "documentation":"Returns the attachment that has the specified ID. Attachment IDs are generated by the case management system when you add an attachment to a case or case communication. Attachment IDs are returned in the AttachmentDetails objects that are returned by the DescribeCommunications operation.
"
- },
- "DescribeCases":{
- "name":"DescribeCases",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DescribeCasesRequest"},
- "output":{"shape":"DescribeCasesResponse"},
- "errors":[
- {"shape":"InternalServerError"},
- {"shape":"CaseIdNotFound"}
+ "documentation": "Returns the attachment that has the specified ID. Attachment IDs are generated by the case management system when you add an attachment to a case or case communication. Attachment IDs are returned in the AttachmentDetails objects that are returned by the DescribeCommunications operation.
"
+ },
+ "DescribeCases": {
+ "name": "DescribeCases",
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "DescribeCasesRequest"
+ },
+ "output": {
+ "shape": "DescribeCasesResponse"
+ },
+ "errors": [
+ {
+ "shape": "InternalServerError"
+ },
+ {
+ "shape": "CaseIdNotFound"
+ }
],
- "documentation":"Returns a list of cases that you specify by passing one or more case IDs. In addition, you can filter the cases by date by setting values for the afterTime
and beforeTime
request parameters. You can set values for the includeResolvedCases
and includeCommunications
request parameters to control how much information is returned.
Case data is available for 12 months after creation. If a case was created more than 12 months ago, a request for data might cause an error.
The response returns the following in JSON format:
-
One or more CaseDetails data types.
-
One or more nextToken
values, which specify where to paginate the returned records represented by the CaseDetails
objects.
"
- },
- "DescribeCommunications":{
- "name":"DescribeCommunications",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DescribeCommunicationsRequest"},
- "output":{"shape":"DescribeCommunicationsResponse"},
- "errors":[
- {"shape":"InternalServerError"},
- {"shape":"CaseIdNotFound"}
+ "documentation": "Returns a list of cases that you specify by passing one or more case IDs. In addition, you can filter the cases by date by setting values for the afterTime
and beforeTime
request parameters. You can set values for the includeResolvedCases
and includeCommunications
request parameters to control how much information is returned.
Case data is available for 12 months after creation. If a case was created more than 12 months ago, a request for data might cause an error.
The response returns the following in JSON format:
-
One or more CaseDetails data types.
-
One or more nextToken
values, which specify where to paginate the returned records represented by the CaseDetails
objects.
"
+ },
+ "DescribeCommunications": {
+ "name": "DescribeCommunications",
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "DescribeCommunicationsRequest"
+ },
+ "output": {
+ "shape": "DescribeCommunicationsResponse"
+ },
+ "errors": [
+ {
+ "shape": "InternalServerError"
+ },
+ {
+ "shape": "CaseIdNotFound"
+ }
],
- "documentation":"Returns communications (and attachments) for one or more support cases. You can use the afterTime
and beforeTime
parameters to filter by date. You can use the caseId
parameter to restrict the results to a particular case.
Case data is available for 12 months after creation. If a case was created more than 12 months ago, a request for data might cause an error.
You can use the maxResults
and nextToken
parameters to control the pagination of the result set. Set maxResults
to the number of cases you want displayed on each page, and use nextToken
to specify the resumption of pagination.
"
- },
- "DescribeServices":{
- "name":"DescribeServices",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DescribeServicesRequest"},
- "output":{"shape":"DescribeServicesResponse"},
- "errors":[
- {"shape":"InternalServerError"}
+ "documentation": "Returns communications (and attachments) for one or more support cases. You can use the afterTime
and beforeTime
parameters to filter by date. You can use the caseId
parameter to restrict the results to a particular case.
Case data is available for 12 months after creation. If a case was created more than 12 months ago, a request for data might cause an error.
You can use the maxResults
and nextToken
parameters to control the pagination of the result set. Set maxResults
to the number of cases you want displayed on each page, and use nextToken
to specify the resumption of pagination.
"
+ },
+ "DescribeServices": {
+ "name": "DescribeServices",
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "DescribeServicesRequest"
+ },
+ "output": {
+ "shape": "DescribeServicesResponse"
+ },
+ "errors": [
+ {
+ "shape": "InternalServerError"
+ }
],
- "documentation":"Returns the current list of AWS services and a list of service categories that applies to each one. You then use service names and categories in your CreateCase requests. Each AWS service has its own set of categories.
The service codes and category codes correspond to the values that are displayed in the Service and Category drop-down lists on the AWS Support Center Create Case page. The values in those fields, however, do not necessarily match the service codes and categories returned by the DescribeServices
request. Always use the service codes and categories obtained programmatically. This practice ensures that you always have the most recent set of service and category codes.
"
- },
- "DescribeSeverityLevels":{
- "name":"DescribeSeverityLevels",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DescribeSeverityLevelsRequest"},
- "output":{"shape":"DescribeSeverityLevelsResponse"},
- "errors":[
- {"shape":"InternalServerError"}
+ "documentation": "Returns the current list of AWS services and a list of service categories that applies to each one. You then use service names and categories in your CreateCase requests. Each AWS service has its own set of categories.
The service codes and category codes correspond to the values that are displayed in the Service and Category drop-down lists on the AWS Support Center Create Case page. The values in those fields, however, do not necessarily match the service codes and categories returned by the DescribeServices
request. Always use the service codes and categories obtained programmatically. This practice ensures that you always have the most recent set of service and category codes.
"
+ },
+ "DescribeSeverityLevels": {
+ "name": "DescribeSeverityLevels",
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "DescribeSeverityLevelsRequest"
+ },
+ "output": {
+ "shape": "DescribeSeverityLevelsResponse"
+ },
+ "errors": [
+ {
+ "shape": "InternalServerError"
+ }
],
- "documentation":"Returns the list of severity levels that you can assign to an AWS Support case. The severity level for a case is also a field in the CaseDetails data type included in any CreateCase request.
"
- },
- "DescribeTrustedAdvisorCheckRefreshStatuses":{
- "name":"DescribeTrustedAdvisorCheckRefreshStatuses",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DescribeTrustedAdvisorCheckRefreshStatusesRequest"},
- "output":{"shape":"DescribeTrustedAdvisorCheckRefreshStatusesResponse"},
- "errors":[
- {"shape":"InternalServerError"}
+ "documentation": "Returns the list of severity levels that you can assign to an AWS Support case. The severity level for a case is also a field in the CaseDetails data type included in any CreateCase request.
"
+ },
+ "DescribeTrustedAdvisorCheckRefreshStatuses": {
+ "name": "DescribeTrustedAdvisorCheckRefreshStatuses",
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "DescribeTrustedAdvisorCheckRefreshStatusesRequest"
+ },
+ "output": {
+ "shape": "DescribeTrustedAdvisorCheckRefreshStatusesResponse"
+ },
+ "errors": [
+ {
+ "shape": "InternalServerError"
+ }
],
- "documentation":"Returns the refresh status of the Trusted Advisor checks that have the specified check IDs. Check IDs can be obtained by calling DescribeTrustedAdvisorChecks.
Some checks are refreshed automatically, and their refresh statuses cannot be retrieved by using this operation. Use of the DescribeTrustedAdvisorCheckRefreshStatuses
operation for these checks causes an InvalidParameterValue
error.
"
- },
- "DescribeTrustedAdvisorCheckResult":{
- "name":"DescribeTrustedAdvisorCheckResult",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DescribeTrustedAdvisorCheckResultRequest"},
- "output":{"shape":"DescribeTrustedAdvisorCheckResultResponse"},
- "errors":[
- {"shape":"InternalServerError"}
+ "documentation": "Returns the refresh status of the Trusted Advisor checks that have the specified check IDs. Check IDs can be obtained by calling DescribeTrustedAdvisorChecks.
Some checks are refreshed automatically, and their refresh statuses cannot be retrieved by using this operation. Use of the DescribeTrustedAdvisorCheckRefreshStatuses
operation for these checks causes an InvalidParameterValue
error.
"
+ },
+ "DescribeTrustedAdvisorCheckResult": {
+ "name": "DescribeTrustedAdvisorCheckResult",
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "DescribeTrustedAdvisorCheckResultRequest"
+ },
+ "output": {
+ "shape": "DescribeTrustedAdvisorCheckResultResponse"
+ },
+ "errors": [
+ {
+ "shape": "InternalServerError"
+ }
],
- "documentation":"Returns the results of the Trusted Advisor check that has the specified check ID. Check IDs can be obtained by calling DescribeTrustedAdvisorChecks.
The response contains a TrustedAdvisorCheckResult object, which contains these three objects:
In addition, the response contains these fields:
-
status. The alert status of the check: \"ok\" (green), \"warning\" (yellow), \"error\" (red), or \"not_available\".
-
timestamp. The time of the last refresh of the check.
-
checkId. The unique identifier for the check.
"
- },
- "DescribeTrustedAdvisorCheckSummaries":{
- "name":"DescribeTrustedAdvisorCheckSummaries",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DescribeTrustedAdvisorCheckSummariesRequest"},
- "output":{"shape":"DescribeTrustedAdvisorCheckSummariesResponse"},
- "errors":[
- {"shape":"InternalServerError"}
+ "documentation": "Returns the results of the Trusted Advisor check that has the specified check ID. Check IDs can be obtained by calling DescribeTrustedAdvisorChecks.
The response contains a TrustedAdvisorCheckResult object, which contains these three objects:
In addition, the response contains these fields:
-
status. The alert status of the check: \"ok\" (green), \"warning\" (yellow), \"error\" (red), or \"not_available\".
-
timestamp. The time of the last refresh of the check.
-
checkId. The unique identifier for the check.
"
+ },
+ "DescribeTrustedAdvisorCheckSummaries": {
+ "name": "DescribeTrustedAdvisorCheckSummaries",
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "DescribeTrustedAdvisorCheckSummariesRequest"
+ },
+ "output": {
+ "shape": "DescribeTrustedAdvisorCheckSummariesResponse"
+ },
+ "errors": [
+ {
+ "shape": "InternalServerError"
+ }
],
- "documentation":"Returns the summaries of the results of the Trusted Advisor checks that have the specified check IDs. Check IDs can be obtained by calling DescribeTrustedAdvisorChecks.
The response contains an array of TrustedAdvisorCheckSummary objects.
"
- },
- "DescribeTrustedAdvisorChecks":{
- "name":"DescribeTrustedAdvisorChecks",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"DescribeTrustedAdvisorChecksRequest"},
- "output":{"shape":"DescribeTrustedAdvisorChecksResponse"},
- "errors":[
- {"shape":"InternalServerError"}
+ "documentation": "Returns the summaries of the results of the Trusted Advisor checks that have the specified check IDs. Check IDs can be obtained by calling DescribeTrustedAdvisorChecks.
The response contains an array of TrustedAdvisorCheckSummary objects.
"
+ },
+ "DescribeTrustedAdvisorChecks": {
+ "name": "DescribeTrustedAdvisorChecks",
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "DescribeTrustedAdvisorChecksRequest"
+ },
+ "output": {
+ "shape": "DescribeTrustedAdvisorChecksResponse"
+ },
+ "errors": [
+ {
+ "shape": "InternalServerError"
+ }
],
- "documentation":"Returns information about all available Trusted Advisor checks, including name, ID, category, description, and metadata. You must specify a language code; English (\"en\") and Japanese (\"ja\") are currently supported. The response contains a TrustedAdvisorCheckDescription for each check.
"
- },
- "RefreshTrustedAdvisorCheck":{
- "name":"RefreshTrustedAdvisorCheck",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"RefreshTrustedAdvisorCheckRequest"},
- "output":{"shape":"RefreshTrustedAdvisorCheckResponse"},
- "errors":[
- {"shape":"InternalServerError"}
+ "documentation": "Returns information about all available Trusted Advisor checks, including name, ID, category, description, and metadata. You must specify a language code; English (\"en\") and Japanese (\"ja\") are currently supported. The response contains a TrustedAdvisorCheckDescription for each check. The region must be set to us-east-1.
"
+ },
+ "RefreshTrustedAdvisorCheck": {
+ "name": "RefreshTrustedAdvisorCheck",
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "RefreshTrustedAdvisorCheckRequest"
+ },
+ "output": {
+ "shape": "RefreshTrustedAdvisorCheckResponse"
+ },
+ "errors": [
+ {
+ "shape": "InternalServerError"
+ }
],
- "documentation":"Requests a refresh of the Trusted Advisor check that has the specified check ID. Check IDs can be obtained by calling DescribeTrustedAdvisorChecks.
Some checks are refreshed automatically, and they cannot be refreshed by using this operation. Use of the RefreshTrustedAdvisorCheck
operation for these checks causes an InvalidParameterValue
error.
The response contains a TrustedAdvisorCheckRefreshStatus object, which contains these fields:
-
status. The refresh status of the check: \"none\", \"enqueued\", \"processing\", \"success\", or \"abandoned\".
-
millisUntilNextRefreshable. The amount of time, in milliseconds, until the check is eligible for refresh.
-
checkId. The unique identifier for the check.
"
- },
- "ResolveCase":{
- "name":"ResolveCase",
- "http":{
- "method":"POST",
- "requestUri":"/"
- },
- "input":{"shape":"ResolveCaseRequest"},
- "output":{"shape":"ResolveCaseResponse"},
- "errors":[
- {"shape":"InternalServerError"},
- {"shape":"CaseIdNotFound"}
+ "documentation": "Requests a refresh of the Trusted Advisor check that has the specified check ID. Check IDs can be obtained by calling DescribeTrustedAdvisorChecks.
Some checks are refreshed automatically, and they cannot be refreshed by using this operation. Use of the RefreshTrustedAdvisorCheck
operation for these checks causes an InvalidParameterValue
error.
The response contains a TrustedAdvisorCheckRefreshStatus object, which contains these fields:
-
status. The refresh status of the check:
-
none:
The check is not refreshed or the non-success status exceeds the timeout
-
enqueued:
The check refresh requests has entered the refresh queue
-
processing:
The check refresh request is picked up by the rule processing engine
-
success:
The check is successfully refreshed
-
abandoned:
The check refresh has failed
-
millisUntilNextRefreshable. The amount of time, in milliseconds, until the check is eligible for refresh.
-
checkId. The unique identifier for the check.
"
+ },
+ "ResolveCase": {
+ "name": "ResolveCase",
+ "http": {
+ "method": "POST",
+ "requestUri": "/"
+ },
+ "input": {
+ "shape": "ResolveCaseRequest"
+ },
+ "output": {
+ "shape": "ResolveCaseResponse"
+ },
+ "errors": [
+ {
+ "shape": "InternalServerError"
+ },
+ {
+ "shape": "CaseIdNotFound"
+ }
],
- "documentation":"Takes a caseId
and returns the initial state of the case along with the state of the case after the call to ResolveCase completed.
"
+ "documentation": "Takes a caseId
and returns the initial state of the case along with the state of the case after the call to ResolveCase completed.
"
}
},
- "shapes":{
- "AddAttachmentsToSetRequest":{
- "type":"structure",
- "required":["attachments"],
- "members":{
- "attachmentSetId":{
- "shape":"AttachmentSetId",
- "documentation":"The ID of the attachment set. If an attachmentSetId
is not specified, a new attachment set is created, and the ID of the set is returned in the response. If an attachmentSetId
is specified, the attachments are added to the specified set, if it exists.
"
- },
- "attachments":{
- "shape":"Attachments",
- "documentation":"One or more attachments to add to the set. The limit is 3 attachments per set, and the size limit is 5 MB per attachment.
"
+ "shapes": {
+ "AddAttachmentsToSetRequest": {
+ "type": "structure",
+ "required": [
+ "attachments"
+ ],
+ "members": {
+ "attachmentSetId": {
+ "shape": "AttachmentSetId",
+ "documentation": "The ID of the attachment set. If an attachmentSetId
is not specified, a new attachment set is created, and the ID of the set is returned in the response. If an attachmentSetId
is specified, the attachments are added to the specified set, if it exists.
"
+ },
+ "attachments": {
+ "shape": "Attachments",
+ "documentation": "One or more attachments to add to the set. The limit is 3 attachments per set, and the size limit is 5 MB per attachment.
"
}
},
- "documentation":""
+ "documentation": ""
},
- "AddAttachmentsToSetResponse":{
- "type":"structure",
- "members":{
- "attachmentSetId":{
- "shape":"AttachmentSetId",
- "documentation":"The ID of the attachment set. If an attachmentSetId
was not specified, a new attachment set is created, and the ID of the set is returned in the response. If an attachmentSetId
was specified, the attachments are added to the specified set, if it exists.
"
+ "AddAttachmentsToSetResponse": {
+ "type": "structure",
+ "members": {
+ "attachmentSetId": {
+ "shape": "AttachmentSetId",
+ "documentation": "The ID of the attachment set. If an attachmentSetId
was not specified, a new attachment set is created, and the ID of the set is returned in the response. If an attachmentSetId
was specified, the attachments are added to the specified set, if it exists.
"
},
- "expiryTime":{
- "shape":"ExpiryTime",
- "documentation":"The time and date when the attachment set expires.
"
+ "expiryTime": {
+ "shape": "ExpiryTime",
+ "documentation": "The time and date when the attachment set expires.
"
}
},
- "documentation":"The ID and expiry time of the attachment set returned by the AddAttachmentsToSet operation.
"
+ "documentation": "The ID and expiry time of the attachment set returned by the AddAttachmentsToSet operation.
"
},
- "AddCommunicationToCaseRequest":{
- "type":"structure",
- "required":["communicationBody"],
- "members":{
- "caseId":{
- "shape":"CaseId",
- "documentation":"The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
"
- },
- "communicationBody":{
- "shape":"CommunicationBody",
- "documentation":"The body of an email communication to add to the support case.
"
- },
- "ccEmailAddresses":{
- "shape":"CcEmailAddressList",
- "documentation":"The email addresses in the CC line of an email to be added to the support case.
"
- },
- "attachmentSetId":{
- "shape":"AttachmentSetId",
- "documentation":"The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling AddAttachmentsToSet
"
+ "AddCommunicationToCaseRequest": {
+ "type": "structure",
+ "required": [
+ "communicationBody"
+ ],
+ "members": {
+ "caseId": {
+ "shape": "CaseId",
+ "documentation": "The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
"
+ },
+ "communicationBody": {
+ "shape": "CommunicationBody",
+ "documentation": "The body of an email communication to add to the support case.
"
+ },
+ "ccEmailAddresses": {
+ "shape": "CcEmailAddressList",
+ "documentation": "The email addresses in the CC line of an email to be added to the support case.
"
+ },
+ "attachmentSetId": {
+ "shape": "AttachmentSetId",
+ "documentation": "The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling AddAttachmentsToSet
"
}
},
- "documentation":"To be written.
"
+ "documentation": "To be written.
"
},
- "AddCommunicationToCaseResponse":{
- "type":"structure",
- "members":{
- "result":{
- "shape":"Result",
- "documentation":"True if AddCommunicationToCase succeeds. Otherwise, returns an error.
"
+ "AddCommunicationToCaseResponse": {
+ "type": "structure",
+ "members": {
+ "result": {
+ "shape": "Result",
+ "documentation": "True if AddCommunicationToCase succeeds. Otherwise, returns an error.
"
}
},
- "documentation":"The result of the AddCommunicationToCase operation.
"
+ "documentation": "The result of the AddCommunicationToCase operation.
"
+ },
+ "AfterTime": {
+ "type": "string"
},
- "AfterTime":{"type":"string"},
- "Attachment":{
- "type":"structure",
- "members":{
- "fileName":{
- "shape":"FileName",
- "documentation":"The name of the attachment file.
"
+ "Attachment": {
+ "type": "structure",
+ "members": {
+ "fileName": {
+ "shape": "FileName",
+ "documentation": "The name of the attachment file.
"
},
- "data":{
- "shape":"Data",
- "documentation":"The content of the attachment file.
"
+ "data": {
+ "shape": "Data",
+ "documentation": "The content of the attachment file.
"
}
},
- "documentation":"An attachment to a case communication. The attachment consists of the file name and the content of the file.
"
+ "documentation": "An attachment to a case communication. The attachment consists of the file name and the content of the file.
"
},
- "AttachmentDetails":{
- "type":"structure",
- "members":{
- "attachmentId":{
- "shape":"AttachmentId",
- "documentation":"The ID of the attachment.
"
+ "AttachmentDetails": {
+ "type": "structure",
+ "members": {
+ "attachmentId": {
+ "shape": "AttachmentId",
+ "documentation": "The ID of the attachment.
"
},
- "fileName":{
- "shape":"FileName",
- "documentation":"The file name of the attachment.
"
+ "fileName": {
+ "shape": "FileName",
+ "documentation": "The file name of the attachment.
"
}
},
- "documentation":"The file name and ID of an attachment to a case communication. You can use the ID to retrieve the attachment with the DescribeAttachment operation.
"
+ "documentation": "The file name and ID of an attachment to a case communication. You can use the ID to retrieve the attachment with the DescribeAttachment operation.
"
},
- "AttachmentId":{"type":"string"},
- "AttachmentIdNotFound":{
- "type":"structure",
- "members":{
- "message":{
- "shape":"ErrorMessage",
- "documentation":"An attachment with the specified ID could not be found.
"
- }
- },
- "documentation":"An attachment with the specified ID could not be found.
",
- "exception":true
+ "AttachmentId": {
+ "type": "string"
},
- "AttachmentLimitExceeded":{
- "type":"structure",
- "members":{
- "message":{
- "shape":"ErrorMessage",
- "documentation":"The limit for the number of attachment sets created in a short period of time has been exceeded.
"
- }
- },
- "documentation":"The limit for the number of attachment sets created in a short period of time has been exceeded.
",
- "exception":true
+ "AttachmentSet": {
+ "type": "list",
+ "member": {
+ "shape": "AttachmentDetails"
+ }
},
- "AttachmentSet":{
- "type":"list",
- "member":{"shape":"AttachmentDetails"}
+ "AttachmentSetId": {
+ "type": "string"
},
- "AttachmentSetExpired":{
- "type":"structure",
- "members":{
- "message":{
- "shape":"ErrorMessage",
- "documentation":"The expiration time of the attachment set has passed. The set expires 1 hour after it is created.
"
- }
- },
- "documentation":"The expiration time of the attachment set has passed. The set expires 1 hour after it is created.
",
- "exception":true
+ "Attachments": {
+ "type": "list",
+ "member": {
+ "shape": "Attachment"
+ }
},
- "AttachmentSetId":{"type":"string"},
- "AttachmentSetIdNotFound":{
- "type":"structure",
- "members":{
- "message":{
- "shape":"ErrorMessage",
- "documentation":"An attachment set with the specified ID could not be found.
"
- }
- },
- "documentation":"An attachment set with the specified ID could not be found.
",
- "exception":true
+ "BeforeTime": {
+ "type": "string"
},
- "AttachmentSetSizeLimitExceeded":{
- "type":"structure",
- "members":{
- "message":{
- "shape":"ErrorMessage",
- "documentation":"A limit for the size of an attachment set has been exceeded. The limits are 3 attachments and 5 MB per attachment.
"
- }
- },
- "documentation":"A limit for the size of an attachment set has been exceeded. The limits are 3 attachments and 5 MB per attachment.
",
- "exception":true
- },
- "Attachments":{
- "type":"list",
- "member":{"shape":"Attachment"}
- },
- "BeforeTime":{"type":"string"},
- "Boolean":{"type":"boolean"},
- "CaseCreationLimitExceeded":{
- "type":"structure",
- "members":{
- "message":{
- "shape":"ErrorMessage",
- "documentation":"An error message that indicates that you have exceeded the number of cases you can have open.
"
- }
- },
- "documentation":"The case creation limit for the account has been exceeded.
",
- "exception":true
+ "Boolean": {
+ "type": "boolean"
},
- "CaseDetails":{
- "type":"structure",
- "members":{
- "caseId":{
- "shape":"CaseId",
- "documentation":"The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
"
+ "CaseDetails": {
+ "type": "structure",
+ "members": {
+ "caseId": {
+ "shape": "CaseId",
+ "documentation": "The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
"
},
- "displayId":{
- "shape":"DisplayId",
- "documentation":"The ID displayed for the case in the AWS Support Center. This is a numeric string.
"
+ "displayId": {
+ "shape": "DisplayId",
+ "documentation": "The ID displayed for the case in the AWS Support Center. This is a numeric string.
"
},
- "subject":{
- "shape":"Subject",
- "documentation":"The subject line for the case in the AWS Support Center.
"
+ "subject": {
+ "shape": "Subject",
+ "documentation": "The subject line for the case in the AWS Support Center.
"
},
- "status":{
- "shape":"Status",
- "documentation":"The status of the case.
"
+ "status": {
+ "shape": "Status",
+ "documentation": "The status of the case. Valid values: resolved
| pending-customer-action
| opened
| unassigned
| work-in-progress
.
"
},
- "serviceCode":{
- "shape":"ServiceCode",
- "documentation":"The code for the AWS service returned by the call to DescribeServices.
"
+ "serviceCode": {
+ "shape": "ServiceCode",
+ "documentation": "The code for the AWS service. You can get a list of codes and the corresponding service names by calling DescribeServices.
"
},
- "categoryCode":{
- "shape":"CategoryCode",
- "documentation":"The category of problem for the AWS Support case.
"
+ "categoryCode": {
+ "shape": "CategoryCode",
+ "documentation": "The category of problem for the AWS Support case.
"
},
- "severityCode":{
- "shape":"SeverityCode",
- "documentation":"The code for the severity level returned by the call to DescribeSeverityLevels.
"
+ "severityCode": {
+ "shape": "SeverityCode",
+ "documentation": "The code for the severity level returned by the call to DescribeSeverityLevels.
"
},
- "submittedBy":{
- "shape":"SubmittedBy",
- "documentation":"The email address of the account that submitted the case.
"
+ "submittedBy": {
+ "shape": "SubmittedBy",
+ "documentation": "The email address of the account that submitted the case.
"
},
- "timeCreated":{
- "shape":"TimeCreated",
- "documentation":"The time that the case was case created in the AWS Support Center.
"
+ "timeCreated": {
+ "shape": "TimeCreated",
+ "documentation": "The time that the case was case created in the AWS Support Center.
"
},
- "recentCommunications":{
- "shape":"RecentCaseCommunications",
- "documentation":"The five most recent communications between you and AWS Support Center, including the IDs of any attachments to the communications. Also includes a nextToken
that you can use to retrieve earlier communications.
"
+ "recentCommunications": {
+ "shape": "RecentCaseCommunications",
+ "documentation": "The five most recent communications between you and AWS Support Center, including the IDs of any attachments to the communications. Also includes a nextToken
that you can use to retrieve earlier communications.
"
},
- "ccEmailAddresses":{
- "shape":"CcEmailAddressList",
- "documentation":"The email addresses that receive copies of communication about the case.
"
+ "ccEmailAddresses": {
+ "shape": "CcEmailAddressList",
+ "documentation": "The email addresses that receive copies of communication about the case.
"
},
- "language":{
- "shape":"Language",
- "documentation":"The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English (\"en\") and Japanese (\"ja\"). Language parameters must be passed explicitly for operations that take them.
"
+ "language": {
+ "shape": "Language",
+ "documentation": "The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English (\"en\") and Japanese (\"ja\"). Language parameters must be passed explicitly for operations that take them.
"
}
},
- "documentation":"A JSON-formatted object that contains the metadata for a support case. It is contained the response from a DescribeCases request. CaseDetails contains the following fields:
-
caseId. The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47.
-
categoryCode. The category of problem for the AWS Support case. Corresponds to the CategoryCode values returned by a call to DescribeServices.
-
displayId. The identifier for the case on pages in the AWS Support Center.
-
language. The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English (\"en\") and Japanese (\"ja\"). Language parameters must be passed explicitly for operations that take them.
-
recentCommunications. One or more Communication objects. Fields of these objects are attachments
, body
, caseId
, submittedBy
, and timeCreated
.
-
nextToken. A resumption point for pagination.
-
serviceCode. The identifier for the AWS service that corresponds to the service code defined in the call to DescribeServices.
-
severityCode. The severity code assigned to the case. Contains one of the values returned by the call to DescribeSeverityLevels.
-
status. The status of the case in the AWS Support Center.
-
subject. The subject line of the case.
-
submittedBy. The email address of the account that submitted the case.
-
timeCreated. The time the case was created, in ISO-8601 format.
"
- },
- "CaseId":{"type":"string"},
- "CaseIdList":{
- "type":"list",
- "member":{"shape":"CaseId"},
- "max":100,
- "min":0
- },
- "CaseIdNotFound":{
- "type":"structure",
- "members":{
- "message":{
- "shape":"ErrorMessage",
- "documentation":"The requested CaseId
could not be located.
"
- }
+ "documentation": "A JSON-formatted object that contains the metadata for a support case. It is contained the response from a DescribeCases request. CaseDetails contains the following fields:
-
caseId. The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47.
-
categoryCode. The category of problem for the AWS Support case. Corresponds to the CategoryCode values returned by a call to DescribeServices.
-
displayId. The identifier for the case on pages in the AWS Support Center.
-
language. The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English (\"en\") and Japanese (\"ja\"). Language parameters must be passed explicitly for operations that take them.
-
recentCommunications. One or more Communication objects. Fields of these objects are attachments
, body
, caseId
, submittedBy
, and timeCreated
.
-
nextToken. A resumption point for pagination.
-
serviceCode. The identifier for the AWS service that corresponds to the service code defined in the call to DescribeServices.
-
severityCode. The severity code assigned to the case. Contains one of the values returned by the call to DescribeSeverityLevels. The possible values are: low
, normal
, high
, urgent
, and critical
.
-
status. The status of the case in the AWS Support Center. The possible values are: resolved
, pending-customer-action
, opened
, unassigned
, and work-in-progress
.
-
subject. The subject line of the case.
-
submittedBy. The email address of the account that submitted the case.
-
timeCreated. The time the case was created, in ISO-8601 format.
"
+ },
+ "CaseId": {
+ "type": "string"
+ },
+ "CaseIdList": {
+ "type": "list",
+ "member": {
+ "shape": "CaseId"
},
- "documentation":"The requested caseId
could not be located.
",
- "exception":true
+ "max": 100,
+ "min": 0
+ },
+ "CaseList": {
+ "type": "list",
+ "member": {
+ "shape": "CaseDetails"
+ }
},
- "CaseList":{
- "type":"list",
- "member":{"shape":"CaseDetails"}
+ "CaseStatus": {
+ "type": "string"
},
- "CaseStatus":{"type":"string"},
- "Category":{
- "type":"structure",
- "members":{
- "code":{
- "shape":"CategoryCode",
- "documentation":"The category code for the support case.
"
+ "Category": {
+ "type": "structure",
+ "members": {
+ "code": {
+ "shape": "CategoryCode",
+ "documentation": "The category code for the support case.
"
},
- "name":{
- "shape":"CategoryName",
- "documentation":"The category name for the support case.
"
+ "name": {
+ "shape": "CategoryName",
+ "documentation": "The category name for the support case.
"
}
},
- "documentation":"A JSON-formatted name/value pair that represents the category name and category code of the problem, selected from the DescribeServices response for each AWS service.
"
- },
- "CategoryCode":{"type":"string"},
- "CategoryList":{
- "type":"list",
- "member":{"shape":"Category"}
- },
- "CategoryName":{"type":"string"},
- "CcEmailAddress":{"type":"string"},
- "CcEmailAddressList":{
- "type":"list",
- "member":{"shape":"CcEmailAddress"},
- "max":10,
- "min":0
- },
- "Communication":{
- "type":"structure",
- "members":{
- "caseId":{
- "shape":"CaseId",
- "documentation":"The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
"
- },
- "body":{
- "shape":"CommunicationBody",
- "documentation":"The text of the communication between the customer and AWS Support.
"
- },
- "submittedBy":{
- "shape":"SubmittedBy",
- "documentation":"The email address of the account that submitted the AWS Support case.
"
- },
- "timeCreated":{
- "shape":"TimeCreated",
- "documentation":"The time the communication was created.
"
- },
- "attachmentSet":{
- "shape":"AttachmentSet",
- "documentation":"Information about the attachments to the case communication.
"
+ "documentation": "A JSON-formatted name/value pair that represents the category name and category code of the problem, selected from the DescribeServices response for each AWS service.
"
+ },
+ "CategoryCode": {
+ "type": "string"
+ },
+ "CategoryList": {
+ "type": "list",
+ "member": {
+ "shape": "Category"
+ }
+ },
+ "CategoryName": {
+ "type": "string"
+ },
+ "CcEmailAddress": {
+ "type": "string"
+ },
+ "CcEmailAddressList": {
+ "type": "list",
+ "member": {
+ "shape": "CcEmailAddress"
+ },
+ "max": 10,
+ "min": 0
+ },
+ "Communication": {
+ "type": "structure",
+ "members": {
+ "caseId": {
+ "shape": "CaseId",
+ "documentation": "The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
"
+ },
+ "body": {
+ "shape": "CommunicationBody",
+ "documentation": "The text of the communication between the customer and AWS Support.
"
+ },
+ "submittedBy": {
+ "shape": "SubmittedBy",
+ "documentation": "The identity of the account that submitted, or responded to, the support case. Customer entries include the role or IAM user as well as the email address. For example, \"AdminRole (Role) <someone@example.com>. Entries from the AWS Support team display \"Amazon Web Services,\" and do not show an email address.
"
+ },
+ "timeCreated": {
+ "shape": "TimeCreated",
+ "documentation": "The time the communication was created.
"
+ },
+ "attachmentSet": {
+ "shape": "AttachmentSet",
+ "documentation": "Information about the attachments to the case communication.
"
}
},
- "documentation":"A communication associated with an AWS Support case. The communication consists of the case ID, the message body, attachment information, the account email address, and the date and time of the communication.
"
+ "documentation": "A communication associated with an AWS Support case. The communication consists of the case ID, the message body, attachment information, the submitter of the communication, and the date and time of the communication.
"
},
- "CommunicationBody":{
- "type":"string",
- "max":8000,
- "min":1
+ "CommunicationBody": {
+ "type": "string",
+ "max": 8000,
+ "min": 1
},
- "CommunicationList":{
- "type":"list",
- "member":{"shape":"Communication"}
+ "CommunicationList": {
+ "type": "list",
+ "member": {
+ "shape": "Communication"
+ }
},
- "CreateCaseRequest":{
- "type":"structure",
- "required":[
+ "CreateCaseRequest": {
+ "type": "structure",
+ "required": [
"subject",
"communicationBody"
],
- "members":{
- "subject":{
- "shape":"Subject",
- "documentation":"The title of the AWS Support case.
"
- },
- "serviceCode":{
- "shape":"ServiceCode",
- "documentation":"The code for the AWS service returned by the call to DescribeServices.
"
- },
- "severityCode":{
- "shape":"SeverityCode",
- "documentation":"The code for the severity level returned by the call to DescribeSeverityLevels.
The availability of severity levels depends on each customer's support subscription. In other words, your subscription may not necessarily require the urgent level of response time.
"
- },
- "categoryCode":{
- "shape":"CategoryCode",
- "documentation":"The category of problem for the AWS Support case.
"
- },
- "communicationBody":{
- "shape":"CommunicationBody",
- "documentation":"The communication body text when you create an AWS Support case by calling CreateCase.
"
- },
- "ccEmailAddresses":{
- "shape":"CcEmailAddressList",
- "documentation":"A list of email addresses that AWS Support copies on case correspondence.
"
- },
- "language":{
- "shape":"Language",
- "documentation":"The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English (\"en\") and Japanese (\"ja\"). Language parameters must be passed explicitly for operations that take them.
"
- },
- "issueType":{
- "shape":"IssueType",
- "documentation":"The type of issue for the case. You can specify either \"customer-service\" or \"technical.\" If you do not indicate a value, the default is \"technical.\"
"
- },
- "attachmentSetId":{
- "shape":"AttachmentSetId",
- "documentation":"The ID of a set of one or more attachments for the case. Create the set by using AddAttachmentsToSet.
"
+ "members": {
+ "subject": {
+ "shape": "Subject",
+ "documentation": "The title of the AWS Support case.
"
+ },
+ "serviceCode": {
+ "shape": "ServiceCode",
+ "documentation": "The code for the AWS service returned by the call to DescribeServices.
"
+ },
+ "severityCode": {
+ "shape": "SeverityCode",
+ "documentation": "The code for the severity level returned by the call to DescribeSeverityLevels.
The availability of severity levels depends on the support plan for the account.
"
+ },
+ "categoryCode": {
+ "shape": "CategoryCode",
+ "documentation": "The category of problem for the AWS Support case.
"
+ },
+ "communicationBody": {
+ "shape": "CommunicationBody",
+ "documentation": "The communication body text when you create an AWS Support case by calling CreateCase.
"
+ },
+ "ccEmailAddresses": {
+ "shape": "CcEmailAddressList",
+ "documentation": "A list of email addresses that AWS Support copies on case correspondence.
"
+ },
+ "language": {
+ "shape": "Language",
+ "documentation": "The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English (\"en\") and Japanese (\"ja\"). Language parameters must be passed explicitly for operations that take them.
"
+ },
+ "issueType": {
+ "shape": "IssueType",
+ "documentation": "The type of issue for the case. You can specify either \"customer-service\" or \"technical.\" If you do not indicate a value, the default is \"technical.\"
Service limit increases are not supported by the Support API; you must submit service limit increase requests in Support Center.
"
+ },
+ "attachmentSetId": {
+ "shape": "AttachmentSetId",
+ "documentation": "The ID of a set of one or more attachments for the case. Create the set by using AddAttachmentsToSet.
"
}
- },
- "documentation":""
+ }
},
- "CreateCaseResponse":{
- "type":"structure",
- "members":{
- "caseId":{
- "shape":"CaseId",
- "documentation":"The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
"
+ "CreateCaseResponse": {
+ "type": "structure",
+ "members": {
+ "caseId": {
+ "shape": "CaseId",
+ "documentation": "The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
"
}
},
- "documentation":"The AWS Support case ID returned by a successful completion of the CreateCase operation.
"
+ "documentation": "The AWS Support case ID returned by a successful completion of the CreateCase operation.
"
},
- "Data":{"type":"blob"},
- "DescribeAttachmentLimitExceeded":{
- "type":"structure",
- "members":{
- "message":{
- "shape":"ErrorMessage",
- "documentation":"The limit for the number of DescribeAttachment requests in a short period of time has been exceeded.
"
- }
- },
- "documentation":"The limit for the number of DescribeAttachment requests in a short period of time has been exceeded.
",
- "exception":true
+ "Data": {
+ "type": "blob"
},
- "DescribeAttachmentRequest":{
- "type":"structure",
- "required":["attachmentId"],
- "members":{
- "attachmentId":{
- "shape":"AttachmentId",
- "documentation":"The ID of the attachment to return. Attachment IDs are returned by the DescribeCommunications operation.
"
+ "DescribeAttachmentRequest": {
+ "type": "structure",
+ "required": [
+ "attachmentId"
+ ],
+ "members": {
+ "attachmentId": {
+ "shape": "AttachmentId",
+ "documentation": "The ID of the attachment to return. Attachment IDs are returned by the DescribeCommunications operation.
"
}
}
},
- "DescribeAttachmentResponse":{
- "type":"structure",
- "members":{
- "attachment":{
- "shape":"Attachment",
- "documentation":"The attachment content and file name.
"
+ "DescribeAttachmentResponse": {
+ "type": "structure",
+ "members": {
+ "attachment": {
+ "shape": "Attachment",
+ "documentation": "The attachment content and file name.
"
}
},
- "documentation":"The content and file name of the attachment returned by the DescribeAttachment operation.
"
+ "documentation": "The content and file name of the attachment returned by the DescribeAttachment operation.
"
},
- "DescribeCasesRequest":{
- "type":"structure",
- "members":{
- "caseIdList":{
- "shape":"CaseIdList",
- "documentation":"A list of ID numbers of the support cases you want returned. The maximum number of cases is 100.
"
+ "DescribeCasesRequest": {
+ "type": "structure",
+ "members": {
+ "caseIdList": {
+ "shape": "CaseIdList",
+ "documentation": "A list of ID numbers of the support cases you want returned. The maximum number of cases is 100.
"
},
- "displayId":{
- "shape":"DisplayId",
- "documentation":"The ID displayed for a case in the AWS Support Center user interface.
"
+ "displayId": {
+ "shape": "DisplayId",
+ "documentation": "The ID displayed for a case in the AWS Support Center user interface.
"
},
- "afterTime":{
- "shape":"AfterTime",
- "documentation":"The start date for a filtered date search on support case communications. Case communications are available for 12 months after creation.
"
+ "afterTime": {
+ "shape": "AfterTime",
+ "documentation": "The start date for a filtered date search on support case communications. Case communications are available for 12 months after creation.
"
},
- "beforeTime":{
- "shape":"BeforeTime",
- "documentation":"The end date for a filtered date search on support case communications. Case communications are available for 12 months after creation.
"
+ "beforeTime": {
+ "shape": "BeforeTime",
+ "documentation": "The end date for a filtered date search on support case communications. Case communications are available for 12 months after creation.
"
},
- "includeResolvedCases":{
- "shape":"IncludeResolvedCases",
- "documentation":"Specifies whether resolved support cases should be included in the DescribeCases results. The default is false.
"
+ "includeResolvedCases": {
+ "shape": "IncludeResolvedCases",
+ "documentation": "Specifies whether resolved support cases should be included in the DescribeCases results. The default is false.
"
},
- "nextToken":{
- "shape":"NextToken",
- "documentation":"A resumption point for pagination.
"
+ "nextToken": {
+ "shape": "NextToken",
+ "documentation": "A resumption point for pagination.
"
},
- "maxResults":{
- "shape":"MaxResults",
- "documentation":"The maximum number of results to return before paginating.
"
+ "maxResults": {
+ "shape": "MaxResults",
+ "documentation": "The maximum number of results to return before paginating.
"
},
- "language":{
- "shape":"Language",
- "documentation":"The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English (\"en\") and Japanese (\"ja\"). Language parameters must be passed explicitly for operations that take them.
"
+ "language": {
+ "shape": "Language",
+ "documentation": "The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English (\"en\") and Japanese (\"ja\"). Language parameters must be passed explicitly for operations that take them.
"
},
- "includeCommunications":{
- "shape":"IncludeCommunications",
- "documentation":"Specifies whether communications should be included in the DescribeCases results. The default is true.
"
+ "includeCommunications": {
+ "shape": "IncludeCommunications",
+ "documentation": "Specifies whether communications should be included in the DescribeCases results. The default is true.
"
}
- },
- "documentation":""
+ }
},
- "DescribeCasesResponse":{
- "type":"structure",
- "members":{
- "cases":{
- "shape":"CaseList",
- "documentation":"The details for the cases that match the request.
"
+ "DescribeCasesResponse": {
+ "type": "structure",
+ "members": {
+ "cases": {
+ "shape": "CaseList",
+ "documentation": "The details for the cases that match the request.
"
},
- "nextToken":{
- "shape":"NextToken",
- "documentation":"A resumption point for pagination.
"
+ "nextToken": {
+ "shape": "NextToken",
+ "documentation": "A resumption point for pagination.
"
}
},
- "documentation":"Returns an array of CaseDetails objects and a nextToken
that defines a point for pagination in the result set.
"
+ "documentation": "Returns an array of CaseDetails objects and a nextToken
that defines a point for pagination in the result set.
"
},
- "DescribeCommunicationsRequest":{
- "type":"structure",
- "required":["caseId"],
- "members":{
- "caseId":{
- "shape":"CaseId",
- "documentation":"The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
"
- },
- "beforeTime":{
- "shape":"BeforeTime",
- "documentation":"The end date for a filtered date search on support case communications. Case communications are available for 12 months after creation.
"
- },
- "afterTime":{
- "shape":"AfterTime",
- "documentation":"The start date for a filtered date search on support case communications. Case communications are available for 12 months after creation.
"
- },
- "nextToken":{
- "shape":"NextToken",
- "documentation":"A resumption point for pagination.
"
- },
- "maxResults":{
- "shape":"MaxResults",
- "documentation":"The maximum number of results to return before paginating.
"
+ "DescribeCommunicationsRequest": {
+ "type": "structure",
+ "required": [
+ "caseId"
+ ],
+ "members": {
+ "caseId": {
+ "shape": "CaseId",
+ "documentation": "The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
"
+ },
+ "beforeTime": {
+ "shape": "BeforeTime",
+ "documentation": "The end date for a filtered date search on support case communications. Case communications are available for 12 months after creation.
"
+ },
+ "afterTime": {
+ "shape": "AfterTime",
+ "documentation": "The start date for a filtered date search on support case communications. Case communications are available for 12 months after creation.
"
+ },
+ "nextToken": {
+ "shape": "NextToken",
+ "documentation": "A resumption point for pagination.
"
+ },
+ "maxResults": {
+ "shape": "MaxResults",
+ "documentation": "The maximum number of results to return before paginating.
"
}
- },
- "documentation":""
+ }
},
- "DescribeCommunicationsResponse":{
- "type":"structure",
- "members":{
- "communications":{
- "shape":"CommunicationList",
- "documentation":"The communications for the case.
"
+ "DescribeCommunicationsResponse": {
+ "type": "structure",
+ "members": {
+ "communications": {
+ "shape": "CommunicationList",
+ "documentation": "The communications for the case.
"
},
- "nextToken":{
- "shape":"NextToken",
- "documentation":"A resumption point for pagination.
"
+ "nextToken": {
+ "shape": "NextToken",
+ "documentation": "A resumption point for pagination.
"
}
},
- "documentation":"The communications returned by the DescribeCommunications operation.
"
+ "documentation": "The communications returned by the DescribeCommunications operation.
"
},
- "DescribeServicesRequest":{
- "type":"structure",
- "members":{
- "serviceCodeList":{
- "shape":"ServiceCodeList",
- "documentation":"A JSON-formatted list of service codes available for AWS services.
"
+ "DescribeServicesRequest": {
+ "type": "structure",
+ "members": {
+ "serviceCodeList": {
+ "shape": "ServiceCodeList",
+ "documentation": "A JSON-formatted list of service codes available for AWS services.
"
},
- "language":{
- "shape":"Language",
- "documentation":"The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English (\"en\") and Japanese (\"ja\"). Language parameters must be passed explicitly for operations that take them.
"
+ "language": {
+ "shape": "Language",
+ "documentation": "The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English (\"en\") and Japanese (\"ja\"). Language parameters must be passed explicitly for operations that take them.
"
}
- },
- "documentation":""
+ }
},
- "DescribeServicesResponse":{
- "type":"structure",
- "members":{
- "services":{
- "shape":"ServiceList",
- "documentation":"A JSON-formatted list of AWS services.
"
+ "DescribeServicesResponse": {
+ "type": "structure",
+ "members": {
+ "services": {
+ "shape": "ServiceList",
+ "documentation": "A JSON-formatted list of AWS services.
"
}
},
- "documentation":"The list of AWS services returned by the DescribeServices operation.
"
+ "documentation": "The list of AWS services returned by the DescribeServices operation.
"
},
- "DescribeSeverityLevelsRequest":{
- "type":"structure",
- "members":{
- "language":{
- "shape":"Language",
- "documentation":"The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English (\"en\") and Japanese (\"ja\"). Language parameters must be passed explicitly for operations that take them.
"
+ "DescribeSeverityLevelsRequest": {
+ "type": "structure",
+ "members": {
+ "language": {
+ "shape": "Language",
+ "documentation": "The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English (\"en\") and Japanese (\"ja\"). Language parameters must be passed explicitly for operations that take them.
"
}
- },
- "documentation":""
+ }
},
- "DescribeSeverityLevelsResponse":{
- "type":"structure",
- "members":{
- "severityLevels":{
- "shape":"SeverityLevelsList",
- "documentation":"The available severity levels for the support case. Available severity levels are defined by your service level agreement with AWS.
"
+ "DescribeSeverityLevelsResponse": {
+ "type": "structure",
+ "members": {
+ "severityLevels": {
+ "shape": "SeverityLevelsList",
+ "documentation": "The available severity levels for the support case. Available severity levels are defined by your service level agreement with AWS.
"
}
},
- "documentation":"The list of severity levels returned by the DescribeSeverityLevels operation.
"
+ "documentation": "The list of severity levels returned by the DescribeSeverityLevels operation.
"
},
- "DescribeTrustedAdvisorCheckRefreshStatusesRequest":{
- "type":"structure",
- "required":["checkIds"],
- "members":{
- "checkIds":{
- "shape":"StringList",
- "documentation":"The IDs of the Trusted Advisor checks to get the status of. Note: Specifying the check ID of a check that is automatically refreshed causes an InvalidParameterValue
error.
"
+ "DescribeTrustedAdvisorCheckRefreshStatusesRequest": {
+ "type": "structure",
+ "required": [
+ "checkIds"
+ ],
+ "members": {
+ "checkIds": {
+ "shape": "StringList",
+ "documentation": "The IDs of the Trusted Advisor checks to get the status of. Note: Specifying the check ID of a check that is automatically refreshed causes an InvalidParameterValue
error.
"
}
},
- "documentation":""
+ "documentation": ""
},
- "DescribeTrustedAdvisorCheckRefreshStatusesResponse":{
- "type":"structure",
- "required":["statuses"],
- "members":{
- "statuses":{
- "shape":"TrustedAdvisorCheckRefreshStatusList",
- "documentation":"The refresh status of the specified Trusted Advisor checks.
"
+ "DescribeTrustedAdvisorCheckRefreshStatusesResponse": {
+ "type": "structure",
+ "required": [
+ "statuses"
+ ],
+ "members": {
+ "statuses": {
+ "shape": "TrustedAdvisorCheckRefreshStatusList",
+ "documentation": "The refresh status of the specified Trusted Advisor checks.
"
}
},
- "documentation":"The statuses of the Trusted Advisor checks returned by the DescribeTrustedAdvisorCheckRefreshStatuses operation.
"
+ "documentation": "The statuses of the Trusted Advisor checks returned by the DescribeTrustedAdvisorCheckRefreshStatuses operation.
"
},
- "DescribeTrustedAdvisorCheckResultRequest":{
- "type":"structure",
- "required":["checkId"],
- "members":{
- "checkId":{
- "shape":"String",
- "documentation":"The unique identifier for the Trusted Advisor check.
"
- },
- "language":{
- "shape":"String",
- "documentation":"The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English (\"en\") and Japanese (\"ja\"). Language parameters must be passed explicitly for operations that take them.
"
+ "DescribeTrustedAdvisorCheckResultRequest": {
+ "type": "structure",
+ "required": [
+ "checkId"
+ ],
+ "members": {
+ "checkId": {
+ "shape": "String",
+ "documentation": "The unique identifier for the Trusted Advisor check.
"
+ },
+ "language": {
+ "shape": "String",
+ "documentation": "The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English (\"en\") and Japanese (\"ja\"). Language parameters must be passed explicitly for operations that take them.
"
}
},
- "documentation":""
+ "documentation": ""
},
- "DescribeTrustedAdvisorCheckResultResponse":{
- "type":"structure",
- "members":{
- "result":{
- "shape":"TrustedAdvisorCheckResult",
- "documentation":"The detailed results of the Trusted Advisor check.
"
+ "DescribeTrustedAdvisorCheckResultResponse": {
+ "type": "structure",
+ "members": {
+ "result": {
+ "shape": "TrustedAdvisorCheckResult",
+ "documentation": "The detailed results of the Trusted Advisor check.
"
}
},
- "documentation":"The result of the Trusted Advisor check returned by the DescribeTrustedAdvisorCheckResult operation.
"
+ "documentation": "The result of the Trusted Advisor check returned by the DescribeTrustedAdvisorCheckResult operation.
"
},
- "DescribeTrustedAdvisorCheckSummariesRequest":{
- "type":"structure",
- "required":["checkIds"],
- "members":{
- "checkIds":{
- "shape":"StringList",
- "documentation":"The IDs of the Trusted Advisor checks.
"
+ "DescribeTrustedAdvisorCheckSummariesRequest": {
+ "type": "structure",
+ "required": [
+ "checkIds"
+ ],
+ "members": {
+ "checkIds": {
+ "shape": "StringList",
+ "documentation": "The IDs of the Trusted Advisor checks.
"
}
- },
- "documentation":""
+ }
},
- "DescribeTrustedAdvisorCheckSummariesResponse":{
- "type":"structure",
- "required":["summaries"],
- "members":{
- "summaries":{
- "shape":"TrustedAdvisorCheckSummaryList",
- "documentation":"The summary information for the requested Trusted Advisor checks.
"
+ "DescribeTrustedAdvisorCheckSummariesResponse": {
+ "type": "structure",
+ "required": [
+ "summaries"
+ ],
+ "members": {
+ "summaries": {
+ "shape": "TrustedAdvisorCheckSummaryList",
+ "documentation": "The summary information for the requested Trusted Advisor checks.
"
}
},
- "documentation":"The summaries of the Trusted Advisor checks returned by the DescribeTrustedAdvisorCheckSummaries operation.
"
+ "documentation": "The summaries of the Trusted Advisor checks returned by the DescribeTrustedAdvisorCheckSummaries operation.
"
},
- "DescribeTrustedAdvisorChecksRequest":{
- "type":"structure",
- "required":["language"],
- "members":{
- "language":{
- "shape":"String",
- "documentation":"The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English (\"en\") and Japanese (\"ja\"). Language parameters must be passed explicitly for operations that take them.
"
+ "DescribeTrustedAdvisorChecksRequest": {
+ "type": "structure",
+ "required": [
+ "language"
+ ],
+ "members": {
+ "language": {
+ "shape": "String",
+ "documentation": "The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English (\"en\") and Japanese (\"ja\"). Language parameters must be passed explicitly for operations that take them.
"
}
},
- "documentation":""
+ "documentation": ""
},
- "DescribeTrustedAdvisorChecksResponse":{
- "type":"structure",
- "required":["checks"],
- "members":{
- "checks":{
- "shape":"TrustedAdvisorCheckList",
- "documentation":"Information about all available Trusted Advisor checks.
"
- }
- },
- "documentation":"Information about the Trusted Advisor checks returned by the DescribeTrustedAdvisorChecks operation.
"
- },
- "DisplayId":{"type":"string"},
- "Double":{"type":"double"},
- "ErrorMessage":{"type":"string"},
- "ExpiryTime":{"type":"string"},
- "FileName":{"type":"string"},
- "IncludeCommunications":{"type":"boolean"},
- "IncludeResolvedCases":{"type":"boolean"},
- "InternalServerError":{
- "type":"structure",
- "members":{
- "message":{
- "shape":"ErrorMessage",
- "documentation":"An internal server error occurred.
"
+ "DescribeTrustedAdvisorChecksResponse": {
+ "type": "structure",
+ "required": [
+ "checks"
+ ],
+ "members": {
+ "checks": {
+ "shape": "TrustedAdvisorCheckList",
+ "documentation": "Information about all available Trusted Advisor checks.
"
}
},
- "documentation":"An internal server error occurred.
",
- "exception":true,
- "fault":true
- },
- "IssueType":{"type":"string"},
- "Language":{"type":"string"},
- "Long":{"type":"long"},
- "MaxResults":{
- "type":"integer",
- "max":100,
- "min":10
- },
- "NextToken":{"type":"string"},
- "RecentCaseCommunications":{
- "type":"structure",
- "members":{
- "communications":{
- "shape":"CommunicationList",
- "documentation":"The five most recent communications associated with the case.
"
- },
- "nextToken":{
- "shape":"NextToken",
- "documentation":"A resumption point for pagination.
"
+ "documentation": "Information about the Trusted Advisor checks returned by the DescribeTrustedAdvisorChecks operation.
"
+ },
+ "DisplayId": {
+ "type": "string"
+ },
+ "Double": {
+ "type": "double"
+ },
+ "ExpiryTime": {
+ "type": "string"
+ },
+ "FileName": {
+ "type": "string"
+ },
+ "IncludeCommunications": {
+ "type": "boolean"
+ },
+ "IncludeResolvedCases": {
+ "type": "boolean"
+ },
+ "IssueType": {
+ "type": "string"
+ },
+ "Language": {
+ "type": "string"
+ },
+ "Long": {
+ "type": "long"
+ },
+ "MaxResults": {
+ "type": "integer",
+ "max": 100,
+ "min": 10
+ },
+ "NextToken": {
+ "type": "string"
+ },
+ "RecentCaseCommunications": {
+ "type": "structure",
+ "members": {
+ "communications": {
+ "shape": "CommunicationList",
+ "documentation": "The five most recent communications associated with the case.
"
+ },
+ "nextToken": {
+ "shape": "NextToken",
+ "documentation": "A resumption point for pagination.
"
}
},
- "documentation":"The five most recent communications associated with the case.
"
+ "documentation": "The five most recent communications associated with the case.
"
},
- "RefreshTrustedAdvisorCheckRequest":{
- "type":"structure",
- "required":["checkId"],
- "members":{
- "checkId":{
- "shape":"String",
- "documentation":"The unique identifier for the Trusted Advisor check to refresh. Note: Specifying the check ID of a check that is automatically refreshed causes an InvalidParameterValue
error.
"
+ "RefreshTrustedAdvisorCheckRequest": {
+ "type": "structure",
+ "required": [
+ "checkId"
+ ],
+ "members": {
+ "checkId": {
+ "shape": "String",
+ "documentation": "The unique identifier for the Trusted Advisor check to refresh. Note: Specifying the check ID of a check that is automatically refreshed causes an InvalidParameterValue
error.
"
}
},
- "documentation":""
+ "documentation": ""
},
- "RefreshTrustedAdvisorCheckResponse":{
- "type":"structure",
- "required":["status"],
- "members":{
- "status":{
- "shape":"TrustedAdvisorCheckRefreshStatus",
- "documentation":"The current refresh status for a check, including the amount of time until the check is eligible for refresh.
"
+ "RefreshTrustedAdvisorCheckResponse": {
+ "type": "structure",
+ "required": [
+ "status"
+ ],
+ "members": {
+ "status": {
+ "shape": "TrustedAdvisorCheckRefreshStatus",
+ "documentation": "The current refresh status for a check, including the amount of time until the check is eligible for refresh.
"
}
},
- "documentation":"The current refresh status of a Trusted Advisor check.
"
+ "documentation": "The current refresh status of a Trusted Advisor check.
"
},
- "ResolveCaseRequest":{
- "type":"structure",
- "members":{
- "caseId":{
- "shape":"CaseId",
- "documentation":"The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
"
+ "ResolveCaseRequest": {
+ "type": "structure",
+ "members": {
+ "caseId": {
+ "shape": "CaseId",
+ "documentation": "The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
"
}
- },
- "documentation":""
+ }
},
- "ResolveCaseResponse":{
- "type":"structure",
- "members":{
- "initialCaseStatus":{
- "shape":"CaseStatus",
- "documentation":"The status of the case when the ResolveCase request was sent.
"
+ "ResolveCaseResponse": {
+ "type": "structure",
+ "members": {
+ "initialCaseStatus": {
+ "shape": "CaseStatus",
+ "documentation": "The status of the case when the ResolveCase request was sent.
"
},
- "finalCaseStatus":{
- "shape":"CaseStatus",
- "documentation":"The status of the case after the ResolveCase request was processed.
"
+ "finalCaseStatus": {
+ "shape": "CaseStatus",
+ "documentation": "The status of the case after the ResolveCase request was processed.
"
}
},
- "documentation":"The status of the case returned by the ResolveCase operation.
"
+ "documentation": "The status of the case returned by the ResolveCase operation.
"
},
- "Result":{"type":"boolean"},
- "Service":{
- "type":"structure",
- "members":{
- "code":{
- "shape":"ServiceCode",
- "documentation":"The code for an AWS service returned by the DescribeServices response. The name
element contains the corresponding friendly name.
"
+ "Result": {
+ "type": "boolean"
+ },
+ "Service": {
+ "type": "structure",
+ "members": {
+ "code": {
+ "shape": "ServiceCode",
+ "documentation": "The code for an AWS service returned by the DescribeServices response. The name
element contains the corresponding friendly name.
"
},
- "name":{
- "shape":"ServiceName",
- "documentation":"The friendly name for an AWS service. The code
element contains the corresponding code.
"
+ "name": {
+ "shape": "ServiceName",
+ "documentation": "The friendly name for an AWS service. The code
element contains the corresponding code.
"
},
- "categories":{
- "shape":"CategoryList",
- "documentation":"A list of categories that describe the type of support issue a case describes. Categories consist of a category name and a category code. Category names and codes are passed to AWS Support when you call CreateCase.
"
+ "categories": {
+ "shape": "CategoryList",
+ "documentation": "A list of categories that describe the type of support issue a case describes. Categories consist of a category name and a category code. Category names and codes are passed to AWS Support when you call CreateCase.
"
}
},
- "documentation":"Information about an AWS service returned by the DescribeServices operation.
"
- },
- "ServiceCode":{"type":"string"},
- "ServiceCodeList":{
- "type":"list",
- "member":{"shape":"ServiceCode"},
- "max":100,
- "min":0
- },
- "ServiceList":{
- "type":"list",
- "member":{"shape":"Service"}
- },
- "ServiceName":{"type":"string"},
- "SeverityCode":{"type":"string"},
- "SeverityLevel":{
- "type":"structure",
- "members":{
- "code":{
- "shape":"SeverityLevelCode",
- "documentation":"One of four values: \"low,\" \"medium,\" \"high,\" and \"urgent\". These values correspond to response times returned to the caller in severityLevel.name
.
"
- },
- "name":{
- "shape":"SeverityLevelName",
- "documentation":"The name of the severity level that corresponds to the severity level code.
"
+ "documentation": "Information about an AWS service returned by the DescribeServices operation.
"
+ },
+ "ServiceCode": {
+ "type": "string"
+ },
+ "ServiceCodeList": {
+ "type": "list",
+ "member": {
+ "shape": "ServiceCode"
+ },
+ "max": 100,
+ "min": 0
+ },
+ "ServiceList": {
+ "type": "list",
+ "member": {
+ "shape": "Service"
+ }
+ },
+ "ServiceName": {
+ "type": "string"
+ },
+ "SeverityCode": {
+ "type": "string"
+ },
+ "SeverityLevel": {
+ "type": "structure",
+ "members": {
+ "code": {
+ "shape": "SeverityLevelCode",
+ "documentation": "The code for case severity level.
Valid values: low
| normal
| high
| urgent
| critical
"
+ },
+ "name": {
+ "shape": "SeverityLevelName",
+ "documentation": "The name of the severity level that corresponds to the severity level code.
The values returned by the API differ from the values that are displayed in the AWS Support Center. For example, for the code \"low\", the API name is \"Low\", but the name in the Support Center is \"General guidance\". These are the Support Center code/name mappings:
-
low
: General guidance
-
normal
: System impaired
-
high
: Production system impaired
-
urgent
: Production system down
-
critical
: Business-critical system down
For more information, see Choosing a Severity
"
}
},
- "documentation":"A code and name pair that represent a severity level that can be applied to a support case.
"
- },
- "SeverityLevelCode":{"type":"string"},
- "SeverityLevelName":{"type":"string"},
- "SeverityLevelsList":{
- "type":"list",
- "member":{"shape":"SeverityLevel"}
- },
- "Status":{"type":"string"},
- "String":{"type":"string"},
- "StringList":{
- "type":"list",
- "member":{"shape":"String"}
- },
- "Subject":{"type":"string"},
- "SubmittedBy":{"type":"string"},
- "TimeCreated":{"type":"string"},
- "TrustedAdvisorCategorySpecificSummary":{
- "type":"structure",
- "members":{
- "costOptimizing":{
- "shape":"TrustedAdvisorCostOptimizingSummary",
- "documentation":"The summary information about cost savings for a Trusted Advisor check that is in the Cost Optimizing category.
"
+ "documentation": "A code and name pair that represents the severity level of a support case. The available values depend on the support plan for the account. For more information, see Choosing a Severity.
"
+ },
+ "SeverityLevelCode": {
+ "type": "string"
+ },
+ "SeverityLevelName": {
+ "type": "string"
+ },
+ "SeverityLevelsList": {
+ "type": "list",
+ "member": {
+ "shape": "SeverityLevel"
+ }
+ },
+ "Status": {
+ "type": "string"
+ },
+ "String": {
+ "type": "string"
+ },
+ "StringList": {
+ "type": "list",
+ "member": {
+ "shape": "String"
+ }
+ },
+ "Subject": {
+ "type": "string"
+ },
+ "SubmittedBy": {
+ "type": "string"
+ },
+ "TimeCreated": {
+ "type": "string"
+ },
+ "TrustedAdvisorCategorySpecificSummary": {
+ "type": "structure",
+ "members": {
+ "costOptimizing": {
+ "shape": "TrustedAdvisorCostOptimizingSummary",
+ "documentation": "The summary information about cost savings for a Trusted Advisor check that is in the Cost Optimizing category.
"
}
},
- "documentation":"The container for summary information that relates to the category of the Trusted Advisor check.
"
+ "documentation": "The container for summary information that relates to the category of the Trusted Advisor check.
"
},
- "TrustedAdvisorCheckDescription":{
- "type":"structure",
- "required":[
+ "TrustedAdvisorCheckDescription": {
+ "type": "structure",
+ "required": [
"id",
"name",
"description",
"category",
"metadata"
],
- "members":{
- "id":{
- "shape":"String",
- "documentation":"The unique identifier for the Trusted Advisor check.
"
- },
- "name":{
- "shape":"String",
- "documentation":"The display name for the Trusted Advisor check.
"
- },
- "description":{
- "shape":"String",
- "documentation":"The description of the Trusted Advisor check, which includes the alert criteria and recommended actions (contains HTML markup).
"
- },
- "category":{
- "shape":"String",
- "documentation":"The category of the Trusted Advisor check.
"
- },
- "metadata":{
- "shape":"StringList",
- "documentation":"The column headings for the data returned by the Trusted Advisor check. The order of the headings corresponds to the order of the data in the Metadata element of the TrustedAdvisorResourceDetail for the check. Metadata contains all the data that is shown in the Excel download, even in those cases where the UI shows just summary data.
"
+ "members": {
+ "id": {
+ "shape": "String",
+ "documentation": "The unique identifier for the Trusted Advisor check.
"
+ },
+ "name": {
+ "shape": "String",
+ "documentation": "The display name for the Trusted Advisor check.
"
+ },
+ "description": {
+ "shape": "String",
+ "documentation": "The description of the Trusted Advisor check, which includes the alert criteria and recommended actions (contains HTML markup).
"
+ },
+ "category": {
+ "shape": "String",
+ "documentation": "The category of the Trusted Advisor check.
"
+ },
+ "metadata": {
+ "shape": "StringList",
+ "documentation": "The column headings for the data returned by the Trusted Advisor check. The order of the headings corresponds to the order of the data in the Metadata element of the TrustedAdvisorResourceDetail for the check. Metadata contains all the data that is shown in the Excel download, even in those cases where the UI shows just summary data.
"
}
},
- "documentation":"The description and metadata for a Trusted Advisor check.
"
+ "documentation": "The description and metadata for a Trusted Advisor check.
"
},
- "TrustedAdvisorCheckList":{
- "type":"list",
- "member":{"shape":"TrustedAdvisorCheckDescription"}
+ "TrustedAdvisorCheckList": {
+ "type": "list",
+ "member": {
+ "shape": "TrustedAdvisorCheckDescription"
+ }
},
- "TrustedAdvisorCheckRefreshStatus":{
- "type":"structure",
- "required":[
+ "TrustedAdvisorCheckRefreshStatus": {
+ "type": "structure",
+ "required": [
"checkId",
"status",
"millisUntilNextRefreshable"
],
- "members":{
- "checkId":{
- "shape":"String",
- "documentation":"The unique identifier for the Trusted Advisor check.
"
- },
- "status":{
- "shape":"String",
- "documentation":"The status of the Trusted Advisor check for which a refresh has been requested: \"none\", \"enqueued\", \"processing\", \"success\", or \"abandoned\".
"
- },
- "millisUntilNextRefreshable":{
- "shape":"Long",
- "documentation":"The amount of time, in milliseconds, until the Trusted Advisor check is eligible for refresh.
"
+ "members": {
+ "checkId": {
+ "shape": "String",
+ "documentation": "The unique identifier for the Trusted Advisor check.
"
+ },
+ "status": {
+ "shape": "String",
+ "documentation": "The status of the Trusted Advisor check for which a refresh has been requested:
-
none:
The check is not refreshed or the non-success status exceeds the timeout
-
enqueued:
The check refresh requests has entered the refresh queue
-
processing:
The check refresh request is picked up by the rule processing engine
-
success:
The check is successfully refreshed
-
abandoned:
The check refresh has failed
"
+ },
+ "millisUntilNextRefreshable": {
+ "shape": "Long",
+ "documentation": "The amount of time, in milliseconds, until the Trusted Advisor check is eligible for refresh.
"
}
},
- "documentation":"The refresh status of a Trusted Advisor check.
"
+ "documentation": "The refresh status of a Trusted Advisor check.
"
},
- "TrustedAdvisorCheckRefreshStatusList":{
- "type":"list",
- "member":{"shape":"TrustedAdvisorCheckRefreshStatus"}
+ "TrustedAdvisorCheckRefreshStatusList": {
+ "type": "list",
+ "member": {
+ "shape": "TrustedAdvisorCheckRefreshStatus"
+ }
},
- "TrustedAdvisorCheckResult":{
- "type":"structure",
- "required":[
+ "TrustedAdvisorCheckResult": {
+ "type": "structure",
+ "required": [
"checkId",
"timestamp",
"status",
@@ -1072,150 +1194,158 @@
"categorySpecificSummary",
"flaggedResources"
],
- "members":{
- "checkId":{
- "shape":"String",
- "documentation":"The unique identifier for the Trusted Advisor check.
"
- },
- "timestamp":{
- "shape":"String",
- "documentation":"The time of the last refresh of the check.
"
- },
- "status":{
- "shape":"String",
- "documentation":"The alert status of the check: \"ok\" (green), \"warning\" (yellow), \"error\" (red), or \"not_available\".
"
- },
- "resourcesSummary":{"shape":"TrustedAdvisorResourcesSummary"},
- "categorySpecificSummary":{
- "shape":"TrustedAdvisorCategorySpecificSummary",
- "documentation":"Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported.
"
- },
- "flaggedResources":{
- "shape":"TrustedAdvisorResourceDetailList",
- "documentation":"The details about each resource listed in the check result.
"
+ "members": {
+ "checkId": {
+ "shape": "String",
+ "documentation": "The unique identifier for the Trusted Advisor check.
"
+ },
+ "timestamp": {
+ "shape": "String",
+ "documentation": "The time of the last refresh of the check.
"
+ },
+ "status": {
+ "shape": "String",
+ "documentation": "The alert status of the check: \"ok\" (green), \"warning\" (yellow), \"error\" (red), or \"not_available\".
"
+ },
+ "resourcesSummary": {
+ "shape": "TrustedAdvisorResourcesSummary"
+ },
+ "categorySpecificSummary": {
+ "shape": "TrustedAdvisorCategorySpecificSummary",
+ "documentation": "Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported.
"
+ },
+ "flaggedResources": {
+ "shape": "TrustedAdvisorResourceDetailList",
+ "documentation": "The details about each resource listed in the check result.
"
}
},
- "documentation":"The results of a Trusted Advisor check returned by DescribeTrustedAdvisorCheckResult.
"
+ "documentation": "The results of a Trusted Advisor check returned by DescribeTrustedAdvisorCheckResult.
"
},
- "TrustedAdvisorCheckSummary":{
- "type":"structure",
- "required":[
+ "TrustedAdvisorCheckSummary": {
+ "type": "structure",
+ "required": [
"checkId",
"timestamp",
"status",
"resourcesSummary",
"categorySpecificSummary"
],
- "members":{
- "checkId":{
- "shape":"String",
- "documentation":"The unique identifier for the Trusted Advisor check.
"
- },
- "timestamp":{
- "shape":"String",
- "documentation":"The time of the last refresh of the check.
"
- },
- "status":{
- "shape":"String",
- "documentation":"The alert status of the check: \"ok\" (green), \"warning\" (yellow), \"error\" (red), or \"not_available\".
"
- },
- "hasFlaggedResources":{
- "shape":"Boolean",
- "documentation":"Specifies whether the Trusted Advisor check has flagged resources.
"
- },
- "resourcesSummary":{"shape":"TrustedAdvisorResourcesSummary"},
- "categorySpecificSummary":{
- "shape":"TrustedAdvisorCategorySpecificSummary",
- "documentation":"Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported.
"
+ "members": {
+ "checkId": {
+ "shape": "String",
+ "documentation": "The unique identifier for the Trusted Advisor check.
"
+ },
+ "timestamp": {
+ "shape": "String",
+ "documentation": "The time of the last refresh of the check.
"
+ },
+ "status": {
+ "shape": "String",
+ "documentation": "The alert status of the check: \"ok\" (green), \"warning\" (yellow), \"error\" (red), or \"not_available\".
"
+ },
+ "hasFlaggedResources": {
+ "shape": "Boolean",
+ "documentation": "Specifies whether the Trusted Advisor check has flagged resources.
"
+ },
+ "resourcesSummary": {
+ "shape": "TrustedAdvisorResourcesSummary"
+ },
+ "categorySpecificSummary": {
+ "shape": "TrustedAdvisorCategorySpecificSummary",
+ "documentation": "Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported.
"
}
},
- "documentation":"A summary of a Trusted Advisor check result, including the alert status, last refresh, and number of resources examined.
"
+ "documentation": "A summary of a Trusted Advisor check result, including the alert status, last refresh, and number of resources examined.
"
},
- "TrustedAdvisorCheckSummaryList":{
- "type":"list",
- "member":{"shape":"TrustedAdvisorCheckSummary"}
+ "TrustedAdvisorCheckSummaryList": {
+ "type": "list",
+ "member": {
+ "shape": "TrustedAdvisorCheckSummary"
+ }
},
- "TrustedAdvisorCostOptimizingSummary":{
- "type":"structure",
- "required":[
+ "TrustedAdvisorCostOptimizingSummary": {
+ "type": "structure",
+ "required": [
"estimatedMonthlySavings",
"estimatedPercentMonthlySavings"
],
- "members":{
- "estimatedMonthlySavings":{
- "shape":"Double",
- "documentation":"The estimated monthly savings that might be realized if the recommended actions are taken.
"
- },
- "estimatedPercentMonthlySavings":{
- "shape":"Double",
- "documentation":"The estimated percentage of savings that might be realized if the recommended actions are taken.
"
+ "members": {
+ "estimatedMonthlySavings": {
+ "shape": "Double",
+ "documentation": "The estimated monthly savings that might be realized if the recommended actions are taken.
"
+ },
+ "estimatedPercentMonthlySavings": {
+ "shape": "Double",
+ "documentation": "The estimated percentage of savings that might be realized if the recommended actions are taken.
"
}
},
- "documentation":"The estimated cost savings that might be realized if the recommended actions are taken.
"
+ "documentation": "The estimated cost savings that might be realized if the recommended actions are taken.
"
},
- "TrustedAdvisorResourceDetail":{
- "type":"structure",
- "required":[
+ "TrustedAdvisorResourceDetail": {
+ "type": "structure",
+ "required": [
"status",
"resourceId",
"metadata"
],
- "members":{
- "status":{
- "shape":"String",
- "documentation":"The status code for the resource identified in the Trusted Advisor check.
"
- },
- "region":{
- "shape":"String",
- "documentation":"The AWS region in which the identified resource is located.
"
- },
- "resourceId":{
- "shape":"String",
- "documentation":"The unique identifier for the identified resource.
"
- },
- "isSuppressed":{
- "shape":"Boolean",
- "documentation":"Specifies whether the AWS resource was ignored by Trusted Advisor because it was marked as suppressed by the user.
"
- },
- "metadata":{
- "shape":"StringList",
- "documentation":"Additional information about the identified resource. The exact metadata and its order can be obtained by inspecting the TrustedAdvisorCheckDescription object returned by the call to DescribeTrustedAdvisorChecks. Metadata contains all the data that is shown in the Excel download, even in those cases where the UI shows just summary data.
"
+ "members": {
+ "status": {
+ "shape": "String",
+ "documentation": "The status code for the resource identified in the Trusted Advisor check.
"
+ },
+ "region": {
+ "shape": "String",
+ "documentation": "The AWS region in which the identified resource is located.
"
+ },
+ "resourceId": {
+ "shape": "String",
+ "documentation": "The unique identifier for the identified resource.
"
+ },
+ "isSuppressed": {
+ "shape": "Boolean",
+ "documentation": "Specifies whether the AWS resource was ignored by Trusted Advisor because it was marked as suppressed by the user.
"
+ },
+ "metadata": {
+ "shape": "StringList",
+ "documentation": "Additional information about the identified resource. The exact metadata and its order can be obtained by inspecting the TrustedAdvisorCheckDescription object returned by the call to DescribeTrustedAdvisorChecks. Metadata contains all the data that is shown in the Excel download, even in those cases where the UI shows just summary data.
"
}
},
- "documentation":"Contains information about a resource identified by a Trusted Advisor check.
"
+ "documentation": "Contains information about a resource identified by a Trusted Advisor check.
"
},
- "TrustedAdvisorResourceDetailList":{
- "type":"list",
- "member":{"shape":"TrustedAdvisorResourceDetail"}
+ "TrustedAdvisorResourceDetailList": {
+ "type": "list",
+ "member": {
+ "shape": "TrustedAdvisorResourceDetail"
+ }
},
- "TrustedAdvisorResourcesSummary":{
- "type":"structure",
- "required":[
+ "TrustedAdvisorResourcesSummary": {
+ "type": "structure",
+ "required": [
"resourcesProcessed",
"resourcesFlagged",
"resourcesIgnored",
"resourcesSuppressed"
],
- "members":{
- "resourcesProcessed":{
- "shape":"Long",
- "documentation":"The number of AWS resources that were analyzed by the Trusted Advisor check.
"
- },
- "resourcesFlagged":{
- "shape":"Long",
- "documentation":"The number of AWS resources that were flagged (listed) by the Trusted Advisor check.
"
- },
- "resourcesIgnored":{
- "shape":"Long",
- "documentation":"The number of AWS resources ignored by Trusted Advisor because information was unavailable.
"
- },
- "resourcesSuppressed":{
- "shape":"Long",
- "documentation":"The number of AWS resources ignored by Trusted Advisor because they were marked as suppressed by the user.
"
+ "members": {
+ "resourcesProcessed": {
+ "shape": "Long",
+ "documentation": "The number of AWS resources that were analyzed by the Trusted Advisor check.
"
+ },
+ "resourcesFlagged": {
+ "shape": "Long",
+ "documentation": "The number of AWS resources that were flagged (listed) by the Trusted Advisor check.
"
+ },
+ "resourcesIgnored": {
+ "shape": "Long",
+ "documentation": "The number of AWS resources ignored by Trusted Advisor because information was unavailable.
"
+ },
+ "resourcesSuppressed": {
+ "shape": "Long",
+ "documentation": "The number of AWS resources ignored by Trusted Advisor because they were marked as suppressed by the user.
"
}
},
- "documentation":"Details about AWS resources that were analyzed in a call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries.
"
+ "documentation": "Details about AWS resources that were analyzed in a call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries.
"
}
},
- "documentation":"AWS Support The AWS Support API reference is intended for programmers who need detailed information about the AWS Support operations and data types. This service enables you to manage your AWS Support cases programmatically. It uses HTTP methods that return results in JSON format.
The AWS Support service also exposes a set of Trusted Advisor features. You can retrieve a list of checks and their descriptions, get check results, specify checks to refresh, and get the refresh status of checks.
The following list describes the AWS Support case management operations:
-
Service names, issue categories, and available severity levels. The DescribeServices and DescribeSeverityLevels operations return AWS service names, service codes, service categories, and problem severity levels. You use these values when you call the CreateCase operation.
-
Case creation, case details, and case resolution. The CreateCase, DescribeCases, DescribeAttachment, and ResolveCase operations create AWS Support cases, retrieve information about cases, and resolve cases.
-
Case communication. The DescribeCommunications, AddCommunicationToCase, and AddAttachmentsToSet operations retrieve and add communications and attachments to AWS Support cases.
The following list describes the operations available from the AWS Support service for Trusted Advisor:
For authentication of requests, AWS Support uses Signature Version 4 Signing Process.
See About the AWS Support API in the AWS Support User Guide for information about how to use this service to create and manage your support cases, and how to call Trusted Advisor for results of checks on your resources.
"
-}
+ "documentation": "AWS Support The AWS Support API reference is intended for programmers who need detailed information about the AWS Support operations and data types. This service enables you to manage your AWS Support cases programmatically. It uses HTTP methods that return results in JSON format.
The AWS Support service also exposes a set of Trusted Advisor features. You can retrieve a list of checks and their descriptions, get check results, specify checks to refresh, and get the refresh status of checks.
The following list describes the AWS Support case management operations:
-
Service names, issue categories, and available severity levels. The DescribeServices and DescribeSeverityLevels operations return AWS service names, service codes, service categories, and problem severity levels. You use these values when you call the CreateCase operation.
-
Case creation, case details, and case resolution. The CreateCase, DescribeCases, DescribeAttachment, and ResolveCase operations create AWS Support cases, retrieve information about cases, and resolve cases.
-
Case communication. The DescribeCommunications, AddCommunicationToCase, and AddAttachmentsToSet operations retrieve and add communications and attachments to AWS Support cases.
The following list describes the operations available from the AWS Support service for Trusted Advisor:
For authentication of requests, AWS Support uses Signature Version 4 Signing Process.
See About the AWS Support API in the AWS Support User Guide for information about how to use this service to create and manage your support cases, and how to call Trusted Advisor for results of checks on your resources.
"
+}
\ No newline at end of file
diff --git a/apis/support-2013-04-15.paginators.json b/apis/support-2013-04-15.paginators.json
index 1368630c84..86e3bd7d5a 100644
--- a/apis/support-2013-04-15.paginators.json
+++ b/apis/support-2013-04-15.paginators.json
@@ -2,14 +2,14 @@
"pagination": {
"DescribeCases": {
"input_token": "nextToken",
- "output_token": "nextToken",
"limit_key": "maxResults",
+ "output_token": "nextToken",
"result_key": "cases"
},
"DescribeCommunications": {
"input_token": "nextToken",
- "output_token": "nextToken",
"limit_key": "maxResults",
+ "output_token": "nextToken",
"result_key": "communications"
},
"DescribeServices": {
@@ -22,4 +22,4 @@
"result_key": "summaries"
}
}
-}
+}
\ No newline at end of file
diff --git a/clients/amplify.d.ts b/clients/amplify.d.ts
index 9d3d5917a8..1cff13ac79 100644
--- a/clients/amplify.d.ts
+++ b/clients/amplify.d.ts
@@ -92,11 +92,11 @@ declare class Amplify extends Service {
*/
deleteWebhook(callback?: (err: AWSError, data: Amplify.Types.DeleteWebhookResult) => void): Request;
/**
- * Retrieve website access logs for a specific time range via a pre-signed URL. Optionally, deliver the logs to a given S3 bucket.
+ * Retrieve website access logs for a specific time range via a pre-signed URL.
*/
generateAccessLogs(params: Amplify.Types.GenerateAccessLogsRequest, callback?: (err: AWSError, data: Amplify.Types.GenerateAccessLogsResult) => void): Request;
/**
- * Retrieve website access logs for a specific time range via a pre-signed URL. Optionally, deliver the logs to a given S3 bucket.
+ * Retrieve website access logs for a specific time range via a pre-signed URL.
*/
generateAccessLogs(callback?: (err: AWSError, data: Amplify.Types.GenerateAccessLogsResult) => void): Request;
/**
@@ -380,7 +380,6 @@ declare namespace Amplify {
}
export type ArtifactFileName = string;
export type ArtifactId = string;
- export type ArtifactType = "TEST"|string;
export type ArtifactUrl = string;
export type Artifacts = Artifact[];
export type ArtifactsUrl = string;
@@ -419,9 +418,14 @@ declare namespace Amplify {
* Enables Pull Request Preview for auto created branch.
*/
enablePullRequestPreview?: EnablePullRequestPreview;
+ /**
+ * The Amplify Environment name for the pull request.
+ */
+ pullRequestEnvironmentName?: PullRequestEnvironmentName;
}
export type AutoBranchCreationPattern = string;
export type AutoBranchCreationPatterns = AutoBranchCreationPattern[];
+ export type BackendEnvironmentArn = string;
export type BasicAuthCredentials = string;
export interface Branch {
/**
@@ -512,6 +516,10 @@ declare namespace Amplify {
* Enables Pull Request Preview for this branch.
*/
enablePullRequestPreview: EnablePullRequestPreview;
+ /**
+ * The Amplify Environment name for the pull request.
+ */
+ pullRequestEnvironmentName?: PullRequestEnvironmentName;
/**
* The destination branch if the branch is a pull request branch.
*/
@@ -520,6 +528,10 @@ declare namespace Amplify {
* The source branch if the branch is a pull request branch.
*/
sourceBranch?: BranchName;
+ /**
+ * ARN for a Backend Environment, part of an Amplify App.
+ */
+ backendEnvironmentArn?: BackendEnvironmentArn;
}
export type BranchArn = string;
export type BranchName = string;
@@ -665,6 +677,14 @@ declare namespace Amplify {
* Enables Pull Request Preview for this branch.
*/
enablePullRequestPreview?: EnablePullRequestPreview;
+ /**
+ * The Amplify Environment name for the pull request.
+ */
+ pullRequestEnvironmentName?: PullRequestEnvironmentName;
+ /**
+ * ARN for a Backend Environment, part of an Amplify App.
+ */
+ backendEnvironmentArn?: BackendEnvironmentArn;
}
export interface CreateBranchResult {
/**
@@ -710,7 +730,7 @@ declare namespace Amplify {
*/
domainName: DomainName;
/**
- * Enables automated creation of Subdomains for branches.
+ * Enables automated creation of Subdomains for branches. (Currently not supported)
*/
enableAutoSubDomain?: EnableAutoSubDomain;
/**
@@ -847,7 +867,7 @@ declare namespace Amplify {
*/
domainName: DomainName;
/**
- * Enables automated creation of Subdomains for branches.
+ * Enables automated creation of Subdomains for branches. (Currently not supported)
*/
enableAutoSubDomain: EnableAutoSubDomain;
/**
@@ -1082,10 +1102,6 @@ declare namespace Amplify {
* Unique Id for an Job.
*/
jobId: JobId;
- /**
- * Type for an artifact.
- */
- artifactType?: ArtifactType;
/**
* Pagination token. Set to null to start listing artifacts from start. If non-null pagination token is returned in a result, then pass its value in here to list more artifacts.
*/
@@ -1242,6 +1258,7 @@ declare namespace Amplify {
*/
branchName?: BranchName;
}
+ export type PullRequestEnvironmentName = string;
export type Repository = string;
export type ResourceArn = string;
export type Screenshots = {[key: string]: ThumbnailUrl};
@@ -1578,6 +1595,14 @@ declare namespace Amplify {
* Enables Pull Request Preview for this branch.
*/
enablePullRequestPreview?: EnablePullRequestPreview;
+ /**
+ * The Amplify Environment name for the pull request.
+ */
+ pullRequestEnvironmentName?: PullRequestEnvironmentName;
+ /**
+ * ARN for a Backend Environment, part of an Amplify App.
+ */
+ backendEnvironmentArn?: BackendEnvironmentArn;
}
export interface UpdateBranchResult {
/**
@@ -1595,7 +1620,7 @@ declare namespace Amplify {
*/
domainName: DomainName;
/**
- * Enables automated creation of Subdomains for branches.
+ * Enables automated creation of Subdomains for branches. (Currently not supported)
*/
enableAutoSubDomain?: EnableAutoSubDomain;
/**
diff --git a/clients/s3.d.ts b/clients/s3.d.ts
index 857cd8c53d..4b4dd1f39c 100644
--- a/clients/s3.d.ts
+++ b/clients/s3.d.ts
@@ -2776,7 +2776,7 @@ declare namespace S3 {
export type InventoryFrequency = "Daily"|"Weekly"|string;
export type InventoryId = string;
export type InventoryIncludedObjectVersions = "All"|"Current"|string;
- export type InventoryOptionalField = "Size"|"LastModifiedDate"|"StorageClass"|"ETag"|"IsMultipartUploaded"|"ReplicationStatus"|"EncryptionStatus"|"ObjectLockRetainUntilDate"|"ObjectLockMode"|"ObjectLockLegalHoldStatus"|string;
+ export type InventoryOptionalField = "Size"|"LastModifiedDate"|"StorageClass"|"ETag"|"IsMultipartUploaded"|"ReplicationStatus"|"EncryptionStatus"|"ObjectLockRetainUntilDate"|"ObjectLockMode"|"ObjectLockLegalHoldStatus"|"IntelligentTieringAccessTier"|string;
export type InventoryOptionalFields = InventoryOptionalField[];
export interface InventoryS3BucketDestination {
/**
diff --git a/clients/support.d.ts b/clients/support.d.ts
index 08ce0ddf06..4f81dbdb4b 100644
--- a/clients/support.d.ts
+++ b/clients/support.d.ts
@@ -28,11 +28,11 @@ declare class Support extends Service {
*/
addCommunicationToCase(callback?: (err: AWSError, data: Support.Types.AddCommunicationToCaseResponse) => void): Request;
/**
- * Creates a new case in the AWS Support Center. This operation is modeled on the behavior of the AWS Support Center Create Case page. Its parameters require you to specify the following information: issueType. The type of issue for the case. You can specify either "customer-service" or "technical." If you do not indicate a value, the default is "technical." serviceCode. The code for an AWS service. You obtain the serviceCode by calling DescribeServices. categoryCode. The category for the service defined for the serviceCode value. You also obtain the category code for a service by calling DescribeServices. Each AWS service defines its own set of category codes. severityCode. A value that indicates the urgency of the case, which in turn determines the response time according to your service level agreement with AWS Support. You obtain the SeverityCode by calling DescribeSeverityLevels. subject. The Subject field on the AWS Support Center Create Case page. communicationBody. The Description field on the AWS Support Center Create Case page. attachmentSetId. The ID of a set of attachments that has been created by using AddAttachmentsToSet. language. The human language in which AWS Support handles the case. English and Japanese are currently supported. ccEmailAddresses. The AWS Support Center CC field on the Create Case page. You can list email addresses to be copied on any correspondence about the case. The account that opens the case is already identified by passing the AWS Credentials in the HTTP POST method or in a method or function call from one of the programming languages supported by an AWS SDK. To add additional communication or attachments to an existing case, use AddCommunicationToCase. A successful CreateCase request returns an AWS Support case number. Case numbers are used by the DescribeCases operation to retrieve existing AWS Support cases.
+ * Creates a new case in the AWS Support Center. This operation is modeled on the behavior of the AWS Support Center Create Case page. Its parameters require you to specify the following information: issueType. The type of issue for the case. You can specify either "customer-service" or "technical." If you do not indicate a value, the default is "technical." Service limit increases are not supported by the Support API; you must submit service limit increase requests in Support Center. The caseId is not the displayId that appears in Support Center. You can use the DescribeCases API to get the displayId. serviceCode. The code for an AWS service. You can get the possible serviceCode values by calling DescribeServices. categoryCode. The category for the service defined for the serviceCode value. You also get the category code for a service by calling DescribeServices. Each AWS service defines its own set of category codes. severityCode. A value that indicates the urgency of the case, which in turn determines the response time according to your service level agreement with AWS Support. You can get the possible severityCode values by calling DescribeSeverityLevels. For more information about the meaning of the codes, see SeverityLevel and Choosing a Severity. subject. The Subject field on the AWS Support Center Create Case page. communicationBody. The Description field on the AWS Support Center Create Case page. attachmentSetId. The ID of a set of attachments that has been created by using AddAttachmentsToSet. language. The human language in which AWS Support handles the case. English and Japanese are currently supported. ccEmailAddresses. The AWS Support Center CC field on the Create Case page. You can list email addresses to be copied on any correspondence about the case. The account that opens the case is already identified by passing the AWS Credentials in the HTTP POST method or in a method or function call from one of the programming languages supported by an AWS SDK. To add additional communication or attachments to an existing case, use AddCommunicationToCase. A successful CreateCase request returns an AWS Support case number. Case numbers are used by the DescribeCases operation to retrieve existing AWS Support cases.
*/
createCase(params: Support.Types.CreateCaseRequest, callback?: (err: AWSError, data: Support.Types.CreateCaseResponse) => void): Request;
/**
- * Creates a new case in the AWS Support Center. This operation is modeled on the behavior of the AWS Support Center Create Case page. Its parameters require you to specify the following information: issueType. The type of issue for the case. You can specify either "customer-service" or "technical." If you do not indicate a value, the default is "technical." serviceCode. The code for an AWS service. You obtain the serviceCode by calling DescribeServices. categoryCode. The category for the service defined for the serviceCode value. You also obtain the category code for a service by calling DescribeServices. Each AWS service defines its own set of category codes. severityCode. A value that indicates the urgency of the case, which in turn determines the response time according to your service level agreement with AWS Support. You obtain the SeverityCode by calling DescribeSeverityLevels. subject. The Subject field on the AWS Support Center Create Case page. communicationBody. The Description field on the AWS Support Center Create Case page. attachmentSetId. The ID of a set of attachments that has been created by using AddAttachmentsToSet. language. The human language in which AWS Support handles the case. English and Japanese are currently supported. ccEmailAddresses. The AWS Support Center CC field on the Create Case page. You can list email addresses to be copied on any correspondence about the case. The account that opens the case is already identified by passing the AWS Credentials in the HTTP POST method or in a method or function call from one of the programming languages supported by an AWS SDK. To add additional communication or attachments to an existing case, use AddCommunicationToCase. A successful CreateCase request returns an AWS Support case number. Case numbers are used by the DescribeCases operation to retrieve existing AWS Support cases.
+ * Creates a new case in the AWS Support Center. This operation is modeled on the behavior of the AWS Support Center Create Case page. Its parameters require you to specify the following information: issueType. The type of issue for the case. You can specify either "customer-service" or "technical." If you do not indicate a value, the default is "technical." Service limit increases are not supported by the Support API; you must submit service limit increase requests in Support Center. The caseId is not the displayId that appears in Support Center. You can use the DescribeCases API to get the displayId. serviceCode. The code for an AWS service. You can get the possible serviceCode values by calling DescribeServices. categoryCode. The category for the service defined for the serviceCode value. You also get the category code for a service by calling DescribeServices. Each AWS service defines its own set of category codes. severityCode. A value that indicates the urgency of the case, which in turn determines the response time according to your service level agreement with AWS Support. You can get the possible severityCode values by calling DescribeSeverityLevels. For more information about the meaning of the codes, see SeverityLevel and Choosing a Severity. subject. The Subject field on the AWS Support Center Create Case page. communicationBody. The Description field on the AWS Support Center Create Case page. attachmentSetId. The ID of a set of attachments that has been created by using AddAttachmentsToSet. language. The human language in which AWS Support handles the case. English and Japanese are currently supported. ccEmailAddresses. The AWS Support Center CC field on the Create Case page. You can list email addresses to be copied on any correspondence about the case. The account that opens the case is already identified by passing the AWS Credentials in the HTTP POST method or in a method or function call from one of the programming languages supported by an AWS SDK. To add additional communication or attachments to an existing case, use AddCommunicationToCase. A successful CreateCase request returns an AWS Support case number. Case numbers are used by the DescribeCases operation to retrieve existing AWS Support cases.
*/
createCase(callback?: (err: AWSError, data: Support.Types.CreateCaseResponse) => void): Request;
/**
@@ -44,11 +44,11 @@ declare class Support extends Service {
*/
describeAttachment(callback?: (err: AWSError, data: Support.Types.DescribeAttachmentResponse) => void): Request;
/**
- * Returns a list of cases that you specify by passing one or more case IDs. In addition, you can filter the cases by date by setting values for the afterTime and beforeTime request parameters. You can set values for the includeResolvedCases and includeCommunications request parameters to control how much information is returned. Case data is available for 12 months after creation. If a case was created more than 12 months ago, a request for data might cause an error. The response returns the following in JSON format: One or more CaseDetails data types. One or more nextToken values, which specify where to paginate the returned records represented by the CaseDetails objects.
+ * Returns a list of cases that you specify by passing one or more case IDs. In addition, you can filter the cases by date by setting values for the afterTime and beforeTime request parameters. You can set values for the includeResolvedCases and includeCommunications request parameters to control how much information is returned. Case data is available for 12 months after creation. If a case was created more than 12 months ago, a request for data might cause an error. The response returns the following in JSON format: One or more CaseDetails data types. One or more nextToken values, which specify where to paginate the returned records represented by the CaseDetails objects.
*/
describeCases(params: Support.Types.DescribeCasesRequest, callback?: (err: AWSError, data: Support.Types.DescribeCasesResponse) => void): Request;
/**
- * Returns a list of cases that you specify by passing one or more case IDs. In addition, you can filter the cases by date by setting values for the afterTime and beforeTime request parameters. You can set values for the includeResolvedCases and includeCommunications request parameters to control how much information is returned. Case data is available for 12 months after creation. If a case was created more than 12 months ago, a request for data might cause an error. The response returns the following in JSON format: One or more CaseDetails data types. One or more nextToken values, which specify where to paginate the returned records represented by the CaseDetails objects.
+ * Returns a list of cases that you specify by passing one or more case IDs. In addition, you can filter the cases by date by setting values for the afterTime and beforeTime request parameters. You can set values for the includeResolvedCases and includeCommunications request parameters to control how much information is returned. Case data is available for 12 months after creation. If a case was created more than 12 months ago, a request for data might cause an error. The response returns the following in JSON format: One or more CaseDetails data types. One or more nextToken values, which specify where to paginate the returned records represented by the CaseDetails objects.
*/
describeCases(callback?: (err: AWSError, data: Support.Types.DescribeCasesResponse) => void): Request;
/**
@@ -68,11 +68,11 @@ declare class Support extends Service {
*/
describeServices(callback?: (err: AWSError, data: Support.Types.DescribeServicesResponse) => void): Request;
/**
- * Returns the list of severity levels that you can assign to an AWS Support case. The severity level for a case is also a field in the CaseDetails data type included in any CreateCase request.
+ * Returns the list of severity levels that you can assign to an AWS Support case. The severity level for a case is also a field in the CaseDetails data type included in any CreateCase request.
*/
describeSeverityLevels(params: Support.Types.DescribeSeverityLevelsRequest, callback?: (err: AWSError, data: Support.Types.DescribeSeverityLevelsResponse) => void): Request;
/**
- * Returns the list of severity levels that you can assign to an AWS Support case. The severity level for a case is also a field in the CaseDetails data type included in any CreateCase request.
+ * Returns the list of severity levels that you can assign to an AWS Support case. The severity level for a case is also a field in the CaseDetails data type included in any CreateCase request.
*/
describeSeverityLevels(callback?: (err: AWSError, data: Support.Types.DescribeSeverityLevelsResponse) => void): Request;
/**
@@ -100,19 +100,19 @@ declare class Support extends Service {
*/
describeTrustedAdvisorCheckSummaries(callback?: (err: AWSError, data: Support.Types.DescribeTrustedAdvisorCheckSummariesResponse) => void): Request;
/**
- * Returns information about all available Trusted Advisor checks, including name, ID, category, description, and metadata. You must specify a language code; English ("en") and Japanese ("ja") are currently supported. The response contains a TrustedAdvisorCheckDescription for each check.
+ * Returns information about all available Trusted Advisor checks, including name, ID, category, description, and metadata. You must specify a language code; English ("en") and Japanese ("ja") are currently supported. The response contains a TrustedAdvisorCheckDescription for each check. The region must be set to us-east-1.
*/
describeTrustedAdvisorChecks(params: Support.Types.DescribeTrustedAdvisorChecksRequest, callback?: (err: AWSError, data: Support.Types.DescribeTrustedAdvisorChecksResponse) => void): Request;
/**
- * Returns information about all available Trusted Advisor checks, including name, ID, category, description, and metadata. You must specify a language code; English ("en") and Japanese ("ja") are currently supported. The response contains a TrustedAdvisorCheckDescription for each check.
+ * Returns information about all available Trusted Advisor checks, including name, ID, category, description, and metadata. You must specify a language code; English ("en") and Japanese ("ja") are currently supported. The response contains a TrustedAdvisorCheckDescription for each check. The region must be set to us-east-1.
*/
describeTrustedAdvisorChecks(callback?: (err: AWSError, data: Support.Types.DescribeTrustedAdvisorChecksResponse) => void): Request;
/**
- * Requests a refresh of the Trusted Advisor check that has the specified check ID. Check IDs can be obtained by calling DescribeTrustedAdvisorChecks. Some checks are refreshed automatically, and they cannot be refreshed by using this operation. Use of the RefreshTrustedAdvisorCheck operation for these checks causes an InvalidParameterValue error. The response contains a TrustedAdvisorCheckRefreshStatus object, which contains these fields: status. The refresh status of the check: "none", "enqueued", "processing", "success", or "abandoned". millisUntilNextRefreshable. The amount of time, in milliseconds, until the check is eligible for refresh. checkId. The unique identifier for the check.
+ * Requests a refresh of the Trusted Advisor check that has the specified check ID. Check IDs can be obtained by calling DescribeTrustedAdvisorChecks. Some checks are refreshed automatically, and they cannot be refreshed by using this operation. Use of the RefreshTrustedAdvisorCheck operation for these checks causes an InvalidParameterValue error. The response contains a TrustedAdvisorCheckRefreshStatus object, which contains these fields: status. The refresh status of the check: none: The check is not refreshed or the non-success status exceeds the timeout enqueued: The check refresh requests has entered the refresh queue processing: The check refresh request is picked up by the rule processing engine success: The check is successfully refreshed abandoned: The check refresh has failed millisUntilNextRefreshable. The amount of time, in milliseconds, until the check is eligible for refresh. checkId. The unique identifier for the check.
*/
refreshTrustedAdvisorCheck(params: Support.Types.RefreshTrustedAdvisorCheckRequest, callback?: (err: AWSError, data: Support.Types.RefreshTrustedAdvisorCheckResponse) => void): Request;
/**
- * Requests a refresh of the Trusted Advisor check that has the specified check ID. Check IDs can be obtained by calling DescribeTrustedAdvisorChecks. Some checks are refreshed automatically, and they cannot be refreshed by using this operation. Use of the RefreshTrustedAdvisorCheck operation for these checks causes an InvalidParameterValue error. The response contains a TrustedAdvisorCheckRefreshStatus object, which contains these fields: status. The refresh status of the check: "none", "enqueued", "processing", "success", or "abandoned". millisUntilNextRefreshable. The amount of time, in milliseconds, until the check is eligible for refresh. checkId. The unique identifier for the check.
+ * Requests a refresh of the Trusted Advisor check that has the specified check ID. Check IDs can be obtained by calling DescribeTrustedAdvisorChecks. Some checks are refreshed automatically, and they cannot be refreshed by using this operation. Use of the RefreshTrustedAdvisorCheck operation for these checks causes an InvalidParameterValue error. The response contains a TrustedAdvisorCheckRefreshStatus object, which contains these fields: status. The refresh status of the check: none: The check is not refreshed or the non-success status exceeds the timeout enqueued: The check refresh requests has entered the refresh queue processing: The check refresh request is picked up by the rule processing engine success: The check is successfully refreshed abandoned: The check refresh has failed millisUntilNextRefreshable. The amount of time, in milliseconds, until the check is eligible for refresh. checkId. The unique identifier for the check.
*/
refreshTrustedAdvisorCheck(callback?: (err: AWSError, data: Support.Types.RefreshTrustedAdvisorCheckResponse) => void): Request;
/**
@@ -210,11 +210,11 @@ declare namespace Support {
*/
subject?: Subject;
/**
- * The status of the case.
+ * The status of the case. Valid values: resolved | pending-customer-action | opened | unassigned | work-in-progress.
*/
status?: Status;
/**
- * The code for the AWS service returned by the call to DescribeServices.
+ * The code for the AWS service. You can get a list of codes and the corresponding service names by calling DescribeServices.
*/
serviceCode?: ServiceCode;
/**
@@ -275,7 +275,7 @@ declare namespace Support {
*/
body?: CommunicationBody;
/**
- * The email address of the account that submitted the AWS Support case.
+ * The identity of the account that submitted, or responded to, the support case. Customer entries include the role or IAM user as well as the email address. For example, "AdminRole (Role) <someone@example.com>. Entries from the AWS Support team display "Amazon Web Services," and do not show an email address.
*/
submittedBy?: SubmittedBy;
/**
@@ -299,7 +299,7 @@ declare namespace Support {
*/
serviceCode?: ServiceCode;
/**
- * The code for the severity level returned by the call to DescribeSeverityLevels. The availability of severity levels depends on each customer's support subscription. In other words, your subscription may not necessarily require the urgent level of response time.
+ * The code for the severity level returned by the call to DescribeSeverityLevels. The availability of severity levels depends on the support plan for the account.
*/
severityCode?: SeverityCode;
/**
@@ -319,7 +319,7 @@ declare namespace Support {
*/
language?: Language;
/**
- * The type of issue for the case. You can specify either "customer-service" or "technical." If you do not indicate a value, the default is "technical."
+ * The type of issue for the case. You can specify either "customer-service" or "technical." If you do not indicate a value, the default is "technical." Service limit increases are not supported by the Support API; you must submit service limit increase requests in Support Center.
*/
issueType?: IssueType;
/**
@@ -577,11 +577,11 @@ declare namespace Support {
export type SeverityCode = string;
export interface SeverityLevel {
/**
- * One of four values: "low," "medium," "high," and "urgent". These values correspond to response times returned to the caller in severityLevel.name.
+ * The code for case severity level. Valid values: low | normal | high | urgent | critical
*/
code?: SeverityLevelCode;
/**
- * The name of the severity level that corresponds to the severity level code.
+ * The name of the severity level that corresponds to the severity level code. The values returned by the API differ from the values that are displayed in the AWS Support Center. For example, for the code "low", the API name is "Low", but the name in the Support Center is "General guidance". These are the Support Center code/name mappings: low: General guidance normal: System impaired high: Production system impaired urgent: Production system down critical: Business-critical system down For more information, see Choosing a Severity
*/
name?: SeverityLevelName;
}
@@ -629,7 +629,7 @@ declare namespace Support {
*/
checkId: String;
/**
- * The status of the Trusted Advisor check for which a refresh has been requested: "none", "enqueued", "processing", "success", or "abandoned".
+ * The status of the Trusted Advisor check for which a refresh has been requested: none: The check is not refreshed or the non-success status exceeds the timeout enqueued: The check refresh requests has entered the refresh queue processing: The check refresh request is picked up by the rule processing engine success: The check is successfully refreshed abandoned: The check refresh has failed
*/
status: String;
/**
@@ -713,7 +713,7 @@ declare namespace Support {
*/
isSuppressed?: Boolean;
/**
- * Additional information about the identified resource. The exact metadata and its order can be obtained by inspecting the TrustedAdvisorCheckDescription object returned by the call to DescribeTrustedAdvisorChecks. Metadata contains all the data that is shown in the Excel download, even in those cases where the UI shows just summary data.
+ * Additional information about the identified resource. The exact metadata and its order can be obtained by inspecting the TrustedAdvisorCheckDescription object returned by the call to DescribeTrustedAdvisorChecks. Metadata contains all the data that is shown in the Excel download, even in those cases where the UI shows just summary data.
*/
metadata: StringList;
}
diff --git a/dist/aws-sdk-core-react-native.js b/dist/aws-sdk-core-react-native.js
index e258c2986d..5318c6cc07 100644
--- a/dist/aws-sdk-core-react-native.js
+++ b/dist/aws-sdk-core-react-native.js
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
/**
* @constant
*/
- VERSION: '2.560.0',
+ VERSION: '2.561.0',
/**
* @api private
diff --git a/dist/aws-sdk-react-native.js b/dist/aws-sdk-react-native.js
index 81810510e0..c3d6c072ef 100644
--- a/dist/aws-sdk-react-native.js
+++ b/dist/aws-sdk-react-native.js
@@ -395,7 +395,7 @@ return /******/ (function(modules) { // webpackBootstrap
/**
* @constant
*/
- VERSION: '2.560.0',
+ VERSION: '2.561.0',
/**
* @api private
@@ -46754,13 +46754,13 @@ return /******/ (function(modules) { // webpackBootstrap
/* 459 */
/***/ (function(module, exports) {
- module.exports = {"version":"2.0","metadata":{"uid":"support-2013-04-15","apiVersion":"2013-04-15","endpointPrefix":"support","jsonVersion":"1.1","protocol":"json","serviceFullName":"AWS Support","serviceId":"Support","signatureVersion":"v4","targetPrefix":"AWSSupport_20130415"},"operations":{"AddAttachmentsToSet":{"input":{"type":"structure","required":["attachments"],"members":{"attachmentSetId":{},"attachments":{"type":"list","member":{"shape":"S4"}}}},"output":{"type":"structure","members":{"attachmentSetId":{},"expiryTime":{}}}},"AddCommunicationToCase":{"input":{"type":"structure","required":["communicationBody"],"members":{"caseId":{},"communicationBody":{},"ccEmailAddresses":{"shape":"Sc"},"attachmentSetId":{}}},"output":{"type":"structure","members":{"result":{"type":"boolean"}}}},"CreateCase":{"input":{"type":"structure","required":["subject","communicationBody"],"members":{"subject":{},"serviceCode":{},"severityCode":{},"categoryCode":{},"communicationBody":{},"ccEmailAddresses":{"shape":"Sc"},"language":{},"issueType":{},"attachmentSetId":{}}},"output":{"type":"structure","members":{"caseId":{}}}},"DescribeAttachment":{"input":{"type":"structure","required":["attachmentId"],"members":{"attachmentId":{}}},"output":{"type":"structure","members":{"attachment":{"shape":"S4"}}}},"DescribeCases":{"input":{"type":"structure","members":{"caseIdList":{"type":"list","member":{}},"displayId":{},"afterTime":{},"beforeTime":{},"includeResolvedCases":{"type":"boolean"},"nextToken":{},"maxResults":{"type":"integer"},"language":{},"includeCommunications":{"type":"boolean"}}},"output":{"type":"structure","members":{"cases":{"type":"list","member":{"type":"structure","members":{"caseId":{},"displayId":{},"subject":{},"status":{},"serviceCode":{},"categoryCode":{},"severityCode":{},"submittedBy":{},"timeCreated":{},"recentCommunications":{"type":"structure","members":{"communications":{"shape":"S17"},"nextToken":{}}},"ccEmailAddresses":{"shape":"Sc"},"language":{}}}},"nextToken":{}}}},"DescribeCommunications":{"input":{"type":"structure","required":["caseId"],"members":{"caseId":{},"beforeTime":{},"afterTime":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"communications":{"shape":"S17"},"nextToken":{}}}},"DescribeServices":{"input":{"type":"structure","members":{"serviceCodeList":{"type":"list","member":{}},"language":{}}},"output":{"type":"structure","members":{"services":{"type":"list","member":{"type":"structure","members":{"code":{},"name":{},"categories":{"type":"list","member":{"type":"structure","members":{"code":{},"name":{}}}}}}}}}},"DescribeSeverityLevels":{"input":{"type":"structure","members":{"language":{}}},"output":{"type":"structure","members":{"severityLevels":{"type":"list","member":{"type":"structure","members":{"code":{},"name":{}}}}}}},"DescribeTrustedAdvisorCheckRefreshStatuses":{"input":{"type":"structure","required":["checkIds"],"members":{"checkIds":{"shape":"S1t"}}},"output":{"type":"structure","required":["statuses"],"members":{"statuses":{"type":"list","member":{"shape":"S1x"}}}}},"DescribeTrustedAdvisorCheckResult":{"input":{"type":"structure","required":["checkId"],"members":{"checkId":{},"language":{}}},"output":{"type":"structure","members":{"result":{"type":"structure","required":["checkId","timestamp","status","resourcesSummary","categorySpecificSummary","flaggedResources"],"members":{"checkId":{},"timestamp":{},"status":{},"resourcesSummary":{"shape":"S22"},"categorySpecificSummary":{"shape":"S23"},"flaggedResources":{"type":"list","member":{"type":"structure","required":["status","resourceId","metadata"],"members":{"status":{},"region":{},"resourceId":{},"isSuppressed":{"type":"boolean"},"metadata":{"shape":"S1t"}}}}}}}}},"DescribeTrustedAdvisorCheckSummaries":{"input":{"type":"structure","required":["checkIds"],"members":{"checkIds":{"shape":"S1t"}}},"output":{"type":"structure","required":["summaries"],"members":{"summaries":{"type":"list","member":{"type":"structure","required":["checkId","timestamp","status","resourcesSummary","categorySpecificSummary"],"members":{"checkId":{},"timestamp":{},"status":{},"hasFlaggedResources":{"type":"boolean"},"resourcesSummary":{"shape":"S22"},"categorySpecificSummary":{"shape":"S23"}}}}}}},"DescribeTrustedAdvisorChecks":{"input":{"type":"structure","required":["language"],"members":{"language":{}}},"output":{"type":"structure","required":["checks"],"members":{"checks":{"type":"list","member":{"type":"structure","required":["id","name","description","category","metadata"],"members":{"id":{},"name":{},"description":{},"category":{},"metadata":{"shape":"S1t"}}}}}}},"RefreshTrustedAdvisorCheck":{"input":{"type":"structure","required":["checkId"],"members":{"checkId":{}}},"output":{"type":"structure","required":["status"],"members":{"status":{"shape":"S1x"}}}},"ResolveCase":{"input":{"type":"structure","members":{"caseId":{}}},"output":{"type":"structure","members":{"initialCaseStatus":{},"finalCaseStatus":{}}}}},"shapes":{"S4":{"type":"structure","members":{"fileName":{},"data":{"type":"blob"}}},"Sc":{"type":"list","member":{}},"S17":{"type":"list","member":{"type":"structure","members":{"caseId":{},"body":{},"submittedBy":{},"timeCreated":{},"attachmentSet":{"type":"list","member":{"type":"structure","members":{"attachmentId":{},"fileName":{}}}}}}},"S1t":{"type":"list","member":{}},"S1x":{"type":"structure","required":["checkId","status","millisUntilNextRefreshable"],"members":{"checkId":{},"status":{},"millisUntilNextRefreshable":{"type":"long"}}},"S22":{"type":"structure","required":["resourcesProcessed","resourcesFlagged","resourcesIgnored","resourcesSuppressed"],"members":{"resourcesProcessed":{"type":"long"},"resourcesFlagged":{"type":"long"},"resourcesIgnored":{"type":"long"},"resourcesSuppressed":{"type":"long"}}},"S23":{"type":"structure","members":{"costOptimizing":{"type":"structure","required":["estimatedMonthlySavings","estimatedPercentMonthlySavings"],"members":{"estimatedMonthlySavings":{"type":"double"},"estimatedPercentMonthlySavings":{"type":"double"}}}}}}}
+ module.exports = {"version":"2.0","metadata":{"apiVersion":"2013-04-15","endpointPrefix":"support","jsonVersion":"1.1","protocol":"json","serviceFullName":"AWS Support","serviceId":"Support","signatureVersion":"v4","targetPrefix":"AWSSupport_20130415","uid":"support-2013-04-15"},"operations":{"AddAttachmentsToSet":{"input":{"type":"structure","required":["attachments"],"members":{"attachmentSetId":{},"attachments":{"type":"list","member":{"shape":"S4"}}}},"output":{"type":"structure","members":{"attachmentSetId":{},"expiryTime":{}}}},"AddCommunicationToCase":{"input":{"type":"structure","required":["communicationBody"],"members":{"caseId":{},"communicationBody":{},"ccEmailAddresses":{"shape":"Sc"},"attachmentSetId":{}}},"output":{"type":"structure","members":{"result":{"type":"boolean"}}}},"CreateCase":{"input":{"type":"structure","required":["subject","communicationBody"],"members":{"subject":{},"serviceCode":{},"severityCode":{},"categoryCode":{},"communicationBody":{},"ccEmailAddresses":{"shape":"Sc"},"language":{},"issueType":{},"attachmentSetId":{}}},"output":{"type":"structure","members":{"caseId":{}}}},"DescribeAttachment":{"input":{"type":"structure","required":["attachmentId"],"members":{"attachmentId":{}}},"output":{"type":"structure","members":{"attachment":{"shape":"S4"}}}},"DescribeCases":{"input":{"type":"structure","members":{"caseIdList":{"type":"list","member":{}},"displayId":{},"afterTime":{},"beforeTime":{},"includeResolvedCases":{"type":"boolean"},"nextToken":{},"maxResults":{"type":"integer"},"language":{},"includeCommunications":{"type":"boolean"}}},"output":{"type":"structure","members":{"cases":{"type":"list","member":{"type":"structure","members":{"caseId":{},"displayId":{},"subject":{},"status":{},"serviceCode":{},"categoryCode":{},"severityCode":{},"submittedBy":{},"timeCreated":{},"recentCommunications":{"type":"structure","members":{"communications":{"shape":"S17"},"nextToken":{}}},"ccEmailAddresses":{"shape":"Sc"},"language":{}}}},"nextToken":{}}}},"DescribeCommunications":{"input":{"type":"structure","required":["caseId"],"members":{"caseId":{},"beforeTime":{},"afterTime":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"communications":{"shape":"S17"},"nextToken":{}}}},"DescribeServices":{"input":{"type":"structure","members":{"serviceCodeList":{"type":"list","member":{}},"language":{}}},"output":{"type":"structure","members":{"services":{"type":"list","member":{"type":"structure","members":{"code":{},"name":{},"categories":{"type":"list","member":{"type":"structure","members":{"code":{},"name":{}}}}}}}}}},"DescribeSeverityLevels":{"input":{"type":"structure","members":{"language":{}}},"output":{"type":"structure","members":{"severityLevels":{"type":"list","member":{"type":"structure","members":{"code":{},"name":{}}}}}}},"DescribeTrustedAdvisorCheckRefreshStatuses":{"input":{"type":"structure","required":["checkIds"],"members":{"checkIds":{"shape":"S1t"}}},"output":{"type":"structure","required":["statuses"],"members":{"statuses":{"type":"list","member":{"shape":"S1x"}}}}},"DescribeTrustedAdvisorCheckResult":{"input":{"type":"structure","required":["checkId"],"members":{"checkId":{},"language":{}}},"output":{"type":"structure","members":{"result":{"type":"structure","required":["checkId","timestamp","status","resourcesSummary","categorySpecificSummary","flaggedResources"],"members":{"checkId":{},"timestamp":{},"status":{},"resourcesSummary":{"shape":"S22"},"categorySpecificSummary":{"shape":"S23"},"flaggedResources":{"type":"list","member":{"type":"structure","required":["status","resourceId","metadata"],"members":{"status":{},"region":{},"resourceId":{},"isSuppressed":{"type":"boolean"},"metadata":{"shape":"S1t"}}}}}}}}},"DescribeTrustedAdvisorCheckSummaries":{"input":{"type":"structure","required":["checkIds"],"members":{"checkIds":{"shape":"S1t"}}},"output":{"type":"structure","required":["summaries"],"members":{"summaries":{"type":"list","member":{"type":"structure","required":["checkId","timestamp","status","resourcesSummary","categorySpecificSummary"],"members":{"checkId":{},"timestamp":{},"status":{},"hasFlaggedResources":{"type":"boolean"},"resourcesSummary":{"shape":"S22"},"categorySpecificSummary":{"shape":"S23"}}}}}}},"DescribeTrustedAdvisorChecks":{"input":{"type":"structure","required":["language"],"members":{"language":{}}},"output":{"type":"structure","required":["checks"],"members":{"checks":{"type":"list","member":{"type":"structure","required":["id","name","description","category","metadata"],"members":{"id":{},"name":{},"description":{},"category":{},"metadata":{"shape":"S1t"}}}}}}},"RefreshTrustedAdvisorCheck":{"input":{"type":"structure","required":["checkId"],"members":{"checkId":{}}},"output":{"type":"structure","required":["status"],"members":{"status":{"shape":"S1x"}}}},"ResolveCase":{"input":{"type":"structure","members":{"caseId":{}}},"output":{"type":"structure","members":{"initialCaseStatus":{},"finalCaseStatus":{}}}}},"shapes":{"S4":{"type":"structure","members":{"fileName":{},"data":{"type":"blob"}}},"Sc":{"type":"list","member":{}},"S17":{"type":"list","member":{"type":"structure","members":{"caseId":{},"body":{},"submittedBy":{},"timeCreated":{},"attachmentSet":{"type":"list","member":{"type":"structure","members":{"attachmentId":{},"fileName":{}}}}}}},"S1t":{"type":"list","member":{}},"S1x":{"type":"structure","required":["checkId","status","millisUntilNextRefreshable"],"members":{"checkId":{},"status":{},"millisUntilNextRefreshable":{"type":"long"}}},"S22":{"type":"structure","required":["resourcesProcessed","resourcesFlagged","resourcesIgnored","resourcesSuppressed"],"members":{"resourcesProcessed":{"type":"long"},"resourcesFlagged":{"type":"long"},"resourcesIgnored":{"type":"long"},"resourcesSuppressed":{"type":"long"}}},"S23":{"type":"structure","members":{"costOptimizing":{"type":"structure","required":["estimatedMonthlySavings","estimatedPercentMonthlySavings"],"members":{"estimatedMonthlySavings":{"type":"double"},"estimatedPercentMonthlySavings":{"type":"double"}}}}}}}
/***/ }),
/* 460 */
/***/ (function(module, exports) {
- module.exports = {"pagination":{"DescribeCases":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"cases"},"DescribeCommunications":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"communications"},"DescribeServices":{"result_key":"services"},"DescribeTrustedAdvisorCheckRefreshStatuses":{"result_key":"statuses"},"DescribeTrustedAdvisorCheckSummaries":{"result_key":"summaries"}}}
+ module.exports = {"pagination":{"DescribeCases":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken","result_key":"cases"},"DescribeCommunications":{"input_token":"nextToken","limit_key":"maxResults","output_token":"nextToken","result_key":"communications"},"DescribeServices":{"result_key":"services"},"DescribeTrustedAdvisorCheckRefreshStatuses":{"result_key":"statuses"},"DescribeTrustedAdvisorCheckSummaries":{"result_key":"summaries"}}}
/***/ }),
/* 461 */
@@ -49096,7 +49096,7 @@ return /******/ (function(modules) { // webpackBootstrap
/* 655 */
/***/ (function(module, exports) {
- module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-07-25","endpointPrefix":"amplify","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"Amplify","serviceFullName":"AWS Amplify","serviceId":"Amplify","signatureVersion":"v4","signingName":"amplify","uid":"amplify-2017-07-25"},"operations":{"CreateApp":{"http":{"requestUri":"/apps"},"input":{"type":"structure","required":["name"],"members":{"name":{},"description":{},"repository":{},"platform":{},"iamServiceRoleArn":{},"oauthToken":{},"accessToken":{},"environmentVariables":{"shape":"S9"},"enableBranchAutoBuild":{"type":"boolean"},"enableBasicAuth":{"type":"boolean"},"basicAuthCredentials":{},"customRules":{"shape":"Sf"},"tags":{"shape":"Sl"},"buildSpec":{},"enableAutoBranchCreation":{"type":"boolean"},"autoBranchCreationPatterns":{"shape":"Sq"},"autoBranchCreationConfig":{"shape":"Ss"}}},"output":{"type":"structure","required":["app"],"members":{"app":{"shape":"Sy"}}}},"CreateBranch":{"http":{"requestUri":"/apps/{appId}/branches"},"input":{"type":"structure","required":["appId","branchName"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{},"description":{},"stage":{},"framework":{},"enableNotification":{"type":"boolean"},"enableAutoBuild":{"type":"boolean"},"environmentVariables":{"shape":"S9"},"basicAuthCredentials":{},"enableBasicAuth":{"type":"boolean"},"tags":{"shape":"Sl"},"buildSpec":{},"ttl":{},"displayName":{},"enablePullRequestPreview":{"type":"boolean"}}},"output":{"type":"structure","required":["branch"],"members":{"branch":{"shape":"S1d"}}}},"CreateDeployment":{"http":{"requestUri":"/apps/{appId}/branches/{branchName}/deployments"},"input":{"type":"structure","required":["appId","branchName"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"},"fileMap":{"type":"map","key":{},"value":{}}}},"output":{"type":"structure","required":["fileUploadUrls","zipUploadUrl"],"members":{"jobId":{},"fileUploadUrls":{"type":"map","key":{},"value":{}},"zipUploadUrl":{}}}},"CreateDomainAssociation":{"http":{"requestUri":"/apps/{appId}/domains"},"input":{"type":"structure","required":["appId","domainName","subDomainSettings"],"members":{"appId":{"location":"uri","locationName":"appId"},"domainName":{},"enableAutoSubDomain":{"type":"boolean"},"subDomainSettings":{"shape":"S1w"}}},"output":{"type":"structure","required":["domainAssociation"],"members":{"domainAssociation":{"shape":"S20"}}}},"CreateWebhook":{"http":{"requestUri":"/apps/{appId}/webhooks"},"input":{"type":"structure","required":["appId","branchName"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{},"description":{}}},"output":{"type":"structure","required":["webhook"],"members":{"webhook":{"shape":"S2b"}}}},"DeleteApp":{"http":{"method":"DELETE","requestUri":"/apps/{appId}"},"input":{"type":"structure","required":["appId"],"members":{"appId":{"location":"uri","locationName":"appId"}}},"output":{"type":"structure","required":["app"],"members":{"app":{"shape":"Sy"}}}},"DeleteBranch":{"http":{"method":"DELETE","requestUri":"/apps/{appId}/branches/{branchName}"},"input":{"type":"structure","required":["appId","branchName"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"}}},"output":{"type":"structure","required":["branch"],"members":{"branch":{"shape":"S1d"}}}},"DeleteDomainAssociation":{"http":{"method":"DELETE","requestUri":"/apps/{appId}/domains/{domainName}"},"input":{"type":"structure","required":["appId","domainName"],"members":{"appId":{"location":"uri","locationName":"appId"},"domainName":{"location":"uri","locationName":"domainName"}}},"output":{"type":"structure","required":["domainAssociation"],"members":{"domainAssociation":{"shape":"S20"}}}},"DeleteJob":{"http":{"method":"DELETE","requestUri":"/apps/{appId}/branches/{branchName}/jobs/{jobId}"},"input":{"type":"structure","required":["appId","branchName","jobId"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"},"jobId":{"location":"uri","locationName":"jobId"}}},"output":{"type":"structure","required":["jobSummary"],"members":{"jobSummary":{"shape":"S2n"}}}},"DeleteWebhook":{"http":{"method":"DELETE","requestUri":"/webhooks/{webhookId}"},"input":{"type":"structure","required":["webhookId"],"members":{"webhookId":{"location":"uri","locationName":"webhookId"}}},"output":{"type":"structure","required":["webhook"],"members":{"webhook":{"shape":"S2b"}}}},"GenerateAccessLogs":{"http":{"requestUri":"/apps/{appId}/accesslogs"},"input":{"type":"structure","required":["domainName","appId"],"members":{"startTime":{"type":"timestamp"},"endTime":{"type":"timestamp"},"domainName":{},"appId":{"location":"uri","locationName":"appId"}}},"output":{"type":"structure","members":{"logUrl":{}}}},"GetApp":{"http":{"method":"GET","requestUri":"/apps/{appId}"},"input":{"type":"structure","required":["appId"],"members":{"appId":{"location":"uri","locationName":"appId"}}},"output":{"type":"structure","required":["app"],"members":{"app":{"shape":"Sy"}}}},"GetArtifactUrl":{"http":{"method":"GET","requestUri":"/artifacts/{artifactId}"},"input":{"type":"structure","required":["artifactId"],"members":{"artifactId":{"location":"uri","locationName":"artifactId"}}},"output":{"type":"structure","required":["artifactId","artifactUrl"],"members":{"artifactId":{},"artifactUrl":{}}}},"GetBranch":{"http":{"method":"GET","requestUri":"/apps/{appId}/branches/{branchName}"},"input":{"type":"structure","required":["appId","branchName"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"}}},"output":{"type":"structure","required":["branch"],"members":{"branch":{"shape":"S1d"}}}},"GetDomainAssociation":{"http":{"method":"GET","requestUri":"/apps/{appId}/domains/{domainName}"},"input":{"type":"structure","required":["appId","domainName"],"members":{"appId":{"location":"uri","locationName":"appId"},"domainName":{"location":"uri","locationName":"domainName"}}},"output":{"type":"structure","required":["domainAssociation"],"members":{"domainAssociation":{"shape":"S20"}}}},"GetJob":{"http":{"method":"GET","requestUri":"/apps/{appId}/branches/{branchName}/jobs/{jobId}"},"input":{"type":"structure","required":["appId","branchName","jobId"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"},"jobId":{"location":"uri","locationName":"jobId"}}},"output":{"type":"structure","required":["job"],"members":{"job":{"type":"structure","required":["summary","steps"],"members":{"summary":{"shape":"S2n"},"steps":{"type":"list","member":{"type":"structure","required":["stepName","startTime","status","endTime"],"members":{"stepName":{},"startTime":{"type":"timestamp"},"status":{},"endTime":{"type":"timestamp"},"logUrl":{},"artifactsUrl":{},"testArtifactsUrl":{},"testConfigUrl":{},"screenshots":{"type":"map","key":{},"value":{}},"statusReason":{},"context":{}}}}}}}}},"GetWebhook":{"http":{"method":"GET","requestUri":"/webhooks/{webhookId}"},"input":{"type":"structure","required":["webhookId"],"members":{"webhookId":{"location":"uri","locationName":"webhookId"}}},"output":{"type":"structure","required":["webhook"],"members":{"webhook":{"shape":"S2b"}}}},"ListApps":{"http":{"method":"GET","requestUri":"/apps"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["apps"],"members":{"apps":{"type":"list","member":{"shape":"Sy"}},"nextToken":{}}}},"ListArtifacts":{"http":{"method":"GET","requestUri":"/apps/{appId}/branches/{branchName}/jobs/{jobId}/artifacts"},"input":{"type":"structure","required":["appId","branchName","jobId"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"},"jobId":{"location":"uri","locationName":"jobId"},"artifactType":{},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["artifacts"],"members":{"artifacts":{"type":"list","member":{"type":"structure","required":["artifactFileName","artifactId"],"members":{"artifactFileName":{},"artifactId":{}}}},"nextToken":{}}}},"ListBranches":{"http":{"method":"GET","requestUri":"/apps/{appId}/branches"},"input":{"type":"structure","required":["appId"],"members":{"appId":{"location":"uri","locationName":"appId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["branches"],"members":{"branches":{"type":"list","member":{"shape":"S1d"}},"nextToken":{}}}},"ListDomainAssociations":{"http":{"method":"GET","requestUri":"/apps/{appId}/domains"},"input":{"type":"structure","required":["appId"],"members":{"appId":{"location":"uri","locationName":"appId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["domainAssociations"],"members":{"domainAssociations":{"type":"list","member":{"shape":"S20"}},"nextToken":{}}}},"ListJobs":{"http":{"method":"GET","requestUri":"/apps/{appId}/branches/{branchName}/jobs"},"input":{"type":"structure","required":["appId","branchName"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["jobSummaries"],"members":{"jobSummaries":{"type":"list","member":{"shape":"S2n"}},"nextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"Sl"}}}},"ListWebhooks":{"http":{"method":"GET","requestUri":"/apps/{appId}/webhooks"},"input":{"type":"structure","required":["appId"],"members":{"appId":{"location":"uri","locationName":"appId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["webhooks"],"members":{"webhooks":{"type":"list","member":{"shape":"S2b"}},"nextToken":{}}}},"StartDeployment":{"http":{"requestUri":"/apps/{appId}/branches/{branchName}/deployments/start"},"input":{"type":"structure","required":["appId","branchName"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"},"jobId":{},"sourceUrl":{}}},"output":{"type":"structure","required":["jobSummary"],"members":{"jobSummary":{"shape":"S2n"}}}},"StartJob":{"http":{"requestUri":"/apps/{appId}/branches/{branchName}/jobs"},"input":{"type":"structure","required":["appId","branchName","jobType"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"},"jobId":{},"jobType":{},"jobReason":{},"commitId":{},"commitMessage":{},"commitTime":{"type":"timestamp"}}},"output":{"type":"structure","required":["jobSummary"],"members":{"jobSummary":{"shape":"S2n"}}}},"StopJob":{"http":{"method":"DELETE","requestUri":"/apps/{appId}/branches/{branchName}/jobs/{jobId}/stop"},"input":{"type":"structure","required":["appId","branchName","jobId"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"},"jobId":{"location":"uri","locationName":"jobId"}}},"output":{"type":"structure","required":["jobSummary"],"members":{"jobSummary":{"shape":"S2n"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"Sl"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateApp":{"http":{"requestUri":"/apps/{appId}"},"input":{"type":"structure","required":["appId"],"members":{"appId":{"location":"uri","locationName":"appId"},"name":{},"description":{},"platform":{},"iamServiceRoleArn":{},"environmentVariables":{"shape":"S9"},"enableBranchAutoBuild":{"type":"boolean"},"enableBasicAuth":{"type":"boolean"},"basicAuthCredentials":{},"customRules":{"shape":"Sf"},"buildSpec":{},"enableAutoBranchCreation":{"type":"boolean"},"autoBranchCreationPatterns":{"shape":"Sq"},"autoBranchCreationConfig":{"shape":"Ss"},"repository":{},"oauthToken":{},"accessToken":{}}},"output":{"type":"structure","required":["app"],"members":{"app":{"shape":"Sy"}}}},"UpdateBranch":{"http":{"requestUri":"/apps/{appId}/branches/{branchName}"},"input":{"type":"structure","required":["appId","branchName"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"},"description":{},"framework":{},"stage":{},"enableNotification":{"type":"boolean"},"enableAutoBuild":{"type":"boolean"},"environmentVariables":{"shape":"S9"},"basicAuthCredentials":{},"enableBasicAuth":{"type":"boolean"},"buildSpec":{},"ttl":{},"displayName":{},"enablePullRequestPreview":{"type":"boolean"}}},"output":{"type":"structure","required":["branch"],"members":{"branch":{"shape":"S1d"}}}},"UpdateDomainAssociation":{"http":{"requestUri":"/apps/{appId}/domains/{domainName}"},"input":{"type":"structure","required":["appId","domainName","subDomainSettings"],"members":{"appId":{"location":"uri","locationName":"appId"},"domainName":{"location":"uri","locationName":"domainName"},"enableAutoSubDomain":{"type":"boolean"},"subDomainSettings":{"shape":"S1w"}}},"output":{"type":"structure","required":["domainAssociation"],"members":{"domainAssociation":{"shape":"S20"}}}},"UpdateWebhook":{"http":{"requestUri":"/webhooks/{webhookId}"},"input":{"type":"structure","required":["webhookId"],"members":{"webhookId":{"location":"uri","locationName":"webhookId"},"branchName":{},"description":{}}},"output":{"type":"structure","required":["webhook"],"members":{"webhook":{"shape":"S2b"}}}}},"shapes":{"S9":{"type":"map","key":{},"value":{}},"Sf":{"type":"list","member":{"type":"structure","required":["source","target"],"members":{"source":{},"target":{},"status":{},"condition":{}}}},"Sl":{"type":"map","key":{},"value":{}},"Sq":{"type":"list","member":{}},"Ss":{"type":"structure","members":{"stage":{},"framework":{},"enableAutoBuild":{"type":"boolean"},"environmentVariables":{"shape":"S9"},"basicAuthCredentials":{},"enableBasicAuth":{"type":"boolean"},"buildSpec":{},"enablePullRequestPreview":{"type":"boolean"}}},"Sy":{"type":"structure","required":["appId","appArn","name","description","repository","platform","createTime","updateTime","environmentVariables","defaultDomain","enableBranchAutoBuild","enableBasicAuth"],"members":{"appId":{},"appArn":{},"name":{},"tags":{"shape":"Sl"},"description":{},"repository":{},"platform":{},"createTime":{"type":"timestamp"},"updateTime":{"type":"timestamp"},"iamServiceRoleArn":{},"environmentVariables":{"shape":"S9"},"defaultDomain":{},"enableBranchAutoBuild":{"type":"boolean"},"enableBasicAuth":{"type":"boolean"},"basicAuthCredentials":{},"customRules":{"shape":"Sf"},"productionBranch":{"type":"structure","members":{"lastDeployTime":{"type":"timestamp"},"status":{},"thumbnailUrl":{},"branchName":{}}},"buildSpec":{},"enableAutoBranchCreation":{"type":"boolean"},"autoBranchCreationPatterns":{"shape":"Sq"},"autoBranchCreationConfig":{"shape":"Ss"}}},"S1d":{"type":"structure","required":["branchArn","branchName","description","stage","displayName","enableNotification","createTime","updateTime","environmentVariables","enableAutoBuild","customDomains","framework","activeJobId","totalNumberOfJobs","enableBasicAuth","ttl","enablePullRequestPreview"],"members":{"branchArn":{},"branchName":{},"description":{},"tags":{"shape":"Sl"},"stage":{},"displayName":{},"enableNotification":{"type":"boolean"},"createTime":{"type":"timestamp"},"updateTime":{"type":"timestamp"},"environmentVariables":{"shape":"S9"},"enableAutoBuild":{"type":"boolean"},"customDomains":{"type":"list","member":{}},"framework":{},"activeJobId":{},"totalNumberOfJobs":{},"enableBasicAuth":{"type":"boolean"},"thumbnailUrl":{},"basicAuthCredentials":{},"buildSpec":{},"ttl":{},"associatedResources":{"type":"list","member":{}},"enablePullRequestPreview":{"type":"boolean"},"destinationBranch":{},"sourceBranch":{}}},"S1w":{"type":"list","member":{"shape":"S1x"}},"S1x":{"type":"structure","required":["prefix","branchName"],"members":{"prefix":{},"branchName":{}}},"S20":{"type":"structure","required":["domainAssociationArn","domainName","enableAutoSubDomain","domainStatus","statusReason","subDomains"],"members":{"domainAssociationArn":{},"domainName":{},"enableAutoSubDomain":{"type":"boolean"},"domainStatus":{},"statusReason":{},"certificateVerificationDNSRecord":{},"subDomains":{"type":"list","member":{"type":"structure","required":["subDomainSetting","verified","dnsRecord"],"members":{"subDomainSetting":{"shape":"S1x"},"verified":{"type":"boolean"},"dnsRecord":{}}}}}},"S2b":{"type":"structure","required":["webhookArn","webhookId","webhookUrl","branchName","description","createTime","updateTime"],"members":{"webhookArn":{},"webhookId":{},"webhookUrl":{},"branchName":{},"description":{},"createTime":{"type":"timestamp"},"updateTime":{"type":"timestamp"}}},"S2n":{"type":"structure","required":["jobArn","jobId","commitId","commitMessage","commitTime","startTime","status","jobType"],"members":{"jobArn":{},"jobId":{},"commitId":{},"commitMessage":{},"commitTime":{"type":"timestamp"},"startTime":{"type":"timestamp"},"status":{},"endTime":{"type":"timestamp"},"jobType":{}}}}}
+ module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-07-25","endpointPrefix":"amplify","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"Amplify","serviceFullName":"AWS Amplify","serviceId":"Amplify","signatureVersion":"v4","signingName":"amplify","uid":"amplify-2017-07-25"},"operations":{"CreateApp":{"http":{"requestUri":"/apps"},"input":{"type":"structure","required":["name"],"members":{"name":{},"description":{},"repository":{},"platform":{},"iamServiceRoleArn":{},"oauthToken":{},"accessToken":{},"environmentVariables":{"shape":"S9"},"enableBranchAutoBuild":{"type":"boolean"},"enableBasicAuth":{"type":"boolean"},"basicAuthCredentials":{},"customRules":{"shape":"Sf"},"tags":{"shape":"Sl"},"buildSpec":{},"enableAutoBranchCreation":{"type":"boolean"},"autoBranchCreationPatterns":{"shape":"Sq"},"autoBranchCreationConfig":{"shape":"Ss"}}},"output":{"type":"structure","required":["app"],"members":{"app":{"shape":"Sz"}}}},"CreateBranch":{"http":{"requestUri":"/apps/{appId}/branches"},"input":{"type":"structure","required":["appId","branchName"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{},"description":{},"stage":{},"framework":{},"enableNotification":{"type":"boolean"},"enableAutoBuild":{"type":"boolean"},"environmentVariables":{"shape":"S9"},"basicAuthCredentials":{},"enableBasicAuth":{"type":"boolean"},"tags":{"shape":"Sl"},"buildSpec":{},"ttl":{},"displayName":{},"enablePullRequestPreview":{"type":"boolean"},"pullRequestEnvironmentName":{},"backendEnvironmentArn":{}}},"output":{"type":"structure","required":["branch"],"members":{"branch":{"shape":"S1f"}}}},"CreateDeployment":{"http":{"requestUri":"/apps/{appId}/branches/{branchName}/deployments"},"input":{"type":"structure","required":["appId","branchName"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"},"fileMap":{"type":"map","key":{},"value":{}}}},"output":{"type":"structure","required":["fileUploadUrls","zipUploadUrl"],"members":{"jobId":{},"fileUploadUrls":{"type":"map","key":{},"value":{}},"zipUploadUrl":{}}}},"CreateDomainAssociation":{"http":{"requestUri":"/apps/{appId}/domains"},"input":{"type":"structure","required":["appId","domainName","subDomainSettings"],"members":{"appId":{"location":"uri","locationName":"appId"},"domainName":{},"enableAutoSubDomain":{"type":"boolean"},"subDomainSettings":{"shape":"S1y"}}},"output":{"type":"structure","required":["domainAssociation"],"members":{"domainAssociation":{"shape":"S22"}}}},"CreateWebhook":{"http":{"requestUri":"/apps/{appId}/webhooks"},"input":{"type":"structure","required":["appId","branchName"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{},"description":{}}},"output":{"type":"structure","required":["webhook"],"members":{"webhook":{"shape":"S2d"}}}},"DeleteApp":{"http":{"method":"DELETE","requestUri":"/apps/{appId}"},"input":{"type":"structure","required":["appId"],"members":{"appId":{"location":"uri","locationName":"appId"}}},"output":{"type":"structure","required":["app"],"members":{"app":{"shape":"Sz"}}}},"DeleteBranch":{"http":{"method":"DELETE","requestUri":"/apps/{appId}/branches/{branchName}"},"input":{"type":"structure","required":["appId","branchName"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"}}},"output":{"type":"structure","required":["branch"],"members":{"branch":{"shape":"S1f"}}}},"DeleteDomainAssociation":{"http":{"method":"DELETE","requestUri":"/apps/{appId}/domains/{domainName}"},"input":{"type":"structure","required":["appId","domainName"],"members":{"appId":{"location":"uri","locationName":"appId"},"domainName":{"location":"uri","locationName":"domainName"}}},"output":{"type":"structure","required":["domainAssociation"],"members":{"domainAssociation":{"shape":"S22"}}}},"DeleteJob":{"http":{"method":"DELETE","requestUri":"/apps/{appId}/branches/{branchName}/jobs/{jobId}"},"input":{"type":"structure","required":["appId","branchName","jobId"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"},"jobId":{"location":"uri","locationName":"jobId"}}},"output":{"type":"structure","required":["jobSummary"],"members":{"jobSummary":{"shape":"S2p"}}}},"DeleteWebhook":{"http":{"method":"DELETE","requestUri":"/webhooks/{webhookId}"},"input":{"type":"structure","required":["webhookId"],"members":{"webhookId":{"location":"uri","locationName":"webhookId"}}},"output":{"type":"structure","required":["webhook"],"members":{"webhook":{"shape":"S2d"}}}},"GenerateAccessLogs":{"http":{"requestUri":"/apps/{appId}/accesslogs"},"input":{"type":"structure","required":["domainName","appId"],"members":{"startTime":{"type":"timestamp"},"endTime":{"type":"timestamp"},"domainName":{},"appId":{"location":"uri","locationName":"appId"}}},"output":{"type":"structure","members":{"logUrl":{}}}},"GetApp":{"http":{"method":"GET","requestUri":"/apps/{appId}"},"input":{"type":"structure","required":["appId"],"members":{"appId":{"location":"uri","locationName":"appId"}}},"output":{"type":"structure","required":["app"],"members":{"app":{"shape":"Sz"}}}},"GetArtifactUrl":{"http":{"method":"GET","requestUri":"/artifacts/{artifactId}"},"input":{"type":"structure","required":["artifactId"],"members":{"artifactId":{"location":"uri","locationName":"artifactId"}}},"output":{"type":"structure","required":["artifactId","artifactUrl"],"members":{"artifactId":{},"artifactUrl":{}}}},"GetBranch":{"http":{"method":"GET","requestUri":"/apps/{appId}/branches/{branchName}"},"input":{"type":"structure","required":["appId","branchName"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"}}},"output":{"type":"structure","required":["branch"],"members":{"branch":{"shape":"S1f"}}}},"GetDomainAssociation":{"http":{"method":"GET","requestUri":"/apps/{appId}/domains/{domainName}"},"input":{"type":"structure","required":["appId","domainName"],"members":{"appId":{"location":"uri","locationName":"appId"},"domainName":{"location":"uri","locationName":"domainName"}}},"output":{"type":"structure","required":["domainAssociation"],"members":{"domainAssociation":{"shape":"S22"}}}},"GetJob":{"http":{"method":"GET","requestUri":"/apps/{appId}/branches/{branchName}/jobs/{jobId}"},"input":{"type":"structure","required":["appId","branchName","jobId"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"},"jobId":{"location":"uri","locationName":"jobId"}}},"output":{"type":"structure","required":["job"],"members":{"job":{"type":"structure","required":["summary","steps"],"members":{"summary":{"shape":"S2p"},"steps":{"type":"list","member":{"type":"structure","required":["stepName","startTime","status","endTime"],"members":{"stepName":{},"startTime":{"type":"timestamp"},"status":{},"endTime":{"type":"timestamp"},"logUrl":{},"artifactsUrl":{},"testArtifactsUrl":{},"testConfigUrl":{},"screenshots":{"type":"map","key":{},"value":{}},"statusReason":{},"context":{}}}}}}}}},"GetWebhook":{"http":{"method":"GET","requestUri":"/webhooks/{webhookId}"},"input":{"type":"structure","required":["webhookId"],"members":{"webhookId":{"location":"uri","locationName":"webhookId"}}},"output":{"type":"structure","required":["webhook"],"members":{"webhook":{"shape":"S2d"}}}},"ListApps":{"http":{"method":"GET","requestUri":"/apps"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["apps"],"members":{"apps":{"type":"list","member":{"shape":"Sz"}},"nextToken":{}}}},"ListArtifacts":{"http":{"method":"GET","requestUri":"/apps/{appId}/branches/{branchName}/jobs/{jobId}/artifacts"},"input":{"type":"structure","required":["appId","branchName","jobId"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"},"jobId":{"location":"uri","locationName":"jobId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["artifacts"],"members":{"artifacts":{"type":"list","member":{"type":"structure","required":["artifactFileName","artifactId"],"members":{"artifactFileName":{},"artifactId":{}}}},"nextToken":{}}}},"ListBranches":{"http":{"method":"GET","requestUri":"/apps/{appId}/branches"},"input":{"type":"structure","required":["appId"],"members":{"appId":{"location":"uri","locationName":"appId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["branches"],"members":{"branches":{"type":"list","member":{"shape":"S1f"}},"nextToken":{}}}},"ListDomainAssociations":{"http":{"method":"GET","requestUri":"/apps/{appId}/domains"},"input":{"type":"structure","required":["appId"],"members":{"appId":{"location":"uri","locationName":"appId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["domainAssociations"],"members":{"domainAssociations":{"type":"list","member":{"shape":"S22"}},"nextToken":{}}}},"ListJobs":{"http":{"method":"GET","requestUri":"/apps/{appId}/branches/{branchName}/jobs"},"input":{"type":"structure","required":["appId","branchName"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["jobSummaries"],"members":{"jobSummaries":{"type":"list","member":{"shape":"S2p"}},"nextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"Sl"}}}},"ListWebhooks":{"http":{"method":"GET","requestUri":"/apps/{appId}/webhooks"},"input":{"type":"structure","required":["appId"],"members":{"appId":{"location":"uri","locationName":"appId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["webhooks"],"members":{"webhooks":{"type":"list","member":{"shape":"S2d"}},"nextToken":{}}}},"StartDeployment":{"http":{"requestUri":"/apps/{appId}/branches/{branchName}/deployments/start"},"input":{"type":"structure","required":["appId","branchName"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"},"jobId":{},"sourceUrl":{}}},"output":{"type":"structure","required":["jobSummary"],"members":{"jobSummary":{"shape":"S2p"}}}},"StartJob":{"http":{"requestUri":"/apps/{appId}/branches/{branchName}/jobs"},"input":{"type":"structure","required":["appId","branchName","jobType"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"},"jobId":{},"jobType":{},"jobReason":{},"commitId":{},"commitMessage":{},"commitTime":{"type":"timestamp"}}},"output":{"type":"structure","required":["jobSummary"],"members":{"jobSummary":{"shape":"S2p"}}}},"StopJob":{"http":{"method":"DELETE","requestUri":"/apps/{appId}/branches/{branchName}/jobs/{jobId}/stop"},"input":{"type":"structure","required":["appId","branchName","jobId"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"},"jobId":{"location":"uri","locationName":"jobId"}}},"output":{"type":"structure","required":["jobSummary"],"members":{"jobSummary":{"shape":"S2p"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"Sl"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateApp":{"http":{"requestUri":"/apps/{appId}"},"input":{"type":"structure","required":["appId"],"members":{"appId":{"location":"uri","locationName":"appId"},"name":{},"description":{},"platform":{},"iamServiceRoleArn":{},"environmentVariables":{"shape":"S9"},"enableBranchAutoBuild":{"type":"boolean"},"enableBasicAuth":{"type":"boolean"},"basicAuthCredentials":{},"customRules":{"shape":"Sf"},"buildSpec":{},"enableAutoBranchCreation":{"type":"boolean"},"autoBranchCreationPatterns":{"shape":"Sq"},"autoBranchCreationConfig":{"shape":"Ss"},"repository":{},"oauthToken":{},"accessToken":{}}},"output":{"type":"structure","required":["app"],"members":{"app":{"shape":"Sz"}}}},"UpdateBranch":{"http":{"requestUri":"/apps/{appId}/branches/{branchName}"},"input":{"type":"structure","required":["appId","branchName"],"members":{"appId":{"location":"uri","locationName":"appId"},"branchName":{"location":"uri","locationName":"branchName"},"description":{},"framework":{},"stage":{},"enableNotification":{"type":"boolean"},"enableAutoBuild":{"type":"boolean"},"environmentVariables":{"shape":"S9"},"basicAuthCredentials":{},"enableBasicAuth":{"type":"boolean"},"buildSpec":{},"ttl":{},"displayName":{},"enablePullRequestPreview":{"type":"boolean"},"pullRequestEnvironmentName":{},"backendEnvironmentArn":{}}},"output":{"type":"structure","required":["branch"],"members":{"branch":{"shape":"S1f"}}}},"UpdateDomainAssociation":{"http":{"requestUri":"/apps/{appId}/domains/{domainName}"},"input":{"type":"structure","required":["appId","domainName","subDomainSettings"],"members":{"appId":{"location":"uri","locationName":"appId"},"domainName":{"location":"uri","locationName":"domainName"},"enableAutoSubDomain":{"type":"boolean"},"subDomainSettings":{"shape":"S1y"}}},"output":{"type":"structure","required":["domainAssociation"],"members":{"domainAssociation":{"shape":"S22"}}}},"UpdateWebhook":{"http":{"requestUri":"/webhooks/{webhookId}"},"input":{"type":"structure","required":["webhookId"],"members":{"webhookId":{"location":"uri","locationName":"webhookId"},"branchName":{},"description":{}}},"output":{"type":"structure","required":["webhook"],"members":{"webhook":{"shape":"S2d"}}}}},"shapes":{"S9":{"type":"map","key":{},"value":{}},"Sf":{"type":"list","member":{"type":"structure","required":["source","target"],"members":{"source":{},"target":{},"status":{},"condition":{}}}},"Sl":{"type":"map","key":{},"value":{}},"Sq":{"type":"list","member":{}},"Ss":{"type":"structure","members":{"stage":{},"framework":{},"enableAutoBuild":{"type":"boolean"},"environmentVariables":{"shape":"S9"},"basicAuthCredentials":{},"enableBasicAuth":{"type":"boolean"},"buildSpec":{},"enablePullRequestPreview":{"type":"boolean"},"pullRequestEnvironmentName":{}}},"Sz":{"type":"structure","required":["appId","appArn","name","description","repository","platform","createTime","updateTime","environmentVariables","defaultDomain","enableBranchAutoBuild","enableBasicAuth"],"members":{"appId":{},"appArn":{},"name":{},"tags":{"shape":"Sl"},"description":{},"repository":{},"platform":{},"createTime":{"type":"timestamp"},"updateTime":{"type":"timestamp"},"iamServiceRoleArn":{},"environmentVariables":{"shape":"S9"},"defaultDomain":{},"enableBranchAutoBuild":{"type":"boolean"},"enableBasicAuth":{"type":"boolean"},"basicAuthCredentials":{},"customRules":{"shape":"Sf"},"productionBranch":{"type":"structure","members":{"lastDeployTime":{"type":"timestamp"},"status":{},"thumbnailUrl":{},"branchName":{}}},"buildSpec":{},"enableAutoBranchCreation":{"type":"boolean"},"autoBranchCreationPatterns":{"shape":"Sq"},"autoBranchCreationConfig":{"shape":"Ss"}}},"S1f":{"type":"structure","required":["branchArn","branchName","description","stage","displayName","enableNotification","createTime","updateTime","environmentVariables","enableAutoBuild","customDomains","framework","activeJobId","totalNumberOfJobs","enableBasicAuth","ttl","enablePullRequestPreview"],"members":{"branchArn":{},"branchName":{},"description":{},"tags":{"shape":"Sl"},"stage":{},"displayName":{},"enableNotification":{"type":"boolean"},"createTime":{"type":"timestamp"},"updateTime":{"type":"timestamp"},"environmentVariables":{"shape":"S9"},"enableAutoBuild":{"type":"boolean"},"customDomains":{"type":"list","member":{}},"framework":{},"activeJobId":{},"totalNumberOfJobs":{},"enableBasicAuth":{"type":"boolean"},"thumbnailUrl":{},"basicAuthCredentials":{},"buildSpec":{},"ttl":{},"associatedResources":{"type":"list","member":{}},"enablePullRequestPreview":{"type":"boolean"},"pullRequestEnvironmentName":{},"destinationBranch":{},"sourceBranch":{},"backendEnvironmentArn":{}}},"S1y":{"type":"list","member":{"shape":"S1z"}},"S1z":{"type":"structure","required":["prefix","branchName"],"members":{"prefix":{},"branchName":{}}},"S22":{"type":"structure","required":["domainAssociationArn","domainName","enableAutoSubDomain","domainStatus","statusReason","subDomains"],"members":{"domainAssociationArn":{},"domainName":{},"enableAutoSubDomain":{"type":"boolean"},"domainStatus":{},"statusReason":{},"certificateVerificationDNSRecord":{},"subDomains":{"type":"list","member":{"type":"structure","required":["subDomainSetting","verified","dnsRecord"],"members":{"subDomainSetting":{"shape":"S1z"},"verified":{"type":"boolean"},"dnsRecord":{}}}}}},"S2d":{"type":"structure","required":["webhookArn","webhookId","webhookUrl","branchName","description","createTime","updateTime"],"members":{"webhookArn":{},"webhookId":{},"webhookUrl":{},"branchName":{},"description":{},"createTime":{"type":"timestamp"},"updateTime":{"type":"timestamp"}}},"S2p":{"type":"structure","required":["jobArn","jobId","commitId","commitMessage","commitTime","startTime","status","jobType"],"members":{"jobArn":{},"jobId":{},"commitId":{},"commitMessage":{},"commitTime":{"type":"timestamp"},"startTime":{"type":"timestamp"},"status":{},"endTime":{"type":"timestamp"},"jobType":{}}}}}
/***/ }),
/* 656 */
diff --git a/dist/aws-sdk.js b/dist/aws-sdk.js
index 99a7385479..b090c58de7 100644
--- a/dist/aws-sdk.js
+++ b/dist/aws-sdk.js
@@ -1,4 +1,4 @@
-// AWS SDK for JavaScript v2.560.0
+// AWS SDK for JavaScript v2.561.0
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i-1});var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]","[object DataView]"];t.exports={isEmptyData:i,convertToBuffer:a}},{"buffer/":400}],310:[function(e,t,r){function i(e,t){this.hash=new e,this.outer=new e;var r=a(e,t),i=new Uint8Array(e.BLOCK_SIZE);i.set(r);for(var s=0;se.BLOCK_SIZE){var i=new e;i.update(r),r=i.digest()}var a=new Uint8Array(e.BLOCK_SIZE);return a.set(r),a}var s=e("./browserHashUtils");t.exports=i,i.prototype.update=function(e){if(s.isEmptyData(e)||this.error)return this;try{this.hash.update(s.convertToBuffer(e))}catch(e){this.error=e}return this},i.prototype.digest=function(e){return this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest(e)}},{"./browserHashUtils":309}],311:[function(e,t,r){function i(){this.state=[1732584193,4023233417,2562383102,271733878],this.buffer=new DataView(new ArrayBuffer(c)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}function a(e,t,r,i,a,s){return((t=(t+e&4294967295)+(i+s&4294967295)&4294967295)<>>32-a)+r&4294967295}function s(e,t,r,i,s,o,n){return a(t&r|~t&i,e,t,s,o,n)}function o(e,t,r,i,s,o,n){return a(t&i|r&~i,e,t,s,o,n)}function n(e,t,r,i,s,o,n){return a(t^r^i,e,t,s,o,n)}function u(e,t,r,i,s,o,n){return a(r^(t|~i),e,t,s,o,n)}var p=e("./browserHashUtils"),m=e("buffer/").Buffer,c=64;t.exports=i,i.BLOCK_SIZE=c,i.prototype.update=function(e){if(p.isEmptyData(e))return this;if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=p.convertToBuffer(e),r=0,i=t.byteLength;for(this.bytesHashed+=i;i>0;)this.buffer.setUint8(this.bufferLength++,t[r++]),i--,this.bufferLength===c&&(this.hashBuffer(),this.bufferLength=0);return this},i.prototype.digest=function(e){if(!this.finished){var t=this,r=t.buffer,i=t.bufferLength,a=t.bytesHashed,s=8*a;if(r.setUint8(this.bufferLength++,128),i%c>=c-8){for(var o=this.bufferLength;o>>0,!0),r.setUint32(c-4,Math.floor(s/4294967296),!0),this.hashBuffer(),this.finished=!0}for(var n=new DataView(new ArrayBuffer(16)),o=0;o<4;o++)n.setUint32(4*o,this.state[o],!0);var u=new m(n.buffer,n.byteOffset,n.byteLength);return e?u.toString(e):u},i.prototype.hashBuffer=function(){var e=this,t=e.buffer,r=e.state,i=r[0],a=r[1],p=r[2],m=r[3];i=s(i,a,p,m,t.getUint32(0,!0),7,3614090360),m=s(m,i,a,p,t.getUint32(4,!0),12,3905402710),p=s(p,m,i,a,t.getUint32(8,!0),17,606105819),a=s(a,p,m,i,t.getUint32(12,!0),22,3250441966),i=s(i,a,p,m,t.getUint32(16,!0),7,4118548399),m=s(m,i,a,p,t.getUint32(20,!0),12,1200080426),p=s(p,m,i,a,t.getUint32(24,!0),17,2821735955),a=s(a,p,m,i,t.getUint32(28,!0),22,4249261313),i=s(i,a,p,m,t.getUint32(32,!0),7,1770035416),m=s(m,i,a,p,t.getUint32(36,!0),12,2336552879),p=s(p,m,i,a,t.getUint32(40,!0),17,4294925233),a=s(a,p,m,i,t.getUint32(44,!0),22,2304563134),i=s(i,a,p,m,t.getUint32(48,!0),7,1804603682),m=s(m,i,a,p,t.getUint32(52,!0),12,4254626195),p=s(p,m,i,a,t.getUint32(56,!0),17,2792965006),a=s(a,p,m,i,t.getUint32(60,!0),22,1236535329),i=o(i,a,p,m,t.getUint32(4,!0),5,4129170786),m=o(m,i,a,p,t.getUint32(24,!0),9,3225465664),p=o(p,m,i,a,t.getUint32(44,!0),14,643717713),a=o(a,p,m,i,t.getUint32(0,!0),20,3921069994),i=o(i,a,p,m,t.getUint32(20,!0),5,3593408605),m=o(m,i,a,p,t.getUint32(40,!0),9,38016083),p=o(p,m,i,a,t.getUint32(60,!0),14,3634488961),a=o(a,p,m,i,t.getUint32(16,!0),20,3889429448),i=o(i,a,p,m,t.getUint32(36,!0),5,568446438),m=o(m,i,a,p,t.getUint32(56,!0),9,3275163606),p=o(p,m,i,a,t.getUint32(12,!0),14,4107603335),a=o(a,p,m,i,t.getUint32(32,!0),20,1163531501),i=o(i,a,p,m,t.getUint32(52,!0),5,2850285829),m=o(m,i,a,p,t.getUint32(8,!0),9,4243563512),p=o(p,m,i,a,t.getUint32(28,!0),14,1735328473),a=o(a,p,m,i,t.getUint32(48,!0),20,2368359562),i=n(i,a,p,m,t.getUint32(20,!0),4,4294588738),m=n(m,i,a,p,t.getUint32(32,!0),11,2272392833),p=n(p,m,i,a,t.getUint32(44,!0),16,1839030562),a=n(a,p,m,i,t.getUint32(56,!0),23,4259657740),i=n(i,a,p,m,t.getUint32(4,!0),4,2763975236),m=n(m,i,a,p,t.getUint32(16,!0),11,1272893353),p=n(p,m,i,a,t.getUint32(28,!0),16,4139469664),a=n(a,p,m,i,t.getUint32(40,!0),23,3200236656),i=n(i,a,p,m,t.getUint32(52,!0),4,681279174),m=n(m,i,a,p,t.getUint32(0,!0),11,3936430074),p=n(p,m,i,a,t.getUint32(12,!0),16,3572445317),a=n(a,p,m,i,t.getUint32(24,!0),23,76029189),i=n(i,a,p,m,t.getUint32(36,!0),4,3654602809),m=n(m,i,a,p,t.getUint32(48,!0),11,3873151461),p=n(p,m,i,a,t.getUint32(60,!0),16,530742520),a=n(a,p,m,i,t.getUint32(8,!0),23,3299628645),i=u(i,a,p,m,t.getUint32(0,!0),6,4096336452),m=u(m,i,a,p,t.getUint32(28,!0),10,1126891415),p=u(p,m,i,a,t.getUint32(56,!0),15,2878612391),a=u(a,p,m,i,t.getUint32(20,!0),21,4237533241),i=u(i,a,p,m,t.getUint32(48,!0),6,1700485571),m=u(m,i,a,p,t.getUint32(12,!0),10,2399980690),p=u(p,m,i,a,t.getUint32(40,!0),15,4293915773),a=u(a,p,m,i,t.getUint32(4,!0),21,2240044497),i=u(i,a,p,m,t.getUint32(32,!0),6,1873313359),m=u(m,i,a,p,t.getUint32(60,!0),10,4264355552),p=u(p,m,i,a,t.getUint32(24,!0),15,2734768916),a=u(a,p,m,i,t.getUint32(52,!0),21,1309151649),i=u(i,a,p,m,t.getUint32(16,!0),6,4149444226),m=u(m,i,a,p,t.getUint32(44,!0),10,3174756917),p=u(p,m,i,a,t.getUint32(8,!0),15,718787259),
-a=u(a,p,m,i,t.getUint32(36,!0),21,3951481745),r[0]=i+r[0]&4294967295,r[1]=a+r[1]&4294967295,r[2]=p+r[2]&4294967295,r[3]=m+r[3]&4294967295}},{"./browserHashUtils":309,"buffer/":400}],312:[function(e,t,r){function i(){this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=new Uint32Array(80),this.offset=0,this.shift=24,this.totalLength=0}var a=e("buffer/").Buffer,s=e("./browserHashUtils");new Uint32Array([1518500249,1859775393,-1894007588,-899497514]),Math.pow(2,53);t.exports=i,i.BLOCK_SIZE=64,i.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(s.isEmptyData(e))return this;e=s.convertToBuffer(e);var t=e.length;this.totalLength+=8*t;for(var r=0;r14||14===this.offset&&this.shift<24)&&this.processBlock(),this.offset=14,this.shift=24,this.write(0),this.write(0),this.write(this.totalLength>0xffffffffff?this.totalLength/1099511627776:0),this.write(this.totalLength>4294967295?this.totalLength/4294967296:0);for(var t=24;t>=0;t-=8)this.write(this.totalLength>>t);var r=new a(20),i=new DataView(r.buffer);return i.setUint32(0,this.h0,!1),i.setUint32(4,this.h1,!1),i.setUint32(8,this.h2,!1),i.setUint32(12,this.h3,!1),i.setUint32(16,this.h4,!1),e?r.toString(e):r},i.prototype.processBlock=function(){for(var e=16;e<80;e++){var t=this.block[e-3]^this.block[e-8]^this.block[e-14]^this.block[e-16];this.block[e]=t<<1|t>>>31}var r,i,a=this.h0,s=this.h1,o=this.h2,n=this.h3,u=this.h4;for(e=0;e<80;e++){e<20?(r=n^s&(o^n),i=1518500249):e<40?(r=s^o^n,i=1859775393):e<60?(r=s&o|n&(s|o),i=2400959708):(r=s^o^n,i=3395469782);var p=(a<<5|a>>>27)+r+u+i+(0|this.block[e]);u=n,n=o,o=s<<30|s>>>2,s=a,a=p}for(this.h0=this.h0+a|0,this.h1=this.h1+s|0,this.h2=this.h2+o|0,this.h3=this.h3+n|0,this.h4=this.h4+u|0,this.offset=0,e=0;e<16;e++)this.block[e]=0}},{"./browserHashUtils":309,"buffer/":400}],313:[function(e,t,r){function i(){this.state=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}var a=e("buffer/").Buffer,s=e("./browserHashUtils"),o=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),n=Math.pow(2,53)-1;t.exports=i,i.BLOCK_SIZE=64,i.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(s.isEmptyData(e))return this;e=s.convertToBuffer(e);var t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>n)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0);return this},i.prototype.digest=function(e){if(!this.finished){var t=8*this.bytesHashed,r=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),i=this.bufferLength;if(r.setUint8(this.bufferLength++,128),i%64>=56){for(var s=this.bufferLength;s<64;s++)r.setUint8(s,0);this.hashBuffer(),this.bufferLength=0}for(var s=this.bufferLength;s<56;s++)r.setUint8(s,0);r.setUint32(56,Math.floor(t/4294967296),!0),r.setUint32(60,t),this.hashBuffer(),this.finished=!0}for(var o=new a(32),s=0;s<8;s++)o[4*s]=this.state[s]>>>24&255,o[4*s+1]=this.state[s]>>>16&255,o[4*s+2]=this.state[s]>>>8&255,o[4*s+3]=this.state[s]>>>0&255;return e?o.toString(e):o},i.prototype.hashBuffer=function(){for(var e=this,t=e.buffer,r=e.state,i=r[0],a=r[1],s=r[2],n=r[3],u=r[4],p=r[5],m=r[6],c=r[7],l=0;l<64;l++){if(l<16)this.temp[l]=(255&t[4*l])<<24|(255&t[4*l+1])<<16|(255&t[4*l+2])<<8|255&t[4*l+3];else{var d=this.temp[l-2],y=(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10;d=this.temp[l-15];var b=(d>>>7|d<<25)^(d>>>18|d<<14)^d>>>3;this.temp[l]=(y+this.temp[l-7]|0)+(b+this.temp[l-16]|0)}var h=(((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&p^~u&m)|0)+(c+(o[l]+this.temp[l]|0)|0)|0,S=((i>>>2|i<<30)^(i>>>13|i<<19)^(i>>>22|i<<10))+(i&a^i&s^a&s)|0;c=m,m=p,p=u,u=n+h|0,n=s,s=a,a=i,i=h+S|0}r[0]+=i,r[1]+=a,r[2]+=s,r[3]+=n,r[4]+=u,r[5]+=p,r[6]+=m,r[7]+=c}},{"./browserHashUtils":309,"buffer/":400}],314:[function(e,t,r){(function(r){var i=e("./util");i.crypto.lib=e("./browserCryptoLib"),i.Buffer=e("buffer/").Buffer,i.url=e("url/"),i.querystring=e("querystring/"),i.realClock=e("./realclock/browserClock"),i.environment="js",i.createEventStream=e("./event-stream/buffered-create-event-stream").createEventStream,i.isBrowser=function(){return!0},i.isNode=function(){return!1};var a=e("./core");if(t.exports=a,e("./credentials"),e("./credentials/credential_provider_chain"),e("./credentials/temporary_credentials"),e("./credentials/chainable_temporary_credentials"),e("./credentials/web_identity_credentials"),e("./credentials/cognito_identity_credentials"),e("./credentials/saml_credentials"),a.XML.Parser=e("./xml/browser_parser"),e("./http/xhr"),void 0===r)var r={browser:!0}}).call(this,e("_process"))},{"./browserCryptoLib":308,"./core":317,"./credentials":318,"./credentials/chainable_temporary_credentials":319,"./credentials/cognito_identity_credentials":320,"./credentials/credential_provider_chain":321,"./credentials/saml_credentials":322,"./credentials/temporary_credentials":323,"./credentials/web_identity_credentials":324,"./event-stream/buffered-create-event-stream":332,"./http/xhr":340,"./realclock/browserClock":359,"./util":391,"./xml/browser_parser":392,_process:405,"buffer/":400,"querystring/":412,"url/":414}],315:[function(e,t,r){var i=e("../core"),a=i.util.url,s=i.util.crypto.lib,o=i.util.base64.encode,n=i.util.inherit,u=function(e){var t={"+":"-","=":"_","/":"~"};return e.replace(/[\+=\/]/g,function(e){return t[e]})},p=function(e,t){var r=s.createSign("RSA-SHA1");return r.write(e),u(r.sign(t,"base64"))},m=function(e,t,r,i){var a=JSON.stringify({Statement:[{Resource:e,Condition:{DateLessThan:{"AWS:EpochTime":t}}}]});return{Expires:t,"Key-Pair-Id":r,Signature:p(a.toString(),i)}},c=function(e,t,r){return e=e.replace(/\s/gm,""),{Policy:u(o(e)),"Key-Pair-Id":t,Signature:p(e,r)}},l=function(e){var t=e.split("://");if(t.length<2)throw new Error("Invalid URL.");return t[0].replace("*","")},d=function(e){var t=a.parse(e);return t.path.replace(/^\//,"")+(t.hash||"")},y=function(e){switch(l(e)){case"http":case"https":return e;case"rtmp":return d(e);default:throw new Error("Invalid URI scheme. Scheme must be one of http, https, or rtmp")}},b=function(e,t){if(!t||"function"!=typeof t)throw e;t(e)},h=function(e,t){if(!t||"function"!=typeof t)return e;t(null,e)};i.CloudFront.Signer=n({constructor:function(e,t){if(void 0===e||void 0===t)throw new Error("A key pair ID and private key are required");this.keyPairId=e,this.privateKey=t},getSignedCookie:function(e,t){var r="policy"in e?c(e.policy,this.keyPairId,this.privateKey):m(e.url,e.expires,this.keyPairId,this.privateKey),i={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(i["CloudFront-"+a]=r[a]);return h(i,t)},getSignedUrl:function(e,t){try{var r=y(e.url)}catch(e){return b(e,t)}var i=a.parse(e.url,!0),s=Object.prototype.hasOwnProperty.call(e,"policy")?c(e.policy,this.keyPairId,this.privateKey):m(r,e.expires,this.keyPairId,this.privateKey);i.search=null;for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(i.query[o]=s[o]);try{var n="rtmp"===l(e.url)?d(a.format(i)):a.format(i)}catch(e){return b(e,t)}return h(n,t)}}),t.exports=i.CloudFront.Signer},{"../core":317}],316:[function(e,t,r){var i=e("./core");e("./credentials"),e("./credentials/credential_provider_chain");var a;i.Config=i.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),i.util.each.call(this,this.keys,function(t,r){this.set(t,e[t],r)})},getCredentials:function(e){function t(t){e(t,t?null:a.credentials)}function r(e,t){return new i.util.error(t||new Error,{code:"CredentialsError",message:e,name:"CredentialsError"})}var a=this;a.credentials?"function"==typeof a.credentials.get?function(){a.credentials.get(function(e){e&&(e=r("Could not load credentials from "+a.credentials.constructor.name,e)),t(e)})}():function(){var e=null;a.credentials.accessKeyId&&a.credentials.secretAccessKey||(e=r("Missing credentials")),t(e)}():a.credentialProvider?a.credentialProvider.resolve(function(e,i){e&&(e=r("Could not load credentials from any providers",e)),a.credentials=i,t(e)}):t(r("No credentials to load"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),i.util.each.call(this,e,function(e,r){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||i.Service.hasService(e))&&this.set(e,r)})},loadFromPath:function(e){this.clear();var t=JSON.parse(i.util.readFileSync(e)),r=new i.FileSystemCredentials(e),a=new i.CredentialProviderChain;return a.providers.unshift(r),a.resolve(function(e,r){if(e)throw e;t.credentials=r}),this.constructor(t),this},clear:function(){i.util.each.call(this,this.keys,function(e){delete this[e]}),this.set("credentials",void 0),this.set("credentialProvider",void 0)},set:function(e,t,r){void 0===t?(void 0===r&&(r=this.keys[e]),this[e]="function"==typeof r?r.call(this):r):"httpOptions"===e&&this[e]?this[e]=i.util.merge(this[e],t):this[e]=t},keys:{credentials:null,credentialProvider:null,region:null,logger:null,apiVersions:{},apiVersion:null,endpoint:void 0,httpOptions:{timeout:12e4},maxRetries:void 0,maxRedirects:10,paramValidation:!0,sslEnabled:!0,s3ForcePathStyle:!1,s3BucketEndpoint:!1,s3DisableBodySigning:!0,computeChecksums:!0,convertResponseTypes:!0,correctClockSkew:!1,customUserAgent:null,dynamoDbCrc32:!0,systemClockOffset:0,signatureVersion:null,signatureCache:!0,retryDelayOptions:{},useAccelerateEndpoint:!1,clientSideMonitoring:!1,endpointDiscoveryEnabled:!1,endpointCacheSize:1e3,hostPrefixEnabled:!0,stsRegionalEndpoints:null},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&(e=i.util.copy(e),e.credentials=new i.Credentials(e)),e},setPromisesDependency:function(e){a=e,null===e&&"function"==typeof Promise&&(a=Promise);var t=[i.Request,i.Credentials,i.CredentialProviderChain];i.S3&&(t.push(i.S3),i.S3.ManagedUpload&&t.push(i.S3.ManagedUpload)),i.util.addPromises(t,a)},getPromisesDependency:function(){return a}}),i.config=new i.Config},{"./core":317,"./credentials":318,"./credentials/credential_provider_chain":321}],317:[function(e,t,r){var i={util:e("./util")};({}).toString(),t.exports=i,i.util.update(i,{VERSION:"2.560.0",Signers:{},Protocol:{Json:e("./protocol/json"),Query:e("./protocol/query"),Rest:e("./protocol/rest"),RestJson:e("./protocol/rest_json"),RestXml:e("./protocol/rest_xml")},XML:{Builder:e("./xml/builder"),Parser:null},JSON:{Builder:e("./json/builder"),Parser:e("./json/parser")},Model:{Api:e("./model/api"),Operation:e("./model/operation"),Shape:e("./model/shape"),Paginator:e("./model/paginator"),ResourceWaiter:e("./model/resource_waiter")},apiLoader:e("./api_loader"),EndpointCache:e("../vendor/endpoint-cache").EndpointCache}),e("./sequential_executor"),e("./service"),e("./config"),e("./http"),e("./event_listeners"),e("./request"),e("./response"),e("./resource_waiter"),e("./signers/request_signer"),e("./param_validator"),i.events=new i.SequentialExecutor,i.util.memoizedProperty(i,"endpointCache",function(){return new i.EndpointCache(i.config.endpointCacheSize)},!0)},{"../vendor/endpoint-cache":423,"./api_loader":307,"./config":316,"./event_listeners":338,"./http":339,"./json/builder":341,"./json/parser":342,"./model/api":343,"./model/operation":345,"./model/paginator":346,"./model/resource_waiter":347,"./model/shape":348,"./param_validator":349,"./protocol/json":352,"./protocol/query":353,"./protocol/rest":354,"./protocol/rest_json":355,"./protocol/rest_xml":356,"./request":362,"./resource_waiter":363,"./response":364,"./sequential_executor":366,"./service":367,"./signers/request_signer":383,"./util":391,"./xml/builder":393}],318:[function(e,t,r){var i=e("./core");i.Credentials=i.util.inherit({constructor:function(){if(i.util.hideProperties(this,["secretAccessKey"]),this.expired=!1,this.expireTime=null,this.refreshCallbacks=[],1===arguments.length&&"object"==typeof arguments[0]){var e=arguments[0].credentials||arguments[0];this.accessKeyId=e.accessKeyId,this.secretAccessKey=e.secretAccessKey,this.sessionToken=e.sessionToken}else this.accessKeyId=arguments[0],this.secretAccessKey=arguments[1],this.sessionToken=arguments[2]},expiryWindow:15,needsRefresh:function(){var e=i.util.date.getDate().getTime(),t=new Date(e+1e3*this.expiryWindow);return!!(this.expireTime&&t>this.expireTime)||(this.expired||!this.accessKeyId||!this.secretAccessKey)},get:function(e){var t=this;this.needsRefresh()?this.refresh(function(r){r||(t.expired=!1),e&&e(r)}):e&&e()},refresh:function(e){this.expired=!1,e()},coalesceRefresh:function(e,t){var r=this;1===r.refreshCallbacks.push(e)&&r.load(function(e){i.util.arrayEach(r.refreshCallbacks,function(r){t?r(e):i.util.defer(function(){r(e)})}),r.refreshCallbacks.length=0})},load:function(e){e()}}),i.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=i.util.promisifyMethod("get",e),this.prototype.refreshPromise=i.util.promisifyMethod("refresh",e)},i.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},i.util.addPromises(i.Credentials)},{"./core":317}],319:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.ChainableTemporaryCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),e=e||{},this.errorCode="ChainableTemporaryCredentialsProviderFailure",this.expired=!0,this.tokenCodeFn=null;var t=i.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||"temporary-credentials"),t.SerialNumber){if(!e.tokenCodeFn||"function"!=typeof e.tokenCodeFn)throw new i.util.error(new Error("tokenCodeFn must be a function when params.SerialNumber is given"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var r=i.util.merge({params:t,credentials:e.masterCredentials||i.config.credentials},e.stsConfig||{});this.service=new a(r)},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this,r=t.service.config.params.RoleArn?"assumeRole":"getSessionToken";this.getTokenCode(function(i,a){var s={};if(i)return void e(i);a&&(s.TokenCode=a),t.service[r](s,function(r,i){r||t.service.credentialsFrom(i,t),e(r)})})},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,function(r,a){if(r){var s=r;return r instanceof Error&&(s=r.message),void e(i.util.error(new Error("Error fetching MFA token: "+s),{code:t.errorCode}))}e(null,a)}):e(null)}})},{"../../clients/sts":302,"../core":317}],320:[function(e,t,r){var i=e("../core"),a=e("../../clients/cognitoidentity"),s=e("../../clients/sts");i.CognitoIdentityCredentials=i.util.inherit(i.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e,t){i.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=i.util.copy(t||{}),this.loadCachedId();var r=this;Object.defineProperty(this,"identityId",{get:function(){return r.loadCachedId(),r._identityId||r.params.IdentityId},set:function(e){r._identityId=e}})},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.data=null,t._identityId=null,t.getId(function(r){r?(t.clearIdOnNotAuthorized(r),e(r)):t.params.RoleArn?t.getCredentialsFromSTS(e):t.getCredentialsForIdentity(e)})},clearCachedId:function(){this._identityId=null,delete this.params.IdentityId;var e=this.params.IdentityPoolId,t=this.params.LoginId||"";delete this.storage[this.localStorageKey.id+e+t],delete this.storage[this.localStorageKey.providers+e+t]},clearIdOnNotAuthorized:function(e){var t=this;"NotAuthorizedException"==e.code&&t.clearCachedId()},getId:function(e){var t=this;if("string"==typeof t.params.IdentityId)return e(null,t.params.IdentityId);t.cognito.getId(function(r,i){!r&&i.IdentityId?(t.params.IdentityId=i.IdentityId,e(null,i.IdentityId)):e(r)})},loadCredentials:function(e,t){e&&t&&(t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration)},getCredentialsForIdentity:function(e){var t=this;t.cognito.getCredentialsForIdentity(function(r,i){r?t.clearIdOnNotAuthorized(r):(t.cacheId(i),t.data=i,t.loadCredentials(t.data,t)),e(r)})},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken(function(r,i){r?(t.clearIdOnNotAuthorized(r),e(r)):(t.cacheId(i),t.params.WebIdentityToken=i.Token,t.webIdentityCredentials.refresh(function(r){r||(t.data=t.webIdentityCredentials.data,t.sts.credentialsFrom(t.data,t)),e(r)}))})},loadCachedId:function(){var e=this;if(i.util.isBrowser()&&!e.params.IdentityId){var t=e.getStorage("id");if(t&&e.params.Logins){var r=Object.keys(e.params.Logins);0!==(e.getStorage("providers")||"").split(",").filter(function(e){return-1!==r.indexOf(e)}).length&&(e.params.IdentityId=t)}else t&&(e.params.IdentityId=t)}},createClients:function(){var e=this._clientConfig;if(this.webIdentityCredentials=this.webIdentityCredentials||new i.WebIdentityCredentials(this.params,e),!this.cognito){var t=i.util.merge({},e);t.params=this.params,this.cognito=new a(t)}this.sts=this.sts||new s(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,i.util.isBrowser()&&(this.setStorage("id",e.IdentityId),this.params.Logins&&this.setStorage("providers",Object.keys(this.params.Logins).join(",")))},getStorage:function(e){return this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]},setStorage:function(e,t){try{this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]=t}catch(e){}},storage:function(){try{var e=i.util.isBrowser()&&null!==window.localStorage&&"object"==typeof window.localStorage?window.localStorage:{};return e["aws.test-storage"]="foobar",delete e["aws.test-storage"],e}catch(e){return{}}}()})},{"../../clients/cognitoidentity":237,"../../clients/sts":302,"../core":317}],321:[function(e,t,r){var i=e("../core");i.CredentialProviderChain=i.util.inherit(i.Credentials,{constructor:function(e){this.providers=e||i.CredentialProviderChain.defaultProviders.slice(0),this.resolveCallbacks=[]},resolve:function(e){function t(e,o){if(!e&&o||a===s.length)return i.util.arrayEach(r.resolveCallbacks,function(t){t(e,o)}),void(r.resolveCallbacks.length=0);var n=s[a++];o="function"==typeof n?n.call():n,o.get?o.get(function(e){t(e,e?null:o)}):t(null,o)}var r=this;if(0===r.providers.length)return e(new Error("No providers")),r;if(1===r.resolveCallbacks.push(e)){var a=0,s=r.providers.slice(0);t()}return r}}),i.CredentialProviderChain.defaultProviders=[],i.CredentialProviderChain.addPromisesToClass=function(e){this.prototype.resolvePromise=i.util.promisifyMethod("resolve",e)},i.CredentialProviderChain.deletePromisesFromClass=function(){delete this.prototype.resolvePromise},i.util.addPromises(i.CredentialProviderChain)},{"../core":317}],322:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.SAMLCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithSAML(function(r,i){r||t.service.credentialsFrom(i,t),e(r)})},createClients:function(){this.service=this.service||new a({params:this.params})}})},{"../../clients/sts":302,"../core":317}],323:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.TemporaryCredentials=i.util.inherit(i.Credentials,{constructor:function(e,t){i.Credentials.call(this),this.loadMasterCredentials(t),this.expired=!0,this.params=e||{},this.params.RoleArn&&(this.params.RoleSessionName=this.params.RoleSessionName||"temporary-credentials")},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.masterCredentials.get(function(){t.service.config.credentials=t.masterCredentials,(t.params.RoleArn?t.service.assumeRole:t.service.getSessionToken).call(t.service,function(r,i){r||t.service.credentialsFrom(i,t),e(r)})})},loadMasterCredentials:function(e){for(this.masterCredentials=e||i.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials;"function"!=typeof this.masterCredentials.get&&(this.masterCredentials=new i.Credentials(this.masterCredentials))},createClients:function(){this.service=this.service||new a({params:this.params})}})},{"../../clients/sts":302,"../core":317}],324:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.WebIdentityCredentials=i.util.inherit(i.Credentials,{constructor:function(e,t){i.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null,this._clientConfig=i.util.copy(t||{})},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithWebIdentity(function(r,i){t.data=null,r||(t.data=i,t.service.credentialsFrom(i,t)),e(r)})},createClients:function(){if(!this.service){var e=i.util.merge({},this._clientConfig);e.params=this.params,this.service=new a(e)}}})},{"../../clients/sts":302,"../core":317}],325:[function(e,t,r){(function(r){function i(e){var t=e.service,r=t.api||{},i={};return t.config.region&&(i.region=t.config.region),r.serviceId&&(i.serviceId=r.serviceId),t.config.credentials.accessKeyId&&(i.accessKeyId=t.config.credentials.accessKeyId),i}function a(e,t,r){r&&void 0!==t&&null!==t&&"structure"===r.type&&r.required&&r.required.length>0&&b.arrayEach(r.required,function(i){var s=r.members[i];if(!0===s.endpointDiscoveryId){var o=s.isLocationName?s.name:i;e[o]=String(t[i])}else a(e,t[i],s)})}function s(e,t){var r={};return a(r,e.params,t),r}function o(e){var t=e.service,r=t.api,a=r.operations?r.operations[e.operation]:void 0,o=a?a.input:void 0,n=s(e,o),p=i(e);Object.keys(n).length>0&&(p=b.update(p,n),a&&(p.operation=a.name));var m=y.endpointCache.get(p);if(!m||1!==m.length||""!==m[0].Address)if(m&&m.length>0)e.httpRequest.updateEndpoint(m[0].Address);else{var c=t.makeRequest(r.endpointOperation,{Operation:a.name,Identifiers:n});u(c),c.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),c.removeListener("retry",y.EventListeners.Core.RETRY_CHECK),y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}]),c.send(function(e,t){t&&t.Endpoints?y.endpointCache.put(p,t.Endpoints):e&&y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}])})}}function n(e,t){var r=e.service,a=r.api,o=a.operations?a.operations[e.operation]:void 0,n=o?o.input:void 0,p=s(e,n),m=i(e);Object.keys(p).length>0&&(m=b.update(m,p),o&&(m.operation=o.name));var c=y.EndpointCache.getKeyString(m),l=y.endpointCache.get(c);if(l&&1===l.length&&""===l[0].Address)return S[c]||(S[c]=[]),void S[c].push({request:e,callback:t});if(l&&l.length>0)e.httpRequest.updateEndpoint(l[0].Address),t();else{var d=r.makeRequest(a.endpointOperation,{Operation:o.name,Identifiers:p});d.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),u(d),y.endpointCache.put(c,[{Address:"",CachePeriodInMinutes:60}]),d.send(function(r,i){if(r){var a={code:"EndpointDiscoveryException",message:"Request cannot be fulfilled without specifying an endpoint",retryable:!1};if(e.response.error=b.error(r,a),y.endpointCache.remove(m),S[c]){var s=S[c];b.arrayEach(s,function(e){e.request.response.error=b.error(r,a),e.callback()}),delete S[c]}}else if(i&&(y.endpointCache.put(c,i.Endpoints),e.httpRequest.updateEndpoint(i.Endpoints[0].Address),S[c])){var s=S[c];b.arrayEach(s,function(e){e.request.httpRequest.updateEndpoint(i.Endpoints[0].Address),e.callback()}),delete S[c]}t()})}}function u(e){var t=e.service.api,r=t.apiVersion;r&&!e.httpRequest.headers["x-amz-api-version"]&&(e.httpRequest.headers["x-amz-api-version"]=r)}function p(e){var t=e.error,r=e.httpResponse;if(t&&("InvalidEndpointException"===t.code||421===r.statusCode)){var a=e.request,o=a.service.api.operations||{},n=o[a.operation]?o[a.operation].input:void 0,u=s(a,n),p=i(a);Object.keys(u).length>0&&(p=b.update(p,u),o[a.operation]&&(p.operation=o[a.operation].name)),y.endpointCache.remove(p)}}function m(e){if(e._originalConfig&&e._originalConfig.endpoint&&!0===e._originalConfig.endpointDiscoveryEnabled)throw b.error(new Error,{code:"ConfigurationException",message:"Custom endpoint is supplied; endpointDiscoveryEnabled must not be true."});var t=y.config[e.serviceIdentifier]||{};return Boolean(y.config.endpoint||t.endpoint||e._originalConfig&&e._originalConfig.endpoint)}function c(e){return["false","0"].indexOf(e)>=0}function l(e){if(!0===(e.service||{}).config.endpointDiscoveryEnabled)return!0;if(b.isBrowser())return!1;for(var t=0;t14||14===this.offset&&this.shift<24)&&this.processBlock(),this.offset=14,this.shift=24,this.write(0),this.write(0),this.write(this.totalLength>0xffffffffff?this.totalLength/1099511627776:0),this.write(this.totalLength>4294967295?this.totalLength/4294967296:0);for(var t=24;t>=0;t-=8)this.write(this.totalLength>>t);var r=new a(20),i=new DataView(r.buffer);return i.setUint32(0,this.h0,!1),i.setUint32(4,this.h1,!1),i.setUint32(8,this.h2,!1),i.setUint32(12,this.h3,!1),i.setUint32(16,this.h4,!1),e?r.toString(e):r},i.prototype.processBlock=function(){for(var e=16;e<80;e++){var t=this.block[e-3]^this.block[e-8]^this.block[e-14]^this.block[e-16];this.block[e]=t<<1|t>>>31}var r,i,a=this.h0,s=this.h1,o=this.h2,n=this.h3,u=this.h4;for(e=0;e<80;e++){e<20?(r=n^s&(o^n),i=1518500249):e<40?(r=s^o^n,i=1859775393):e<60?(r=s&o|n&(s|o),i=2400959708):(r=s^o^n,i=3395469782);var p=(a<<5|a>>>27)+r+u+i+(0|this.block[e]);u=n,n=o,o=s<<30|s>>>2,s=a,a=p}for(this.h0=this.h0+a|0,this.h1=this.h1+s|0,this.h2=this.h2+o|0,this.h3=this.h3+n|0,this.h4=this.h4+u|0,this.offset=0,e=0;e<16;e++)this.block[e]=0}},{"./browserHashUtils":309,"buffer/":400}],313:[function(e,t,r){function i(){this.state=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}var a=e("buffer/").Buffer,s=e("./browserHashUtils"),o=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),n=Math.pow(2,53)-1;t.exports=i,i.BLOCK_SIZE=64,i.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(s.isEmptyData(e))return this;e=s.convertToBuffer(e);var t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>n)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0);return this},i.prototype.digest=function(e){if(!this.finished){var t=8*this.bytesHashed,r=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),i=this.bufferLength;if(r.setUint8(this.bufferLength++,128),i%64>=56){for(var s=this.bufferLength;s<64;s++)r.setUint8(s,0);this.hashBuffer(),this.bufferLength=0}for(var s=this.bufferLength;s<56;s++)r.setUint8(s,0);r.setUint32(56,Math.floor(t/4294967296),!0),r.setUint32(60,t),this.hashBuffer(),this.finished=!0}for(var o=new a(32),s=0;s<8;s++)o[4*s]=this.state[s]>>>24&255,o[4*s+1]=this.state[s]>>>16&255,o[4*s+2]=this.state[s]>>>8&255,o[4*s+3]=this.state[s]>>>0&255;return e?o.toString(e):o},i.prototype.hashBuffer=function(){for(var e=this,t=e.buffer,r=e.state,i=r[0],a=r[1],s=r[2],n=r[3],u=r[4],p=r[5],m=r[6],c=r[7],l=0;l<64;l++){if(l<16)this.temp[l]=(255&t[4*l])<<24|(255&t[4*l+1])<<16|(255&t[4*l+2])<<8|255&t[4*l+3];else{var d=this.temp[l-2],y=(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10;d=this.temp[l-15];var b=(d>>>7|d<<25)^(d>>>18|d<<14)^d>>>3;this.temp[l]=(y+this.temp[l-7]|0)+(b+this.temp[l-16]|0)}var h=(((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&p^~u&m)|0)+(c+(o[l]+this.temp[l]|0)|0)|0,S=((i>>>2|i<<30)^(i>>>13|i<<19)^(i>>>22|i<<10))+(i&a^i&s^a&s)|0;c=m,m=p,p=u,u=n+h|0,n=s,s=a,a=i,i=h+S|0}r[0]+=i,r[1]+=a,r[2]+=s,r[3]+=n,r[4]+=u,r[5]+=p,r[6]+=m,r[7]+=c}},{"./browserHashUtils":309,"buffer/":400}],314:[function(e,t,r){(function(r){var i=e("./util");i.crypto.lib=e("./browserCryptoLib"),i.Buffer=e("buffer/").Buffer,i.url=e("url/"),i.querystring=e("querystring/"),i.realClock=e("./realclock/browserClock"),i.environment="js",i.createEventStream=e("./event-stream/buffered-create-event-stream").createEventStream,i.isBrowser=function(){return!0},i.isNode=function(){return!1};var a=e("./core");if(t.exports=a,e("./credentials"),e("./credentials/credential_provider_chain"),e("./credentials/temporary_credentials"),e("./credentials/chainable_temporary_credentials"),e("./credentials/web_identity_credentials"),e("./credentials/cognito_identity_credentials"),e("./credentials/saml_credentials"),a.XML.Parser=e("./xml/browser_parser"),e("./http/xhr"),void 0===r)var r={browser:!0}}).call(this,e("_process"))},{"./browserCryptoLib":308,"./core":317,"./credentials":318,"./credentials/chainable_temporary_credentials":319,"./credentials/cognito_identity_credentials":320,"./credentials/credential_provider_chain":321,"./credentials/saml_credentials":322,"./credentials/temporary_credentials":323,"./credentials/web_identity_credentials":324,"./event-stream/buffered-create-event-stream":332,"./http/xhr":340,"./realclock/browserClock":359,"./util":391,"./xml/browser_parser":392,_process:405,"buffer/":400,"querystring/":412,"url/":414}],315:[function(e,t,r){var i=e("../core"),a=i.util.url,s=i.util.crypto.lib,o=i.util.base64.encode,n=i.util.inherit,u=function(e){var t={"+":"-","=":"_","/":"~"};return e.replace(/[\+=\/]/g,function(e){return t[e]})},p=function(e,t){var r=s.createSign("RSA-SHA1");return r.write(e),u(r.sign(t,"base64"))},m=function(e,t,r,i){var a=JSON.stringify({Statement:[{Resource:e,Condition:{DateLessThan:{"AWS:EpochTime":t}}}]});return{Expires:t,"Key-Pair-Id":r,Signature:p(a.toString(),i)}},c=function(e,t,r){return e=e.replace(/\s/gm,""),{Policy:u(o(e)),"Key-Pair-Id":t,Signature:p(e,r)}},l=function(e){var t=e.split("://");if(t.length<2)throw new Error("Invalid URL.");return t[0].replace("*","")},d=function(e){var t=a.parse(e);return t.path.replace(/^\//,"")+(t.hash||"")},y=function(e){switch(l(e)){case"http":case"https":return e;case"rtmp":return d(e);default:throw new Error("Invalid URI scheme. Scheme must be one of http, https, or rtmp")}},b=function(e,t){if(!t||"function"!=typeof t)throw e;t(e)},h=function(e,t){if(!t||"function"!=typeof t)return e;t(null,e)};i.CloudFront.Signer=n({constructor:function(e,t){if(void 0===e||void 0===t)throw new Error("A key pair ID and private key are required");this.keyPairId=e,this.privateKey=t},getSignedCookie:function(e,t){var r="policy"in e?c(e.policy,this.keyPairId,this.privateKey):m(e.url,e.expires,this.keyPairId,this.privateKey),i={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(i["CloudFront-"+a]=r[a]);return h(i,t)},getSignedUrl:function(e,t){try{var r=y(e.url)}catch(e){return b(e,t)}var i=a.parse(e.url,!0),s=Object.prototype.hasOwnProperty.call(e,"policy")?c(e.policy,this.keyPairId,this.privateKey):m(r,e.expires,this.keyPairId,this.privateKey);i.search=null;for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(i.query[o]=s[o]);try{var n="rtmp"===l(e.url)?d(a.format(i)):a.format(i)}catch(e){return b(e,t)}return h(n,t)}}),t.exports=i.CloudFront.Signer},{"../core":317}],316:[function(e,t,r){var i=e("./core");e("./credentials"),e("./credentials/credential_provider_chain");var a;i.Config=i.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),i.util.each.call(this,this.keys,function(t,r){this.set(t,e[t],r)})},getCredentials:function(e){function t(t){e(t,t?null:a.credentials)}function r(e,t){return new i.util.error(t||new Error,{code:"CredentialsError",message:e,name:"CredentialsError"})}var a=this;a.credentials?"function"==typeof a.credentials.get?function(){a.credentials.get(function(e){e&&(e=r("Could not load credentials from "+a.credentials.constructor.name,e)),t(e)})}():function(){var e=null;a.credentials.accessKeyId&&a.credentials.secretAccessKey||(e=r("Missing credentials")),t(e)}():a.credentialProvider?a.credentialProvider.resolve(function(e,i){e&&(e=r("Could not load credentials from any providers",e)),a.credentials=i,t(e)}):t(r("No credentials to load"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),i.util.each.call(this,e,function(e,r){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||i.Service.hasService(e))&&this.set(e,r)})},loadFromPath:function(e){this.clear();var t=JSON.parse(i.util.readFileSync(e)),r=new i.FileSystemCredentials(e),a=new i.CredentialProviderChain;return a.providers.unshift(r),a.resolve(function(e,r){if(e)throw e;t.credentials=r}),this.constructor(t),this},clear:function(){i.util.each.call(this,this.keys,function(e){delete this[e]}),this.set("credentials",void 0),this.set("credentialProvider",void 0)},set:function(e,t,r){void 0===t?(void 0===r&&(r=this.keys[e]),this[e]="function"==typeof r?r.call(this):r):"httpOptions"===e&&this[e]?this[e]=i.util.merge(this[e],t):this[e]=t},keys:{credentials:null,credentialProvider:null,region:null,logger:null,apiVersions:{},apiVersion:null,endpoint:void 0,httpOptions:{timeout:12e4},maxRetries:void 0,maxRedirects:10,paramValidation:!0,sslEnabled:!0,s3ForcePathStyle:!1,s3BucketEndpoint:!1,s3DisableBodySigning:!0,computeChecksums:!0,convertResponseTypes:!0,correctClockSkew:!1,customUserAgent:null,dynamoDbCrc32:!0,systemClockOffset:0,signatureVersion:null,signatureCache:!0,retryDelayOptions:{},useAccelerateEndpoint:!1,clientSideMonitoring:!1,endpointDiscoveryEnabled:!1,endpointCacheSize:1e3,hostPrefixEnabled:!0,stsRegionalEndpoints:null},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&(e=i.util.copy(e),e.credentials=new i.Credentials(e)),e},setPromisesDependency:function(e){a=e,null===e&&"function"==typeof Promise&&(a=Promise);var t=[i.Request,i.Credentials,i.CredentialProviderChain];i.S3&&(t.push(i.S3),i.S3.ManagedUpload&&t.push(i.S3.ManagedUpload)),i.util.addPromises(t,a)},getPromisesDependency:function(){return a}}),i.config=new i.Config},{"./core":317,"./credentials":318,"./credentials/credential_provider_chain":321}],317:[function(e,t,r){var i={util:e("./util")};({}).toString(),t.exports=i,i.util.update(i,{VERSION:"2.561.0",Signers:{},Protocol:{Json:e("./protocol/json"),Query:e("./protocol/query"),Rest:e("./protocol/rest"),RestJson:e("./protocol/rest_json"),RestXml:e("./protocol/rest_xml")},XML:{Builder:e("./xml/builder"),Parser:null},JSON:{Builder:e("./json/builder"),Parser:e("./json/parser")},Model:{Api:e("./model/api"),Operation:e("./model/operation"),Shape:e("./model/shape"),Paginator:e("./model/paginator"),ResourceWaiter:e("./model/resource_waiter")},apiLoader:e("./api_loader"),EndpointCache:e("../vendor/endpoint-cache").EndpointCache}),e("./sequential_executor"),e("./service"),e("./config"),e("./http"),e("./event_listeners"),e("./request"),e("./response"),e("./resource_waiter"),e("./signers/request_signer"),e("./param_validator"),i.events=new i.SequentialExecutor,i.util.memoizedProperty(i,"endpointCache",function(){return new i.EndpointCache(i.config.endpointCacheSize)},!0)},{"../vendor/endpoint-cache":423,"./api_loader":307,"./config":316,"./event_listeners":338,"./http":339,"./json/builder":341,"./json/parser":342,"./model/api":343,"./model/operation":345,"./model/paginator":346,"./model/resource_waiter":347,"./model/shape":348,"./param_validator":349,"./protocol/json":352,"./protocol/query":353,"./protocol/rest":354,"./protocol/rest_json":355,"./protocol/rest_xml":356,"./request":362,"./resource_waiter":363,"./response":364,"./sequential_executor":366,"./service":367,"./signers/request_signer":383,"./util":391,"./xml/builder":393}],318:[function(e,t,r){var i=e("./core");i.Credentials=i.util.inherit({constructor:function(){if(i.util.hideProperties(this,["secretAccessKey"]),this.expired=!1,this.expireTime=null,this.refreshCallbacks=[],1===arguments.length&&"object"==typeof arguments[0]){var e=arguments[0].credentials||arguments[0];this.accessKeyId=e.accessKeyId,this.secretAccessKey=e.secretAccessKey,this.sessionToken=e.sessionToken}else this.accessKeyId=arguments[0],this.secretAccessKey=arguments[1],this.sessionToken=arguments[2]},expiryWindow:15,needsRefresh:function(){var e=i.util.date.getDate().getTime(),t=new Date(e+1e3*this.expiryWindow);return!!(this.expireTime&&t>this.expireTime)||(this.expired||!this.accessKeyId||!this.secretAccessKey)},get:function(e){var t=this;this.needsRefresh()?this.refresh(function(r){r||(t.expired=!1),e&&e(r)}):e&&e()},refresh:function(e){this.expired=!1,e()},coalesceRefresh:function(e,t){var r=this;1===r.refreshCallbacks.push(e)&&r.load(function(e){i.util.arrayEach(r.refreshCallbacks,function(r){t?r(e):i.util.defer(function(){r(e)})}),r.refreshCallbacks.length=0})},load:function(e){e()}}),i.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=i.util.promisifyMethod("get",e),this.prototype.refreshPromise=i.util.promisifyMethod("refresh",e)},i.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},i.util.addPromises(i.Credentials)},{"./core":317}],319:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.ChainableTemporaryCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),e=e||{},this.errorCode="ChainableTemporaryCredentialsProviderFailure",this.expired=!0,this.tokenCodeFn=null;var t=i.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||"temporary-credentials"),t.SerialNumber){if(!e.tokenCodeFn||"function"!=typeof e.tokenCodeFn)throw new i.util.error(new Error("tokenCodeFn must be a function when params.SerialNumber is given"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var r=i.util.merge({params:t,credentials:e.masterCredentials||i.config.credentials},e.stsConfig||{});this.service=new a(r)},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this,r=t.service.config.params.RoleArn?"assumeRole":"getSessionToken";this.getTokenCode(function(i,a){var s={};if(i)return void e(i);a&&(s.TokenCode=a),t.service[r](s,function(r,i){r||t.service.credentialsFrom(i,t),e(r)})})},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,function(r,a){if(r){var s=r;return r instanceof Error&&(s=r.message),void e(i.util.error(new Error("Error fetching MFA token: "+s),{code:t.errorCode}))}e(null,a)}):e(null)}})},{"../../clients/sts":302,"../core":317}],320:[function(e,t,r){var i=e("../core"),a=e("../../clients/cognitoidentity"),s=e("../../clients/sts");i.CognitoIdentityCredentials=i.util.inherit(i.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e,t){i.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=i.util.copy(t||{}),this.loadCachedId();var r=this;Object.defineProperty(this,"identityId",{get:function(){return r.loadCachedId(),r._identityId||r.params.IdentityId},set:function(e){r._identityId=e}})},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.data=null,t._identityId=null,t.getId(function(r){r?(t.clearIdOnNotAuthorized(r),e(r)):t.params.RoleArn?t.getCredentialsFromSTS(e):t.getCredentialsForIdentity(e)})},clearCachedId:function(){this._identityId=null,delete this.params.IdentityId;var e=this.params.IdentityPoolId,t=this.params.LoginId||"";delete this.storage[this.localStorageKey.id+e+t],delete this.storage[this.localStorageKey.providers+e+t]},clearIdOnNotAuthorized:function(e){var t=this;"NotAuthorizedException"==e.code&&t.clearCachedId()},getId:function(e){var t=this;if("string"==typeof t.params.IdentityId)return e(null,t.params.IdentityId);t.cognito.getId(function(r,i){!r&&i.IdentityId?(t.params.IdentityId=i.IdentityId,e(null,i.IdentityId)):e(r)})},loadCredentials:function(e,t){e&&t&&(t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration)},getCredentialsForIdentity:function(e){var t=this;t.cognito.getCredentialsForIdentity(function(r,i){r?t.clearIdOnNotAuthorized(r):(t.cacheId(i),t.data=i,t.loadCredentials(t.data,t)),e(r)})},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken(function(r,i){r?(t.clearIdOnNotAuthorized(r),e(r)):(t.cacheId(i),t.params.WebIdentityToken=i.Token,t.webIdentityCredentials.refresh(function(r){r||(t.data=t.webIdentityCredentials.data,t.sts.credentialsFrom(t.data,t)),e(r)}))})},loadCachedId:function(){var e=this;if(i.util.isBrowser()&&!e.params.IdentityId){var t=e.getStorage("id");if(t&&e.params.Logins){var r=Object.keys(e.params.Logins);0!==(e.getStorage("providers")||"").split(",").filter(function(e){return-1!==r.indexOf(e)}).length&&(e.params.IdentityId=t)}else t&&(e.params.IdentityId=t)}},createClients:function(){var e=this._clientConfig;if(this.webIdentityCredentials=this.webIdentityCredentials||new i.WebIdentityCredentials(this.params,e),!this.cognito){var t=i.util.merge({},e);t.params=this.params,this.cognito=new a(t)}this.sts=this.sts||new s(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,i.util.isBrowser()&&(this.setStorage("id",e.IdentityId),this.params.Logins&&this.setStorage("providers",Object.keys(this.params.Logins).join(",")))},getStorage:function(e){return this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]},setStorage:function(e,t){try{this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]=t}catch(e){}},storage:function(){try{var e=i.util.isBrowser()&&null!==window.localStorage&&"object"==typeof window.localStorage?window.localStorage:{};return e["aws.test-storage"]="foobar",delete e["aws.test-storage"],e}catch(e){return{}}}()})},{"../../clients/cognitoidentity":237,"../../clients/sts":302,"../core":317}],321:[function(e,t,r){var i=e("../core");i.CredentialProviderChain=i.util.inherit(i.Credentials,{constructor:function(e){this.providers=e||i.CredentialProviderChain.defaultProviders.slice(0),this.resolveCallbacks=[]},resolve:function(e){function t(e,o){if(!e&&o||a===s.length)return i.util.arrayEach(r.resolveCallbacks,function(t){t(e,o)}),void(r.resolveCallbacks.length=0);var n=s[a++];o="function"==typeof n?n.call():n,o.get?o.get(function(e){t(e,e?null:o)}):t(null,o)}var r=this;if(0===r.providers.length)return e(new Error("No providers")),r;if(1===r.resolveCallbacks.push(e)){var a=0,s=r.providers.slice(0);t()}return r}}),i.CredentialProviderChain.defaultProviders=[],i.CredentialProviderChain.addPromisesToClass=function(e){this.prototype.resolvePromise=i.util.promisifyMethod("resolve",e)},i.CredentialProviderChain.deletePromisesFromClass=function(){delete this.prototype.resolvePromise},i.util.addPromises(i.CredentialProviderChain)},{"../core":317}],322:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.SAMLCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithSAML(function(r,i){r||t.service.credentialsFrom(i,t),e(r)})},createClients:function(){this.service=this.service||new a({params:this.params})}})},{"../../clients/sts":302,"../core":317}],323:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.TemporaryCredentials=i.util.inherit(i.Credentials,{constructor:function(e,t){i.Credentials.call(this),this.loadMasterCredentials(t),this.expired=!0,this.params=e||{},this.params.RoleArn&&(this.params.RoleSessionName=this.params.RoleSessionName||"temporary-credentials")},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.masterCredentials.get(function(){t.service.config.credentials=t.masterCredentials,(t.params.RoleArn?t.service.assumeRole:t.service.getSessionToken).call(t.service,function(r,i){r||t.service.credentialsFrom(i,t),e(r)})})},loadMasterCredentials:function(e){for(this.masterCredentials=e||i.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials;"function"!=typeof this.masterCredentials.get&&(this.masterCredentials=new i.Credentials(this.masterCredentials))},createClients:function(){this.service=this.service||new a({params:this.params})}})},{"../../clients/sts":302,"../core":317}],324:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.WebIdentityCredentials=i.util.inherit(i.Credentials,{constructor:function(e,t){i.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null,this._clientConfig=i.util.copy(t||{})},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithWebIdentity(function(r,i){t.data=null,r||(t.data=i,t.service.credentialsFrom(i,t)),e(r)})},createClients:function(){if(!this.service){var e=i.util.merge({},this._clientConfig);e.params=this.params,this.service=new a(e)}}})},{"../../clients/sts":302,"../core":317}],325:[function(e,t,r){(function(r){function i(e){var t=e.service,r=t.api||{},i={};return t.config.region&&(i.region=t.config.region),r.serviceId&&(i.serviceId=r.serviceId),t.config.credentials.accessKeyId&&(i.accessKeyId=t.config.credentials.accessKeyId),i}function a(e,t,r){r&&void 0!==t&&null!==t&&"structure"===r.type&&r.required&&r.required.length>0&&b.arrayEach(r.required,function(i){var s=r.members[i];if(!0===s.endpointDiscoveryId){var o=s.isLocationName?s.name:i;e[o]=String(t[i])}else a(e,t[i],s)})}function s(e,t){var r={};return a(r,e.params,t),r}function o(e){var t=e.service,r=t.api,a=r.operations?r.operations[e.operation]:void 0,o=a?a.input:void 0,n=s(e,o),p=i(e);Object.keys(n).length>0&&(p=b.update(p,n),a&&(p.operation=a.name));var m=y.endpointCache.get(p);if(!m||1!==m.length||""!==m[0].Address)if(m&&m.length>0)e.httpRequest.updateEndpoint(m[0].Address);else{var c=t.makeRequest(r.endpointOperation,{Operation:a.name,Identifiers:n});u(c),c.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),c.removeListener("retry",y.EventListeners.Core.RETRY_CHECK),y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}]),c.send(function(e,t){t&&t.Endpoints?y.endpointCache.put(p,t.Endpoints):e&&y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}])})}}function n(e,t){var r=e.service,a=r.api,o=a.operations?a.operations[e.operation]:void 0,n=o?o.input:void 0,p=s(e,n),m=i(e);Object.keys(p).length>0&&(m=b.update(m,p),o&&(m.operation=o.name));var c=y.EndpointCache.getKeyString(m),l=y.endpointCache.get(c);if(l&&1===l.length&&""===l[0].Address)return S[c]||(S[c]=[]),void S[c].push({request:e,callback:t});if(l&&l.length>0)e.httpRequest.updateEndpoint(l[0].Address),t();else{var d=r.makeRequest(a.endpointOperation,{Operation:o.name,Identifiers:p});d.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),u(d),y.endpointCache.put(c,[{Address:"",CachePeriodInMinutes:60}]),d.send(function(r,i){if(r){var a={code:"EndpointDiscoveryException",message:"Request cannot be fulfilled without specifying an endpoint",retryable:!1};if(e.response.error=b.error(r,a),y.endpointCache.remove(m),S[c]){var s=S[c];b.arrayEach(s,function(e){e.request.response.error=b.error(r,a),e.callback()}),delete S[c]}}else if(i&&(y.endpointCache.put(c,i.Endpoints),e.httpRequest.updateEndpoint(i.Endpoints[0].Address),S[c])){var s=S[c];b.arrayEach(s,function(e){e.request.httpRequest.updateEndpoint(i.Endpoints[0].Address),e.callback()}),delete S[c]}t()})}}function u(e){var t=e.service.api,r=t.apiVersion;r&&!e.httpRequest.headers["x-amz-api-version"]&&(e.httpRequest.headers["x-amz-api-version"]=r)}function p(e){var t=e.error,r=e.httpResponse;if(t&&("InvalidEndpointException"===t.code||421===r.statusCode)){var a=e.request,o=a.service.api.operations||{},n=o[a.operation]?o[a.operation].input:void 0,u=s(a,n),p=i(a);Object.keys(u).length>0&&(p=b.update(p,u),o[a.operation]&&(p.operation=o[a.operation].name)),y.endpointCache.remove(p)}}function m(e){if(e._originalConfig&&e._originalConfig.endpoint&&!0===e._originalConfig.endpointDiscoveryEnabled)throw b.error(new Error,{code:"ConfigurationException",message:"Custom endpoint is supplied; endpointDiscoveryEnabled must not be true."});var t=y.config[e.serviceIdentifier]||{};return Boolean(y.config.endpoint||t.endpoint||e._originalConfig&&e._originalConfig.endpoint)}function c(e){return["false","0"].indexOf(e)>=0}function l(e){if(!0===(e.service||{}).config.endpointDiscoveryEnabled)return!0;if(b.isBrowser())return!1;for(var t=0;t-1&&0===++e[t];t--);}var s=e("../core").util,o=s.buffer.toBuffer;i.fromNumber=function(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(e+" is too large (or, if negative, too small) to represent as an Int64");for(var t=new Uint8Array(8),r=7,s=Math.abs(Math.round(e));r>-1&&s>0;r--,s/=256)t[r]=s;return e<0&&a(t),new i(t)},i.prototype.valueOf=function(){var e=this.bytes.slice(0),t=128&e[0];return t&&a(e),parseInt(e.toString("hex"),16)*(t?-1:1)},i.prototype.toString=function(){return String(this.valueOf())},t.exports={Int64:i}},{"../core":317}],335:[function(e,t,r){function i(e,t,r){var i=s(t),o=i.headers[":message-type"];if(o){if("error"===o.value)throw a(i);if("event"!==o.value)return}var n=i.headers[":event-type"],u=r.members[n.value];if(u){var p={},m=u.eventPayloadMemberName;if(m){var c=u.members[m];"binary"===c.type?p[m]=i.body:p[m]=e.parse(i.body.toString(),c)}for(var l=u.eventHeaderMemberNames,d=0;d=0)return e.httpRequest.headers["X-Amz-Content-Sha256"]="UNSIGNED-PAYLOAD",t();a.util.computeSha256(s,function(r,i){r?t(r):(e.httpRequest.headers["X-Amz-Content-Sha256"]=i,t())})}else t()}}),e("SET_CONTENT_LENGTH","afterBuild",function(e){var t=i(e),r=a.util.getRequestPayloadShape(e);if(void 0===e.httpRequest.headers["Content-Length"])try{var s=a.util.string.byteLength(e.httpRequest.body);e.httpRequest.headers["Content-Length"]=s}catch(i){if(r&&r.isStreaming){if(r.requiresLength)throw i;if(t.indexOf("unsigned-body")>=0)return void(e.httpRequest.headers["Transfer-Encoding"]="chunked");throw i}throw i}}),e("SET_HTTP_HOST","afterBuild",function(e){e.httpRequest.headers.Host=e.httpRequest.endpoint.host}),e("RESTART","restart",function(){var e=this.response.error;e&&e.retryable&&(this.httpRequest=new a.HttpRequest(this.service.endpoint,this.service.region),this.response.retryCount=600?this.emit("sign",[this],function(e){e?t(e):o()}):o()}),e("HTTP_HEADERS","httpHeaders",function(e,t,r,i){r.httpResponse.statusCode=e,r.httpResponse.statusMessage=i,r.httpResponse.headers=t,r.httpResponse.body=a.util.buffer.toBuffer(""),r.httpResponse.buffers=[],r.httpResponse.numBytes=0;var s=t.date||t.Date,o=r.request.service;if(s){var n=Date.parse(s);o.config.correctClockSkew&&o.isClockSkewed(n)&&o.applyClockOffset(n)}}),e("HTTP_DATA","httpData",function(e,t){if(e){if(a.util.isNode()){t.httpResponse.numBytes+=e.length;var r=t.httpResponse.headers["content-length"],i={loaded:t.httpResponse.numBytes,total:r};t.request.emit("httpDownloadProgress",[i,t])}t.httpResponse.buffers.push(a.util.buffer.toBuffer(e))}}),e("HTTP_DONE","httpDone",function(e){if(e.httpResponse.buffers&&e.httpResponse.buffers.length>0){var t=a.util.buffer.concat(e.httpResponse.buffers);e.httpResponse.body=t}delete e.httpResponse.numBytes,delete e.httpResponse.buffers}),e("FINALIZE_ERROR","retry",function(e){e.httpResponse.statusCode&&(e.error.statusCode=e.httpResponse.statusCode,void 0===e.error.retryable&&(e.error.retryable=this.service.retryableError(e.error,this)))}),e("INVALIDATE_CREDENTIALS","retry",function(e){if(e.error)switch(e.error.code){case"RequestExpired":case"ExpiredTokenException":case"ExpiredToken":e.error.retryable=!0,e.request.service.config.credentials.expired=!0}}),e("EXPIRED_SIGNATURE","retry",function(e){var t=e.error;t&&"string"==typeof t.code&&"string"==typeof t.message&&t.code.match(/Signature/)&&t.message.match(/expired/)&&(e.error.retryable=!0)}),e("CLOCK_SKEWED","retry",function(e){e.error&&this.service.clockSkewError(e.error)&&this.service.config.correctClockSkew&&(e.error.retryable=!0)}),e("REDIRECT","retry",function(e){e.error&&e.error.statusCode>=300&&e.error.statusCode<400&&e.httpResponse.headers.location&&(this.httpRequest.endpoint=new a.Endpoint(e.httpResponse.headers.location),this.httpRequest.headers.Host=this.httpRequest.endpoint.host,e.error.redirect=!0,e.error.retryable=!0)}),e("RETRY_CHECK","retry",function(e){e.error&&(e.error.redirect&&e.redirectCount=this.HEADERS_RECEIVED&&!c&&(u.statusCode=m.status,u.headers=o.parseHeaders(m.getAllResponseHeaders()),u.emit("headers",u.statusCode,u.headers,m.statusText),c=!0),this.readyState===this.DONE&&o.finishRequest(m,u)},!1),m.upload.addEventListener("progress",function(e){u.emit("sendProgress",e)}),m.addEventListener("progress",function(e){u.emit("receiveProgress",e)},!1),m.addEventListener("timeout",function(){s(i.util.error(new Error("Timeout"),{code:"TimeoutError"}))},!1),m.addEventListener("error",function(){s(i.util.error(new Error("Network Failure"),{code:"NetworkingError"}))},!1),m.addEventListener("abort",function(){s(i.util.error(new Error("Request aborted"),{code:"RequestAbortedError"}))},!1),r(u),m.open(e.method,p,!1!==t.xhrAsync),i.util.each(e.headers,function(e,t){"Content-Length"!==e&&"User-Agent"!==e&&"Host"!==e&&m.setRequestHeader(e,t)}),t.timeout&&!1!==t.xhrAsync&&(m.timeout=t.timeout),t.xhrWithCredentials&&(m.withCredentials=!0);try{m.responseType="arraybuffer"}catch(e){}try{e.body?m.send(e.body):m.send()}catch(t){if(!e.body||"object"!=typeof e.body.buffer)throw t;m.send(e.body.buffer)}return u},parseHeaders:function(e){var t={};return i.util.arrayEach(e.split(/\r?\n/),function(e){var r=e.split(":",1)[0],i=e.substring(r.length+2);r.length>0&&(t[r.toLowerCase()]=i)}),t},finishRequest:function(e,t){var r;if("arraybuffer"===e.responseType&&e.response){var a=e.response;r=new i.util.Buffer(a.byteLength);for(var s=new Uint8Array(a),o=0;o-1?t||"":t,
this.isJsonValue?JSON.parse(t):t&&"function"==typeof t.toString?t.toString():t},this.toWireFormat=function(e){return this.isJsonValue?JSON.stringify(e):e}}function l(){s.apply(this,arguments),this.toType=function(e){return null===e||void 0===e?null:parseFloat(e)},this.toWireFormat=this.toType}function d(){s.apply(this,arguments),this.toType=function(e){return null===e||void 0===e?null:parseInt(e,10)},this.toWireFormat=this.toType}function y(){s.apply(this,arguments),this.toType=function(e){var t=g.base64.decode(e);if(this.isSensitive&&g.isNode()&&"function"==typeof g.Buffer.alloc){var r=g.Buffer.alloc(t.length,t);t.fill(0),t=r}return t},this.toWireFormat=g.base64.encode}function b(){y.apply(this,arguments)}function h(){s.apply(this,arguments),this.toType=function(e){return"boolean"==typeof e?e:null===e||void 0===e?null:"true"===e}}var S=e("./collection"),g=e("../util");s.normalizedTypes={character:"string",double:"float",long:"integer",short:"integer",biginteger:"integer",bigdecimal:"float",blob:"binary"},s.types={structure:n,list:u,map:p,boolean:h,timestamp:m,float:l,integer:d,string:c,base64:b,binary:y},s.resolve=function(e,t){if(e.shape){var r=t.api.shapes[e.shape];if(!r)throw new Error("Cannot find shape reference: "+e.shape);return r}return null},s.create=function(e,t,r){if(e.isShape)return e;var i=s.resolve(e,t);if(i){var a=Object.keys(e);t.documentation||(a=a.filter(function(e){return!e.match(/documentation/)}));var o=function(){i.constructor.call(this,e,t,r)};return o.prototype=i,new o}e.type||(e.members?e.type="structure":e.member?e.type="list":e.key?e.type="map":e.type="string");var n=e.type;if(s.normalizedTypes[e.type]&&(e.type=s.normalizedTypes[e.type]),s.types[e.type])return new s.types[e.type](e,t,r);throw new Error("Unrecognized shape type: "+n)},s.shapes={StructureShape:n,ListShape:u,MapShape:p,StringShape:c,BooleanShape:h,Base64Shape:b},t.exports=s},{"../util":391,"./collection":344}],349:[function(e,t,r){var i=e("./core");i.ParamValidator=i.util.inherit({constructor:function(e){!0!==e&&void 0!==e||(e={min:!0}),this.validation=e},validate:function(e,t,r){if(this.errors=[],this.validateMember(e,t||{},r||"params"),this.errors.length>1){var a=this.errors.join("\n* ");throw a="There were "+this.errors.length+" validation errors:\n* "+a,i.util.error(new Error(a),{code:"MultipleValidationErrors",errors:this.errors})}if(1===this.errors.length)throw this.errors[0];return!0},fail:function(e,t){this.errors.push(i.util.error(new Error(t),{code:e}))},validateStructure:function(e,t,r){this.validateType(t,r,["object"],"structure");for(var i,a=0;e.required&&a= 1, but found "'+t+'" for '+r)},validatePattern:function(e,t,r){this.validation.pattern&&void 0!==e.pattern&&(new RegExp(e.pattern).test(t)||this.fail("PatternMatchError",'Provided value "'+t+'" does not match regex pattern /'+e.pattern+"/ for "+r))},validateRange:function(e,t,r,i){this.validation.min&&void 0!==e.min&&t= "+e.min+", but found "+t+" for "+r),this.validation.max&&void 0!==e.max&&t>e.max&&this.fail("MaxRangeError","Expected "+i+" <= "+e.max+", but found "+t+" for "+r)},validateEnum:function(e,t,r){this.validation.enum&&void 0!==e.enum&&-1===e.enum.indexOf(t)&&this.fail("EnumError","Found string value of "+t+", but expected "+e.enum.join("|")+" for "+r)},validateType:function(e,t,r,a){if(null===e||void 0===e)return!1;for(var s=!1,o=0;o63)throw u.error(new Error,{code:"ValidationError",message:"Hostname label length should be between 1 to 63 characters, inclusive."});if(!r.test(e))throw p.util.error(new Error,{code:"ValidationError",message:e+" is not hostname compatible."})})}var u=e("../util"),p=e("../core");t.exports={populateHostPrefix:i}},{"../core":317,"../util":391}],352:[function(e,t,r){function i(e){var t=e.httpRequest,r=e.service.api,i=r.targetPrefix+"."+r.operations[e.operation].name,a=r.jsonVersion||"1.0",s=r.operations[e.operation].input,o=new n;1===a&&(a="1.0"),t.body=o.build(e.params||{},s),t.headers["Content-Type"]="application/x-amz-json-"+a,t.headers["X-Amz-Target"]=i,p(e)}function a(e){var t={},r=e.httpResponse;if(t.code=r.headers["x-amzn-errortype"]||"UnknownError","string"==typeof t.code&&(t.code=t.code.split(":")[0]),r.body.length>0)try{var i=JSON.parse(r.body.toString());(i.__type||i.code)&&(t.code=(i.__type||i.code).split("#").pop()),"RequestEntityTooLarge"===t.code?t.message="Request body must be less than 1 MB":t.message=i.message||i.Message||null}catch(i){t.statusCode=r.statusCode,t.message=r.statusMessage}else t.statusCode=r.statusCode,t.message=r.statusCode.toString();e.error=o.error(new Error,t)}function s(e){var t=e.httpResponse.body.toString()||"{}";if(!1===e.request.service.config.convertResponseTypes)e.data=JSON.parse(t);else{var r=e.request.service.api.operations[e.request.operation],i=r.output||{},a=new u;e.data=a.parse(t,i)}}var o=e("../util"),n=e("../json/builder"),u=e("../json/parser"),p=e("./helpers").populateHostPrefix;t.exports={buildRequest:i,extractError:a,extractData:s}},{"../json/builder":341,"../json/parser":342,"../util":391,"./helpers":351}],353:[function(e,t,r){function i(e){var t=e.service.api.operations[e.operation],r=e.httpRequest;r.headers["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8",r.params={Version:e.service.api.apiVersion,Action:t.name},(new u).serialize(e.params,t.input,function(e,t){r.params[e]=t}),r.body=n.queryParamsToString(r.params),m(e)}function a(e){var t,r=e.httpResponse.body.toString();if(r.match("=0?"&":"?";var n=[];m.arrayEach(Object.keys(s).sort(),function(e){Array.isArray(s[e])||(s[e]=[s[e]]);for(var t=0;t0){t=new n.XML.Parser;var c=t.parse(i.toString(),s);u.update(e.data,c)}}var n=e("../core"),u=e("../util"),p=e("./rest");t.exports={buildRequest:a,extractError:s,extractData:o}},{"../core":317,"../util":391,"./rest":354}],357:[function(e,t,r){function i(){}function a(e){return e.isQueryName||"ec2"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function s(e,t,r,i){p.each(r.members,function(r,s){var o=t[r];if(null!==o&&void 0!==o){var n=a(s);n=e?e+"."+n:n,u(n,o,s,i)}})}function o(e,t,r,i){var a=1;p.each(t,function(t,s){var o=r.flattened?".":".entry.",n=o+a+++".",p=n+(r.key.name||"key"),m=n+(r.value.name||"value");u(e+p,t,r.key,i),u(e+m,s,r.value,i)})}function n(e,t,r,i){var s=r.member||{};if(0===t.length)return void i.call(this,e,null);p.arrayEach(t,function(t,o){var n="."+(o+1);if("ec2"===r.api.protocol)n+="";else if(r.flattened){if(s.name){var p=e.split(".");p.pop(),p.push(a(s)),e=p.join(".")}}else n="."+(s.name?s.name:"member")+n;u(e+n,t,s,i)})}function u(e,t,r,i){null!==t&&void 0!==t&&("structure"===r.type?s(e,t,r,i):"list"===r.type?n(e,t,r,i):"map"===r.type?o(e,t,r,i):i(e,r.toWireFormat(t).toString()))}var p=e("../util");i.prototype.serialize=function(e,t,r){s("",e,t,r)},t.exports=i},{"../util":391}],358:[function(e,t,r){var i=e("../core"),a=null,s={signatureVersion:"v4",signingName:"rds-db",operations:{}},o={region:"string",hostname:"string",port:"number",username:"string"};i.RDS.Signer=i.util.inherit({constructor:function(e){this.options=e||{}},convertUrlToAuthToken:function(e){if(0===e.indexOf("https://"))return e.substring("https://".length)},getAuthToken:function(e,t){"function"==typeof e&&void 0===t&&(t=e,e={});var r=this,o="function"==typeof t;e=i.util.merge(this.options,e);var n=this.validateAuthTokenOptions(e);if(!0!==n){if(o)return t(n,null);throw n}var u={region:e.region,endpoint:new i.Endpoint(e.hostname+":"+e.port),paramValidation:!1,signatureVersion:"v4"};e.credentials&&(u.credentials=e.credentials),a=new i.Service(u),a.api=s;var p=a.makeRequest();if(this.modifyRequestForAuthToken(p,e),!o){var m=p.presign(900);return this.convertUrlToAuthToken(m)}p.presign(900,function(e,i){i&&(i=r.convertUrlToAuthToken(i)),t(e,i)})},modifyRequestForAuthToken:function(e,t){e.on("build",e.buildAsGet),e.httpRequest.body=i.util.queryParamsToString({Action:"connect",DBUser:t.username})},validateAuthTokenOptions:function(e){var t="";e=e||{};for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&typeof e[r]!==o[r]&&(t+="option '"+r+"' should have been type '"+o[r]+"', was '"+typeof e[r]+"'.\n");return!t.length||i.util.error(new Error,{code:"InvalidParameter",message:t})}})},{"../core":317}],359:[function(e,t,r){t.exports={now:function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}}},{}],360:[function(e,t,r){function i(e){if(!e)return null;var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}function a(e){var t=e.config.region,r=i(t),a=e.api.endpointPrefix;return[[t,a],[r,a],[t,"*"],[r,"*"],["*",a],["*","*"]].map(function(e){return e[0]&&e[1]?e.join("/"):null})}function s(e,t){n.each(t,function(t,r){"globalEndpoint"!==t&&(void 0!==e.config[t]&&null!==e.config[t]||(e.config[t]=r))})}function o(e){for(var t=a(e),r=0;r=0){u=!0;var p=0}var m=function(){u&&p!==n?a.emit("error",i.util.error(new Error("Stream content length mismatch. Received "+p+" of "+n+" bytes."),{code:"StreamContentLengthMismatch"})):2===i.HttpClient.streamsApiVersion?a.end():a.emit("end")},c=o.httpResponse.createUnbufferedStream();if(2===i.HttpClient.streamsApiVersion)if(u){var l=new e.PassThrough;l._write=function(t){return t&&t.length&&(p+=t.length),e.PassThrough.prototype._write.apply(this,arguments)},l.on("end",m),a.on("error",function(e){u=!1,c.unpipe(l),l.emit("end"),l.end()}),c.pipe(l).pipe(a,{end:!1})}else c.pipe(a);else u&&c.on("data",function(e){e&&e.length&&(p+=e.length)}),c.on("data",function(e){a.emit("data",e)}),c.on("end",m);c.on("error",function(e){u=!1,a.emit("error",e)})}}),a},emitEvent:function(e,t,r){"function"==typeof t&&(r=t,t=null),r||(r=function(){}),t||(t=this.eventParameters(e,this.response)),i.SequentialExecutor.prototype.emit.call(this,e,t,function(e){e&&(this.response.error=e),r.call(this,e)})},eventParameters:function(e){switch(e){case"restart":case"validate":case"sign":case"build":case"afterValidate":case"afterBuild":return[this];case"error":return[this.response.error,this.response];default:return[this.response]}},presign:function(e,t){return t||"function"!=typeof e||(t=e,e=null),(new i.Signers.Presign).sign(this.toGet(),e,t)},isPresigned:function(){return Object.prototype.hasOwnProperty.call(this.httpRequest.headers,"presigned-expires")},toUnauthenticated:function(){return this._unAuthenticated=!0,this.removeListener("validate",i.EventListeners.Core.VALIDATE_CREDENTIALS),this.removeListener("sign",i.EventListeners.Core.SIGN),this},toGet:function(){return"query"!==this.service.api.protocol&&"ec2"!==this.service.api.protocol||(this.removeListener("build",this.buildAsGet),this.addListener("build",this.buildAsGet)),this},buildAsGet:function(e){e.httpRequest.method="GET",e.httpRequest.path=e.service.endpoint.path+"?"+e.httpRequest.body,e.httpRequest.body="",delete e.httpRequest.headers["Content-Length"],delete e.httpRequest.headers["Content-Type"]},haltHandlersOnError:function(){this._haltHandlersOnError=!0}}),i.Request.addPromisesToClass=function(e){this.prototype.promise=function(){var t=this;return this.httpRequest.appendToUserAgent("promise"),new e(function(e,r){t.on("complete",function(t){t.error?r(t.error):e(Object.defineProperty(t.data||{},"$response",{value:t}))}),t.runTo()})}},i.Request.deletePromisesFromClass=function(){delete this.prototype.promise},i.util.addPromises(i.Request),i.util.mixin(i.Request,i.SequentialExecutor)}).call(this,e("_process"))},{"./core":317,"./state_machine":390,_process:405,jmespath:404}],363:[function(e,t,r){function i(e){var t=e.request._waiter,r=t.config.acceptors,i=!1,a="retry";r.forEach(function(r){if(!i){var s=t.matchers[r.matcher];s&&s(e,r.expected,r.argument)&&(i=!0,a=r.state)}}),!i&&e.error&&(a="failure"),"success"===a?t.setSuccess(e):t.setError(e,"retry"===a)}var a=e("./core"),s=a.util.inherit,o=e("jmespath");a.ResourceWaiter=s({constructor:function(e,t){this.service=e,this.state=t,this.loadWaiterConfig(this.state)},service:null,state:null,config:null,matchers:{path:function(e,t,r){try{var i=o.search(e.data,r)}catch(e){return!1}return o.strictDeepEqual(i,t)},pathAll:function(e,t,r){try{var i=o.search(e.data,r)}catch(e){return!1}Array.isArray(i)||(i=[i]);var a=i.length;if(!a)return!1;for(var s=0;s=1&&t.doneParts===t.numParts&&t.finishMultiPart()}))}r&&t.fillQueue.call(t)},abort:function(){var e=this;!0===e.isDoneChunking&&1===e.totalPartNumbers&&e.singlePart?e.singlePart.abort():e.cleanup(i.util.error(new Error("Request aborted by user"),{code:"RequestAbortedError",retryable:!1}))},validateBody:function(){var e=this;if(e.body=e.service.config.params.Body,"string"==typeof e.body)e.body=i.util.buffer.toBuffer(e.body);else if(!e.body)throw new Error("params.Body is required");e.sliceFn=i.util.arraySliceFn(e.body)},bindServiceObject:function(e){e=e||{};var t=this;if(t.service){var r=t.service,a=i.util.copy(r.config);a.signatureVersion=r.getSignatureVersion(),t.service=new r.constructor.__super__(a),t.service.config.params=i.util.merge(t.service.config.params||{},e)}else t.service=new i.S3({params:e})},adjustTotalBytes:function(){var e=this;try{e.totalBytes=a(e.body)}catch(e){}if(e.totalBytes){var t=Math.ceil(e.totalBytes/e.maxTotalParts);t>e.partSize&&(e.partSize=t)}else e.totalBytes=void 0},isDoneChunking:!1,partPos:0,totalChunkedBytes:0,totalUploadedBytes:0,totalBytes:void 0,numParts:0,totalPartNumbers:0,activeParts:0,doneParts:0,parts:null,completeInfo:null,failed:!1,multipartReq:null,partBuffers:null,partBufferLength:0,fillBuffer:function(){var e=this,t=a(e.body);if(0===t)return e.isDoneChunking=!0,e.numParts=1,void e.nextChunk(e.body);for(;e.activeParts=e.queueSize)){var t=e.body.read(e.partSize-e.partBufferLength)||e.body.read();if(t&&(e.partBuffers.push(t),e.partBufferLength+=t.length,e.totalChunkedBytes+=t.length),e.partBufferLength>=e.partSize){var r=1===e.partBuffers.length?e.partBuffers[0]:s.concat(e.partBuffers);if(e.partBuffers=[],e.partBufferLength=0,r.length>e.partSize){var i=r.slice(e.partSize);e.partBuffers.push(i),e.partBufferLength+=i.length,r=r.slice(0,e.partSize)}e.nextChunk(r)}e.isDoneChunking&&!e.isDoneSending&&(r=1===e.partBuffers.length?e.partBuffers[0]:s.concat(e.partBuffers),e.partBuffers=[],e.partBufferLength=0,e.totalBytes=e.totalChunkedBytes,e.isDoneSending=!0,(0===e.numParts||r.length>0)&&(e.numParts++,e.nextChunk(r))),e.body.read(0)}},nextChunk:function(e){var t=this;if(t.failed)return null;var r=++t.totalPartNumbers;if(t.isDoneChunking&&1===r){var a={Body:e};this.tags&&(a.Tagging=this.getTaggingHeader());var s=t.service.putObject(a);return s._managedUpload=t,s.on("httpUploadProgress",t.progress).send(t.finishSinglePart),t.singlePart=s,null}if(t.service.config.params.ContentMD5){var o=i.util.error(new Error("The Content-MD5 you specified is invalid for multi-part uploads."),{code:"InvalidDigest",retryable:!1});return t.cleanup(o),null}if(t.completeInfo[r]&&null!==t.completeInfo[r].ETag)return null;t.activeParts++,t.service.config.params.UploadId?t.uploadPart(e,r):t.multipartReq?t.queueChunks(e,r):(t.multipartReq=t.service.createMultipartUpload(),t.multipartReq.on("success",function(e){t.service.config.params.UploadId=e.data.UploadId,t.multipartReq=null}),t.queueChunks(e,r),t.multipartReq.on("error",function(e){t.cleanup(e)}),t.multipartReq.send())},getTaggingHeader:function(){for(var e=[],t=0;t-1&&r.splice(a,1)}return this},removeAllListeners:function(e){return e?delete this._events[e]:this._events={},this},emit:function(e,t,r){r||(r=function(){});var i=this.listeners(e),a=i.length;return this.callListeners(i,t,r),a>0},callListeners:function(e,t,r,a){function s(a){if(a&&(n=i.util.error(n||new Error,a),o._haltHandlersOnError))return r.call(o,n);o.callListeners(e,t,r,n)}for(var o=this,n=a||null;e.length>0;){var u=e.shift();if(u._isAsync)return void u.apply(o,t.concat([s]));try{u.apply(o,t)}catch(e){n=i.util.error(n||new Error,e)}if(n&&o._haltHandlersOnError)return void r.call(o,n)}r.call(o,n)},addListeners:function(e){var t=this;return e._events&&(e=e._events),i.util.each(e,function(e,r){"function"==typeof r&&(r=[r]),i.util.arrayEach(r,function(r){t.on(e,r)})}),t},addNamedListener:function(e,t,r,i){return this[e]=r,this.addListener(t,r,i),this},addNamedAsyncListener:function(e,t,r,i){return r._isAsync=!0,this.addNamedListener(e,t,r,i)},addNamedListeners:function(e){var t=this;return e(function(){t.addNamedListener.apply(t,arguments)},function(){t.addNamedAsyncListener.apply(t,arguments)}),this}}),i.SequentialExecutor.prototype.addListener=i.SequentialExecutor.prototype.on,t.exports=i.SequentialExecutor},{"./core":317}],367:[function(e,t,r){(function(r){var i=e("./core"),a=e("./model/api"),s=e("./region_config"),o=i.util.inherit,n=0;i.Service=o({constructor:function(e){if(!this.loadServiceClass)throw i.util.error(new Error,"Service must be constructed with `new' operator");var t=this.loadServiceClass(e||{});if(t){var r=i.util.copy(e),a=new t(e);return Object.defineProperty(a,"_originalConfig",{get:function(){return r},enumerable:!1,configurable:!0}),a._clientId=++n,a}this.initialize(e)},initialize:function(e){var t=i.config[this.serviceIdentifier];if(this.config=new i.Config(i.config),t&&this.config.update(t,!0),e&&this.config.update(e,!0),this.validateService(),this.config.endpoint||s(this),this.config.endpoint=this.endpointFromTemplate(this.config.endpoint),this.setEndpoint(this.config.endpoint),i.SequentialExecutor.call(this),i.Service.addDefaultMonitoringListeners(this),(this.config.clientSideMonitoring||i.Service._clientSideMonitoring)&&this.publisher){var a=this.publisher;this.addNamedListener("PUBLISH_API_CALL","apiCall",function(e){r.nextTick(function(){a.eventHandler(e)})}),this.addNamedListener("PUBLISH_API_ATTEMPT","apiCallAttempt",function(e){r.nextTick(function(){a.eventHandler(e)})})}},validateService:function(){},loadServiceClass:function(e){var t=e;if(i.util.isEmpty(this.api)){if(t.apiConfig)return i.Service.defineServiceApi(this.constructor,t.apiConfig);if(this.constructor.services){t=new i.Config(i.config),t.update(e,!0);var r=t.apiVersions[this.constructor.serviceIdentifier];return r=r||t.apiVersion,this.getLatestServiceClass(r)}return null}return null},getLatestServiceClass:function(e){return e=this.getLatestServiceVersion(e),null===this.constructor.services[e]&&i.Service.defineServiceApi(this.constructor,e),this.constructor.services[e]},getLatestServiceVersion:function(e){if(!this.constructor.services||0===this.constructor.services.length)throw new Error("No services defined on "+this.constructor.serviceIdentifier);if(e?i.util.isType(e,Date)&&(e=i.util.date.iso8601(e).split("T")[0]):e="latest",Object.hasOwnProperty(this.constructor.services,e))return e;for(var t=Object.keys(this.constructor.services).sort(),r=null,a=t.length-1;a>=0;a--)if("*"!==t[a][t[a].length-1]&&(r=t[a]),t[a].substr(0,10)<=e)return r;throw new Error("Could not find "+this.constructor.serviceIdentifier+" API to satisfy version constraint `"+e+"'")},api:{},defaultRetryCount:3,customizeRequests:function(e){if(e){if("function"!=typeof e)throw new Error("Invalid callback type '"+typeof e+"' provided in customizeRequests");this.customRequestHandler=e}else this.customRequestHandler=null},makeRequest:function(e,t,r){if("function"==typeof t&&(r=t,t=null),t=t||{},this.config.params){var a=this.api.operations[e];a&&(t=i.util.copy(t),i.util.each(this.config.params,function(e,r){a.input.members[e]&&(void 0!==t[e]&&null!==t[e]||(t[e]=r))}))}var s=new i.Request(this,e,t);return this.addAllRequestListeners(s),this.attachMonitoringEmitter(s),r&&s.send(r),s},makeUnauthenticatedRequest:function(e,t,r){"function"==typeof t&&(r=t,t={});var i=this.makeRequest(e,t).toUnauthenticated();return r?i.send(r):i},waitFor:function(e,t,r){return new i.ResourceWaiter(this,e).wait(t,r)},addAllRequestListeners:function(e){for(var t=[i.events,i.EventListeners.Core,this.serviceInterface(),i.EventListeners.CorePost],r=0;r299?(a.code&&(r.FinalAwsException=a.code),a.message&&(r.FinalAwsExceptionMessage=a.message)):((a.code||a.name)&&(r.FinalSdkException=a.code||a.name),a.message&&(r.FinalSdkExceptionMessage=a.message))}return r},apiAttemptEvent:function(e){var t=e.service.api.operations[e.operation],r={Type:"ApiCallAttempt",Api:t?t.name:e.operation,Version:1,Service:e.service.api.serviceId||e.service.api.endpointPrefix,Fqdn:e.httpRequest.endpoint.hostname,UserAgent:e.httpRequest.getUserAgent()},i=e.response;return i.httpResponse.statusCode&&(r.HttpStatusCode=i.httpResponse.statusCode),!e._unAuthenticated&&e.service.config.credentials&&e.service.config.credentials.accessKeyId&&(r.AccessKey=e.service.config.credentials.accessKeyId),i.httpResponse.headers?(e.httpRequest.headers["x-amz-security-token"]&&(r.SessionToken=e.httpRequest.headers["x-amz-security-token"]),i.httpResponse.headers["x-amzn-requestid"]&&(r.XAmznRequestId=i.httpResponse.headers["x-amzn-requestid"]),i.httpResponse.headers["x-amz-request-id"]&&(r.XAmzRequestId=i.httpResponse.headers["x-amz-request-id"]),i.httpResponse.headers["x-amz-id-2"]&&(r.XAmzId2=i.httpResponse.headers["x-amz-id-2"]),r):r},attemptFailEvent:function(e){var t=this.apiAttemptEvent(e),r=e.response,i=r.error;return r.httpResponse.statusCode>299?(i.code&&(t.AwsException=i.code),i.message&&(t.AwsExceptionMessage=i.message)):((i.code||i.name)&&(t.SdkException=i.code||i.name),i.message&&(t.SdkExceptionMessage=i.message)),t},attachMonitoringEmitter:function(e){var t,r,a,s,o,n,u=0,p=this;e.on("validate",function(){s=i.util.realClock.now(),n=Date.now()},!0),e.on("sign",function(){r=i.util.realClock.now(),t=Date.now(),o=e.httpRequest.region,u++},!0),e.on("validateResponse",function(){a=Math.round(i.util.realClock.now()-r)}),e.addNamedListener("API_CALL_ATTEMPT","success",function(){var r=p.apiAttemptEvent(e);r.Timestamp=t,r.AttemptLatency=a>=0?a:0,r.Region=o,p.emit("apiCallAttempt",[r])}),e.addNamedListener("API_CALL_ATTEMPT_RETRY","retry",function(){var s=p.attemptFailEvent(e);s.Timestamp=t,a=a||Math.round(i.util.realClock.now()-r),s.AttemptLatency=a>=0?a:0,s.Region=o,p.emit("apiCallAttempt",[s])}),e.addNamedListener("API_CALL","complete",function(){var t=p.apiCallEvent(e);if(t.AttemptCount=u,!(t.AttemptCount<=0)){t.Timestamp=n;var r=Math.round(i.util.realClock.now()-s);t.Latency=r>=0?r:0;var a=e.response;"number"==typeof a.retryCount&&"number"==typeof a.maxRetries&&a.retryCount>=a.maxRetries&&(t.MaxRetriesExceeded=1),p.emit("apiCall",[t])}})},setupRequestListeners:function(e){},getSignerClass:function(e){var t,r=null,a="";if(e){r=(e.service.api.operations||{})[e.operation]||null,a=r?r.authtype:""}return t=this.config.signatureVersion?this.config.signatureVersion:"v4"===a||"v4-unsigned-body"===a?"v4":this.api.signatureVersion,i.Signers.RequestSigner.getVersion(t)},serviceInterface:function(){switch(this.api.protocol){case"ec2":case"query":return i.EventListeners.Query;case"json":return i.EventListeners.Json;case"rest-json":return i.EventListeners.RestJson;case"rest-xml":return i.EventListeners.RestXml}if(this.api.protocol)throw new Error("Invalid service `protocol' "+this.api.protocol+" in API config")},successfulResponse:function(e){return e.httpResponse.statusCode<300},numRetries:function(){return void 0!==this.config.maxRetries?this.config.maxRetries:this.defaultRetryCount},retryDelays:function(e){return i.util.calculateRetryDelay(e,this.config.retryDelayOptions)},retryableError:function(e){return!!this.timeoutError(e)||(!!this.networkingError(e)||(!!this.expiredCredentialsError(e)||(!!this.throttledError(e)||e.statusCode>=500)))},networkingError:function(e){return"NetworkingError"===e.code},timeoutError:function(e){return"TimeoutError"===e.code},expiredCredentialsError:function(e){return"ExpiredTokenException"===e.code},clockSkewError:function(e){switch(e.code){case"RequestTimeTooSkewed":case"RequestExpired":case"InvalidSignatureException":case"SignatureDoesNotMatch":case"AuthFailure":case"RequestInTheFuture":return!0;default:return!1}},getSkewCorrectedDate:function(){return new Date(Date.now()+this.config.systemClockOffset)},applyClockOffset:function(e){e&&(this.config.systemClockOffset=e-Date.now())},isClockSkewed:function(e){if(e)return Math.abs(this.getSkewCorrectedDate().getTime()-e)>=3e4},throttledError:function(e){if(429===e.statusCode)return!0;switch(e.code){case"ProvisionedThroughputExceededException":case"Throttling":case"ThrottlingException":case"RequestLimitExceeded":case"RequestThrottled":case"RequestThrottledException":case"TooManyRequestsException":case"TransactionInProgressException":return!0;default:return!1}},endpointFromTemplate:function(e){if("string"!=typeof e)return e;var t=e;return t=t.replace(/\{service\}/g,this.api.endpointPrefix),t=t.replace(/\{region\}/g,this.config.region),t=t.replace(/\{scheme\}/g,this.config.sslEnabled?"https":"http")},setEndpoint:function(e){this.endpoint=new i.Endpoint(e,this.config)},paginationConfig:function(e,t){var r=this.api.operations[e].paginator;if(!r){if(t){var a=new Error;throw i.util.error(a,"No pagination configuration for "+e)}return null}return r}}),i.util.update(i.Service,{defineMethods:function(e){i.util.each(e.prototype.api.operations,function(t){if(!e.prototype[t]){"none"===e.prototype.api.operations[t].authtype?e.prototype[t]=function(e,r){return this.makeUnauthenticatedRequest(t,e,r)}:e.prototype[t]=function(e,r){return this.makeRequest(t,e,r)}}})},defineService:function(e,t,r){i.Service._serviceMap[e]=!0,Array.isArray(t)||(r=t,t=[]);var a=o(i.Service,r||{});if("string"==typeof e){i.Service.addVersions(a,t);var s=a.serviceIdentifier||e;a.serviceIdentifier=s}else a.prototype.api=e,i.Service.defineMethods(a);if(i.SequentialExecutor.call(this.prototype),!this.prototype.publisher&&i.util.clientSideMonitoring){var n=i.util.clientSideMonitoring.Publisher,u=i.util.clientSideMonitoring.configProvider,p=u();this.prototype.publisher=new n(p),p.enabled&&(i.Service._clientSideMonitoring=!0)}return i.SequentialExecutor.call(a.prototype),i.Service.addDefaultMonitoringListeners(a.prototype),a},addVersions:function(e,t){Array.isArray(t)||(t=[t]),e.services=e.services||{};for(var r=0;r=0){throw i.util.error(new Error,{name:"InvalidEndpoint",message:"AWS.IotData requires an explicit `endpoint' configuration option."})}},setupRequestListeners:function(e){e.addListener("validateResponse",this.validateResponseBody),a.indexOf(e.operation)>-1&&e.addListener("extractData",i.util.convertPayloadToString)},validateResponseBody:function(e){var t=e.httpResponse.body.toString()||"{}",r=t.trim();r&&"{"===r.charAt(0)||(e.httpResponse.body="")}})},{"../core":317}],374:[function(e,t,r){var i=e("../core");i.util.update(i.Lambda.prototype,{setupRequestListeners:function(e){"invoke"===e.operation&&e.addListener("extractData",i.util.convertPayloadToString)}})},{"../core":317}],375:[function(e,t,r){var i=e("../core");i.util.update(i.MachineLearning.prototype,{setupRequestListeners:function(e){"predict"===e.operation&&e.addListener("build",this.buildEndpoint)},buildEndpoint:function(e){var t=e.params.PredictEndpoint;t&&(e.httpRequest.endpoint=new i.Endpoint(t))}})},{"../core":317}],376:[function(e,t,r){e("../polly/presigner")},{"../polly/presigner":350}],377:[function(e,t,r){var i=e("../core");e("../rds/signer");var a=["copyDBSnapshot","createDBInstanceReadReplica","createDBCluster","copyDBClusterSnapshot"];i.util.update(i.RDS.prototype,{setupRequestListeners:function(e){if(-1!==a.indexOf(e.operation)&&e.params.SourceRegion)if(e.params=i.util.copy(e.params),e.params.PreSignedUrl||e.params.SourceRegion===this.config.region)delete e.params.SourceRegion;else{var t=!!this.config.paramValidation;t&&e.removeListener("validate",i.EventListeners.Core.VALIDATE_PARAMETERS),e.onAsync("validate",this.buildCrossRegionPresignedUrl),t&&e.addListener("validate",i.EventListeners.Core.VALIDATE_PARAMETERS)}},buildCrossRegionPresignedUrl:function(e,t){var r=i.util.copy(e.service.config);r.region=e.params.SourceRegion,delete e.params.SourceRegion,delete r.endpoint,delete r.params,r.signatureVersion="v4";var a=e.service.config.region,s=new e.service.constructor(r),o=s[e.operation](i.util.copy(e.params));o.on("build",function(e){var t=e.httpRequest;t.params.DestinationRegion=a,t.body=i.util.queryParamsToString(t.params)}),o.presign(function(r,i){r?t(r):(e.params.PreSignedUrl=i,t())})}})},{"../core":317,"../rds/signer":358}],378:[function(e,t,r){var i=e("../core");i.util.update(i.Route53.prototype,{setupRequestListeners:function(e){e.on("build",this.sanitizeUrl)},sanitizeUrl:function(e){var t=e.httpRequest.path;e.httpRequest.path=t.replace(/\/%2F\w+%2F/,"/")},retryableError:function(e){return"PriorRequestNotComplete"===e.code&&400===e.statusCode||i.Service.prototype.retryableError.call(this,e)}})},{"../core":317}],379:[function(e,t,r){var i=e("../core"),a=e("../signers/v4_credentials");e("../s3/managed_upload");var s={completeMultipartUpload:!0,copyObject:!0,uploadPartCopy:!0},o=["AuthorizationHeaderMalformed","BadRequest","PermanentRedirect",301];i.util.update(i.S3.prototype,{getSignatureVersion:function(e){var t=this.api.signatureVersion,r=this._originalConfig?this._originalConfig.signatureVersion:null,i=this.config.signatureVersion,a=!!e&&e.isPresigned();return r?r="v2"===r?"s3":r:(!0!==a?t="v4":i&&(t=i),t)},getSignerClass:function(e){var t=this.getSignatureVersion(e);return i.Signers.RequestSigner.getVersion(t)},validateService:function(){var e,t=[];if(this.config.region||(this.config.region="us-east-1"),!this.config.endpoint&&this.config.s3BucketEndpoint&&t.push("An endpoint must be provided when configuring `s3BucketEndpoint` to true."),1===t.length?e=t[0]:t.length>1&&(e="Multiple configuration errors:\n"+t.join("\n")),e)throw i.util.error(new Error,{name:"InvalidEndpoint",message:e})},shouldDisableBodySigning:function(e){var t=this.getSignerClass();return!0===this.config.s3DisableBodySigning&&t===i.Signers.V4&&"https:"===e.httpRequest.endpoint.protocol},setupRequestListeners:function(e){e.addListener("validate",this.validateScheme),e.addListener("validate",this.validateBucketEndpoint),e.addListener("validate",this.correctBucketRegionFromCache),e.addListener("validate",this.validateBucketName,!0),e.addListener("build",this.addContentType),e.addListener("build",this.populateURI),e.addListener("build",this.computeContentMd5),e.addListener("build",this.computeSseCustomerKeyMd5),e.addListener("afterBuild",this.addExpect100Continue),e.removeListener("validate",i.EventListeners.Core.VALIDATE_REGION),e.addListener("extractError",this.extractError),e.onAsync("extractError",this.requestBucketRegion),e.addListener("extractData",this.extractData),e.addListener("extractData",i.util.hoistPayloadMember),e.addListener("beforePresign",this.prepareSignedUrl),i.util.isBrowser()&&e.onAsync("retry",this.reqRegionForNetworkingError),this.shouldDisableBodySigning(e)&&(e.removeListener("afterBuild",i.EventListeners.Core.COMPUTE_SHA256),e.addListener("afterBuild",this.disableBodySigning))},validateScheme:function(e){var t=e.params,r=e.httpRequest.endpoint.protocol;if((t.SSECustomerKey||t.CopySourceSSECustomerKey)&&"https:"!==r)throw i.util.error(new Error,{code:"ConfigError",message:"Cannot send SSE keys over HTTP. Set 'sslEnabled'to 'true' in your configuration"})},validateBucketEndpoint:function(e){if(!e.params.Bucket&&e.service.config.s3BucketEndpoint){throw i.util.error(new Error,{code:"ConfigError",message:"Cannot send requests to root API with `s3BucketEndpoint` set."})}},validateBucketName:function(e){var t=e.service,r=t.getSignatureVersion(e),a=e.params&&e.params.Bucket,s=e.params&&e.params.Key,o=a&&a.indexOf("/");if(a&&o>=0)if("string"==typeof s&&o>0){e.params=i.util.copy(e.params);var n=a.substr(o+1)||"";e.params.Key=n+"/"+s,e.params.Bucket=a.substr(0,o)}else if("v4"===r){var u="Bucket names cannot contain forward slashes. Bucket: "+a;throw i.util.error(new Error,{code:"InvalidBucket",message:u})}},isValidAccelerateOperation:function(e){return-1===["createBucket","deleteBucket","listBuckets"].indexOf(e)},populateURI:function(e){var t=e.httpRequest,r=e.params.Bucket,i=e.service,a=t.endpoint;if(r&&!i.pathStyleBucketName(r)){i.config.useAccelerateEndpoint&&i.isValidAccelerateOperation(e.operation)?i.config.useDualstack?a.hostname=r+".s3-accelerate.dualstack.amazonaws.com":a.hostname=r+".s3-accelerate.amazonaws.com":i.config.s3BucketEndpoint||(a.hostname=r+"."+a.hostname);var s=a.port;a.host=80!==s&&443!==s?a.hostname+":"+a.port:a.hostname,t.virtualHostedBucket=r,i.removeVirtualHostedBucketFromPath(e)}},removeVirtualHostedBucketFromPath:function(e){var t=e.httpRequest,r=t.virtualHostedBucket;if(r&&t.path){if(e.params&&e.params.Key){
diff --git a/lib/core.js b/lib/core.js
index 483daf3a3b..60807f8b81 100644
--- a/lib/core.js
+++ b/lib/core.js
@@ -20,7 +20,7 @@ AWS.util.update(AWS, {
/**
* @constant
*/
- VERSION: '2.560.0',
+ VERSION: '2.561.0',
/**
* @api private
diff --git a/package.json b/package.json
index 0cb37ef0c5..61c631fdbb 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "aws-sdk",
"description": "AWS SDK for JavaScript",
- "version": "2.560.0",
+ "version": "2.561.0",
"author": {
"name": "Amazon Web Services",
"email": "",