From ac41da1779df312004470b062bf87a629049cef4 Mon Sep 17 00:00:00 2001 From: awstools Date: Mon, 13 Mar 2023 19:02:09 +0000 Subject: [PATCH] Updates SDK to v2.1334.0 --- .changes/2.1334.0.json | 27 + ...fix-maintenance-mode-message-dce36b79.json | 5 - CHANGELOG.md | 9 +- README.md | 2 +- apis/appintegrations-2020-07-29.min.json | 74 ++- apis/appintegrations-2020-07-29.normal.json | 142 +++- apis/lakeformation-2017-03-31.normal.json | 5 +- apis/s3control-2018-08-20.min.json | 384 +++++++++-- apis/s3control-2018-08-20.normal.json | 615 ++++++++++++++++-- apis/tnb-2008-10-21.min.json | 24 +- apis/tnb-2008-10-21.normal.json | 64 +- apis/wisdom-2020-10-19.min.json | 3 +- apis/wisdom-2020-10-19.normal.json | 23 +- clients/appintegrations.d.ts | 82 ++- clients/lakeformation.d.ts | 3 + clients/s3control.d.ts | 334 +++++++++- clients/tnb.d.ts | 38 +- clients/wisdom.d.ts | 22 +- dist/aws-sdk-core-react-native.js | 9 +- dist/aws-sdk-react-native.js | 17 +- dist/aws-sdk.js | 13 +- dist/aws-sdk.min.js | 12 +- lib/core.js | 2 +- package.json | 2 +- 24 files changed, 1652 insertions(+), 259 deletions(-) create mode 100644 .changes/2.1334.0.json delete mode 100644 .changes/next-release/bugfix-maintenance-mode-message-dce36b79.json diff --git a/.changes/2.1334.0.json b/.changes/2.1334.0.json new file mode 100644 index 0000000000..6b831ef77d --- /dev/null +++ b/.changes/2.1334.0.json @@ -0,0 +1,27 @@ +[ + { + "type": "bugfix", + "category": "maintenance mode message", + "description": "add environment var for suppression of maintenance mode message" + }, + { + "type": "feature", + "category": "AppIntegrations", + "description": "Adds FileConfiguration to Amazon AppIntegrations CreateDataIntegration supporting scheduled downloading of third party files into Amazon Connect from sources such as Microsoft SharePoint." + }, + { + "type": "feature", + "category": "S3Control", + "description": "Added support for cross-account Multi-Region Access Points. Added support for S3 Replication for S3 on Outposts." + }, + { + "type": "feature", + "category": "Tnb", + "description": "This release adds tagging support to the following Network Instance APIs : Instantiate, Update, Terminate." + }, + { + "type": "feature", + "category": "Wisdom", + "description": "This release extends Wisdom CreateKnowledgeBase API to support SharePoint connector type by removing the @required trait for objectField" + } +] \ No newline at end of file diff --git a/.changes/next-release/bugfix-maintenance-mode-message-dce36b79.json b/.changes/next-release/bugfix-maintenance-mode-message-dce36b79.json deleted file mode 100644 index d7c59a3a0d..0000000000 --- a/.changes/next-release/bugfix-maintenance-mode-message-dce36b79.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "bugfix", - "category": "maintenance mode message", - "description": "add environment var for suppression of maintenance mode message" -} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index fed64a90c9..bedd52dca8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,14 @@ # Changelog for AWS SDK for JavaScript - + +## 2.1334.0 +* bugfix: maintenance mode message: add environment var for suppression of maintenance mode message +* feature: AppIntegrations: Adds FileConfiguration to Amazon AppIntegrations CreateDataIntegration supporting scheduled downloading of third party files into Amazon Connect from sources such as Microsoft SharePoint. +* feature: S3Control: Added support for cross-account Multi-Region Access Points. Added support for S3 Replication for S3 on Outposts. +* feature: Tnb: This release adds tagging support to the following Network Instance APIs : Instantiate, Update, Terminate. +* feature: Wisdom: This release extends Wisdom CreateKnowledgeBase API to support SharePoint connector type by removing the @required trait for objectField + ## 2.1333.0 * bugfix: maintenance mode message: supress maintenance mode message in Lambda environment * feature: Ivschat: This release adds a new exception returned when calling AWS IVS chat UpdateLoggingConfiguration. Now UpdateLoggingConfiguration can return ConflictException when invalid updates are made in sequence to Logging Configurations. diff --git a/README.md b/README.md index 4b601c37be..5797220cfa 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ require('aws-sdk/lib/maintenance_mode_message').suppress = true; 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/appintegrations-2020-07-29.min.json b/apis/appintegrations-2020-07-29.min.json index adfe66c55e..418c8db123 100644 --- a/apis/appintegrations-2020-07-29.min.json +++ b/apis/appintegrations-2020-07-29.min.json @@ -19,7 +19,10 @@ "input": { "type": "structure", "required": [ - "Name" + "Name", + "KmsKey", + "SourceURI", + "ScheduleConfig" ], "members": { "Name": {}, @@ -27,13 +30,19 @@ "KmsKey": {}, "SourceURI": {}, "ScheduleConfig": { - "shape": "S5" + "shape": "S6" }, "Tags": { "shape": "S8" }, "ClientToken": { "idempotencyToken": true + }, + "FileConfiguration": { + "shape": "Sc" + }, + "ObjectConfiguration": { + "shape": "Si" } } }, @@ -47,12 +56,18 @@ "KmsKey": {}, "SourceURI": {}, "ScheduleConfiguration": { - "shape": "S5" + "shape": "S6" }, "Tags": { "shape": "S8" }, - "ClientToken": {} + "ClientToken": {}, + "FileConfiguration": { + "shape": "Sc" + }, + "ObjectConfiguration": { + "shape": "Si" + } } } }, @@ -71,7 +86,7 @@ "Name": {}, "Description": {}, "EventFilter": { - "shape": "Sg" + "shape": "Sn" }, "EventBridgeBus": {}, "ClientToken": { @@ -160,10 +175,16 @@ "KmsKey": {}, "SourceURI": {}, "ScheduleConfiguration": { - "shape": "S5" + "shape": "S6" }, "Tags": { "shape": "S8" + }, + "FileConfiguration": { + "shape": "Sc" + }, + "ObjectConfiguration": { + "shape": "Si" } } } @@ -193,7 +214,7 @@ "EventIntegrationArn": {}, "EventBridgeBus": {}, "EventFilter": { - "shape": "Sg" + "shape": "Sn" }, "Tags": { "shape": "S8" @@ -364,7 +385,7 @@ "Name": {}, "Description": {}, "EventFilter": { - "shape": "Sg" + "shape": "Sn" }, "EventBridgeBus": {}, "Tags": { @@ -506,8 +527,11 @@ } }, "shapes": { - "S5": { + "S6": { "type": "structure", + "required": [ + "ScheduleExpression" + ], "members": { "FirstExecutionFrom": {}, "Object": {}, @@ -519,7 +543,37 @@ "key": {}, "value": {} }, - "Sg": { + "Sc": { + "type": "structure", + "required": [ + "Folders" + ], + "members": { + "Folders": { + "type": "list", + "member": {} + }, + "Filters": { + "shape": "Sf" + } + } + }, + "Sf": { + "type": "map", + "key": {}, + "value": { + "type": "list", + "member": {} + } + }, + "Si": { + "type": "map", + "key": {}, + "value": { + "shape": "Sf" + } + }, + "Sn": { "type": "structure", "required": [ "Source" diff --git a/apis/appintegrations-2020-07-29.normal.json b/apis/appintegrations-2020-07-29.normal.json index bbe77879f9..e0ce23739f 100644 --- a/apis/appintegrations-2020-07-29.normal.json +++ b/apis/appintegrations-2020-07-29.normal.json @@ -494,7 +494,10 @@ "CreateDataIntegrationRequest": { "type": "structure", "required": [ - "Name" + "Name", + "KmsKey", + "SourceURI", + "ScheduleConfig" ], "members": { "Name": { @@ -510,7 +513,7 @@ "documentation": "

The KMS key for the DataIntegration.

" }, "SourceURI": { - "shape": "NonBlankString", + "shape": "SourceURI", "documentation": "

The URI of the data source.

" }, "ScheduleConfig": { @@ -519,12 +522,20 @@ }, "Tags": { "shape": "TagMap", - "documentation": "

One or more tags.

" + "documentation": "

The tags used to organize, track, or control access for this resource. For example, { \"tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

" }, "ClientToken": { "shape": "IdempotencyToken", - "documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

", + "documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

", "idempotencyToken": true + }, + "FileConfiguration": { + "shape": "FileConfiguration", + "documentation": "

The configuration for what files should be pulled from the source.

" + }, + "ObjectConfiguration": { + "shape": "ObjectConfiguration", + "documentation": "

The configuration for what data should be pulled from the source.

" } } }, @@ -552,7 +563,7 @@ "documentation": "

The KMS key for the DataIntegration.

" }, "SourceURI": { - "shape": "NonBlankString", + "shape": "SourceURI", "documentation": "

The URI of the data source.

" }, "ScheduleConfiguration": { @@ -561,11 +572,19 @@ }, "Tags": { "shape": "TagMap", - "documentation": "

One or more tags.

" + "documentation": "

The tags used to organize, track, or control access for this resource. For example, { \"tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

" }, "ClientToken": { "shape": "IdempotencyToken", - "documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

" + "documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

" + }, + "FileConfiguration": { + "shape": "FileConfiguration", + "documentation": "

The configuration for what files should be pulled from the source.

" + }, + "ObjectConfiguration": { + "shape": "ObjectConfiguration", + "documentation": "

The configuration for what data should be pulled from the source.

" } } }, @@ -595,12 +614,12 @@ }, "ClientToken": { "shape": "IdempotencyToken", - "documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

", + "documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

", "idempotencyToken": true }, "Tags": { "shape": "TagMap", - "documentation": "

One or more tags.

" + "documentation": "

The tags used to organize, track, or control access for this resource. For example, { \"tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

" } } }, @@ -622,11 +641,11 @@ }, "DataIntegrationArn": { "shape": "Arn", - "documentation": "

The Amazon Resource Name (ARN)of the DataIntegration.

" + "documentation": "

The Amazon Resource Name (ARN) of the DataIntegration.

" }, "ClientId": { "shape": "ClientId", - "documentation": "

The identifier for teh client that is associated with the DataIntegration association.

" + "documentation": "

The identifier for the client that is associated with the DataIntegration association.

" } }, "documentation": "

Summary information about the DataIntegration association.

" @@ -651,7 +670,7 @@ "documentation": "

The name of the DataIntegration.

" }, "SourceURI": { - "shape": "NonBlankString", + "shape": "SourceURI", "documentation": "

The URI of the data source.

" } }, @@ -757,7 +776,7 @@ }, "Tags": { "shape": "TagMap", - "documentation": "

The tags.

" + "documentation": "

The tags used to organize, track, or control access for this resource. For example, { \"tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

" } }, "documentation": "

The event integration.

" @@ -808,6 +827,54 @@ "max": 50, "min": 1 }, + "Fields": { + "type": "string", + "max": 255, + "min": 1, + "pattern": "^[a-zA-Z0-9\\/\\._\\-]+$" + }, + "FieldsList": { + "type": "list", + "member": { + "shape": "Fields" + }, + "max": 2048, + "min": 1 + }, + "FieldsMap": { + "type": "map", + "key": { + "shape": "NonBlankString" + }, + "value": { + "shape": "FieldsList" + } + }, + "FileConfiguration": { + "type": "structure", + "required": [ + "Folders" + ], + "members": { + "Folders": { + "shape": "FolderList", + "documentation": "

Identifiers for the source folders to pull all files from recursively.

" + }, + "Filters": { + "shape": "FieldsMap", + "documentation": "

Restrictions for what files should be pulled from the source.

" + } + }, + "documentation": "

The configuration for what files should be pulled from the source.

" + }, + "FolderList": { + "type": "list", + "member": { + "shape": "NonBlankLongString" + }, + "max": 10, + "min": 1 + }, "GetDataIntegrationRequest": { "type": "structure", "required": [ @@ -846,7 +913,7 @@ "documentation": "

The KMS key for the DataIntegration.

" }, "SourceURI": { - "shape": "NonBlankString", + "shape": "SourceURI", "documentation": "

The URI of the data source.

" }, "ScheduleConfiguration": { @@ -855,7 +922,15 @@ }, "Tags": { "shape": "TagMap", - "documentation": "

One or more tags.

" + "documentation": "

The tags used to organize, track, or control access for this resource. For example, { \"tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

" + }, + "FileConfiguration": { + "shape": "FileConfiguration", + "documentation": "

The configuration for what files should be pulled from the source.

" + }, + "ObjectConfiguration": { + "shape": "ObjectConfiguration", + "documentation": "

The configuration for what data should be pulled from the source.

" } } }, @@ -898,7 +973,7 @@ }, "Tags": { "shape": "TagMap", - "documentation": "

One or more tags.

" + "documentation": "

The tags used to organize, track, or control access for this resource. For example, { \"tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

" } } }, @@ -1092,37 +1167,50 @@ "min": 1, "pattern": ".*" }, - "NonBlankString": { + "NonBlankLongString": { "type": "string", - "max": 255, + "max": 200, "min": 1, "pattern": ".*\\S.*" }, - "Object": { + "NonBlankString": { "type": "string", "max": 255, "min": 1, - "pattern": "^[a-zA-Z0-9\\/\\._\\-]+$" + "pattern": ".*\\S.*" }, - "Schedule": { + "Object": { "type": "string", "max": 255, "min": 1, "pattern": "^[a-zA-Z0-9\\/\\._\\-]+$" }, + "ObjectConfiguration": { + "type": "map", + "key": { + "shape": "NonBlankString" + }, + "value": { + "shape": "FieldsMap" + }, + "documentation": "

The configuration for what data should be pulled from the source.

" + }, "ScheduleConfiguration": { "type": "structure", + "required": [ + "ScheduleExpression" + ], "members": { "FirstExecutionFrom": { "shape": "NonBlankString", - "documentation": "

The start date for objects to import in the first flow run.

" + "documentation": "

The start date for objects to import in the first flow run as an Unix/epoch timestamp in milliseconds or in ISO-8601 format.

" }, "Object": { "shape": "Object", "documentation": "

The name of the object to pull from the data source.

" }, "ScheduleExpression": { - "shape": "Schedule", + "shape": "NonBlankString", "documentation": "

How often the data should be pulled from data source.

" } }, @@ -1134,6 +1222,12 @@ "min": 1, "pattern": "^aws\\.partner\\/.*$" }, + "SourceURI": { + "type": "string", + "max": 1000, + "min": 1, + "pattern": "^(\\w+\\:\\/\\/[\\w.-]+[\\w/!@#+=.-]+$)|(\\w+\\:\\/\\/[\\w.-]+[\\w/!@#+=.-]+[\\w/!@#+=.-]+[\\w/!@#+=.,-]+$)" + }, "TagKey": { "type": "string", "max": 128, @@ -1174,7 +1268,7 @@ }, "tags": { "shape": "TagMap", - "documentation": "

One or more tags.

" + "documentation": "

The tags used to organize, track, or control access for this resource. For example, { \"tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

" } } }, diff --git a/apis/lakeformation-2017-03-31.normal.json b/apis/lakeformation-2017-03-31.normal.json index c1975bbe2e..ef49fd7350 100644 --- a/apis/lakeformation-2017-03-31.normal.json +++ b/apis/lakeformation-2017-03-31.normal.json @@ -1903,7 +1903,8 @@ "documentation": "

A wildcard with exclusions.

You must specify either a ColumnNames list or the ColumnWildCard.

" }, "VersionId": { - "shape": "VersionString" + "shape": "VersionString", + "documentation": "

The ID of the data cells filter version.

" } }, "documentation": "

A structure that describes certain columns on certain rows.

" @@ -3669,7 +3670,7 @@ }, "Permissions": { "shape": "PermissionList", - "documentation": "

The permissions revoked to the principal on the resource. For information about permissions, see Security and Access Control to Metadata and Data.

" + "documentation": "

The permissions revoked to the principal on the resource. For information about permissions, see Security and Access Control to Metadata and Data.

" }, "PermissionsWithGrantOption": { "shape": "PermissionList", diff --git a/apis/s3control-2018-08-20.min.json b/apis/s3control-2018-08-20.min.json index e95d3f2b54..da30cadb99 100644 --- a/apis/s3control-2018-08-20.min.json +++ b/apis/s3control-2018-08-20.min.json @@ -576,6 +576,44 @@ } } }, + "DeleteBucketReplication": { + "http": { + "method": "DELETE", + "requestUri": "/v20180820/bucket/{name}/replication" + }, + "input": { + "type": "structure", + "required": [ + "AccountId", + "Bucket" + ], + "members": { + "AccountId": { + "contextParam": { + "name": "AccountId" + }, + "hostLabel": true, + "location": "header", + "locationName": "x-amz-account-id" + }, + "Bucket": { + "contextParam": { + "name": "Bucket" + }, + "location": "uri", + "locationName": "name" + } + } + }, + "endpoint": { + "hostPrefix": "{AccountId}." + }, + "staticContextParams": { + "RequiresAccountId": { + "value": true + } + } + }, "DeleteBucketTagging": { "http": { "method": "DELETE", @@ -682,7 +720,7 @@ "idempotencyToken": true }, "Details": { - "shape": "S3s" + "shape": "S3t" } } }, @@ -855,7 +893,7 @@ "type": "integer" }, "ProgressSummary": { - "shape": "S44" + "shape": "S45" }, "StatusUpdateReason": {}, "FailureReasons": { @@ -951,10 +989,10 @@ "shape": "S3b" }, "DeleteMultiRegionAccessPointRequest": { - "shape": "S3s" + "shape": "S3t" }, "PutMultiRegionAccessPointPolicyRequest": { - "shape": "S4q" + "shape": "S4r" } } }, @@ -1274,7 +1312,7 @@ "type": "structure", "members": { "PolicyStatus": { - "shape": "S5f" + "shape": "S5g" } } }, @@ -1317,7 +1355,7 @@ "type": "structure", "members": { "PolicyStatus": { - "shape": "S5f" + "shape": "S5g" } } }, @@ -1413,7 +1451,7 @@ "type": "structure", "members": { "Rules": { - "shape": "S5o" + "shape": "S5p" } } }, @@ -1470,6 +1508,52 @@ } } }, + "GetBucketReplication": { + "http": { + "method": "GET", + "requestUri": "/v20180820/bucket/{name}/replication" + }, + "input": { + "type": "structure", + "required": [ + "AccountId", + "Bucket" + ], + "members": { + "AccountId": { + "contextParam": { + "name": "AccountId" + }, + "hostLabel": true, + "location": "header", + "locationName": "x-amz-account-id" + }, + "Bucket": { + "contextParam": { + "name": "Bucket" + }, + "location": "uri", + "locationName": "name" + } + } + }, + "output": { + "type": "structure", + "members": { + "ReplicationConfiguration": { + "shape": "S6f" + } + } + }, + "endpoint": { + "hostPrefix": "{AccountId}." + }, + "staticContextParams": { + "RequiresAccountId": { + "value": true + } + } + }, "GetBucketTagging": { "http": { "method": "GET", @@ -1639,7 +1723,7 @@ "type": "structure", "members": { "AccessPoint": { - "shape": "S6m" + "shape": "S7j" } } }, @@ -1741,7 +1825,7 @@ "type": "structure", "members": { "Established": { - "shape": "S5f" + "shape": "S5g" } } }, @@ -1786,7 +1870,7 @@ "members": { "Mrap": {}, "Routes": { - "shape": "S72" + "shape": "S7z" } } }, @@ -1869,7 +1953,7 @@ "type": "structure", "members": { "StorageLensConfiguration": { - "shape": "S79" + "shape": "S86" } }, "payload": "StorageLensConfiguration" @@ -1913,7 +1997,7 @@ "type": "structure", "members": { "Tags": { - "shape": "S86" + "shape": "S93" } } }, @@ -2119,7 +2203,7 @@ "type": "timestamp" }, "ProgressSummary": { - "shape": "S44" + "shape": "S45" } } } @@ -2171,7 +2255,7 @@ "AccessPoints": { "type": "list", "member": { - "shape": "S6m", + "shape": "S7j", "locationName": "AccessPoint" } }, @@ -2487,7 +2571,7 @@ "type": "structure", "members": { "Rules": { - "shape": "S5o" + "shape": "S5p" } } } @@ -2554,6 +2638,54 @@ } } }, + "PutBucketReplication": { + "http": { + "method": "PUT", + "requestUri": "/v20180820/bucket/{name}/replication" + }, + "input": { + "type": "structure", + "required": [ + "AccountId", + "Bucket", + "ReplicationConfiguration" + ], + "members": { + "AccountId": { + "contextParam": { + "name": "AccountId" + }, + "hostLabel": true, + "location": "header", + "locationName": "x-amz-account-id" + }, + "Bucket": { + "contextParam": { + "name": "Bucket" + }, + "location": "uri", + "locationName": "name" + }, + "ReplicationConfiguration": { + "shape": "S6f", + "locationName": "ReplicationConfiguration", + "xmlNamespace": { + "uri": "http://awss3control.amazonaws.com/doc/2018-08-20/" + } + } + }, + "payload": "ReplicationConfiguration" + }, + "endpoint": { + "hostPrefix": "{AccountId}." + }, + "httpChecksumRequired": true, + "staticContextParams": { + "RequiresAccountId": { + "value": true + } + } + }, "PutBucketTagging": { "http": { "method": "PUT", @@ -2743,7 +2875,7 @@ "idempotencyToken": true }, "Details": { - "shape": "S4q" + "shape": "S4r" } } }, @@ -2832,10 +2964,10 @@ "locationName": "x-amz-account-id" }, "StorageLensConfiguration": { - "shape": "S79" + "shape": "S86" }, "Tags": { - "shape": "S86" + "shape": "S93" } } }, @@ -2878,7 +3010,7 @@ "locationName": "x-amz-account-id" }, "Tags": { - "shape": "S86" + "shape": "S93" } } }, @@ -2925,7 +3057,7 @@ "locationName": "mrap" }, "RouteUpdates": { - "shape": "S72" + "shape": "S7z" } } }, @@ -3474,13 +3606,14 @@ "Bucket" ], "members": { - "Bucket": {} + "Bucket": {}, + "BucketAccountId": {} } } } } }, - "S3s": { + "S3t": { "type": "structure", "required": [ "Name" @@ -3489,7 +3622,7 @@ "Name": {} } }, - "S44": { + "S45": { "type": "structure", "members": { "TotalNumberOfTasks": { @@ -3511,7 +3644,7 @@ } } }, - "S4q": { + "S4r": { "type": "structure", "required": [ "Name", @@ -3522,7 +3655,7 @@ "Policy": {} } }, - "S5f": { + "S5g": { "type": "structure", "members": { "IsPublic": { @@ -3531,7 +3664,7 @@ } } }, - "S5o": { + "S5p": { "type": "list", "member": { "locationName": "Rule", @@ -3637,7 +3770,159 @@ } } }, - "S6m": { + "S6f": { + "type": "structure", + "required": [ + "Role", + "Rules" + ], + "members": { + "Role": {}, + "Rules": { + "type": "list", + "member": { + "locationName": "Rule", + "type": "structure", + "required": [ + "Status", + "Destination", + "Bucket" + ], + "members": { + "ID": {}, + "Priority": { + "type": "integer" + }, + "Prefix": { + "deprecated": true, + "deprecatedMessage": "Prefix has been deprecated" + }, + "Filter": { + "type": "structure", + "members": { + "Prefix": {}, + "Tag": { + "shape": "S1s" + }, + "And": { + "type": "structure", + "members": { + "Prefix": {}, + "Tags": { + "shape": "S1r" + } + } + } + } + }, + "Status": {}, + "SourceSelectionCriteria": { + "type": "structure", + "members": { + "SseKmsEncryptedObjects": { + "type": "structure", + "required": [ + "Status" + ], + "members": { + "Status": {} + } + }, + "ReplicaModifications": { + "type": "structure", + "required": [ + "Status" + ], + "members": { + "Status": {} + } + } + } + }, + "ExistingObjectReplication": { + "type": "structure", + "required": [ + "Status" + ], + "members": { + "Status": {} + } + }, + "Destination": { + "type": "structure", + "required": [ + "Bucket" + ], + "members": { + "Account": {}, + "Bucket": {}, + "ReplicationTime": { + "type": "structure", + "required": [ + "Status", + "Time" + ], + "members": { + "Status": {}, + "Time": { + "shape": "S6y" + } + } + }, + "AccessControlTranslation": { + "type": "structure", + "required": [ + "Owner" + ], + "members": { + "Owner": {} + } + }, + "EncryptionConfiguration": { + "type": "structure", + "members": { + "ReplicaKmsKeyID": {} + } + }, + "Metrics": { + "type": "structure", + "required": [ + "Status" + ], + "members": { + "Status": {}, + "EventThreshold": { + "shape": "S6y" + } + } + }, + "StorageClass": {} + } + }, + "DeleteMarkerReplication": { + "type": "structure", + "required": [ + "Status" + ], + "members": { + "Status": {} + } + }, + "Bucket": {} + } + } + } + } + }, + "S6y": { + "type": "structure", + "members": { + "Minutes": { + "type": "integer" + } + } + }, + "S7j": { "type": "structure", "members": { "Name": {}, @@ -3656,13 +3941,14 @@ "type": "structure", "members": { "Bucket": {}, - "Region": {} + "Region": {}, + "BucketAccountId": {} } } } } }, - "S72": { + "S7z": { "type": "list", "member": { "locationName": "Route", @@ -3679,7 +3965,7 @@ } } }, - "S79": { + "S86": { "type": "structure", "required": [ "Id", @@ -3695,13 +3981,13 @@ ], "members": { "ActivityMetrics": { - "shape": "S7b" + "shape": "S88" }, "BucketLevel": { "type": "structure", "members": { "ActivityMetrics": { - "shape": "S7b" + "shape": "S88" }, "PrefixLevel": { "type": "structure", @@ -3732,24 +4018,24 @@ } }, "AdvancedCostOptimizationMetrics": { - "shape": "S7k" + "shape": "S8h" }, "AdvancedDataProtectionMetrics": { - "shape": "S7l" + "shape": "S8i" }, "DetailedStatusCodesMetrics": { - "shape": "S7m" + "shape": "S8j" } } }, "AdvancedCostOptimizationMetrics": { - "shape": "S7k" + "shape": "S8h" }, "AdvancedDataProtectionMetrics": { - "shape": "S7l" + "shape": "S8i" }, "DetailedStatusCodesMetrics": { - "shape": "S7m" + "shape": "S8j" } } }, @@ -3757,10 +4043,10 @@ "type": "structure", "members": { "Buckets": { - "shape": "S7o" + "shape": "S8l" }, "Regions": { - "shape": "S7p" + "shape": "S8m" } } }, @@ -3768,10 +4054,10 @@ "type": "structure", "members": { "Buckets": { - "shape": "S7o" + "shape": "S8l" }, "Regions": { - "shape": "S7p" + "shape": "S8m" } } }, @@ -3842,7 +4128,7 @@ "StorageLensArn": {} } }, - "S7b": { + "S88": { "type": "structure", "members": { "IsEnabled": { @@ -3850,7 +4136,7 @@ } } }, - "S7k": { + "S8h": { "type": "structure", "members": { "IsEnabled": { @@ -3858,7 +4144,7 @@ } } }, - "S7l": { + "S8i": { "type": "structure", "members": { "IsEnabled": { @@ -3866,7 +4152,7 @@ } } }, - "S7m": { + "S8j": { "type": "structure", "members": { "IsEnabled": { @@ -3874,19 +4160,19 @@ } } }, - "S7o": { + "S8l": { "type": "list", "member": { "locationName": "Arn" } }, - "S7p": { + "S8m": { "type": "list", "member": { "locationName": "Region" } }, - "S86": { + "S93": { "type": "list", "member": { "locationName": "Tag", diff --git a/apis/s3control-2018-08-20.normal.json b/apis/s3control-2018-08-20.normal.json index 65059bdaaf..563d1ae45c 100644 --- a/apis/s3control-2018-08-20.normal.json +++ b/apis/s3control-2018-08-20.normal.json @@ -286,6 +286,25 @@ } } }, + "DeleteBucketReplication": { + "name": "DeleteBucketReplication", + "http": { + "method": "DELETE", + "requestUri": "/v20180820/bucket/{name}/replication" + }, + "input": { + "shape": "DeleteBucketReplicationRequest" + }, + "documentation": "

This operation deletes an Amazon S3 on Outposts bucket's replication configuration. To delete an S3 bucket's replication configuration, see DeleteBucketReplication in the Amazon S3 API Reference.

Deletes the replication configuration from the specified S3 on Outposts bucket.

To use this operation, you must have permissions to perform the s3-outposts:PutReplicationConfiguration action. The Outposts bucket owner has this permission by default and can grant it to others. For more information about permissions, see Setting up IAM with S3 on Outposts and Managing access to S3 on Outposts buckets in the Amazon S3 User Guide.

It can take a while to propagate PUT or DELETE requests for a replication configuration to all S3 on Outposts systems. Therefore, the replication configuration that's returned by a GET request soon after a PUT or DELETE request might return a more recent result than what's on the Outpost. If an Outpost is offline, the delay in updating the replication configuration on that Outpost can be significant.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section.

For information about S3 replication on Outposts configuration, see Replicating objects for Amazon Web Services Outposts in the Amazon S3 User Guide.

The following operations are related to DeleteBucketReplication:

", + "endpoint": { + "hostPrefix": "{AccountId}." + }, + "staticContextParams": { + "RequiresAccountId": { + "value": true + } + } + }, "DeleteBucketTagging": { "name": "DeleteBucketTagging", "http": { @@ -329,7 +348,7 @@ "shape": "NotFoundException" } ], - "documentation": "

Removes the entire tag set from the specified S3 Batch Operations job. To use this operation, you must have permission to perform the s3:DeleteJobTagging action. For more information, see Controlling access and labeling jobs using tags in the Amazon S3 User Guide.

Related actions include:

", + "documentation": "

Removes the entire tag set from the specified S3 Batch Operations job. To use the DeleteJobTagging operation, you must have permission to perform the s3:DeleteJobTagging action. For more information, see Controlling access and labeling jobs using tags in the Amazon S3 User Guide.

Related actions include:

", "endpoint": { "hostPrefix": "{AccountId}." }, @@ -705,6 +724,28 @@ } } }, + "GetBucketReplication": { + "name": "GetBucketReplication", + "http": { + "method": "GET", + "requestUri": "/v20180820/bucket/{name}/replication" + }, + "input": { + "shape": "GetBucketReplicationRequest" + }, + "output": { + "shape": "GetBucketReplicationResult" + }, + "documentation": "

This operation gets an Amazon S3 on Outposts bucket's replication configuration. To get an S3 bucket's replication configuration, see GetBucketReplication in the Amazon S3 API Reference.

Returns the replication configuration of an S3 on Outposts bucket. For more information about S3 on Outposts, see Using Amazon S3 on Outposts in the Amazon S3 User Guide. For information about S3 replication on Outposts configuration, see Replicating objects for Amazon Web Services Outposts in the Amazon S3 User Guide.

It can take a while to propagate PUT or DELETE requests for a replication configuration to all S3 on Outposts systems. Therefore, the replication configuration that's returned by a GET request soon after a PUT or DELETE request might return a more recent result than what's on the Outpost. If an Outpost is offline, the delay in updating the replication configuration on that Outpost can be significant.

This action requires permissions for the s3-outposts:GetReplicationConfiguration action. The Outposts bucket owner has this permission by default and can grant it to others. For more information about permissions, see Setting up IAM with S3 on Outposts and Managing access to S3 on Outposts bucket in the Amazon S3 User Guide.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section.

If you include the Filter element in a replication configuration, you must also include the DeleteMarkerReplication, Status, and Priority elements. The response also returns those elements.

For information about S3 on Outposts replication failure reasons, see Replication failure reasons in the Amazon S3 User Guide.

The following operations are related to GetBucketReplication:

", + "endpoint": { + "hostPrefix": "{AccountId}." + }, + "staticContextParams": { + "RequiresAccountId": { + "value": true + } + } + }, "GetBucketTagging": { "name": "GetBucketTagging", "http": { @@ -739,7 +780,7 @@ "output": { "shape": "GetBucketVersioningResult" }, - "documentation": "

This operation returns the versioning state only for S3 on Outposts buckets. To return the versioning state for an S3 bucket, see GetBucketVersioning in the Amazon S3 API Reference.

Returns the versioning state for an S3 on Outposts bucket. With versioning, you can save multiple distinct copies of your data and recover from unintended user actions and application failures.

If you've never set versioning on your bucket, it has no versioning state. In that case, the GetBucketVersioning request does not return a versioning state value.

For more information about versioning, see Versioning in the Amazon S3 User Guide.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section.

The following operations are related to GetBucketVersioning for S3 on Outposts.

", + "documentation": "

This operation returns the versioning state for S3 on Outposts buckets only. To return the versioning state for an S3 bucket, see GetBucketVersioning in the Amazon S3 API Reference.

Returns the versioning state for an S3 on Outposts bucket. With S3 Versioning, you can save multiple distinct copies of your objects and recover from unintended user actions and application failures.

If you've never set versioning on your bucket, it has no versioning state. In that case, the GetBucketVersioning request does not return a versioning state value.

For more information about versioning, see Versioning in the Amazon S3 User Guide.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section.

The following operations are related to GetBucketVersioning for S3 on Outposts.

", "endpoint": { "hostPrefix": "{AccountId}." }, @@ -772,7 +813,7 @@ "shape": "NotFoundException" } ], - "documentation": "

Returns the tags on an S3 Batch Operations job. To use this operation, you must have permission to perform the s3:GetJobTagging action. For more information, see Controlling access and labeling jobs using tags in the Amazon S3 User Guide.

Related actions include:

", + "documentation": "

Returns the tags on an S3 Batch Operations job. To use the GetJobTagging operation, you must have permission to perform the s3:GetJobTagging action. For more information, see Controlling access and labeling jobs using tags in the Amazon S3 User Guide.

Related actions include:

", "endpoint": { "hostPrefix": "{AccountId}." }, @@ -957,7 +998,7 @@ "output": { "shape": "ListAccessPointsResult" }, - "documentation": "

Returns a list of the access points owned by the current account associated with the specified bucket. You can retrieve up to 1000 access points per call. If the specified bucket has more than 1,000 access points (or the number specified in maxResults, whichever is less), the response will include a continuation token that you can use to list the additional access points.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section.

The following actions are related to ListAccessPoints:

", + "documentation": "

Returns a list of the access points that are owned by the current account that's associated with the specified bucket. You can retrieve up to 1000 access points per call. If the specified bucket has more than 1,000 access points (or the number specified in maxResults, whichever is less), the response will include a continuation token that you can use to list the additional access points.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section.

The following actions are related to ListAccessPoints:

", "endpoint": { "hostPrefix": "{AccountId}." }, @@ -1202,6 +1243,26 @@ } } }, + "PutBucketReplication": { + "name": "PutBucketReplication", + "http": { + "method": "PUT", + "requestUri": "/v20180820/bucket/{name}/replication" + }, + "input": { + "shape": "PutBucketReplicationRequest" + }, + "documentation": "

This action creates an Amazon S3 on Outposts bucket's replication configuration. To create an S3 bucket's replication configuration, see PutBucketReplication in the Amazon S3 API Reference.

Creates a replication configuration or replaces an existing one. For information about S3 replication on Outposts configuration, see Replicating objects for Amazon Web Services Outposts in the Amazon S3 User Guide.

It can take a while to propagate PUT or DELETE requests for a replication configuration to all S3 on Outposts systems. Therefore, the replication configuration that's returned by a GET request soon after a PUT or DELETE request might return a more recent result than what's on the Outpost. If an Outpost is offline, the delay in updating the replication configuration on that Outpost can be significant.

Specify the replication configuration in the request body. In the replication configuration, you provide the following information:

A replication configuration must include at least one rule and can contain a maximum of 100. Each rule identifies a subset of objects to replicate by filtering the objects in the source Outposts bucket. To choose additional subsets of objects to replicate, add a rule for each subset.

To specify a subset of the objects in the source Outposts bucket to apply a replication rule to, add the Filter element as a child of the Rule element. You can filter objects based on an object key prefix, one or more object tags, or both. When you add the Filter element in the configuration, you must also add the following elements: DeleteMarkerReplication, Status, and Priority.

Using PutBucketReplication on Outposts requires that both the source and destination buckets must have versioning enabled. For information about enabling versioning on a bucket, see Managing S3 Versioning for your S3 on Outposts bucket.

For information about S3 on Outposts replication failure reasons, see Replication failure reasons in the Amazon S3 User Guide.

Handling Replication of Encrypted Objects

Outposts buckets are encrypted at all times. All the objects in the source Outposts bucket are encrypted and can be replicated. Also, all the replicas in the destination Outposts bucket are encrypted with the same encryption key as the objects in the source Outposts bucket.

Permissions

To create a PutBucketReplication request, you must have s3-outposts:PutReplicationConfiguration permissions for the bucket. The Outposts bucket owner has this permission by default and can grant it to others. For more information about permissions, see Setting up IAM with S3 on Outposts and Managing access to S3 on Outposts buckets.

To perform this operation, the user or role must also have the iam:PassRole permission.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section.

The following operations are related to PutBucketReplication:

", + "endpoint": { + "hostPrefix": "{AccountId}." + }, + "httpChecksumRequired": true, + "staticContextParams": { + "RequiresAccountId": { + "value": true + } + } + }, "PutBucketTagging": { "name": "PutBucketTagging", "http": { @@ -1231,7 +1292,7 @@ "input": { "shape": "PutBucketVersioningRequest" }, - "documentation": "

This operation sets the versioning state only for S3 on Outposts buckets. To set the versioning state for an S3 bucket, see PutBucketVersioning in the Amazon S3 API Reference.

Sets the versioning state for an S3 on Outposts bucket. With versioning, you can save multiple distinct copies of your data and recover from unintended user actions and application failures.

You can set the versioning state to one of the following:

If you've never set versioning on your bucket, it has no versioning state. In that case, a GetBucketVersioning request does not return a versioning state value.

When you enable S3 Versioning, for each object in your bucket, you have a current version and zero or more noncurrent versions. You can configure your bucket S3 Lifecycle rules to expire noncurrent versions after a specified time period. For more information, see Creating and managing a lifecycle configuration for your S3 on Outposts bucket in the Amazon S3 User Guide.

If you have an object expiration lifecycle policy in your non-versioned bucket and you want to maintain the same permanent delete behavior when you enable versioning, you must add a noncurrent expiration policy. The noncurrent expiration lifecycle policy will manage the deletes of the noncurrent object versions in the version-enabled bucket. For more information, see Versioning in the Amazon S3 User Guide.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section.

The following operations are related to PutBucketVersioning for S3 on Outposts.

", + "documentation": "

This operation sets the versioning state for S3 on Outposts buckets only. To set the versioning state for an S3 bucket, see PutBucketVersioning in the Amazon S3 API Reference.

Sets the versioning state for an S3 on Outposts bucket. With S3 Versioning, you can save multiple distinct copies of your objects and recover from unintended user actions and application failures.

You can set the versioning state to one of the following:

If you've never set versioning on your bucket, it has no versioning state. In that case, a GetBucketVersioning request does not return a versioning state value.

When you enable S3 Versioning, for each object in your bucket, you have a current version and zero or more noncurrent versions. You can configure your bucket S3 Lifecycle rules to expire noncurrent versions after a specified time period. For more information, see Creating and managing a lifecycle configuration for your S3 on Outposts bucket in the Amazon S3 User Guide.

If you have an object expiration lifecycle policy in your non-versioned bucket and you want to maintain the same permanent delete behavior when you enable versioning, you must add a noncurrent expiration policy. The noncurrent expiration lifecycle policy will manage the deletions of the noncurrent object versions in the version-enabled bucket. For more information, see Versioning in the Amazon S3 User Guide.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section.

The following operations are related to PutBucketVersioning for S3 on Outposts.

", "endpoint": { "hostPrefix": "{AccountId}." }, @@ -1272,7 +1333,7 @@ "shape": "TooManyTagsException" } ], - "documentation": "

Sets the supplied tag-set on an S3 Batch Operations job.

A tag is a key-value pair. You can associate S3 Batch Operations tags with any job by sending a PUT request against the tagging subresource that is associated with the job. To modify the existing tag set, you can either replace the existing tag set entirely, or make changes within the existing tag set by retrieving the existing tag set using GetJobTagging, modify that tag set, and use this action to replace the tag set with the one you modified. For more information, see Controlling access and labeling jobs using tags in the Amazon S3 User Guide.

To use this action, you must have permission to perform the s3:PutJobTagging action.

Related actions include:

", + "documentation": "

Sets the supplied tag-set on an S3 Batch Operations job.

A tag is a key-value pair. You can associate S3 Batch Operations tags with any job by sending a PUT request against the tagging subresource that is associated with the job. To modify the existing tag set, you can either replace the existing tag set entirely, or make changes within the existing tag set by retrieving the existing tag set using GetJobTagging, modify that tag set, and use this action to replace the tag set with the one you modified. For more information, see Controlling access and labeling jobs using tags in the Amazon S3 User Guide.

To use the PutJobTagging operation, you must have permission to perform the s3:PutJobTagging action.

Related actions include:

", "endpoint": { "hostPrefix": "{AccountId}." }, @@ -1491,6 +1552,19 @@ }, "documentation": "

The container for abort incomplete multipart upload

" }, + "AccessControlTranslation": { + "type": "structure", + "required": [ + "Owner" + ], + "members": { + "Owner": { + "shape": "OwnerOverride", + "documentation": "

Specifies the replica ownership.

" + } + }, + "documentation": "

A container for information about access control for replicas.

This is not supported by Amazon S3 on Outposts buckets.

" + }, "AccessPoint": { "type": "structure", "required": [ @@ -1539,7 +1613,7 @@ }, "AccessPointName": { "type": "string", - "max": 63, + "max": 255, "min": 3 }, "AccountId": { @@ -1753,6 +1827,9 @@ "authenticated-read" ] }, + "BucketIdentifierString": { + "type": "string" + }, "BucketLevel": { "type": "structure", "members": { @@ -1907,7 +1984,7 @@ }, "Bucket": { "shape": "BucketName", - "documentation": "

The name of the bucket that you want to associate this access point with.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", + "documentation": "

The name of the bucket that you want to associate this access point with.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", "contextParam": { "name": "Bucket" } @@ -2037,7 +2114,7 @@ }, "BucketArn": { "shape": "S3RegionalBucketArn", - "documentation": "

The Amazon Resource Name (ARN) of the bucket.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

" + "documentation": "

The Amazon Resource Name (ARN) of the bucket.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

" } } }, @@ -2259,7 +2336,7 @@ }, "Name": { "shape": "AccessPointName", - "documentation": "

The name of the access point whose policy you want to delete.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>. For example, to access the access point reports-ap through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap. The value must be URL encoded.

", + "documentation": "

The name of the access point whose policy you want to delete.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>. For example, to access the access point reports-ap through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap. The value must be URL encoded.

", "contextParam": { "name": "AccessPointName" }, @@ -2287,7 +2364,7 @@ }, "Name": { "shape": "AccessPointName", - "documentation": "

The name of the access point you want to delete.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>. For example, to access the access point reports-ap through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap. The value must be URL encoded.

", + "documentation": "

The name of the access point you want to delete.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>. For example, to access the access point reports-ap through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap. The value must be URL encoded.

", "contextParam": { "name": "AccessPointName" }, @@ -2315,7 +2392,7 @@ }, "Bucket": { "shape": "BucketName", - "documentation": "

Specifies the bucket.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", + "documentation": "

Specifies the bucket.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", "contextParam": { "name": "Bucket" }, @@ -2343,7 +2420,35 @@ }, "Bucket": { "shape": "BucketName", - "documentation": "

Specifies the bucket.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", + "documentation": "

Specifies the bucket.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", + "contextParam": { + "name": "Bucket" + }, + "location": "uri", + "locationName": "name" + } + } + }, + "DeleteBucketReplicationRequest": { + "type": "structure", + "required": [ + "AccountId", + "Bucket" + ], + "members": { + "AccountId": { + "shape": "AccountId", + "documentation": "

The Amazon Web Services account ID of the Outposts bucket to delete the replication configuration for.

", + "contextParam": { + "name": "AccountId" + }, + "hostLabel": true, + "location": "header", + "locationName": "x-amz-account-id" + }, + "Bucket": { + "shape": "BucketName", + "documentation": "

Specifies the S3 on Outposts bucket to delete the replication configuration for.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", "contextParam": { "name": "Bucket" }, @@ -2371,7 +2476,7 @@ }, "Bucket": { "shape": "BucketName", - "documentation": "

Specifies the bucket being deleted.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", + "documentation": "

Specifies the bucket being deleted.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", "contextParam": { "name": "Bucket" }, @@ -2399,7 +2504,7 @@ }, "Bucket": { "shape": "BucketName", - "documentation": "

The bucket ARN that has the tag set to be removed.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", + "documentation": "

The bucket ARN that has the tag set to be removed.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", "contextParam": { "name": "Bucket" }, @@ -2437,6 +2542,26 @@ "type": "structure", "members": {} }, + "DeleteMarkerReplication": { + "type": "structure", + "required": [ + "Status" + ], + "members": { + "Status": { + "shape": "DeleteMarkerReplicationStatus", + "documentation": "

Indicates whether to replicate delete markers.

" + } + }, + "documentation": "

Specifies whether S3 on Outposts replicates delete markers. If you specify a Filter element in your replication configuration, you must also include a DeleteMarkerReplication element. If your Filter includes a Tag element, the DeleteMarkerReplication element's Status child element must be set to Disabled, because S3 on Outposts does not support replicating delete markers for tag-based rules.

For more information about delete marker replication, see How delete operations affect replication in the Amazon S3 User Guide.

" + }, + "DeleteMarkerReplicationStatus": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, "DeleteMultiRegionAccessPointInput": { "type": "structure", "required": [ @@ -2628,6 +2753,43 @@ } } }, + "Destination": { + "type": "structure", + "required": [ + "Bucket" + ], + "members": { + "Account": { + "shape": "AccountId", + "documentation": "

The destination bucket owner's account ID.

" + }, + "Bucket": { + "shape": "BucketIdentifierString", + "documentation": "

The Amazon Resource Name (ARN) of the access point for the destination bucket where you want S3 on Outposts to store the replication results.

" + }, + "ReplicationTime": { + "shape": "ReplicationTime", + "documentation": "

A container that specifies S3 Replication Time Control (S3 RTC) settings, including whether S3 RTC is enabled and the time when all objects and operations on objects must be replicated. Must be specified together with a Metrics block.

This is not supported by Amazon S3 on Outposts buckets.

" + }, + "AccessControlTranslation": { + "shape": "AccessControlTranslation", + "documentation": "

Specify this property only in a cross-account scenario (where the source and destination bucket owners are not the same), and you want to change replica ownership to the Amazon Web Services account that owns the destination bucket. If this property is not specified in the replication configuration, the replicas are owned by same Amazon Web Services account that owns the source object.

This is not supported by Amazon S3 on Outposts buckets.

" + }, + "EncryptionConfiguration": { + "shape": "EncryptionConfiguration", + "documentation": "

A container that provides information about encryption. If SourceSelectionCriteria is specified, you must specify this element.

This is not supported by Amazon S3 on Outposts buckets.

" + }, + "Metrics": { + "shape": "Metrics", + "documentation": "

A container that specifies replication metrics-related settings.

" + }, + "StorageClass": { + "shape": "ReplicationStorageClass", + "documentation": "

The storage class to use when replicating objects. All objects stored on S3 on Outposts are stored in the OUTPOSTS storage class. S3 on Outposts uses the OUTPOSTS storage class to create the object replicas.

Values other than OUTPOSTS are not supported by Amazon S3 on Outposts.

" + } + }, + "documentation": "

Specifies information about the replication destination bucket and its settings for an S3 on Outposts replication configuration.

" + }, "DetailedStatusCodesMetrics": { "type": "structure", "members": { @@ -2638,6 +2800,17 @@ }, "documentation": "

The container element for Amazon S3 Storage Lens detailed status code metrics. Detailed status code metrics generate metrics for HTTP status codes, such as 200 OK, 403 Forbidden, 503 Service Unavailable and others.

For more information about S3 Storage Lens, see Assessing your storage activity and usage with S3 Storage Lens in the Amazon S3 User Guide. For a complete list of S3 Storage Lens metrics, see S3 Storage Lens metrics glossary in the Amazon S3 User Guide.

" }, + "EncryptionConfiguration": { + "type": "structure", + "members": { + "ReplicaKmsKeyID": { + "shape": "ReplicaKmsKeyID", + "documentation": "

Specifies the ID of the customer managed KMS key that's stored in Key Management Service (KMS) for the destination bucket. This ID is either the Amazon Resource Name (ARN) for the KMS key or the alias ARN for the KMS key. Amazon S3 uses this KMS key to encrypt replica objects. Amazon S3 supports only symmetric encryption KMS keys. For more information, see Symmetric encryption KMS keys in the Amazon Web Services Key Management Service Developer Guide.

", + "box": true + } + }, + "documentation": "

Specifies encryption-related information for an Amazon S3 bucket that is a destination for replicated objects.

This is not supported by Amazon S3 on Outposts buckets.

" + }, "Endpoints": { "type": "map", "key": { @@ -2671,6 +2844,26 @@ }, "documentation": "

A container for what Amazon S3 Storage Lens will exclude.

" }, + "ExistingObjectReplication": { + "type": "structure", + "required": [ + "Status" + ], + "members": { + "Status": { + "shape": "ExistingObjectReplicationStatus", + "documentation": "

Specifies whether Amazon S3 replicates existing source bucket objects.

" + } + }, + "documentation": "

An optional configuration to replicate existing source bucket objects.

This is not supported by Amazon S3 on Outposts buckets.

" + }, + "ExistingObjectReplicationStatus": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, "ExpirationStatus": { "type": "string", "enum": [ @@ -2845,7 +3038,7 @@ }, "Name": { "shape": "AccessPointName", - "documentation": "

The name of the access point whose policy you want to retrieve.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>. For example, to access the access point reports-ap through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap. The value must be URL encoded.

", + "documentation": "

The name of the access point whose policy you want to retrieve.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>. For example, to access the access point reports-ap through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap. The value must be URL encoded.

", "contextParam": { "name": "AccessPointName" }, @@ -2952,7 +3145,7 @@ }, "Name": { "shape": "AccessPointName", - "documentation": "

The name of the access point whose configuration information you want to retrieve.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>. For example, to access the access point reports-ap through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap. The value must be URL encoded.

", + "documentation": "

The name of the access point whose configuration information you want to retrieve.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>. For example, to access the access point reports-ap through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap. The value must be URL encoded.

", "contextParam": { "name": "AccessPointName" }, @@ -3024,7 +3217,7 @@ }, "Bucket": { "shape": "BucketName", - "documentation": "

The Amazon Resource Name (ARN) of the bucket.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", + "documentation": "

The Amazon Resource Name (ARN) of the bucket.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", "contextParam": { "name": "Bucket" }, @@ -3061,7 +3254,7 @@ }, "Bucket": { "shape": "BucketName", - "documentation": "

Specifies the bucket.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", + "documentation": "

Specifies the bucket.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", "contextParam": { "name": "Bucket" }, @@ -3079,6 +3272,43 @@ } } }, + "GetBucketReplicationRequest": { + "type": "structure", + "required": [ + "AccountId", + "Bucket" + ], + "members": { + "AccountId": { + "shape": "AccountId", + "documentation": "

The Amazon Web Services account ID of the Outposts bucket.

", + "contextParam": { + "name": "AccountId" + }, + "hostLabel": true, + "location": "header", + "locationName": "x-amz-account-id" + }, + "Bucket": { + "shape": "BucketName", + "documentation": "

Specifies the bucket to get the replication information for.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", + "contextParam": { + "name": "Bucket" + }, + "location": "uri", + "locationName": "name" + } + } + }, + "GetBucketReplicationResult": { + "type": "structure", + "members": { + "ReplicationConfiguration": { + "shape": "ReplicationConfiguration", + "documentation": "

A container for one or more replication rules. A replication configuration must have at least one rule and you can add up to 100 rules. The maximum size of a replication configuration is 128 KB.

" + } + } + }, "GetBucketRequest": { "type": "structure", "required": [ @@ -3098,7 +3328,7 @@ }, "Bucket": { "shape": "BucketName", - "documentation": "

Specifies the bucket.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", + "documentation": "

Specifies the bucket.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", "contextParam": { "name": "Bucket" }, @@ -3143,7 +3373,7 @@ }, "Bucket": { "shape": "BucketName", - "documentation": "

Specifies the bucket.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", + "documentation": "

Specifies the bucket.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", "contextParam": { "name": "Bucket" }, @@ -3787,7 +4017,7 @@ "members": { "ObjectArn": { "shape": "S3KeyArnString", - "documentation": "

The Amazon Resource Name (ARN) for a manifest object.

Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.

" + "documentation": "

The Amazon Resource Name (ARN) for a manifest object.

When you're using XML requests, you must replace special characters (such as carriage returns) in object keys with their equivalent XML entity codes. For more information, see XML-related object key constraints in the Amazon S3 User Guide.

" }, "ObjectVersionId": { "shape": "S3ObjectVersionId", @@ -4116,7 +4346,7 @@ "members": { "Prefix": { "shape": "Prefix", - "documentation": "

Prefix identifying one or more objects to which the rule applies.

Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.

" + "documentation": "

Prefix identifying one or more objects to which the rule applies.

When you're using XML requests, you must replace special characters (such as carriage returns) in object keys with their equivalent XML entity codes. For more information, see XML-related object key constraints in the Amazon S3 User Guide.

" }, "Tag": { "shape": "S3Tag" @@ -4206,7 +4436,7 @@ }, "Bucket": { "shape": "BucketName", - "documentation": "

The name of the bucket whose associated access points you want to list.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", + "documentation": "

The name of the bucket whose associated access points you want to list.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", "contextParam": { "name": "Bucket" }, @@ -4483,11 +4713,38 @@ "max": 1000, "min": 0 }, + "Metrics": { + "type": "structure", + "required": [ + "Status" + ], + "members": { + "Status": { + "shape": "MetricsStatus", + "documentation": "

Specifies whether replication metrics are enabled.

" + }, + "EventThreshold": { + "shape": "ReplicationTimeValue", + "documentation": "

A container that specifies the time threshold for emitting the s3:Replication:OperationMissedThreshold event.

This is not supported by Amazon S3 on Outposts buckets.

" + } + }, + "documentation": "

A container that specifies replication metrics-related settings.

" + }, + "MetricsStatus": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, "MinStorageBytesPercentage": { "type": "double", "max": 100, "min": 0.1 }, + "Minutes": { + "type": "integer" + }, "MultiRegionAccessPointAlias": { "type": "string", "max": 63, @@ -4595,7 +4852,7 @@ }, "TrafficDialPercentage": { "shape": "TrafficDialPercentage", - "documentation": "

The traffic state for the specified bucket or Amazon Web Services Region.

A value of 0 indicates a passive state, which means that no new traffic will be routed to the Region.

A value of 100 indicates an active state, which means that traffic will be routed to the specified Region.

When the routing configuration for a Region is changed from active to passive, any in-progress operations (uploads, copies, deletes, and so on) to the formerly active Region will continue to run to until a final success or failure status is reached.

If all Regions in the routing configuration are designated as passive, you'll receive an InvalidRequest error.

" + "documentation": "

The traffic state for the specified bucket or Amazon Web Services Region.

A value of 0 indicates a passive state, which means that no new traffic will be routed to the Region.

A value of 100 indicates an active state, which means that traffic will be routed to the specified Region.

When the routing configuration for a Region is changed from active to passive, any in-progress operations (uploads, copies, deletes, and so on) to the formerly active Region will continue to run to until a final success or failure status is reached.

If all Regions in the routing configuration are designated as passive, you'll receive an InvalidRequest error.

" } }, "documentation": "

A structure for a Multi-Region Access Point that indicates where Amazon S3 traffic can be routed. Routes can be either active or passive. Active routes can process Amazon S3 requests through the Multi-Region Access Point, but passive routes are not eligible to process Amazon S3 requests.

Each route contains the Amazon S3 bucket name and the Amazon Web Services Region that the bucket is located in. The route also includes the TrafficDialPercentage value, which shows whether the bucket and Region are active (indicated by a value of 100) or passive (indicated by a value of 0).

" @@ -4858,6 +5115,12 @@ "V_1" ] }, + "OwnerOverride": { + "type": "string", + "enum": [ + "Destination" + ] + }, "Policy": { "type": "string" }, @@ -4901,6 +5164,9 @@ }, "documentation": "

A container for the prefix-level storage metrics for S3 Storage Lens.

" }, + "Priority": { + "type": "integer" + }, "ProposedMultiRegionAccessPointPolicy": { "type": "structure", "members": { @@ -5020,7 +5286,7 @@ }, "Name": { "shape": "AccessPointName", - "documentation": "

The name of the access point that you want to associate with the specified policy.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>. For example, to access the access point reports-ap through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap. The value must be URL encoded.

", + "documentation": "

The name of the access point that you want to associate with the specified policy.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>. For example, to access the access point reports-ap through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap. The value must be URL encoded.

", "contextParam": { "name": "AccessPointName" }, @@ -5090,7 +5356,7 @@ }, "Bucket": { "shape": "BucketName", - "documentation": "

Specifies the bucket.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", + "documentation": "

Specifies the bucket.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", "contextParam": { "name": "Bucket" }, @@ -5109,6 +5375,44 @@ } } }, + "PutBucketReplicationRequest": { + "type": "structure", + "required": [ + "AccountId", + "Bucket", + "ReplicationConfiguration" + ], + "members": { + "AccountId": { + "shape": "AccountId", + "documentation": "

The Amazon Web Services account ID of the Outposts bucket.

", + "contextParam": { + "name": "AccountId" + }, + "hostLabel": true, + "location": "header", + "locationName": "x-amz-account-id" + }, + "Bucket": { + "shape": "BucketName", + "documentation": "

Specifies the S3 on Outposts bucket to set the configuration for.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", + "contextParam": { + "name": "Bucket" + }, + "location": "uri", + "locationName": "name" + }, + "ReplicationConfiguration": { + "shape": "ReplicationConfiguration", + "documentation": "

", + "locationName": "ReplicationConfiguration", + "xmlNamespace": { + "uri": "http://awss3control.amazonaws.com/doc/2018-08-20/" + } + } + }, + "payload": "ReplicationConfiguration" + }, "PutBucketTaggingRequest": { "type": "structure", "required": [ @@ -5129,7 +5433,7 @@ }, "Bucket": { "shape": "BucketName", - "documentation": "

The Amazon Resource Name (ARN) of the bucket.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", + "documentation": "

The Amazon Resource Name (ARN) of the bucket.

For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.

For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.

", "contextParam": { "name": "Bucket" }, @@ -5386,6 +5690,10 @@ "Bucket": { "shape": "BucketName", "documentation": "

The name of the associated bucket for the Region.

" + }, + "BucketAccountId": { + "shape": "AccountId", + "documentation": "

The Amazon Web Services account ID that owns the Amazon S3 bucket that's associated with this Multi-Region Access Point.

" } }, "documentation": "

A Region that supports a Multi-Region Access Point as well as the associated bucket for the Region.

" @@ -5412,6 +5720,10 @@ "Region": { "shape": "RegionName", "documentation": "

The name of the Region.

" + }, + "BucketAccountId": { + "shape": "AccountId", + "documentation": "

The Amazon Web Services account ID that owns the Amazon S3 bucket that's associated with this Multi-Region Access Point.

" } }, "documentation": "

A combination of a bucket and Region that's part of a Multi-Region Access Point.

" @@ -5468,6 +5780,146 @@ "locationName": "Region" } }, + "ReplicaKmsKeyID": { + "type": "string" + }, + "ReplicaModifications": { + "type": "structure", + "required": [ + "Status" + ], + "members": { + "Status": { + "shape": "ReplicaModificationsStatus", + "documentation": "

Specifies whether S3 on Outposts replicates modifications to object metadata on replicas.

" + } + }, + "documentation": "

A filter that you can use to specify whether replica modification sync is enabled. S3 on Outposts replica modification sync can help you keep object metadata synchronized between replicas and source objects. By default, S3 on Outposts replicates metadata from the source objects to the replicas only. When replica modification sync is enabled, S3 on Outposts replicates metadata changes made to the replica copies back to the source object, making the replication bidirectional.

To replicate object metadata modifications on replicas, you can specify this element and set the Status of this element to Enabled.

You must enable replica modification sync on the source and destination buckets to replicate replica metadata changes between the source and the replicas.

" + }, + "ReplicaModificationsStatus": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + "ReplicationConfiguration": { + "type": "structure", + "required": [ + "Role", + "Rules" + ], + "members": { + "Role": { + "shape": "Role", + "documentation": "

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that S3 on Outposts assumes when replicating objects. For information about S3 replication on Outposts configuration, see Setting up replication in the Amazon S3 User Guide.

" + }, + "Rules": { + "shape": "ReplicationRules", + "documentation": "

A container for one or more replication rules. A replication configuration must have at least one rule and can contain an array of 100 rules at the most.

" + } + }, + "documentation": "

A container for one or more replication rules. A replication configuration must have at least one rule and you can add up to 100 rules. The maximum size of a replication configuration is 128 KB.

" + }, + "ReplicationRule": { + "type": "structure", + "required": [ + "Status", + "Destination", + "Bucket" + ], + "members": { + "ID": { + "shape": "ID", + "documentation": "

A unique identifier for the rule. The maximum value is 255 characters.

" + }, + "Priority": { + "shape": "Priority", + "documentation": "

The priority indicates which rule has precedence whenever two or more replication rules conflict. S3 on Outposts attempts to replicate objects according to all replication rules. However, if there are two or more rules with the same destination Outposts bucket, then objects will be replicated according to the rule with the highest priority. The higher the number, the higher the priority.

For more information, see Creating replication rules between Outposts in the Amazon S3 User Guide.

", + "box": true + }, + "Prefix": { + "shape": "Prefix", + "documentation": "

An object key name prefix that identifies the object or objects to which the rule applies. The maximum prefix length is 1,024 characters. To include all objects in an Outposts bucket, specify an empty string.

When you're using XML requests, you must replace special characters (such as carriage returns) in object keys with their equivalent XML entity codes. For more information, see XML-related object key constraints in the Amazon S3 User Guide.

", + "deprecated": true, + "deprecatedMessage": "Prefix has been deprecated" + }, + "Filter": { + "shape": "ReplicationRuleFilter", + "documentation": "

A filter that identifies the subset of objects to which the replication rule applies. A Filter element must specify exactly one Prefix, Tag, or And child element.

" + }, + "Status": { + "shape": "ReplicationRuleStatus", + "documentation": "

Specifies whether the rule is enabled.

" + }, + "SourceSelectionCriteria": { + "shape": "SourceSelectionCriteria", + "documentation": "

A container that describes additional filters for identifying the source Outposts objects that you want to replicate. You can choose to enable or disable the replication of these objects.

" + }, + "ExistingObjectReplication": { + "shape": "ExistingObjectReplication", + "documentation": "

An optional configuration to replicate existing source bucket objects.

This is not supported by Amazon S3 on Outposts buckets.

" + }, + "Destination": { + "shape": "Destination", + "documentation": "

A container for information about the replication destination and its configurations.

" + }, + "DeleteMarkerReplication": { + "shape": "DeleteMarkerReplication", + "documentation": "

Specifies whether S3 on Outposts replicates delete markers. If you specify a Filter element in your replication configuration, you must also include a DeleteMarkerReplication element. If your Filter includes a Tag element, the DeleteMarkerReplication element's Status child element must be set to Disabled, because S3 on Outposts doesn't support replicating delete markers for tag-based rules.

For more information about delete marker replication, see How delete operations affect replication in the Amazon S3 User Guide.

" + }, + "Bucket": { + "shape": "BucketIdentifierString", + "documentation": "

The Amazon Resource Name (ARN) of the access point for the source Outposts bucket that you want S3 on Outposts to replicate the objects from.

" + } + }, + "documentation": "

Specifies which S3 on Outposts objects to replicate and where to store the replicas.

" + }, + "ReplicationRuleAndOperator": { + "type": "structure", + "members": { + "Prefix": { + "shape": "Prefix", + "documentation": "

An object key name prefix that identifies the subset of objects that the rule applies to.

" + }, + "Tags": { + "shape": "S3TagSet", + "documentation": "

An array of tags that contain key and value pairs.

" + } + }, + "documentation": "

A container for specifying rule filters. The filters determine the subset of objects to which the rule applies. This element is required only if you specify more than one filter.

For example:

" + }, + "ReplicationRuleFilter": { + "type": "structure", + "members": { + "Prefix": { + "shape": "Prefix", + "documentation": "

An object key name prefix that identifies the subset of objects that the rule applies to.

When you're using XML requests, you must replace special characters (such as carriage returns) in object keys with their equivalent XML entity codes. For more information, see XML-related object key constraints in the Amazon S3 User Guide.

" + }, + "Tag": { + "shape": "S3Tag" + }, + "And": { + "shape": "ReplicationRuleAndOperator", + "documentation": "

A container for specifying rule filters. The filters determine the subset of objects that the rule applies to. This element is required only if you specify more than one filter. For example:

" + } + }, + "documentation": "

A filter that identifies the subset of objects to which the replication rule applies. A Filter element must specify exactly one Prefix, Tag, or And child element.

" + }, + "ReplicationRuleStatus": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + "ReplicationRules": { + "type": "list", + "member": { + "shape": "ReplicationRule", + "locationName": "Rule" + } + }, "ReplicationStatus": { "type": "string", "enum": [ @@ -5483,6 +5935,56 @@ "shape": "ReplicationStatus" } }, + "ReplicationStorageClass": { + "type": "string", + "enum": [ + "STANDARD", + "REDUCED_REDUNDANCY", + "STANDARD_IA", + "ONEZONE_IA", + "INTELLIGENT_TIERING", + "GLACIER", + "DEEP_ARCHIVE", + "OUTPOSTS", + "GLACIER_IR" + ] + }, + "ReplicationTime": { + "type": "structure", + "required": [ + "Status", + "Time" + ], + "members": { + "Status": { + "shape": "ReplicationTimeStatus", + "documentation": "

Specifies whether S3 Replication Time Control (S3 RTC) is enabled.

" + }, + "Time": { + "shape": "ReplicationTimeValue", + "documentation": "

A container that specifies the time by which replication should be complete for all objects and operations on objects.

" + } + }, + "documentation": "

A container that specifies S3 Replication Time Control (S3 RTC) related information, including whether S3 RTC is enabled and the time when all objects and operations on objects must be replicated.

This is not supported by Amazon S3 on Outposts buckets.

" + }, + "ReplicationTimeStatus": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + "ReplicationTimeValue": { + "type": "structure", + "members": { + "Minutes": { + "shape": "Minutes", + "documentation": "

Contains an integer that specifies the time period in minutes.

Valid value: 15

", + "box": true + } + }, + "documentation": "

A container that specifies the time value for S3 Replication Time Control (S3 RTC). This value is also used for the replication metrics EventThreshold element.

This is not supported by Amazon S3 on Outposts buckets.

" + }, "ReportPrefixString": { "type": "string", "max": 512, @@ -5495,6 +5997,9 @@ "Ready" ] }, + "Role": { + "type": "string" + }, "RouteList": { "type": "list", "member": { @@ -5618,7 +6123,7 @@ "members": { "TargetResource": { "shape": "S3BucketArnString", - "documentation": "

Specifies the destination bucket ARN for the batch copy operation. For example, to copy objects to a bucket named destinationBucket, set the TargetResource property to arn:aws:s3:::destinationBucket.

" + "documentation": "

Specifies the destination bucket Amazon Resource Name (ARN) for the batch copy operation. For example, to copy objects to a bucket named destinationBucket, set the TargetResource property to arn:aws:s3:::destinationBucket.

" }, "CannedAccessControlList": { "shape": "S3CannedAccessControlList", @@ -5668,7 +6173,7 @@ }, "TargetKeyPrefix": { "shape": "NonEmptyMaxLength1024String", - "documentation": "

Specifies the folder prefix into which you would like the objects to be copied. For example, to copy objects into a folder named Folder1 in the destination bucket, set the TargetKeyPrefix to Folder1.

" + "documentation": "

Specifies the folder prefix that you want the objects to be copied into. For example, to copy objects into a folder named Folder1 in the destination bucket, set the TargetKeyPrefix property to Folder1.

" }, "ObjectLockLegalHoldStatus": { "shape": "S3ObjectLockLegalHoldStatus", @@ -5688,15 +6193,15 @@ }, "ChecksumAlgorithm": { "shape": "S3ChecksumAlgorithm", - "documentation": "

Indicates the algorithm you want Amazon S3 to use to create the checksum. For more information see Checking object integrity in the Amazon S3 User Guide.

" + "documentation": "

Indicates the algorithm that you want Amazon S3 to use to create the checksum. For more information, see Checking object integrity in the Amazon S3 User Guide.

" } }, - "documentation": "

Contains the configuration parameters for a PUT Copy object operation. S3 Batch Operations passes every object to the underlying PUT Copy object API. For more information about the parameters for this operation, see PUT Object - Copy.

" + "documentation": "

Contains the configuration parameters for a PUT Copy object operation. S3 Batch Operations passes every object to the underlying CopyObject API operation. For more information about the parameters for this operation, see CopyObject.

" }, "S3DeleteObjectTaggingOperation": { "type": "structure", "members": {}, - "documentation": "

Contains no configuration parameters because the DELETE Object tagging API only accepts the bucket name and key name as parameters, which are defined in the job's manifest.

" + "documentation": "

Contains no configuration parameters because the DELETE Object tagging (DeleteObjectTagging) API operation accepts only the bucket name and key name as parameters, which are defined in the job's manifest.

" }, "S3ExpirationInDays": { "type": "integer", @@ -5782,7 +6287,7 @@ "documentation": "

S3 Batch Operations supports STANDARD and BULK retrieval tiers, but not the EXPEDITED retrieval tier.

" } }, - "documentation": "

Contains the configuration parameters for an S3 Initiate Restore Object job. S3 Batch Operations passes every object to the underlying POST Object restore API. For more information about the parameters for this operation, see RestoreObject.

" + "documentation": "

Contains the configuration parameters for a POST Object restore job. S3 Batch Operations passes every object to the underlying RestoreObject API operation. For more information about the parameters for this operation, see RestoreObject.

" }, "S3JobManifestGenerator": { "type": "structure", @@ -6010,7 +6515,7 @@ "documentation": "

" } }, - "documentation": "

Contains the configuration parameters for a Set Object ACL operation. S3 Batch Operations passes every object to the underlying PutObjectAcl API. For more information about the parameters for this operation, see PutObjectAcl .

" + "documentation": "

Contains the configuration parameters for a PUT Object ACL operation. S3 Batch Operations passes every object to the underlying PutObjectAcl API operation. For more information about the parameters for this operation, see PutObjectAcl.

" }, "S3SetObjectLegalHoldOperation": { "type": "structure", @@ -6023,7 +6528,7 @@ "documentation": "

Contains the Object Lock legal hold status to be applied to all objects in the Batch Operations job.

" } }, - "documentation": "

Contains the configuration for an S3 Object Lock legal hold operation that an S3 Batch Operations job passes every object to the underlying PutObjectLegalHold API. For more information, see Using S3 Object Lock legal hold with S3 Batch Operations in the Amazon S3 User Guide.

" + "documentation": "

Contains the configuration for an S3 Object Lock legal hold operation that an S3 Batch Operations job passes to every object to the underlying PutObjectLegalHold API operation. For more information, see Using S3 Object Lock legal hold with S3 Batch Operations in the Amazon S3 User Guide.

" }, "S3SetObjectRetentionOperation": { "type": "structure", @@ -6041,7 +6546,7 @@ "documentation": "

Contains the Object Lock retention mode to be applied to all objects in the Batch Operations job. For more information, see Using S3 Object Lock retention with S3 Batch Operations in the Amazon S3 User Guide.

" } }, - "documentation": "

Contains the configuration parameters for the Object Lock retention action for an S3 Batch Operations job. Batch Operations passes every object to the underlying PutObjectRetention API. For more information, see Using S3 Object Lock retention with S3 Batch Operations in the Amazon S3 User Guide.

" + "documentation": "

Contains the configuration parameters for the Object Lock retention action for an S3 Batch Operations job. Batch Operations passes every object to the underlying PutObjectRetention API operation. For more information, see Using S3 Object Lock retention with S3 Batch Operations in the Amazon S3 User Guide.

" }, "S3SetObjectTaggingOperation": { "type": "structure", @@ -6051,7 +6556,7 @@ "documentation": "

" } }, - "documentation": "

Contains the configuration parameters for a Set Object Tagging operation. S3 Batch Operations passes every object to the underlying PUT Object tagging API. For more information about the parameters for this operation, see PUT Object tagging.

" + "documentation": "

Contains the configuration parameters for a PUT Object Tagging operation. S3 Batch Operations passes every object to the underlying PutObjectTagging API operation. For more information about the parameters for this operation, see PutObjectTagging.

" }, "S3StorageClass": { "type": "string", @@ -6163,6 +6668,40 @@ "Setting": { "type": "boolean" }, + "SourceSelectionCriteria": { + "type": "structure", + "members": { + "SseKmsEncryptedObjects": { + "shape": "SseKmsEncryptedObjects", + "documentation": "

A filter that you can use to select Amazon S3 objects that are encrypted with server-side encryption by using Key Management Service (KMS) keys. If you include SourceSelectionCriteria in the replication configuration, this element is required.

This is not supported by Amazon S3 on Outposts buckets.

" + }, + "ReplicaModifications": { + "shape": "ReplicaModifications", + "documentation": "

A filter that you can use to specify whether replica modification sync is enabled. S3 on Outposts replica modification sync can help you keep object metadata synchronized between replicas and source objects. By default, S3 on Outposts replicates metadata from the source objects to the replicas only. When replica modification sync is enabled, S3 on Outposts replicates metadata changes made to the replica copies back to the source object, making the replication bidirectional.

To replicate object metadata modifications on replicas, you can specify this element and set the Status of this element to Enabled.

You must enable replica modification sync on the source and destination buckets to replicate replica metadata changes between the source and the replicas.

" + } + }, + "documentation": "

A container that describes additional filters for identifying the source objects that you want to replicate. You can choose to enable or disable the replication of these objects.

" + }, + "SseKmsEncryptedObjects": { + "type": "structure", + "required": [ + "Status" + ], + "members": { + "Status": { + "shape": "SseKmsEncryptedObjectsStatus", + "documentation": "

Specifies whether Amazon S3 replicates objects that are created with server-side encryption by using an KMS key stored in Key Management Service.

" + } + }, + "documentation": "

A container for filter information that you can use to select S3 objects that are encrypted with Key Management Service (KMS).

This is not supported by Amazon S3 on Outposts buckets.

" + }, + "SseKmsEncryptedObjectsStatus": { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, "StorageLensArn": { "type": "string", "max": 1024, diff --git a/apis/tnb-2008-10-21.min.json b/apis/tnb-2008-10-21.min.json index 3e13951e10..2384fbf68f 100644 --- a/apis/tnb-2008-10-21.min.json +++ b/apis/tnb-2008-10-21.min.json @@ -721,6 +721,9 @@ "nsInstanceId": { "location": "uri", "locationName": "nsInstanceId" + }, + "tags": { + "shape": "S4" } } }, @@ -730,7 +733,10 @@ "nsLcmOpOccId" ], "members": { - "nsLcmOpOccId": {} + "nsLcmOpOccId": {}, + "tags": { + "shape": "S4" + } } } }, @@ -1264,13 +1270,19 @@ "nsInstanceId": { "location": "uri", "locationName": "nsInstanceId" + }, + "tags": { + "shape": "S4" } } }, "output": { "type": "structure", "members": { - "nsLcmOpOccId": {} + "nsLcmOpOccId": {}, + "tags": { + "shape": "S4" + } } } }, @@ -1364,13 +1376,19 @@ "location": "uri", "locationName": "nsInstanceId" }, + "tags": { + "shape": "S4" + }, "updateType": {} } }, "output": { "type": "structure", "members": { - "nsLcmOpOccId": {} + "nsLcmOpOccId": {}, + "tags": { + "shape": "S4" + } } } }, diff --git a/apis/tnb-2008-10-21.normal.json b/apis/tnb-2008-10-21.normal.json index 93efcdce13..fb8e2311f8 100644 --- a/apis/tnb-2008-10-21.normal.json +++ b/apis/tnb-2008-10-21.normal.json @@ -71,7 +71,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Creates a function package.

A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network. For more information, see Function packages in the Amazon Web Services Telco Network Builder User Guide.

Creating a function package is the first step for creating a network in AWS TNB. This request creates an empty container with an ID. The next step is to upload the actual CSAR zip file into that empty container. To upload function package content, see PutSolFunctionPackageContent.

" + "documentation": "

Creates a function package.

A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network. For more information, see Function packages in the Amazon Web Services Telco Network Builder User Guide.

Creating a function package is the first step for creating a network in AWS TNB. This request creates an empty container with an ID. The next step is to upload the actual CSAR zip file into that empty container. To upload function package content, see PutSolFunctionPackageContent.

" }, "CreateSolNetworkInstance": { "name": "CreateSolNetworkInstance", @@ -106,7 +106,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Creates a network instance.

A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed. Creating a network instance is the third step after creating a network package. For more information about network instances, Network instances in the Amazon Web Services Telco Network Builder User Guide.

Once you create a network instance, you can instantiate it. To instantiate a network, see InstantiateSolNetworkInstance.

" + "documentation": "

Creates a network instance.

A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed. Creating a network instance is the third step after creating a network package. For more information about network instances, Network instances in the Amazon Web Services Telco Network Builder User Guide.

Once you create a network instance, you can instantiate it. To instantiate a network, see InstantiateSolNetworkInstance.

" }, "CreateSolNetworkPackage": { "name": "CreateSolNetworkPackage", @@ -138,7 +138,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Creates a network package.

A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on. For more information, see Network instances in the Amazon Web Services Telco Network Builder User Guide.

A network package consists of a network service descriptor (NSD) file (required) and any additional files (optional), such as scripts specific to your needs. For example, if you have multiple function packages in your network package, you can use the NSD to define which network functions should run in certain VPCs, subnets, or EKS clusters.

This request creates an empty network package container with an ID. Once you create a network package, you can upload the network package content using PutSolNetworkPackageContent.

" + "documentation": "

Creates a network package.

A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on. For more information, see Network instances in the Amazon Web Services Telco Network Builder User Guide.

A network package consists of a network service descriptor (NSD) file (required) and any additional files (optional), such as scripts specific to your needs. For example, if you have multiple function packages in your network package, you can use the NSD to define which network functions should run in certain VPCs, subnets, or EKS clusters.

This request creates an empty network package container with an ID. Once you create a network package, you can upload the network package content using PutSolNetworkPackageContent.

" }, "DeleteSolFunctionPackage": { "name": "DeleteSolFunctionPackage", @@ -167,7 +167,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Deletes a function package.

A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.

To delete a function package, the package must be in a disabled state. To disable a function package, see UpdateSolFunctionPackage.

", + "documentation": "

Deletes a function package.

A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.

To delete a function package, the package must be in a disabled state. To disable a function package, see UpdateSolFunctionPackage.

", "idempotent": true }, "DeleteSolNetworkInstance": { @@ -197,7 +197,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Deletes a network instance.

A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed.

To delete a network instance, the instance must be in a stopped or terminated state. To terminate a network instance, see TerminateSolNetworkInstance.

", + "documentation": "

Deletes a network instance.

A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed.

To delete a network instance, the instance must be in a stopped or terminated state. To terminate a network instance, see TerminateSolNetworkInstance.

", "idempotent": true }, "DeleteSolNetworkPackage": { @@ -227,7 +227,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Deletes network package.

A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on.

To delete a network package, the package must be in a disable state. To disable a network package, see UpdateSolNetworkPackage.

", + "documentation": "

Deletes network package.

A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on.

To delete a network package, the package must be in a disable state. To disable a network package, see UpdateSolNetworkPackage.

", "idempotent": true }, "GetSolFunctionInstance": { @@ -551,7 +551,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Instantiates a network instance.

A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed.

Before you can instantiate a network instance, you have to create a network instance. For more information, see CreateSolNetworkInstance.

" + "documentation": "

Instantiates a network instance.

A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed.

Before you can instantiate a network instance, you have to create a network instance. For more information, see CreateSolNetworkInstance.

" }, "ListSolFunctionInstances": { "name": "ListSolFunctionInstances", @@ -1026,7 +1026,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Validates function package content. This can be used as a dry run before uploading function package content with PutSolFunctionPackageContent.

A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.

", + "documentation": "

Validates function package content. This can be used as a dry run before uploading function package content with PutSolFunctionPackageContent.

A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.

", "idempotent": true }, "ValidateSolNetworkPackageContent": { @@ -1059,7 +1059,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Validates network package content. This can be used as a dry run before uploading network package content with PutSolNetworkPackageContent.

A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on.

", + "documentation": "

Validates network package content. This can be used as a dry run before uploading network package content with PutSolNetworkPackageContent.

A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on.

", "idempotent": true } }, @@ -1079,7 +1079,7 @@ "members": { "nsLcmOpOccId": { "shape": "NsLcmOpOccId", - "documentation": "

The ID of a network operation occurrence.

", + "documentation": "

The identifier of the network operation.

", "location": "uri", "locationName": "nsLcmOpOccId" } @@ -1157,12 +1157,12 @@ }, "CreateSolNetworkInstanceInputNsDescriptionString": { "type": "string", - "max": 124, - "min": 1 + "max": 255, + "min": 0 }, "CreateSolNetworkInstanceInputNsNameString": { "type": "string", - "max": 80, + "max": 100, "min": 1 }, "CreateSolNetworkInstanceOutput": { @@ -1687,7 +1687,7 @@ "members": { "nsLcmOpOccId": { "shape": "NsLcmOpOccId", - "documentation": "

The identifier of the operation occurrence.

", + "documentation": "

The identifier of the network operation.

", "location": "uri", "locationName": "nsLcmOpOccId" } @@ -1709,7 +1709,7 @@ "documentation": "

The date that the resource was last modified.

" } }, - "documentation": "

Metadata related to a network operation occurence.

A network operation is any operation that is done to your network, such as network instance instantiation or termination.

" + "documentation": "

Metadata related to a network operation occurrence.

A network operation is any operation that is done to your network, such as network instance instantiation or termination.

" }, "GetSolNetworkOperationOutput": { "type": "structure", @@ -1723,7 +1723,7 @@ }, "error": { "shape": "ProblemDetails", - "documentation": "

Error related to this specific network operation occurence.

" + "documentation": "

Error related to this specific network operation occurrence.

" }, "id": { "shape": "NsLcmOpOccId", @@ -2023,6 +2023,10 @@ "documentation": "

ID of the network instance.

", "location": "uri", "locationName": "nsInstanceId" + }, + "tags": { + "shape": "TagMap", + "documentation": "

A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. When you use this API, the tags are transferred to the network operation that is created. Use tags to search and filter your resources or track your Amazon Web Services costs.

" } } }, @@ -2034,7 +2038,11 @@ "members": { "nsLcmOpOccId": { "shape": "NsLcmOpOccId", - "documentation": "

The identifier of the network instance.

" + "documentation": "

The identifier of the network operation.

" + }, + "tags": { + "shape": "TagMap", + "documentation": "

A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. When you use this API, the tags are transferred to the network operation that is created. Use tags to search and filter your resources or track your Amazon Web Services costs.

" } } }, @@ -2046,7 +2054,7 @@ "members": { "nsLcmOpOccId": { "shape": "NsLcmOpOccId", - "documentation": "

The identifier of the latest network lifecycle management operation occurrence.

" + "documentation": "

The identifier of the network operation.

" } }, "documentation": "

Lifecycle management operation details on the network instance.

Lifecycle management operations are deploy, update, or delete operations.

" @@ -3014,6 +3022,10 @@ "documentation": "

ID of the network instance.

", "location": "uri", "locationName": "nsInstanceId" + }, + "tags": { + "shape": "TagMap", + "documentation": "

A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. When you use this API, the tags are transferred to the network operation that is created. Use tags to search and filter your resources or track your Amazon Web Services costs.

" } } }, @@ -3022,7 +3034,11 @@ "members": { "nsLcmOpOccId": { "shape": "NsLcmOpOccId", - "documentation": "

The identifier of the operation occurrence.

" + "documentation": "

The identifier of the network operation.

" + }, + "tags": { + "shape": "TagMap", + "documentation": "

A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. When you use this API, the tags are transferred to the network operation that is created. Use tags to search and filter your resources or track your Amazon Web Services costs.

" } } }, @@ -3113,6 +3129,10 @@ "location": "uri", "locationName": "nsInstanceId" }, + "tags": { + "shape": "TagMap", + "documentation": "

A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. When you use this API, the tags are transferred to the network operation that is created. Use tags to search and filter your resources or track your Amazon Web Services costs.

" + }, "updateType": { "shape": "UpdateSolNetworkType", "documentation": "

The type of update.

" @@ -3124,7 +3144,11 @@ "members": { "nsLcmOpOccId": { "shape": "NsLcmOpOccId", - "documentation": "

The identifier of the network instance operation occurrence.

" + "documentation": "

The identifier of the network operation.

" + }, + "tags": { + "shape": "TagMap", + "documentation": "

A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. When you use this API, the tags are transferred to the network operation that is created. Use tags to search and filter your resources or track your Amazon Web Services costs.

" } } }, diff --git a/apis/wisdom-2020-10-19.min.json b/apis/wisdom-2020-10-19.min.json index 6031a5e698..d92eea9e92 100644 --- a/apis/wisdom-2020-10-19.min.json +++ b/apis/wisdom-2020-10-19.min.json @@ -1382,8 +1382,7 @@ "appIntegrations": { "type": "structure", "required": [ - "appIntegrationArn", - "objectFields" + "appIntegrationArn" ], "members": { "appIntegrationArn": {}, diff --git a/apis/wisdom-2020-10-19.normal.json b/apis/wisdom-2020-10-19.normal.json index 71de0f6df7..3cbc28a672 100644 --- a/apis/wisdom-2020-10-19.normal.json +++ b/apis/wisdom-2020-10-19.normal.json @@ -135,7 +135,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Creates a knowledge base.

When using this API, you cannot reuse Amazon AppIntegrations DataIntegrations with external knowledge bases such as Salesforce and ServiceNow. If you do, you'll get an InvalidRequestException error.

 <p>For example, you're programmatically managing your external knowledge base, and you want to add or remove one of the fields that is being ingested from Salesforce. Do the following:</p> <ol> <li> <p>Call <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_DeleteKnowledgeBase.html">DeleteKnowledgeBase</a>.</p> </li> <li> <p>Call <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_DeleteDataIntegration.html">DeleteDataIntegration</a>.</p> </li> <li> <p>Call <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html">CreateDataIntegration</a> to recreate the DataIntegration or a create different one.</p> </li> <li> <p>Call CreateKnowledgeBase.</p> </li> </ol> </note> 
", + "documentation": "

Creates a knowledge base.

When using this API, you cannot reuse Amazon AppIntegrations DataIntegrations with external knowledge bases such as Salesforce and ServiceNow. If you do, you'll get an InvalidRequestException error.

For example, you're programmatically managing your external knowledge base, and you want to add or remove one of the fields that is being ingested from Salesforce. Do the following:

  1. Call DeleteKnowledgeBase.

  2. Call DeleteDataIntegration.

  3. Call CreateDataIntegration to recreate the DataIntegration or a create different one.

  4. Call CreateKnowledgeBase.

", "idempotent": true }, "CreateSession": { @@ -838,17 +838,16 @@ "AppIntegrationsConfiguration": { "type": "structure", "required": [ - "appIntegrationArn", - "objectFields" + "appIntegrationArn" ], "members": { "appIntegrationArn": { "shape": "GenericArn", - "documentation": "

The Amazon Resource Name (ARN) of the AppIntegrations DataIntegration to use for ingesting content.

" + "documentation": "

The Amazon Resource Name (ARN) of the AppIntegrations DataIntegration to use for ingesting content.

" }, "objectFields": { "shape": "ObjectFieldsList", - "documentation": "

The fields from the source that are made available to your agents in Wisdom.

Make sure to include additional fields. These fields are indexed and used to source recommendations.

" + "documentation": "

The fields from the source that are made available to your agents in Wisdom. Optional if ObjectConfiguration is included in the provided DataIntegration.

Make sure to include additional fields. These fields are indexed and used to source recommendations.

" } }, "documentation": "

Configuration information for Amazon AppIntegrations to automatically ingest content.

" @@ -1319,7 +1318,7 @@ }, "clientToken": { "shape": "ClientToken", - "documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

", + "documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

", "idempotencyToken": true }, "tags": { @@ -1346,7 +1345,7 @@ "members": { "clientToken": { "shape": "ClientToken", - "documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

", + "documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

", "idempotencyToken": true }, "description": { @@ -1390,7 +1389,7 @@ "members": { "clientToken": { "shape": "NonEmptyString", - "documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

", + "documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

", "idempotencyToken": true }, "knowledgeBaseId": { @@ -1443,7 +1442,7 @@ "members": { "clientToken": { "shape": "NonEmptyString", - "documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

", + "documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

", "idempotencyToken": true }, "description": { @@ -1500,7 +1499,7 @@ }, "clientToken": { "shape": "ClientToken", - "documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

", + "documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

", "idempotencyToken": true }, "description": { @@ -2570,7 +2569,7 @@ "members": { "templateUri": { "shape": "Uri", - "documentation": "

A URI template containing exactly one variable in ${variableName} format. This can only be set for EXTERNAL knowledge bases. For Salesforce and ServiceNow, the variable must be one of the following:

 <p>The variable is replaced with the actual value for a piece of content when calling <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetContent.html">GetContent</a>. </p> 
" + "documentation": "

A URI template containing exactly one variable in ${variableName} format. This can only be set for EXTERNAL knowledge bases. For Salesforce, ServiceNow, and Zendesk, the variable must be one of the following:

The variable is replaced with the actual value for a piece of content when calling GetContent.

" } }, "documentation": "

Information about how to render the content.

" @@ -3035,5 +3034,5 @@ "min": 0 } }, - "documentation": "

Amazon Connect Wisdom delivers agents the information they need to solve customer issues as they're actively speaking with customers. Agents can search across connected repositories from within their agent desktop to find answers quickly. Use the Amazon Connect Wisdom APIs to create an assistant and a knowledge base, for example, or manage content by uploading custom files.

" + "documentation": "

Amazon Connect Wisdom delivers agents the information they need to solve customer issues as they're actively speaking with customers. Agents can search across connected repositories from within their agent desktop to find answers quickly. Use Amazon Connect Wisdom to create an assistant and a knowledge base, for example, or manage content by uploading custom files.

" } \ No newline at end of file diff --git a/clients/appintegrations.d.ts b/clients/appintegrations.d.ts index 1a66dc5cd4..93f1074ae6 100644 --- a/clients/appintegrations.d.ts +++ b/clients/appintegrations.d.ts @@ -148,23 +148,31 @@ declare namespace AppIntegrations { /** * The KMS key for the DataIntegration. */ - KmsKey?: NonBlankString; + KmsKey: NonBlankString; /** * The URI of the data source. */ - SourceURI?: NonBlankString; + SourceURI: SourceURI; /** * The name of the data and how often it should be pulled from the source. */ - ScheduleConfig?: ScheduleConfiguration; + ScheduleConfig: ScheduleConfiguration; /** - * One or more tags. + * The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }. */ Tags?: TagMap; /** - * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. + * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. */ ClientToken?: IdempotencyToken; + /** + * The configuration for what files should be pulled from the source. + */ + FileConfiguration?: FileConfiguration; + /** + * The configuration for what data should be pulled from the source. + */ + ObjectConfiguration?: ObjectConfiguration; } export interface CreateDataIntegrationResponse { /** @@ -190,19 +198,27 @@ declare namespace AppIntegrations { /** * The URI of the data source. */ - SourceURI?: NonBlankString; + SourceURI?: SourceURI; /** * The name of the data and how often it should be pulled from the source. */ ScheduleConfiguration?: ScheduleConfiguration; /** - * One or more tags. + * The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }. */ Tags?: TagMap; /** - * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. + * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. */ ClientToken?: IdempotencyToken; + /** + * The configuration for what files should be pulled from the source. + */ + FileConfiguration?: FileConfiguration; + /** + * The configuration for what data should be pulled from the source. + */ + ObjectConfiguration?: ObjectConfiguration; } export interface CreateEventIntegrationRequest { /** @@ -222,11 +238,11 @@ declare namespace AppIntegrations { */ EventBridgeBus: EventBridgeBus; /** - * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. + * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. */ ClientToken?: IdempotencyToken; /** - * One or more tags. + * The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }. */ Tags?: TagMap; } @@ -242,11 +258,11 @@ declare namespace AppIntegrations { */ DataIntegrationAssociationArn?: Arn; /** - * The Amazon Resource Name (ARN)of the DataIntegration. + * The Amazon Resource Name (ARN) of the DataIntegration. */ DataIntegrationArn?: Arn; /** - * The identifier for teh client that is associated with the DataIntegration association. + * The identifier for the client that is associated with the DataIntegration association. */ ClientId?: ClientId; } @@ -263,7 +279,7 @@ declare namespace AppIntegrations { /** * The URI of the data source. */ - SourceURI?: NonBlankString; + SourceURI?: SourceURI; } export type DataIntegrationsList = DataIntegrationSummary[]; export interface DeleteDataIntegrationRequest { @@ -313,7 +329,7 @@ declare namespace AppIntegrations { */ EventBridgeBus?: EventBridgeBus; /** - * The tags. + * The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }. */ Tags?: TagMap; } @@ -345,6 +361,20 @@ declare namespace AppIntegrations { } export type EventIntegrationAssociationsList = EventIntegrationAssociation[]; export type EventIntegrationsList = EventIntegration[]; + export type Fields = string; + export type FieldsList = Fields[]; + export type FieldsMap = {[key: string]: FieldsList}; + export interface FileConfiguration { + /** + * Identifiers for the source folders to pull all files from recursively. + */ + Folders: FolderList; + /** + * Restrictions for what files should be pulled from the source. + */ + Filters?: FieldsMap; + } + export type FolderList = NonBlankLongString[]; export interface GetDataIntegrationRequest { /** * A unique identifier. @@ -375,15 +405,23 @@ declare namespace AppIntegrations { /** * The URI of the data source. */ - SourceURI?: NonBlankString; + SourceURI?: SourceURI; /** * The name of the data and how often it should be pulled from the source. */ ScheduleConfiguration?: ScheduleConfiguration; /** - * One or more tags. + * The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }. */ Tags?: TagMap; + /** + * The configuration for what files should be pulled from the source. + */ + FileConfiguration?: FileConfiguration; + /** + * The configuration for what data should be pulled from the source. + */ + ObjectConfiguration?: ObjectConfiguration; } export interface GetEventIntegrationRequest { /** @@ -413,7 +451,7 @@ declare namespace AppIntegrations { */ EventFilter?: EventFilter; /** - * One or more tags. + * The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }. */ Tags?: TagMap; } @@ -522,12 +560,13 @@ declare namespace AppIntegrations { export type MaxResults = number; export type Name = string; export type NextToken = string; + export type NonBlankLongString = string; export type NonBlankString = string; export type Object = string; - export type Schedule = string; + export type ObjectConfiguration = {[key: string]: FieldsMap}; export interface ScheduleConfiguration { /** - * The start date for objects to import in the first flow run. + * The start date for objects to import in the first flow run as an Unix/epoch timestamp in milliseconds or in ISO-8601 format. */ FirstExecutionFrom?: NonBlankString; /** @@ -537,9 +576,10 @@ declare namespace AppIntegrations { /** * How often the data should be pulled from data source. */ - ScheduleExpression?: Schedule; + ScheduleExpression: NonBlankString; } export type Source = string; + export type SourceURI = string; export type TagKey = string; export type TagKeyList = TagKey[]; export type TagMap = {[key: string]: TagValue}; @@ -549,7 +589,7 @@ declare namespace AppIntegrations { */ resourceArn: Arn; /** - * One or more tags. + * The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }. */ tags: TagMap; } diff --git a/clients/lakeformation.d.ts b/clients/lakeformation.d.ts index 09d0fc4a44..6c78462f58 100644 --- a/clients/lakeformation.d.ts +++ b/clients/lakeformation.d.ts @@ -638,6 +638,9 @@ declare namespace LakeFormation { * A wildcard with exclusions. You must specify either a ColumnNames list or the ColumnWildCard. */ ColumnWildcard?: ColumnWildcard; + /** + * The ID of the data cells filter version. + */ VersionId?: VersionString; } export type DataCellsFilterList = DataCellsFilter[]; diff --git a/clients/s3control.d.ts b/clients/s3control.d.ts index c63c88cbd7..b6e677004f 100644 --- a/clients/s3control.d.ts +++ b/clients/s3control.d.ts @@ -108,6 +108,14 @@ declare class S3Control extends Service { * This action deletes an Amazon S3 on Outposts bucket policy. To delete an S3 bucket policy, see DeleteBucketPolicy in the Amazon S3 API Reference. This implementation of the DELETE action uses the policy subresource to delete the policy of a specified Amazon S3 on Outposts bucket. If you are using an identity other than the root user of the Amazon Web Services account that owns the bucket, the calling identity must have the s3-outposts:DeleteBucketPolicy permissions on the specified Outposts bucket and belong to the bucket owner's account to use this action. For more information, see Using Amazon S3 on Outposts in Amazon S3 User Guide. If you don't have DeleteBucketPolicy permissions, Amazon S3 returns a 403 Access Denied error. If you have the correct permissions, but you're not using an identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not Allowed error. As a security precaution, the root user of the Amazon Web Services account that owns a bucket can always use this action, even if the policy explicitly denies the root user the ability to perform this action. For more information about bucket policies, see Using Bucket Policies and User Policies. All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section. The following actions are related to DeleteBucketPolicy: GetBucketPolicy PutBucketPolicy */ deleteBucketPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; + /** + * This operation deletes an Amazon S3 on Outposts bucket's replication configuration. To delete an S3 bucket's replication configuration, see DeleteBucketReplication in the Amazon S3 API Reference. Deletes the replication configuration from the specified S3 on Outposts bucket. To use this operation, you must have permissions to perform the s3-outposts:PutReplicationConfiguration action. The Outposts bucket owner has this permission by default and can grant it to others. For more information about permissions, see Setting up IAM with S3 on Outposts and Managing access to S3 on Outposts buckets in the Amazon S3 User Guide. It can take a while to propagate PUT or DELETE requests for a replication configuration to all S3 on Outposts systems. Therefore, the replication configuration that's returned by a GET request soon after a PUT or DELETE request might return a more recent result than what's on the Outpost. If an Outpost is offline, the delay in updating the replication configuration on that Outpost can be significant. All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section. For information about S3 replication on Outposts configuration, see Replicating objects for Amazon Web Services Outposts in the Amazon S3 User Guide. The following operations are related to DeleteBucketReplication: PutBucketReplication GetBucketReplication + */ + deleteBucketReplication(params: S3Control.Types.DeleteBucketReplicationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; + /** + * This operation deletes an Amazon S3 on Outposts bucket's replication configuration. To delete an S3 bucket's replication configuration, see DeleteBucketReplication in the Amazon S3 API Reference. Deletes the replication configuration from the specified S3 on Outposts bucket. To use this operation, you must have permissions to perform the s3-outposts:PutReplicationConfiguration action. The Outposts bucket owner has this permission by default and can grant it to others. For more information about permissions, see Setting up IAM with S3 on Outposts and Managing access to S3 on Outposts buckets in the Amazon S3 User Guide. It can take a while to propagate PUT or DELETE requests for a replication configuration to all S3 on Outposts systems. Therefore, the replication configuration that's returned by a GET request soon after a PUT or DELETE request might return a more recent result than what's on the Outpost. If an Outpost is offline, the delay in updating the replication configuration on that Outpost can be significant. All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section. For information about S3 replication on Outposts configuration, see Replicating objects for Amazon Web Services Outposts in the Amazon S3 User Guide. The following operations are related to DeleteBucketReplication: PutBucketReplication GetBucketReplication + */ + deleteBucketReplication(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** * This action deletes an Amazon S3 on Outposts bucket's tags. To delete an S3 bucket tags, see DeleteBucketTagging in the Amazon S3 API Reference. Deletes the tags from the Outposts bucket. For more information, see Using Amazon S3 on Outposts in Amazon S3 User Guide. To use this action, you must have permission to perform the PutBucketTagging action. By default, the bucket owner has this permission and can grant this permission to others. All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section. The following actions are related to DeleteBucketTagging: GetBucketTagging PutBucketTagging */ @@ -117,11 +125,11 @@ declare class S3Control extends Service { */ deleteBucketTagging(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Removes the entire tag set from the specified S3 Batch Operations job. To use this operation, you must have permission to perform the s3:DeleteJobTagging action. For more information, see Controlling access and labeling jobs using tags in the Amazon S3 User Guide. Related actions include: CreateJob GetJobTagging PutJobTagging + * Removes the entire tag set from the specified S3 Batch Operations job. To use the DeleteJobTagging operation, you must have permission to perform the s3:DeleteJobTagging action. For more information, see Controlling access and labeling jobs using tags in the Amazon S3 User Guide. Related actions include: CreateJob GetJobTagging PutJobTagging */ deleteJobTagging(params: S3Control.Types.DeleteJobTaggingRequest, callback?: (err: AWSError, data: S3Control.Types.DeleteJobTaggingResult) => void): Request; /** - * Removes the entire tag set from the specified S3 Batch Operations job. To use this operation, you must have permission to perform the s3:DeleteJobTagging action. For more information, see Controlling access and labeling jobs using tags in the Amazon S3 User Guide. Related actions include: CreateJob GetJobTagging PutJobTagging + * Removes the entire tag set from the specified S3 Batch Operations job. To use the DeleteJobTagging operation, you must have permission to perform the s3:DeleteJobTagging action. For more information, see Controlling access and labeling jobs using tags in the Amazon S3 User Guide. Related actions include: CreateJob GetJobTagging PutJobTagging */ deleteJobTagging(callback?: (err: AWSError, data: S3Control.Types.DeleteJobTaggingResult) => void): Request; /** @@ -252,6 +260,14 @@ declare class S3Control extends Service { * This action gets a bucket policy for an Amazon S3 on Outposts bucket. To get a policy for an S3 bucket, see GetBucketPolicy in the Amazon S3 API Reference. Returns the policy of a specified Outposts bucket. For more information, see Using Amazon S3 on Outposts in the Amazon S3 User Guide. If you are using an identity other than the root user of the Amazon Web Services account that owns the bucket, the calling identity must have the GetBucketPolicy permissions on the specified bucket and belong to the bucket owner's account in order to use this action. Only users from Outposts bucket owner account with the right permissions can perform actions on an Outposts bucket. If you don't have s3-outposts:GetBucketPolicy permissions or you're not using an identity that belongs to the bucket owner's account, Amazon S3 returns a 403 Access Denied error. As a security precaution, the root user of the Amazon Web Services account that owns a bucket can always use this action, even if the policy explicitly denies the root user the ability to perform this action. For more information about bucket policies, see Using Bucket Policies and User Policies. All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section. The following actions are related to GetBucketPolicy: GetObject PutBucketPolicy DeleteBucketPolicy */ getBucketPolicy(callback?: (err: AWSError, data: S3Control.Types.GetBucketPolicyResult) => void): Request; + /** + * This operation gets an Amazon S3 on Outposts bucket's replication configuration. To get an S3 bucket's replication configuration, see GetBucketReplication in the Amazon S3 API Reference. Returns the replication configuration of an S3 on Outposts bucket. For more information about S3 on Outposts, see Using Amazon S3 on Outposts in the Amazon S3 User Guide. For information about S3 replication on Outposts configuration, see Replicating objects for Amazon Web Services Outposts in the Amazon S3 User Guide. It can take a while to propagate PUT or DELETE requests for a replication configuration to all S3 on Outposts systems. Therefore, the replication configuration that's returned by a GET request soon after a PUT or DELETE request might return a more recent result than what's on the Outpost. If an Outpost is offline, the delay in updating the replication configuration on that Outpost can be significant. This action requires permissions for the s3-outposts:GetReplicationConfiguration action. The Outposts bucket owner has this permission by default and can grant it to others. For more information about permissions, see Setting up IAM with S3 on Outposts and Managing access to S3 on Outposts bucket in the Amazon S3 User Guide. All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section. If you include the Filter element in a replication configuration, you must also include the DeleteMarkerReplication, Status, and Priority elements. The response also returns those elements. For information about S3 on Outposts replication failure reasons, see Replication failure reasons in the Amazon S3 User Guide. The following operations are related to GetBucketReplication: PutBucketReplication DeleteBucketReplication + */ + getBucketReplication(params: S3Control.Types.GetBucketReplicationRequest, callback?: (err: AWSError, data: S3Control.Types.GetBucketReplicationResult) => void): Request; + /** + * This operation gets an Amazon S3 on Outposts bucket's replication configuration. To get an S3 bucket's replication configuration, see GetBucketReplication in the Amazon S3 API Reference. Returns the replication configuration of an S3 on Outposts bucket. For more information about S3 on Outposts, see Using Amazon S3 on Outposts in the Amazon S3 User Guide. For information about S3 replication on Outposts configuration, see Replicating objects for Amazon Web Services Outposts in the Amazon S3 User Guide. It can take a while to propagate PUT or DELETE requests for a replication configuration to all S3 on Outposts systems. Therefore, the replication configuration that's returned by a GET request soon after a PUT or DELETE request might return a more recent result than what's on the Outpost. If an Outpost is offline, the delay in updating the replication configuration on that Outpost can be significant. This action requires permissions for the s3-outposts:GetReplicationConfiguration action. The Outposts bucket owner has this permission by default and can grant it to others. For more information about permissions, see Setting up IAM with S3 on Outposts and Managing access to S3 on Outposts bucket in the Amazon S3 User Guide. All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section. If you include the Filter element in a replication configuration, you must also include the DeleteMarkerReplication, Status, and Priority elements. The response also returns those elements. For information about S3 on Outposts replication failure reasons, see Replication failure reasons in the Amazon S3 User Guide. The following operations are related to GetBucketReplication: PutBucketReplication DeleteBucketReplication + */ + getBucketReplication(callback?: (err: AWSError, data: S3Control.Types.GetBucketReplicationResult) => void): Request; /** * This action gets an Amazon S3 on Outposts bucket's tags. To get an S3 bucket tags, see GetBucketTagging in the Amazon S3 API Reference. Returns the tag set associated with the Outposts bucket. For more information, see Using Amazon S3 on Outposts in the Amazon S3 User Guide. To use this action, you must have permission to perform the GetBucketTagging action. By default, the bucket owner has this permission and can grant this permission to others. GetBucketTagging has the following special error: Error code: NoSuchTagSetError Description: There is no tag set associated with the bucket. All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section. The following actions are related to GetBucketTagging: PutBucketTagging DeleteBucketTagging */ @@ -261,19 +277,19 @@ declare class S3Control extends Service { */ getBucketTagging(callback?: (err: AWSError, data: S3Control.Types.GetBucketTaggingResult) => void): Request; /** - * This operation returns the versioning state only for S3 on Outposts buckets. To return the versioning state for an S3 bucket, see GetBucketVersioning in the Amazon S3 API Reference. Returns the versioning state for an S3 on Outposts bucket. With versioning, you can save multiple distinct copies of your data and recover from unintended user actions and application failures. If you've never set versioning on your bucket, it has no versioning state. In that case, the GetBucketVersioning request does not return a versioning state value. For more information about versioning, see Versioning in the Amazon S3 User Guide. All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section. The following operations are related to GetBucketVersioning for S3 on Outposts. PutBucketVersioning PutBucketLifecycleConfiguration GetBucketLifecycleConfiguration + * This operation returns the versioning state for S3 on Outposts buckets only. To return the versioning state for an S3 bucket, see GetBucketVersioning in the Amazon S3 API Reference. Returns the versioning state for an S3 on Outposts bucket. With S3 Versioning, you can save multiple distinct copies of your objects and recover from unintended user actions and application failures. If you've never set versioning on your bucket, it has no versioning state. In that case, the GetBucketVersioning request does not return a versioning state value. For more information about versioning, see Versioning in the Amazon S3 User Guide. All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section. The following operations are related to GetBucketVersioning for S3 on Outposts. PutBucketVersioning PutBucketLifecycleConfiguration GetBucketLifecycleConfiguration */ getBucketVersioning(params: S3Control.Types.GetBucketVersioningRequest, callback?: (err: AWSError, data: S3Control.Types.GetBucketVersioningResult) => void): Request; /** - * This operation returns the versioning state only for S3 on Outposts buckets. To return the versioning state for an S3 bucket, see GetBucketVersioning in the Amazon S3 API Reference. Returns the versioning state for an S3 on Outposts bucket. With versioning, you can save multiple distinct copies of your data and recover from unintended user actions and application failures. If you've never set versioning on your bucket, it has no versioning state. In that case, the GetBucketVersioning request does not return a versioning state value. For more information about versioning, see Versioning in the Amazon S3 User Guide. All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section. The following operations are related to GetBucketVersioning for S3 on Outposts. PutBucketVersioning PutBucketLifecycleConfiguration GetBucketLifecycleConfiguration + * This operation returns the versioning state for S3 on Outposts buckets only. To return the versioning state for an S3 bucket, see GetBucketVersioning in the Amazon S3 API Reference. Returns the versioning state for an S3 on Outposts bucket. With S3 Versioning, you can save multiple distinct copies of your objects and recover from unintended user actions and application failures. If you've never set versioning on your bucket, it has no versioning state. In that case, the GetBucketVersioning request does not return a versioning state value. For more information about versioning, see Versioning in the Amazon S3 User Guide. All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section. The following operations are related to GetBucketVersioning for S3 on Outposts. PutBucketVersioning PutBucketLifecycleConfiguration GetBucketLifecycleConfiguration */ getBucketVersioning(callback?: (err: AWSError, data: S3Control.Types.GetBucketVersioningResult) => void): Request; /** - * Returns the tags on an S3 Batch Operations job. To use this operation, you must have permission to perform the s3:GetJobTagging action. For more information, see Controlling access and labeling jobs using tags in the Amazon S3 User Guide. Related actions include: CreateJob PutJobTagging DeleteJobTagging + * Returns the tags on an S3 Batch Operations job. To use the GetJobTagging operation, you must have permission to perform the s3:GetJobTagging action. For more information, see Controlling access and labeling jobs using tags in the Amazon S3 User Guide. Related actions include: CreateJob PutJobTagging DeleteJobTagging */ getJobTagging(params: S3Control.Types.GetJobTaggingRequest, callback?: (err: AWSError, data: S3Control.Types.GetJobTaggingResult) => void): Request; /** - * Returns the tags on an S3 Batch Operations job. To use this operation, you must have permission to perform the s3:GetJobTagging action. For more information, see Controlling access and labeling jobs using tags in the Amazon S3 User Guide. Related actions include: CreateJob PutJobTagging DeleteJobTagging + * Returns the tags on an S3 Batch Operations job. To use the GetJobTagging operation, you must have permission to perform the s3:GetJobTagging action. For more information, see Controlling access and labeling jobs using tags in the Amazon S3 User Guide. Related actions include: CreateJob PutJobTagging DeleteJobTagging */ getJobTagging(callback?: (err: AWSError, data: S3Control.Types.GetJobTaggingResult) => void): Request; /** @@ -333,11 +349,11 @@ declare class S3Control extends Service { */ getStorageLensConfigurationTagging(callback?: (err: AWSError, data: S3Control.Types.GetStorageLensConfigurationTaggingResult) => void): Request; /** - * Returns a list of the access points owned by the current account associated with the specified bucket. You can retrieve up to 1000 access points per call. If the specified bucket has more than 1,000 access points (or the number specified in maxResults, whichever is less), the response will include a continuation token that you can use to list the additional access points. All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section. The following actions are related to ListAccessPoints: CreateAccessPoint DeleteAccessPoint GetAccessPoint + * Returns a list of the access points that are owned by the current account that's associated with the specified bucket. You can retrieve up to 1000 access points per call. If the specified bucket has more than 1,000 access points (or the number specified in maxResults, whichever is less), the response will include a continuation token that you can use to list the additional access points. All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section. The following actions are related to ListAccessPoints: CreateAccessPoint DeleteAccessPoint GetAccessPoint */ listAccessPoints(params: S3Control.Types.ListAccessPointsRequest, callback?: (err: AWSError, data: S3Control.Types.ListAccessPointsResult) => void): Request; /** - * Returns a list of the access points owned by the current account associated with the specified bucket. You can retrieve up to 1000 access points per call. If the specified bucket has more than 1,000 access points (or the number specified in maxResults, whichever is less), the response will include a continuation token that you can use to list the additional access points. All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section. The following actions are related to ListAccessPoints: CreateAccessPoint DeleteAccessPoint GetAccessPoint + * Returns a list of the access points that are owned by the current account that's associated with the specified bucket. You can retrieve up to 1000 access points per call. If the specified bucket has more than 1,000 access points (or the number specified in maxResults, whichever is less), the response will include a continuation token that you can use to list the additional access points. All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section. The following actions are related to ListAccessPoints: CreateAccessPoint DeleteAccessPoint GetAccessPoint */ listAccessPoints(callback?: (err: AWSError, data: S3Control.Types.ListAccessPointsResult) => void): Request; /** @@ -420,6 +436,14 @@ declare class S3Control extends Service { * This action puts a bucket policy to an Amazon S3 on Outposts bucket. To put a policy on an S3 bucket, see PutBucketPolicy in the Amazon S3 API Reference. Applies an Amazon S3 bucket policy to an Outposts bucket. For more information, see Using Amazon S3 on Outposts in the Amazon S3 User Guide. If you are using an identity other than the root user of the Amazon Web Services account that owns the Outposts bucket, the calling identity must have the PutBucketPolicy permissions on the specified Outposts bucket and belong to the bucket owner's account in order to use this action. If you don't have PutBucketPolicy permissions, Amazon S3 returns a 403 Access Denied error. If you have the correct permissions, but you're not using an identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not Allowed error. As a security precaution, the root user of the Amazon Web Services account that owns a bucket can always use this action, even if the policy explicitly denies the root user the ability to perform this action. For more information about bucket policies, see Using Bucket Policies and User Policies. All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section. The following actions are related to PutBucketPolicy: GetBucketPolicy DeleteBucketPolicy */ putBucketPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; + /** + * This action creates an Amazon S3 on Outposts bucket's replication configuration. To create an S3 bucket's replication configuration, see PutBucketReplication in the Amazon S3 API Reference. Creates a replication configuration or replaces an existing one. For information about S3 replication on Outposts configuration, see Replicating objects for Amazon Web Services Outposts in the Amazon S3 User Guide. It can take a while to propagate PUT or DELETE requests for a replication configuration to all S3 on Outposts systems. Therefore, the replication configuration that's returned by a GET request soon after a PUT or DELETE request might return a more recent result than what's on the Outpost. If an Outpost is offline, the delay in updating the replication configuration on that Outpost can be significant. Specify the replication configuration in the request body. In the replication configuration, you provide the following information: The name of the destination bucket or buckets where you want S3 on Outposts to replicate objects The Identity and Access Management (IAM) role that S3 on Outposts can assume to replicate objects on your behalf Other relevant information, such as replication rules A replication configuration must include at least one rule and can contain a maximum of 100. Each rule identifies a subset of objects to replicate by filtering the objects in the source Outposts bucket. To choose additional subsets of objects to replicate, add a rule for each subset. To specify a subset of the objects in the source Outposts bucket to apply a replication rule to, add the Filter element as a child of the Rule element. You can filter objects based on an object key prefix, one or more object tags, or both. When you add the Filter element in the configuration, you must also add the following elements: DeleteMarkerReplication, Status, and Priority. Using PutBucketReplication on Outposts requires that both the source and destination buckets must have versioning enabled. For information about enabling versioning on a bucket, see Managing S3 Versioning for your S3 on Outposts bucket. For information about S3 on Outposts replication failure reasons, see Replication failure reasons in the Amazon S3 User Guide. Handling Replication of Encrypted Objects Outposts buckets are encrypted at all times. All the objects in the source Outposts bucket are encrypted and can be replicated. Also, all the replicas in the destination Outposts bucket are encrypted with the same encryption key as the objects in the source Outposts bucket. Permissions To create a PutBucketReplication request, you must have s3-outposts:PutReplicationConfiguration permissions for the bucket. The Outposts bucket owner has this permission by default and can grant it to others. For more information about permissions, see Setting up IAM with S3 on Outposts and Managing access to S3 on Outposts buckets. To perform this operation, the user or role must also have the iam:PassRole permission. All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section. The following operations are related to PutBucketReplication: GetBucketReplication DeleteBucketReplication + */ + putBucketReplication(params: S3Control.Types.PutBucketReplicationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; + /** + * This action creates an Amazon S3 on Outposts bucket's replication configuration. To create an S3 bucket's replication configuration, see PutBucketReplication in the Amazon S3 API Reference. Creates a replication configuration or replaces an existing one. For information about S3 replication on Outposts configuration, see Replicating objects for Amazon Web Services Outposts in the Amazon S3 User Guide. It can take a while to propagate PUT or DELETE requests for a replication configuration to all S3 on Outposts systems. Therefore, the replication configuration that's returned by a GET request soon after a PUT or DELETE request might return a more recent result than what's on the Outpost. If an Outpost is offline, the delay in updating the replication configuration on that Outpost can be significant. Specify the replication configuration in the request body. In the replication configuration, you provide the following information: The name of the destination bucket or buckets where you want S3 on Outposts to replicate objects The Identity and Access Management (IAM) role that S3 on Outposts can assume to replicate objects on your behalf Other relevant information, such as replication rules A replication configuration must include at least one rule and can contain a maximum of 100. Each rule identifies a subset of objects to replicate by filtering the objects in the source Outposts bucket. To choose additional subsets of objects to replicate, add a rule for each subset. To specify a subset of the objects in the source Outposts bucket to apply a replication rule to, add the Filter element as a child of the Rule element. You can filter objects based on an object key prefix, one or more object tags, or both. When you add the Filter element in the configuration, you must also add the following elements: DeleteMarkerReplication, Status, and Priority. Using PutBucketReplication on Outposts requires that both the source and destination buckets must have versioning enabled. For information about enabling versioning on a bucket, see Managing S3 Versioning for your S3 on Outposts bucket. For information about S3 on Outposts replication failure reasons, see Replication failure reasons in the Amazon S3 User Guide. Handling Replication of Encrypted Objects Outposts buckets are encrypted at all times. All the objects in the source Outposts bucket are encrypted and can be replicated. Also, all the replicas in the destination Outposts bucket are encrypted with the same encryption key as the objects in the source Outposts bucket. Permissions To create a PutBucketReplication request, you must have s3-outposts:PutReplicationConfiguration permissions for the bucket. The Outposts bucket owner has this permission by default and can grant it to others. For more information about permissions, see Setting up IAM with S3 on Outposts and Managing access to S3 on Outposts buckets. To perform this operation, the user or role must also have the iam:PassRole permission. All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section. The following operations are related to PutBucketReplication: GetBucketReplication DeleteBucketReplication + */ + putBucketReplication(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** * This action puts tags on an Amazon S3 on Outposts bucket. To put tags on an S3 bucket, see PutBucketTagging in the Amazon S3 API Reference. Sets the tags for an S3 on Outposts bucket. For more information, see Using Amazon S3 on Outposts in the Amazon S3 User Guide. Use tags to organize your Amazon Web Services bill to reflect your own cost structure. To do this, sign up to get your Amazon Web Services account bill with tag key values included. Then, to see the cost of combined resources, organize your billing information according to resources with the same tag key values. For example, you can tag several resources with a specific application name, and then organize your billing information to see the total cost of that application across several services. For more information, see Cost allocation and tagging. Within a bucket, if you add a tag that has the same key as an existing tag, the new value overwrites the old value. For more information, see Using cost allocation in Amazon S3 bucket tags. To use this action, you must have permissions to perform the s3-outposts:PutBucketTagging action. The Outposts bucket owner has this permission by default and can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing access permissions to your Amazon S3 resources. PutBucketTagging has the following special errors: Error code: InvalidTagError Description: The tag provided was not a valid tag. This error can occur if the tag did not pass input validation. For information about tag restrictions, see User-Defined Tag Restrictions and Amazon Web Services-Generated Cost Allocation Tag Restrictions. Error code: MalformedXMLError Description: The XML provided does not match the schema. Error code: OperationAbortedError Description: A conflicting conditional action is currently in progress against this resource. Try again. Error code: InternalError Description: The service was unable to apply the provided tag to the bucket. All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section. The following actions are related to PutBucketTagging: GetBucketTagging DeleteBucketTagging */ @@ -429,19 +453,19 @@ declare class S3Control extends Service { */ putBucketTagging(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * This operation sets the versioning state only for S3 on Outposts buckets. To set the versioning state for an S3 bucket, see PutBucketVersioning in the Amazon S3 API Reference. Sets the versioning state for an S3 on Outposts bucket. With versioning, you can save multiple distinct copies of your data and recover from unintended user actions and application failures. You can set the versioning state to one of the following: Enabled - Enables versioning for the objects in the bucket. All objects added to the bucket receive a unique version ID. Suspended - Suspends versioning for the objects in the bucket. All objects added to the bucket receive the version ID null. If you've never set versioning on your bucket, it has no versioning state. In that case, a GetBucketVersioning request does not return a versioning state value. When you enable S3 Versioning, for each object in your bucket, you have a current version and zero or more noncurrent versions. You can configure your bucket S3 Lifecycle rules to expire noncurrent versions after a specified time period. For more information, see Creating and managing a lifecycle configuration for your S3 on Outposts bucket in the Amazon S3 User Guide. If you have an object expiration lifecycle policy in your non-versioned bucket and you want to maintain the same permanent delete behavior when you enable versioning, you must add a noncurrent expiration policy. The noncurrent expiration lifecycle policy will manage the deletes of the noncurrent object versions in the version-enabled bucket. For more information, see Versioning in the Amazon S3 User Guide. All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section. The following operations are related to PutBucketVersioning for S3 on Outposts. GetBucketVersioning PutBucketLifecycleConfiguration GetBucketLifecycleConfiguration + * This operation sets the versioning state for S3 on Outposts buckets only. To set the versioning state for an S3 bucket, see PutBucketVersioning in the Amazon S3 API Reference. Sets the versioning state for an S3 on Outposts bucket. With S3 Versioning, you can save multiple distinct copies of your objects and recover from unintended user actions and application failures. You can set the versioning state to one of the following: Enabled - Enables versioning for the objects in the bucket. All objects added to the bucket receive a unique version ID. Suspended - Suspends versioning for the objects in the bucket. All objects added to the bucket receive the version ID null. If you've never set versioning on your bucket, it has no versioning state. In that case, a GetBucketVersioning request does not return a versioning state value. When you enable S3 Versioning, for each object in your bucket, you have a current version and zero or more noncurrent versions. You can configure your bucket S3 Lifecycle rules to expire noncurrent versions after a specified time period. For more information, see Creating and managing a lifecycle configuration for your S3 on Outposts bucket in the Amazon S3 User Guide. If you have an object expiration lifecycle policy in your non-versioned bucket and you want to maintain the same permanent delete behavior when you enable versioning, you must add a noncurrent expiration policy. The noncurrent expiration lifecycle policy will manage the deletions of the noncurrent object versions in the version-enabled bucket. For more information, see Versioning in the Amazon S3 User Guide. All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section. The following operations are related to PutBucketVersioning for S3 on Outposts. GetBucketVersioning PutBucketLifecycleConfiguration GetBucketLifecycleConfiguration */ putBucketVersioning(params: S3Control.Types.PutBucketVersioningRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * This operation sets the versioning state only for S3 on Outposts buckets. To set the versioning state for an S3 bucket, see PutBucketVersioning in the Amazon S3 API Reference. Sets the versioning state for an S3 on Outposts bucket. With versioning, you can save multiple distinct copies of your data and recover from unintended user actions and application failures. You can set the versioning state to one of the following: Enabled - Enables versioning for the objects in the bucket. All objects added to the bucket receive a unique version ID. Suspended - Suspends versioning for the objects in the bucket. All objects added to the bucket receive the version ID null. If you've never set versioning on your bucket, it has no versioning state. In that case, a GetBucketVersioning request does not return a versioning state value. When you enable S3 Versioning, for each object in your bucket, you have a current version and zero or more noncurrent versions. You can configure your bucket S3 Lifecycle rules to expire noncurrent versions after a specified time period. For more information, see Creating and managing a lifecycle configuration for your S3 on Outposts bucket in the Amazon S3 User Guide. If you have an object expiration lifecycle policy in your non-versioned bucket and you want to maintain the same permanent delete behavior when you enable versioning, you must add a noncurrent expiration policy. The noncurrent expiration lifecycle policy will manage the deletes of the noncurrent object versions in the version-enabled bucket. For more information, see Versioning in the Amazon S3 User Guide. All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section. The following operations are related to PutBucketVersioning for S3 on Outposts. GetBucketVersioning PutBucketLifecycleConfiguration GetBucketLifecycleConfiguration + * This operation sets the versioning state for S3 on Outposts buckets only. To set the versioning state for an S3 bucket, see PutBucketVersioning in the Amazon S3 API Reference. Sets the versioning state for an S3 on Outposts bucket. With S3 Versioning, you can save multiple distinct copies of your objects and recover from unintended user actions and application failures. You can set the versioning state to one of the following: Enabled - Enables versioning for the objects in the bucket. All objects added to the bucket receive a unique version ID. Suspended - Suspends versioning for the objects in the bucket. All objects added to the bucket receive the version ID null. If you've never set versioning on your bucket, it has no versioning state. In that case, a GetBucketVersioning request does not return a versioning state value. When you enable S3 Versioning, for each object in your bucket, you have a current version and zero or more noncurrent versions. You can configure your bucket S3 Lifecycle rules to expire noncurrent versions after a specified time period. For more information, see Creating and managing a lifecycle configuration for your S3 on Outposts bucket in the Amazon S3 User Guide. If you have an object expiration lifecycle policy in your non-versioned bucket and you want to maintain the same permanent delete behavior when you enable versioning, you must add a noncurrent expiration policy. The noncurrent expiration lifecycle policy will manage the deletions of the noncurrent object versions in the version-enabled bucket. For more information, see Versioning in the Amazon S3 User Guide. All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section. The following operations are related to PutBucketVersioning for S3 on Outposts. GetBucketVersioning PutBucketLifecycleConfiguration GetBucketLifecycleConfiguration */ putBucketVersioning(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Sets the supplied tag-set on an S3 Batch Operations job. A tag is a key-value pair. You can associate S3 Batch Operations tags with any job by sending a PUT request against the tagging subresource that is associated with the job. To modify the existing tag set, you can either replace the existing tag set entirely, or make changes within the existing tag set by retrieving the existing tag set using GetJobTagging, modify that tag set, and use this action to replace the tag set with the one you modified. For more information, see Controlling access and labeling jobs using tags in the Amazon S3 User Guide. If you send this request with an empty tag set, Amazon S3 deletes the existing tag set on the Batch Operations job. If you use this method, you are charged for a Tier 1 Request (PUT). For more information, see Amazon S3 pricing. For deleting existing tags for your Batch Operations job, a DeleteJobTagging request is preferred because it achieves the same result without incurring charges. A few things to consider about using tags: Amazon S3 limits the maximum number of tags to 50 tags per job. You can associate up to 50 tags with a job as long as they have unique tag keys. A tag key can be up to 128 Unicode characters in length, and tag values can be up to 256 Unicode characters in length. The key and values are case sensitive. For tagging-related restrictions related to characters and encodings, see User-Defined Tag Restrictions in the Billing and Cost Management User Guide. To use this action, you must have permission to perform the s3:PutJobTagging action. Related actions include: CreateJob GetJobTagging DeleteJobTagging + * Sets the supplied tag-set on an S3 Batch Operations job. A tag is a key-value pair. You can associate S3 Batch Operations tags with any job by sending a PUT request against the tagging subresource that is associated with the job. To modify the existing tag set, you can either replace the existing tag set entirely, or make changes within the existing tag set by retrieving the existing tag set using GetJobTagging, modify that tag set, and use this action to replace the tag set with the one you modified. For more information, see Controlling access and labeling jobs using tags in the Amazon S3 User Guide. If you send this request with an empty tag set, Amazon S3 deletes the existing tag set on the Batch Operations job. If you use this method, you are charged for a Tier 1 Request (PUT). For more information, see Amazon S3 pricing. For deleting existing tags for your Batch Operations job, a DeleteJobTagging request is preferred because it achieves the same result without incurring charges. A few things to consider about using tags: Amazon S3 limits the maximum number of tags to 50 tags per job. You can associate up to 50 tags with a job as long as they have unique tag keys. A tag key can be up to 128 Unicode characters in length, and tag values can be up to 256 Unicode characters in length. The key and values are case sensitive. For tagging-related restrictions related to characters and encodings, see User-Defined Tag Restrictions in the Billing and Cost Management User Guide. To use the PutJobTagging operation, you must have permission to perform the s3:PutJobTagging action. Related actions include: CreateJob GetJobTagging DeleteJobTagging */ putJobTagging(params: S3Control.Types.PutJobTaggingRequest, callback?: (err: AWSError, data: S3Control.Types.PutJobTaggingResult) => void): Request; /** - * Sets the supplied tag-set on an S3 Batch Operations job. A tag is a key-value pair. You can associate S3 Batch Operations tags with any job by sending a PUT request against the tagging subresource that is associated with the job. To modify the existing tag set, you can either replace the existing tag set entirely, or make changes within the existing tag set by retrieving the existing tag set using GetJobTagging, modify that tag set, and use this action to replace the tag set with the one you modified. For more information, see Controlling access and labeling jobs using tags in the Amazon S3 User Guide. If you send this request with an empty tag set, Amazon S3 deletes the existing tag set on the Batch Operations job. If you use this method, you are charged for a Tier 1 Request (PUT). For more information, see Amazon S3 pricing. For deleting existing tags for your Batch Operations job, a DeleteJobTagging request is preferred because it achieves the same result without incurring charges. A few things to consider about using tags: Amazon S3 limits the maximum number of tags to 50 tags per job. You can associate up to 50 tags with a job as long as they have unique tag keys. A tag key can be up to 128 Unicode characters in length, and tag values can be up to 256 Unicode characters in length. The key and values are case sensitive. For tagging-related restrictions related to characters and encodings, see User-Defined Tag Restrictions in the Billing and Cost Management User Guide. To use this action, you must have permission to perform the s3:PutJobTagging action. Related actions include: CreateJob GetJobTagging DeleteJobTagging + * Sets the supplied tag-set on an S3 Batch Operations job. A tag is a key-value pair. You can associate S3 Batch Operations tags with any job by sending a PUT request against the tagging subresource that is associated with the job. To modify the existing tag set, you can either replace the existing tag set entirely, or make changes within the existing tag set by retrieving the existing tag set using GetJobTagging, modify that tag set, and use this action to replace the tag set with the one you modified. For more information, see Controlling access and labeling jobs using tags in the Amazon S3 User Guide. If you send this request with an empty tag set, Amazon S3 deletes the existing tag set on the Batch Operations job. If you use this method, you are charged for a Tier 1 Request (PUT). For more information, see Amazon S3 pricing. For deleting existing tags for your Batch Operations job, a DeleteJobTagging request is preferred because it achieves the same result without incurring charges. A few things to consider about using tags: Amazon S3 limits the maximum number of tags to 50 tags per job. You can associate up to 50 tags with a job as long as they have unique tag keys. A tag key can be up to 128 Unicode characters in length, and tag values can be up to 256 Unicode characters in length. The key and values are case sensitive. For tagging-related restrictions related to characters and encodings, see User-Defined Tag Restrictions in the Billing and Cost Management User Guide. To use the PutJobTagging operation, you must have permission to perform the s3:PutJobTagging action. Related actions include: CreateJob GetJobTagging DeleteJobTagging */ putJobTagging(callback?: (err: AWSError, data: S3Control.Types.PutJobTaggingResult) => void): Request; /** @@ -508,6 +532,12 @@ declare namespace S3Control { */ DaysAfterInitiation?: DaysAfterInitiation; } + export interface AccessControlTranslation { + /** + * Specifies the replica ownership. + */ + Owner: OwnerOverride; + } export interface AccessPoint { /** * The name of this access point. @@ -668,6 +698,7 @@ declare namespace S3Control { export type AwsOrgArn = string; export type Boolean = boolean; export type BucketCannedACL = "private"|"public-read"|"public-read-write"|"authenticated-read"|string; + export type BucketIdentifierString = string; export interface BucketLevel { /** * A container for the bucket-level activity metrics for S3 Storage Lens. @@ -734,7 +765,7 @@ declare namespace S3Control { */ Name: AccessPointName; /** - * The name of the bucket that you want to associate this access point with. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded. + * The name of the bucket that you want to associate this access point with. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded. */ Bucket: BucketName; /** @@ -814,7 +845,7 @@ declare namespace S3Control { */ Location?: Location; /** - * The Amazon Resource Name (ARN) of the bucket. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded. + * The Amazon Resource Name (ARN) of the bucket. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded. */ BucketArn?: S3RegionalBucketArn; } @@ -932,7 +963,7 @@ declare namespace S3Control { */ AccountId: AccountId; /** - * The name of the access point whose policy you want to delete. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>. For example, to access the access point reports-ap through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap. The value must be URL encoded. + * The name of the access point whose policy you want to delete. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>. For example, to access the access point reports-ap through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap. The value must be URL encoded. */ Name: AccessPointName; } @@ -942,7 +973,7 @@ declare namespace S3Control { */ AccountId: AccountId; /** - * The name of the access point you want to delete. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>. For example, to access the access point reports-ap through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap. The value must be URL encoded. + * The name of the access point you want to delete. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>. For example, to access the access point reports-ap through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap. The value must be URL encoded. */ Name: AccessPointName; } @@ -952,7 +983,7 @@ declare namespace S3Control { */ AccountId: AccountId; /** - * Specifies the bucket. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded. + * Specifies the bucket. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded. */ Bucket: BucketName; } @@ -962,7 +993,17 @@ declare namespace S3Control { */ AccountId: AccountId; /** - * Specifies the bucket. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded. + * Specifies the bucket. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded. + */ + Bucket: BucketName; + } + export interface DeleteBucketReplicationRequest { + /** + * The Amazon Web Services account ID of the Outposts bucket to delete the replication configuration for. + */ + AccountId: AccountId; + /** + * Specifies the S3 on Outposts bucket to delete the replication configuration for. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded. */ Bucket: BucketName; } @@ -972,7 +1013,7 @@ declare namespace S3Control { */ AccountId: AccountId; /** - * Specifies the bucket being deleted. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded. + * Specifies the bucket being deleted. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded. */ Bucket: BucketName; } @@ -982,7 +1023,7 @@ declare namespace S3Control { */ AccountId: AccountId; /** - * The bucket ARN that has the tag set to be removed. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded. + * The bucket ARN that has the tag set to be removed. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded. */ Bucket: BucketName; } @@ -998,6 +1039,13 @@ declare namespace S3Control { } export interface DeleteJobTaggingResult { } + export interface DeleteMarkerReplication { + /** + * Indicates whether to replicate delete markers. + */ + Status: DeleteMarkerReplicationStatus; + } + export type DeleteMarkerReplicationStatus = "Enabled"|"Disabled"|string; export interface DeleteMultiRegionAccessPointInput { /** * The name of the Multi-Region Access Point associated with this request. @@ -1084,12 +1132,48 @@ declare namespace S3Control { */ AsyncOperation?: AsyncOperation; } + export interface Destination { + /** + * The destination bucket owner's account ID. + */ + Account?: AccountId; + /** + * The Amazon Resource Name (ARN) of the access point for the destination bucket where you want S3 on Outposts to store the replication results. + */ + Bucket: BucketIdentifierString; + /** + * A container that specifies S3 Replication Time Control (S3 RTC) settings, including whether S3 RTC is enabled and the time when all objects and operations on objects must be replicated. Must be specified together with a Metrics block. This is not supported by Amazon S3 on Outposts buckets. + */ + ReplicationTime?: ReplicationTime; + /** + * Specify this property only in a cross-account scenario (where the source and destination bucket owners are not the same), and you want to change replica ownership to the Amazon Web Services account that owns the destination bucket. If this property is not specified in the replication configuration, the replicas are owned by same Amazon Web Services account that owns the source object. This is not supported by Amazon S3 on Outposts buckets. + */ + AccessControlTranslation?: AccessControlTranslation; + /** + * A container that provides information about encryption. If SourceSelectionCriteria is specified, you must specify this element. This is not supported by Amazon S3 on Outposts buckets. + */ + EncryptionConfiguration?: EncryptionConfiguration; + /** + * A container that specifies replication metrics-related settings. + */ + Metrics?: Metrics; + /** + * The storage class to use when replicating objects. All objects stored on S3 on Outposts are stored in the OUTPOSTS storage class. S3 on Outposts uses the OUTPOSTS storage class to create the object replicas. Values other than OUTPOSTS are not supported by Amazon S3 on Outposts. + */ + StorageClass?: ReplicationStorageClass; + } export interface DetailedStatusCodesMetrics { /** * A container that indicates whether detailed status code metrics are enabled. */ IsEnabled?: IsEnabled; } + export interface EncryptionConfiguration { + /** + * Specifies the ID of the customer managed KMS key that's stored in Key Management Service (KMS) for the destination bucket. This ID is either the Amazon Resource Name (ARN) for the KMS key or the alias ARN for the KMS key. Amazon S3 uses this KMS key to encrypt replica objects. Amazon S3 supports only symmetric encryption KMS keys. For more information, see Symmetric encryption KMS keys in the Amazon Web Services Key Management Service Developer Guide. + */ + ReplicaKmsKeyID?: ReplicaKmsKeyID; + } export type Endpoints = {[key: string]: NonEmptyMaxLength1024String}; export interface EstablishedMultiRegionAccessPointPolicy { /** @@ -1107,6 +1191,13 @@ declare namespace S3Control { */ Regions?: Regions; } + export interface ExistingObjectReplication { + /** + * Specifies whether Amazon S3 replicates existing source bucket objects. + */ + Status: ExistingObjectReplicationStatus; + } + export type ExistingObjectReplicationStatus = "Enabled"|"Disabled"|string; export type ExpirationStatus = "Enabled"|"Disabled"|string; export type ExpiredObjectDeleteMarker = boolean; export type Format = "CSV"|"Parquet"|string; @@ -1184,7 +1275,7 @@ declare namespace S3Control { */ AccountId: AccountId; /** - * The name of the access point whose policy you want to retrieve. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>. For example, to access the access point reports-ap through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap. The value must be URL encoded. + * The name of the access point whose policy you want to retrieve. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>. For example, to access the access point reports-ap through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap. The value must be URL encoded. */ Name: AccessPointName; } @@ -1229,7 +1320,7 @@ declare namespace S3Control { */ AccountId: AccountId; /** - * The name of the access point whose configuration information you want to retrieve. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>. For example, to access the access point reports-ap through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap. The value must be URL encoded. + * The name of the access point whose configuration information you want to retrieve. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>. For example, to access the access point reports-ap through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap. The value must be URL encoded. */ Name: AccessPointName; } @@ -1278,7 +1369,7 @@ declare namespace S3Control { */ AccountId: AccountId; /** - * The Amazon Resource Name (ARN) of the bucket. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded. + * The Amazon Resource Name (ARN) of the bucket. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded. */ Bucket: BucketName; } @@ -1294,7 +1385,7 @@ declare namespace S3Control { */ AccountId: AccountId; /** - * Specifies the bucket. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded. + * Specifies the bucket. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded. */ Bucket: BucketName; } @@ -1304,13 +1395,29 @@ declare namespace S3Control { */ Policy?: Policy; } + export interface GetBucketReplicationRequest { + /** + * The Amazon Web Services account ID of the Outposts bucket. + */ + AccountId: AccountId; + /** + * Specifies the bucket to get the replication information for. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded. + */ + Bucket: BucketName; + } + export interface GetBucketReplicationResult { + /** + * A container for one or more replication rules. A replication configuration must have at least one rule and you can add up to 100 rules. The maximum size of a replication configuration is 128 KB. + */ + ReplicationConfiguration?: ReplicationConfiguration; + } export interface GetBucketRequest { /** * The Amazon Web Services account ID of the Outposts bucket. */ AccountId: AccountId; /** - * Specifies the bucket. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded. + * Specifies the bucket. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded. */ Bucket: BucketName; } @@ -1334,7 +1441,7 @@ declare namespace S3Control { */ AccountId: AccountId; /** - * Specifies the bucket. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded. + * Specifies the bucket. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded. */ Bucket: BucketName; } @@ -1676,7 +1783,7 @@ declare namespace S3Control { } export interface JobManifestLocation { /** - * The Amazon Resource Name (ARN) for a manifest object. Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints. + * The Amazon Resource Name (ARN) for a manifest object. When you're using XML requests, you must replace special characters (such as carriage returns) in object keys with their equivalent XML entity codes. For more information, see XML-related object key constraints in the Amazon S3 User Guide. */ ObjectArn: S3KeyArnString; /** @@ -1868,7 +1975,7 @@ declare namespace S3Control { } export interface LifecycleRuleFilter { /** - * Prefix identifying one or more objects to which the rule applies. Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints. + * Prefix identifying one or more objects to which the rule applies. When you're using XML requests, you must replace special characters (such as carriage returns) in object keys with their equivalent XML entity codes. For more information, see XML-related object key constraints in the Amazon S3 User Guide. */ Prefix?: Prefix; Tag?: S3Tag; @@ -1916,7 +2023,7 @@ declare namespace S3Control { */ AccountId: AccountId; /** - * The name of the bucket whose associated access points you want to list. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded. + * The name of the bucket whose associated access points you want to list. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded. */ Bucket?: BucketName; /** @@ -2063,7 +2170,19 @@ declare namespace S3Control { export type ManifestPrefixString = string; export type MaxLength1024String = string; export type MaxResults = number; + export interface Metrics { + /** + * Specifies whether replication metrics are enabled. + */ + Status: MetricsStatus; + /** + * A container that specifies the time threshold for emitting the s3:Replication:OperationMissedThreshold event. This is not supported by Amazon S3 on Outposts buckets. + */ + EventThreshold?: ReplicationTimeValue; + } + export type MetricsStatus = "Enabled"|"Disabled"|string; export type MinStorageBytesPercentage = number; + export type Minutes = number; export type MultiRegionAccessPointAlias = string; export type MultiRegionAccessPointClientToken = string; export type MultiRegionAccessPointId = string; @@ -2123,7 +2242,7 @@ declare namespace S3Control { */ Region?: RegionName; /** - * The traffic state for the specified bucket or Amazon Web Services Region. A value of 0 indicates a passive state, which means that no new traffic will be routed to the Region. A value of 100 indicates an active state, which means that traffic will be routed to the specified Region. When the routing configuration for a Region is changed from active to passive, any in-progress operations (uploads, copies, deletes, and so on) to the formerly active Region will continue to run to until a final success or failure status is reached. If all Regions in the routing configuration are designated as passive, you'll receive an InvalidRequest error. + * The traffic state for the specified bucket or Amazon Web Services Region. A value of 0 indicates a passive state, which means that no new traffic will be routed to the Region. A value of 100 indicates an active state, which means that traffic will be routed to the specified Region. When the routing configuration for a Region is changed from active to passive, any in-progress operations (uploads, copies, deletes, and so on) to the formerly active Region will continue to run to until a final success or failure status is reached. If all Regions in the routing configuration are designated as passive, you'll receive an InvalidRequest error. */ TrafficDialPercentage: TrafficDialPercentage; } @@ -2221,6 +2340,7 @@ declare namespace S3Control { export type ObjectSizeLessThanBytes = number; export type OperationName = "LambdaInvoke"|"S3PutObjectCopy"|"S3PutObjectAcl"|"S3PutObjectTagging"|"S3DeleteObjectTagging"|"S3InitiateRestoreObject"|"S3PutObjectLegalHold"|"S3PutObjectRetention"|"S3ReplicateObject"|string; export type OutputSchemaVersion = "V_1"|string; + export type OwnerOverride = "Destination"|string; export type Policy = string; export interface PolicyStatus { /** @@ -2242,6 +2362,7 @@ declare namespace S3Control { IsEnabled?: IsEnabled; SelectionCriteria?: SelectionCriteria; } + export type Priority = number; export interface ProposedMultiRegionAccessPointPolicy { /** * The details of the proposed policy. @@ -2301,7 +2422,7 @@ declare namespace S3Control { */ AccountId: AccountId; /** - * The name of the access point that you want to associate with the specified policy. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>. For example, to access the access point reports-ap through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap. The value must be URL encoded. + * The name of the access point that you want to associate with the specified policy. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the access point accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>. For example, to access the access point reports-ap through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/accesspoint/reports-ap. The value must be URL encoded. */ Name: AccessPointName; /** @@ -2329,7 +2450,7 @@ declare namespace S3Control { */ AccountId: AccountId; /** - * Specifies the bucket. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded. + * Specifies the bucket. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded. */ Bucket: BucketName; /** @@ -2341,13 +2462,27 @@ declare namespace S3Control { */ Policy: Policy; } + export interface PutBucketReplicationRequest { + /** + * The Amazon Web Services account ID of the Outposts bucket. + */ + AccountId: AccountId; + /** + * Specifies the S3 on Outposts bucket to set the configuration for. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded. + */ + Bucket: BucketName; + /** + * + */ + ReplicationConfiguration: ReplicationConfiguration; + } export interface PutBucketTaggingRequest { /** * The Amazon Web Services account ID of the Outposts bucket. */ AccountId: AccountId; /** - * The Amazon Resource Name (ARN) of the bucket. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded. + * The Amazon Resource Name (ARN) of the bucket. For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well. For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN of the bucket accessed in the format arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>. For example, to access the bucket reports through Outpost my-outpost owned by account 123456789012 in Region us-west-2, use the URL encoding of arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded. */ Bucket: BucketName; /** @@ -2468,6 +2603,10 @@ declare namespace S3Control { * The name of the associated bucket for the Region. */ Bucket: BucketName; + /** + * The Amazon Web Services account ID that owns the Amazon S3 bucket that's associated with this Multi-Region Access Point. + */ + BucketAccountId?: AccountId; } export type RegionCreationList = Region[]; export type RegionName = string; @@ -2480,6 +2619,10 @@ declare namespace S3Control { * The name of the Region. */ Region?: RegionName; + /** + * The Amazon Web Services account ID that owns the Amazon S3 bucket that's associated with this Multi-Region Access Point. + */ + BucketAccountId?: AccountId; } export type RegionReportList = RegionReport[]; export interface RegionalBucket { @@ -2506,10 +2649,112 @@ declare namespace S3Control { } export type RegionalBucketList = RegionalBucket[]; export type Regions = S3AWSRegion[]; + export type ReplicaKmsKeyID = string; + export interface ReplicaModifications { + /** + * Specifies whether S3 on Outposts replicates modifications to object metadata on replicas. + */ + Status: ReplicaModificationsStatus; + } + export type ReplicaModificationsStatus = "Enabled"|"Disabled"|string; + export interface ReplicationConfiguration { + /** + * The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that S3 on Outposts assumes when replicating objects. For information about S3 replication on Outposts configuration, see Setting up replication in the Amazon S3 User Guide. + */ + Role: Role; + /** + * A container for one or more replication rules. A replication configuration must have at least one rule and can contain an array of 100 rules at the most. + */ + Rules: ReplicationRules; + } + export interface ReplicationRule { + /** + * A unique identifier for the rule. The maximum value is 255 characters. + */ + ID?: ID; + /** + * The priority indicates which rule has precedence whenever two or more replication rules conflict. S3 on Outposts attempts to replicate objects according to all replication rules. However, if there are two or more rules with the same destination Outposts bucket, then objects will be replicated according to the rule with the highest priority. The higher the number, the higher the priority. For more information, see Creating replication rules between Outposts in the Amazon S3 User Guide. + */ + Priority?: Priority; + /** + * An object key name prefix that identifies the object or objects to which the rule applies. The maximum prefix length is 1,024 characters. To include all objects in an Outposts bucket, specify an empty string. When you're using XML requests, you must replace special characters (such as carriage returns) in object keys with their equivalent XML entity codes. For more information, see XML-related object key constraints in the Amazon S3 User Guide. + */ + Prefix?: Prefix; + /** + * A filter that identifies the subset of objects to which the replication rule applies. A Filter element must specify exactly one Prefix, Tag, or And child element. + */ + Filter?: ReplicationRuleFilter; + /** + * Specifies whether the rule is enabled. + */ + Status: ReplicationRuleStatus; + /** + * A container that describes additional filters for identifying the source Outposts objects that you want to replicate. You can choose to enable or disable the replication of these objects. + */ + SourceSelectionCriteria?: SourceSelectionCriteria; + /** + * An optional configuration to replicate existing source bucket objects. This is not supported by Amazon S3 on Outposts buckets. + */ + ExistingObjectReplication?: ExistingObjectReplication; + /** + * A container for information about the replication destination and its configurations. + */ + Destination: Destination; + /** + * Specifies whether S3 on Outposts replicates delete markers. If you specify a Filter element in your replication configuration, you must also include a DeleteMarkerReplication element. If your Filter includes a Tag element, the DeleteMarkerReplication element's Status child element must be set to Disabled, because S3 on Outposts doesn't support replicating delete markers for tag-based rules. For more information about delete marker replication, see How delete operations affect replication in the Amazon S3 User Guide. + */ + DeleteMarkerReplication?: DeleteMarkerReplication; + /** + * The Amazon Resource Name (ARN) of the access point for the source Outposts bucket that you want S3 on Outposts to replicate the objects from. + */ + Bucket: BucketIdentifierString; + } + export interface ReplicationRuleAndOperator { + /** + * An object key name prefix that identifies the subset of objects that the rule applies to. + */ + Prefix?: Prefix; + /** + * An array of tags that contain key and value pairs. + */ + Tags?: S3TagSet; + } + export interface ReplicationRuleFilter { + /** + * An object key name prefix that identifies the subset of objects that the rule applies to. When you're using XML requests, you must replace special characters (such as carriage returns) in object keys with their equivalent XML entity codes. For more information, see XML-related object key constraints in the Amazon S3 User Guide. + */ + Prefix?: Prefix; + Tag?: S3Tag; + /** + * A container for specifying rule filters. The filters determine the subset of objects that the rule applies to. This element is required only if you specify more than one filter. For example: If you specify both a Prefix and a Tag filter, wrap these filters in an And element. If you specify a filter based on multiple tags, wrap the Tag elements in an And element. + */ + And?: ReplicationRuleAndOperator; + } + export type ReplicationRuleStatus = "Enabled"|"Disabled"|string; + export type ReplicationRules = ReplicationRule[]; export type ReplicationStatus = "COMPLETED"|"FAILED"|"REPLICA"|"NONE"|string; export type ReplicationStatusFilterList = ReplicationStatus[]; + export type ReplicationStorageClass = "STANDARD"|"REDUCED_REDUNDANCY"|"STANDARD_IA"|"ONEZONE_IA"|"INTELLIGENT_TIERING"|"GLACIER"|"DEEP_ARCHIVE"|"OUTPOSTS"|"GLACIER_IR"|string; + export interface ReplicationTime { + /** + * Specifies whether S3 Replication Time Control (S3 RTC) is enabled. + */ + Status: ReplicationTimeStatus; + /** + * A container that specifies the time by which replication should be complete for all objects and operations on objects. + */ + Time: ReplicationTimeValue; + } + export type ReplicationTimeStatus = "Enabled"|"Disabled"|string; + export interface ReplicationTimeValue { + /** + * Contains an integer that specifies the time period in minutes. Valid value: 15 + */ + Minutes?: Minutes; + } export type ReportPrefixString = string; export type RequestedJobStatus = "Cancelled"|"Ready"|string; + export type Role = string; export type RouteList = MultiRegionAccessPointRoute[]; export type S3AWSRegion = string; export interface S3AccessControlList { @@ -2565,7 +2810,7 @@ declare namespace S3Control { export type S3ContentLength = number; export interface S3CopyObjectOperation { /** - * Specifies the destination bucket ARN for the batch copy operation. For example, to copy objects to a bucket named destinationBucket, set the TargetResource property to arn:aws:s3:::destinationBucket. + * Specifies the destination bucket Amazon Resource Name (ARN) for the batch copy operation. For example, to copy objects to a bucket named destinationBucket, set the TargetResource property to arn:aws:s3:::destinationBucket. */ TargetResource?: S3BucketArnString; /** @@ -2613,7 +2858,7 @@ declare namespace S3Control { */ SSEAwsKmsKeyId?: KmsKeyArnString; /** - * Specifies the folder prefix into which you would like the objects to be copied. For example, to copy objects into a folder named Folder1 in the destination bucket, set the TargetKeyPrefix to Folder1. + * Specifies the folder prefix that you want the objects to be copied into. For example, to copy objects into a folder named Folder1 in the destination bucket, set the TargetKeyPrefix property to Folder1. */ TargetKeyPrefix?: NonEmptyMaxLength1024String; /** @@ -2633,7 +2878,7 @@ declare namespace S3Control { */ BucketKeyEnabled?: Boolean; /** - * Indicates the algorithm you want Amazon S3 to use to create the checksum. For more information see Checking object integrity in the Amazon S3 User Guide. + * Indicates the algorithm that you want Amazon S3 to use to create the checksum. For more information, see Checking object integrity in the Amazon S3 User Guide. */ ChecksumAlgorithm?: S3ChecksumAlgorithm; } @@ -2884,6 +3129,23 @@ declare namespace S3Control { MinStorageBytesPercentage?: MinStorageBytesPercentage; } export type Setting = boolean; + export interface SourceSelectionCriteria { + /** + * A filter that you can use to select Amazon S3 objects that are encrypted with server-side encryption by using Key Management Service (KMS) keys. If you include SourceSelectionCriteria in the replication configuration, this element is required. This is not supported by Amazon S3 on Outposts buckets. + */ + SseKmsEncryptedObjects?: SseKmsEncryptedObjects; + /** + * A filter that you can use to specify whether replica modification sync is enabled. S3 on Outposts replica modification sync can help you keep object metadata synchronized between replicas and source objects. By default, S3 on Outposts replicates metadata from the source objects to the replicas only. When replica modification sync is enabled, S3 on Outposts replicates metadata changes made to the replica copies back to the source object, making the replication bidirectional. To replicate object metadata modifications on replicas, you can specify this element and set the Status of this element to Enabled. You must enable replica modification sync on the source and destination buckets to replicate replica metadata changes between the source and the replicas. + */ + ReplicaModifications?: ReplicaModifications; + } + export interface SseKmsEncryptedObjects { + /** + * Specifies whether Amazon S3 replicates objects that are created with server-side encryption by using an KMS key stored in Key Management Service. + */ + Status: SseKmsEncryptedObjectsStatus; + } + export type SseKmsEncryptedObjectsStatus = "Enabled"|"Disabled"|string; export type StorageLensArn = string; export interface StorageLensAwsOrg { /** diff --git a/clients/tnb.d.ts b/clients/tnb.d.ts index 50605ddae5..037115e4c6 100644 --- a/clients/tnb.d.ts +++ b/clients/tnb.d.ts @@ -281,7 +281,7 @@ declare namespace Tnb { export type Boolean = boolean; export interface CancelSolNetworkOperationInput { /** - * The ID of a network operation occurrence. + * The identifier of the network operation. */ nsLcmOpOccId: NsLcmOpOccId; } @@ -653,7 +653,7 @@ declare namespace Tnb { } export interface GetSolNetworkOperationInput { /** - * The identifier of the operation occurrence. + * The identifier of the network operation. */ nsLcmOpOccId: NsLcmOpOccId; } @@ -673,7 +673,7 @@ declare namespace Tnb { */ arn: NsLcmOpOccArn; /** - * Error related to this specific network operation occurence. + * Error related to this specific network operation occurrence. */ error?: ProblemDetails; /** @@ -875,16 +875,24 @@ declare namespace Tnb { * ID of the network instance. */ nsInstanceId: NsInstanceId; + /** + * A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. When you use this API, the tags are transferred to the network operation that is created. Use tags to search and filter your resources or track your Amazon Web Services costs. + */ + tags?: TagMap; } export interface InstantiateSolNetworkInstanceOutput { /** - * The identifier of the network instance. + * The identifier of the network operation. */ nsLcmOpOccId: NsLcmOpOccId; + /** + * A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. When you use this API, the tags are transferred to the network operation that is created. Use tags to search and filter your resources or track your Amazon Web Services costs. + */ + tags?: TagMap; } export interface LcmOperationInfo { /** - * The identifier of the latest network lifecycle management operation occurrence. + * The identifier of the network operation. */ nsLcmOpOccId: NsLcmOpOccId; } @@ -1397,12 +1405,20 @@ declare namespace Tnb { * ID of the network instance. */ nsInstanceId: NsInstanceId; + /** + * A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. When you use this API, the tags are transferred to the network operation that is created. Use tags to search and filter your resources or track your Amazon Web Services costs. + */ + tags?: TagMap; } export interface TerminateSolNetworkInstanceOutput { /** - * The identifier of the operation occurrence. + * The identifier of the network operation. */ nsLcmOpOccId?: NsLcmOpOccId; + /** + * A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. When you use this API, the tags are transferred to the network operation that is created. Use tags to search and filter your resources or track your Amazon Web Services costs. + */ + tags?: TagMap; } export interface ToscaOverride { /** @@ -1451,6 +1467,10 @@ declare namespace Tnb { * ID of the network instance. */ nsInstanceId: NsInstanceId; + /** + * A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. When you use this API, the tags are transferred to the network operation that is created. Use tags to search and filter your resources or track your Amazon Web Services costs. + */ + tags?: TagMap; /** * The type of update. */ @@ -1458,9 +1478,13 @@ declare namespace Tnb { } export interface UpdateSolNetworkInstanceOutput { /** - * The identifier of the network instance operation occurrence. + * The identifier of the network operation. */ nsLcmOpOccId?: NsLcmOpOccId; + /** + * A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. When you use this API, the tags are transferred to the network operation that is created. Use tags to search and filter your resources or track your Amazon Web Services costs. + */ + tags?: TagMap; } export interface UpdateSolNetworkModify { /** diff --git a/clients/wisdom.d.ts b/clients/wisdom.d.ts index 176956fc5b..576baedec4 100644 --- a/clients/wisdom.d.ts +++ b/clients/wisdom.d.ts @@ -36,11 +36,11 @@ declare class Wisdom extends Service { */ createContent(callback?: (err: AWSError, data: Wisdom.Types.CreateContentResponse) => void): Request; /** - * Creates a knowledge base. When using this API, you cannot reuse Amazon AppIntegrations DataIntegrations with external knowledge bases such as Salesforce and ServiceNow. If you do, you'll get an InvalidRequestException error. <p>For example, you're programmatically managing your external knowledge base, and you want to add or remove one of the fields that is being ingested from Salesforce. Do the following:</p> <ol> <li> <p>Call <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_DeleteKnowledgeBase.html">DeleteKnowledgeBase</a>.</p> </li> <li> <p>Call <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_DeleteDataIntegration.html">DeleteDataIntegration</a>.</p> </li> <li> <p>Call <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html">CreateDataIntegration</a> to recreate the DataIntegration or a create different one.</p> </li> <li> <p>Call CreateKnowledgeBase.</p> </li> </ol> </note> + * Creates a knowledge base. When using this API, you cannot reuse Amazon AppIntegrations DataIntegrations with external knowledge bases such as Salesforce and ServiceNow. If you do, you'll get an InvalidRequestException error. For example, you're programmatically managing your external knowledge base, and you want to add or remove one of the fields that is being ingested from Salesforce. Do the following: Call DeleteKnowledgeBase. Call DeleteDataIntegration. Call CreateDataIntegration to recreate the DataIntegration or a create different one. Call CreateKnowledgeBase. */ createKnowledgeBase(params: Wisdom.Types.CreateKnowledgeBaseRequest, callback?: (err: AWSError, data: Wisdom.Types.CreateKnowledgeBaseResponse) => void): Request; /** - * Creates a knowledge base. When using this API, you cannot reuse Amazon AppIntegrations DataIntegrations with external knowledge bases such as Salesforce and ServiceNow. If you do, you'll get an InvalidRequestException error. <p>For example, you're programmatically managing your external knowledge base, and you want to add or remove one of the fields that is being ingested from Salesforce. Do the following:</p> <ol> <li> <p>Call <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_DeleteKnowledgeBase.html">DeleteKnowledgeBase</a>.</p> </li> <li> <p>Call <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_DeleteDataIntegration.html">DeleteDataIntegration</a>.</p> </li> <li> <p>Call <a href="https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html">CreateDataIntegration</a> to recreate the DataIntegration or a create different one.</p> </li> <li> <p>Call CreateKnowledgeBase.</p> </li> </ol> </note> + * Creates a knowledge base. When using this API, you cannot reuse Amazon AppIntegrations DataIntegrations with external knowledge bases such as Salesforce and ServiceNow. If you do, you'll get an InvalidRequestException error. For example, you're programmatically managing your external knowledge base, and you want to add or remove one of the fields that is being ingested from Salesforce. Do the following: Call DeleteKnowledgeBase. Call DeleteDataIntegration. Call CreateDataIntegration to recreate the DataIntegration or a create different one. Call CreateKnowledgeBase. */ createKnowledgeBase(callback?: (err: AWSError, data: Wisdom.Types.CreateKnowledgeBaseResponse) => void): Request; /** @@ -263,13 +263,13 @@ declare class Wisdom extends Service { declare namespace Wisdom { export interface AppIntegrationsConfiguration { /** - * The Amazon Resource Name (ARN) of the AppIntegrations DataIntegration to use for ingesting content. + * The Amazon Resource Name (ARN) of the AppIntegrations DataIntegration to use for ingesting content. For Salesforce, your AppIntegrations DataIntegration must have an ObjectConfiguration if objectFields is not provided, including at least Id, ArticleNumber, VersionNumber, Title, PublishStatus, and IsDeleted as source fields. For ServiceNow, your AppIntegrations DataIntegration must have an ObjectConfiguration if objectFields is not provided, including at least number, short_description, sys_mod_count, workflow_state, and active as source fields. For Zendesk, your AppIntegrations DataIntegration must have an ObjectConfiguration if objectFields is not provided, including at least id, title, updated_at, and draft as source fields. For SharePoint, your AppIntegrations DataIntegration must have a FileConfiguration, including only file extensions that are among docx, pdf, html, htm, and txt. */ appIntegrationArn: GenericArn; /** - * The fields from the source that are made available to your agents in Wisdom. For Salesforce, you must include at least Id, ArticleNumber, VersionNumber, Title, PublishStatus, and IsDeleted. For ServiceNow, you must include at least number, short_description, sys_mod_count, workflow_state, and active. Make sure to include additional fields. These fields are indexed and used to source recommendations. + * The fields from the source that are made available to your agents in Wisdom. Optional if ObjectConfiguration is included in the provided DataIntegration. For Salesforce, you must include at least Id, ArticleNumber, VersionNumber, Title, PublishStatus, and IsDeleted. For ServiceNow, you must include at least number, short_description, sys_mod_count, workflow_state, and active. For Zendesk, you must include at least id, title, updated_at, and draft. Make sure to include additional fields. These fields are indexed and used to source recommendations. */ - objectFields: ObjectFieldsList; + objectFields?: ObjectFieldsList; } export type Arn = string; export interface AssistantAssociationData { @@ -560,7 +560,7 @@ declare namespace Wisdom { */ associationType: AssociationType; /** - * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. + * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. */ clientToken?: ClientToken; /** @@ -576,7 +576,7 @@ declare namespace Wisdom { } export interface CreateAssistantRequest { /** - * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. + * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. */ clientToken?: ClientToken; /** @@ -608,7 +608,7 @@ declare namespace Wisdom { } export interface CreateContentRequest { /** - * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. + * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. */ clientToken?: NonEmptyString; /** @@ -648,7 +648,7 @@ declare namespace Wisdom { } export interface CreateKnowledgeBaseRequest { /** - * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. + * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. */ clientToken?: NonEmptyString; /** @@ -692,7 +692,7 @@ declare namespace Wisdom { */ assistantId: UuidOrArn; /** - * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. + * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. */ clientToken?: ClientToken; /** @@ -1272,7 +1272,7 @@ declare namespace Wisdom { } export interface RenderingConfiguration { /** - * A URI template containing exactly one variable in ${variableName} format. This can only be set for EXTERNAL knowledge bases. For Salesforce and ServiceNow, the variable must be one of the following: Salesforce: Id, ArticleNumber, VersionNumber, Title, PublishStatus, or IsDeleted ServiceNow: number, short_description, sys_mod_count, workflow_state, or active <p>The variable is replaced with the actual value for a piece of content when calling <a href="https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetContent.html">GetContent</a>. </p> + * A URI template containing exactly one variable in ${variableName} format. This can only be set for EXTERNAL knowledge bases. For Salesforce, ServiceNow, and Zendesk, the variable must be one of the following: Salesforce: Id, ArticleNumber, VersionNumber, Title, PublishStatus, or IsDeleted ServiceNow: number, short_description, sys_mod_count, workflow_state, or active Zendesk: id, title, updated_at, or draft The variable is replaced with the actual value for a piece of content when calling GetContent. */ templateUri?: Uri; } diff --git a/dist/aws-sdk-core-react-native.js b/dist/aws-sdk-core-react-native.js index b1bd3ab346..306317fd5a 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.1333.0', + VERSION: '2.1334.0', /** * @api private @@ -14526,6 +14526,13 @@ return /******/ (function(modules) { // webpackBootstrap return; } + if ( + typeof process.env === 'object' && + typeof process.env.AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE !== 'undefined' + ) { + return; + } + if (typeof process.emitWarning === 'function') { process.emitWarning(warning, { type: 'NOTE' diff --git a/dist/aws-sdk-react-native.js b/dist/aws-sdk-react-native.js index e7d24d8165..2346d9e998 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.1333.0', + VERSION: '2.1334.0', /** * @api private @@ -14838,6 +14838,13 @@ return /******/ (function(modules) { // webpackBootstrap return; } + if ( + typeof process.env === 'object' && + typeof process.env.AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE !== 'undefined' + ) { + return; + } + if (typeof process.emitWarning === 'function') { process.emitWarning(warning, { type: 'NOTE' @@ -51959,7 +51966,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 456 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-08-20","endpointPrefix":"s3-control","protocol":"rest-xml","serviceFullName":"AWS S3 Control","serviceId":"S3 Control","signatureVersion":"s3v4","signingName":"s3","uid":"s3control-2018-08-20"},"operations":{"CreateAccessPoint":{"http":{"method":"PUT","requestUri":"/v20180820/accesspoint/{name}"},"input":{"locationName":"CreateAccessPointRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Name","Bucket"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"},"Bucket":{"contextParam":{"name":"Bucket"}},"VpcConfiguration":{"shape":"S5"},"PublicAccessBlockConfiguration":{"shape":"S7"},"BucketAccountId":{}}},"output":{"type":"structure","members":{"AccessPointArn":{},"Alias":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"CreateAccessPointForObjectLambda":{"http":{"method":"PUT","requestUri":"/v20180820/accesspointforobjectlambda/{name}"},"input":{"locationName":"CreateAccessPointForObjectLambdaRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Name","Configuration"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"},"Configuration":{"shape":"Se"}}},"output":{"type":"structure","members":{"ObjectLambdaAccessPointArn":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"CreateBucket":{"http":{"method":"PUT","requestUri":"/v20180820/bucket/{name}"},"input":{"type":"structure","required":["Bucket"],"members":{"ACL":{"location":"header","locationName":"x-amz-acl"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"},"CreateBucketConfiguration":{"locationName":"CreateBucketConfiguration","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","members":{"LocationConstraint":{}}},"GrantFullControl":{"location":"header","locationName":"x-amz-grant-full-control"},"GrantRead":{"location":"header","locationName":"x-amz-grant-read"},"GrantReadACP":{"location":"header","locationName":"x-amz-grant-read-acp"},"GrantWrite":{"location":"header","locationName":"x-amz-grant-write"},"GrantWriteACP":{"location":"header","locationName":"x-amz-grant-write-acp"},"ObjectLockEnabledForBucket":{"location":"header","locationName":"x-amz-bucket-object-lock-enabled","type":"boolean"},"OutpostId":{"contextParam":{"name":"OutpostId"},"location":"header","locationName":"x-amz-outpost-id"}},"payload":"CreateBucketConfiguration"},"output":{"type":"structure","members":{"Location":{"location":"header","locationName":"Location"},"BucketArn":{}}},"httpChecksumRequired":true},"CreateJob":{"http":{"requestUri":"/v20180820/jobs"},"input":{"locationName":"CreateJobRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Operation","Report","ClientRequestToken","Priority","RoleArn"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"ConfirmationRequired":{"type":"boolean"},"Operation":{"shape":"S19"},"Report":{"shape":"S2g"},"ClientRequestToken":{"idempotencyToken":true},"Manifest":{"shape":"S2k"},"Description":{},"Priority":{"type":"integer"},"RoleArn":{},"Tags":{"shape":"S1r"},"ManifestGenerator":{"shape":"S2v"}}},"output":{"type":"structure","members":{"JobId":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"CreateMultiRegionAccessPoint":{"http":{"requestUri":"/v20180820/async-requests/mrap/create"},"input":{"locationName":"CreateMultiRegionAccessPointRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","ClientToken","Details"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"ClientToken":{"idempotencyToken":true},"Details":{"shape":"S3b"}}},"output":{"type":"structure","members":{"RequestTokenARN":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true,"staticContextParams":{"RequiresAccountId":{"value":true}}},"DeleteAccessPoint":{"http":{"method":"DELETE","requestUri":"/v20180820/accesspoint/{name}"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"contextParam":{"name":"AccessPointName"},"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"DeleteAccessPointForObjectLambda":{"http":{"method":"DELETE","requestUri":"/v20180820/accesspointforobjectlambda/{name}"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"DeleteAccessPointPolicy":{"http":{"method":"DELETE","requestUri":"/v20180820/accesspoint/{name}/policy"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"contextParam":{"name":"AccessPointName"},"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"DeleteAccessPointPolicyForObjectLambda":{"http":{"method":"DELETE","requestUri":"/v20180820/accesspointforobjectlambda/{name}/policy"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"DeleteBucket":{"http":{"method":"DELETE","requestUri":"/v20180820/bucket/{name}"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"DeleteBucketLifecycleConfiguration":{"http":{"method":"DELETE","requestUri":"/v20180820/bucket/{name}/lifecycleconfiguration"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"DeleteBucketPolicy":{"http":{"method":"DELETE","requestUri":"/v20180820/bucket/{name}/policy"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"DeleteBucketTagging":{"http":{"method":"DELETE","requestUri":"/v20180820/bucket/{name}/tagging","responseCode":204},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"DeleteJobTagging":{"http":{"method":"DELETE","requestUri":"/v20180820/jobs/{id}/tagging"},"input":{"type":"structure","required":["AccountId","JobId"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"JobId":{"location":"uri","locationName":"id"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"DeleteMultiRegionAccessPoint":{"http":{"requestUri":"/v20180820/async-requests/mrap/delete"},"input":{"locationName":"DeleteMultiRegionAccessPointRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","ClientToken","Details"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"ClientToken":{"idempotencyToken":true},"Details":{"shape":"S3s"}}},"output":{"type":"structure","members":{"RequestTokenARN":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true,"staticContextParams":{"RequiresAccountId":{"value":true}}},"DeletePublicAccessBlock":{"http":{"method":"DELETE","requestUri":"/v20180820/configuration/publicAccessBlock"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"DeleteStorageLensConfiguration":{"http":{"method":"DELETE","requestUri":"/v20180820/storagelens/{storagelensid}"},"input":{"type":"structure","required":["ConfigId","AccountId"],"members":{"ConfigId":{"location":"uri","locationName":"storagelensid"},"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"DeleteStorageLensConfigurationTagging":{"http":{"method":"DELETE","requestUri":"/v20180820/storagelens/{storagelensid}/tagging"},"input":{"type":"structure","required":["ConfigId","AccountId"],"members":{"ConfigId":{"location":"uri","locationName":"storagelensid"},"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"DescribeJob":{"http":{"method":"GET","requestUri":"/v20180820/jobs/{id}"},"input":{"type":"structure","required":["AccountId","JobId"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"JobId":{"location":"uri","locationName":"id"}}},"output":{"type":"structure","members":{"Job":{"type":"structure","members":{"JobId":{},"ConfirmationRequired":{"type":"boolean"},"Description":{},"JobArn":{},"Status":{},"Manifest":{"shape":"S2k"},"Operation":{"shape":"S19"},"Priority":{"type":"integer"},"ProgressSummary":{"shape":"S44"},"StatusUpdateReason":{},"FailureReasons":{"type":"list","member":{"type":"structure","members":{"FailureCode":{},"FailureReason":{}}}},"Report":{"shape":"S2g"},"CreationTime":{"type":"timestamp"},"TerminationDate":{"type":"timestamp"},"RoleArn":{},"SuspendedDate":{"type":"timestamp"},"SuspendedCause":{},"ManifestGenerator":{"shape":"S2v"},"GeneratedManifestDescriptor":{"type":"structure","members":{"Format":{},"Location":{"shape":"S2p"}}}}}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"DescribeMultiRegionAccessPointOperation":{"http":{"method":"GET","requestUri":"/v20180820/async-requests/mrap/{request_token+}"},"input":{"type":"structure","required":["AccountId","RequestTokenARN"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"RequestTokenARN":{"location":"uri","locationName":"request_token"}}},"output":{"type":"structure","members":{"AsyncOperation":{"type":"structure","members":{"CreationTime":{"type":"timestamp"},"Operation":{},"RequestTokenARN":{},"RequestParameters":{"type":"structure","members":{"CreateMultiRegionAccessPointRequest":{"shape":"S3b"},"DeleteMultiRegionAccessPointRequest":{"shape":"S3s"},"PutMultiRegionAccessPointPolicyRequest":{"shape":"S4q"}}},"RequestStatus":{},"ResponseDetails":{"type":"structure","members":{"MultiRegionAccessPointDetails":{"type":"structure","members":{"Regions":{"type":"list","member":{"locationName":"Region","type":"structure","members":{"Name":{},"RequestStatus":{}}}}}},"ErrorDetails":{"type":"structure","members":{"Code":{},"Message":{},"Resource":{},"RequestId":{}}}}}}}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true,"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetAccessPoint":{"http":{"method":"GET","requestUri":"/v20180820/accesspoint/{name}"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"contextParam":{"name":"AccessPointName"},"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Name":{},"Bucket":{},"NetworkOrigin":{},"VpcConfiguration":{"shape":"S5"},"PublicAccessBlockConfiguration":{"shape":"S7"},"CreationDate":{"type":"timestamp"},"Alias":{},"AccessPointArn":{},"Endpoints":{"type":"map","key":{},"value":{}},"BucketAccountId":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetAccessPointConfigurationForObjectLambda":{"http":{"method":"GET","requestUri":"/v20180820/accesspointforobjectlambda/{name}/configuration"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Configuration":{"shape":"Se"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetAccessPointForObjectLambda":{"http":{"method":"GET","requestUri":"/v20180820/accesspointforobjectlambda/{name}"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Name":{},"PublicAccessBlockConfiguration":{"shape":"S7"},"CreationDate":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetAccessPointPolicy":{"http":{"method":"GET","requestUri":"/v20180820/accesspoint/{name}/policy"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"contextParam":{"name":"AccessPointName"},"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Policy":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetAccessPointPolicyForObjectLambda":{"http":{"method":"GET","requestUri":"/v20180820/accesspointforobjectlambda/{name}/policy"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Policy":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetAccessPointPolicyStatus":{"http":{"method":"GET","requestUri":"/v20180820/accesspoint/{name}/policyStatus"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"contextParam":{"name":"AccessPointName"},"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"PolicyStatus":{"shape":"S5f"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetAccessPointPolicyStatusForObjectLambda":{"http":{"method":"GET","requestUri":"/v20180820/accesspointforobjectlambda/{name}/policyStatus"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"PolicyStatus":{"shape":"S5f"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetBucket":{"http":{"method":"GET","requestUri":"/v20180820/bucket/{name}"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Bucket":{},"PublicAccessBlockEnabled":{"type":"boolean"},"CreationDate":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetBucketLifecycleConfiguration":{"http":{"method":"GET","requestUri":"/v20180820/bucket/{name}/lifecycleconfiguration"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Rules":{"shape":"S5o"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetBucketPolicy":{"http":{"method":"GET","requestUri":"/v20180820/bucket/{name}/policy"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Policy":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetBucketTagging":{"http":{"method":"GET","requestUri":"/v20180820/bucket/{name}/tagging"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["TagSet"],"members":{"TagSet":{"shape":"S1r"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetBucketVersioning":{"http":{"method":"GET","requestUri":"/v20180820/bucket/{name}/versioning"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Status":{},"MFADelete":{"locationName":"MfaDelete"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetJobTagging":{"http":{"method":"GET","requestUri":"/v20180820/jobs/{id}/tagging"},"input":{"type":"structure","required":["AccountId","JobId"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"JobId":{"location":"uri","locationName":"id"}}},"output":{"type":"structure","members":{"Tags":{"shape":"S1r"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetMultiRegionAccessPoint":{"http":{"method":"GET","requestUri":"/v20180820/mrap/instances/{name+}"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"AccessPoint":{"shape":"S6m"}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true,"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetMultiRegionAccessPointPolicy":{"http":{"method":"GET","requestUri":"/v20180820/mrap/instances/{name+}/policy"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Policy":{"type":"structure","members":{"Established":{"type":"structure","members":{"Policy":{}}},"Proposed":{"type":"structure","members":{"Policy":{}}}}}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true,"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetMultiRegionAccessPointPolicyStatus":{"http":{"method":"GET","requestUri":"/v20180820/mrap/instances/{name+}/policystatus"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Established":{"shape":"S5f"}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true,"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetMultiRegionAccessPointRoutes":{"http":{"method":"GET","requestUri":"/v20180820/mrap/instances/{mrap+}/routes"},"input":{"type":"structure","required":["AccountId","Mrap"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Mrap":{"location":"uri","locationName":"mrap"}}},"output":{"type":"structure","members":{"Mrap":{},"Routes":{"shape":"S72"}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true,"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetPublicAccessBlock":{"http":{"method":"GET","requestUri":"/v20180820/configuration/publicAccessBlock"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"}}},"output":{"type":"structure","members":{"PublicAccessBlockConfiguration":{"shape":"S7"}},"payload":"PublicAccessBlockConfiguration"},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetStorageLensConfiguration":{"http":{"method":"GET","requestUri":"/v20180820/storagelens/{storagelensid}"},"input":{"type":"structure","required":["ConfigId","AccountId"],"members":{"ConfigId":{"location":"uri","locationName":"storagelensid"},"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"}}},"output":{"type":"structure","members":{"StorageLensConfiguration":{"shape":"S79"}},"payload":"StorageLensConfiguration"},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetStorageLensConfigurationTagging":{"http":{"method":"GET","requestUri":"/v20180820/storagelens/{storagelensid}/tagging"},"input":{"type":"structure","required":["ConfigId","AccountId"],"members":{"ConfigId":{"location":"uri","locationName":"storagelensid"},"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"}}},"output":{"type":"structure","members":{"Tags":{"shape":"S86"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"ListAccessPoints":{"http":{"method":"GET","requestUri":"/v20180820/accesspoint"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"querystring","locationName":"bucket"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"AccessPointList":{"type":"list","member":{"locationName":"AccessPoint","type":"structure","required":["Name","NetworkOrigin","Bucket"],"members":{"Name":{},"NetworkOrigin":{},"VpcConfiguration":{"shape":"S5"},"Bucket":{},"AccessPointArn":{},"Alias":{},"BucketAccountId":{}}}},"NextToken":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"ListAccessPointsForObjectLambda":{"http":{"method":"GET","requestUri":"/v20180820/accesspointforobjectlambda"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"ObjectLambdaAccessPointList":{"type":"list","member":{"locationName":"ObjectLambdaAccessPoint","type":"structure","required":["Name"],"members":{"Name":{},"ObjectLambdaAccessPointArn":{}}}},"NextToken":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"ListJobs":{"http":{"method":"GET","requestUri":"/v20180820/jobs"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"JobStatuses":{"location":"querystring","locationName":"jobStatuses","type":"list","member":{}},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"Jobs":{"type":"list","member":{"type":"structure","members":{"JobId":{},"Description":{},"Operation":{},"Priority":{"type":"integer"},"Status":{},"CreationTime":{"type":"timestamp"},"TerminationDate":{"type":"timestamp"},"ProgressSummary":{"shape":"S44"}}}}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"ListMultiRegionAccessPoints":{"http":{"method":"GET","requestUri":"/v20180820/mrap/instances"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"AccessPoints":{"type":"list","member":{"shape":"S6m","locationName":"AccessPoint"}},"NextToken":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true,"staticContextParams":{"RequiresAccountId":{"value":true}}},"ListRegionalBuckets":{"http":{"method":"GET","requestUri":"/v20180820/bucket"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"OutpostId":{"contextParam":{"name":"OutpostId"},"location":"header","locationName":"x-amz-outpost-id"}}},"output":{"type":"structure","members":{"RegionalBucketList":{"type":"list","member":{"locationName":"RegionalBucket","type":"structure","required":["Bucket","PublicAccessBlockEnabled","CreationDate"],"members":{"Bucket":{},"BucketArn":{},"PublicAccessBlockEnabled":{"type":"boolean"},"CreationDate":{"type":"timestamp"},"OutpostId":{}}}},"NextToken":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"ListStorageLensConfigurations":{"http":{"method":"GET","requestUri":"/v20180820/storagelens"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"NextToken":{},"StorageLensConfigurationList":{"type":"list","member":{"locationName":"StorageLensConfiguration","type":"structure","required":["Id","StorageLensArn","HomeRegion"],"members":{"Id":{},"StorageLensArn":{},"HomeRegion":{},"IsEnabled":{"type":"boolean"}}},"flattened":true}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"PutAccessPointConfigurationForObjectLambda":{"http":{"method":"PUT","requestUri":"/v20180820/accesspointforobjectlambda/{name}/configuration"},"input":{"locationName":"PutAccessPointConfigurationForObjectLambdaRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Name","Configuration"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"},"Configuration":{"shape":"Se"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"PutAccessPointPolicy":{"http":{"method":"PUT","requestUri":"/v20180820/accesspoint/{name}/policy"},"input":{"locationName":"PutAccessPointPolicyRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Name","Policy"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"contextParam":{"name":"AccessPointName"},"location":"uri","locationName":"name"},"Policy":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"PutAccessPointPolicyForObjectLambda":{"http":{"method":"PUT","requestUri":"/v20180820/accesspointforobjectlambda/{name}/policy"},"input":{"locationName":"PutAccessPointPolicyForObjectLambdaRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Name","Policy"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"},"Policy":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"PutBucketLifecycleConfiguration":{"http":{"method":"PUT","requestUri":"/v20180820/bucket/{name}/lifecycleconfiguration"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"},"LifecycleConfiguration":{"locationName":"LifecycleConfiguration","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","members":{"Rules":{"shape":"S5o"}}}},"payload":"LifecycleConfiguration"},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true,"staticContextParams":{"RequiresAccountId":{"value":true}}},"PutBucketPolicy":{"http":{"method":"PUT","requestUri":"/v20180820/bucket/{name}/policy"},"input":{"locationName":"PutBucketPolicyRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Bucket","Policy"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"},"ConfirmRemoveSelfBucketAccess":{"location":"header","locationName":"x-amz-confirm-remove-self-bucket-access","type":"boolean"},"Policy":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true,"staticContextParams":{"RequiresAccountId":{"value":true}}},"PutBucketTagging":{"http":{"method":"PUT","requestUri":"/v20180820/bucket/{name}/tagging"},"input":{"type":"structure","required":["AccountId","Bucket","Tagging"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"},"Tagging":{"locationName":"Tagging","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["TagSet"],"members":{"TagSet":{"shape":"S1r"}}}},"payload":"Tagging"},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true,"staticContextParams":{"RequiresAccountId":{"value":true}}},"PutBucketVersioning":{"http":{"method":"PUT","requestUri":"/v20180820/bucket/{name}/versioning"},"input":{"type":"structure","required":["AccountId","Bucket","VersioningConfiguration"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"},"MFA":{"location":"header","locationName":"x-amz-mfa"},"VersioningConfiguration":{"locationName":"VersioningConfiguration","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","members":{"MFADelete":{"locationName":"MfaDelete"},"Status":{}}}},"payload":"VersioningConfiguration"},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true,"staticContextParams":{"RequiresAccountId":{"value":true}}},"PutJobTagging":{"http":{"method":"PUT","requestUri":"/v20180820/jobs/{id}/tagging"},"input":{"locationName":"PutJobTaggingRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","JobId","Tags"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"JobId":{"location":"uri","locationName":"id"},"Tags":{"shape":"S1r"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"PutMultiRegionAccessPointPolicy":{"http":{"requestUri":"/v20180820/async-requests/mrap/put-policy"},"input":{"locationName":"PutMultiRegionAccessPointPolicyRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","ClientToken","Details"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"ClientToken":{"idempotencyToken":true},"Details":{"shape":"S4q"}}},"output":{"type":"structure","members":{"RequestTokenARN":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true,"staticContextParams":{"RequiresAccountId":{"value":true}}},"PutPublicAccessBlock":{"http":{"method":"PUT","requestUri":"/v20180820/configuration/publicAccessBlock"},"input":{"type":"structure","required":["PublicAccessBlockConfiguration","AccountId"],"members":{"PublicAccessBlockConfiguration":{"shape":"S7","locationName":"PublicAccessBlockConfiguration","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"}},"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"}},"payload":"PublicAccessBlockConfiguration"},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"PutStorageLensConfiguration":{"http":{"method":"PUT","requestUri":"/v20180820/storagelens/{storagelensid}"},"input":{"locationName":"PutStorageLensConfigurationRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["ConfigId","AccountId","StorageLensConfiguration"],"members":{"ConfigId":{"location":"uri","locationName":"storagelensid"},"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"StorageLensConfiguration":{"shape":"S79"},"Tags":{"shape":"S86"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"PutStorageLensConfigurationTagging":{"http":{"method":"PUT","requestUri":"/v20180820/storagelens/{storagelensid}/tagging"},"input":{"locationName":"PutStorageLensConfigurationTaggingRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["ConfigId","AccountId","Tags"],"members":{"ConfigId":{"location":"uri","locationName":"storagelensid"},"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Tags":{"shape":"S86"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"SubmitMultiRegionAccessPointRoutes":{"http":{"method":"PATCH","requestUri":"/v20180820/mrap/instances/{mrap+}/routes"},"input":{"locationName":"SubmitMultiRegionAccessPointRoutesRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Mrap","RouteUpdates"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Mrap":{"location":"uri","locationName":"mrap"},"RouteUpdates":{"shape":"S72"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true,"staticContextParams":{"RequiresAccountId":{"value":true}}},"UpdateJobPriority":{"http":{"requestUri":"/v20180820/jobs/{id}/priority"},"input":{"type":"structure","required":["AccountId","JobId","Priority"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"JobId":{"location":"uri","locationName":"id"},"Priority":{"location":"querystring","locationName":"priority","type":"integer"}}},"output":{"type":"structure","required":["JobId","Priority"],"members":{"JobId":{},"Priority":{"type":"integer"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"UpdateJobStatus":{"http":{"requestUri":"/v20180820/jobs/{id}/status"},"input":{"type":"structure","required":["AccountId","JobId","RequestedJobStatus"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"JobId":{"location":"uri","locationName":"id"},"RequestedJobStatus":{"location":"querystring","locationName":"requestedJobStatus"},"StatusUpdateReason":{"location":"querystring","locationName":"statusUpdateReason"}}},"output":{"type":"structure","members":{"JobId":{},"Status":{},"StatusUpdateReason":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}}},"shapes":{"S5":{"type":"structure","required":["VpcId"],"members":{"VpcId":{}}},"S7":{"type":"structure","members":{"BlockPublicAcls":{"locationName":"BlockPublicAcls","type":"boolean"},"IgnorePublicAcls":{"locationName":"IgnorePublicAcls","type":"boolean"},"BlockPublicPolicy":{"locationName":"BlockPublicPolicy","type":"boolean"},"RestrictPublicBuckets":{"locationName":"RestrictPublicBuckets","type":"boolean"}}},"Se":{"type":"structure","required":["SupportingAccessPoint","TransformationConfigurations"],"members":{"SupportingAccessPoint":{},"CloudWatchMetricsEnabled":{"type":"boolean"},"AllowedFeatures":{"type":"list","member":{"locationName":"AllowedFeature"}},"TransformationConfigurations":{"type":"list","member":{"locationName":"TransformationConfiguration","type":"structure","required":["Actions","ContentTransformation"],"members":{"Actions":{"type":"list","member":{"locationName":"Action"}},"ContentTransformation":{"type":"structure","members":{"AwsLambda":{"type":"structure","required":["FunctionArn"],"members":{"FunctionArn":{},"FunctionPayload":{}}}},"union":true}}}}}},"S19":{"type":"structure","members":{"LambdaInvoke":{"type":"structure","members":{"FunctionArn":{}}},"S3PutObjectCopy":{"type":"structure","members":{"TargetResource":{},"CannedAccessControlList":{},"AccessControlGrants":{"shape":"S1e"},"MetadataDirective":{},"ModifiedSinceConstraint":{"type":"timestamp"},"NewObjectMetadata":{"type":"structure","members":{"CacheControl":{},"ContentDisposition":{},"ContentEncoding":{},"ContentLanguage":{},"UserMetadata":{"type":"map","key":{},"value":{}},"ContentLength":{"type":"long"},"ContentMD5":{},"ContentType":{},"HttpExpiresDate":{"type":"timestamp"},"RequesterCharged":{"type":"boolean"},"SSEAlgorithm":{}}},"NewObjectTagging":{"shape":"S1r"},"RedirectLocation":{},"RequesterPays":{"type":"boolean"},"StorageClass":{},"UnModifiedSinceConstraint":{"type":"timestamp"},"SSEAwsKmsKeyId":{},"TargetKeyPrefix":{},"ObjectLockLegalHoldStatus":{},"ObjectLockMode":{},"ObjectLockRetainUntilDate":{"type":"timestamp"},"BucketKeyEnabled":{"type":"boolean"},"ChecksumAlgorithm":{}}},"S3PutObjectAcl":{"type":"structure","members":{"AccessControlPolicy":{"type":"structure","members":{"AccessControlList":{"type":"structure","required":["Owner"],"members":{"Owner":{"type":"structure","members":{"ID":{},"DisplayName":{}}},"Grants":{"shape":"S1e"}}},"CannedAccessControlList":{}}}}},"S3PutObjectTagging":{"type":"structure","members":{"TagSet":{"shape":"S1r"}}},"S3DeleteObjectTagging":{"type":"structure","members":{}},"S3InitiateRestoreObject":{"type":"structure","members":{"ExpirationInDays":{"type":"integer"},"GlacierJobTier":{}}},"S3PutObjectLegalHold":{"type":"structure","required":["LegalHold"],"members":{"LegalHold":{"type":"structure","required":["Status"],"members":{"Status":{}}}}},"S3PutObjectRetention":{"type":"structure","required":["Retention"],"members":{"BypassGovernanceRetention":{"type":"boolean"},"Retention":{"type":"structure","members":{"RetainUntilDate":{"type":"timestamp"},"Mode":{}}}}},"S3ReplicateObject":{"type":"structure","members":{}}}},"S1e":{"type":"list","member":{"type":"structure","members":{"Grantee":{"type":"structure","members":{"TypeIdentifier":{},"Identifier":{},"DisplayName":{}}},"Permission":{}}}},"S1r":{"type":"list","member":{"shape":"S1s"}},"S1s":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}},"S2g":{"type":"structure","required":["Enabled"],"members":{"Bucket":{},"Format":{},"Enabled":{"type":"boolean"},"Prefix":{},"ReportScope":{}}},"S2k":{"type":"structure","required":["Spec","Location"],"members":{"Spec":{"type":"structure","required":["Format"],"members":{"Format":{},"Fields":{"type":"list","member":{}}}},"Location":{"shape":"S2p"}}},"S2p":{"type":"structure","required":["ObjectArn","ETag"],"members":{"ObjectArn":{},"ObjectVersionId":{},"ETag":{}}},"S2v":{"type":"structure","members":{"S3JobManifestGenerator":{"type":"structure","required":["SourceBucket","EnableManifestOutput"],"members":{"ExpectedBucketOwner":{},"SourceBucket":{},"ManifestOutputLocation":{"type":"structure","required":["Bucket","ManifestFormat"],"members":{"ExpectedManifestBucketOwner":{},"Bucket":{},"ManifestPrefix":{},"ManifestEncryption":{"type":"structure","members":{"SSES3":{"locationName":"SSE-S3","type":"structure","members":{}},"SSEKMS":{"locationName":"SSE-KMS","type":"structure","required":["KeyId"],"members":{"KeyId":{}}}}},"ManifestFormat":{}}},"Filter":{"type":"structure","members":{"EligibleForReplication":{"type":"boolean"},"CreatedAfter":{"type":"timestamp"},"CreatedBefore":{"type":"timestamp"},"ObjectReplicationStatuses":{"type":"list","member":{}}}},"EnableManifestOutput":{"type":"boolean"}}}},"union":true},"S3b":{"type":"structure","required":["Name","Regions"],"members":{"Name":{},"PublicAccessBlock":{"shape":"S7"},"Regions":{"type":"list","member":{"locationName":"Region","type":"structure","required":["Bucket"],"members":{"Bucket":{}}}}}},"S3s":{"type":"structure","required":["Name"],"members":{"Name":{}}},"S44":{"type":"structure","members":{"TotalNumberOfTasks":{"type":"long"},"NumberOfTasksSucceeded":{"type":"long"},"NumberOfTasksFailed":{"type":"long"},"Timers":{"type":"structure","members":{"ElapsedTimeInActiveSeconds":{"type":"long"}}}}},"S4q":{"type":"structure","required":["Name","Policy"],"members":{"Name":{},"Policy":{}}},"S5f":{"type":"structure","members":{"IsPublic":{"locationName":"IsPublic","type":"boolean"}}},"S5o":{"type":"list","member":{"locationName":"Rule","type":"structure","required":["Status"],"members":{"Expiration":{"type":"structure","members":{"Date":{"type":"timestamp"},"Days":{"type":"integer"},"ExpiredObjectDeleteMarker":{"type":"boolean"}}},"ID":{},"Filter":{"type":"structure","members":{"Prefix":{},"Tag":{"shape":"S1s"},"And":{"type":"structure","members":{"Prefix":{},"Tags":{"shape":"S1r"},"ObjectSizeGreaterThan":{"type":"long"},"ObjectSizeLessThan":{"type":"long"}}},"ObjectSizeGreaterThan":{"type":"long"},"ObjectSizeLessThan":{"type":"long"}}},"Status":{},"Transitions":{"type":"list","member":{"locationName":"Transition","type":"structure","members":{"Date":{"type":"timestamp"},"Days":{"type":"integer"},"StorageClass":{}}}},"NoncurrentVersionTransitions":{"type":"list","member":{"locationName":"NoncurrentVersionTransition","type":"structure","members":{"NoncurrentDays":{"type":"integer"},"StorageClass":{}}}},"NoncurrentVersionExpiration":{"type":"structure","members":{"NoncurrentDays":{"type":"integer"},"NewerNoncurrentVersions":{"type":"integer"}}},"AbortIncompleteMultipartUpload":{"type":"structure","members":{"DaysAfterInitiation":{"type":"integer"}}}}}},"S6m":{"type":"structure","members":{"Name":{},"Alias":{},"CreatedAt":{"type":"timestamp"},"PublicAccessBlock":{"shape":"S7"},"Status":{},"Regions":{"type":"list","member":{"locationName":"Region","type":"structure","members":{"Bucket":{},"Region":{}}}}}},"S72":{"type":"list","member":{"locationName":"Route","type":"structure","required":["TrafficDialPercentage"],"members":{"Bucket":{},"Region":{},"TrafficDialPercentage":{"type":"integer"}}}},"S79":{"type":"structure","required":["Id","AccountLevel","IsEnabled"],"members":{"Id":{},"AccountLevel":{"type":"structure","required":["BucketLevel"],"members":{"ActivityMetrics":{"shape":"S7b"},"BucketLevel":{"type":"structure","members":{"ActivityMetrics":{"shape":"S7b"},"PrefixLevel":{"type":"structure","required":["StorageMetrics"],"members":{"StorageMetrics":{"type":"structure","members":{"IsEnabled":{"type":"boolean"},"SelectionCriteria":{"type":"structure","members":{"Delimiter":{},"MaxDepth":{"type":"integer"},"MinStorageBytesPercentage":{"type":"double"}}}}}}},"AdvancedCostOptimizationMetrics":{"shape":"S7k"},"AdvancedDataProtectionMetrics":{"shape":"S7l"},"DetailedStatusCodesMetrics":{"shape":"S7m"}}},"AdvancedCostOptimizationMetrics":{"shape":"S7k"},"AdvancedDataProtectionMetrics":{"shape":"S7l"},"DetailedStatusCodesMetrics":{"shape":"S7m"}}},"Include":{"type":"structure","members":{"Buckets":{"shape":"S7o"},"Regions":{"shape":"S7p"}}},"Exclude":{"type":"structure","members":{"Buckets":{"shape":"S7o"},"Regions":{"shape":"S7p"}}},"DataExport":{"type":"structure","members":{"S3BucketDestination":{"type":"structure","required":["Format","OutputSchemaVersion","AccountId","Arn"],"members":{"Format":{},"OutputSchemaVersion":{},"AccountId":{},"Arn":{},"Prefix":{},"Encryption":{"type":"structure","members":{"SSES3":{"locationName":"SSE-S3","type":"structure","members":{}},"SSEKMS":{"locationName":"SSE-KMS","type":"structure","required":["KeyId"],"members":{"KeyId":{}}}}}}},"CloudWatchMetrics":{"type":"structure","required":["IsEnabled"],"members":{"IsEnabled":{"type":"boolean"}}}}},"IsEnabled":{"type":"boolean"},"AwsOrg":{"type":"structure","required":["Arn"],"members":{"Arn":{}}},"StorageLensArn":{}}},"S7b":{"type":"structure","members":{"IsEnabled":{"type":"boolean"}}},"S7k":{"type":"structure","members":{"IsEnabled":{"type":"boolean"}}},"S7l":{"type":"structure","members":{"IsEnabled":{"type":"boolean"}}},"S7m":{"type":"structure","members":{"IsEnabled":{"type":"boolean"}}},"S7o":{"type":"list","member":{"locationName":"Arn"}},"S7p":{"type":"list","member":{"locationName":"Region"}},"S86":{"type":"list","member":{"locationName":"Tag","type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}}},"clientContextParams":{"UseArnRegion":{"documentation":"Enables this client to use an ARN's region when constructing an endpoint instead of the client's configured region.","type":"boolean"}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-08-20","endpointPrefix":"s3-control","protocol":"rest-xml","serviceFullName":"AWS S3 Control","serviceId":"S3 Control","signatureVersion":"s3v4","signingName":"s3","uid":"s3control-2018-08-20"},"operations":{"CreateAccessPoint":{"http":{"method":"PUT","requestUri":"/v20180820/accesspoint/{name}"},"input":{"locationName":"CreateAccessPointRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Name","Bucket"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"},"Bucket":{"contextParam":{"name":"Bucket"}},"VpcConfiguration":{"shape":"S5"},"PublicAccessBlockConfiguration":{"shape":"S7"},"BucketAccountId":{}}},"output":{"type":"structure","members":{"AccessPointArn":{},"Alias":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"CreateAccessPointForObjectLambda":{"http":{"method":"PUT","requestUri":"/v20180820/accesspointforobjectlambda/{name}"},"input":{"locationName":"CreateAccessPointForObjectLambdaRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Name","Configuration"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"},"Configuration":{"shape":"Se"}}},"output":{"type":"structure","members":{"ObjectLambdaAccessPointArn":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"CreateBucket":{"http":{"method":"PUT","requestUri":"/v20180820/bucket/{name}"},"input":{"type":"structure","required":["Bucket"],"members":{"ACL":{"location":"header","locationName":"x-amz-acl"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"},"CreateBucketConfiguration":{"locationName":"CreateBucketConfiguration","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","members":{"LocationConstraint":{}}},"GrantFullControl":{"location":"header","locationName":"x-amz-grant-full-control"},"GrantRead":{"location":"header","locationName":"x-amz-grant-read"},"GrantReadACP":{"location":"header","locationName":"x-amz-grant-read-acp"},"GrantWrite":{"location":"header","locationName":"x-amz-grant-write"},"GrantWriteACP":{"location":"header","locationName":"x-amz-grant-write-acp"},"ObjectLockEnabledForBucket":{"location":"header","locationName":"x-amz-bucket-object-lock-enabled","type":"boolean"},"OutpostId":{"contextParam":{"name":"OutpostId"},"location":"header","locationName":"x-amz-outpost-id"}},"payload":"CreateBucketConfiguration"},"output":{"type":"structure","members":{"Location":{"location":"header","locationName":"Location"},"BucketArn":{}}},"httpChecksumRequired":true},"CreateJob":{"http":{"requestUri":"/v20180820/jobs"},"input":{"locationName":"CreateJobRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Operation","Report","ClientRequestToken","Priority","RoleArn"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"ConfirmationRequired":{"type":"boolean"},"Operation":{"shape":"S19"},"Report":{"shape":"S2g"},"ClientRequestToken":{"idempotencyToken":true},"Manifest":{"shape":"S2k"},"Description":{},"Priority":{"type":"integer"},"RoleArn":{},"Tags":{"shape":"S1r"},"ManifestGenerator":{"shape":"S2v"}}},"output":{"type":"structure","members":{"JobId":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"CreateMultiRegionAccessPoint":{"http":{"requestUri":"/v20180820/async-requests/mrap/create"},"input":{"locationName":"CreateMultiRegionAccessPointRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","ClientToken","Details"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"ClientToken":{"idempotencyToken":true},"Details":{"shape":"S3b"}}},"output":{"type":"structure","members":{"RequestTokenARN":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true,"staticContextParams":{"RequiresAccountId":{"value":true}}},"DeleteAccessPoint":{"http":{"method":"DELETE","requestUri":"/v20180820/accesspoint/{name}"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"contextParam":{"name":"AccessPointName"},"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"DeleteAccessPointForObjectLambda":{"http":{"method":"DELETE","requestUri":"/v20180820/accesspointforobjectlambda/{name}"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"DeleteAccessPointPolicy":{"http":{"method":"DELETE","requestUri":"/v20180820/accesspoint/{name}/policy"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"contextParam":{"name":"AccessPointName"},"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"DeleteAccessPointPolicyForObjectLambda":{"http":{"method":"DELETE","requestUri":"/v20180820/accesspointforobjectlambda/{name}/policy"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"DeleteBucket":{"http":{"method":"DELETE","requestUri":"/v20180820/bucket/{name}"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"DeleteBucketLifecycleConfiguration":{"http":{"method":"DELETE","requestUri":"/v20180820/bucket/{name}/lifecycleconfiguration"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"DeleteBucketPolicy":{"http":{"method":"DELETE","requestUri":"/v20180820/bucket/{name}/policy"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"DeleteBucketReplication":{"http":{"method":"DELETE","requestUri":"/v20180820/bucket/{name}/replication"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"DeleteBucketTagging":{"http":{"method":"DELETE","requestUri":"/v20180820/bucket/{name}/tagging","responseCode":204},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"DeleteJobTagging":{"http":{"method":"DELETE","requestUri":"/v20180820/jobs/{id}/tagging"},"input":{"type":"structure","required":["AccountId","JobId"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"JobId":{"location":"uri","locationName":"id"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"DeleteMultiRegionAccessPoint":{"http":{"requestUri":"/v20180820/async-requests/mrap/delete"},"input":{"locationName":"DeleteMultiRegionAccessPointRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","ClientToken","Details"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"ClientToken":{"idempotencyToken":true},"Details":{"shape":"S3t"}}},"output":{"type":"structure","members":{"RequestTokenARN":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true,"staticContextParams":{"RequiresAccountId":{"value":true}}},"DeletePublicAccessBlock":{"http":{"method":"DELETE","requestUri":"/v20180820/configuration/publicAccessBlock"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"DeleteStorageLensConfiguration":{"http":{"method":"DELETE","requestUri":"/v20180820/storagelens/{storagelensid}"},"input":{"type":"structure","required":["ConfigId","AccountId"],"members":{"ConfigId":{"location":"uri","locationName":"storagelensid"},"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"DeleteStorageLensConfigurationTagging":{"http":{"method":"DELETE","requestUri":"/v20180820/storagelens/{storagelensid}/tagging"},"input":{"type":"structure","required":["ConfigId","AccountId"],"members":{"ConfigId":{"location":"uri","locationName":"storagelensid"},"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"DescribeJob":{"http":{"method":"GET","requestUri":"/v20180820/jobs/{id}"},"input":{"type":"structure","required":["AccountId","JobId"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"JobId":{"location":"uri","locationName":"id"}}},"output":{"type":"structure","members":{"Job":{"type":"structure","members":{"JobId":{},"ConfirmationRequired":{"type":"boolean"},"Description":{},"JobArn":{},"Status":{},"Manifest":{"shape":"S2k"},"Operation":{"shape":"S19"},"Priority":{"type":"integer"},"ProgressSummary":{"shape":"S45"},"StatusUpdateReason":{},"FailureReasons":{"type":"list","member":{"type":"structure","members":{"FailureCode":{},"FailureReason":{}}}},"Report":{"shape":"S2g"},"CreationTime":{"type":"timestamp"},"TerminationDate":{"type":"timestamp"},"RoleArn":{},"SuspendedDate":{"type":"timestamp"},"SuspendedCause":{},"ManifestGenerator":{"shape":"S2v"},"GeneratedManifestDescriptor":{"type":"structure","members":{"Format":{},"Location":{"shape":"S2p"}}}}}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"DescribeMultiRegionAccessPointOperation":{"http":{"method":"GET","requestUri":"/v20180820/async-requests/mrap/{request_token+}"},"input":{"type":"structure","required":["AccountId","RequestTokenARN"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"RequestTokenARN":{"location":"uri","locationName":"request_token"}}},"output":{"type":"structure","members":{"AsyncOperation":{"type":"structure","members":{"CreationTime":{"type":"timestamp"},"Operation":{},"RequestTokenARN":{},"RequestParameters":{"type":"structure","members":{"CreateMultiRegionAccessPointRequest":{"shape":"S3b"},"DeleteMultiRegionAccessPointRequest":{"shape":"S3t"},"PutMultiRegionAccessPointPolicyRequest":{"shape":"S4r"}}},"RequestStatus":{},"ResponseDetails":{"type":"structure","members":{"MultiRegionAccessPointDetails":{"type":"structure","members":{"Regions":{"type":"list","member":{"locationName":"Region","type":"structure","members":{"Name":{},"RequestStatus":{}}}}}},"ErrorDetails":{"type":"structure","members":{"Code":{},"Message":{},"Resource":{},"RequestId":{}}}}}}}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true,"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetAccessPoint":{"http":{"method":"GET","requestUri":"/v20180820/accesspoint/{name}"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"contextParam":{"name":"AccessPointName"},"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Name":{},"Bucket":{},"NetworkOrigin":{},"VpcConfiguration":{"shape":"S5"},"PublicAccessBlockConfiguration":{"shape":"S7"},"CreationDate":{"type":"timestamp"},"Alias":{},"AccessPointArn":{},"Endpoints":{"type":"map","key":{},"value":{}},"BucketAccountId":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetAccessPointConfigurationForObjectLambda":{"http":{"method":"GET","requestUri":"/v20180820/accesspointforobjectlambda/{name}/configuration"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Configuration":{"shape":"Se"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetAccessPointForObjectLambda":{"http":{"method":"GET","requestUri":"/v20180820/accesspointforobjectlambda/{name}"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Name":{},"PublicAccessBlockConfiguration":{"shape":"S7"},"CreationDate":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetAccessPointPolicy":{"http":{"method":"GET","requestUri":"/v20180820/accesspoint/{name}/policy"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"contextParam":{"name":"AccessPointName"},"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Policy":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetAccessPointPolicyForObjectLambda":{"http":{"method":"GET","requestUri":"/v20180820/accesspointforobjectlambda/{name}/policy"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Policy":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetAccessPointPolicyStatus":{"http":{"method":"GET","requestUri":"/v20180820/accesspoint/{name}/policyStatus"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"contextParam":{"name":"AccessPointName"},"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"PolicyStatus":{"shape":"S5g"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetAccessPointPolicyStatusForObjectLambda":{"http":{"method":"GET","requestUri":"/v20180820/accesspointforobjectlambda/{name}/policyStatus"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"PolicyStatus":{"shape":"S5g"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetBucket":{"http":{"method":"GET","requestUri":"/v20180820/bucket/{name}"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Bucket":{},"PublicAccessBlockEnabled":{"type":"boolean"},"CreationDate":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetBucketLifecycleConfiguration":{"http":{"method":"GET","requestUri":"/v20180820/bucket/{name}/lifecycleconfiguration"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Rules":{"shape":"S5p"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetBucketPolicy":{"http":{"method":"GET","requestUri":"/v20180820/bucket/{name}/policy"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Policy":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetBucketReplication":{"http":{"method":"GET","requestUri":"/v20180820/bucket/{name}/replication"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"ReplicationConfiguration":{"shape":"S6f"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetBucketTagging":{"http":{"method":"GET","requestUri":"/v20180820/bucket/{name}/tagging"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"}}},"output":{"type":"structure","required":["TagSet"],"members":{"TagSet":{"shape":"S1r"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetBucketVersioning":{"http":{"method":"GET","requestUri":"/v20180820/bucket/{name}/versioning"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Status":{},"MFADelete":{"locationName":"MfaDelete"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetJobTagging":{"http":{"method":"GET","requestUri":"/v20180820/jobs/{id}/tagging"},"input":{"type":"structure","required":["AccountId","JobId"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"JobId":{"location":"uri","locationName":"id"}}},"output":{"type":"structure","members":{"Tags":{"shape":"S1r"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetMultiRegionAccessPoint":{"http":{"method":"GET","requestUri":"/v20180820/mrap/instances/{name+}"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"AccessPoint":{"shape":"S7j"}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true,"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetMultiRegionAccessPointPolicy":{"http":{"method":"GET","requestUri":"/v20180820/mrap/instances/{name+}/policy"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Policy":{"type":"structure","members":{"Established":{"type":"structure","members":{"Policy":{}}},"Proposed":{"type":"structure","members":{"Policy":{}}}}}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true,"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetMultiRegionAccessPointPolicyStatus":{"http":{"method":"GET","requestUri":"/v20180820/mrap/instances/{name+}/policystatus"},"input":{"type":"structure","required":["AccountId","Name"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"}}},"output":{"type":"structure","members":{"Established":{"shape":"S5g"}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true,"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetMultiRegionAccessPointRoutes":{"http":{"method":"GET","requestUri":"/v20180820/mrap/instances/{mrap+}/routes"},"input":{"type":"structure","required":["AccountId","Mrap"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Mrap":{"location":"uri","locationName":"mrap"}}},"output":{"type":"structure","members":{"Mrap":{},"Routes":{"shape":"S7z"}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true,"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetPublicAccessBlock":{"http":{"method":"GET","requestUri":"/v20180820/configuration/publicAccessBlock"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"}}},"output":{"type":"structure","members":{"PublicAccessBlockConfiguration":{"shape":"S7"}},"payload":"PublicAccessBlockConfiguration"},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetStorageLensConfiguration":{"http":{"method":"GET","requestUri":"/v20180820/storagelens/{storagelensid}"},"input":{"type":"structure","required":["ConfigId","AccountId"],"members":{"ConfigId":{"location":"uri","locationName":"storagelensid"},"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"}}},"output":{"type":"structure","members":{"StorageLensConfiguration":{"shape":"S86"}},"payload":"StorageLensConfiguration"},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"GetStorageLensConfigurationTagging":{"http":{"method":"GET","requestUri":"/v20180820/storagelens/{storagelensid}/tagging"},"input":{"type":"structure","required":["ConfigId","AccountId"],"members":{"ConfigId":{"location":"uri","locationName":"storagelensid"},"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"}}},"output":{"type":"structure","members":{"Tags":{"shape":"S93"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"ListAccessPoints":{"http":{"method":"GET","requestUri":"/v20180820/accesspoint"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"querystring","locationName":"bucket"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"AccessPointList":{"type":"list","member":{"locationName":"AccessPoint","type":"structure","required":["Name","NetworkOrigin","Bucket"],"members":{"Name":{},"NetworkOrigin":{},"VpcConfiguration":{"shape":"S5"},"Bucket":{},"AccessPointArn":{},"Alias":{},"BucketAccountId":{}}}},"NextToken":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"ListAccessPointsForObjectLambda":{"http":{"method":"GET","requestUri":"/v20180820/accesspointforobjectlambda"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"ObjectLambdaAccessPointList":{"type":"list","member":{"locationName":"ObjectLambdaAccessPoint","type":"structure","required":["Name"],"members":{"Name":{},"ObjectLambdaAccessPointArn":{}}}},"NextToken":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"ListJobs":{"http":{"method":"GET","requestUri":"/v20180820/jobs"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"JobStatuses":{"location":"querystring","locationName":"jobStatuses","type":"list","member":{}},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"Jobs":{"type":"list","member":{"type":"structure","members":{"JobId":{},"Description":{},"Operation":{},"Priority":{"type":"integer"},"Status":{},"CreationTime":{"type":"timestamp"},"TerminationDate":{"type":"timestamp"},"ProgressSummary":{"shape":"S45"}}}}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"ListMultiRegionAccessPoints":{"http":{"method":"GET","requestUri":"/v20180820/mrap/instances"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"AccessPoints":{"type":"list","member":{"shape":"S7j","locationName":"AccessPoint"}},"NextToken":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true,"staticContextParams":{"RequiresAccountId":{"value":true}}},"ListRegionalBuckets":{"http":{"method":"GET","requestUri":"/v20180820/bucket"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"OutpostId":{"contextParam":{"name":"OutpostId"},"location":"header","locationName":"x-amz-outpost-id"}}},"output":{"type":"structure","members":{"RegionalBucketList":{"type":"list","member":{"locationName":"RegionalBucket","type":"structure","required":["Bucket","PublicAccessBlockEnabled","CreationDate"],"members":{"Bucket":{},"BucketArn":{},"PublicAccessBlockEnabled":{"type":"boolean"},"CreationDate":{"type":"timestamp"},"OutpostId":{}}}},"NextToken":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"ListStorageLensConfigurations":{"http":{"method":"GET","requestUri":"/v20180820/storagelens"},"input":{"type":"structure","required":["AccountId"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"NextToken":{},"StorageLensConfigurationList":{"type":"list","member":{"locationName":"StorageLensConfiguration","type":"structure","required":["Id","StorageLensArn","HomeRegion"],"members":{"Id":{},"StorageLensArn":{},"HomeRegion":{},"IsEnabled":{"type":"boolean"}}},"flattened":true}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"PutAccessPointConfigurationForObjectLambda":{"http":{"method":"PUT","requestUri":"/v20180820/accesspointforobjectlambda/{name}/configuration"},"input":{"locationName":"PutAccessPointConfigurationForObjectLambdaRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Name","Configuration"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"},"Configuration":{"shape":"Se"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"PutAccessPointPolicy":{"http":{"method":"PUT","requestUri":"/v20180820/accesspoint/{name}/policy"},"input":{"locationName":"PutAccessPointPolicyRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Name","Policy"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"contextParam":{"name":"AccessPointName"},"location":"uri","locationName":"name"},"Policy":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"PutAccessPointPolicyForObjectLambda":{"http":{"method":"PUT","requestUri":"/v20180820/accesspointforobjectlambda/{name}/policy"},"input":{"locationName":"PutAccessPointPolicyForObjectLambdaRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Name","Policy"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Name":{"location":"uri","locationName":"name"},"Policy":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"PutBucketLifecycleConfiguration":{"http":{"method":"PUT","requestUri":"/v20180820/bucket/{name}/lifecycleconfiguration"},"input":{"type":"structure","required":["AccountId","Bucket"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"},"LifecycleConfiguration":{"locationName":"LifecycleConfiguration","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","members":{"Rules":{"shape":"S5p"}}}},"payload":"LifecycleConfiguration"},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true,"staticContextParams":{"RequiresAccountId":{"value":true}}},"PutBucketPolicy":{"http":{"method":"PUT","requestUri":"/v20180820/bucket/{name}/policy"},"input":{"locationName":"PutBucketPolicyRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Bucket","Policy"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"},"ConfirmRemoveSelfBucketAccess":{"location":"header","locationName":"x-amz-confirm-remove-self-bucket-access","type":"boolean"},"Policy":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true,"staticContextParams":{"RequiresAccountId":{"value":true}}},"PutBucketReplication":{"http":{"method":"PUT","requestUri":"/v20180820/bucket/{name}/replication"},"input":{"type":"structure","required":["AccountId","Bucket","ReplicationConfiguration"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"},"ReplicationConfiguration":{"shape":"S6f","locationName":"ReplicationConfiguration","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"}}},"payload":"ReplicationConfiguration"},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true,"staticContextParams":{"RequiresAccountId":{"value":true}}},"PutBucketTagging":{"http":{"method":"PUT","requestUri":"/v20180820/bucket/{name}/tagging"},"input":{"type":"structure","required":["AccountId","Bucket","Tagging"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"},"Tagging":{"locationName":"Tagging","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["TagSet"],"members":{"TagSet":{"shape":"S1r"}}}},"payload":"Tagging"},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true,"staticContextParams":{"RequiresAccountId":{"value":true}}},"PutBucketVersioning":{"http":{"method":"PUT","requestUri":"/v20180820/bucket/{name}/versioning"},"input":{"type":"structure","required":["AccountId","Bucket","VersioningConfiguration"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Bucket":{"contextParam":{"name":"Bucket"},"location":"uri","locationName":"name"},"MFA":{"location":"header","locationName":"x-amz-mfa"},"VersioningConfiguration":{"locationName":"VersioningConfiguration","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","members":{"MFADelete":{"locationName":"MfaDelete"},"Status":{}}}},"payload":"VersioningConfiguration"},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true,"staticContextParams":{"RequiresAccountId":{"value":true}}},"PutJobTagging":{"http":{"method":"PUT","requestUri":"/v20180820/jobs/{id}/tagging"},"input":{"locationName":"PutJobTaggingRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","JobId","Tags"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"JobId":{"location":"uri","locationName":"id"},"Tags":{"shape":"S1r"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"PutMultiRegionAccessPointPolicy":{"http":{"requestUri":"/v20180820/async-requests/mrap/put-policy"},"input":{"locationName":"PutMultiRegionAccessPointPolicyRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","ClientToken","Details"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"ClientToken":{"idempotencyToken":true},"Details":{"shape":"S4r"}}},"output":{"type":"structure","members":{"RequestTokenARN":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true,"staticContextParams":{"RequiresAccountId":{"value":true}}},"PutPublicAccessBlock":{"http":{"method":"PUT","requestUri":"/v20180820/configuration/publicAccessBlock"},"input":{"type":"structure","required":["PublicAccessBlockConfiguration","AccountId"],"members":{"PublicAccessBlockConfiguration":{"shape":"S7","locationName":"PublicAccessBlockConfiguration","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"}},"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"}},"payload":"PublicAccessBlockConfiguration"},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"PutStorageLensConfiguration":{"http":{"method":"PUT","requestUri":"/v20180820/storagelens/{storagelensid}"},"input":{"locationName":"PutStorageLensConfigurationRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["ConfigId","AccountId","StorageLensConfiguration"],"members":{"ConfigId":{"location":"uri","locationName":"storagelensid"},"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"StorageLensConfiguration":{"shape":"S86"},"Tags":{"shape":"S93"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"PutStorageLensConfigurationTagging":{"http":{"method":"PUT","requestUri":"/v20180820/storagelens/{storagelensid}/tagging"},"input":{"locationName":"PutStorageLensConfigurationTaggingRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["ConfigId","AccountId","Tags"],"members":{"ConfigId":{"location":"uri","locationName":"storagelensid"},"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Tags":{"shape":"S93"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"SubmitMultiRegionAccessPointRoutes":{"http":{"method":"PATCH","requestUri":"/v20180820/mrap/instances/{mrap+}/routes"},"input":{"locationName":"SubmitMultiRegionAccessPointRoutesRequest","xmlNamespace":{"uri":"http://awss3control.amazonaws.com/doc/2018-08-20/"},"type":"structure","required":["AccountId","Mrap","RouteUpdates"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"Mrap":{"location":"uri","locationName":"mrap"},"RouteUpdates":{"shape":"S7z"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"{AccountId}."},"httpChecksumRequired":true,"staticContextParams":{"RequiresAccountId":{"value":true}}},"UpdateJobPriority":{"http":{"requestUri":"/v20180820/jobs/{id}/priority"},"input":{"type":"structure","required":["AccountId","JobId","Priority"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"JobId":{"location":"uri","locationName":"id"},"Priority":{"location":"querystring","locationName":"priority","type":"integer"}}},"output":{"type":"structure","required":["JobId","Priority"],"members":{"JobId":{},"Priority":{"type":"integer"}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}},"UpdateJobStatus":{"http":{"requestUri":"/v20180820/jobs/{id}/status"},"input":{"type":"structure","required":["AccountId","JobId","RequestedJobStatus"],"members":{"AccountId":{"contextParam":{"name":"AccountId"},"hostLabel":true,"location":"header","locationName":"x-amz-account-id"},"JobId":{"location":"uri","locationName":"id"},"RequestedJobStatus":{"location":"querystring","locationName":"requestedJobStatus"},"StatusUpdateReason":{"location":"querystring","locationName":"statusUpdateReason"}}},"output":{"type":"structure","members":{"JobId":{},"Status":{},"StatusUpdateReason":{}}},"endpoint":{"hostPrefix":"{AccountId}."},"staticContextParams":{"RequiresAccountId":{"value":true}}}},"shapes":{"S5":{"type":"structure","required":["VpcId"],"members":{"VpcId":{}}},"S7":{"type":"structure","members":{"BlockPublicAcls":{"locationName":"BlockPublicAcls","type":"boolean"},"IgnorePublicAcls":{"locationName":"IgnorePublicAcls","type":"boolean"},"BlockPublicPolicy":{"locationName":"BlockPublicPolicy","type":"boolean"},"RestrictPublicBuckets":{"locationName":"RestrictPublicBuckets","type":"boolean"}}},"Se":{"type":"structure","required":["SupportingAccessPoint","TransformationConfigurations"],"members":{"SupportingAccessPoint":{},"CloudWatchMetricsEnabled":{"type":"boolean"},"AllowedFeatures":{"type":"list","member":{"locationName":"AllowedFeature"}},"TransformationConfigurations":{"type":"list","member":{"locationName":"TransformationConfiguration","type":"structure","required":["Actions","ContentTransformation"],"members":{"Actions":{"type":"list","member":{"locationName":"Action"}},"ContentTransformation":{"type":"structure","members":{"AwsLambda":{"type":"structure","required":["FunctionArn"],"members":{"FunctionArn":{},"FunctionPayload":{}}}},"union":true}}}}}},"S19":{"type":"structure","members":{"LambdaInvoke":{"type":"structure","members":{"FunctionArn":{}}},"S3PutObjectCopy":{"type":"structure","members":{"TargetResource":{},"CannedAccessControlList":{},"AccessControlGrants":{"shape":"S1e"},"MetadataDirective":{},"ModifiedSinceConstraint":{"type":"timestamp"},"NewObjectMetadata":{"type":"structure","members":{"CacheControl":{},"ContentDisposition":{},"ContentEncoding":{},"ContentLanguage":{},"UserMetadata":{"type":"map","key":{},"value":{}},"ContentLength":{"type":"long"},"ContentMD5":{},"ContentType":{},"HttpExpiresDate":{"type":"timestamp"},"RequesterCharged":{"type":"boolean"},"SSEAlgorithm":{}}},"NewObjectTagging":{"shape":"S1r"},"RedirectLocation":{},"RequesterPays":{"type":"boolean"},"StorageClass":{},"UnModifiedSinceConstraint":{"type":"timestamp"},"SSEAwsKmsKeyId":{},"TargetKeyPrefix":{},"ObjectLockLegalHoldStatus":{},"ObjectLockMode":{},"ObjectLockRetainUntilDate":{"type":"timestamp"},"BucketKeyEnabled":{"type":"boolean"},"ChecksumAlgorithm":{}}},"S3PutObjectAcl":{"type":"structure","members":{"AccessControlPolicy":{"type":"structure","members":{"AccessControlList":{"type":"structure","required":["Owner"],"members":{"Owner":{"type":"structure","members":{"ID":{},"DisplayName":{}}},"Grants":{"shape":"S1e"}}},"CannedAccessControlList":{}}}}},"S3PutObjectTagging":{"type":"structure","members":{"TagSet":{"shape":"S1r"}}},"S3DeleteObjectTagging":{"type":"structure","members":{}},"S3InitiateRestoreObject":{"type":"structure","members":{"ExpirationInDays":{"type":"integer"},"GlacierJobTier":{}}},"S3PutObjectLegalHold":{"type":"structure","required":["LegalHold"],"members":{"LegalHold":{"type":"structure","required":["Status"],"members":{"Status":{}}}}},"S3PutObjectRetention":{"type":"structure","required":["Retention"],"members":{"BypassGovernanceRetention":{"type":"boolean"},"Retention":{"type":"structure","members":{"RetainUntilDate":{"type":"timestamp"},"Mode":{}}}}},"S3ReplicateObject":{"type":"structure","members":{}}}},"S1e":{"type":"list","member":{"type":"structure","members":{"Grantee":{"type":"structure","members":{"TypeIdentifier":{},"Identifier":{},"DisplayName":{}}},"Permission":{}}}},"S1r":{"type":"list","member":{"shape":"S1s"}},"S1s":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}},"S2g":{"type":"structure","required":["Enabled"],"members":{"Bucket":{},"Format":{},"Enabled":{"type":"boolean"},"Prefix":{},"ReportScope":{}}},"S2k":{"type":"structure","required":["Spec","Location"],"members":{"Spec":{"type":"structure","required":["Format"],"members":{"Format":{},"Fields":{"type":"list","member":{}}}},"Location":{"shape":"S2p"}}},"S2p":{"type":"structure","required":["ObjectArn","ETag"],"members":{"ObjectArn":{},"ObjectVersionId":{},"ETag":{}}},"S2v":{"type":"structure","members":{"S3JobManifestGenerator":{"type":"structure","required":["SourceBucket","EnableManifestOutput"],"members":{"ExpectedBucketOwner":{},"SourceBucket":{},"ManifestOutputLocation":{"type":"structure","required":["Bucket","ManifestFormat"],"members":{"ExpectedManifestBucketOwner":{},"Bucket":{},"ManifestPrefix":{},"ManifestEncryption":{"type":"structure","members":{"SSES3":{"locationName":"SSE-S3","type":"structure","members":{}},"SSEKMS":{"locationName":"SSE-KMS","type":"structure","required":["KeyId"],"members":{"KeyId":{}}}}},"ManifestFormat":{}}},"Filter":{"type":"structure","members":{"EligibleForReplication":{"type":"boolean"},"CreatedAfter":{"type":"timestamp"},"CreatedBefore":{"type":"timestamp"},"ObjectReplicationStatuses":{"type":"list","member":{}}}},"EnableManifestOutput":{"type":"boolean"}}}},"union":true},"S3b":{"type":"structure","required":["Name","Regions"],"members":{"Name":{},"PublicAccessBlock":{"shape":"S7"},"Regions":{"type":"list","member":{"locationName":"Region","type":"structure","required":["Bucket"],"members":{"Bucket":{},"BucketAccountId":{}}}}}},"S3t":{"type":"structure","required":["Name"],"members":{"Name":{}}},"S45":{"type":"structure","members":{"TotalNumberOfTasks":{"type":"long"},"NumberOfTasksSucceeded":{"type":"long"},"NumberOfTasksFailed":{"type":"long"},"Timers":{"type":"structure","members":{"ElapsedTimeInActiveSeconds":{"type":"long"}}}}},"S4r":{"type":"structure","required":["Name","Policy"],"members":{"Name":{},"Policy":{}}},"S5g":{"type":"structure","members":{"IsPublic":{"locationName":"IsPublic","type":"boolean"}}},"S5p":{"type":"list","member":{"locationName":"Rule","type":"structure","required":["Status"],"members":{"Expiration":{"type":"structure","members":{"Date":{"type":"timestamp"},"Days":{"type":"integer"},"ExpiredObjectDeleteMarker":{"type":"boolean"}}},"ID":{},"Filter":{"type":"structure","members":{"Prefix":{},"Tag":{"shape":"S1s"},"And":{"type":"structure","members":{"Prefix":{},"Tags":{"shape":"S1r"},"ObjectSizeGreaterThan":{"type":"long"},"ObjectSizeLessThan":{"type":"long"}}},"ObjectSizeGreaterThan":{"type":"long"},"ObjectSizeLessThan":{"type":"long"}}},"Status":{},"Transitions":{"type":"list","member":{"locationName":"Transition","type":"structure","members":{"Date":{"type":"timestamp"},"Days":{"type":"integer"},"StorageClass":{}}}},"NoncurrentVersionTransitions":{"type":"list","member":{"locationName":"NoncurrentVersionTransition","type":"structure","members":{"NoncurrentDays":{"type":"integer"},"StorageClass":{}}}},"NoncurrentVersionExpiration":{"type":"structure","members":{"NoncurrentDays":{"type":"integer"},"NewerNoncurrentVersions":{"type":"integer"}}},"AbortIncompleteMultipartUpload":{"type":"structure","members":{"DaysAfterInitiation":{"type":"integer"}}}}}},"S6f":{"type":"structure","required":["Role","Rules"],"members":{"Role":{},"Rules":{"type":"list","member":{"locationName":"Rule","type":"structure","required":["Status","Destination","Bucket"],"members":{"ID":{},"Priority":{"type":"integer"},"Prefix":{"deprecated":true,"deprecatedMessage":"Prefix has been deprecated"},"Filter":{"type":"structure","members":{"Prefix":{},"Tag":{"shape":"S1s"},"And":{"type":"structure","members":{"Prefix":{},"Tags":{"shape":"S1r"}}}}},"Status":{},"SourceSelectionCriteria":{"type":"structure","members":{"SseKmsEncryptedObjects":{"type":"structure","required":["Status"],"members":{"Status":{}}},"ReplicaModifications":{"type":"structure","required":["Status"],"members":{"Status":{}}}}},"ExistingObjectReplication":{"type":"structure","required":["Status"],"members":{"Status":{}}},"Destination":{"type":"structure","required":["Bucket"],"members":{"Account":{},"Bucket":{},"ReplicationTime":{"type":"structure","required":["Status","Time"],"members":{"Status":{},"Time":{"shape":"S6y"}}},"AccessControlTranslation":{"type":"structure","required":["Owner"],"members":{"Owner":{}}},"EncryptionConfiguration":{"type":"structure","members":{"ReplicaKmsKeyID":{}}},"Metrics":{"type":"structure","required":["Status"],"members":{"Status":{},"EventThreshold":{"shape":"S6y"}}},"StorageClass":{}}},"DeleteMarkerReplication":{"type":"structure","required":["Status"],"members":{"Status":{}}},"Bucket":{}}}}}},"S6y":{"type":"structure","members":{"Minutes":{"type":"integer"}}},"S7j":{"type":"structure","members":{"Name":{},"Alias":{},"CreatedAt":{"type":"timestamp"},"PublicAccessBlock":{"shape":"S7"},"Status":{},"Regions":{"type":"list","member":{"locationName":"Region","type":"structure","members":{"Bucket":{},"Region":{},"BucketAccountId":{}}}}}},"S7z":{"type":"list","member":{"locationName":"Route","type":"structure","required":["TrafficDialPercentage"],"members":{"Bucket":{},"Region":{},"TrafficDialPercentage":{"type":"integer"}}}},"S86":{"type":"structure","required":["Id","AccountLevel","IsEnabled"],"members":{"Id":{},"AccountLevel":{"type":"structure","required":["BucketLevel"],"members":{"ActivityMetrics":{"shape":"S88"},"BucketLevel":{"type":"structure","members":{"ActivityMetrics":{"shape":"S88"},"PrefixLevel":{"type":"structure","required":["StorageMetrics"],"members":{"StorageMetrics":{"type":"structure","members":{"IsEnabled":{"type":"boolean"},"SelectionCriteria":{"type":"structure","members":{"Delimiter":{},"MaxDepth":{"type":"integer"},"MinStorageBytesPercentage":{"type":"double"}}}}}}},"AdvancedCostOptimizationMetrics":{"shape":"S8h"},"AdvancedDataProtectionMetrics":{"shape":"S8i"},"DetailedStatusCodesMetrics":{"shape":"S8j"}}},"AdvancedCostOptimizationMetrics":{"shape":"S8h"},"AdvancedDataProtectionMetrics":{"shape":"S8i"},"DetailedStatusCodesMetrics":{"shape":"S8j"}}},"Include":{"type":"structure","members":{"Buckets":{"shape":"S8l"},"Regions":{"shape":"S8m"}}},"Exclude":{"type":"structure","members":{"Buckets":{"shape":"S8l"},"Regions":{"shape":"S8m"}}},"DataExport":{"type":"structure","members":{"S3BucketDestination":{"type":"structure","required":["Format","OutputSchemaVersion","AccountId","Arn"],"members":{"Format":{},"OutputSchemaVersion":{},"AccountId":{},"Arn":{},"Prefix":{},"Encryption":{"type":"structure","members":{"SSES3":{"locationName":"SSE-S3","type":"structure","members":{}},"SSEKMS":{"locationName":"SSE-KMS","type":"structure","required":["KeyId"],"members":{"KeyId":{}}}}}}},"CloudWatchMetrics":{"type":"structure","required":["IsEnabled"],"members":{"IsEnabled":{"type":"boolean"}}}}},"IsEnabled":{"type":"boolean"},"AwsOrg":{"type":"structure","required":["Arn"],"members":{"Arn":{}}},"StorageLensArn":{}}},"S88":{"type":"structure","members":{"IsEnabled":{"type":"boolean"}}},"S8h":{"type":"structure","members":{"IsEnabled":{"type":"boolean"}}},"S8i":{"type":"structure","members":{"IsEnabled":{"type":"boolean"}}},"S8j":{"type":"structure","members":{"IsEnabled":{"type":"boolean"}}},"S8l":{"type":"list","member":{"locationName":"Arn"}},"S8m":{"type":"list","member":{"locationName":"Region"}},"S93":{"type":"list","member":{"locationName":"Tag","type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}}},"clientContextParams":{"UseArnRegion":{"documentation":"Enables this client to use an ARN's region when constructing an endpoint instead of the client's configured region.","type":"boolean"}}} /***/ }), /* 457 */ @@ -58145,7 +58152,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 961 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-07-29","endpointPrefix":"app-integrations","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"Amazon AppIntegrations Service","serviceId":"AppIntegrations","signatureVersion":"v4","signingName":"app-integrations","uid":"appintegrations-2020-07-29"},"operations":{"CreateDataIntegration":{"http":{"requestUri":"/dataIntegrations"},"input":{"type":"structure","required":["Name"],"members":{"Name":{},"Description":{},"KmsKey":{},"SourceURI":{},"ScheduleConfig":{"shape":"S5"},"Tags":{"shape":"S8"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"Arn":{},"Id":{},"Name":{},"Description":{},"KmsKey":{},"SourceURI":{},"ScheduleConfiguration":{"shape":"S5"},"Tags":{"shape":"S8"},"ClientToken":{}}}},"CreateEventIntegration":{"http":{"requestUri":"/eventIntegrations"},"input":{"type":"structure","required":["Name","EventFilter","EventBridgeBus"],"members":{"Name":{},"Description":{},"EventFilter":{"shape":"Sg"},"EventBridgeBus":{},"ClientToken":{"idempotencyToken":true},"Tags":{"shape":"S8"}}},"output":{"type":"structure","members":{"EventIntegrationArn":{}}}},"DeleteDataIntegration":{"http":{"method":"DELETE","requestUri":"/dataIntegrations/{Identifier}"},"input":{"type":"structure","required":["DataIntegrationIdentifier"],"members":{"DataIntegrationIdentifier":{"location":"uri","locationName":"Identifier"}}},"output":{"type":"structure","members":{}}},"DeleteEventIntegration":{"http":{"method":"DELETE","requestUri":"/eventIntegrations/{Name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"Name"}}},"output":{"type":"structure","members":{}}},"GetDataIntegration":{"http":{"method":"GET","requestUri":"/dataIntegrations/{Identifier}"},"input":{"type":"structure","required":["Identifier"],"members":{"Identifier":{"location":"uri","locationName":"Identifier"}}},"output":{"type":"structure","members":{"Arn":{},"Id":{},"Name":{},"Description":{},"KmsKey":{},"SourceURI":{},"ScheduleConfiguration":{"shape":"S5"},"Tags":{"shape":"S8"}}}},"GetEventIntegration":{"http":{"method":"GET","requestUri":"/eventIntegrations/{Name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"Name"}}},"output":{"type":"structure","members":{"Name":{},"Description":{},"EventIntegrationArn":{},"EventBridgeBus":{},"EventFilter":{"shape":"Sg"},"Tags":{"shape":"S8"}}}},"ListDataIntegrationAssociations":{"http":{"method":"GET","requestUri":"/dataIntegrations/{Identifier}/associations"},"input":{"type":"structure","required":["DataIntegrationIdentifier"],"members":{"DataIntegrationIdentifier":{"location":"uri","locationName":"Identifier"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"DataIntegrationAssociations":{"type":"list","member":{"type":"structure","members":{"DataIntegrationAssociationArn":{},"DataIntegrationArn":{},"ClientId":{}}}},"NextToken":{}}}},"ListDataIntegrations":{"http":{"method":"GET","requestUri":"/dataIntegrations"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"DataIntegrations":{"type":"list","member":{"type":"structure","members":{"Arn":{},"Name":{},"SourceURI":{}}}},"NextToken":{}}}},"ListEventIntegrationAssociations":{"http":{"method":"GET","requestUri":"/eventIntegrations/{Name}/associations"},"input":{"type":"structure","required":["EventIntegrationName"],"members":{"EventIntegrationName":{"location":"uri","locationName":"Name"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"EventIntegrationAssociations":{"type":"list","member":{"type":"structure","members":{"EventIntegrationAssociationArn":{},"EventIntegrationAssociationId":{},"EventIntegrationName":{},"ClientId":{},"EventBridgeRuleName":{},"ClientAssociationMetadata":{"type":"map","key":{},"value":{}}}}},"NextToken":{}}}},"ListEventIntegrations":{"http":{"method":"GET","requestUri":"/eventIntegrations"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"EventIntegrations":{"type":"list","member":{"type":"structure","members":{"EventIntegrationArn":{},"Name":{},"Description":{},"EventFilter":{"shape":"Sg"},"EventBridgeBus":{},"Tags":{"shape":"S8"}}}},"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":"S8"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S8"}}},"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":{}}},"UpdateDataIntegration":{"http":{"method":"PATCH","requestUri":"/dataIntegrations/{Identifier}"},"input":{"type":"structure","required":["Identifier"],"members":{"Identifier":{"location":"uri","locationName":"Identifier"},"Name":{},"Description":{}}},"output":{"type":"structure","members":{}}},"UpdateEventIntegration":{"http":{"method":"PATCH","requestUri":"/eventIntegrations/{Name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"Name"},"Description":{}}},"output":{"type":"structure","members":{}}}},"shapes":{"S5":{"type":"structure","members":{"FirstExecutionFrom":{},"Object":{},"ScheduleExpression":{}}},"S8":{"type":"map","key":{},"value":{}},"Sg":{"type":"structure","required":["Source"],"members":{"Source":{}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-07-29","endpointPrefix":"app-integrations","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"Amazon AppIntegrations Service","serviceId":"AppIntegrations","signatureVersion":"v4","signingName":"app-integrations","uid":"appintegrations-2020-07-29"},"operations":{"CreateDataIntegration":{"http":{"requestUri":"/dataIntegrations"},"input":{"type":"structure","required":["Name","KmsKey","SourceURI","ScheduleConfig"],"members":{"Name":{},"Description":{},"KmsKey":{},"SourceURI":{},"ScheduleConfig":{"shape":"S6"},"Tags":{"shape":"S8"},"ClientToken":{"idempotencyToken":true},"FileConfiguration":{"shape":"Sc"},"ObjectConfiguration":{"shape":"Si"}}},"output":{"type":"structure","members":{"Arn":{},"Id":{},"Name":{},"Description":{},"KmsKey":{},"SourceURI":{},"ScheduleConfiguration":{"shape":"S6"},"Tags":{"shape":"S8"},"ClientToken":{},"FileConfiguration":{"shape":"Sc"},"ObjectConfiguration":{"shape":"Si"}}}},"CreateEventIntegration":{"http":{"requestUri":"/eventIntegrations"},"input":{"type":"structure","required":["Name","EventFilter","EventBridgeBus"],"members":{"Name":{},"Description":{},"EventFilter":{"shape":"Sn"},"EventBridgeBus":{},"ClientToken":{"idempotencyToken":true},"Tags":{"shape":"S8"}}},"output":{"type":"structure","members":{"EventIntegrationArn":{}}}},"DeleteDataIntegration":{"http":{"method":"DELETE","requestUri":"/dataIntegrations/{Identifier}"},"input":{"type":"structure","required":["DataIntegrationIdentifier"],"members":{"DataIntegrationIdentifier":{"location":"uri","locationName":"Identifier"}}},"output":{"type":"structure","members":{}}},"DeleteEventIntegration":{"http":{"method":"DELETE","requestUri":"/eventIntegrations/{Name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"Name"}}},"output":{"type":"structure","members":{}}},"GetDataIntegration":{"http":{"method":"GET","requestUri":"/dataIntegrations/{Identifier}"},"input":{"type":"structure","required":["Identifier"],"members":{"Identifier":{"location":"uri","locationName":"Identifier"}}},"output":{"type":"structure","members":{"Arn":{},"Id":{},"Name":{},"Description":{},"KmsKey":{},"SourceURI":{},"ScheduleConfiguration":{"shape":"S6"},"Tags":{"shape":"S8"},"FileConfiguration":{"shape":"Sc"},"ObjectConfiguration":{"shape":"Si"}}}},"GetEventIntegration":{"http":{"method":"GET","requestUri":"/eventIntegrations/{Name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"Name"}}},"output":{"type":"structure","members":{"Name":{},"Description":{},"EventIntegrationArn":{},"EventBridgeBus":{},"EventFilter":{"shape":"Sn"},"Tags":{"shape":"S8"}}}},"ListDataIntegrationAssociations":{"http":{"method":"GET","requestUri":"/dataIntegrations/{Identifier}/associations"},"input":{"type":"structure","required":["DataIntegrationIdentifier"],"members":{"DataIntegrationIdentifier":{"location":"uri","locationName":"Identifier"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"DataIntegrationAssociations":{"type":"list","member":{"type":"structure","members":{"DataIntegrationAssociationArn":{},"DataIntegrationArn":{},"ClientId":{}}}},"NextToken":{}}}},"ListDataIntegrations":{"http":{"method":"GET","requestUri":"/dataIntegrations"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"DataIntegrations":{"type":"list","member":{"type":"structure","members":{"Arn":{},"Name":{},"SourceURI":{}}}},"NextToken":{}}}},"ListEventIntegrationAssociations":{"http":{"method":"GET","requestUri":"/eventIntegrations/{Name}/associations"},"input":{"type":"structure","required":["EventIntegrationName"],"members":{"EventIntegrationName":{"location":"uri","locationName":"Name"},"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"EventIntegrationAssociations":{"type":"list","member":{"type":"structure","members":{"EventIntegrationAssociationArn":{},"EventIntegrationAssociationId":{},"EventIntegrationName":{},"ClientId":{},"EventBridgeRuleName":{},"ClientAssociationMetadata":{"type":"map","key":{},"value":{}}}}},"NextToken":{}}}},"ListEventIntegrations":{"http":{"method":"GET","requestUri":"/eventIntegrations"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"nextToken"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"EventIntegrations":{"type":"list","member":{"type":"structure","members":{"EventIntegrationArn":{},"Name":{},"Description":{},"EventFilter":{"shape":"Sn"},"EventBridgeBus":{},"Tags":{"shape":"S8"}}}},"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":"S8"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S8"}}},"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":{}}},"UpdateDataIntegration":{"http":{"method":"PATCH","requestUri":"/dataIntegrations/{Identifier}"},"input":{"type":"structure","required":["Identifier"],"members":{"Identifier":{"location":"uri","locationName":"Identifier"},"Name":{},"Description":{}}},"output":{"type":"structure","members":{}}},"UpdateEventIntegration":{"http":{"method":"PATCH","requestUri":"/eventIntegrations/{Name}"},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"Name"},"Description":{}}},"output":{"type":"structure","members":{}}}},"shapes":{"S6":{"type":"structure","required":["ScheduleExpression"],"members":{"FirstExecutionFrom":{},"Object":{},"ScheduleExpression":{}}},"S8":{"type":"map","key":{},"value":{}},"Sc":{"type":"structure","required":["Folders"],"members":{"Folders":{"type":"list","member":{}},"Filters":{"shape":"Sf"}}},"Sf":{"type":"map","key":{},"value":{"type":"list","member":{}}},"Si":{"type":"map","key":{},"value":{"shape":"Sf"}},"Sn":{"type":"structure","required":["Source"],"members":{"Source":{}}}}} /***/ }), /* 962 */ @@ -59699,7 +59706,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 1093 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-10-19","endpointPrefix":"wisdom","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"Amazon Connect Wisdom Service","serviceId":"Wisdom","signatureVersion":"v4","signingName":"wisdom","uid":"wisdom-2020-10-19"},"operations":{"CreateAssistant":{"http":{"requestUri":"/assistants","responseCode":200},"input":{"type":"structure","required":["name","type"],"members":{"clientToken":{"idempotencyToken":true},"description":{},"name":{},"serverSideEncryptionConfiguration":{"shape":"S5"},"tags":{"shape":"S7"},"type":{}}},"output":{"type":"structure","members":{"assistant":{"shape":"Sc"}}},"idempotent":true},"CreateAssistantAssociation":{"http":{"requestUri":"/assistants/{assistantId}/associations","responseCode":200},"input":{"type":"structure","required":["assistantId","association","associationType"],"members":{"assistantId":{"location":"uri","locationName":"assistantId"},"association":{"type":"structure","members":{"knowledgeBaseId":{}},"union":true},"associationType":{},"clientToken":{"idempotencyToken":true},"tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"assistantAssociation":{"shape":"Sl"}}},"idempotent":true},"CreateContent":{"http":{"requestUri":"/knowledgeBases/{knowledgeBaseId}/contents","responseCode":200},"input":{"type":"structure","required":["knowledgeBaseId","name","uploadId"],"members":{"clientToken":{"idempotencyToken":true},"knowledgeBaseId":{"location":"uri","locationName":"knowledgeBaseId"},"metadata":{"shape":"Sp"},"name":{},"overrideLinkOutUri":{},"tags":{"shape":"S7"},"title":{},"uploadId":{}}},"output":{"type":"structure","members":{"content":{"shape":"Su"}}},"idempotent":true},"CreateKnowledgeBase":{"http":{"requestUri":"/knowledgeBases","responseCode":200},"input":{"type":"structure","required":["knowledgeBaseType","name"],"members":{"clientToken":{"idempotencyToken":true},"description":{},"knowledgeBaseType":{},"name":{},"renderingConfiguration":{"shape":"S11"},"serverSideEncryptionConfiguration":{"shape":"S5"},"sourceConfiguration":{"shape":"S12"},"tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"knowledgeBase":{"shape":"S17"}}},"idempotent":true},"CreateSession":{"http":{"requestUri":"/assistants/{assistantId}/sessions","responseCode":200},"input":{"type":"structure","required":["assistantId","name"],"members":{"assistantId":{"location":"uri","locationName":"assistantId"},"clientToken":{"idempotencyToken":true},"description":{},"name":{},"tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"session":{"shape":"S1b"}}},"idempotent":true},"DeleteAssistant":{"http":{"method":"DELETE","requestUri":"/assistants/{assistantId}","responseCode":204},"input":{"type":"structure","required":["assistantId"],"members":{"assistantId":{"location":"uri","locationName":"assistantId"}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteAssistantAssociation":{"http":{"method":"DELETE","requestUri":"/assistants/{assistantId}/associations/{assistantAssociationId}","responseCode":204},"input":{"type":"structure","required":["assistantAssociationId","assistantId"],"members":{"assistantAssociationId":{"location":"uri","locationName":"assistantAssociationId"},"assistantId":{"location":"uri","locationName":"assistantId"}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteContent":{"http":{"method":"DELETE","requestUri":"/knowledgeBases/{knowledgeBaseId}/contents/{contentId}","responseCode":204},"input":{"type":"structure","required":["contentId","knowledgeBaseId"],"members":{"contentId":{"location":"uri","locationName":"contentId"},"knowledgeBaseId":{"location":"uri","locationName":"knowledgeBaseId"}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteKnowledgeBase":{"http":{"method":"DELETE","requestUri":"/knowledgeBases/{knowledgeBaseId}","responseCode":204},"input":{"type":"structure","required":["knowledgeBaseId"],"members":{"knowledgeBaseId":{"location":"uri","locationName":"knowledgeBaseId"}}},"output":{"type":"structure","members":{}},"idempotent":true},"GetAssistant":{"http":{"method":"GET","requestUri":"/assistants/{assistantId}","responseCode":200},"input":{"type":"structure","required":["assistantId"],"members":{"assistantId":{"location":"uri","locationName":"assistantId"}}},"output":{"type":"structure","members":{"assistant":{"shape":"Sc"}}}},"GetAssistantAssociation":{"http":{"method":"GET","requestUri":"/assistants/{assistantId}/associations/{assistantAssociationId}","responseCode":200},"input":{"type":"structure","required":["assistantAssociationId","assistantId"],"members":{"assistantAssociationId":{"location":"uri","locationName":"assistantAssociationId"},"assistantId":{"location":"uri","locationName":"assistantId"}}},"output":{"type":"structure","members":{"assistantAssociation":{"shape":"Sl"}}}},"GetContent":{"http":{"method":"GET","requestUri":"/knowledgeBases/{knowledgeBaseId}/contents/{contentId}","responseCode":200},"input":{"type":"structure","required":["contentId","knowledgeBaseId"],"members":{"contentId":{"location":"uri","locationName":"contentId"},"knowledgeBaseId":{"location":"uri","locationName":"knowledgeBaseId"}}},"output":{"type":"structure","members":{"content":{"shape":"Su"}}}},"GetContentSummary":{"http":{"method":"GET","requestUri":"/knowledgeBases/{knowledgeBaseId}/contents/{contentId}/summary","responseCode":200},"input":{"type":"structure","required":["contentId","knowledgeBaseId"],"members":{"contentId":{"location":"uri","locationName":"contentId"},"knowledgeBaseId":{"location":"uri","locationName":"knowledgeBaseId"}}},"output":{"type":"structure","members":{"contentSummary":{"shape":"S1s"}}}},"GetKnowledgeBase":{"http":{"method":"GET","requestUri":"/knowledgeBases/{knowledgeBaseId}","responseCode":200},"input":{"type":"structure","required":["knowledgeBaseId"],"members":{"knowledgeBaseId":{"location":"uri","locationName":"knowledgeBaseId"}}},"output":{"type":"structure","members":{"knowledgeBase":{"shape":"S17"}}}},"GetRecommendations":{"http":{"method":"GET","requestUri":"/assistants/{assistantId}/sessions/{sessionId}/recommendations","responseCode":200},"input":{"type":"structure","required":["assistantId","sessionId"],"members":{"assistantId":{"location":"uri","locationName":"assistantId"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"sessionId":{"location":"uri","locationName":"sessionId"},"waitTimeSeconds":{"location":"querystring","locationName":"waitTimeSeconds","type":"integer"}}},"output":{"type":"structure","required":["recommendations"],"members":{"recommendations":{"type":"list","member":{"type":"structure","required":["document","recommendationId"],"members":{"document":{"shape":"S21"},"recommendationId":{},"relevanceLevel":{},"relevanceScore":{"type":"double"},"type":{}}}},"triggers":{"type":"list","member":{"type":"structure","required":["data","id","recommendationIds","source","type"],"members":{"data":{"type":"structure","members":{"query":{"type":"structure","members":{"text":{"shape":"S2g"}}}},"union":true},"id":{},"recommendationIds":{"shape":"S2h"},"source":{},"type":{}}}}}}},"GetSession":{"http":{"method":"GET","requestUri":"/assistants/{assistantId}/sessions/{sessionId}","responseCode":200},"input":{"type":"structure","required":["assistantId","sessionId"],"members":{"assistantId":{"location":"uri","locationName":"assistantId"},"sessionId":{"location":"uri","locationName":"sessionId"}}},"output":{"type":"structure","members":{"session":{"shape":"S1b"}}}},"ListAssistantAssociations":{"http":{"method":"GET","requestUri":"/assistants/{assistantId}/associations","responseCode":200},"input":{"type":"structure","required":["assistantId"],"members":{"assistantId":{"location":"uri","locationName":"assistantId"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["assistantAssociationSummaries"],"members":{"assistantAssociationSummaries":{"type":"list","member":{"type":"structure","required":["assistantArn","assistantAssociationArn","assistantAssociationId","assistantId","associationData","associationType"],"members":{"assistantArn":{},"assistantAssociationArn":{},"assistantAssociationId":{},"assistantId":{},"associationData":{"shape":"Sm"},"associationType":{},"tags":{"shape":"S7"}}}},"nextToken":{}}}},"ListAssistants":{"http":{"method":"GET","requestUri":"/assistants","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["assistantSummaries"],"members":{"assistantSummaries":{"type":"list","member":{"type":"structure","required":["assistantArn","assistantId","name","status","type"],"members":{"assistantArn":{},"assistantId":{},"description":{},"name":{},"serverSideEncryptionConfiguration":{"shape":"S5"},"status":{},"tags":{"shape":"S7"},"type":{}}}},"nextToken":{}}}},"ListContents":{"http":{"method":"GET","requestUri":"/knowledgeBases/{knowledgeBaseId}/contents","responseCode":200},"input":{"type":"structure","required":["knowledgeBaseId"],"members":{"knowledgeBaseId":{"location":"uri","locationName":"knowledgeBaseId"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["contentSummaries"],"members":{"contentSummaries":{"shape":"S2x"},"nextToken":{}}}},"ListKnowledgeBases":{"http":{"method":"GET","requestUri":"/knowledgeBases","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["knowledgeBaseSummaries"],"members":{"knowledgeBaseSummaries":{"type":"list","member":{"type":"structure","required":["knowledgeBaseArn","knowledgeBaseId","knowledgeBaseType","name","status"],"members":{"description":{},"knowledgeBaseArn":{},"knowledgeBaseId":{},"knowledgeBaseType":{},"name":{},"renderingConfiguration":{"shape":"S11"},"serverSideEncryptionConfiguration":{"shape":"S5"},"sourceConfiguration":{"shape":"S12"},"status":{},"tags":{"shape":"S7"}}}},"nextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"S7"}}}},"NotifyRecommendationsReceived":{"http":{"requestUri":"/assistants/{assistantId}/sessions/{sessionId}/recommendations/notify","responseCode":200},"input":{"type":"structure","required":["assistantId","recommendationIds","sessionId"],"members":{"assistantId":{"location":"uri","locationName":"assistantId"},"recommendationIds":{"shape":"S2h"},"sessionId":{"location":"uri","locationName":"sessionId"}}},"output":{"type":"structure","members":{"errors":{"type":"list","member":{"type":"structure","members":{"message":{},"recommendationId":{}}}},"recommendationIds":{"shape":"S2h"}}},"idempotent":true},"QueryAssistant":{"http":{"requestUri":"/assistants/{assistantId}/query","responseCode":200},"input":{"type":"structure","required":["assistantId","queryText"],"members":{"assistantId":{"location":"uri","locationName":"assistantId"},"maxResults":{"type":"integer"},"nextToken":{},"queryText":{"shape":"S2g"}}},"output":{"type":"structure","required":["results"],"members":{"nextToken":{},"results":{"type":"list","member":{"type":"structure","required":["document","resultId"],"members":{"document":{"shape":"S21"},"relevanceScore":{"type":"double"},"resultId":{}}}}}}},"RemoveKnowledgeBaseTemplateUri":{"http":{"method":"DELETE","requestUri":"/knowledgeBases/{knowledgeBaseId}/templateUri","responseCode":204},"input":{"type":"structure","required":["knowledgeBaseId"],"members":{"knowledgeBaseId":{"location":"uri","locationName":"knowledgeBaseId"}}},"output":{"type":"structure","members":{}}},"SearchContent":{"http":{"requestUri":"/knowledgeBases/{knowledgeBaseId}/search","responseCode":200},"input":{"type":"structure","required":["knowledgeBaseId","searchExpression"],"members":{"knowledgeBaseId":{"location":"uri","locationName":"knowledgeBaseId"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"},"searchExpression":{"shape":"S3g"}}},"output":{"type":"structure","required":["contentSummaries"],"members":{"contentSummaries":{"shape":"S2x"},"nextToken":{}}}},"SearchSessions":{"http":{"requestUri":"/assistants/{assistantId}/searchSessions","responseCode":200},"input":{"type":"structure","required":["assistantId","searchExpression"],"members":{"assistantId":{"location":"uri","locationName":"assistantId"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"},"searchExpression":{"shape":"S3g"}}},"output":{"type":"structure","required":["sessionSummaries"],"members":{"nextToken":{},"sessionSummaries":{"type":"list","member":{"type":"structure","required":["assistantArn","assistantId","sessionArn","sessionId"],"members":{"assistantArn":{},"assistantId":{},"sessionArn":{},"sessionId":{}}}}}}},"StartContentUpload":{"http":{"requestUri":"/knowledgeBases/{knowledgeBaseId}/upload","responseCode":200},"input":{"type":"structure","required":["contentType","knowledgeBaseId"],"members":{"contentType":{},"knowledgeBaseId":{"location":"uri","locationName":"knowledgeBaseId"}}},"output":{"type":"structure","required":["headersToInclude","uploadId","url","urlExpiry"],"members":{"headersToInclude":{"type":"map","key":{},"value":{}},"uploadId":{},"url":{"shape":"Sx"},"urlExpiry":{"shape":"Sy"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S7"}}},"output":{"type":"structure","members":{}},"idempotent":true},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}},"idempotent":true},"UpdateContent":{"http":{"requestUri":"/knowledgeBases/{knowledgeBaseId}/contents/{contentId}","responseCode":200},"input":{"type":"structure","required":["contentId","knowledgeBaseId"],"members":{"contentId":{"location":"uri","locationName":"contentId"},"knowledgeBaseId":{"location":"uri","locationName":"knowledgeBaseId"},"metadata":{"shape":"Sp"},"overrideLinkOutUri":{},"removeOverrideLinkOutUri":{"type":"boolean"},"revisionId":{},"title":{},"uploadId":{}}},"output":{"type":"structure","members":{"content":{"shape":"Su"}}}},"UpdateKnowledgeBaseTemplateUri":{"http":{"requestUri":"/knowledgeBases/{knowledgeBaseId}/templateUri","responseCode":200},"input":{"type":"structure","required":["knowledgeBaseId","templateUri"],"members":{"knowledgeBaseId":{"location":"uri","locationName":"knowledgeBaseId"},"templateUri":{}}},"output":{"type":"structure","members":{"knowledgeBase":{"shape":"S17"}}}}},"shapes":{"S5":{"type":"structure","members":{"kmsKeyId":{}}},"S7":{"type":"map","key":{},"value":{}},"Sc":{"type":"structure","required":["assistantArn","assistantId","name","status","type"],"members":{"assistantArn":{},"assistantId":{},"description":{},"name":{},"serverSideEncryptionConfiguration":{"shape":"S5"},"status":{},"tags":{"shape":"S7"},"type":{}}},"Sl":{"type":"structure","required":["assistantArn","assistantAssociationArn","assistantAssociationId","assistantId","associationData","associationType"],"members":{"assistantArn":{},"assistantAssociationArn":{},"assistantAssociationId":{},"assistantId":{},"associationData":{"shape":"Sm"},"associationType":{},"tags":{"shape":"S7"}}},"Sm":{"type":"structure","members":{"knowledgeBaseAssociation":{"type":"structure","members":{"knowledgeBaseArn":{},"knowledgeBaseId":{}}}},"union":true},"Sp":{"type":"map","key":{},"value":{}},"Su":{"type":"structure","required":["contentArn","contentId","contentType","knowledgeBaseArn","knowledgeBaseId","metadata","name","revisionId","status","title","url","urlExpiry"],"members":{"contentArn":{},"contentId":{},"contentType":{},"knowledgeBaseArn":{},"knowledgeBaseId":{},"linkOutUri":{},"metadata":{"shape":"Sp"},"name":{},"revisionId":{},"status":{},"tags":{"shape":"S7"},"title":{},"url":{"shape":"Sx"},"urlExpiry":{"shape":"Sy"}}},"Sx":{"type":"string","sensitive":true},"Sy":{"type":"timestamp","timestampFormat":"unixTimestamp"},"S11":{"type":"structure","members":{"templateUri":{}}},"S12":{"type":"structure","members":{"appIntegrations":{"type":"structure","required":["appIntegrationArn","objectFields"],"members":{"appIntegrationArn":{},"objectFields":{"type":"list","member":{}}}}},"union":true},"S17":{"type":"structure","required":["knowledgeBaseArn","knowledgeBaseId","knowledgeBaseType","name","status"],"members":{"description":{},"knowledgeBaseArn":{},"knowledgeBaseId":{},"knowledgeBaseType":{},"lastContentModificationTime":{"shape":"Sy"},"name":{},"renderingConfiguration":{"shape":"S11"},"serverSideEncryptionConfiguration":{"shape":"S5"},"sourceConfiguration":{"shape":"S12"},"status":{},"tags":{"shape":"S7"}}},"S1b":{"type":"structure","required":["name","sessionArn","sessionId"],"members":{"description":{},"name":{},"sessionArn":{},"sessionId":{},"tags":{"shape":"S7"}}},"S1s":{"type":"structure","required":["contentArn","contentId","contentType","knowledgeBaseArn","knowledgeBaseId","metadata","name","revisionId","status","title"],"members":{"contentArn":{},"contentId":{},"contentType":{},"knowledgeBaseArn":{},"knowledgeBaseId":{},"metadata":{"shape":"Sp"},"name":{},"revisionId":{},"status":{},"tags":{"shape":"S7"},"title":{}}},"S21":{"type":"structure","required":["contentReference"],"members":{"contentReference":{"type":"structure","members":{"contentArn":{},"contentId":{},"knowledgeBaseArn":{},"knowledgeBaseId":{}}},"excerpt":{"shape":"S23"},"title":{"shape":"S23"}}},"S23":{"type":"structure","members":{"highlights":{"type":"list","member":{"type":"structure","members":{"beginOffsetInclusive":{"type":"integer"},"endOffsetExclusive":{"type":"integer"}}}},"text":{"type":"string","sensitive":true}}},"S2g":{"type":"string","sensitive":true},"S2h":{"type":"list","member":{}},"S2x":{"type":"list","member":{"shape":"S1s"}},"S3g":{"type":"structure","required":["filters"],"members":{"filters":{"type":"list","member":{"type":"structure","required":["field","operator","value"],"members":{"field":{},"operator":{},"value":{}}}}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-10-19","endpointPrefix":"wisdom","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"Amazon Connect Wisdom Service","serviceId":"Wisdom","signatureVersion":"v4","signingName":"wisdom","uid":"wisdom-2020-10-19"},"operations":{"CreateAssistant":{"http":{"requestUri":"/assistants","responseCode":200},"input":{"type":"structure","required":["name","type"],"members":{"clientToken":{"idempotencyToken":true},"description":{},"name":{},"serverSideEncryptionConfiguration":{"shape":"S5"},"tags":{"shape":"S7"},"type":{}}},"output":{"type":"structure","members":{"assistant":{"shape":"Sc"}}},"idempotent":true},"CreateAssistantAssociation":{"http":{"requestUri":"/assistants/{assistantId}/associations","responseCode":200},"input":{"type":"structure","required":["assistantId","association","associationType"],"members":{"assistantId":{"location":"uri","locationName":"assistantId"},"association":{"type":"structure","members":{"knowledgeBaseId":{}},"union":true},"associationType":{},"clientToken":{"idempotencyToken":true},"tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"assistantAssociation":{"shape":"Sl"}}},"idempotent":true},"CreateContent":{"http":{"requestUri":"/knowledgeBases/{knowledgeBaseId}/contents","responseCode":200},"input":{"type":"structure","required":["knowledgeBaseId","name","uploadId"],"members":{"clientToken":{"idempotencyToken":true},"knowledgeBaseId":{"location":"uri","locationName":"knowledgeBaseId"},"metadata":{"shape":"Sp"},"name":{},"overrideLinkOutUri":{},"tags":{"shape":"S7"},"title":{},"uploadId":{}}},"output":{"type":"structure","members":{"content":{"shape":"Su"}}},"idempotent":true},"CreateKnowledgeBase":{"http":{"requestUri":"/knowledgeBases","responseCode":200},"input":{"type":"structure","required":["knowledgeBaseType","name"],"members":{"clientToken":{"idempotencyToken":true},"description":{},"knowledgeBaseType":{},"name":{},"renderingConfiguration":{"shape":"S11"},"serverSideEncryptionConfiguration":{"shape":"S5"},"sourceConfiguration":{"shape":"S12"},"tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"knowledgeBase":{"shape":"S17"}}},"idempotent":true},"CreateSession":{"http":{"requestUri":"/assistants/{assistantId}/sessions","responseCode":200},"input":{"type":"structure","required":["assistantId","name"],"members":{"assistantId":{"location":"uri","locationName":"assistantId"},"clientToken":{"idempotencyToken":true},"description":{},"name":{},"tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"session":{"shape":"S1b"}}},"idempotent":true},"DeleteAssistant":{"http":{"method":"DELETE","requestUri":"/assistants/{assistantId}","responseCode":204},"input":{"type":"structure","required":["assistantId"],"members":{"assistantId":{"location":"uri","locationName":"assistantId"}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteAssistantAssociation":{"http":{"method":"DELETE","requestUri":"/assistants/{assistantId}/associations/{assistantAssociationId}","responseCode":204},"input":{"type":"structure","required":["assistantAssociationId","assistantId"],"members":{"assistantAssociationId":{"location":"uri","locationName":"assistantAssociationId"},"assistantId":{"location":"uri","locationName":"assistantId"}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteContent":{"http":{"method":"DELETE","requestUri":"/knowledgeBases/{knowledgeBaseId}/contents/{contentId}","responseCode":204},"input":{"type":"structure","required":["contentId","knowledgeBaseId"],"members":{"contentId":{"location":"uri","locationName":"contentId"},"knowledgeBaseId":{"location":"uri","locationName":"knowledgeBaseId"}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteKnowledgeBase":{"http":{"method":"DELETE","requestUri":"/knowledgeBases/{knowledgeBaseId}","responseCode":204},"input":{"type":"structure","required":["knowledgeBaseId"],"members":{"knowledgeBaseId":{"location":"uri","locationName":"knowledgeBaseId"}}},"output":{"type":"structure","members":{}},"idempotent":true},"GetAssistant":{"http":{"method":"GET","requestUri":"/assistants/{assistantId}","responseCode":200},"input":{"type":"structure","required":["assistantId"],"members":{"assistantId":{"location":"uri","locationName":"assistantId"}}},"output":{"type":"structure","members":{"assistant":{"shape":"Sc"}}}},"GetAssistantAssociation":{"http":{"method":"GET","requestUri":"/assistants/{assistantId}/associations/{assistantAssociationId}","responseCode":200},"input":{"type":"structure","required":["assistantAssociationId","assistantId"],"members":{"assistantAssociationId":{"location":"uri","locationName":"assistantAssociationId"},"assistantId":{"location":"uri","locationName":"assistantId"}}},"output":{"type":"structure","members":{"assistantAssociation":{"shape":"Sl"}}}},"GetContent":{"http":{"method":"GET","requestUri":"/knowledgeBases/{knowledgeBaseId}/contents/{contentId}","responseCode":200},"input":{"type":"structure","required":["contentId","knowledgeBaseId"],"members":{"contentId":{"location":"uri","locationName":"contentId"},"knowledgeBaseId":{"location":"uri","locationName":"knowledgeBaseId"}}},"output":{"type":"structure","members":{"content":{"shape":"Su"}}}},"GetContentSummary":{"http":{"method":"GET","requestUri":"/knowledgeBases/{knowledgeBaseId}/contents/{contentId}/summary","responseCode":200},"input":{"type":"structure","required":["contentId","knowledgeBaseId"],"members":{"contentId":{"location":"uri","locationName":"contentId"},"knowledgeBaseId":{"location":"uri","locationName":"knowledgeBaseId"}}},"output":{"type":"structure","members":{"contentSummary":{"shape":"S1s"}}}},"GetKnowledgeBase":{"http":{"method":"GET","requestUri":"/knowledgeBases/{knowledgeBaseId}","responseCode":200},"input":{"type":"structure","required":["knowledgeBaseId"],"members":{"knowledgeBaseId":{"location":"uri","locationName":"knowledgeBaseId"}}},"output":{"type":"structure","members":{"knowledgeBase":{"shape":"S17"}}}},"GetRecommendations":{"http":{"method":"GET","requestUri":"/assistants/{assistantId}/sessions/{sessionId}/recommendations","responseCode":200},"input":{"type":"structure","required":["assistantId","sessionId"],"members":{"assistantId":{"location":"uri","locationName":"assistantId"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"sessionId":{"location":"uri","locationName":"sessionId"},"waitTimeSeconds":{"location":"querystring","locationName":"waitTimeSeconds","type":"integer"}}},"output":{"type":"structure","required":["recommendations"],"members":{"recommendations":{"type":"list","member":{"type":"structure","required":["document","recommendationId"],"members":{"document":{"shape":"S21"},"recommendationId":{},"relevanceLevel":{},"relevanceScore":{"type":"double"},"type":{}}}},"triggers":{"type":"list","member":{"type":"structure","required":["data","id","recommendationIds","source","type"],"members":{"data":{"type":"structure","members":{"query":{"type":"structure","members":{"text":{"shape":"S2g"}}}},"union":true},"id":{},"recommendationIds":{"shape":"S2h"},"source":{},"type":{}}}}}}},"GetSession":{"http":{"method":"GET","requestUri":"/assistants/{assistantId}/sessions/{sessionId}","responseCode":200},"input":{"type":"structure","required":["assistantId","sessionId"],"members":{"assistantId":{"location":"uri","locationName":"assistantId"},"sessionId":{"location":"uri","locationName":"sessionId"}}},"output":{"type":"structure","members":{"session":{"shape":"S1b"}}}},"ListAssistantAssociations":{"http":{"method":"GET","requestUri":"/assistants/{assistantId}/associations","responseCode":200},"input":{"type":"structure","required":["assistantId"],"members":{"assistantId":{"location":"uri","locationName":"assistantId"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["assistantAssociationSummaries"],"members":{"assistantAssociationSummaries":{"type":"list","member":{"type":"structure","required":["assistantArn","assistantAssociationArn","assistantAssociationId","assistantId","associationData","associationType"],"members":{"assistantArn":{},"assistantAssociationArn":{},"assistantAssociationId":{},"assistantId":{},"associationData":{"shape":"Sm"},"associationType":{},"tags":{"shape":"S7"}}}},"nextToken":{}}}},"ListAssistants":{"http":{"method":"GET","requestUri":"/assistants","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["assistantSummaries"],"members":{"assistantSummaries":{"type":"list","member":{"type":"structure","required":["assistantArn","assistantId","name","status","type"],"members":{"assistantArn":{},"assistantId":{},"description":{},"name":{},"serverSideEncryptionConfiguration":{"shape":"S5"},"status":{},"tags":{"shape":"S7"},"type":{}}}},"nextToken":{}}}},"ListContents":{"http":{"method":"GET","requestUri":"/knowledgeBases/{knowledgeBaseId}/contents","responseCode":200},"input":{"type":"structure","required":["knowledgeBaseId"],"members":{"knowledgeBaseId":{"location":"uri","locationName":"knowledgeBaseId"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["contentSummaries"],"members":{"contentSummaries":{"shape":"S2x"},"nextToken":{}}}},"ListKnowledgeBases":{"http":{"method":"GET","requestUri":"/knowledgeBases","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["knowledgeBaseSummaries"],"members":{"knowledgeBaseSummaries":{"type":"list","member":{"type":"structure","required":["knowledgeBaseArn","knowledgeBaseId","knowledgeBaseType","name","status"],"members":{"description":{},"knowledgeBaseArn":{},"knowledgeBaseId":{},"knowledgeBaseType":{},"name":{},"renderingConfiguration":{"shape":"S11"},"serverSideEncryptionConfiguration":{"shape":"S5"},"sourceConfiguration":{"shape":"S12"},"status":{},"tags":{"shape":"S7"}}}},"nextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"S7"}}}},"NotifyRecommendationsReceived":{"http":{"requestUri":"/assistants/{assistantId}/sessions/{sessionId}/recommendations/notify","responseCode":200},"input":{"type":"structure","required":["assistantId","recommendationIds","sessionId"],"members":{"assistantId":{"location":"uri","locationName":"assistantId"},"recommendationIds":{"shape":"S2h"},"sessionId":{"location":"uri","locationName":"sessionId"}}},"output":{"type":"structure","members":{"errors":{"type":"list","member":{"type":"structure","members":{"message":{},"recommendationId":{}}}},"recommendationIds":{"shape":"S2h"}}},"idempotent":true},"QueryAssistant":{"http":{"requestUri":"/assistants/{assistantId}/query","responseCode":200},"input":{"type":"structure","required":["assistantId","queryText"],"members":{"assistantId":{"location":"uri","locationName":"assistantId"},"maxResults":{"type":"integer"},"nextToken":{},"queryText":{"shape":"S2g"}}},"output":{"type":"structure","required":["results"],"members":{"nextToken":{},"results":{"type":"list","member":{"type":"structure","required":["document","resultId"],"members":{"document":{"shape":"S21"},"relevanceScore":{"type":"double"},"resultId":{}}}}}}},"RemoveKnowledgeBaseTemplateUri":{"http":{"method":"DELETE","requestUri":"/knowledgeBases/{knowledgeBaseId}/templateUri","responseCode":204},"input":{"type":"structure","required":["knowledgeBaseId"],"members":{"knowledgeBaseId":{"location":"uri","locationName":"knowledgeBaseId"}}},"output":{"type":"structure","members":{}}},"SearchContent":{"http":{"requestUri":"/knowledgeBases/{knowledgeBaseId}/search","responseCode":200},"input":{"type":"structure","required":["knowledgeBaseId","searchExpression"],"members":{"knowledgeBaseId":{"location":"uri","locationName":"knowledgeBaseId"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"},"searchExpression":{"shape":"S3g"}}},"output":{"type":"structure","required":["contentSummaries"],"members":{"contentSummaries":{"shape":"S2x"},"nextToken":{}}}},"SearchSessions":{"http":{"requestUri":"/assistants/{assistantId}/searchSessions","responseCode":200},"input":{"type":"structure","required":["assistantId","searchExpression"],"members":{"assistantId":{"location":"uri","locationName":"assistantId"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"},"searchExpression":{"shape":"S3g"}}},"output":{"type":"structure","required":["sessionSummaries"],"members":{"nextToken":{},"sessionSummaries":{"type":"list","member":{"type":"structure","required":["assistantArn","assistantId","sessionArn","sessionId"],"members":{"assistantArn":{},"assistantId":{},"sessionArn":{},"sessionId":{}}}}}}},"StartContentUpload":{"http":{"requestUri":"/knowledgeBases/{knowledgeBaseId}/upload","responseCode":200},"input":{"type":"structure","required":["contentType","knowledgeBaseId"],"members":{"contentType":{},"knowledgeBaseId":{"location":"uri","locationName":"knowledgeBaseId"}}},"output":{"type":"structure","required":["headersToInclude","uploadId","url","urlExpiry"],"members":{"headersToInclude":{"type":"map","key":{},"value":{}},"uploadId":{},"url":{"shape":"Sx"},"urlExpiry":{"shape":"Sy"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S7"}}},"output":{"type":"structure","members":{}},"idempotent":true},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}},"idempotent":true},"UpdateContent":{"http":{"requestUri":"/knowledgeBases/{knowledgeBaseId}/contents/{contentId}","responseCode":200},"input":{"type":"structure","required":["contentId","knowledgeBaseId"],"members":{"contentId":{"location":"uri","locationName":"contentId"},"knowledgeBaseId":{"location":"uri","locationName":"knowledgeBaseId"},"metadata":{"shape":"Sp"},"overrideLinkOutUri":{},"removeOverrideLinkOutUri":{"type":"boolean"},"revisionId":{},"title":{},"uploadId":{}}},"output":{"type":"structure","members":{"content":{"shape":"Su"}}}},"UpdateKnowledgeBaseTemplateUri":{"http":{"requestUri":"/knowledgeBases/{knowledgeBaseId}/templateUri","responseCode":200},"input":{"type":"structure","required":["knowledgeBaseId","templateUri"],"members":{"knowledgeBaseId":{"location":"uri","locationName":"knowledgeBaseId"},"templateUri":{}}},"output":{"type":"structure","members":{"knowledgeBase":{"shape":"S17"}}}}},"shapes":{"S5":{"type":"structure","members":{"kmsKeyId":{}}},"S7":{"type":"map","key":{},"value":{}},"Sc":{"type":"structure","required":["assistantArn","assistantId","name","status","type"],"members":{"assistantArn":{},"assistantId":{},"description":{},"name":{},"serverSideEncryptionConfiguration":{"shape":"S5"},"status":{},"tags":{"shape":"S7"},"type":{}}},"Sl":{"type":"structure","required":["assistantArn","assistantAssociationArn","assistantAssociationId","assistantId","associationData","associationType"],"members":{"assistantArn":{},"assistantAssociationArn":{},"assistantAssociationId":{},"assistantId":{},"associationData":{"shape":"Sm"},"associationType":{},"tags":{"shape":"S7"}}},"Sm":{"type":"structure","members":{"knowledgeBaseAssociation":{"type":"structure","members":{"knowledgeBaseArn":{},"knowledgeBaseId":{}}}},"union":true},"Sp":{"type":"map","key":{},"value":{}},"Su":{"type":"structure","required":["contentArn","contentId","contentType","knowledgeBaseArn","knowledgeBaseId","metadata","name","revisionId","status","title","url","urlExpiry"],"members":{"contentArn":{},"contentId":{},"contentType":{},"knowledgeBaseArn":{},"knowledgeBaseId":{},"linkOutUri":{},"metadata":{"shape":"Sp"},"name":{},"revisionId":{},"status":{},"tags":{"shape":"S7"},"title":{},"url":{"shape":"Sx"},"urlExpiry":{"shape":"Sy"}}},"Sx":{"type":"string","sensitive":true},"Sy":{"type":"timestamp","timestampFormat":"unixTimestamp"},"S11":{"type":"structure","members":{"templateUri":{}}},"S12":{"type":"structure","members":{"appIntegrations":{"type":"structure","required":["appIntegrationArn"],"members":{"appIntegrationArn":{},"objectFields":{"type":"list","member":{}}}}},"union":true},"S17":{"type":"structure","required":["knowledgeBaseArn","knowledgeBaseId","knowledgeBaseType","name","status"],"members":{"description":{},"knowledgeBaseArn":{},"knowledgeBaseId":{},"knowledgeBaseType":{},"lastContentModificationTime":{"shape":"Sy"},"name":{},"renderingConfiguration":{"shape":"S11"},"serverSideEncryptionConfiguration":{"shape":"S5"},"sourceConfiguration":{"shape":"S12"},"status":{},"tags":{"shape":"S7"}}},"S1b":{"type":"structure","required":["name","sessionArn","sessionId"],"members":{"description":{},"name":{},"sessionArn":{},"sessionId":{},"tags":{"shape":"S7"}}},"S1s":{"type":"structure","required":["contentArn","contentId","contentType","knowledgeBaseArn","knowledgeBaseId","metadata","name","revisionId","status","title"],"members":{"contentArn":{},"contentId":{},"contentType":{},"knowledgeBaseArn":{},"knowledgeBaseId":{},"metadata":{"shape":"Sp"},"name":{},"revisionId":{},"status":{},"tags":{"shape":"S7"},"title":{}}},"S21":{"type":"structure","required":["contentReference"],"members":{"contentReference":{"type":"structure","members":{"contentArn":{},"contentId":{},"knowledgeBaseArn":{},"knowledgeBaseId":{}}},"excerpt":{"shape":"S23"},"title":{"shape":"S23"}}},"S23":{"type":"structure","members":{"highlights":{"type":"list","member":{"type":"structure","members":{"beginOffsetInclusive":{"type":"integer"},"endOffsetExclusive":{"type":"integer"}}}},"text":{"type":"string","sensitive":true}}},"S2g":{"type":"string","sensitive":true},"S2h":{"type":"list","member":{}},"S2x":{"type":"list","member":{"shape":"S1s"}},"S3g":{"type":"structure","required":["filters"],"members":{"filters":{"type":"list","member":{"type":"structure","required":["field","operator","value"],"members":{"field":{},"operator":{},"value":{}}}}}}}} /***/ }), /* 1094 */ @@ -61893,7 +61900,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 1280 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2008-10-21","endpointPrefix":"tnb","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"AWS Telco Network Builder","serviceId":"tnb","signatureVersion":"v4","signingName":"tnb","uid":"tnb-2008-10-21"},"operations":{"CancelSolNetworkOperation":{"http":{"requestUri":"/sol/nslcm/v1/ns_lcm_op_occs/{nsLcmOpOccId}/cancel","responseCode":202},"input":{"type":"structure","required":["nsLcmOpOccId"],"members":{"nsLcmOpOccId":{"location":"uri","locationName":"nsLcmOpOccId"}}}},"CreateSolFunctionPackage":{"http":{"requestUri":"/sol/vnfpkgm/v1/vnf_packages","responseCode":201},"input":{"type":"structure","members":{"tags":{"shape":"S4"}}},"output":{"type":"structure","required":["arn","id","onboardingState","operationalState","usageState"],"members":{"arn":{},"id":{},"onboardingState":{},"operationalState":{},"tags":{"shape":"S4"},"usageState":{}}}},"CreateSolNetworkInstance":{"http":{"requestUri":"/sol/nslcm/v1/ns_instances","responseCode":201},"input":{"type":"structure","required":["nsName","nsdInfoId"],"members":{"nsDescription":{},"nsName":{},"nsdInfoId":{},"tags":{"shape":"S4"}}},"output":{"type":"structure","required":["arn","id","nsInstanceName","nsdInfoId"],"members":{"arn":{},"id":{},"nsInstanceName":{},"nsdInfoId":{},"tags":{"shape":"S4"}}}},"CreateSolNetworkPackage":{"http":{"requestUri":"/sol/nsd/v1/ns_descriptors","responseCode":201},"input":{"type":"structure","members":{"tags":{"shape":"S4"}}},"output":{"type":"structure","required":["arn","id","nsdOnboardingState","nsdOperationalState","nsdUsageState"],"members":{"arn":{},"id":{},"nsdOnboardingState":{},"nsdOperationalState":{},"nsdUsageState":{},"tags":{"shape":"S4"}}}},"DeleteSolFunctionPackage":{"http":{"method":"DELETE","requestUri":"/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}","responseCode":204},"input":{"type":"structure","required":["vnfPkgId"],"members":{"vnfPkgId":{"location":"uri","locationName":"vnfPkgId"}}},"idempotent":true},"DeleteSolNetworkInstance":{"http":{"method":"DELETE","requestUri":"/sol/nslcm/v1/ns_instances/{nsInstanceId}","responseCode":204},"input":{"type":"structure","required":["nsInstanceId"],"members":{"nsInstanceId":{"location":"uri","locationName":"nsInstanceId"}}},"idempotent":true},"DeleteSolNetworkPackage":{"http":{"method":"DELETE","requestUri":"/sol/nsd/v1/ns_descriptors/{nsdInfoId}","responseCode":204},"input":{"type":"structure","required":["nsdInfoId"],"members":{"nsdInfoId":{"location":"uri","locationName":"nsdInfoId"}}},"idempotent":true},"GetSolFunctionInstance":{"http":{"method":"GET","requestUri":"/sol/vnflcm/v1/vnf_instances/{vnfInstanceId}","responseCode":200},"input":{"type":"structure","required":["vnfInstanceId"],"members":{"vnfInstanceId":{"location":"uri","locationName":"vnfInstanceId"}}},"output":{"type":"structure","required":["arn","id","instantiationState","metadata","nsInstanceId","vnfPkgId","vnfdId"],"members":{"arn":{},"id":{},"instantiatedVnfInfo":{"type":"structure","members":{"vnfState":{},"vnfcResourceInfo":{"type":"list","member":{"type":"structure","members":{"metadata":{"type":"structure","members":{"cluster":{},"helmChart":{},"nodeGroup":{}}}}}}}},"instantiationState":{},"metadata":{"type":"structure","required":["createdAt","lastModified"],"members":{"createdAt":{"shape":"S15"},"lastModified":{"shape":"S15"}}},"nsInstanceId":{},"tags":{"shape":"S4"},"vnfPkgId":{},"vnfProductName":{},"vnfProvider":{},"vnfdId":{},"vnfdVersion":{}}}},"GetSolFunctionPackage":{"http":{"method":"GET","requestUri":"/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}","responseCode":200},"input":{"type":"structure","required":["vnfPkgId"],"members":{"vnfPkgId":{"location":"uri","locationName":"vnfPkgId"}}},"output":{"type":"structure","required":["arn","id","onboardingState","operationalState","usageState"],"members":{"arn":{},"id":{},"metadata":{"type":"structure","required":["createdAt","lastModified"],"members":{"createdAt":{"shape":"S15"},"lastModified":{"shape":"S15"},"vnfd":{"shape":"S1a"}}},"onboardingState":{},"operationalState":{},"tags":{"shape":"S4"},"usageState":{},"vnfProductName":{},"vnfProvider":{},"vnfdId":{},"vnfdVersion":{}}}},"GetSolFunctionPackageContent":{"http":{"method":"GET","requestUri":"/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content","responseCode":200},"input":{"type":"structure","required":["accept","vnfPkgId"],"members":{"accept":{"location":"header","locationName":"Accept"},"vnfPkgId":{"location":"uri","locationName":"vnfPkgId"}}},"output":{"type":"structure","members":{"contentType":{"location":"header","locationName":"Content-Type"},"packageContent":{"type":"blob"}},"payload":"packageContent"}},"GetSolFunctionPackageDescriptor":{"http":{"method":"GET","requestUri":"/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/vnfd","responseCode":200},"input":{"type":"structure","required":["accept","vnfPkgId"],"members":{"accept":{"location":"header","locationName":"Accept"},"vnfPkgId":{"location":"uri","locationName":"vnfPkgId"}}},"output":{"type":"structure","members":{"contentType":{"location":"header","locationName":"Content-Type"},"vnfd":{"type":"blob"}},"payload":"vnfd"}},"GetSolNetworkInstance":{"http":{"method":"GET","requestUri":"/sol/nslcm/v1/ns_instances/{nsInstanceId}","responseCode":200},"input":{"type":"structure","required":["nsInstanceId"],"members":{"nsInstanceId":{"location":"uri","locationName":"nsInstanceId"}}},"output":{"type":"structure","required":["arn","id","metadata","nsInstanceDescription","nsInstanceName","nsdId","nsdInfoId"],"members":{"arn":{},"id":{},"lcmOpInfo":{"type":"structure","required":["nsLcmOpOccId"],"members":{"nsLcmOpOccId":{}}},"metadata":{"type":"structure","required":["createdAt","lastModified"],"members":{"createdAt":{"shape":"S15"},"lastModified":{"shape":"S15"}}},"nsInstanceDescription":{},"nsInstanceName":{},"nsState":{},"nsdId":{},"nsdInfoId":{},"tags":{"shape":"S4"}}}},"GetSolNetworkOperation":{"http":{"method":"GET","requestUri":"/sol/nslcm/v1/ns_lcm_op_occs/{nsLcmOpOccId}","responseCode":200},"input":{"type":"structure","required":["nsLcmOpOccId"],"members":{"nsLcmOpOccId":{"location":"uri","locationName":"nsLcmOpOccId"}}},"output":{"type":"structure","required":["arn"],"members":{"arn":{},"error":{"shape":"S1t"},"id":{},"lcmOperationType":{},"metadata":{"type":"structure","required":["createdAt","lastModified"],"members":{"createdAt":{"shape":"S15"},"lastModified":{"shape":"S15"}}},"nsInstanceId":{},"operationState":{},"tags":{"shape":"S4"},"tasks":{"type":"list","member":{"type":"structure","members":{"taskContext":{"type":"map","key":{},"value":{}},"taskEndTime":{"shape":"S15"},"taskErrorDetails":{"type":"structure","members":{"cause":{},"details":{}}},"taskName":{},"taskStartTime":{"shape":"S15"},"taskStatus":{}}}}}}},"GetSolNetworkPackage":{"http":{"method":"GET","requestUri":"/sol/nsd/v1/ns_descriptors/{nsdInfoId}","responseCode":200},"input":{"type":"structure","required":["nsdInfoId"],"members":{"nsdInfoId":{"location":"uri","locationName":"nsdInfoId"}}},"output":{"type":"structure","required":["arn","id","metadata","nsdId","nsdName","nsdOnboardingState","nsdOperationalState","nsdUsageState","nsdVersion","vnfPkgIds"],"members":{"arn":{},"id":{},"metadata":{"type":"structure","required":["createdAt","lastModified"],"members":{"createdAt":{"shape":"S15"},"lastModified":{"shape":"S15"},"nsd":{"shape":"S27"}}},"nsdId":{},"nsdName":{},"nsdOnboardingState":{},"nsdOperationalState":{},"nsdUsageState":{},"nsdVersion":{},"tags":{"shape":"S4"},"vnfPkgIds":{"shape":"S28"}}}},"GetSolNetworkPackageContent":{"http":{"method":"GET","requestUri":"/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content","responseCode":200},"input":{"type":"structure","required":["accept","nsdInfoId"],"members":{"accept":{"location":"header","locationName":"Accept"},"nsdInfoId":{"location":"uri","locationName":"nsdInfoId"}}},"output":{"type":"structure","members":{"contentType":{"location":"header","locationName":"Content-Type"},"nsdContent":{"type":"blob"}},"payload":"nsdContent"}},"GetSolNetworkPackageDescriptor":{"http":{"method":"GET","requestUri":"/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd","responseCode":200},"input":{"type":"structure","required":["nsdInfoId"],"members":{"nsdInfoId":{"location":"uri","locationName":"nsdInfoId"}}},"output":{"type":"structure","members":{"contentType":{"location":"header","locationName":"Content-Type"},"nsd":{"type":"blob"}},"payload":"nsd"}},"InstantiateSolNetworkInstance":{"http":{"requestUri":"/sol/nslcm/v1/ns_instances/{nsInstanceId}/instantiate","responseCode":201},"input":{"type":"structure","required":["nsInstanceId"],"members":{"additionalParamsForNs":{"shape":"S2e"},"dryRun":{"location":"querystring","locationName":"dry_run","type":"boolean"},"nsInstanceId":{"location":"uri","locationName":"nsInstanceId"}}},"output":{"type":"structure","required":["nsLcmOpOccId"],"members":{"nsLcmOpOccId":{}}}},"ListSolFunctionInstances":{"http":{"method":"GET","requestUri":"/sol/vnflcm/v1/vnf_instances","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"max_results","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextpage_opaque_marker"}}},"output":{"type":"structure","members":{"functionInstances":{"type":"list","member":{"type":"structure","required":["arn","id","instantiationState","metadata","nsInstanceId","vnfPkgId"],"members":{"arn":{},"id":{},"instantiatedVnfInfo":{"type":"structure","members":{"vnfState":{}}},"instantiationState":{},"metadata":{"type":"structure","required":["createdAt","lastModified"],"members":{"createdAt":{"shape":"S15"},"lastModified":{"shape":"S15"}}},"nsInstanceId":{},"vnfPkgId":{},"vnfPkgName":{}}}},"nextToken":{}}}},"ListSolFunctionPackages":{"http":{"method":"GET","requestUri":"/sol/vnfpkgm/v1/vnf_packages","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"max_results","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextpage_opaque_marker"}}},"output":{"type":"structure","required":["functionPackages"],"members":{"functionPackages":{"type":"list","member":{"type":"structure","required":["arn","id","onboardingState","operationalState","usageState"],"members":{"arn":{},"id":{},"metadata":{"type":"structure","required":["createdAt","lastModified"],"members":{"createdAt":{"shape":"S15"},"lastModified":{"shape":"S15"}}},"onboardingState":{},"operationalState":{},"usageState":{},"vnfProductName":{},"vnfProvider":{},"vnfdId":{},"vnfdVersion":{}}}},"nextToken":{}}}},"ListSolNetworkInstances":{"http":{"method":"GET","requestUri":"/sol/nslcm/v1/ns_instances","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"max_results","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextpage_opaque_marker"}}},"output":{"type":"structure","members":{"networkInstances":{"type":"list","member":{"type":"structure","required":["arn","id","metadata","nsInstanceDescription","nsInstanceName","nsState","nsdId","nsdInfoId"],"members":{"arn":{},"id":{},"metadata":{"type":"structure","required":["createdAt","lastModified"],"members":{"createdAt":{"shape":"S15"},"lastModified":{"shape":"S15"}}},"nsInstanceDescription":{},"nsInstanceName":{},"nsState":{},"nsdId":{},"nsdInfoId":{}}}},"nextToken":{}}}},"ListSolNetworkOperations":{"http":{"method":"GET","requestUri":"/sol/nslcm/v1/ns_lcm_op_occs","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"max_results","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextpage_opaque_marker"}}},"output":{"type":"structure","members":{"networkOperations":{"type":"list","member":{"type":"structure","required":["arn","id","lcmOperationType","nsInstanceId","operationState"],"members":{"arn":{},"error":{"shape":"S1t"},"id":{},"lcmOperationType":{},"metadata":{"type":"structure","required":["createdAt","lastModified"],"members":{"createdAt":{"shape":"S15"},"lastModified":{"shape":"S15"}}},"nsInstanceId":{},"operationState":{}}}},"nextToken":{}}}},"ListSolNetworkPackages":{"http":{"method":"GET","requestUri":"/sol/nsd/v1/ns_descriptors","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"max_results","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextpage_opaque_marker"}}},"output":{"type":"structure","required":["networkPackages"],"members":{"networkPackages":{"type":"list","member":{"type":"structure","required":["arn","id","metadata","nsdOnboardingState","nsdOperationalState","nsdUsageState"],"members":{"arn":{},"id":{},"metadata":{"type":"structure","required":["createdAt","lastModified"],"members":{"createdAt":{"shape":"S15"},"lastModified":{"shape":"S15"}}},"nsdDesigner":{},"nsdId":{},"nsdInvariantId":{},"nsdName":{},"nsdOnboardingState":{},"nsdOperationalState":{},"nsdUsageState":{},"nsdVersion":{},"vnfPkgIds":{"shape":"S28"}}}},"nextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","required":["tags"],"members":{"tags":{"shape":"S4"}}}},"PutSolFunctionPackageContent":{"http":{"method":"PUT","requestUri":"/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content","responseCode":202},"input":{"type":"structure","required":["file","vnfPkgId"],"members":{"contentType":{"location":"header","locationName":"Content-Type"},"file":{"type":"blob"},"vnfPkgId":{"location":"uri","locationName":"vnfPkgId"}},"payload":"file"},"output":{"type":"structure","required":["id","metadata","vnfProductName","vnfProvider","vnfdId","vnfdVersion"],"members":{"id":{},"metadata":{"type":"structure","members":{"vnfd":{"shape":"S1a"}}},"vnfProductName":{},"vnfProvider":{},"vnfdId":{},"vnfdVersion":{}}},"idempotent":true},"PutSolNetworkPackageContent":{"http":{"method":"PUT","requestUri":"/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content","responseCode":200},"input":{"type":"structure","required":["file","nsdInfoId"],"members":{"contentType":{"location":"header","locationName":"Content-Type"},"file":{"type":"blob"},"nsdInfoId":{"location":"uri","locationName":"nsdInfoId"}},"payload":"file"},"output":{"type":"structure","required":["arn","id","metadata","nsdId","nsdName","nsdVersion","vnfPkgIds"],"members":{"arn":{},"id":{},"metadata":{"type":"structure","members":{"nsd":{"shape":"S27"}}},"nsdId":{},"nsdName":{},"nsdVersion":{},"vnfPkgIds":{"shape":"S28"}}},"idempotent":true},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S4"}}},"output":{"type":"structure","members":{}},"idempotent":true},"TerminateSolNetworkInstance":{"http":{"requestUri":"/sol/nslcm/v1/ns_instances/{nsInstanceId}/terminate","responseCode":201},"input":{"type":"structure","required":["nsInstanceId"],"members":{"nsInstanceId":{"location":"uri","locationName":"nsInstanceId"}}},"output":{"type":"structure","members":{"nsLcmOpOccId":{}}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}},"idempotent":true},"UpdateSolFunctionPackage":{"http":{"method":"PATCH","requestUri":"/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}","responseCode":200},"input":{"type":"structure","required":["operationalState","vnfPkgId"],"members":{"operationalState":{},"vnfPkgId":{"location":"uri","locationName":"vnfPkgId"}}},"output":{"type":"structure","required":["operationalState"],"members":{"operationalState":{}}}},"UpdateSolNetworkInstance":{"http":{"requestUri":"/sol/nslcm/v1/ns_instances/{nsInstanceId}/update","responseCode":201},"input":{"type":"structure","required":["nsInstanceId","updateType"],"members":{"modifyVnfInfoData":{"type":"structure","required":["vnfConfigurableProperties","vnfInstanceId"],"members":{"vnfConfigurableProperties":{"shape":"S2e"},"vnfInstanceId":{}}},"nsInstanceId":{"location":"uri","locationName":"nsInstanceId"},"updateType":{}}},"output":{"type":"structure","members":{"nsLcmOpOccId":{}}}},"UpdateSolNetworkPackage":{"http":{"method":"PATCH","requestUri":"/sol/nsd/v1/ns_descriptors/{nsdInfoId}","responseCode":200},"input":{"type":"structure","required":["nsdInfoId","nsdOperationalState"],"members":{"nsdInfoId":{"location":"uri","locationName":"nsdInfoId"},"nsdOperationalState":{}}},"output":{"type":"structure","required":["nsdOperationalState"],"members":{"nsdOperationalState":{}}}},"ValidateSolFunctionPackageContent":{"http":{"method":"PUT","requestUri":"/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content/validate","responseCode":202},"input":{"type":"structure","required":["file","vnfPkgId"],"members":{"contentType":{"location":"header","locationName":"Content-Type"},"file":{"type":"blob"},"vnfPkgId":{"location":"uri","locationName":"vnfPkgId"}},"payload":"file"},"output":{"type":"structure","required":["id","metadata","vnfProductName","vnfProvider","vnfdId","vnfdVersion"],"members":{"id":{},"metadata":{"type":"structure","members":{"vnfd":{"shape":"S1a"}}},"vnfProductName":{},"vnfProvider":{},"vnfdId":{},"vnfdVersion":{}}},"idempotent":true},"ValidateSolNetworkPackageContent":{"http":{"method":"PUT","requestUri":"/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content/validate","responseCode":200},"input":{"type":"structure","required":["file","nsdInfoId"],"members":{"contentType":{"location":"header","locationName":"Content-Type"},"file":{"type":"blob"},"nsdInfoId":{"location":"uri","locationName":"nsdInfoId"}},"payload":"file"},"output":{"type":"structure","required":["arn","id","metadata","nsdId","nsdName","nsdVersion","vnfPkgIds"],"members":{"arn":{},"id":{},"metadata":{"type":"structure","members":{"nsd":{"shape":"S27"}}},"nsdId":{},"nsdName":{},"nsdVersion":{},"vnfPkgIds":{"shape":"S28"}}},"idempotent":true}},"shapes":{"S4":{"type":"map","key":{},"value":{},"sensitive":true},"S15":{"type":"timestamp","timestampFormat":"iso8601"},"S1a":{"type":"structure","members":{"overrides":{"shape":"S1b"}}},"S1b":{"type":"list","member":{"type":"structure","members":{"defaultValue":{},"name":{}}}},"S1t":{"type":"structure","required":["detail"],"members":{"detail":{},"title":{}}},"S27":{"type":"structure","members":{"overrides":{"shape":"S1b"}}},"S28":{"type":"list","member":{}},"S2e":{"type":"structure","members":{},"document":true}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2008-10-21","endpointPrefix":"tnb","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"AWS Telco Network Builder","serviceId":"tnb","signatureVersion":"v4","signingName":"tnb","uid":"tnb-2008-10-21"},"operations":{"CancelSolNetworkOperation":{"http":{"requestUri":"/sol/nslcm/v1/ns_lcm_op_occs/{nsLcmOpOccId}/cancel","responseCode":202},"input":{"type":"structure","required":["nsLcmOpOccId"],"members":{"nsLcmOpOccId":{"location":"uri","locationName":"nsLcmOpOccId"}}}},"CreateSolFunctionPackage":{"http":{"requestUri":"/sol/vnfpkgm/v1/vnf_packages","responseCode":201},"input":{"type":"structure","members":{"tags":{"shape":"S4"}}},"output":{"type":"structure","required":["arn","id","onboardingState","operationalState","usageState"],"members":{"arn":{},"id":{},"onboardingState":{},"operationalState":{},"tags":{"shape":"S4"},"usageState":{}}}},"CreateSolNetworkInstance":{"http":{"requestUri":"/sol/nslcm/v1/ns_instances","responseCode":201},"input":{"type":"structure","required":["nsName","nsdInfoId"],"members":{"nsDescription":{},"nsName":{},"nsdInfoId":{},"tags":{"shape":"S4"}}},"output":{"type":"structure","required":["arn","id","nsInstanceName","nsdInfoId"],"members":{"arn":{},"id":{},"nsInstanceName":{},"nsdInfoId":{},"tags":{"shape":"S4"}}}},"CreateSolNetworkPackage":{"http":{"requestUri":"/sol/nsd/v1/ns_descriptors","responseCode":201},"input":{"type":"structure","members":{"tags":{"shape":"S4"}}},"output":{"type":"structure","required":["arn","id","nsdOnboardingState","nsdOperationalState","nsdUsageState"],"members":{"arn":{},"id":{},"nsdOnboardingState":{},"nsdOperationalState":{},"nsdUsageState":{},"tags":{"shape":"S4"}}}},"DeleteSolFunctionPackage":{"http":{"method":"DELETE","requestUri":"/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}","responseCode":204},"input":{"type":"structure","required":["vnfPkgId"],"members":{"vnfPkgId":{"location":"uri","locationName":"vnfPkgId"}}},"idempotent":true},"DeleteSolNetworkInstance":{"http":{"method":"DELETE","requestUri":"/sol/nslcm/v1/ns_instances/{nsInstanceId}","responseCode":204},"input":{"type":"structure","required":["nsInstanceId"],"members":{"nsInstanceId":{"location":"uri","locationName":"nsInstanceId"}}},"idempotent":true},"DeleteSolNetworkPackage":{"http":{"method":"DELETE","requestUri":"/sol/nsd/v1/ns_descriptors/{nsdInfoId}","responseCode":204},"input":{"type":"structure","required":["nsdInfoId"],"members":{"nsdInfoId":{"location":"uri","locationName":"nsdInfoId"}}},"idempotent":true},"GetSolFunctionInstance":{"http":{"method":"GET","requestUri":"/sol/vnflcm/v1/vnf_instances/{vnfInstanceId}","responseCode":200},"input":{"type":"structure","required":["vnfInstanceId"],"members":{"vnfInstanceId":{"location":"uri","locationName":"vnfInstanceId"}}},"output":{"type":"structure","required":["arn","id","instantiationState","metadata","nsInstanceId","vnfPkgId","vnfdId"],"members":{"arn":{},"id":{},"instantiatedVnfInfo":{"type":"structure","members":{"vnfState":{},"vnfcResourceInfo":{"type":"list","member":{"type":"structure","members":{"metadata":{"type":"structure","members":{"cluster":{},"helmChart":{},"nodeGroup":{}}}}}}}},"instantiationState":{},"metadata":{"type":"structure","required":["createdAt","lastModified"],"members":{"createdAt":{"shape":"S15"},"lastModified":{"shape":"S15"}}},"nsInstanceId":{},"tags":{"shape":"S4"},"vnfPkgId":{},"vnfProductName":{},"vnfProvider":{},"vnfdId":{},"vnfdVersion":{}}}},"GetSolFunctionPackage":{"http":{"method":"GET","requestUri":"/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}","responseCode":200},"input":{"type":"structure","required":["vnfPkgId"],"members":{"vnfPkgId":{"location":"uri","locationName":"vnfPkgId"}}},"output":{"type":"structure","required":["arn","id","onboardingState","operationalState","usageState"],"members":{"arn":{},"id":{},"metadata":{"type":"structure","required":["createdAt","lastModified"],"members":{"createdAt":{"shape":"S15"},"lastModified":{"shape":"S15"},"vnfd":{"shape":"S1a"}}},"onboardingState":{},"operationalState":{},"tags":{"shape":"S4"},"usageState":{},"vnfProductName":{},"vnfProvider":{},"vnfdId":{},"vnfdVersion":{}}}},"GetSolFunctionPackageContent":{"http":{"method":"GET","requestUri":"/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content","responseCode":200},"input":{"type":"structure","required":["accept","vnfPkgId"],"members":{"accept":{"location":"header","locationName":"Accept"},"vnfPkgId":{"location":"uri","locationName":"vnfPkgId"}}},"output":{"type":"structure","members":{"contentType":{"location":"header","locationName":"Content-Type"},"packageContent":{"type":"blob"}},"payload":"packageContent"}},"GetSolFunctionPackageDescriptor":{"http":{"method":"GET","requestUri":"/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/vnfd","responseCode":200},"input":{"type":"structure","required":["accept","vnfPkgId"],"members":{"accept":{"location":"header","locationName":"Accept"},"vnfPkgId":{"location":"uri","locationName":"vnfPkgId"}}},"output":{"type":"structure","members":{"contentType":{"location":"header","locationName":"Content-Type"},"vnfd":{"type":"blob"}},"payload":"vnfd"}},"GetSolNetworkInstance":{"http":{"method":"GET","requestUri":"/sol/nslcm/v1/ns_instances/{nsInstanceId}","responseCode":200},"input":{"type":"structure","required":["nsInstanceId"],"members":{"nsInstanceId":{"location":"uri","locationName":"nsInstanceId"}}},"output":{"type":"structure","required":["arn","id","metadata","nsInstanceDescription","nsInstanceName","nsdId","nsdInfoId"],"members":{"arn":{},"id":{},"lcmOpInfo":{"type":"structure","required":["nsLcmOpOccId"],"members":{"nsLcmOpOccId":{}}},"metadata":{"type":"structure","required":["createdAt","lastModified"],"members":{"createdAt":{"shape":"S15"},"lastModified":{"shape":"S15"}}},"nsInstanceDescription":{},"nsInstanceName":{},"nsState":{},"nsdId":{},"nsdInfoId":{},"tags":{"shape":"S4"}}}},"GetSolNetworkOperation":{"http":{"method":"GET","requestUri":"/sol/nslcm/v1/ns_lcm_op_occs/{nsLcmOpOccId}","responseCode":200},"input":{"type":"structure","required":["nsLcmOpOccId"],"members":{"nsLcmOpOccId":{"location":"uri","locationName":"nsLcmOpOccId"}}},"output":{"type":"structure","required":["arn"],"members":{"arn":{},"error":{"shape":"S1t"},"id":{},"lcmOperationType":{},"metadata":{"type":"structure","required":["createdAt","lastModified"],"members":{"createdAt":{"shape":"S15"},"lastModified":{"shape":"S15"}}},"nsInstanceId":{},"operationState":{},"tags":{"shape":"S4"},"tasks":{"type":"list","member":{"type":"structure","members":{"taskContext":{"type":"map","key":{},"value":{}},"taskEndTime":{"shape":"S15"},"taskErrorDetails":{"type":"structure","members":{"cause":{},"details":{}}},"taskName":{},"taskStartTime":{"shape":"S15"},"taskStatus":{}}}}}}},"GetSolNetworkPackage":{"http":{"method":"GET","requestUri":"/sol/nsd/v1/ns_descriptors/{nsdInfoId}","responseCode":200},"input":{"type":"structure","required":["nsdInfoId"],"members":{"nsdInfoId":{"location":"uri","locationName":"nsdInfoId"}}},"output":{"type":"structure","required":["arn","id","metadata","nsdId","nsdName","nsdOnboardingState","nsdOperationalState","nsdUsageState","nsdVersion","vnfPkgIds"],"members":{"arn":{},"id":{},"metadata":{"type":"structure","required":["createdAt","lastModified"],"members":{"createdAt":{"shape":"S15"},"lastModified":{"shape":"S15"},"nsd":{"shape":"S27"}}},"nsdId":{},"nsdName":{},"nsdOnboardingState":{},"nsdOperationalState":{},"nsdUsageState":{},"nsdVersion":{},"tags":{"shape":"S4"},"vnfPkgIds":{"shape":"S28"}}}},"GetSolNetworkPackageContent":{"http":{"method":"GET","requestUri":"/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content","responseCode":200},"input":{"type":"structure","required":["accept","nsdInfoId"],"members":{"accept":{"location":"header","locationName":"Accept"},"nsdInfoId":{"location":"uri","locationName":"nsdInfoId"}}},"output":{"type":"structure","members":{"contentType":{"location":"header","locationName":"Content-Type"},"nsdContent":{"type":"blob"}},"payload":"nsdContent"}},"GetSolNetworkPackageDescriptor":{"http":{"method":"GET","requestUri":"/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd","responseCode":200},"input":{"type":"structure","required":["nsdInfoId"],"members":{"nsdInfoId":{"location":"uri","locationName":"nsdInfoId"}}},"output":{"type":"structure","members":{"contentType":{"location":"header","locationName":"Content-Type"},"nsd":{"type":"blob"}},"payload":"nsd"}},"InstantiateSolNetworkInstance":{"http":{"requestUri":"/sol/nslcm/v1/ns_instances/{nsInstanceId}/instantiate","responseCode":201},"input":{"type":"structure","required":["nsInstanceId"],"members":{"additionalParamsForNs":{"shape":"S2e"},"dryRun":{"location":"querystring","locationName":"dry_run","type":"boolean"},"nsInstanceId":{"location":"uri","locationName":"nsInstanceId"},"tags":{"shape":"S4"}}},"output":{"type":"structure","required":["nsLcmOpOccId"],"members":{"nsLcmOpOccId":{},"tags":{"shape":"S4"}}}},"ListSolFunctionInstances":{"http":{"method":"GET","requestUri":"/sol/vnflcm/v1/vnf_instances","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"max_results","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextpage_opaque_marker"}}},"output":{"type":"structure","members":{"functionInstances":{"type":"list","member":{"type":"structure","required":["arn","id","instantiationState","metadata","nsInstanceId","vnfPkgId"],"members":{"arn":{},"id":{},"instantiatedVnfInfo":{"type":"structure","members":{"vnfState":{}}},"instantiationState":{},"metadata":{"type":"structure","required":["createdAt","lastModified"],"members":{"createdAt":{"shape":"S15"},"lastModified":{"shape":"S15"}}},"nsInstanceId":{},"vnfPkgId":{},"vnfPkgName":{}}}},"nextToken":{}}}},"ListSolFunctionPackages":{"http":{"method":"GET","requestUri":"/sol/vnfpkgm/v1/vnf_packages","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"max_results","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextpage_opaque_marker"}}},"output":{"type":"structure","required":["functionPackages"],"members":{"functionPackages":{"type":"list","member":{"type":"structure","required":["arn","id","onboardingState","operationalState","usageState"],"members":{"arn":{},"id":{},"metadata":{"type":"structure","required":["createdAt","lastModified"],"members":{"createdAt":{"shape":"S15"},"lastModified":{"shape":"S15"}}},"onboardingState":{},"operationalState":{},"usageState":{},"vnfProductName":{},"vnfProvider":{},"vnfdId":{},"vnfdVersion":{}}}},"nextToken":{}}}},"ListSolNetworkInstances":{"http":{"method":"GET","requestUri":"/sol/nslcm/v1/ns_instances","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"max_results","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextpage_opaque_marker"}}},"output":{"type":"structure","members":{"networkInstances":{"type":"list","member":{"type":"structure","required":["arn","id","metadata","nsInstanceDescription","nsInstanceName","nsState","nsdId","nsdInfoId"],"members":{"arn":{},"id":{},"metadata":{"type":"structure","required":["createdAt","lastModified"],"members":{"createdAt":{"shape":"S15"},"lastModified":{"shape":"S15"}}},"nsInstanceDescription":{},"nsInstanceName":{},"nsState":{},"nsdId":{},"nsdInfoId":{}}}},"nextToken":{}}}},"ListSolNetworkOperations":{"http":{"method":"GET","requestUri":"/sol/nslcm/v1/ns_lcm_op_occs","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"max_results","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextpage_opaque_marker"}}},"output":{"type":"structure","members":{"networkOperations":{"type":"list","member":{"type":"structure","required":["arn","id","lcmOperationType","nsInstanceId","operationState"],"members":{"arn":{},"error":{"shape":"S1t"},"id":{},"lcmOperationType":{},"metadata":{"type":"structure","required":["createdAt","lastModified"],"members":{"createdAt":{"shape":"S15"},"lastModified":{"shape":"S15"}}},"nsInstanceId":{},"operationState":{}}}},"nextToken":{}}}},"ListSolNetworkPackages":{"http":{"method":"GET","requestUri":"/sol/nsd/v1/ns_descriptors","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"max_results","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextpage_opaque_marker"}}},"output":{"type":"structure","required":["networkPackages"],"members":{"networkPackages":{"type":"list","member":{"type":"structure","required":["arn","id","metadata","nsdOnboardingState","nsdOperationalState","nsdUsageState"],"members":{"arn":{},"id":{},"metadata":{"type":"structure","required":["createdAt","lastModified"],"members":{"createdAt":{"shape":"S15"},"lastModified":{"shape":"S15"}}},"nsdDesigner":{},"nsdId":{},"nsdInvariantId":{},"nsdName":{},"nsdOnboardingState":{},"nsdOperationalState":{},"nsdUsageState":{},"nsdVersion":{},"vnfPkgIds":{"shape":"S28"}}}},"nextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","required":["tags"],"members":{"tags":{"shape":"S4"}}}},"PutSolFunctionPackageContent":{"http":{"method":"PUT","requestUri":"/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content","responseCode":202},"input":{"type":"structure","required":["file","vnfPkgId"],"members":{"contentType":{"location":"header","locationName":"Content-Type"},"file":{"type":"blob"},"vnfPkgId":{"location":"uri","locationName":"vnfPkgId"}},"payload":"file"},"output":{"type":"structure","required":["id","metadata","vnfProductName","vnfProvider","vnfdId","vnfdVersion"],"members":{"id":{},"metadata":{"type":"structure","members":{"vnfd":{"shape":"S1a"}}},"vnfProductName":{},"vnfProvider":{},"vnfdId":{},"vnfdVersion":{}}},"idempotent":true},"PutSolNetworkPackageContent":{"http":{"method":"PUT","requestUri":"/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content","responseCode":200},"input":{"type":"structure","required":["file","nsdInfoId"],"members":{"contentType":{"location":"header","locationName":"Content-Type"},"file":{"type":"blob"},"nsdInfoId":{"location":"uri","locationName":"nsdInfoId"}},"payload":"file"},"output":{"type":"structure","required":["arn","id","metadata","nsdId","nsdName","nsdVersion","vnfPkgIds"],"members":{"arn":{},"id":{},"metadata":{"type":"structure","members":{"nsd":{"shape":"S27"}}},"nsdId":{},"nsdName":{},"nsdVersion":{},"vnfPkgIds":{"shape":"S28"}}},"idempotent":true},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S4"}}},"output":{"type":"structure","members":{}},"idempotent":true},"TerminateSolNetworkInstance":{"http":{"requestUri":"/sol/nslcm/v1/ns_instances/{nsInstanceId}/terminate","responseCode":201},"input":{"type":"structure","required":["nsInstanceId"],"members":{"nsInstanceId":{"location":"uri","locationName":"nsInstanceId"},"tags":{"shape":"S4"}}},"output":{"type":"structure","members":{"nsLcmOpOccId":{},"tags":{"shape":"S4"}}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}},"idempotent":true},"UpdateSolFunctionPackage":{"http":{"method":"PATCH","requestUri":"/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}","responseCode":200},"input":{"type":"structure","required":["operationalState","vnfPkgId"],"members":{"operationalState":{},"vnfPkgId":{"location":"uri","locationName":"vnfPkgId"}}},"output":{"type":"structure","required":["operationalState"],"members":{"operationalState":{}}}},"UpdateSolNetworkInstance":{"http":{"requestUri":"/sol/nslcm/v1/ns_instances/{nsInstanceId}/update","responseCode":201},"input":{"type":"structure","required":["nsInstanceId","updateType"],"members":{"modifyVnfInfoData":{"type":"structure","required":["vnfConfigurableProperties","vnfInstanceId"],"members":{"vnfConfigurableProperties":{"shape":"S2e"},"vnfInstanceId":{}}},"nsInstanceId":{"location":"uri","locationName":"nsInstanceId"},"tags":{"shape":"S4"},"updateType":{}}},"output":{"type":"structure","members":{"nsLcmOpOccId":{},"tags":{"shape":"S4"}}}},"UpdateSolNetworkPackage":{"http":{"method":"PATCH","requestUri":"/sol/nsd/v1/ns_descriptors/{nsdInfoId}","responseCode":200},"input":{"type":"structure","required":["nsdInfoId","nsdOperationalState"],"members":{"nsdInfoId":{"location":"uri","locationName":"nsdInfoId"},"nsdOperationalState":{}}},"output":{"type":"structure","required":["nsdOperationalState"],"members":{"nsdOperationalState":{}}}},"ValidateSolFunctionPackageContent":{"http":{"method":"PUT","requestUri":"/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content/validate","responseCode":202},"input":{"type":"structure","required":["file","vnfPkgId"],"members":{"contentType":{"location":"header","locationName":"Content-Type"},"file":{"type":"blob"},"vnfPkgId":{"location":"uri","locationName":"vnfPkgId"}},"payload":"file"},"output":{"type":"structure","required":["id","metadata","vnfProductName","vnfProvider","vnfdId","vnfdVersion"],"members":{"id":{},"metadata":{"type":"structure","members":{"vnfd":{"shape":"S1a"}}},"vnfProductName":{},"vnfProvider":{},"vnfdId":{},"vnfdVersion":{}}},"idempotent":true},"ValidateSolNetworkPackageContent":{"http":{"method":"PUT","requestUri":"/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content/validate","responseCode":200},"input":{"type":"structure","required":["file","nsdInfoId"],"members":{"contentType":{"location":"header","locationName":"Content-Type"},"file":{"type":"blob"},"nsdInfoId":{"location":"uri","locationName":"nsdInfoId"}},"payload":"file"},"output":{"type":"structure","required":["arn","id","metadata","nsdId","nsdName","nsdVersion","vnfPkgIds"],"members":{"arn":{},"id":{},"metadata":{"type":"structure","members":{"nsd":{"shape":"S27"}}},"nsdId":{},"nsdName":{},"nsdVersion":{},"vnfPkgIds":{"shape":"S28"}}},"idempotent":true}},"shapes":{"S4":{"type":"map","key":{},"value":{},"sensitive":true},"S15":{"type":"timestamp","timestampFormat":"iso8601"},"S1a":{"type":"structure","members":{"overrides":{"shape":"S1b"}}},"S1b":{"type":"list","member":{"type":"structure","members":{"defaultValue":{},"name":{}}}},"S1t":{"type":"structure","required":["detail"],"members":{"detail":{},"title":{}}},"S27":{"type":"structure","members":{"overrides":{"shape":"S1b"}}},"S28":{"type":"list","member":{}},"S2e":{"type":"structure","members":{},"document":true}}} /***/ }), /* 1281 */ diff --git a/dist/aws-sdk.js b/dist/aws-sdk.js index 571a45c484..b78a7ce8ef 100644 --- a/dist/aws-sdk.js +++ b/dist/aws-sdk.js @@ -1,4 +1,4 @@ -// AWS SDK for JavaScript v2.1333.0 +// AWS SDK for JavaScript v2.1334.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:a,convertToBuffer:i}},{"buffer/":435}],337:[function(e,t,r){function a(e,t){this.hash=new e,this.outer=new e;var r=i(e,t),a=new Uint8Array(e.BLOCK_SIZE);a.set(r);for(var s=0;se.BLOCK_SIZE){var a=new e;a.update(r),r=a.digest()}var i=new Uint8Array(e.BLOCK_SIZE);return i.set(r),i}var s=e("./browserHashUtils");t.exports=a,a.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},a.prototype.digest=function(e){return this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest(e)}},{"./browserHashUtils":336}],338:[function(e,t,r){function a(){this.state=[1732584193,4023233417,2562383102,271733878],this.buffer=new DataView(new ArrayBuffer(c)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}function i(e,t,r,a,i,s){return((t=(t+e&4294967295)+(a+s&4294967295)&4294967295)<>>32-i)+r&4294967295}function s(e,t,r,a,s,o,n){return i(t&r|~t&a,e,t,s,o,n)}function o(e,t,r,a,s,o,n){return i(t&a|r&~a,e,t,s,o,n)}function n(e,t,r,a,s,o,n){return i(t^r^a,e,t,s,o,n)}function u(e,t,r,a,s,o,n){return i(r^(t|~a),e,t,s,o,n)}var p=e("./browserHashUtils"),m=e("buffer/").Buffer,c=64;t.exports=a,a.BLOCK_SIZE=c,a.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,a=t.byteLength;for(this.bytesHashed+=a;a>0;)this.buffer.setUint8(this.bufferLength++,t[r++]),a--,this.bufferLength===c&&(this.hashBuffer(),this.bufferLength=0);return this},a.prototype.digest=function(e){if(!this.finished){var t=this,r=t.buffer,a=t.bufferLength,i=t.bytesHashed,s=8*i;if(r.setUint8(this.bufferLength++,128),a%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},a.prototype.hashBuffer=function(){var e=this,t=e.buffer,r=e.state,a=r[0],i=r[1],p=r[2],m=r[3];a=s(a,i,p,m,t.getUint32(0,!0),7,3614090360),m=s(m,a,i,p,t.getUint32(4,!0),12,3905402710),p=s(p,m,a,i,t.getUint32(8,!0),17,606105819),i=s(i,p,m,a,t.getUint32(12,!0),22,3250441966),a=s(a,i,p,m,t.getUint32(16,!0),7,4118548399),m=s(m,a,i,p,t.getUint32(20,!0),12,1200080426),p=s(p,m,a,i,t.getUint32(24,!0),17,2821735955),i=s(i,p,m,a,t.getUint32(28,!0),22,4249261313),a=s(a,i,p,m,t.getUint32(32,!0),7,1770035416),m=s(m,a,i,p,t.getUint32(36,!0),12,2336552879),p=s(p,m,a,i,t.getUint32(40,!0),17,4294925233),i=s(i,p,m,a,t.getUint32(44,!0),22,2304563134),a=s(a,i,p,m,t.getUint32(48,!0),7,1804603682),m=s(m,a,i,p,t.getUint32(52,!0),12,4254626195),p=s(p,m,a,i,t.getUint32(56,!0),17,2792965006),i=s(i,p,m,a,t.getUint32(60,!0),22,1236535329),a=o(a,i,p,m,t.getUint32(4,!0),5,4129170786),m=o(m,a,i,p,t.getUint32(24,!0),9,3225465664),p=o(p,m,a,i,t.getUint32(44,!0),14,643717713),i=o(i,p,m,a,t.getUint32(0,!0),20,3921069994),a=o(a,i,p,m,t.getUint32(20,!0),5,3593408605),m=o(m,a,i,p,t.getUint32(40,!0),9,38016083),p=o(p,m,a,i,t.getUint32(60,!0),14,3634488961),i=o(i,p,m,a,t.getUint32(16,!0),20,3889429448),a=o(a,i,p,m,t.getUint32(36,!0),5,568446438),m=o(m,a,i,p,t.getUint32(56,!0),9,3275163606),p=o(p,m,a,i,t.getUint32(12,!0),14,4107603335),i=o(i,p,m,a,t.getUint32(32,!0),20,1163531501), -a=o(a,i,p,m,t.getUint32(52,!0),5,2850285829),m=o(m,a,i,p,t.getUint32(8,!0),9,4243563512),p=o(p,m,a,i,t.getUint32(28,!0),14,1735328473),i=o(i,p,m,a,t.getUint32(48,!0),20,2368359562),a=n(a,i,p,m,t.getUint32(20,!0),4,4294588738),m=n(m,a,i,p,t.getUint32(32,!0),11,2272392833),p=n(p,m,a,i,t.getUint32(44,!0),16,1839030562),i=n(i,p,m,a,t.getUint32(56,!0),23,4259657740),a=n(a,i,p,m,t.getUint32(4,!0),4,2763975236),m=n(m,a,i,p,t.getUint32(16,!0),11,1272893353),p=n(p,m,a,i,t.getUint32(28,!0),16,4139469664),i=n(i,p,m,a,t.getUint32(40,!0),23,3200236656),a=n(a,i,p,m,t.getUint32(52,!0),4,681279174),m=n(m,a,i,p,t.getUint32(0,!0),11,3936430074),p=n(p,m,a,i,t.getUint32(12,!0),16,3572445317),i=n(i,p,m,a,t.getUint32(24,!0),23,76029189),a=n(a,i,p,m,t.getUint32(36,!0),4,3654602809),m=n(m,a,i,p,t.getUint32(48,!0),11,3873151461),p=n(p,m,a,i,t.getUint32(60,!0),16,530742520),i=n(i,p,m,a,t.getUint32(8,!0),23,3299628645),a=u(a,i,p,m,t.getUint32(0,!0),6,4096336452),m=u(m,a,i,p,t.getUint32(28,!0),10,1126891415),p=u(p,m,a,i,t.getUint32(56,!0),15,2878612391),i=u(i,p,m,a,t.getUint32(20,!0),21,4237533241),a=u(a,i,p,m,t.getUint32(48,!0),6,1700485571),m=u(m,a,i,p,t.getUint32(12,!0),10,2399980690),p=u(p,m,a,i,t.getUint32(40,!0),15,4293915773),i=u(i,p,m,a,t.getUint32(4,!0),21,2240044497),a=u(a,i,p,m,t.getUint32(32,!0),6,1873313359),m=u(m,a,i,p,t.getUint32(60,!0),10,4264355552),p=u(p,m,a,i,t.getUint32(24,!0),15,2734768916),i=u(i,p,m,a,t.getUint32(52,!0),21,1309151649),a=u(a,i,p,m,t.getUint32(16,!0),6,4149444226),m=u(m,a,i,p,t.getUint32(44,!0),10,3174756917),p=u(p,m,a,i,t.getUint32(8,!0),15,718787259),i=u(i,p,m,a,t.getUint32(36,!0),21,3951481745),r[0]=a+r[0]&4294967295,r[1]=i+r[1]&4294967295,r[2]=p+r[2]&4294967295,r[3]=m+r[3]&4294967295}},{"./browserHashUtils":336,"buffer/":435}],339:[function(e,t,r){function a(){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 i=e("buffer/").Buffer,s=e("./browserHashUtils");new Uint32Array([1518500249,1859775393,-1894007588,-899497514]),Math.pow(2,53);t.exports=a,a.BLOCK_SIZE=64,a.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 i(20),a=new DataView(r.buffer);return a.setUint32(0,this.h0,!1),a.setUint32(4,this.h1,!1),a.setUint32(8,this.h2,!1),a.setUint32(12,this.h3,!1),a.setUint32(16,this.h4,!1),e?r.toString(e):r},a.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,a,i=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),a=1518500249):e<40?(r=s^o^n,a=1859775393):e<60?(r=s&o|n&(s|o),a=2400959708):(r=s^o^n,a=3395469782);var p=(i<<5|i>>>27)+r+u+a+(0|this.block[e]);u=n,n=o,o=s<<30|s>>>2,s=i,i=p}for(this.h0=this.h0+i|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":336,"buffer/":435}],340:[function(e,t,r){function a(){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 i=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=a,a.BLOCK_SIZE=64,a.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},a.prototype.digest=function(e){if(!this.finished){var t=8*this.bytesHashed,r=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),a=this.bufferLength;if(r.setUint8(this.bufferLength++,128),a%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 i(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},a.prototype.hashBuffer=function(){for(var e=this,t=e.buffer,r=e.state,a=r[0],i=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 S=(((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,g=((a>>>2|a<<30)^(a>>>13|a<<19)^(a>>>22|a<<10))+(a&i^a&s^i&s)|0;c=m,m=p,p=u,u=n+S|0,n=s,s=i,i=a,a=S+g|0}r[0]+=a,r[1]+=i,r[2]+=s,r[3]+=n,r[4]+=u,r[5]+=p,r[6]+=m,r[7]+=c}},{"./browserHashUtils":336,"buffer/":435}],341:[function(e,t,r){(function(r){(function(){var r=e("./util");r.crypto.lib=e("./browserCryptoLib"),r.Buffer=e("buffer/").Buffer,r.url=e("url/"),r.querystring=e("querystring/"),r.realClock=e("./realclock/browserClock"),r.environment="js",r.createEventStream=e("./event-stream/buffered-create-event-stream").createEventStream,r.isBrowser=function(){return!0},r.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===i)var i={browser:!0}}).call(this)}).call(this,e("_process"))},{"./browserCryptoLib":335,"./core":345,"./credentials":346,"./credentials/chainable_temporary_credentials":347,"./credentials/cognito_identity_credentials":348,"./credentials/credential_provider_chain":349,"./credentials/saml_credentials":350,"./credentials/temporary_credentials":351,"./credentials/web_identity_credentials":352,"./event-stream/buffered-create-event-stream":360,"./http/xhr":368,"./realclock/browserClock":388,"./util":423,"./xml/browser_parser":424,_process:440,"buffer/":435,"querystring/":447,"url/":449}],342:[function(e,t,r){var a=e("../core"),i=a.util.url,s=a.util.crypto.lib,o=a.util.base64.encode,n=a.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,a){var i=JSON.stringify({Statement:[{Resource:e,Condition:{DateLessThan:{"AWS:EpochTime":t}}}]});return{Expires:t,"Key-Pair-Id":r,Signature:p(i.toString(),a)}},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=i.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)},S=function(e,t){if(!t||"function"!=typeof t)return e;t(null,e)};a.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),a={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a["CloudFront-"+i]=r[i]);return S(a,t)},getSignedUrl:function(e,t){try{var r=y(e.url)}catch(e){return b(e,t)}var a=i.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);a.search=null;for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(a.query[o]=s[o]);try{var n="rtmp"===l(e.url)?d(i.format(a)):i.format(a)}catch(e){return b(e,t)}return S(n,t)}}),t.exports=a.CloudFront.Signer},{"../core":345}],343:[function(e,t,r){var a=e("./core");e("./credentials"),e("./credentials/credential_provider_chain");var i;a.Config=a.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),a.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:i.credentials)}function r(e,t){return new a.util.error(t||new Error,{code:"CredentialsError",message:e,name:"CredentialsError"})}var i=this;i.credentials?"function"==typeof i.credentials.get?function(){i.credentials.get(function(e){e&&(e=r("Could not load credentials from "+i.credentials.constructor.name,e)),t(e)})}():function(){var e=null;i.credentials.accessKeyId&&i.credentials.secretAccessKey||(e=r("Missing credentials")),t(e)}():i.credentialProvider?i.credentialProvider.resolve(function(e,a){e&&(e=r("Could not load credentials from any providers",e)),i.credentials=a,t(e)}):t(r("No credentials to load"))},getToken:function(e){function t(t){e(t,t?null:i.token)}function r(e,t){return new a.util.error(t||new Error,{code:"TokenError",message:e,name:"TokenError"})}var i=this;i.token?"function"==typeof i.token.get?function(){i.token.get(function(e){e&&(e=r("Could not load token from "+i.token.constructor.name,e)),t(e)})}():function(){var e=null;i.token.token||(e=r("Missing token")),t(e)}():i.tokenProvider?i.tokenProvider.resolve(function(e,a){e&&(e=r("Could not load token from any providers",e)),i.token=a,t(e)}):t(r("No token to load"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),a.util.each.call(this,e,function(e,r){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||a.Service.hasService(e))&&this.set(e,r)})},loadFromPath:function(e){this.clear();var t=JSON.parse(a.util.readFileSync(e)),r=new a.FileSystemCredentials(e),i=new a.CredentialProviderChain;return i.providers.unshift(r),i.resolve(function(e,r){if(e)throw e;t.credentials=r}),this.constructor(t),this},clear:function(){a.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]=a.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,s3UsEast1RegionalEndpoint:"legacy",s3UseArnRegion:void 0,computeChecksums:!0,convertResponseTypes:!0,correctClockSkew:!1,customUserAgent:null,dynamoDbCrc32:!0,systemClockOffset:0,signatureVersion:null,signatureCache:!0,retryDelayOptions:{},useAccelerateEndpoint:!1,clientSideMonitoring:!1,endpointDiscoveryEnabled:void 0,endpointCacheSize:1e3,hostPrefixEnabled:!0,stsRegionalEndpoints:"legacy",useFipsEndpoint:!1,useDualstackEndpoint:!1,token:null},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&(e=a.util.copy(e),e.credentials=new a.Credentials(e)),e},setPromisesDependency:function(e){i=e,null===e&&"function"==typeof Promise&&(i=Promise);var t=[a.Request,a.Credentials,a.CredentialProviderChain];a.S3&&(t.push(a.S3),a.S3.ManagedUpload&&t.push(a.S3.ManagedUpload)),a.util.addPromises(t,i)},getPromisesDependency:function(){return i}}),a.config=new a.Config},{"./core":345,"./credentials":346,"./credentials/credential_provider_chain":349}],344:[function(e,t,r){(function(r){(function(){function a(e,t){if("string"==typeof e){if(["legacy","regional"].indexOf(e.toLowerCase())>=0)return e.toLowerCase();throw s.util.error(new Error,t)}}function i(e,t){e=e||{};var i;if(e[t.clientConfig]&&(i=a(e[t.clientConfig],{code:"InvalidConfiguration",message:'invalid "'+t.clientConfig+'" configuration. Expect "legacy" or "regional". Got "'+e[t.clientConfig]+'".'})))return i;if(!s.util.isNode())return i;if(Object.prototype.hasOwnProperty.call(r.env,t.env)){if(i=a(r.env[t.env],{code:"InvalidEnvironmentalVariable",message:"invalid "+t.env+' environmental variable. Expect "legacy" or "regional". Got "'+r.env[t.env]+'".'}))return i}var o={};try{o=s.util.getProfilesFromSharedConfig(s.util.iniLoader)[r.env.AWS_PROFILE||s.util.defaultProfile]}catch(e){}if(o&&Object.prototype.hasOwnProperty.call(o,t.sharedConfig)){if(i=a(o[t.sharedConfig],{code:"InvalidConfiguration",message:"invalid "+t.sharedConfig+' profile config. Expect "legacy" or "regional". Got "'+o[t.sharedConfig]+'".'}))return i}return i}var s=e("./core");t.exports=i}).call(this)}).call(this,e("_process"))},{"./core":345,_process:440}],345:[function(e,t,r){var a={util:e("./util")};({}).toString(),t.exports=a,a.util.update(a,{VERSION:"2.1333.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"),e("./maintenance_mode_message"),a.events=new a.SequentialExecutor,a.util.memoizedProperty(a,"endpointCache",function(){return new a.EndpointCache(a.config.endpointCacheSize)},!0)},{"../vendor/endpoint-cache":460,"./api_loader":334,"./config":343,"./event_listeners":366,"./http":367,"./json/builder":369,"./json/parser":370,"./maintenance_mode_message":371,"./model/api":372,"./model/operation":374,"./model/paginator":375,"./model/resource_waiter":376,"./model/shape":377,"./param_validator":378,"./protocol/json":381,"./protocol/query":382,"./protocol/rest":383,"./protocol/rest_json":384,"./protocol/rest_xml":385,"./request":392,"./resource_waiter":393,"./response":394,"./sequential_executor":396,"./service":397,"./signers/request_signer":415,"./util":423,"./xml/builder":425}],346:[function(e,t,r){var a=e("./core");a.Credentials=a.util.inherit({constructor:function(){if(a.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=a.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){a.util.arrayEach(r.refreshCallbacks,function(r){t?r(e):a.util.defer(function(){r(e)})}),r.refreshCallbacks.length=0})},load:function(e){e()}}),a.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=a.util.promisifyMethod("get",e),this.prototype.refreshPromise=a.util.promisifyMethod("refresh",e)},a.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},a.util.addPromises(a.Credentials)},{"./core":345}],347:[function(e,t,r){var a=e("../core"),i=e("../../clients/sts");a.ChainableTemporaryCredentials=a.util.inherit(a.Credentials,{constructor:function(e){a.Credentials.call(this),e=e||{},this.errorCode="ChainableTemporaryCredentialsProviderFailure",this.expired=!0,this.tokenCodeFn=null;var t=a.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||"temporary-credentials"),t.SerialNumber){if(!e.tokenCodeFn||"function"!=typeof e.tokenCodeFn)throw new a.util.error(new Error("tokenCodeFn must be a function when params.SerialNumber is given"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var r=a.util.merge({params:t,credentials:e.masterCredentials||a.config.credentials},e.stsConfig||{});this.service=new i(r)},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this,r=t.service.config.params.RoleArn?"assumeRole":"getSessionToken";this.getTokenCode(function(a,i){var s={};if(a)return void e(a);i&&(s.TokenCode=i),t.service[r](s,function(r,a){r||t.service.credentialsFrom(a,t),e(r)})})},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,function(r,i){if(r){var s=r;return r instanceof Error&&(s=r.message),void e(a.util.error(new Error("Error fetching MFA token: "+s),{code:t.errorCode}))}e(null,i)}):e(null)}})},{"../../clients/sts":329,"../core":345}],348:[function(e,t,r){var a=e("../core"),i=e("../../clients/cognitoidentity"),s=e("../../clients/sts");a.CognitoIdentityCredentials=a.util.inherit(a.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e,t){a.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=a.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||a.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,a){!r&&a.IdentityId?(t.params.IdentityId=a.IdentityId,e(null,a.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,a){r?t.clearIdOnNotAuthorized(r):(t.cacheId(a),t.data=a,t.loadCredentials(t.data,t)),e(r)})},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken(function(r,a){r?(t.clearIdOnNotAuthorized(r),e(r)):(t.cacheId(a),t.params.WebIdentityToken=a.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(a.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 a.WebIdentityCredentials(this.params,e),!this.cognito){var t=a.util.merge({},e);t.params=this.params,this.cognito=new i(t)}this.sts=this.sts||new s(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,a.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=a.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":260,"../../clients/sts":329,"../core":345}],349:[function(e,t,r){var a=e("../core");a.CredentialProviderChain=a.util.inherit(a.Credentials,{constructor:function(e){this.providers=e||a.CredentialProviderChain.defaultProviders.slice(0),this.resolveCallbacks=[]},resolve:function(e){function t(e,o){if(!e&&o||i===s.length)return a.util.arrayEach(r.resolveCallbacks,function(t){t(e,o)}),void(r.resolveCallbacks.length=0);var n=s[i++];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 i=0,s=r.providers.slice(0);t()}return r}}),a.CredentialProviderChain.defaultProviders=[],a.CredentialProviderChain.addPromisesToClass=function(e){this.prototype.resolvePromise=a.util.promisifyMethod("resolve",e)},a.CredentialProviderChain.deletePromisesFromClass=function(){delete this.prototype.resolvePromise},a.util.addPromises(a.CredentialProviderChain)},{"../core":345}],350:[function(e,t,r){var a=e("../core"),i=e("../../clients/sts");a.SAMLCredentials=a.util.inherit(a.Credentials,{constructor:function(e){a.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithSAML(function(r,a){r||t.service.credentialsFrom(a,t),e(r)})},createClients:function(){this.service=this.service||new i({params:this.params})}})},{"../../clients/sts":329,"../core":345}],351:[function(e,t,r){var a=e("../core"),i=e("../../clients/sts");a.TemporaryCredentials=a.util.inherit(a.Credentials,{constructor:function(e,t){a.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||a.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,a){r||t.service.credentialsFrom(a,t),e(r)})})},loadMasterCredentials:function(e){for(this.masterCredentials=e||a.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials;"function"!=typeof this.masterCredentials.get&&(this.masterCredentials=new a.Credentials(this.masterCredentials))},createClients:function(){this.service=this.service||new i({params:this.params})}})},{"../../clients/sts":329,"../core":345}],352:[function(e,t,r){var a=e("../core"),i=e("../../clients/sts");a.WebIdentityCredentials=a.util.inherit(a.Credentials,{constructor:function(e,t){a.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null,this._clientConfig=a.util.copy(t||{})},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithWebIdentity(function(r,a){t.data=null,r||(t.data=a,t.service.credentialsFrom(a,t)),e(r)})},createClients:function(){if(!this.service){var e=a.util.merge({},this._clientConfig);e.params=this.params,this.service=new i(e)}}})},{"../../clients/sts":329,"../core":345}],353:[function(e,t,r){(function(r){(function(){function a(e){var t=e.service,r=t.api||{},a={};return t.config.region&&(a.region=t.config.region),r.serviceId&&(a.serviceId=r.serviceId),t.config.credentials.accessKeyId&&(a.accessKeyId=t.config.credentials.accessKeyId),a}function i(e,t,r){r&&void 0!==t&&null!==t&&"structure"===r.type&&r.required&&r.required.length>0&&b.arrayEach(r.required,function(a){var s=r.members[a];if(!0===s.endpointDiscoveryId){var o=s.isLocationName?s.name:a;e[o]=String(t[a])}else i(e,t[a],s)})}function s(e,t){var r={};return i(r,e.params,t),r}function o(e){var t=e.service,r=t.api,i=r.operations?r.operations[e.operation]:void 0,o=i?i.input:void 0,n=s(e,o),p=a(e);Object.keys(n).length>0&&(p=b.update(p,n),i&&(p.operation=i.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:i.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,i=r.api,o=i.operations?i.operations[e.operation]:void 0,n=o?o.input:void 0,p=s(e,n),m=a(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 g[c]||(g[c]=[]),void g[c].push({request:e,callback:t});if(l&&l.length>0)e.httpRequest.updateEndpoint(l[0].Address),t();else{var d=r.makeRequest(i.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,a){if(r){if(e.response.error=b.error(r,{retryable:!1}),y.endpointCache.remove(m),g[c]){var i=g[c];b.arrayEach(i,function(e){e.request.response.error=b.error(r,{retryable:!1}),e.callback()}),delete g[c]}}else if(a&&(y.endpointCache.put(c,a.Endpoints),e.httpRequest.updateEndpoint(a.Endpoints[0].Address),g[c])){var i=g[c];b.arrayEach(i,function(e){e.request.httpRequest.updateEndpoint(a.Endpoints[0].Address),e.callback()}),delete g[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 i=e.request,o=i.service.api.operations||{},n=o[i.operation]?o[i.operation].input:void 0,u=s(i,n),p=a(i);Object.keys(u).length>0&&(p=b.update(p,u),o[i.operation]&&(p.operation=o[i.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){var t=e.service||{};if(void 0!==t.config.endpointDiscoveryEnabled)return t.config.endpointDiscoveryEnabled;if(!b.isBrowser()){for(var a=0;a-1&&0===++e[t];t--);}var s=e("../core").util,o=s.buffer.toBuffer;a.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&&i(t),new a(t)},a.prototype.valueOf=function(){var e=this.bytes.slice(0),t=128&e[0];return t&&i(e),parseInt(e.toString("hex"),16)*(t?-1:1)},a.prototype.toString=function(){return String(this.valueOf())},t.exports={Int64:a}},{"../core":345}],363:[function(e,t,r){function a(e,t,r){var a=s(t),o=a.headers[":message-type"];if(o){if("error"===o.value)throw i(a);if("event"!==o.value)return}var n=a.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]=a.body:p[m]=e.parse(a.body.toString(),c)}for(var l=u.eventHeaderMemberNames,d=0;d=0)return e.httpRequest.headers["X-Amz-Content-Sha256"]="UNSIGNED-PAYLOAD",t();i.util.computeSha256(s,function(r,a){r?t(r):(e.httpRequest.headers["X-Amz-Content-Sha256"]=a,t())})}else t()}}),e("SET_CONTENT_LENGTH","afterBuild",function(e){var t=r(e),a=i.util.getRequestPayloadShape(e);if(void 0===e.httpRequest.headers["Content-Length"])try{var s=i.util.string.byteLength(e.httpRequest.body);e.httpRequest.headers["Content-Length"]=s}catch(r){if(a&&a.isStreaming){if(a.requiresLength)throw r;if(t.indexOf("unsigned-body")>=0)return void(e.httpRequest.headers["Transfer-Encoding"]="chunked");throw r}throw r}}),e("SET_HTTP_HOST","afterBuild",function(e){e.httpRequest.headers.Host=e.httpRequest.endpoint.host}),e("SET_TRACE_ID","afterBuild",function(e){if(i.util.isNode()&&!Object.hasOwnProperty.call(e.httpRequest.headers,"X-Amzn-Trace-Id")){var r=t.env.AWS_LAMBDA_FUNCTION_NAME,a=t.env._X_AMZN_TRACE_ID;"string"==typeof r&&r.length>0&&"string"==typeof a&&a.length>0&&(e.httpRequest.headers["X-Amzn-Trace-Id"]=a)}}),e("RESTART","restart",function(){var e=this.response.error;e&&e.retryable&&(this.httpRequest=new i.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,a){r.httpResponse.statusCode=e,r.httpResponse.statusMessage=a,r.httpResponse.headers=t,r.httpResponse.body=i.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(i.util.isNode()){t.httpResponse.numBytes+=e.length;var r=t.httpResponse.headers["content-length"],a={loaded:t.httpResponse.numBytes,total:r};t.request.emit("httpDownloadProgress",[a,t])}t.httpResponse.buffers.push(i.util.buffer.toBuffer(e))}}),e("HTTP_DONE","httpDone",function(e){if(e.httpResponse.buffers&&e.httpResponse.buffers.length>0){var t=i.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 i.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=0?(e.error=null,setTimeout(t,r)):t()})}),CorePost:(new s).addNamedListeners(function(e){e("EXTRACT_REQUEST_ID","extractData",i.util.extractRequestId),e("EXTRACT_REQUEST_ID","extractError",i.util.extractRequestId),e("ENOTFOUND_ERROR","httpError",function(e){if("NetworkingError"===e.code&&function(e){return"ENOTFOUND"===e.errno||"number"==typeof e.errno&&"function"==typeof i.util.getSystemErrorName&&["EAI_NONAME","EAI_NODATA"].indexOf(i.util.getSystemErrorName(e.errno)>=0)}(e)){var t="Inaccessible host: `"+e.hostname+"' at port `"+e.port+"'. This service may not be available in the `"+e.region+"' region.";this.response.error=i.util.error(new Error(t),{code:"UnknownEndpoint",region:e.region,hostname:e.hostname,retryable:!0,originalError:e})}})}),Logger:(new s).addNamedListeners(function(t){t("LOG_REQUEST","complete",function(t){function r(e,t){if(!t)return t;if(e.isSensitive)return"***SensitiveInformation***";switch(e.type){case"structure":var a={};return i.util.each(t,function(t,i){Object.prototype.hasOwnProperty.call(e.members,t)?a[t]=r(e.members[t],i):a[t]=i}),a;case"list":var s=[];return i.util.arrayEach(t,function(t,a){s.push(r(e.member,t))}),s;case"map":var o={};return i.util.each(t,function(t,a){o[t]=r(e.value,a)}),o;default:return t}}var a=t.request,s=a.service.config.logger;if(s){var o=function(){var o=t.request.service.getSkewCorrectedDate().getTime(),n=(o-a.startTime.getTime())/1e3,u=!!s.isTTY,p=t.httpResponse.statusCode,m=a.params;if(a.service.api.operations&&a.service.api.operations[a.operation]&&a.service.api.operations[a.operation].input){m=r(a.service.api.operations[a.operation].input,a.params)}var c=e("util").inspect(m,!0,null),l="";return u&&(l+=""),l+="[AWS "+a.service.serviceIdentifier+" "+p,l+=" "+n.toString()+"s "+t.retryCount+" retries]",u&&(l+=""),l+=" "+i.util.string.lowerFirst(a.operation),l+="("+c+")",u&&(l+=""),l}();"function"==typeof s.log?s.log(o):"function"==typeof s.write&&s.write(o+"\n")}})}),Json:(new s).addNamedListeners(function(t){var r=e("./protocol/json");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),Rest:(new s).addNamedListeners(function(t){var r=e("./protocol/rest");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),RestJson:(new s).addNamedListeners(function(t){var r=e("./protocol/rest_json");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError),t("UNSET_CONTENT_LENGTH","afterBuild",r.unsetContentLength)}),RestXml:(new s).addNamedListeners(function(t){var r=e("./protocol/rest_xml");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),Query:(new s).addNamedListeners(function(t){var r=e("./protocol/query");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)})}}).call(this)}).call(this,e("_process"))},{"./core":345,"./discover_endpoint":353,"./protocol/json":381,"./protocol/query":382,"./protocol/rest":383,"./protocol/rest_json":384,"./protocol/rest_xml":385,"./sequential_executor":396,_process:440,util:434}],367:[function(e,t,r){var a=e("./core"),i=a.util.inherit;a.Endpoint=i({constructor:function(e,t){if(a.util.hideProperties(this,["slashes","auth","hash","search","query"]),void 0===e||null===e)throw new Error("Invalid endpoint: "+e);if("string"!=typeof e)return a.util.copy(e);if(!e.match(/^http/)){e=((t&&void 0!==t.sslEnabled?t.sslEnabled:a.config.sslEnabled)?"https":"http")+"://"+e}a.util.update(this,a.util.urlParse(e)),this.port?this.port=parseInt(this.port,10):this.port="https:"===this.protocol?443:80}}),a.HttpRequest=i({constructor:function(e,t){e=new a.Endpoint(e),this.method="POST",this.path=e.path||"/",this.headers={},this.body="",this.endpoint=e,this.region=t,this._userAgent="",this.setUserAgent()},setUserAgent:function(){this._userAgent=this.headers[this.getUserAgentHeaderName()]=a.util.userAgent()},getUserAgentHeaderName:function(){return(a.util.isBrowser()?"X-Amz-":"")+"User-Agent"},appendToUserAgent:function(e){"string"==typeof e&&e&&(this._userAgent+=" "+e),this.headers[this.getUserAgentHeaderName()]=this._userAgent},getUserAgent:function(){return this._userAgent},pathname:function(){return this.path.split("?",1)[0]},search:function(){var e=this.path.split("?",2)[1];return e?(e=a.util.queryStringParse(e),a.util.queryParamsToString(e)):""},updateEndpoint:function(e){var t=new a.Endpoint(e);this.endpoint=t,this.path=t.path||"/",this.headers.Host&&(this.headers.Host=t.host)}}),a.HttpResponse=i({constructor:function(){this.statusCode=void 0,this.headers={},this.body=void 0,this.streaming=!1,this.stream=null},createUnbufferedStream:function(){return this.streaming=!0,this.stream}}),a.HttpClient=i({}),a.HttpClient.getInstance=function(){return void 0===this.singleton&&(this.singleton=new this),this.singleton}},{"./core":345}],368:[function(e,t,r){var a=e("../core"),i=e("events").EventEmitter;e("../http"),a.XHRClient=a.util.inherit({handleRequest:function(e,t,r,s){var o=this,n=e.endpoint,u=new i,p=n.protocol+"//"+n.hostname;80!==n.port&&443!==n.port&&(p+=":"+n.port),p+=e.path;var m=new XMLHttpRequest,c=!1;e.stream=m,m.addEventListener("readystatechange",function(){try{if(0===m.status)return}catch(e){return}this.readyState>=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(a.util.error(new Error("Timeout"),{code:"TimeoutError"}))},!1),m.addEventListener("error",function(){s(a.util.error(new Error("Network Failure"),{code:"NetworkingError"}))},!1),m.addEventListener("abort",function(){s(a.util.error(new Error("Request aborted"),{code:"RequestAbortedError"}))},!1),r(u),m.open(e.method,p,!1!==t.xhrAsync),a.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 a.util.arrayEach(e.split(/\r?\n/),function(e){var r=e.split(":",1)[0],a=e.substring(r.length+2);r.length>0&&(t[r.toLowerCase()]=a)}),t},finishRequest:function(e,t){var r;if("arraybuffer"===e.responseType&&e.response){var i=e.response;r=new a.util.Buffer(i.byteLength);for(var s=new Uint8Array(i),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=h.base64.decode(e);if(this.isSensitive&&h.isNode()&&"function"==typeof h.Buffer.alloc){var r=h.Buffer.alloc(t.length,t);t.fill(0),t=r}return t},this.toWireFormat=h.base64.encode}function b(){y.apply(this,arguments)}function S(){s.apply(this,arguments),this.toType=function(e){return"boolean"==typeof e?e:null===e||void 0===e?null:"true"===e}}var g=e("./collection"),h=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:S,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 a=s.resolve(e,t);if(a){var i=Object.keys(e);t.documentation||(i=i.filter(function(e){return!e.match(/documentation/)}));var o=function(){a.constructor.call(this,e,t,r)};return o.prototype=a,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:S,Base64Shape:b},t.exports=s},{"../util":423,"./collection":373}],378:[function(e,t,r){var a=e("./core");a.ParamValidator=a.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 i=this.errors.join("\n* ");throw i="There were "+this.errors.length+" validation errors:\n* "+i,a.util.error(new Error(i),{code:"MultipleValidationErrors",errors:this.errors})}if(1===this.errors.length)throw this.errors[0];return!0},fail:function(e,t){this.errors.push(a.util.error(new Error(t),{code:e}))},validateStructure:function(e,t,r){if(e.isDocument)return!0;this.validateType(t,r,["object"],"structure");for(var a,i=0;e.required&&i= 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,a){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 "+a+" <= "+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,i){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:a}},{"../core":345,"../util":423}],381:[function(e,t,r){function a(e){var t=e.httpRequest,r=e.service.api,a=r.targetPrefix+"."+r.operations[e.operation].name,i=r.jsonVersion||"1.0",s=r.operations[e.operation].input,o=new n;1===i&&(i="1.0"),t.body=o.build(e.params||{},s),t.headers["Content-Type"]="application/x-amz-json-"+i,t.headers["X-Amz-Target"]=a,p(e)}function i(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 a=JSON.parse(r.body.toString()),i=a.__type||a.code||a.Code;i&&(t.code=i.split("#").pop()),"RequestEntityTooLarge"===t.code?t.message="Request body must be less than 1 MB":t.message=a.message||a.Message||null}catch(a){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],a=r.output||{},i=new u;e.data=i.parse(t,a)}}var o=e("../util"),n=e("../json/builder"),u=e("../json/parser"),p=e("./helpers").populateHostPrefix;t.exports={buildRequest:a,extractError:i,extractData:s}},{"../json/builder":369,"../json/parser":370,"../util":423,"./helpers":380}],382:[function(e,t,r){function a(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 i(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;t=0&&delete e.httpRequest.headers["Content-Length"]}function i(e){var t=new l,r=e.service.api.operations[e.operation].input;if(r.payload){var a={},i=r.members[r.payload];a=e.params[r.payload],"structure"===i.type?(e.httpRequest.body=t.build(a||{},i),s(e)):void 0!==a&&(e.httpRequest.body=a,("binary"===i.type||i.isStreaming)&&s(e,!0))}else e.httpRequest.body=t.build(e.params,r),s(e)}function s(e,t){if(!e.httpRequest.headers["Content-Type"]){var r=t?"binary/octet-stream":"application/json";e.httpRequest.headers["Content-Type"]=r}}function o(e){m.buildRequest(e),y.indexOf(e.httpRequest.method)<0&&i(e)}function n(e){c.extractError(e)}function u(e){m.extractData(e);var t,r=e.request,a=r.service.api.operations[r.operation],i=r.service.api.operations[r.operation].output||{};a.hasEventOutput;if(i.payload){var s=i.members[i.payload],o=e.httpResponse.body;if(s.isEventStream)t=new d,e.data[payload]=p.createEventStream(2===AWS.HttpClient.streamsApiVersion?e.httpResponse.stream:o,t,s);else if("structure"===s.type||"list"===s.type){var t=new d;e.data[i.payload]=t.parse(o,s)}else"binary"===s.type||s.isStreaming?e.data[i.payload]=o:e.data[i.payload]=s.toType(o)}else{var n=e.data;c.extractData(e),e.data=p.merge(n,e.data)}}var p=e("../util"),m=e("./rest"),c=e("./json"),l=e("../json/builder"),d=e("../json/parser"),y=["GET","HEAD","DELETE"];t.exports={buildRequest:o,extractError:n,extractData:u,unsetContentLength:a}},{"../json/builder":369,"../json/parser":370,"../util":423,"./json":381,"./rest":383}],385:[function(e,t,r){function a(e){var t=e.service.api.operations[e.operation].input,r=new n.XML.Builder,a=e.params,i=t.payload;if(i){var s=t.members[i];if(void 0===(a=a[i]))return;if("structure"===s.type){var o=s.name;e.httpRequest.body=r.toXML(a,s,o,!0)}else e.httpRequest.body=a}else e.httpRequest.body=r.toXML(a,t,t.name||t.shape||u.string.upperFirst(e.operation)+"Request")}function i(e){p.buildRequest(e),["GET","HEAD"].indexOf(e.httpRequest.method)<0&&a(e)}function s(e){p.extractError(e);var t;try{t=(new n.XML.Parser).parse(e.httpResponse.body.toString())}catch(r){t={Code:e.httpResponse.statusCode,Message:e.httpResponse.statusMessage}}t.Errors&&(t=t.Errors),t.Error&&(t=t.Error),t.Code?e.error=u.error(new Error,{code:t.Code,message:t.Message}):e.error=u.error(new Error,{code:e.httpResponse.statusCode,message:null})}function o(e){p.extractData(e);var t,r=e.request,a=e.httpResponse.body,i=r.service.api.operations[r.operation],s=i.output,o=(i.hasEventOutput,s.payload);if(o){var m=s.members[o];m.isEventStream?(t=new n.XML.Parser,e.data[o]=u.createEventStream(2===n.HttpClient.streamsApiVersion?e.httpResponse.stream:e.httpResponse.body,t,m)):"structure"===m.type?(t=new n.XML.Parser,e.data[o]=t.parse(a.toString(),m)):"binary"===m.type||m.isStreaming?e.data[o]=a:e.data[o]=m.toType(a)}else if(a.length>0){t=new n.XML.Parser;var c=t.parse(a.toString(),s);u.update(e.data,c)}}var n=e("../core"),u=e("../util"),p=e("./rest");t.exports={buildRequest:i,extractError:s,extractData:o}},{"../core":345,"../util":423,"./rest":383}],386:[function(e,t,r){function a(){}function i(e){return e.isQueryName||"ec2"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function s(e,t,r,a){p.each(r.members,function(r,s){var o=t[r];if(null!==o&&void 0!==o){var n=i(s);n=e?e+"."+n:n,u(n,o,s,a)}})}function o(e,t,r,a){var i=1;p.each(t,function(t,s){var o=r.flattened?".":".entry.",n=o+i+++".",p=n+(r.key.name||"key"),m=n+(r.value.name||"value");u(e+p,t,r.key,a),u(e+m,s,r.value,a)})}function n(e,t,r,a){var s=r.member||{};if(0===t.length)return void a.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(i(s)),e=p.join(".")}}else n="."+(s.name?s.name:"member")+n;u(e+n,t,s,a)})}function u(e,t,r,a){null!==t&&void 0!==t&&("structure"===r.type?s(e,t,r,a):"list"===r.type?n(e,t,r,a):"map"===r.type?o(e,t,r,a):a(e,r.toWireFormat(t).toString()))}var p=e("../util");a.prototype.serialize=function(e,t,r){s("",e,t,r)},t.exports=a},{"../util":423}],387:[function(e,t,r){var a=e("../core"),i=null,s={signatureVersion:"v4",signingName:"rds-db",operations:{}},o={region:"string",hostname:"string",port:"number",username:"string"};a.RDS.Signer=a.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=a.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 a.Endpoint(e.hostname+":"+e.port),paramValidation:!1,signatureVersion:"v4"};e.credentials&&(u.credentials=e.credentials),i=new a.Service(u),i.api=s;var p=i.makeRequest();if(this.modifyRequestForAuthToken(p,e),!o){var m=p.presign(900);return this.convertUrlToAuthToken(m)}p.presign(900,function(e,a){a&&(a=r.convertUrlToAuthToken(a)),t(e,a)})},modifyRequestForAuthToken:function(e,t){e.on("build",e.buildAsGet),e.httpRequest.body=a.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||a.util.error(new Error,{code:"InvalidParameter",message:t})}})},{"../core":345}],388:[function(e,t,r){t.exports={now:function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}}},{}],389:[function(e,t,r){function a(e){return"string"==typeof e&&(e.startsWith("fips-")||e.endsWith("-fips"))}function i(e){return"string"==typeof e&&["aws-global","aws-us-gov-global"].includes(e)}function s(e){return["fips-aws-global","aws-fips","aws-global"].includes(e)?"us-east-1":["fips-aws-us-gov-global","aws-us-gov-global"].includes(e)?"us-gov-west-1":e.replace(/fips-(dkr-|prod-)?|-fips/,"")}t.exports={isFipsRegion:a,isGlobalRegion:i,getRealRegion:s}},{}],390:[function(e,t,r){function a(e){if(!e)return null;var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}function i(e){var t=e.config.region,r=a(t),i=e.api.endpointPrefix;return[[t,i],[r,i],[t,"*"],[r,"*"],["*",i],["*","*"]].map(function(e){return e[0]&&e[1]?e.join("/"):null})}function s(e,t){u.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=i(e),r=e.config.useFipsEndpoint,a=e.config.useDualstackEndpoint,o=0;o=0){u=!0;var p=0}var m=function(){u&&p!==n?i.emit("error",a.util.error(new Error("Stream content length mismatch. Received "+p+" of "+n+" bytes."),{code:"StreamContentLengthMismatch"})):2===a.HttpClient.streamsApiVersion?i.end():i.emit("end")},c=o.httpResponse.createUnbufferedStream();if(2===a.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),i.on("error",function(e){u=!1,c.unpipe(l),l.emit("end"),l.end()}),c.pipe(l).pipe(i,{end:!1})}else c.pipe(i);else u&&c.on("data",function(e){e&&e.length&&(p+=e.length)}),c.on("data",function(e){i.emit("data",e)}),c.on("end",m);c.on("error",function(e){u=!1,i.emit("error",e)})}}),i},emitEvent:function(e,t,r){"function"==typeof t&&(r=t,t=null),r||(r=function(){}),t||(t=this.eventParameters(e,this.response)),a.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 a.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",a.EventListeners.Core.VALIDATE_CREDENTIALS),this.removeListener("sign",a.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}}),a.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()})}},a.Request.deletePromisesFromClass=function(){delete this.prototype.promise},a.util.addPromises(a.Request),a.util.mixin(a.Request,a.SequentialExecutor)}).call(this)}).call(this,e("_process"))},{"./core":345,"./state_machine":422,_process:440,jmespath:439}],393:[function(e,t,r){function a(e){var t=e.request._waiter,r=t.config.acceptors,a=!1,i="retry";r.forEach(function(r){if(!a){var s=t.matchers[r.matcher];s&&s(e,r.expected,r.argument)&&(a=!0,i=r.state)}}),!a&&e.error&&(i="failure"),"success"===i?t.setSuccess(e):t.setError(e,"retry"===i)}var i=e("./core"),s=i.util.inherit,o=e("jmespath");i.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 a=o.search(e.data,r)}catch(e){return!1}return o.strictDeepEqual(a,t)},pathAll:function(e,t,r){try{var a=o.search(e.data,r)}catch(e){return!1}Array.isArray(a)||(a=[a]);var i=a.length;if(!i)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(a.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=a.util.buffer.toBuffer(e.body);else if(!e.body)throw new Error("params.Body is required");e.sliceFn=a.util.arraySliceFn(e.body)},bindServiceObject:function(e){e=e||{};var t=this;if(t.service){var r=t.service,i=a.util.copy(r.config);i.signatureVersion=r.getSignatureVersion(),t.service=new r.constructor.__super__(i),t.service.config.params=a.util.merge(t.service.config.params||{},e),Object.defineProperty(t.service,"_originalConfig",{get:function(){return r._originalConfig},enumerable:!1,configurable:!0})}else t.service=new a.S3({params:e})},adjustTotalBytes:function(){var e=this;try{e.totalBytes=i(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=i(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 a=r.slice(e.partSize);e.partBuffers.push(a),e.partBufferLength+=a.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 i={Body:e};this.tags&&(i.Tagging=this.getTaggingHeader());var s=t.service.putObject(i);return s._managedUpload=t,s.on("httpUploadProgress",t.progress).send(t.finishSinglePart),t.singlePart=s,null}if(t.service.config.params.ContentMD5){var o=a.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(i,1)}return this},removeAllListeners:function(e){return e?delete this._events[e]:this._events={},this},emit:function(e,t,r){r||(r=function(){});var a=this.listeners(e),i=a.length;return this.callListeners(a,t,r),i>0},callListeners:function(e,t,r,i){function s(i){if(i&&(n=a.util.error(n||new Error,i),o._haltHandlersOnError))return r.call(o,n);o.callListeners(e,t,r,n)}for(var o=this,n=i||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=a.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),a.util.each(e,function(e,r){"function"==typeof r&&(r=[r]),a.util.arrayEach(r,function(r){t.on(e,r)})}),t},addNamedListener:function(e,t,r,a){return this[e]=r,this.addListener(t,r,a),this},addNamedAsyncListener:function(e,t,r,a){return r._isAsync=!0,this.addNamedListener(e,t,r,a)},addNamedListeners:function(e){var t=this;return e(function(){t.addNamedListener.apply(t,arguments)},function(){t.addNamedAsyncListener.apply(t,arguments)}),this}}),a.SequentialExecutor.prototype.addListener=a.SequentialExecutor.prototype.on,t.exports=a.SequentialExecutor},{"./core":345}],397:[function(e,t,r){(function(r){(function(){var a=e("./core"),i=e("./model/api"),s=e("./region_config"),o=a.util.inherit,n=0,u=e("./region/utils");a.Service=o({constructor:function(e){if(!this.loadServiceClass)throw a.util.error(new Error,"Service must be constructed with `new' operator");if(e){if(e.region){var t=e.region;u.isFipsRegion(t)&&(e.region=u.getRealRegion(t),e.useFipsEndpoint=!0),u.isGlobalRegion(t)&&(e.region=u.getRealRegion(t))}"boolean"==typeof e.useDualstack&&"boolean"!=typeof e.useDualstackEndpoint&&(e.useDualstackEndpoint=e.useDualstack)}var r=this.loadServiceClass(e||{});if(r){var i=a.util.copy(e),s=new r(e);return Object.defineProperty(s,"_originalConfig",{get:function(){return i},enumerable:!1,configurable:!0}),s._clientId=++n,s}this.initialize(e)},initialize:function(e){var t=a.config[this.serviceIdentifier];if(this.config=new a.Config(a.config),t&&this.config.update(t,!0),e&&this.config.update(e,!0),this.validateService(),this.config.endpoint||s.configureEndpoint(this),this.config.endpoint=this.endpointFromTemplate(this.config.endpoint),this.setEndpoint(this.config.endpoint),a.SequentialExecutor.call(this),a.Service.addDefaultMonitoringListeners(this),(this.config.clientSideMonitoring||a.Service._clientSideMonitoring)&&this.publisher){var i=this.publisher;this.addNamedListener("PUBLISH_API_CALL","apiCall",function(e){r.nextTick(function(){i.eventHandler(e)})}),this.addNamedListener("PUBLISH_API_ATTEMPT","apiCallAttempt",function(e){r.nextTick(function(){i.eventHandler(e)})})}},validateService:function(){},loadServiceClass:function(e){var t=e;if(a.util.isEmpty(this.api)){if(t.apiConfig)return a.Service.defineServiceApi(this.constructor,t.apiConfig);if(this.constructor.services){t=new a.Config(a.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]&&a.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?a.util.isType(e,Date)&&(e=a.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,i=t.length-1;i>=0;i--)if("*"!==t[i][t[i].length-1]&&(r=t[i]),t[i].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 i=this.api.operations[e];i&&(t=a.util.copy(t),a.util.each(this.config.params,function(e,r){i.input.members[e]&&(void 0!==t[e]&&null!==t[e]||(t[e]=r))}))}var s=new a.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 a=this.makeRequest(e,t).toUnauthenticated();return r?a.send(r):a},waitFor:function(e,t,r){return new a.ResourceWaiter(this,e).wait(t,r)},addAllRequestListeners:function(e){for(var t=[a.events,a.EventListeners.Core,this.serviceInterface(),a.EventListeners.CorePost],r=0;r299?(i.code&&(r.FinalAwsException=i.code),i.message&&(r.FinalAwsExceptionMessage=i.message)):((i.code||i.name)&&(r.FinalSdkException=i.code||i.name),i.message&&(r.FinalSdkExceptionMessage=i.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()},a=e.response;return a.httpResponse.statusCode&&(r.HttpStatusCode=a.httpResponse.statusCode),!e._unAuthenticated&&e.service.config.credentials&&e.service.config.credentials.accessKeyId&&(r.AccessKey=e.service.config.credentials.accessKeyId),a.httpResponse.headers?(e.httpRequest.headers["x-amz-security-token"]&&(r.SessionToken=e.httpRequest.headers["x-amz-security-token"]),a.httpResponse.headers["x-amzn-requestid"]&&(r.XAmznRequestId=a.httpResponse.headers["x-amzn-requestid"]),a.httpResponse.headers["x-amz-request-id"]&&(r.XAmzRequestId=a.httpResponse.headers["x-amz-request-id"]),a.httpResponse.headers["x-amz-id-2"]&&(r.XAmzId2=a.httpResponse.headers["x-amz-id-2"]),r):r},attemptFailEvent:function(e){var t=this.apiAttemptEvent(e),r=e.response,a=r.error;return r.httpResponse.statusCode>299?(a.code&&(t.AwsException=a.code),a.message&&(t.AwsExceptionMessage=a.message)):((a.code||a.name)&&(t.SdkException=a.code||a.name),a.message&&(t.SdkExceptionMessage=a.message)),t},attachMonitoringEmitter:function(e){var t,r,i,s,o,n,u=0,p=this;e.on("validate",function(){s=a.util.realClock.now(),n=Date.now()},!0),e.on("sign",function(){r=a.util.realClock.now(),t=Date.now(),o=e.httpRequest.region,u++},!0),e.on("validateResponse",function(){i=Math.round(a.util.realClock.now()-r)}),e.addNamedListener("API_CALL_ATTEMPT","success",function(){var r=p.apiAttemptEvent(e);r.Timestamp=t,r.AttemptLatency=i>=0?i:0,r.Region=o,p.emit("apiCallAttempt",[r])}),e.addNamedListener("API_CALL_ATTEMPT_RETRY","retry",function(){var s=p.attemptFailEvent(e);s.Timestamp=t,i=i||Math.round(a.util.realClock.now()-r),s.AttemptLatency=i>=0?i: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(a.util.realClock.now()-s);t.Latency=r>=0?r:0;var i=e.response;i.error&&i.error.retryable&&"number"==typeof i.retryCount&&"number"==typeof i.maxRetries&&i.retryCount>=i.maxRetries&&(t.MaxRetriesExceeded=1),p.emit("apiCall",[t])}})},setupRequestListeners:function(e){},getSigningName:function(){return this.api.signingName||this.api.endpointPrefix},getSignerClass:function(e){var t,r=null,i="";if(e){r=(e.service.api.operations||{})[e.operation]||null,i=r?r.authtype:""}return t=this.config.signatureVersion?this.config.signatureVersion:"v4"===i||"v4-unsigned-body"===i?"v4":"bearer"===i?"bearer":this.api.signatureVersion,a.Signers.RequestSigner.getVersion(t)},serviceInterface:function(){switch(this.api.protocol){case"ec2":case"query":return a.EventListeners.Query;case"json":return a.EventListeners.Json;case"rest-json":return a.EventListeners.RestJson;case"rest-xml":return a.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,t){return a.util.calculateRetryDelay(e,this.config.retryDelayOptions,t)},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)>=3e5},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":case"EC2ThrottledException":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 a.Endpoint(e,this.config)},paginationConfig:function(e,t){var r=this.api.operations[e].paginator;if(!r){if(t){var i=new Error;throw a.util.error(i,"No pagination configuration for "+e)}return null}return r}}),a.util.update(a.Service,{defineMethods:function(e){a.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){a.Service._serviceMap[e]=!0,Array.isArray(t)||(r=t,t=[]);var i=o(a.Service,r||{});if("string"==typeof e){a.Service.addVersions(i,t);var s=i.serviceIdentifier||e;i.serviceIdentifier=s}else i.prototype.api=e,a.Service.defineMethods(i);if(a.SequentialExecutor.call(this.prototype),!this.prototype.publisher&&a.util.clientSideMonitoring){var n=a.util.clientSideMonitoring.Publisher,u=a.util.clientSideMonitoring.configProvider,p=u();this.prototype.publisher=new n(p),p.enabled&&(a.Service._clientSideMonitoring=!0)}return a.SequentialExecutor.call(i.prototype),a.Service.addDefaultMonitoringListeners(i.prototype),i},addVersions:function(e,t){Array.isArray(t)||(t=[t]),e.services=e.services||{};for(var r=0;r=0){throw a.util.error(new Error,{name:"InvalidEndpoint",message:"AWS.IotData requires an explicit `endpoint' configuration option."})}},setupRequestListeners:function(e){e.addListener("validateResponse",this.validateResponseBody),i.indexOf(e.operation)>-1&&e.addListener("extractData",a.util.convertPayloadToString)},validateResponseBody:function(e){var t=e.httpResponse.body.toString()||"{}",r=t.trim();r&&"{"===r.charAt(0)||(e.httpResponse.body="")}})},{"../core":345}],403:[function(e,t,r){var a=e("../core");a.util.update(a.Lambda.prototype,{setupRequestListeners:function(e){"invoke"===e.operation&&e.addListener("extractData",a.util.convertPayloadToString)}})},{"../core":345}],404:[function(e,t,r){var a=e("../core");a.util.update(a.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 a.Endpoint(t))}})},{"../core":345}],405:[function(e,t,r){e("../polly/presigner")},{"../polly/presigner":379}],406:[function(e,t,r){var a=e("../core"),i=e("./rdsutil");e("../rds/signer");var s=["copyDBSnapshot","createDBInstanceReadReplica","createDBCluster","copyDBClusterSnapshot","startDBInstanceAutomatedBackupsReplication"];a.util.update(a.RDS.prototype,{setupRequestListeners:function(e){i.setupRequestListeners(this,e,s)}})},{"../core":345,"../rds/signer":387,"./rdsutil":407}],407:[function(e,t,r){var a=e("../core"),i={setupRequestListeners:function(e,t,r){if(-1!==r.indexOf(t.operation)&&t.params.SourceRegion)if(t.params=a.util.copy(t.params),t.params.PreSignedUrl||t.params.SourceRegion===e.config.region)delete t.params.SourceRegion;else{var s=!!e.config.paramValidation;s&&t.removeListener("validate",a.EventListeners.Core.VALIDATE_PARAMETERS),t.onAsync("validate",i.buildCrossRegionPresignedUrl),s&&t.addListener("validate",a.EventListeners.Core.VALIDATE_PARAMETERS)}},buildCrossRegionPresignedUrl:function(e,t){var r=a.util.copy(e.service.config);r.region=e.params.SourceRegion,delete e.params.SourceRegion,delete r.endpoint,delete r.params,r.signatureVersion="v4";var i=e.service.config.region,s=new e.service.constructor(r),o=s[e.operation](a.util.copy(e.params));o.on("build",function(e){var t=e.httpRequest;t.params.DestinationRegion=i,t.body=a.util.queryParamsToString(t.params)}),o.presign(function(r,a){r?t(r):(e.params.PreSignedUrl=a,t())})}};t.exports=i},{"../core":345}],408:[function(e,t,r){var a=e("../core");a.util.update(a.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||a.Service.prototype.retryableError.call(this,e)}})},{"../core":345}],409:[function(e,t,r){var a=e("../core"),i=e("../signers/v4_credentials"),s=e("../config_regional_endpoint"),o=e("./s3util"),n=e("../region_config");e("../s3/managed_upload");var u={completeMultipartUpload:!0,copyObject:!0,uploadPartCopy:!0},p=["AuthorizationHeaderMalformed","BadRequest","PermanentRedirect",301];a.util.update(a.S3.prototype,{getSignatureVersion:function(e){var t=this.api.signatureVersion,r=this._originalConfig?this._originalConfig.signatureVersion:null,a=this.config.signatureVersion,i=!!e&&e.isPresigned();return r?r="v2"===r?"s3":r:(!0!==i?t="v4":a&&(t=a),t)},getSigningName:function(e){if(e&&"writeGetObjectResponse"===e.operation)return"s3-object-lambda";var t=a.Service.prototype.getSigningName;return e&&e._parsedArn&&e._parsedArn.service?e._parsedArn.service:t.call(this)},getSignerClass:function(e){var t=this.getSignatureVersion(e);return a.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 a.util.error(new Error,{name:"InvalidEndpoint",message:e})},shouldDisableBodySigning:function(e){var t=this.getSignerClass();return!0===this.config.s3DisableBodySigning&&t===a.Signers.V4&&"https:"===e.httpRequest.endpoint.protocol},setupRequestListeners:function(e){if(e.addListener("validate",this.validateScheme),e.addListener("validate",this.validateBucketName,!0),e.addListener("validate",this.optInUsEast1RegionalEndpoint,!0),e.removeListener("validate",a.EventListeners.Core.VALIDATE_REGION),e.addListener("build",this.addContentType),e.addListener("build",this.computeContentMd5),e.addListener("build",this.computeSseCustomerKeyMd5),e.addListener("build",this.populateURI),e.addListener("afterBuild",this.addExpect100Continue),e.addListener("extractError",this.extractError),e.addListener("extractData",a.util.hoistPayloadMember),e.addListener("extractData",this.extractData),e.addListener("extractData",this.extractErrorFrom200Response),e.addListener("beforePresign",this.prepareSignedUrl),this.shouldDisableBodySigning(e)&&(e.removeListener("afterBuild",a.EventListeners.Core.COMPUTE_SHA256),e.addListener("afterBuild",this.disableBodySigning)),"createBucket"!==e.operation&&o.isArnInParam(e,"Bucket"))return e._parsedArn=a.util.ARN.parse(e.params.Bucket),e.removeListener("validate",this.validateBucketName),e.removeListener("build",this.populateURI),"s3"===e._parsedArn.service?(e.addListener("validate",o.validateS3AccessPointArn),e.addListener("validate",this.validateArnResourceType),e.addListener("validate",this.validateArnRegion)):"s3-outposts"===e._parsedArn.service&&(e.addListener("validate",o.validateOutpostsAccessPointArn),e.addListener("validate",o.validateOutpostsArn),e.addListener("validate",o.validateArnRegion)),e.addListener("validate",o.validateArnAccount),e.addListener("validate",o.validateArnService),e.addListener("build",this.populateUriFromAccessPointArn),void e.addListener("build",o.validatePopulateUriFromArn);e.addListener("validate",this.validateBucketEndpoint),e.addListener("validate",this.correctBucketRegionFromCache),e.onAsync("extractError",this.requestBucketRegion),a.util.isBrowser()&&e.onAsync("retry",this.reqRegionForNetworkingError)},validateScheme:function(e){var t=e.params,r=e.httpRequest.endpoint.protocol;if((t.SSECustomerKey||t.CopySourceSSECustomerKey)&&"https:"!==r)throw a.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 a.util.error(new Error,{code:"ConfigError",message:"Cannot send requests to root API with `s3BucketEndpoint` set."})}},validateArnRegion:function(e){o.validateArnRegion(e,{allowFipsEndpoint:!0})},validateArnResourceType:function(e){var t=e._parsedArn.resource;if(0!==t.indexOf("accesspoint:")&&0!==t.indexOf("accesspoint/"))throw a.util.error(new Error,{code:"InvalidARN",message:"ARN resource should begin with 'accesspoint/'"})},validateBucketName:function(e){var t=e.service,r=t.getSignatureVersion(e),i=e.params&&e.params.Bucket,s=e.params&&e.params.Key,o=i&&i.indexOf("/");if(i&&o>=0)if("string"==typeof s&&o>0){e.params=a.util.copy(e.params);var n=i.substr(o+1)||"";e.params.Key=n+"/"+s,e.params.Bucket=i.substr(0,o)}else if("v4"===r){var u="Bucket names cannot contain forward slashes. Bucket: "+i;throw a.util.error(new Error,{code:"InvalidBucket",message:u})}},isValidAccelerateOperation:function(e){return-1===["createBucket","deleteBucket","listBuckets"].indexOf(e)},optInUsEast1RegionalEndpoint:function(e){var t=e.service,r=t.config;if(r.s3UsEast1RegionalEndpoint=s(t._originalConfig,{env:"AWS_S3_US_EAST_1_REGIONAL_ENDPOINT",sharedConfig:"s3_us_east_1_regional_endpoint",clientConfig:"s3UsEast1RegionalEndpoint"}),!(t._originalConfig||{}).endpoint&&"us-east-1"===e.httpRequest.region&&"regional"===r.s3UsEast1RegionalEndpoint&&e.httpRequest.endpoint.hostname.indexOf("s3.amazonaws.com")>=0){var a=r.endpoint.indexOf(".amazonaws.com");regionalEndpoint=r.endpoint.substring(0,a)+".us-east-1"+r.endpoint.substring(a),e.httpRequest.updateEndpoint(regionalEndpoint)}},populateURI:function(e){var t=e.httpRequest,r=e.params.Bucket,a=e.service,i=t.endpoint;if(r&&!a.pathStyleBucketName(r)){a.config.useAccelerateEndpoint&&a.isValidAccelerateOperation(e.operation)?a.config.useDualstackEndpoint?i.hostname=r+".s3-accelerate.dualstack.amazonaws.com":i.hostname=r+".s3-accelerate.amazonaws.com":a.config.s3BucketEndpoint||(i.hostname=r+"."+i.hostname);var s=i.port;i.host=80!==s&&443!==s?i.hostname+":"+i.port:i.hostname,t.virtualHostedBucket=r,a.removeVirtualHostedBucketFromPath(e)}},removeVirtualHostedBucketFromPath:function(e){var t=e.httpRequest,r=t.virtualHostedBucket;if(r&&t.path){if(e.params&&e.params.Key){var i="/"+a.util.uriEscapePath(e.params.Key);if(0===t.path.indexOf(i)&&(t.path.length===i.length||"?"===t.path[i.length]))return}t.path=t.path.replace(new RegExp("/"+r),""),"/"!==t.path[0]&&(t.path="/"+t.path)}},populateUriFromAccessPointArn:function(e){var t=e._parsedArn,r="s3-outposts"===t.service,i="s3-object-lambda"===t.service,s=r?"."+t.outpostId:"",o=r?"s3-outposts":"s3-accesspoint",u=!r&&e.service.config.useFipsEndpoint?"-fips":"",p=!r&&e.service.config.useDualstackEndpoint?".dualstack":"",m=e.httpRequest.endpoint,c=n.getEndpointSuffix(t.region),l=e.service.config.s3UseArnRegion;if(m.hostname=[t.accessPoint+"-"+t.accountId+s,o+u+p,l?t.region:e.service.config.region,c].join("."),i){var o="s3-object-lambda",d=t.resource.split("/")[1],u=e.service.config.useFipsEndpoint?"-fips":"";m.hostname=[d+"-"+t.accountId,o+u,l?t.region:e.service.config.region,c].join(".")}m.host=m.hostname;var y=a.util.uriEscape(e.params.Bucket),b=e.httpRequest.path;e.httpRequest.path=b.replace(new RegExp("/"+y),""),"/"!==e.httpRequest.path[0]&&(e.httpRequest.path="/"+e.httpRequest.path),e.httpRequest.region=t.region},addExpect100Continue:function(e){var t=e.httpRequest.headers["Content-Length"];a.util.isNode()&&(t>=1048576||e.params.Body instanceof a.util.stream.Stream)&&(e.httpRequest.headers.Expect="100-continue")},addContentType:function(e){var t=e.httpRequest;if("GET"===t.method||"HEAD"===t.method)return void delete t.headers["Content-Type"];t.headers["Content-Type"]||(t.headers["Content-Type"]="application/octet-stream");var r=t.headers["Content-Type"];if(a.util.isBrowser())if("string"!=typeof t.body||r.match(/;\s*charset=/)){var i=function(e,t,r){return t+r.toUpperCase()};t.headers["Content-Type"]=r.replace(/(;\s*charset=)(.+)$/,i)}else{t.headers["Content-Type"]+="; charset=UTF-8"}},willComputeChecksums:function(e){var t=e.service.api.operations[e.operation].input.members,r=e.httpRequest.body,i=e.service.config.computeChecksums&&t.ContentMD5&&!e.params.ContentMD5&&r&&(a.util.Buffer.isBuffer(e.httpRequest.body)||"string"==typeof e.httpRequest.body);return!(!i||!e.service.shouldDisableBodySigning(e)||e.isPresigned())||!(!i||"s3"!==this.getSignatureVersion(e)||!e.isPresigned())},computeContentMd5:function(e){if(e.service.willComputeChecksums(e)){var t=a.util.crypto.md5(e.httpRequest.body,"base64");e.httpRequest.headers["Content-MD5"]=t}},computeSseCustomerKeyMd5:function(e){var t={SSECustomerKey:"x-amz-server-side-encryption-customer-key-MD5",CopySourceSSECustomerKey:"x-amz-copy-source-server-side-encryption-customer-key-MD5"};a.util.each(t,function(t,r){if(e.params[t]){var i=a.util.crypto.md5(e.params[t],"base64");e.httpRequest.headers[r]=i}})},pathStyleBucketName:function(e){return!!this.config.s3ForcePathStyle||!this.config.s3BucketEndpoint&&(!o.dnsCompatibleBucketName(e)||!(!this.config.sslEnabled||!e.match(/\./)))},extractErrorFrom200Response:function(e){if(u[e.request.operation]){var t=e.httpResponse;if(t.body&&t.body.toString().match("")){e.data=null;throw(this.service?this.service:this).extractError(e),e.error}if(!t.body||!t.body.toString().match(/<[\w_]/))throw e.data=null,a.util.error(new Error,{code:"InternalError",message:"S3 aborted request"})}},retryableError:function(e,t){return!(!u[t.operation]||200!==e.statusCode)||(!t._requestRegionForBucket||!t.service.bucketRegionCache[t._requestRegionForBucket])&&(!(!e||"RequestTimeout"!==e.code)||(e&&-1!=p.indexOf(e.code)&&e.region&&e.region!=t.httpRequest.region?(t.httpRequest.region=e.region,301===e.statusCode&&t.service.updateReqBucketRegion(t),!0):a.Service.prototype.retryableError.call(this,e,t)))},updateReqBucketRegion:function(e,t){var r=e.httpRequest;if("string"==typeof t&&t.length&&(r.region=t),r.endpoint.host.match(/s3(?!-accelerate).*\.amazonaws\.com$/)){var i=e.service,s=i.config,o=s.s3BucketEndpoint;o&&delete s.s3BucketEndpoint;var n=a.util.copy(s);delete n.endpoint,n.region=r.region,r.endpoint=new a.S3(n).endpoint,i.populateURI(e),s.s3BucketEndpoint=o,r.headers.Host=r.endpoint.host,"validate"===e._asm.currentState&&(e.removeListener("build",i.populateURI),e.addListener("build",i.removeVirtualHostedBucketFromPath))}},extractData:function(e){var t=e.request;if("getBucketLocation"===t.operation){var r=e.httpResponse.body.toString().match(/>(.+)<\/Location/);delete e.data._,e.data.LocationConstraint=r?r[1]:""}var a=t.params.Bucket||null;if("deleteBucket"!==t.operation||"string"!=typeof a||e.error){var i=e.httpResponse.headers||{},s=i["x-amz-bucket-region"]||null;if(!s&&"createBucket"===t.operation&&!e.error){var o=t.params.CreateBucketConfiguration;s=o?"EU"===o.LocationConstraint?"eu-west-1":o.LocationConstraint:"us-east-1"}s&&a&&s!==t.service.bucketRegionCache[a]&&(t.service.bucketRegionCache[a]=s)}else t.service.clearBucketRegionCache(a);t.service.extractRequestIds(e)},extractError:function(e){var t={304:"NotModified",403:"Forbidden",400:"BadRequest",404:"NotFound"},r=e.request,i=e.httpResponse.statusCode,s=e.httpResponse.body||"",o=e.httpResponse.headers||{},n=o["x-amz-bucket-region"]||null,u=r.params.Bucket||null,p=r.service.bucketRegionCache;n&&u&&n!==p[u]&&(p[u]=n);var m;if(t[i]&&0===s.length)u&&!n&&(m=p[u]||null)!==r.httpRequest.region&&(n=m),e.error=a.util.error(new Error,{code:t[i],message:null,region:n});else{var c=(new a.XML.Parser).parse(s.toString());c.Region&&!n?(n=c.Region,u&&n!==p[u]&&(p[u]=n)):!u||n||c.Region||(m=p[u]||null)!==r.httpRequest.region&&(n=m),e.error=a.util.error(new Error,{code:c.Code||i,message:c.Message||null,region:n})}r.service.extractRequestIds(e)},requestBucketRegion:function(e,t){var r=e.error,i=e.request,s=i.params.Bucket||null;if(!r||!s||r.region||"listObjects"===i.operation||a.util.isNode()&&"headBucket"===i.operation||400===r.statusCode&&"headObject"!==i.operation||-1===p.indexOf(r.code))return t();var o=a.util.isNode()?"headBucket":"listObjects",n={Bucket:s};"listObjects"===o&&(n.MaxKeys=0);var u=i.service[o](n);u._requestRegionForBucket=s,u.send(function(){var e=i.service.bucketRegionCache[s]||null;r.region=e,t()})},reqRegionForNetworkingError:function(e,t){if(!a.util.isBrowser())return t();var r=e.error,i=e.request,s=i.params.Bucket;if(!r||"NetworkingError"!==r.code||!s||"us-east-1"===i.httpRequest.region)return t();var n=i.service,u=n.bucketRegionCache,p=u[s]||null;if(p&&p!==i.httpRequest.region)n.updateReqBucketRegion(i,p),t();else if(o.dnsCompatibleBucketName(s))if(i.httpRequest.virtualHostedBucket){var m=n.listObjects({Bucket:s,MaxKeys:0});n.updateReqBucketRegion(m,"us-east-1"),m._requestRegionForBucket=s,m.send(function(){var e=n.bucketRegionCache[s]||null;e&&e!==i.httpRequest.region&&n.updateReqBucketRegion(i,e),t()})}else t();else n.updateReqBucketRegion(i,"us-east-1"),"us-east-1"!==u[s]&&(u[s]="us-east-1"),t()},bucketRegionCache:{},clearBucketRegionCache:function(e){var t=this.bucketRegionCache;e?"string"==typeof e&&(e=[e]):e=Object.keys(t);for(var r=0;r=0)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"FIPS region not allowed in ARN"});if(!r&&o!==n)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"Configured region conflicts with access point region"});if(r&&i.getEndpointSuffix(o)!==i.getEndpointSuffix(n))throw a.util.error(new Error,{code:"InvalidConfiguration",message:"Configured region and access point region not in same partition"});if(e.service.config.useAccelerateEndpoint)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"useAccelerateEndpoint config is not supported with access point ARN"});if("s3-outposts"===e._parsedArn.service&&e.service.config.useDualstackEndpoint)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"Dualstack is not supported with outposts access point ARN"})},loadUseArnRegionConfig:function(e){var t="AWS_S3_USE_ARN_REGION",i="s3_use_arn_region",s=!0,o=e.service._originalConfig||{};if(void 0!==e.service.config.s3UseArnRegion)return e.service.config.s3UseArnRegion;if(void 0!==o.s3UseArnRegion)s=!0===o.s3UseArnRegion;else if(a.util.isNode())if(r.env[t]){var n=r.env[t].trim().toLowerCase();if(["false","true"].indexOf(n)<0)throw a.util.error(new Error,{code:"InvalidConfiguration",message:t+" only accepts true or false. Got "+r.env[t],retryable:!1});s="true"===n}else{var u={},p={};try{u=a.util.getProfilesFromSharedConfig(a.util.iniLoader),p=u[r.env.AWS_PROFILE||a.util.defaultProfile]}catch(e){}if(p[i]){if(["false","true"].indexOf(p[i].trim().toLowerCase())<0)throw a.util.error(new Error,{code:"InvalidConfiguration",message:i+" only accepts true or false. Got "+p[i],retryable:!1});s="true"===p[i].trim().toLowerCase()}}return e.service.config.s3UseArnRegion=s,s},validatePopulateUriFromArn:function(e){if(e.service._originalConfig&&e.service._originalConfig.endpoint)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"Custom endpoint is not compatible with access point ARN"});if(e.service.config.s3ForcePathStyle)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"Cannot construct path-style endpoint with access point"})},dnsCompatibleBucketName:function(e){var t=e,r=new RegExp(/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/),a=new RegExp(/(\d+\.){3}\d+/),i=new RegExp(/\.\./);return!(!t.match(r)||t.match(a)||t.match(i))}};t.exports=s}).call(this)}).call(this,e("_process"))},{"../core":345,"../region_config":390,_process:440}],411:[function(e,t,r){var a=e("../core");a.util.update(a.SQS.prototype,{setupRequestListeners:function(e){e.addListener("build",this.buildEndpoint), +a=o(a,i,p,m,t.getUint32(52,!0),5,2850285829),m=o(m,a,i,p,t.getUint32(8,!0),9,4243563512),p=o(p,m,a,i,t.getUint32(28,!0),14,1735328473),i=o(i,p,m,a,t.getUint32(48,!0),20,2368359562),a=n(a,i,p,m,t.getUint32(20,!0),4,4294588738),m=n(m,a,i,p,t.getUint32(32,!0),11,2272392833),p=n(p,m,a,i,t.getUint32(44,!0),16,1839030562),i=n(i,p,m,a,t.getUint32(56,!0),23,4259657740),a=n(a,i,p,m,t.getUint32(4,!0),4,2763975236),m=n(m,a,i,p,t.getUint32(16,!0),11,1272893353),p=n(p,m,a,i,t.getUint32(28,!0),16,4139469664),i=n(i,p,m,a,t.getUint32(40,!0),23,3200236656),a=n(a,i,p,m,t.getUint32(52,!0),4,681279174),m=n(m,a,i,p,t.getUint32(0,!0),11,3936430074),p=n(p,m,a,i,t.getUint32(12,!0),16,3572445317),i=n(i,p,m,a,t.getUint32(24,!0),23,76029189),a=n(a,i,p,m,t.getUint32(36,!0),4,3654602809),m=n(m,a,i,p,t.getUint32(48,!0),11,3873151461),p=n(p,m,a,i,t.getUint32(60,!0),16,530742520),i=n(i,p,m,a,t.getUint32(8,!0),23,3299628645),a=u(a,i,p,m,t.getUint32(0,!0),6,4096336452),m=u(m,a,i,p,t.getUint32(28,!0),10,1126891415),p=u(p,m,a,i,t.getUint32(56,!0),15,2878612391),i=u(i,p,m,a,t.getUint32(20,!0),21,4237533241),a=u(a,i,p,m,t.getUint32(48,!0),6,1700485571),m=u(m,a,i,p,t.getUint32(12,!0),10,2399980690),p=u(p,m,a,i,t.getUint32(40,!0),15,4293915773),i=u(i,p,m,a,t.getUint32(4,!0),21,2240044497),a=u(a,i,p,m,t.getUint32(32,!0),6,1873313359),m=u(m,a,i,p,t.getUint32(60,!0),10,4264355552),p=u(p,m,a,i,t.getUint32(24,!0),15,2734768916),i=u(i,p,m,a,t.getUint32(52,!0),21,1309151649),a=u(a,i,p,m,t.getUint32(16,!0),6,4149444226),m=u(m,a,i,p,t.getUint32(44,!0),10,3174756917),p=u(p,m,a,i,t.getUint32(8,!0),15,718787259),i=u(i,p,m,a,t.getUint32(36,!0),21,3951481745),r[0]=a+r[0]&4294967295,r[1]=i+r[1]&4294967295,r[2]=p+r[2]&4294967295,r[3]=m+r[3]&4294967295}},{"./browserHashUtils":336,"buffer/":435}],339:[function(e,t,r){function a(){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 i=e("buffer/").Buffer,s=e("./browserHashUtils");new Uint32Array([1518500249,1859775393,-1894007588,-899497514]),Math.pow(2,53);t.exports=a,a.BLOCK_SIZE=64,a.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 i(20),a=new DataView(r.buffer);return a.setUint32(0,this.h0,!1),a.setUint32(4,this.h1,!1),a.setUint32(8,this.h2,!1),a.setUint32(12,this.h3,!1),a.setUint32(16,this.h4,!1),e?r.toString(e):r},a.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,a,i=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),a=1518500249):e<40?(r=s^o^n,a=1859775393):e<60?(r=s&o|n&(s|o),a=2400959708):(r=s^o^n,a=3395469782);var p=(i<<5|i>>>27)+r+u+a+(0|this.block[e]);u=n,n=o,o=s<<30|s>>>2,s=i,i=p}for(this.h0=this.h0+i|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":336,"buffer/":435}],340:[function(e,t,r){function a(){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 i=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=a,a.BLOCK_SIZE=64,a.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},a.prototype.digest=function(e){if(!this.finished){var t=8*this.bytesHashed,r=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),a=this.bufferLength;if(r.setUint8(this.bufferLength++,128),a%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 i(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},a.prototype.hashBuffer=function(){for(var e=this,t=e.buffer,r=e.state,a=r[0],i=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 S=(((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,g=((a>>>2|a<<30)^(a>>>13|a<<19)^(a>>>22|a<<10))+(a&i^a&s^i&s)|0;c=m,m=p,p=u,u=n+S|0,n=s,s=i,i=a,a=S+g|0}r[0]+=a,r[1]+=i,r[2]+=s,r[3]+=n,r[4]+=u,r[5]+=p,r[6]+=m,r[7]+=c}},{"./browserHashUtils":336,"buffer/":435}],341:[function(e,t,r){(function(r){(function(){var r=e("./util");r.crypto.lib=e("./browserCryptoLib"),r.Buffer=e("buffer/").Buffer,r.url=e("url/"),r.querystring=e("querystring/"),r.realClock=e("./realclock/browserClock"),r.environment="js",r.createEventStream=e("./event-stream/buffered-create-event-stream").createEventStream,r.isBrowser=function(){return!0},r.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===i)var i={browser:!0}}).call(this)}).call(this,e("_process"))},{"./browserCryptoLib":335,"./core":345,"./credentials":346,"./credentials/chainable_temporary_credentials":347,"./credentials/cognito_identity_credentials":348,"./credentials/credential_provider_chain":349,"./credentials/saml_credentials":350,"./credentials/temporary_credentials":351,"./credentials/web_identity_credentials":352,"./event-stream/buffered-create-event-stream":360,"./http/xhr":368,"./realclock/browserClock":388,"./util":423,"./xml/browser_parser":424,_process:440,"buffer/":435,"querystring/":447,"url/":449}],342:[function(e,t,r){var a=e("../core"),i=a.util.url,s=a.util.crypto.lib,o=a.util.base64.encode,n=a.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,a){var i=JSON.stringify({Statement:[{Resource:e,Condition:{DateLessThan:{"AWS:EpochTime":t}}}]});return{Expires:t,"Key-Pair-Id":r,Signature:p(i.toString(),a)}},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=i.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)},S=function(e,t){if(!t||"function"!=typeof t)return e;t(null,e)};a.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),a={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a["CloudFront-"+i]=r[i]);return S(a,t)},getSignedUrl:function(e,t){try{var r=y(e.url)}catch(e){return b(e,t)}var a=i.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);a.search=null;for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(a.query[o]=s[o]);try{var n="rtmp"===l(e.url)?d(i.format(a)):i.format(a)}catch(e){return b(e,t)}return S(n,t)}}),t.exports=a.CloudFront.Signer},{"../core":345}],343:[function(e,t,r){var a=e("./core");e("./credentials"),e("./credentials/credential_provider_chain");var i;a.Config=a.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),a.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:i.credentials)}function r(e,t){return new a.util.error(t||new Error,{code:"CredentialsError",message:e,name:"CredentialsError"})}var i=this;i.credentials?"function"==typeof i.credentials.get?function(){i.credentials.get(function(e){e&&(e=r("Could not load credentials from "+i.credentials.constructor.name,e)),t(e)})}():function(){var e=null;i.credentials.accessKeyId&&i.credentials.secretAccessKey||(e=r("Missing credentials")),t(e)}():i.credentialProvider?i.credentialProvider.resolve(function(e,a){e&&(e=r("Could not load credentials from any providers",e)),i.credentials=a,t(e)}):t(r("No credentials to load"))},getToken:function(e){function t(t){e(t,t?null:i.token)}function r(e,t){return new a.util.error(t||new Error,{code:"TokenError",message:e,name:"TokenError"})}var i=this;i.token?"function"==typeof i.token.get?function(){i.token.get(function(e){e&&(e=r("Could not load token from "+i.token.constructor.name,e)),t(e)})}():function(){var e=null;i.token.token||(e=r("Missing token")),t(e)}():i.tokenProvider?i.tokenProvider.resolve(function(e,a){e&&(e=r("Could not load token from any providers",e)),i.token=a,t(e)}):t(r("No token to load"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),a.util.each.call(this,e,function(e,r){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||a.Service.hasService(e))&&this.set(e,r)})},loadFromPath:function(e){this.clear();var t=JSON.parse(a.util.readFileSync(e)),r=new a.FileSystemCredentials(e),i=new a.CredentialProviderChain;return i.providers.unshift(r),i.resolve(function(e,r){if(e)throw e;t.credentials=r}),this.constructor(t),this},clear:function(){a.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]=a.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,s3UsEast1RegionalEndpoint:"legacy",s3UseArnRegion:void 0,computeChecksums:!0,convertResponseTypes:!0,correctClockSkew:!1,customUserAgent:null,dynamoDbCrc32:!0,systemClockOffset:0,signatureVersion:null,signatureCache:!0,retryDelayOptions:{},useAccelerateEndpoint:!1,clientSideMonitoring:!1,endpointDiscoveryEnabled:void 0,endpointCacheSize:1e3,hostPrefixEnabled:!0,stsRegionalEndpoints:"legacy",useFipsEndpoint:!1,useDualstackEndpoint:!1,token:null},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&(e=a.util.copy(e),e.credentials=new a.Credentials(e)),e},setPromisesDependency:function(e){i=e,null===e&&"function"==typeof Promise&&(i=Promise);var t=[a.Request,a.Credentials,a.CredentialProviderChain];a.S3&&(t.push(a.S3),a.S3.ManagedUpload&&t.push(a.S3.ManagedUpload)),a.util.addPromises(t,i)},getPromisesDependency:function(){return i}}),a.config=new a.Config},{"./core":345,"./credentials":346,"./credentials/credential_provider_chain":349}],344:[function(e,t,r){(function(r){(function(){function a(e,t){if("string"==typeof e){if(["legacy","regional"].indexOf(e.toLowerCase())>=0)return e.toLowerCase();throw s.util.error(new Error,t)}}function i(e,t){e=e||{};var i;if(e[t.clientConfig]&&(i=a(e[t.clientConfig],{code:"InvalidConfiguration",message:'invalid "'+t.clientConfig+'" configuration. Expect "legacy" or "regional". Got "'+e[t.clientConfig]+'".'})))return i;if(!s.util.isNode())return i;if(Object.prototype.hasOwnProperty.call(r.env,t.env)){if(i=a(r.env[t.env],{code:"InvalidEnvironmentalVariable",message:"invalid "+t.env+' environmental variable. Expect "legacy" or "regional". Got "'+r.env[t.env]+'".'}))return i}var o={};try{o=s.util.getProfilesFromSharedConfig(s.util.iniLoader)[r.env.AWS_PROFILE||s.util.defaultProfile]}catch(e){}if(o&&Object.prototype.hasOwnProperty.call(o,t.sharedConfig)){if(i=a(o[t.sharedConfig],{code:"InvalidConfiguration",message:"invalid "+t.sharedConfig+' profile config. Expect "legacy" or "regional". Got "'+o[t.sharedConfig]+'".'}))return i}return i}var s=e("./core");t.exports=i}).call(this)}).call(this,e("_process"))},{"./core":345,_process:440}],345:[function(e,t,r){var a={util:e("./util")};({}).toString(),t.exports=a,a.util.update(a,{VERSION:"2.1334.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"),e("./maintenance_mode_message"),a.events=new a.SequentialExecutor,a.util.memoizedProperty(a,"endpointCache",function(){return new a.EndpointCache(a.config.endpointCacheSize)},!0)},{"../vendor/endpoint-cache":460,"./api_loader":334,"./config":343,"./event_listeners":366,"./http":367,"./json/builder":369,"./json/parser":370,"./maintenance_mode_message":371,"./model/api":372,"./model/operation":374,"./model/paginator":375,"./model/resource_waiter":376,"./model/shape":377,"./param_validator":378,"./protocol/json":381,"./protocol/query":382,"./protocol/rest":383,"./protocol/rest_json":384,"./protocol/rest_xml":385,"./request":392,"./resource_waiter":393,"./response":394,"./sequential_executor":396,"./service":397,"./signers/request_signer":415,"./util":423,"./xml/builder":425}],346:[function(e,t,r){var a=e("./core");a.Credentials=a.util.inherit({constructor:function(){if(a.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=a.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){a.util.arrayEach(r.refreshCallbacks,function(r){t?r(e):a.util.defer(function(){r(e)})}),r.refreshCallbacks.length=0})},load:function(e){e()}}),a.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=a.util.promisifyMethod("get",e),this.prototype.refreshPromise=a.util.promisifyMethod("refresh",e)},a.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},a.util.addPromises(a.Credentials)},{"./core":345}],347:[function(e,t,r){var a=e("../core"),i=e("../../clients/sts");a.ChainableTemporaryCredentials=a.util.inherit(a.Credentials,{constructor:function(e){a.Credentials.call(this),e=e||{},this.errorCode="ChainableTemporaryCredentialsProviderFailure",this.expired=!0,this.tokenCodeFn=null;var t=a.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||"temporary-credentials"),t.SerialNumber){if(!e.tokenCodeFn||"function"!=typeof e.tokenCodeFn)throw new a.util.error(new Error("tokenCodeFn must be a function when params.SerialNumber is given"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var r=a.util.merge({params:t,credentials:e.masterCredentials||a.config.credentials},e.stsConfig||{});this.service=new i(r)},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this,r=t.service.config.params.RoleArn?"assumeRole":"getSessionToken";this.getTokenCode(function(a,i){var s={};if(a)return void e(a);i&&(s.TokenCode=i),t.service[r](s,function(r,a){r||t.service.credentialsFrom(a,t),e(r)})})},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,function(r,i){if(r){var s=r;return r instanceof Error&&(s=r.message),void e(a.util.error(new Error("Error fetching MFA token: "+s),{code:t.errorCode}))}e(null,i)}):e(null)}})},{"../../clients/sts":329,"../core":345}],348:[function(e,t,r){var a=e("../core"),i=e("../../clients/cognitoidentity"),s=e("../../clients/sts");a.CognitoIdentityCredentials=a.util.inherit(a.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e,t){a.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=a.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||a.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,a){!r&&a.IdentityId?(t.params.IdentityId=a.IdentityId,e(null,a.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,a){r?t.clearIdOnNotAuthorized(r):(t.cacheId(a),t.data=a,t.loadCredentials(t.data,t)),e(r)})},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken(function(r,a){r?(t.clearIdOnNotAuthorized(r),e(r)):(t.cacheId(a),t.params.WebIdentityToken=a.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(a.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 a.WebIdentityCredentials(this.params,e),!this.cognito){var t=a.util.merge({},e);t.params=this.params,this.cognito=new i(t)}this.sts=this.sts||new s(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,a.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=a.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":260,"../../clients/sts":329,"../core":345}],349:[function(e,t,r){var a=e("../core");a.CredentialProviderChain=a.util.inherit(a.Credentials,{constructor:function(e){this.providers=e||a.CredentialProviderChain.defaultProviders.slice(0),this.resolveCallbacks=[]},resolve:function(e){function t(e,o){if(!e&&o||i===s.length)return a.util.arrayEach(r.resolveCallbacks,function(t){t(e,o)}),void(r.resolveCallbacks.length=0);var n=s[i++];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 i=0,s=r.providers.slice(0);t()}return r}}),a.CredentialProviderChain.defaultProviders=[],a.CredentialProviderChain.addPromisesToClass=function(e){this.prototype.resolvePromise=a.util.promisifyMethod("resolve",e)},a.CredentialProviderChain.deletePromisesFromClass=function(){delete this.prototype.resolvePromise},a.util.addPromises(a.CredentialProviderChain)},{"../core":345}],350:[function(e,t,r){var a=e("../core"),i=e("../../clients/sts");a.SAMLCredentials=a.util.inherit(a.Credentials,{constructor:function(e){a.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithSAML(function(r,a){r||t.service.credentialsFrom(a,t),e(r)})},createClients:function(){this.service=this.service||new i({params:this.params})}})},{"../../clients/sts":329,"../core":345}],351:[function(e,t,r){var a=e("../core"),i=e("../../clients/sts");a.TemporaryCredentials=a.util.inherit(a.Credentials,{constructor:function(e,t){a.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||a.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,a){r||t.service.credentialsFrom(a,t),e(r)})})},loadMasterCredentials:function(e){for(this.masterCredentials=e||a.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials;"function"!=typeof this.masterCredentials.get&&(this.masterCredentials=new a.Credentials(this.masterCredentials))},createClients:function(){this.service=this.service||new i({params:this.params})}})},{"../../clients/sts":329,"../core":345}],352:[function(e,t,r){var a=e("../core"),i=e("../../clients/sts");a.WebIdentityCredentials=a.util.inherit(a.Credentials,{constructor:function(e,t){a.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null,this._clientConfig=a.util.copy(t||{})},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithWebIdentity(function(r,a){t.data=null,r||(t.data=a,t.service.credentialsFrom(a,t)),e(r)})},createClients:function(){if(!this.service){var e=a.util.merge({},this._clientConfig);e.params=this.params,this.service=new i(e)}}})},{"../../clients/sts":329,"../core":345}],353:[function(e,t,r){(function(r){(function(){function a(e){var t=e.service,r=t.api||{},a={};return t.config.region&&(a.region=t.config.region),r.serviceId&&(a.serviceId=r.serviceId),t.config.credentials.accessKeyId&&(a.accessKeyId=t.config.credentials.accessKeyId),a}function i(e,t,r){r&&void 0!==t&&null!==t&&"structure"===r.type&&r.required&&r.required.length>0&&b.arrayEach(r.required,function(a){var s=r.members[a];if(!0===s.endpointDiscoveryId){var o=s.isLocationName?s.name:a;e[o]=String(t[a])}else i(e,t[a],s)})}function s(e,t){var r={};return i(r,e.params,t),r}function o(e){var t=e.service,r=t.api,i=r.operations?r.operations[e.operation]:void 0,o=i?i.input:void 0,n=s(e,o),p=a(e);Object.keys(n).length>0&&(p=b.update(p,n),i&&(p.operation=i.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:i.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,i=r.api,o=i.operations?i.operations[e.operation]:void 0,n=o?o.input:void 0,p=s(e,n),m=a(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 g[c]||(g[c]=[]),void g[c].push({request:e,callback:t});if(l&&l.length>0)e.httpRequest.updateEndpoint(l[0].Address),t();else{var d=r.makeRequest(i.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,a){if(r){if(e.response.error=b.error(r,{retryable:!1}),y.endpointCache.remove(m),g[c]){var i=g[c];b.arrayEach(i,function(e){e.request.response.error=b.error(r,{retryable:!1}),e.callback()}),delete g[c]}}else if(a&&(y.endpointCache.put(c,a.Endpoints),e.httpRequest.updateEndpoint(a.Endpoints[0].Address),g[c])){var i=g[c];b.arrayEach(i,function(e){e.request.httpRequest.updateEndpoint(a.Endpoints[0].Address),e.callback()}),delete g[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 i=e.request,o=i.service.api.operations||{},n=o[i.operation]?o[i.operation].input:void 0,u=s(i,n),p=a(i);Object.keys(u).length>0&&(p=b.update(p,u),o[i.operation]&&(p.operation=o[i.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){var t=e.service||{};if(void 0!==t.config.endpointDiscoveryEnabled)return t.config.endpointDiscoveryEnabled;if(!b.isBrowser()){for(var a=0;a-1&&0===++e[t];t--);}var s=e("../core").util,o=s.buffer.toBuffer;a.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&&i(t),new a(t)},a.prototype.valueOf=function(){var e=this.bytes.slice(0),t=128&e[0];return t&&i(e),parseInt(e.toString("hex"),16)*(t?-1:1)},a.prototype.toString=function(){return String(this.valueOf())},t.exports={Int64:a}},{"../core":345}],363:[function(e,t,r){function a(e,t,r){var a=s(t),o=a.headers[":message-type"];if(o){if("error"===o.value)throw i(a);if("event"!==o.value)return}var n=a.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]=a.body:p[m]=e.parse(a.body.toString(),c)}for(var l=u.eventHeaderMemberNames,d=0;d=0)return e.httpRequest.headers["X-Amz-Content-Sha256"]="UNSIGNED-PAYLOAD",t();i.util.computeSha256(s,function(r,a){r?t(r):(e.httpRequest.headers["X-Amz-Content-Sha256"]=a,t())})}else t()}}),e("SET_CONTENT_LENGTH","afterBuild",function(e){var t=r(e),a=i.util.getRequestPayloadShape(e);if(void 0===e.httpRequest.headers["Content-Length"])try{var s=i.util.string.byteLength(e.httpRequest.body);e.httpRequest.headers["Content-Length"]=s}catch(r){if(a&&a.isStreaming){if(a.requiresLength)throw r;if(t.indexOf("unsigned-body")>=0)return void(e.httpRequest.headers["Transfer-Encoding"]="chunked");throw r}throw r}}),e("SET_HTTP_HOST","afterBuild",function(e){e.httpRequest.headers.Host=e.httpRequest.endpoint.host}),e("SET_TRACE_ID","afterBuild",function(e){if(i.util.isNode()&&!Object.hasOwnProperty.call(e.httpRequest.headers,"X-Amzn-Trace-Id")){var r=t.env.AWS_LAMBDA_FUNCTION_NAME,a=t.env._X_AMZN_TRACE_ID;"string"==typeof r&&r.length>0&&"string"==typeof a&&a.length>0&&(e.httpRequest.headers["X-Amzn-Trace-Id"]=a)}}),e("RESTART","restart",function(){var e=this.response.error;e&&e.retryable&&(this.httpRequest=new i.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,a){r.httpResponse.statusCode=e,r.httpResponse.statusMessage=a,r.httpResponse.headers=t,r.httpResponse.body=i.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(i.util.isNode()){t.httpResponse.numBytes+=e.length;var r=t.httpResponse.headers["content-length"],a={loaded:t.httpResponse.numBytes,total:r};t.request.emit("httpDownloadProgress",[a,t])}t.httpResponse.buffers.push(i.util.buffer.toBuffer(e))}}),e("HTTP_DONE","httpDone",function(e){if(e.httpResponse.buffers&&e.httpResponse.buffers.length>0){var t=i.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 i.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=0?(e.error=null,setTimeout(t,r)):t()})}),CorePost:(new s).addNamedListeners(function(e){e("EXTRACT_REQUEST_ID","extractData",i.util.extractRequestId),e("EXTRACT_REQUEST_ID","extractError",i.util.extractRequestId),e("ENOTFOUND_ERROR","httpError",function(e){if("NetworkingError"===e.code&&function(e){return"ENOTFOUND"===e.errno||"number"==typeof e.errno&&"function"==typeof i.util.getSystemErrorName&&["EAI_NONAME","EAI_NODATA"].indexOf(i.util.getSystemErrorName(e.errno)>=0)}(e)){var t="Inaccessible host: `"+e.hostname+"' at port `"+e.port+"'. This service may not be available in the `"+e.region+"' region.";this.response.error=i.util.error(new Error(t),{code:"UnknownEndpoint",region:e.region,hostname:e.hostname,retryable:!0,originalError:e})}})}),Logger:(new s).addNamedListeners(function(t){t("LOG_REQUEST","complete",function(t){function r(e,t){if(!t)return t;if(e.isSensitive)return"***SensitiveInformation***";switch(e.type){case"structure":var a={};return i.util.each(t,function(t,i){Object.prototype.hasOwnProperty.call(e.members,t)?a[t]=r(e.members[t],i):a[t]=i}),a;case"list":var s=[];return i.util.arrayEach(t,function(t,a){s.push(r(e.member,t))}),s;case"map":var o={};return i.util.each(t,function(t,a){o[t]=r(e.value,a)}),o;default:return t}}var a=t.request,s=a.service.config.logger;if(s){var o=function(){var o=t.request.service.getSkewCorrectedDate().getTime(),n=(o-a.startTime.getTime())/1e3,u=!!s.isTTY,p=t.httpResponse.statusCode,m=a.params;if(a.service.api.operations&&a.service.api.operations[a.operation]&&a.service.api.operations[a.operation].input){m=r(a.service.api.operations[a.operation].input,a.params)}var c=e("util").inspect(m,!0,null),l="";return u&&(l+=""),l+="[AWS "+a.service.serviceIdentifier+" "+p,l+=" "+n.toString()+"s "+t.retryCount+" retries]",u&&(l+=""),l+=" "+i.util.string.lowerFirst(a.operation),l+="("+c+")",u&&(l+=""),l}();"function"==typeof s.log?s.log(o):"function"==typeof s.write&&s.write(o+"\n")}})}),Json:(new s).addNamedListeners(function(t){var r=e("./protocol/json");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),Rest:(new s).addNamedListeners(function(t){var r=e("./protocol/rest");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),RestJson:(new s).addNamedListeners(function(t){var r=e("./protocol/rest_json");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError),t("UNSET_CONTENT_LENGTH","afterBuild",r.unsetContentLength)}),RestXml:(new s).addNamedListeners(function(t){var r=e("./protocol/rest_xml");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),Query:(new s).addNamedListeners(function(t){var r=e("./protocol/query");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)})}}).call(this)}).call(this,e("_process"))},{"./core":345,"./discover_endpoint":353,"./protocol/json":381,"./protocol/query":382,"./protocol/rest":383,"./protocol/rest_json":384,"./protocol/rest_xml":385,"./sequential_executor":396,_process:440,util:434}],367:[function(e,t,r){var a=e("./core"),i=a.util.inherit;a.Endpoint=i({constructor:function(e,t){if(a.util.hideProperties(this,["slashes","auth","hash","search","query"]),void 0===e||null===e)throw new Error("Invalid endpoint: "+e);if("string"!=typeof e)return a.util.copy(e);if(!e.match(/^http/)){e=((t&&void 0!==t.sslEnabled?t.sslEnabled:a.config.sslEnabled)?"https":"http")+"://"+e}a.util.update(this,a.util.urlParse(e)),this.port?this.port=parseInt(this.port,10):this.port="https:"===this.protocol?443:80}}),a.HttpRequest=i({constructor:function(e,t){e=new a.Endpoint(e),this.method="POST",this.path=e.path||"/",this.headers={},this.body="",this.endpoint=e,this.region=t,this._userAgent="",this.setUserAgent()},setUserAgent:function(){this._userAgent=this.headers[this.getUserAgentHeaderName()]=a.util.userAgent()},getUserAgentHeaderName:function(){return(a.util.isBrowser()?"X-Amz-":"")+"User-Agent"},appendToUserAgent:function(e){"string"==typeof e&&e&&(this._userAgent+=" "+e),this.headers[this.getUserAgentHeaderName()]=this._userAgent},getUserAgent:function(){return this._userAgent},pathname:function(){return this.path.split("?",1)[0]},search:function(){var e=this.path.split("?",2)[1];return e?(e=a.util.queryStringParse(e),a.util.queryParamsToString(e)):""},updateEndpoint:function(e){var t=new a.Endpoint(e);this.endpoint=t,this.path=t.path||"/",this.headers.Host&&(this.headers.Host=t.host)}}),a.HttpResponse=i({constructor:function(){this.statusCode=void 0,this.headers={},this.body=void 0,this.streaming=!1,this.stream=null},createUnbufferedStream:function(){return this.streaming=!0,this.stream}}),a.HttpClient=i({}),a.HttpClient.getInstance=function(){return void 0===this.singleton&&(this.singleton=new this),this.singleton}},{"./core":345}],368:[function(e,t,r){var a=e("../core"),i=e("events").EventEmitter;e("../http"),a.XHRClient=a.util.inherit({handleRequest:function(e,t,r,s){var o=this,n=e.endpoint,u=new i,p=n.protocol+"//"+n.hostname;80!==n.port&&443!==n.port&&(p+=":"+n.port),p+=e.path;var m=new XMLHttpRequest,c=!1;e.stream=m,m.addEventListener("readystatechange",function(){try{if(0===m.status)return}catch(e){return}this.readyState>=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(a.util.error(new Error("Timeout"),{code:"TimeoutError"}))},!1),m.addEventListener("error",function(){s(a.util.error(new Error("Network Failure"),{code:"NetworkingError"}))},!1),m.addEventListener("abort",function(){s(a.util.error(new Error("Request aborted"),{code:"RequestAbortedError"}))},!1),r(u),m.open(e.method,p,!1!==t.xhrAsync),a.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 a.util.arrayEach(e.split(/\r?\n/),function(e){var r=e.split(":",1)[0],a=e.substring(r.length+2);r.length>0&&(t[r.toLowerCase()]=a)}),t},finishRequest:function(e,t){var r;if("arraybuffer"===e.responseType&&e.response){var i=e.response;r=new a.util.Buffer(i.byteLength);for(var s=new Uint8Array(i),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=h.base64.decode(e);if(this.isSensitive&&h.isNode()&&"function"==typeof h.Buffer.alloc){var r=h.Buffer.alloc(t.length,t);t.fill(0),t=r}return t},this.toWireFormat=h.base64.encode}function b(){y.apply(this,arguments)}function S(){s.apply(this,arguments),this.toType=function(e){return"boolean"==typeof e?e:null===e||void 0===e?null:"true"===e}}var g=e("./collection"),h=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:S,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 a=s.resolve(e,t);if(a){var i=Object.keys(e);t.documentation||(i=i.filter(function(e){return!e.match(/documentation/)}));var o=function(){a.constructor.call(this,e,t,r)};return o.prototype=a,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:S,Base64Shape:b},t.exports=s},{"../util":423,"./collection":373}],378:[function(e,t,r){var a=e("./core");a.ParamValidator=a.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 i=this.errors.join("\n* ");throw i="There were "+this.errors.length+" validation errors:\n* "+i,a.util.error(new Error(i),{code:"MultipleValidationErrors",errors:this.errors})}if(1===this.errors.length)throw this.errors[0];return!0},fail:function(e,t){this.errors.push(a.util.error(new Error(t),{code:e}))},validateStructure:function(e,t,r){if(e.isDocument)return!0;this.validateType(t,r,["object"],"structure");for(var a,i=0;e.required&&i= 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,a){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 "+a+" <= "+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,i){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:a}},{"../core":345,"../util":423}],381:[function(e,t,r){function a(e){var t=e.httpRequest,r=e.service.api,a=r.targetPrefix+"."+r.operations[e.operation].name,i=r.jsonVersion||"1.0",s=r.operations[e.operation].input,o=new n;1===i&&(i="1.0"),t.body=o.build(e.params||{},s),t.headers["Content-Type"]="application/x-amz-json-"+i,t.headers["X-Amz-Target"]=a,p(e)}function i(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 a=JSON.parse(r.body.toString()),i=a.__type||a.code||a.Code;i&&(t.code=i.split("#").pop()),"RequestEntityTooLarge"===t.code?t.message="Request body must be less than 1 MB":t.message=a.message||a.Message||null}catch(a){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],a=r.output||{},i=new u;e.data=i.parse(t,a)}}var o=e("../util"),n=e("../json/builder"),u=e("../json/parser"),p=e("./helpers").populateHostPrefix;t.exports={buildRequest:a,extractError:i,extractData:s}},{"../json/builder":369,"../json/parser":370,"../util":423,"./helpers":380}],382:[function(e,t,r){function a(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 i(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;t=0&&delete e.httpRequest.headers["Content-Length"]}function i(e){var t=new l,r=e.service.api.operations[e.operation].input;if(r.payload){var a={},i=r.members[r.payload];a=e.params[r.payload],"structure"===i.type?(e.httpRequest.body=t.build(a||{},i),s(e)):void 0!==a&&(e.httpRequest.body=a,("binary"===i.type||i.isStreaming)&&s(e,!0))}else e.httpRequest.body=t.build(e.params,r),s(e)}function s(e,t){if(!e.httpRequest.headers["Content-Type"]){var r=t?"binary/octet-stream":"application/json";e.httpRequest.headers["Content-Type"]=r}}function o(e){m.buildRequest(e),y.indexOf(e.httpRequest.method)<0&&i(e)}function n(e){c.extractError(e)}function u(e){m.extractData(e);var t,r=e.request,a=r.service.api.operations[r.operation],i=r.service.api.operations[r.operation].output||{};a.hasEventOutput;if(i.payload){var s=i.members[i.payload],o=e.httpResponse.body;if(s.isEventStream)t=new d,e.data[payload]=p.createEventStream(2===AWS.HttpClient.streamsApiVersion?e.httpResponse.stream:o,t,s);else if("structure"===s.type||"list"===s.type){var t=new d;e.data[i.payload]=t.parse(o,s)}else"binary"===s.type||s.isStreaming?e.data[i.payload]=o:e.data[i.payload]=s.toType(o)}else{var n=e.data;c.extractData(e),e.data=p.merge(n,e.data)}}var p=e("../util"),m=e("./rest"),c=e("./json"),l=e("../json/builder"),d=e("../json/parser"),y=["GET","HEAD","DELETE"];t.exports={buildRequest:o,extractError:n,extractData:u,unsetContentLength:a}},{"../json/builder":369,"../json/parser":370,"../util":423,"./json":381,"./rest":383}],385:[function(e,t,r){function a(e){var t=e.service.api.operations[e.operation].input,r=new n.XML.Builder,a=e.params,i=t.payload;if(i){var s=t.members[i];if(void 0===(a=a[i]))return;if("structure"===s.type){var o=s.name;e.httpRequest.body=r.toXML(a,s,o,!0)}else e.httpRequest.body=a}else e.httpRequest.body=r.toXML(a,t,t.name||t.shape||u.string.upperFirst(e.operation)+"Request")}function i(e){p.buildRequest(e),["GET","HEAD"].indexOf(e.httpRequest.method)<0&&a(e)}function s(e){p.extractError(e);var t;try{t=(new n.XML.Parser).parse(e.httpResponse.body.toString())}catch(r){t={Code:e.httpResponse.statusCode,Message:e.httpResponse.statusMessage}}t.Errors&&(t=t.Errors),t.Error&&(t=t.Error),t.Code?e.error=u.error(new Error,{code:t.Code,message:t.Message}):e.error=u.error(new Error,{code:e.httpResponse.statusCode,message:null})}function o(e){p.extractData(e);var t,r=e.request,a=e.httpResponse.body,i=r.service.api.operations[r.operation],s=i.output,o=(i.hasEventOutput,s.payload);if(o){var m=s.members[o];m.isEventStream?(t=new n.XML.Parser,e.data[o]=u.createEventStream(2===n.HttpClient.streamsApiVersion?e.httpResponse.stream:e.httpResponse.body,t,m)):"structure"===m.type?(t=new n.XML.Parser,e.data[o]=t.parse(a.toString(),m)):"binary"===m.type||m.isStreaming?e.data[o]=a:e.data[o]=m.toType(a)}else if(a.length>0){t=new n.XML.Parser;var c=t.parse(a.toString(),s);u.update(e.data,c)}}var n=e("../core"),u=e("../util"),p=e("./rest");t.exports={buildRequest:i,extractError:s,extractData:o}},{"../core":345,"../util":423,"./rest":383}],386:[function(e,t,r){function a(){}function i(e){return e.isQueryName||"ec2"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function s(e,t,r,a){p.each(r.members,function(r,s){var o=t[r];if(null!==o&&void 0!==o){var n=i(s);n=e?e+"."+n:n,u(n,o,s,a)}})}function o(e,t,r,a){var i=1;p.each(t,function(t,s){var o=r.flattened?".":".entry.",n=o+i+++".",p=n+(r.key.name||"key"),m=n+(r.value.name||"value");u(e+p,t,r.key,a),u(e+m,s,r.value,a)})}function n(e,t,r,a){var s=r.member||{};if(0===t.length)return void a.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(i(s)),e=p.join(".")}}else n="."+(s.name?s.name:"member")+n;u(e+n,t,s,a)})}function u(e,t,r,a){null!==t&&void 0!==t&&("structure"===r.type?s(e,t,r,a):"list"===r.type?n(e,t,r,a):"map"===r.type?o(e,t,r,a):a(e,r.toWireFormat(t).toString()))}var p=e("../util");a.prototype.serialize=function(e,t,r){s("",e,t,r)},t.exports=a},{"../util":423}],387:[function(e,t,r){var a=e("../core"),i=null,s={signatureVersion:"v4",signingName:"rds-db",operations:{}},o={region:"string",hostname:"string",port:"number",username:"string"};a.RDS.Signer=a.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=a.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 a.Endpoint(e.hostname+":"+e.port),paramValidation:!1,signatureVersion:"v4"};e.credentials&&(u.credentials=e.credentials),i=new a.Service(u),i.api=s;var p=i.makeRequest();if(this.modifyRequestForAuthToken(p,e),!o){var m=p.presign(900);return this.convertUrlToAuthToken(m)}p.presign(900,function(e,a){a&&(a=r.convertUrlToAuthToken(a)),t(e,a)})},modifyRequestForAuthToken:function(e,t){e.on("build",e.buildAsGet),e.httpRequest.body=a.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||a.util.error(new Error,{code:"InvalidParameter",message:t})}})},{"../core":345}],388:[function(e,t,r){t.exports={now:function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}}},{}],389:[function(e,t,r){function a(e){return"string"==typeof e&&(e.startsWith("fips-")||e.endsWith("-fips"))}function i(e){return"string"==typeof e&&["aws-global","aws-us-gov-global"].includes(e)}function s(e){return["fips-aws-global","aws-fips","aws-global"].includes(e)?"us-east-1":["fips-aws-us-gov-global","aws-us-gov-global"].includes(e)?"us-gov-west-1":e.replace(/fips-(dkr-|prod-)?|-fips/,"")}t.exports={isFipsRegion:a,isGlobalRegion:i,getRealRegion:s}},{}],390:[function(e,t,r){function a(e){if(!e)return null;var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}function i(e){var t=e.config.region,r=a(t),i=e.api.endpointPrefix;return[[t,i],[r,i],[t,"*"],[r,"*"],["*",i],["*","*"]].map(function(e){return e[0]&&e[1]?e.join("/"):null})}function s(e,t){u.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=i(e),r=e.config.useFipsEndpoint,a=e.config.useDualstackEndpoint,o=0;o=0){u=!0;var p=0}var m=function(){u&&p!==n?i.emit("error",a.util.error(new Error("Stream content length mismatch. Received "+p+" of "+n+" bytes."),{code:"StreamContentLengthMismatch"})):2===a.HttpClient.streamsApiVersion?i.end():i.emit("end")},c=o.httpResponse.createUnbufferedStream();if(2===a.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),i.on("error",function(e){u=!1,c.unpipe(l),l.emit("end"),l.end()}),c.pipe(l).pipe(i,{end:!1})}else c.pipe(i);else u&&c.on("data",function(e){e&&e.length&&(p+=e.length)}),c.on("data",function(e){i.emit("data",e)}),c.on("end",m);c.on("error",function(e){u=!1,i.emit("error",e)})}}),i},emitEvent:function(e,t,r){"function"==typeof t&&(r=t,t=null),r||(r=function(){}),t||(t=this.eventParameters(e,this.response)),a.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 a.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",a.EventListeners.Core.VALIDATE_CREDENTIALS),this.removeListener("sign",a.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}}),a.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()})}},a.Request.deletePromisesFromClass=function(){delete this.prototype.promise},a.util.addPromises(a.Request),a.util.mixin(a.Request,a.SequentialExecutor)}).call(this)}).call(this,e("_process"))},{"./core":345,"./state_machine":422,_process:440,jmespath:439}],393:[function(e,t,r){function a(e){var t=e.request._waiter,r=t.config.acceptors,a=!1,i="retry";r.forEach(function(r){if(!a){var s=t.matchers[r.matcher];s&&s(e,r.expected,r.argument)&&(a=!0,i=r.state)}}),!a&&e.error&&(i="failure"),"success"===i?t.setSuccess(e):t.setError(e,"retry"===i)}var i=e("./core"),s=i.util.inherit,o=e("jmespath");i.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 a=o.search(e.data,r)}catch(e){return!1}return o.strictDeepEqual(a,t)},pathAll:function(e,t,r){try{var a=o.search(e.data,r)}catch(e){return!1}Array.isArray(a)||(a=[a]);var i=a.length;if(!i)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(a.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=a.util.buffer.toBuffer(e.body);else if(!e.body)throw new Error("params.Body is required");e.sliceFn=a.util.arraySliceFn(e.body)},bindServiceObject:function(e){e=e||{};var t=this;if(t.service){var r=t.service,i=a.util.copy(r.config);i.signatureVersion=r.getSignatureVersion(),t.service=new r.constructor.__super__(i),t.service.config.params=a.util.merge(t.service.config.params||{},e),Object.defineProperty(t.service,"_originalConfig",{get:function(){return r._originalConfig},enumerable:!1,configurable:!0})}else t.service=new a.S3({params:e})},adjustTotalBytes:function(){var e=this;try{e.totalBytes=i(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=i(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 a=r.slice(e.partSize);e.partBuffers.push(a),e.partBufferLength+=a.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 i={Body:e};this.tags&&(i.Tagging=this.getTaggingHeader());var s=t.service.putObject(i);return s._managedUpload=t,s.on("httpUploadProgress",t.progress).send(t.finishSinglePart),t.singlePart=s,null}if(t.service.config.params.ContentMD5){var o=a.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(i,1)}return this},removeAllListeners:function(e){return e?delete this._events[e]:this._events={},this},emit:function(e,t,r){r||(r=function(){});var a=this.listeners(e),i=a.length;return this.callListeners(a,t,r),i>0},callListeners:function(e,t,r,i){function s(i){if(i&&(n=a.util.error(n||new Error,i),o._haltHandlersOnError))return r.call(o,n);o.callListeners(e,t,r,n)}for(var o=this,n=i||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=a.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),a.util.each(e,function(e,r){"function"==typeof r&&(r=[r]),a.util.arrayEach(r,function(r){t.on(e,r)})}),t},addNamedListener:function(e,t,r,a){return this[e]=r,this.addListener(t,r,a),this},addNamedAsyncListener:function(e,t,r,a){return r._isAsync=!0,this.addNamedListener(e,t,r,a)},addNamedListeners:function(e){var t=this;return e(function(){t.addNamedListener.apply(t,arguments)},function(){t.addNamedAsyncListener.apply(t,arguments)}),this}}),a.SequentialExecutor.prototype.addListener=a.SequentialExecutor.prototype.on,t.exports=a.SequentialExecutor},{"./core":345}],397:[function(e,t,r){(function(r){(function(){var a=e("./core"),i=e("./model/api"),s=e("./region_config"),o=a.util.inherit,n=0,u=e("./region/utils");a.Service=o({constructor:function(e){if(!this.loadServiceClass)throw a.util.error(new Error,"Service must be constructed with `new' operator");if(e){if(e.region){var t=e.region;u.isFipsRegion(t)&&(e.region=u.getRealRegion(t),e.useFipsEndpoint=!0),u.isGlobalRegion(t)&&(e.region=u.getRealRegion(t))}"boolean"==typeof e.useDualstack&&"boolean"!=typeof e.useDualstackEndpoint&&(e.useDualstackEndpoint=e.useDualstack)}var r=this.loadServiceClass(e||{});if(r){var i=a.util.copy(e),s=new r(e);return Object.defineProperty(s,"_originalConfig",{get:function(){return i},enumerable:!1,configurable:!0}),s._clientId=++n,s}this.initialize(e)},initialize:function(e){var t=a.config[this.serviceIdentifier];if(this.config=new a.Config(a.config),t&&this.config.update(t,!0),e&&this.config.update(e,!0),this.validateService(),this.config.endpoint||s.configureEndpoint(this),this.config.endpoint=this.endpointFromTemplate(this.config.endpoint),this.setEndpoint(this.config.endpoint),a.SequentialExecutor.call(this),a.Service.addDefaultMonitoringListeners(this),(this.config.clientSideMonitoring||a.Service._clientSideMonitoring)&&this.publisher){var i=this.publisher;this.addNamedListener("PUBLISH_API_CALL","apiCall",function(e){r.nextTick(function(){i.eventHandler(e)})}),this.addNamedListener("PUBLISH_API_ATTEMPT","apiCallAttempt",function(e){r.nextTick(function(){i.eventHandler(e)})})}},validateService:function(){},loadServiceClass:function(e){var t=e;if(a.util.isEmpty(this.api)){if(t.apiConfig)return a.Service.defineServiceApi(this.constructor,t.apiConfig);if(this.constructor.services){t=new a.Config(a.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]&&a.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?a.util.isType(e,Date)&&(e=a.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,i=t.length-1;i>=0;i--)if("*"!==t[i][t[i].length-1]&&(r=t[i]),t[i].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 i=this.api.operations[e];i&&(t=a.util.copy(t),a.util.each(this.config.params,function(e,r){i.input.members[e]&&(void 0!==t[e]&&null!==t[e]||(t[e]=r))}))}var s=new a.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 a=this.makeRequest(e,t).toUnauthenticated();return r?a.send(r):a},waitFor:function(e,t,r){return new a.ResourceWaiter(this,e).wait(t,r)},addAllRequestListeners:function(e){for(var t=[a.events,a.EventListeners.Core,this.serviceInterface(),a.EventListeners.CorePost],r=0;r299?(i.code&&(r.FinalAwsException=i.code),i.message&&(r.FinalAwsExceptionMessage=i.message)):((i.code||i.name)&&(r.FinalSdkException=i.code||i.name),i.message&&(r.FinalSdkExceptionMessage=i.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()},a=e.response;return a.httpResponse.statusCode&&(r.HttpStatusCode=a.httpResponse.statusCode),!e._unAuthenticated&&e.service.config.credentials&&e.service.config.credentials.accessKeyId&&(r.AccessKey=e.service.config.credentials.accessKeyId),a.httpResponse.headers?(e.httpRequest.headers["x-amz-security-token"]&&(r.SessionToken=e.httpRequest.headers["x-amz-security-token"]),a.httpResponse.headers["x-amzn-requestid"]&&(r.XAmznRequestId=a.httpResponse.headers["x-amzn-requestid"]),a.httpResponse.headers["x-amz-request-id"]&&(r.XAmzRequestId=a.httpResponse.headers["x-amz-request-id"]),a.httpResponse.headers["x-amz-id-2"]&&(r.XAmzId2=a.httpResponse.headers["x-amz-id-2"]),r):r},attemptFailEvent:function(e){var t=this.apiAttemptEvent(e),r=e.response,a=r.error;return r.httpResponse.statusCode>299?(a.code&&(t.AwsException=a.code),a.message&&(t.AwsExceptionMessage=a.message)):((a.code||a.name)&&(t.SdkException=a.code||a.name),a.message&&(t.SdkExceptionMessage=a.message)),t},attachMonitoringEmitter:function(e){var t,r,i,s,o,n,u=0,p=this;e.on("validate",function(){s=a.util.realClock.now(),n=Date.now()},!0),e.on("sign",function(){r=a.util.realClock.now(),t=Date.now(),o=e.httpRequest.region,u++},!0),e.on("validateResponse",function(){i=Math.round(a.util.realClock.now()-r)}),e.addNamedListener("API_CALL_ATTEMPT","success",function(){var r=p.apiAttemptEvent(e);r.Timestamp=t,r.AttemptLatency=i>=0?i:0,r.Region=o,p.emit("apiCallAttempt",[r])}),e.addNamedListener("API_CALL_ATTEMPT_RETRY","retry",function(){var s=p.attemptFailEvent(e);s.Timestamp=t,i=i||Math.round(a.util.realClock.now()-r),s.AttemptLatency=i>=0?i: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(a.util.realClock.now()-s);t.Latency=r>=0?r:0;var i=e.response;i.error&&i.error.retryable&&"number"==typeof i.retryCount&&"number"==typeof i.maxRetries&&i.retryCount>=i.maxRetries&&(t.MaxRetriesExceeded=1),p.emit("apiCall",[t])}})},setupRequestListeners:function(e){},getSigningName:function(){return this.api.signingName||this.api.endpointPrefix},getSignerClass:function(e){var t,r=null,i="";if(e){r=(e.service.api.operations||{})[e.operation]||null,i=r?r.authtype:""}return t=this.config.signatureVersion?this.config.signatureVersion:"v4"===i||"v4-unsigned-body"===i?"v4":"bearer"===i?"bearer":this.api.signatureVersion,a.Signers.RequestSigner.getVersion(t)},serviceInterface:function(){switch(this.api.protocol){case"ec2":case"query":return a.EventListeners.Query;case"json":return a.EventListeners.Json;case"rest-json":return a.EventListeners.RestJson;case"rest-xml":return a.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,t){return a.util.calculateRetryDelay(e,this.config.retryDelayOptions,t)},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)>=3e5},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":case"EC2ThrottledException":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 a.Endpoint(e,this.config)},paginationConfig:function(e,t){var r=this.api.operations[e].paginator;if(!r){if(t){var i=new Error;throw a.util.error(i,"No pagination configuration for "+e)}return null}return r}}),a.util.update(a.Service,{defineMethods:function(e){a.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){a.Service._serviceMap[e]=!0,Array.isArray(t)||(r=t,t=[]);var i=o(a.Service,r||{});if("string"==typeof e){a.Service.addVersions(i,t);var s=i.serviceIdentifier||e;i.serviceIdentifier=s}else i.prototype.api=e,a.Service.defineMethods(i);if(a.SequentialExecutor.call(this.prototype),!this.prototype.publisher&&a.util.clientSideMonitoring){var n=a.util.clientSideMonitoring.Publisher,u=a.util.clientSideMonitoring.configProvider,p=u();this.prototype.publisher=new n(p),p.enabled&&(a.Service._clientSideMonitoring=!0)}return a.SequentialExecutor.call(i.prototype),a.Service.addDefaultMonitoringListeners(i.prototype),i},addVersions:function(e,t){Array.isArray(t)||(t=[t]),e.services=e.services||{};for(var r=0;r=0){throw a.util.error(new Error,{name:"InvalidEndpoint",message:"AWS.IotData requires an explicit `endpoint' configuration option."})}},setupRequestListeners:function(e){e.addListener("validateResponse",this.validateResponseBody),i.indexOf(e.operation)>-1&&e.addListener("extractData",a.util.convertPayloadToString)},validateResponseBody:function(e){var t=e.httpResponse.body.toString()||"{}",r=t.trim();r&&"{"===r.charAt(0)||(e.httpResponse.body="")}})},{"../core":345}],403:[function(e,t,r){var a=e("../core");a.util.update(a.Lambda.prototype,{setupRequestListeners:function(e){"invoke"===e.operation&&e.addListener("extractData",a.util.convertPayloadToString)}})},{"../core":345}],404:[function(e,t,r){var a=e("../core");a.util.update(a.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 a.Endpoint(t))}})},{"../core":345}],405:[function(e,t,r){e("../polly/presigner")},{"../polly/presigner":379}],406:[function(e,t,r){var a=e("../core"),i=e("./rdsutil");e("../rds/signer");var s=["copyDBSnapshot","createDBInstanceReadReplica","createDBCluster","copyDBClusterSnapshot","startDBInstanceAutomatedBackupsReplication"];a.util.update(a.RDS.prototype,{setupRequestListeners:function(e){i.setupRequestListeners(this,e,s)}})},{"../core":345,"../rds/signer":387,"./rdsutil":407}],407:[function(e,t,r){var a=e("../core"),i={setupRequestListeners:function(e,t,r){if(-1!==r.indexOf(t.operation)&&t.params.SourceRegion)if(t.params=a.util.copy(t.params),t.params.PreSignedUrl||t.params.SourceRegion===e.config.region)delete t.params.SourceRegion;else{var s=!!e.config.paramValidation;s&&t.removeListener("validate",a.EventListeners.Core.VALIDATE_PARAMETERS),t.onAsync("validate",i.buildCrossRegionPresignedUrl),s&&t.addListener("validate",a.EventListeners.Core.VALIDATE_PARAMETERS)}},buildCrossRegionPresignedUrl:function(e,t){var r=a.util.copy(e.service.config);r.region=e.params.SourceRegion,delete e.params.SourceRegion,delete r.endpoint,delete r.params,r.signatureVersion="v4";var i=e.service.config.region,s=new e.service.constructor(r),o=s[e.operation](a.util.copy(e.params));o.on("build",function(e){var t=e.httpRequest;t.params.DestinationRegion=i,t.body=a.util.queryParamsToString(t.params)}),o.presign(function(r,a){r?t(r):(e.params.PreSignedUrl=a,t())})}};t.exports=i},{"../core":345}],408:[function(e,t,r){var a=e("../core");a.util.update(a.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||a.Service.prototype.retryableError.call(this,e)}})},{"../core":345}],409:[function(e,t,r){var a=e("../core"),i=e("../signers/v4_credentials"),s=e("../config_regional_endpoint"),o=e("./s3util"),n=e("../region_config");e("../s3/managed_upload");var u={completeMultipartUpload:!0,copyObject:!0,uploadPartCopy:!0},p=["AuthorizationHeaderMalformed","BadRequest","PermanentRedirect",301];a.util.update(a.S3.prototype,{getSignatureVersion:function(e){var t=this.api.signatureVersion,r=this._originalConfig?this._originalConfig.signatureVersion:null,a=this.config.signatureVersion,i=!!e&&e.isPresigned();return r?r="v2"===r?"s3":r:(!0!==i?t="v4":a&&(t=a),t)},getSigningName:function(e){if(e&&"writeGetObjectResponse"===e.operation)return"s3-object-lambda";var t=a.Service.prototype.getSigningName;return e&&e._parsedArn&&e._parsedArn.service?e._parsedArn.service:t.call(this)},getSignerClass:function(e){var t=this.getSignatureVersion(e);return a.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 a.util.error(new Error,{name:"InvalidEndpoint",message:e})},shouldDisableBodySigning:function(e){var t=this.getSignerClass();return!0===this.config.s3DisableBodySigning&&t===a.Signers.V4&&"https:"===e.httpRequest.endpoint.protocol},setupRequestListeners:function(e){if(e.addListener("validate",this.validateScheme),e.addListener("validate",this.validateBucketName,!0),e.addListener("validate",this.optInUsEast1RegionalEndpoint,!0),e.removeListener("validate",a.EventListeners.Core.VALIDATE_REGION),e.addListener("build",this.addContentType),e.addListener("build",this.computeContentMd5),e.addListener("build",this.computeSseCustomerKeyMd5),e.addListener("build",this.populateURI),e.addListener("afterBuild",this.addExpect100Continue),e.addListener("extractError",this.extractError),e.addListener("extractData",a.util.hoistPayloadMember),e.addListener("extractData",this.extractData),e.addListener("extractData",this.extractErrorFrom200Response),e.addListener("beforePresign",this.prepareSignedUrl),this.shouldDisableBodySigning(e)&&(e.removeListener("afterBuild",a.EventListeners.Core.COMPUTE_SHA256),e.addListener("afterBuild",this.disableBodySigning)),"createBucket"!==e.operation&&o.isArnInParam(e,"Bucket"))return e._parsedArn=a.util.ARN.parse(e.params.Bucket),e.removeListener("validate",this.validateBucketName),e.removeListener("build",this.populateURI),"s3"===e._parsedArn.service?(e.addListener("validate",o.validateS3AccessPointArn),e.addListener("validate",this.validateArnResourceType),e.addListener("validate",this.validateArnRegion)):"s3-outposts"===e._parsedArn.service&&(e.addListener("validate",o.validateOutpostsAccessPointArn),e.addListener("validate",o.validateOutpostsArn),e.addListener("validate",o.validateArnRegion)),e.addListener("validate",o.validateArnAccount),e.addListener("validate",o.validateArnService),e.addListener("build",this.populateUriFromAccessPointArn),void e.addListener("build",o.validatePopulateUriFromArn);e.addListener("validate",this.validateBucketEndpoint),e.addListener("validate",this.correctBucketRegionFromCache),e.onAsync("extractError",this.requestBucketRegion),a.util.isBrowser()&&e.onAsync("retry",this.reqRegionForNetworkingError)},validateScheme:function(e){var t=e.params,r=e.httpRequest.endpoint.protocol;if((t.SSECustomerKey||t.CopySourceSSECustomerKey)&&"https:"!==r)throw a.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 a.util.error(new Error,{code:"ConfigError",message:"Cannot send requests to root API with `s3BucketEndpoint` set."})}},validateArnRegion:function(e){o.validateArnRegion(e,{allowFipsEndpoint:!0})},validateArnResourceType:function(e){var t=e._parsedArn.resource;if(0!==t.indexOf("accesspoint:")&&0!==t.indexOf("accesspoint/"))throw a.util.error(new Error,{code:"InvalidARN",message:"ARN resource should begin with 'accesspoint/'"})},validateBucketName:function(e){var t=e.service,r=t.getSignatureVersion(e),i=e.params&&e.params.Bucket,s=e.params&&e.params.Key,o=i&&i.indexOf("/");if(i&&o>=0)if("string"==typeof s&&o>0){e.params=a.util.copy(e.params);var n=i.substr(o+1)||"";e.params.Key=n+"/"+s,e.params.Bucket=i.substr(0,o)}else if("v4"===r){var u="Bucket names cannot contain forward slashes. Bucket: "+i;throw a.util.error(new Error,{code:"InvalidBucket",message:u})}},isValidAccelerateOperation:function(e){return-1===["createBucket","deleteBucket","listBuckets"].indexOf(e)},optInUsEast1RegionalEndpoint:function(e){var t=e.service,r=t.config;if(r.s3UsEast1RegionalEndpoint=s(t._originalConfig,{env:"AWS_S3_US_EAST_1_REGIONAL_ENDPOINT",sharedConfig:"s3_us_east_1_regional_endpoint",clientConfig:"s3UsEast1RegionalEndpoint"}),!(t._originalConfig||{}).endpoint&&"us-east-1"===e.httpRequest.region&&"regional"===r.s3UsEast1RegionalEndpoint&&e.httpRequest.endpoint.hostname.indexOf("s3.amazonaws.com")>=0){var a=r.endpoint.indexOf(".amazonaws.com");regionalEndpoint=r.endpoint.substring(0,a)+".us-east-1"+r.endpoint.substring(a),e.httpRequest.updateEndpoint(regionalEndpoint)}},populateURI:function(e){var t=e.httpRequest,r=e.params.Bucket,a=e.service,i=t.endpoint;if(r&&!a.pathStyleBucketName(r)){a.config.useAccelerateEndpoint&&a.isValidAccelerateOperation(e.operation)?a.config.useDualstackEndpoint?i.hostname=r+".s3-accelerate.dualstack.amazonaws.com":i.hostname=r+".s3-accelerate.amazonaws.com":a.config.s3BucketEndpoint||(i.hostname=r+"."+i.hostname);var s=i.port;i.host=80!==s&&443!==s?i.hostname+":"+i.port:i.hostname,t.virtualHostedBucket=r,a.removeVirtualHostedBucketFromPath(e)}},removeVirtualHostedBucketFromPath:function(e){var t=e.httpRequest,r=t.virtualHostedBucket;if(r&&t.path){if(e.params&&e.params.Key){var i="/"+a.util.uriEscapePath(e.params.Key);if(0===t.path.indexOf(i)&&(t.path.length===i.length||"?"===t.path[i.length]))return}t.path=t.path.replace(new RegExp("/"+r),""),"/"!==t.path[0]&&(t.path="/"+t.path)}},populateUriFromAccessPointArn:function(e){var t=e._parsedArn,r="s3-outposts"===t.service,i="s3-object-lambda"===t.service,s=r?"."+t.outpostId:"",o=r?"s3-outposts":"s3-accesspoint",u=!r&&e.service.config.useFipsEndpoint?"-fips":"",p=!r&&e.service.config.useDualstackEndpoint?".dualstack":"",m=e.httpRequest.endpoint,c=n.getEndpointSuffix(t.region),l=e.service.config.s3UseArnRegion;if(m.hostname=[t.accessPoint+"-"+t.accountId+s,o+u+p,l?t.region:e.service.config.region,c].join("."),i){var o="s3-object-lambda",d=t.resource.split("/")[1],u=e.service.config.useFipsEndpoint?"-fips":"";m.hostname=[d+"-"+t.accountId,o+u,l?t.region:e.service.config.region,c].join(".")}m.host=m.hostname;var y=a.util.uriEscape(e.params.Bucket),b=e.httpRequest.path;e.httpRequest.path=b.replace(new RegExp("/"+y),""),"/"!==e.httpRequest.path[0]&&(e.httpRequest.path="/"+e.httpRequest.path),e.httpRequest.region=t.region},addExpect100Continue:function(e){var t=e.httpRequest.headers["Content-Length"];a.util.isNode()&&(t>=1048576||e.params.Body instanceof a.util.stream.Stream)&&(e.httpRequest.headers.Expect="100-continue")},addContentType:function(e){var t=e.httpRequest;if("GET"===t.method||"HEAD"===t.method)return void delete t.headers["Content-Type"];t.headers["Content-Type"]||(t.headers["Content-Type"]="application/octet-stream");var r=t.headers["Content-Type"];if(a.util.isBrowser())if("string"!=typeof t.body||r.match(/;\s*charset=/)){var i=function(e,t,r){return t+r.toUpperCase()};t.headers["Content-Type"]=r.replace(/(;\s*charset=)(.+)$/,i)}else{t.headers["Content-Type"]+="; charset=UTF-8"}},willComputeChecksums:function(e){var t=e.service.api.operations[e.operation].input.members,r=e.httpRequest.body,i=e.service.config.computeChecksums&&t.ContentMD5&&!e.params.ContentMD5&&r&&(a.util.Buffer.isBuffer(e.httpRequest.body)||"string"==typeof e.httpRequest.body);return!(!i||!e.service.shouldDisableBodySigning(e)||e.isPresigned())||!(!i||"s3"!==this.getSignatureVersion(e)||!e.isPresigned())},computeContentMd5:function(e){if(e.service.willComputeChecksums(e)){var t=a.util.crypto.md5(e.httpRequest.body,"base64");e.httpRequest.headers["Content-MD5"]=t}},computeSseCustomerKeyMd5:function(e){var t={SSECustomerKey:"x-amz-server-side-encryption-customer-key-MD5",CopySourceSSECustomerKey:"x-amz-copy-source-server-side-encryption-customer-key-MD5"};a.util.each(t,function(t,r){if(e.params[t]){var i=a.util.crypto.md5(e.params[t],"base64");e.httpRequest.headers[r]=i}})},pathStyleBucketName:function(e){return!!this.config.s3ForcePathStyle||!this.config.s3BucketEndpoint&&(!o.dnsCompatibleBucketName(e)||!(!this.config.sslEnabled||!e.match(/\./)))},extractErrorFrom200Response:function(e){if(u[e.request.operation]){var t=e.httpResponse;if(t.body&&t.body.toString().match("")){e.data=null;throw(this.service?this.service:this).extractError(e),e.error}if(!t.body||!t.body.toString().match(/<[\w_]/))throw e.data=null,a.util.error(new Error,{code:"InternalError",message:"S3 aborted request"})}},retryableError:function(e,t){return!(!u[t.operation]||200!==e.statusCode)||(!t._requestRegionForBucket||!t.service.bucketRegionCache[t._requestRegionForBucket])&&(!(!e||"RequestTimeout"!==e.code)||(e&&-1!=p.indexOf(e.code)&&e.region&&e.region!=t.httpRequest.region?(t.httpRequest.region=e.region,301===e.statusCode&&t.service.updateReqBucketRegion(t),!0):a.Service.prototype.retryableError.call(this,e,t)))},updateReqBucketRegion:function(e,t){var r=e.httpRequest;if("string"==typeof t&&t.length&&(r.region=t),r.endpoint.host.match(/s3(?!-accelerate).*\.amazonaws\.com$/)){var i=e.service,s=i.config,o=s.s3BucketEndpoint;o&&delete s.s3BucketEndpoint;var n=a.util.copy(s);delete n.endpoint,n.region=r.region,r.endpoint=new a.S3(n).endpoint,i.populateURI(e),s.s3BucketEndpoint=o,r.headers.Host=r.endpoint.host,"validate"===e._asm.currentState&&(e.removeListener("build",i.populateURI),e.addListener("build",i.removeVirtualHostedBucketFromPath))}},extractData:function(e){var t=e.request;if("getBucketLocation"===t.operation){var r=e.httpResponse.body.toString().match(/>(.+)<\/Location/);delete e.data._,e.data.LocationConstraint=r?r[1]:""}var a=t.params.Bucket||null;if("deleteBucket"!==t.operation||"string"!=typeof a||e.error){var i=e.httpResponse.headers||{},s=i["x-amz-bucket-region"]||null;if(!s&&"createBucket"===t.operation&&!e.error){var o=t.params.CreateBucketConfiguration;s=o?"EU"===o.LocationConstraint?"eu-west-1":o.LocationConstraint:"us-east-1"}s&&a&&s!==t.service.bucketRegionCache[a]&&(t.service.bucketRegionCache[a]=s)}else t.service.clearBucketRegionCache(a);t.service.extractRequestIds(e)},extractError:function(e){var t={304:"NotModified",403:"Forbidden",400:"BadRequest",404:"NotFound"},r=e.request,i=e.httpResponse.statusCode,s=e.httpResponse.body||"",o=e.httpResponse.headers||{},n=o["x-amz-bucket-region"]||null,u=r.params.Bucket||null,p=r.service.bucketRegionCache;n&&u&&n!==p[u]&&(p[u]=n);var m;if(t[i]&&0===s.length)u&&!n&&(m=p[u]||null)!==r.httpRequest.region&&(n=m),e.error=a.util.error(new Error,{code:t[i],message:null,region:n});else{var c=(new a.XML.Parser).parse(s.toString());c.Region&&!n?(n=c.Region,u&&n!==p[u]&&(p[u]=n)):!u||n||c.Region||(m=p[u]||null)!==r.httpRequest.region&&(n=m),e.error=a.util.error(new Error,{code:c.Code||i,message:c.Message||null,region:n})}r.service.extractRequestIds(e)},requestBucketRegion:function(e,t){var r=e.error,i=e.request,s=i.params.Bucket||null;if(!r||!s||r.region||"listObjects"===i.operation||a.util.isNode()&&"headBucket"===i.operation||400===r.statusCode&&"headObject"!==i.operation||-1===p.indexOf(r.code))return t();var o=a.util.isNode()?"headBucket":"listObjects",n={Bucket:s};"listObjects"===o&&(n.MaxKeys=0);var u=i.service[o](n);u._requestRegionForBucket=s,u.send(function(){var e=i.service.bucketRegionCache[s]||null;r.region=e,t()})},reqRegionForNetworkingError:function(e,t){if(!a.util.isBrowser())return t();var r=e.error,i=e.request,s=i.params.Bucket;if(!r||"NetworkingError"!==r.code||!s||"us-east-1"===i.httpRequest.region)return t();var n=i.service,u=n.bucketRegionCache,p=u[s]||null;if(p&&p!==i.httpRequest.region)n.updateReqBucketRegion(i,p),t();else if(o.dnsCompatibleBucketName(s))if(i.httpRequest.virtualHostedBucket){var m=n.listObjects({Bucket:s,MaxKeys:0});n.updateReqBucketRegion(m,"us-east-1"),m._requestRegionForBucket=s,m.send(function(){var e=n.bucketRegionCache[s]||null;e&&e!==i.httpRequest.region&&n.updateReqBucketRegion(i,e),t()})}else t();else n.updateReqBucketRegion(i,"us-east-1"),"us-east-1"!==u[s]&&(u[s]="us-east-1"),t()},bucketRegionCache:{},clearBucketRegionCache:function(e){var t=this.bucketRegionCache;e?"string"==typeof e&&(e=[e]):e=Object.keys(t);for(var r=0;r=0)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"FIPS region not allowed in ARN"});if(!r&&o!==n)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"Configured region conflicts with access point region"});if(r&&i.getEndpointSuffix(o)!==i.getEndpointSuffix(n))throw a.util.error(new Error,{code:"InvalidConfiguration",message:"Configured region and access point region not in same partition"});if(e.service.config.useAccelerateEndpoint)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"useAccelerateEndpoint config is not supported with access point ARN"});if("s3-outposts"===e._parsedArn.service&&e.service.config.useDualstackEndpoint)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"Dualstack is not supported with outposts access point ARN"})},loadUseArnRegionConfig:function(e){var t="AWS_S3_USE_ARN_REGION",i="s3_use_arn_region",s=!0,o=e.service._originalConfig||{};if(void 0!==e.service.config.s3UseArnRegion)return e.service.config.s3UseArnRegion;if(void 0!==o.s3UseArnRegion)s=!0===o.s3UseArnRegion;else if(a.util.isNode())if(r.env[t]){var n=r.env[t].trim().toLowerCase();if(["false","true"].indexOf(n)<0)throw a.util.error(new Error,{code:"InvalidConfiguration",message:t+" only accepts true or false. Got "+r.env[t],retryable:!1});s="true"===n}else{var u={},p={};try{u=a.util.getProfilesFromSharedConfig(a.util.iniLoader),p=u[r.env.AWS_PROFILE||a.util.defaultProfile]}catch(e){}if(p[i]){if(["false","true"].indexOf(p[i].trim().toLowerCase())<0)throw a.util.error(new Error,{code:"InvalidConfiguration",message:i+" only accepts true or false. Got "+p[i],retryable:!1});s="true"===p[i].trim().toLowerCase()}}return e.service.config.s3UseArnRegion=s,s},validatePopulateUriFromArn:function(e){if(e.service._originalConfig&&e.service._originalConfig.endpoint)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"Custom endpoint is not compatible with access point ARN"});if(e.service.config.s3ForcePathStyle)throw a.util.error(new Error,{code:"InvalidConfiguration",message:"Cannot construct path-style endpoint with access point"})},dnsCompatibleBucketName:function(e){var t=e,r=new RegExp(/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/),a=new RegExp(/(\d+\.){3}\d+/),i=new RegExp(/\.\./);return!(!t.match(r)||t.match(a)||t.match(i))}};t.exports=s}).call(this)}).call(this,e("_process"))},{"../core":345,"../region_config":390,_process:440}],411:[function(e,t,r){var a=e("../core");a.util.update(a.SQS.prototype,{setupRequestListeners:function(e){e.addListener("build",this.buildEndpoint), e.service.config.computeChecksums&&("sendMessage"===e.operation?e.addListener("extractData",this.verifySendMessageChecksum):"sendMessageBatch"===e.operation?e.addListener("extractData",this.verifySendMessageBatchChecksum):"receiveMessage"===e.operation&&e.addListener("extractData",this.verifyReceiveMessageChecksum))},verifySendMessageChecksum:function(e){if(e.data){var t=e.data.MD5OfMessageBody,r=this.params.MessageBody,a=this.service.calculateChecksum(r);if(a!==t){var i='Got "'+e.data.MD5OfMessageBody+'", expecting "'+a+'".';this.service.throwInvalidChecksumError(e,[e.data.MessageId],i)}}},verifySendMessageBatchChecksum:function(e){if(e.data){var t=this.service,r={},i=[],s=[];a.util.arrayEach(e.data.Successful,function(e){r[e.Id]=e}),a.util.arrayEach(this.params.Entries,function(e){if(r[e.Id]){var a=r[e.Id].MD5OfMessageBody,o=e.MessageBody;t.isChecksumValid(a,o)||(i.push(e.Id),s.push(r[e.Id].MessageId))}}),i.length>0&&t.throwInvalidChecksumError(e,s,"Invalid messages: "+i.join(", "))}},verifyReceiveMessageChecksum:function(e){if(e.data){var t=this.service,r=[];a.util.arrayEach(e.data.Messages,function(e){var a=e.MD5OfBody,i=e.Body;t.isChecksumValid(a,i)||r.push(e.MessageId)}),r.length>0&&t.throwInvalidChecksumError(e,r,"Invalid messages: "+r.join(", "))}},throwInvalidChecksumError:function(e,t,r){e.error=a.util.error(new Error,{retryable:!0,code:"InvalidChecksum",messageIds:t,message:e.request.operation+" returned an invalid MD5 response. "+r})},isChecksumValid:function(e,t){return this.calculateChecksum(t)===e},calculateChecksum:function(e){return a.util.crypto.md5(e,"hex")},buildEndpoint:function(e){var t=e.httpRequest.params.QueueUrl;if(t){e.httpRequest.endpoint=new a.Endpoint(t);var r=e.httpRequest.endpoint.host.match(/^sqs\.(.+?)\./);r&&(e.httpRequest.region=r[1])}}})},{"../core":345}],412:[function(e,t,r){var a=e("../core"),i=e("../config_regional_endpoint");a.util.update(a.STS.prototype,{credentialsFrom:function(e,t){return e?(t||(t=new a.TemporaryCredentials),t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretAccessKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration,t):null},assumeRoleWithWebIdentity:function(e,t){return this.makeUnauthenticatedRequest("assumeRoleWithWebIdentity",e,t)},assumeRoleWithSAML:function(e,t){return this.makeUnauthenticatedRequest("assumeRoleWithSAML",e,t)},setupRequestListeners:function(e){e.addListener("validate",this.optInRegionalEndpoint,!0)},optInRegionalEndpoint:function(e){var t=e.service,r=t.config;if(r.stsRegionalEndpoints=i(t._originalConfig,{env:"AWS_STS_REGIONAL_ENDPOINTS",sharedConfig:"sts_regional_endpoints",clientConfig:"stsRegionalEndpoints"}),"regional"===r.stsRegionalEndpoints&&t.isGlobalEndpoint){if(!r.region)throw a.util.error(new Error,{code:"ConfigError",message:"Missing region in config"});var s=r.endpoint.indexOf(".amazonaws.com"),o=r.endpoint.substring(0,s)+"."+r.region+r.endpoint.substring(s);e.httpRequest.updateEndpoint(o),e.httpRequest.region=r.region}}})},{"../config_regional_endpoint":344,"../core":345}],413:[function(e,t,r){var a=e("../core");a.Signers.Bearer=a.util.inherit(a.Signers.RequestSigner,{constructor:function(e){a.Signers.RequestSigner.call(this,e)},addAuthorization:function(e){this.request.headers.Authorization="Bearer "+e.token}})},{"../core":345}],414:[function(e,t,r){function a(e){var t=e.httpRequest.headers[n],r=e.service.getSignerClass(e);if(delete e.httpRequest.headers["User-Agent"],delete e.httpRequest.headers["X-Amz-User-Agent"],r===s.Signers.V4){if(t>604800){throw s.util.error(new Error,{code:"InvalidExpiryTime",message:"Presigning does not support expiry time greater than a week with SigV4 signing.",retryable:!1})}e.httpRequest.headers[n]=t}else{if(r!==s.Signers.S3)throw s.util.error(new Error,{message:"Presigning only supports S3 or SigV4 signing.",code:"UnsupportedSigner",retryable:!1});var a=e.service?e.service.getSkewCorrectedDate():s.util.date.getDate();e.httpRequest.headers[n]=parseInt(s.util.date.unixTimestamp(a)+t,10).toString()}}function i(e){var t=e.httpRequest.endpoint,r=s.util.urlParse(e.httpRequest.path),a={};r.search&&(a=s.util.queryStringParse(r.search.substr(1)));var i=e.httpRequest.headers.Authorization.split(" ");if("AWS"===i[0])i=i[1].split(":"),a.Signature=i.pop(),a.AWSAccessKeyId=i.join(":"),s.util.each(e.httpRequest.headers,function(e,t){e===n&&(e="Expires"),0===e.indexOf("x-amz-meta-")&&(delete a[e],e=e.toLowerCase()),a[e]=t}),delete e.httpRequest.headers[n],delete a.Authorization,delete a.Host;else if("AWS4-HMAC-SHA256"===i[0]){i.shift();var o=i.join(" "),u=o.match(/Signature=(.*?)(?:,|\s|\r?\n|$)/)[1];a["X-Amz-Signature"]=u,delete a.Expires}t.pathname=r.pathname,t.search=s.util.queryParamsToString(a)}var s=e("../core"),o=s.util.inherit,n="presigned-expires";s.Signers.Presign=o({sign:function(e,t,r){if(e.httpRequest.headers[n]=t||3600,e.on("build",a),e.on("sign",i),e.removeListener("afterBuild",s.EventListeners.Core.SET_CONTENT_LENGTH),e.removeListener("afterBuild",s.EventListeners.Core.COMPUTE_SHA256),e.emit("beforePresign",[e]),!r){if(e.build(),e.response.error)throw e.response.error;return s.util.urlFormat(e.httpRequest.endpoint)}e.build(function(){this.response.error?r(this.response.error):r(null,s.util.urlFormat(e.httpRequest.endpoint))})}}),t.exports=s.Signers.Presign},{"../core":345}],415:[function(e,t,r){var a=e("../core"),i=a.util.inherit;a.Signers.RequestSigner=i({constructor:function(e){this.request=e},setServiceClientId:function(e){this.serviceClientId=e},getServiceClientId:function(){return this.serviceClientId}}),a.Signers.RequestSigner.getVersion=function(e){switch(e){case"v2":return a.Signers.V2;case"v3":return a.Signers.V3;case"s3v4":case"v4":return a.Signers.V4;case"s3":return a.Signers.S3;case"v3https":return a.Signers.V3Https;case"bearer":return a.Signers.Bearer}throw new Error("Unknown signing version "+e)},e("./v2"),e("./v3"),e("./v3https"),e("./v4"),e("./s3"),e("./presign"),e("./bearer")},{"../core":345,"./bearer":413,"./presign":414,"./s3":416,"./v2":417,"./v3":418,"./v3https":419,"./v4":420}],416:[function(e,t,r){var a=e("../core"),i=a.util.inherit;a.Signers.S3=i(a.Signers.RequestSigner,{subResources:{acl:1,accelerate:1,analytics:1,cors:1,lifecycle:1,delete:1,inventory:1,location:1,logging:1,metrics:1,notification:1,partNumber:1,policy:1,requestPayment:1,replication:1,restore:1,tagging:1,torrent:1,uploadId:1,uploads:1,versionId:1,versioning:1,versions:1,website:1},responseHeaders:{"response-content-type":1,"response-content-language":1,"response-expires":1,"response-cache-control":1,"response-content-disposition":1,"response-content-encoding":1},addAuthorization:function(e,t){this.request.headers["presigned-expires"]||(this.request.headers["X-Amz-Date"]=a.util.date.rfc822(t)),e.sessionToken&&(this.request.headers["x-amz-security-token"]=e.sessionToken);var r=this.sign(e.secretAccessKey,this.stringToSign()),i="AWS "+e.accessKeyId+":"+r;this.request.headers.Authorization=i},stringToSign:function(){var e=this.request,t=[];t.push(e.method),t.push(e.headers["Content-MD5"]||""),t.push(e.headers["Content-Type"]||""),t.push(e.headers["presigned-expires"]||"");var r=this.canonicalizedAmzHeaders();return r&&t.push(r),t.push(this.canonicalizedResource()),t.join("\n")},canonicalizedAmzHeaders:function(){var e=[];a.util.each(this.request.headers,function(t){t.match(/^x-amz-/i)&&e.push(t)}),e.sort(function(e,t){return e.toLowerCase()=0?"&":"?";this.request.path+=s+a.util.queryParamsToString(i)},authorization:function(e,t){var r=[],a=this.credentialString(t);return r.push(this.algorithm+" Credential="+e.accessKeyId+"/"+a),r.push("SignedHeaders="+this.signedHeaders()),r.push("Signature="+this.signature(e,t)),r.join(", ")},signature:function(e,t){var r=i.getSigningKey(e,t.substr(0,8),this.request.region,this.serviceName,this.signatureCache);return a.util.crypto.hmac(r,this.stringToSign(t),"hex")},stringToSign:function(e){var t=[];return t.push("AWS4-HMAC-SHA256"),t.push(e),t.push(this.credentialString(e)),t.push(this.hexEncodedHash(this.canonicalString())),t.join("\n")},canonicalString:function(){var e=[],t=this.request.pathname();return"s3"!==this.serviceName&&"s3v4"!==this.signatureVersion&&(t=a.util.uriEscapePath(t)),e.push(this.request.method),e.push(t),e.push(this.request.search()),e.push(this.canonicalHeaders()+"\n"),e.push(this.signedHeaders()),e.push(this.hexEncodedBodyHash()),e.join("\n")},canonicalHeaders:function(){var e=[];a.util.each.call(this,this.request.headers,function(t,r){e.push([t,r])}),e.sort(function(e,t){return e[0].toLowerCase()-1&&!e.body?"UNSIGNED-PAYLOAD":e.headers["X-Amz-Content-Sha256"]?e.headers["X-Amz-Content-Sha256"]:this.hexEncodedHash(this.request.body||"")},unsignableHeaders:["authorization","content-type","content-length","user-agent","presigned-expires","expect","x-amzn-trace-id"],isSignableHeader:function(e){return 0===e.toLowerCase().indexOf("x-amz-")||this.unsignableHeaders.indexOf(e)<0},isPresigned:function(){return!!this.request.headers["presigned-expires"]}}),t.exports=a.Signers.V4},{"../core":345,"./v4_credentials":421}],421:[function(e,t,r){var a=e("../core"),i={},s=[];t.exports={createScope:function(e,t,r){return[e.substr(0,8),t,r,"aws4_request"].join("/")},getSigningKey:function(e,t,r,o,n){var u=a.util.crypto.hmac(e.secretAccessKey,e.accessKeyId,"base64"),p=[u,t,r,o].join("_");if((n=!1!==n)&&p in i)return i[p];var m=a.util.crypto.hmac("AWS4"+e.secretAccessKey,t,"buffer"),c=a.util.crypto.hmac(m,r,"buffer"),l=a.util.crypto.hmac(c,o,"buffer"),d=a.util.crypto.hmac(l,"aws4_request","buffer");return n&&(i[p]=d,s.push(p),s.length>50&&delete i[s.shift()]),d},emptyCache:function(){i={},s=[]}}},{"../core":345}],422:[function(e,t,r){function a(e,t){this.currentState=t||null,this.states=e||{}}a.prototype.runTo=function(e,t,r,a){"function"==typeof e&&(a=r,r=t,t=e,e=null);var i=this,s=i.states[i.currentState];s.fn.call(r||i,a,function(a){if(a){if(!s.fail)return t?t.call(r,a):null;i.currentState=s.fail}else{if(!s.accept)return t?t.call(r):null;i.currentState=s.accept}if(i.currentState===e)return t?t.call(r,a):null;i.runTo(e,t,r,a)})},a.prototype.addState=function(e,t,r,a){return"function"==typeof t?(a=t,t=null,r=null):"function"==typeof r&&(a=r,r=null),this.currentState||(this.currentState=e),this.states[e]={accept:t,fail:r,fn:a},this},t.exports=a},{}],423:[function(e,t,r){(function(r,a){(function(){var i,s={environment:"nodejs",engine:function(){if(s.isBrowser()&&"undefined"!=typeof navigator)return navigator.userAgent;var e=r.platform+"/"+r.version;return r.env.AWS_EXECUTION_ENV&&(e+=" exec-env/"+r.env.AWS_EXECUTION_ENV),e},userAgent:function(){var t=s.environment,r="aws-sdk-"+t+"/"+e("./core").VERSION;return"nodejs"===t&&(r+=" "+s.engine()),r},uriEscape:function(e){var t=encodeURIComponent(e);return t=t.replace(/[^A-Za-z0-9_.~\-%]+/g,escape),t=t.replace(/[*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})},uriEscapePath:function(e){var t=[];return s.arrayEach(e.split("/"),function(e){t.push(s.uriEscape(e))}),t.join("/")},urlParse:function(e){return s.url.parse(e)},urlFormat:function(e){return s.url.format(e)},queryStringParse:function(e){return s.querystring.parse(e)},queryParamsToString:function(e){var t=[],r=s.uriEscape,a=Object.keys(e).sort();return s.arrayEach(a,function(a){var i=e[a],o=r(a),n=o+"=";if(Array.isArray(i)){var u=[];s.arrayEach(i,function(e){u.push(r(e))}),n=o+"="+u.sort().join("&"+o+"=")}else void 0!==i&&null!==i&&(n=o+"="+r(i));t.push(n)}),t.join("&")},readFileSync:function(t){return s.isBrowser()?null:e("fs").readFileSync(t,"utf-8")},base64:{encode:function(e){if("number"==typeof e)throw s.error(new Error("Cannot base64 encode number "+e));return null===e||void 0===e?e:s.buffer.toBuffer(e).toString("base64")},decode:function(e){if("number"==typeof e)throw s.error(new Error("Cannot base64 decode number "+e));return null===e||void 0===e?e:s.buffer.toBuffer(e,"base64")}},buffer:{toBuffer:function(e,t){return"function"==typeof s.Buffer.from&&s.Buffer.from!==Uint8Array.from?s.Buffer.from(e,t):new s.Buffer(e,t)},alloc:function(e,t,r){if("number"!=typeof e)throw new Error("size passed to alloc must be a number.");if("function"==typeof s.Buffer.alloc)return s.Buffer.alloc(e,t,r);var a=new s.Buffer(e);return void 0!==t&&"function"==typeof a.fill&&a.fill(t,void 0,void 0,r),a},toStream:function(e){s.Buffer.isBuffer(e)||(e=s.buffer.toBuffer(e));var t=new s.stream.Readable,r=0;return t._read=function(a){if(r>=e.length)return t.push(null);var i=r+a;i>e.length&&(i=e.length),t.push(e.slice(r,i)),r=i},t},concat:function(e){var t,r=0,a=0,i=null;for(t=0;t>>8^t[255&(r^e.readUInt8(a))]}return(-1^r)>>>0},hmac:function(e,t,r,a){return r||(r="binary"),"buffer"===r&&(r=void 0),a||(a="sha256"),"string"==typeof t&&(t=s.buffer.toBuffer(t)),s.crypto.lib.createHmac(a,e).update(t).digest(r)},md5:function(e,t,r){return s.crypto.hash("md5",e,t,r)},sha256:function(e,t,r){return s.crypto.hash("sha256",e,t,r)},hash:function(e,t,r,a){var i=s.crypto.createHash(e);r||(r="binary"),"buffer"===r&&(r=void 0),"string"==typeof t&&(t=s.buffer.toBuffer(t));var o=s.arraySliceFn(t),n=s.Buffer.isBuffer(t);if(s.isBrowser()&&"undefined"!=typeof ArrayBuffer&&t&&t.buffer instanceof ArrayBuffer&&(n=!0),a&&"object"==typeof t&&"function"==typeof t.on&&!n)t.on("data",function(e){i.update(e)}),t.on("error",function(e){a(e)}),t.on("end",function(){a(null,i.digest(r))});else{if(!a||!o||n||"undefined"==typeof FileReader){s.isBrowser()&&"object"==typeof t&&!n&&(t=new s.Buffer(new Uint8Array(t)));var u=i.update(t).digest(r);return a&&a(null,u),u}var p=0,m=new FileReader;m.onerror=function(){a(new Error("Failed to read data."))},m.onload=function(){var e=new s.Buffer(new Uint8Array(m.result));i.update(e),p+=e.length,m._continueReading()},m._continueReading=function(){if(p>=t.size)return void a(null,i.digest(r));var e=p+524288;e>t.size&&(e=t.size),m.readAsArrayBuffer(o.call(t,p,e))},m._continueReading()}},toHex:function(e){for(var t=[],r=0;r=3e5,!1),i.config.isClockSkewed},applyClockOffset:function(e){e&&(i.config.systemClockOffset=e-(new Date).getTime())},extractRequestId:function(e){var t=e.httpResponse.headers["x-amz-request-id"]||e.httpResponse.headers["x-amzn-requestid"];!t&&e.data&&e.data.ResponseMetadata&&(t=e.data.ResponseMetadata.RequestId),t&&(e.requestId=t),e.error&&(e.error.requestId=t)},addPromises:function(e,t){var r=!1;void 0===t&&i&&i.config&&(t=i.config.getPromisesDependency()),void 0===t&&"undefined"!=typeof Promise&&(t=Promise),"function"!=typeof t&&(r=!0),Array.isArray(e)||(e=[e]);for(var a=0;a=0)return n++,void setTimeout(p,i+(e.retryAfter||0))}r(e)},p=function(){var t="";a.handleRequest(e,o,function(e){e.on("data",function(e){t+=e.toString()}),e.on("end",function(){var a=e.statusCode;if(a<300)r(null,t);else{var i=1e3*parseInt(e.headers["retry-after"],10)||0,o=s.error(new Error,{statusCode:a,retryable:a>=500||429===a});i&&o.retryable&&(o.retryAfter=i),u(o)}})},u)};i.util.defer(p)},uuid:{v4:function(){return e("uuid").v4()}},convertPayloadToString:function(e){var t=e.request,r=t.operation,a=t.service.api.operations[r].output||{};a.payload&&e.data[a.payload]&&(e.data[a.payload]=e.data[a.payload].toString())},defer:function(e){"object"==typeof r&&"function"==typeof r.nextTick?r.nextTick(e):"function"==typeof a?a(e):setTimeout(e,0)},getRequestPayloadShape:function(e){var t=e.service.api.operations;if(t){var r=(t||{})[e.operation];if(r&&r.input&&r.input.payload)return r.input.members[r.input.payload]}},getProfilesFromSharedConfig:function(e,t){function a(e,t){for(var r=0,a=Object.keys(t);r=6},parse:function(e){var t=e.split(":");return{partition:t[1],service:t[2],region:t[3],accountId:t[4],resource:t.slice(5).join(":")}},build:function(e){if(void 0===e.service||void 0===e.region||void 0===e.accountId||void 0===e.resource)throw s.error(new Error("Input ARN object is invalid"));return"arn:"+(e.partition||"aws")+":"+e.service+":"+e.region+":"+e.accountId+":"+e.resource}},defaultProfile:"default",configOptInEnv:"AWS_SDK_LOAD_CONFIG", sharedCredentialsFileEnv:"AWS_SHARED_CREDENTIALS_FILE",sharedConfigFileEnv:"AWS_CONFIG_FILE",imdsDisabledEnv:"AWS_EC2_METADATA_DISABLED"};t.exports=s}).call(this)}).call(this,e("_process"),e("timers").setImmediate)},{"../apis/metadata.json":165,"./core":345,_process:440,fs:431,timers:448,uuid:451}],424:[function(e,t,r){function a(){}function i(e,t){for(var r=e.getElementsByTagName(t),a=0,i=r.length;a0||a?s.toString():""},t.exports=a},{"../util":423,"./xml-node":428,"./xml-text":429}],426:[function(e,t,r){function a(e){return e.replace(/&/g,"&").replace(/'/g,"'").replace(//g,">").replace(/"/g,""")}t.exports={escapeAttribute:a}},{}],427:[function(e,t,r){function a(e){return e.replace(/&/g,"&").replace(//g,">").replace(/\r/g," ").replace(/\n/g," ").replace(/\u0085/g,"…").replace(/\u2028/,"
")}t.exports={escapeElement:a}},{}],428:[function(e,t,r){function a(e,t){void 0===t&&(t=[]),this.name=e,this.children=t,this.attributes={}}var i=e("./escape-attribute").escapeAttribute;a.prototype.addAttribute=function(e,t){return this.attributes[e]=t,this},a.prototype.addChildNode=function(e){return this.children.push(e),this},a.prototype.removeAttribute=function(e){return delete this.attributes[e],this},a.prototype.toString=function(){for(var e=Boolean(this.children.length),t="<"+this.name,r=this.attributes,a=0,s=Object.keys(r);a"+this.children.map(function(e){return e.toString()}).join("")+"":"/>"},t.exports={XmlNode:a}},{"./escape-attribute":426}],429:[function(e,t,r){function a(e){this.value=e}var i=e("./escape-element").escapeElement;a.prototype.toString=function(){return i(""+this.value)},t.exports={XmlText:a}},{"./escape-element":427}],430:[function(e,t,r){"use strict";function a(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function i(e){var t=a(e),r=t[0],i=t[1];return 3*(r+i)/4-i}function s(e,t,r){return 3*(t+r)/4-r}function o(e){var t,r,i=a(e),o=i[0],n=i[1],u=new l(s(e,o,n)),p=0,m=n>0?o-4:o;for(r=0;r>16&255,u[p++]=t>>8&255,u[p++]=255&t;return 2===n&&(t=c[e.charCodeAt(r)]<<2|c[e.charCodeAt(r+1)]>>4,u[p++]=255&t),1===n&&(t=c[e.charCodeAt(r)]<<10|c[e.charCodeAt(r+1)]<<4|c[e.charCodeAt(r+2)]>>2,u[p++]=t>>8&255,u[p++]=255&t),u}function n(e){return m[e>>18&63]+m[e>>12&63]+m[e>>6&63]+m[63&e]}function u(e,t,r){for(var a,i=[],s=t;so?o:s+16383));return 1===a?(t=e[r-1],i.push(m[t>>2]+m[t<<4&63]+"==")):2===a&&(t=(e[r-2]<<8)+e[r-1],i.push(m[t>>10]+m[t>>4&63]+m[t<<2&63]+"=")),i.join("")}r.byteLength=i,r.toByteArray=o,r.fromByteArray=p;for(var m=[],c=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y=0,b=d.length;y=3&&(a.depth=arguments[2]),arguments.length>=4&&(a.colors=arguments[3]),b(t)?a.showHidden=t:t&&r._extend(a,t),f(a.showHidden)&&(a.showHidden=!1),f(a.depth)&&(a.depth=2),f(a.colors)&&(a.colors=!1),f(a.customInspect)&&(a.customInspect=!0),a.colors&&(a.stylize=s),u(a,e,a.depth)}function s(e,t){var r=i.styles[t];return r?"["+i.colors[r][0]+"m"+e+"["+i.colors[r][1]+"m":e}function o(e,t){return e}function n(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}function u(e,t,a){if(e.customInspect&&t&&R(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(a,e);return N(i)||(i=u(e,i,a)),i}var s=p(e,t);if(s)return s;var o=Object.keys(t),b=n(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(t)),A(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return m(t);if(0===o.length){if(R(t)){var S=t.name?": "+t.name:"";return e.stylize("[Function"+S+"]","special")}if(T(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(k(t))return e.stylize(Date.prototype.toString.call(t),"date");if(A(t))return m(t)}var g="",h=!1,I=["{","}"];if(y(t)&&(h=!0,I=["[","]"]),R(t)){g=" [Function"+(t.name?": "+t.name:"")+"]"}if(T(t)&&(g=" "+RegExp.prototype.toString.call(t)),k(t)&&(g=" "+Date.prototype.toUTCString.call(t)),A(t)&&(g=" "+m(t)),0===o.length&&(!h||0==t.length))return I[0]+g+I[1];if(a<0)return T(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var f;return f=h?c(e,t,a,b,o):o.map(function(r){return l(e,t,a,b,r,h)}),e.seen.pop(),d(f,g,I)}function p(e,t){if(f(t))return e.stylize("undefined","undefined");if(N(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return h(t)?e.stylize(""+t,"number"):b(t)?e.stylize(""+t,"boolean"):S(t)?e.stylize("null","null"):void 0}function m(e){return"["+Error.prototype.toString.call(e)+"]"}function c(e,t,r,a,i){for(var s=[],o=0,n=t.length;o-1&&(n=s?n.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+n.split("\n").map(function(e){return" "+e}).join("\n"))):n=e.stylize("[Circular]","special")),f(o)){if(s&&i.match(/^\d+$/))return n;o=JSON.stringify(""+i),o.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+n}function d(e,t,r){var a=0;return e.reduce(function(e,t){return a++,t.indexOf("\n")>=0&&a++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function y(e){return Array.isArray(e)}function b(e){return"boolean"==typeof e}function S(e){return null===e}function g(e){return null==e}function h(e){return"number"==typeof e}function N(e){return"string"==typeof e}function I(e){return"symbol"==typeof e}function f(e){return void 0===e}function T(e){return C(e)&&"[object RegExp]"===v(e)}function C(e){return"object"==typeof e&&null!==e}function k(e){return C(e)&&"[object Date]"===v(e)}function A(e){return C(e)&&("[object Error]"===v(e)||e instanceof Error)}function R(e){return"function"==typeof e}function D(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function v(e){return Object.prototype.toString.call(e)}function P(e){return e<10?"0"+e.toString(10):e.toString(10)}function x(){var e=new Date,t=[P(e.getHours()),P(e.getMinutes()),P(e.getSeconds())].join(":");return[e.getDate(),G[e.getMonth()],t].join(" ")}function q(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var E=/%[sdj%]/g;r.format=function(e){if(!N(e)){for(var t=[],r=0;r=s)return e;switch(e){case"%s":return String(a[r++]);case"%d":return Number(a[r++]);case"%j":try{return JSON.stringify(a[r++])}catch(e){return"[Circular]"}default:return e}}),n=a[r];r=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function b(e){return+e!=e&&(e=0),s.alloc(+e)}function S(e,t){if(s.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var a=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return H(e).length;default:if(a)return K(e).length;t=(""+t).toLowerCase(),a=!0}}function g(e,t,r){var a=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return E(this,t,r);case"utf8":case"utf-8":return v(this,t,r);case"ascii":return x(this,t,r);case"latin1":case"binary":return q(this,t,r);case"base64":return D(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,r);default:if(a)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function h(e,t,r){var a=e[t];e[t]=e[r],e[r]=a}function N(e,t,r,a,i){if(0===e.length)return-1;if("string"==typeof r?(a=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=s.from(t,a)),s.isBuffer(t))return 0===t.length?-1:I(e,t,r,a,i);if("number"==typeof t)return t&=255,s.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):I(e,[t],r,a,i);throw new TypeError("val must be string, number or Buffer")}function I(e,t,r,a,i){function s(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}var o=1,n=e.length,u=t.length;if(void 0!==a&&("ucs2"===(a=String(a).toLowerCase())||"ucs-2"===a||"utf16le"===a||"utf-16le"===a)){if(e.length<2||t.length<2)return-1;o=2,n/=2,u/=2,r/=2}var p;if(i){var m=-1;for(p=r;pn&&(r=n-u),p=r;p>=0;p--){for(var c=!0,l=0;li&&(a=i):a=i;var s=t.length;if(s%2!=0)throw new TypeError("Invalid hex string");a>s/2&&(a=s/2);for(var o=0;o239?4:s>223?3:s>191?2:1;if(i+n<=r){var u,p,m,c;switch(n){case 1:s<128&&(o=s);break;case 2:u=e[i+1],128==(192&u)&&(c=(31&s)<<6|63&u)>127&&(o=c);break;case 3:u=e[i+1],p=e[i+2],128==(192&u)&&128==(192&p)&&(c=(15&s)<<12|(63&u)<<6|63&p)>2047&&(c<55296||c>57343)&&(o=c);break;case 4:u=e[i+1],p=e[i+2],m=e[i+3],128==(192&u)&&128==(192&p)&&128==(192&m)&&(c=(15&s)<<18|(63&u)<<12|(63&p)<<6|63&m)>65535&&c<1114112&&(o=c)}}null===o?(o=65533,n=1):o>65535&&(o-=65536,a.push(o>>>10&1023|55296),o=56320|1023&o),a.push(o),i+=n}return P(a)}function P(e){var t=e.length;if(t<=$)return String.fromCharCode.apply(String,e);for(var r="",a=0;aa)&&(r=a);for(var i="",s=t;sr)throw new RangeError("Trying to access beyond buffer length")}function G(e,t,r,a,i,o){if(!s.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function w(e,t,r,a){t<0&&(t=65535+t+1);for(var i=0,s=Math.min(e.length-r,2);i>>8*(a?i:1-i)}function B(e,t,r,a){t<0&&(t=4294967295+t+1);for(var i=0,s=Math.min(e.length-r,4);i>>8*(a?i:3-i)&255}function U(e,t,r,a,i,s){if(r+a>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function _(e,t,r,a,i){return i||U(e,t,r,4,3.4028234663852886e38,-3.4028234663852886e38),X.write(e,t,r,a,23,4),r+4}function F(e,t,r,a,i){return i||U(e,t,r,8,1.7976931348623157e308,-1.7976931348623157e308),X.write(e,t,r,a,52,8),r+8}function O(e){if(e=V(e).replace(ee,""),e.length<2)return"";for(;e.length%4!=0;)e+="=";return e}function V(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function z(e){return e<16?"0"+e.toString(16):e.toString(16)}function K(e,t){t=t||1/0;for(var r,a=e.length,i=null,s=[],o=0;o55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(o+1===a){(t-=3)>-1&&s.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function j(e){for(var t=[],r=0;r>8,i=r%256,s.push(i),s.push(a);return s}function H(e){return Z.toByteArray(O(e))}function Q(e,t,r,a){for(var i=0;i=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function J(e){return e!==e}var Z=e("base64-js"),X=e("ieee754"),Y=e("isarray");r.Buffer=s,r.SlowBuffer=b,r.INSPECT_MAX_BYTES=50,s.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),r.kMaxLength=a(),s.poolSize=8192,s._augment=function(e){return e.__proto__=s.prototype,e},s.from=function(e,t,r){return o(null,e,t,r)},s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0})),s.alloc=function(e,t,r){return u(null,e,t,r)},s.allocUnsafe=function(e){return p(null,e)},s.allocUnsafeSlow=function(e){return p(null,e)},s.isBuffer=function(e){return!(null==e||!e._isBuffer)},s.compare=function(e,t){if(!s.isBuffer(e)||!s.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,a=t.length,i=0,o=Math.min(r,a);i0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),""},s.prototype.compare=function(e,t,r,a,i){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===a&&(a=0),void 0===i&&(i=this.length),t<0||r>e.length||a<0||i>this.length)throw new RangeError("out of range index");if(a>=i&&t>=r)return 0;if(a>=i)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,a>>>=0,i>>>=0,this===e)return 0;for(var o=i-a,n=r-t,u=Math.min(o,n),p=this.slice(a,i),m=e.slice(t,r),c=0;ci)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");a||(a="utf8");for(var s=!1;;)switch(a){case"hex":return f(this,e,t,r);case"utf8":case"utf-8":return T(this,e,t,r);case"ascii":return C(this,e,t,r);case"latin1":case"binary":return k(this,e,t,r);case"base64":return A(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,e,t,r);default:if(s)throw new TypeError("Unknown encoding: "+a);a=(""+a).toLowerCase(),s=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var $=4096;s.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)a+=this[e+--t]*i;return a},s.prototype.readUInt8=function(e,t){return t||L(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return t||L(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function(e,t){return t||L(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUInt32LE=function(e,t){return t||L(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUInt32BE=function(e,t){return t||L(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||L(e,t,this.length);for(var a=this[e],i=1,s=0;++s=i&&(a-=Math.pow(2,8*t)),a},s.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||L(e,t,this.length);for(var a=t,i=1,s=this[e+--a];a>0&&(i*=256);)s+=this[e+--a]*i;return i*=128,s>=i&&(s-=Math.pow(2,8*t)),s},s.prototype.readInt8=function(e,t){return t||L(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},s.prototype.readInt16LE=function(e,t){t||L(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt16BE=function(e,t){t||L(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt32LE=function(e,t){return t||L(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return t||L(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return t||L(e,4,this.length),X.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return t||L(e,4,this.length),X.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return t||L(e,8,this.length),X.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return t||L(e,8,this.length),X.read(this,e,!1,52,8)},s.prototype.writeUIntLE=function(e,t,r,a){if(e=+e,t|=0,r|=0,!a){G(this,e,t,r,Math.pow(2,8*r)-1,0)}var i=1,s=0;for(this[t]=255&e;++s=0&&(s*=256);)this[t+i]=e/s&255;return t+r},s.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,1,255,0),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},s.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):w(this,e,t,!0),t+2},s.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):w(this,e,t,!1),t+2},s.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):B(this,e,t,!0),t+4},s.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):B(this,e,t,!1),t+4},s.prototype.writeIntLE=function(e,t,r,a){if(e=+e,t|=0,!a){var i=Math.pow(2,8*r-1);G(this,e,t,r,i-1,-i)}var s=0,o=1,n=0;for(this[t]=255&e;++s>0)-n&255;return t+r},s.prototype.writeIntBE=function(e,t,r,a){if(e=+e,t|=0,!a){var i=Math.pow(2,8*r-1);G(this,e,t,r,i-1,-i)}var s=r-1,o=1,n=0;for(this[t+s]=255&e;--s>=0&&(o*=256);)e<0&&0===n&&0!==this[t+s+1]&&(n=1),this[t+s]=(e/o>>0)-n&255;return t+r},s.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,1,127,-128),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):w(this,e,t,!0),t+2},s.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0, r||G(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):w(this,e,t,!1),t+2},s.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):B(this,e,t,!0),t+4},s.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||G(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):B(this,e,t,!1),t+4},s.prototype.writeFloatLE=function(e,t,r){return _(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return _(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return F(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return F(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,a){if(r||(r=0),a||0===a||(a=this.length),t>=e.length&&(t=e.length),t||(t=0),a>0&&a=this.length)throw new RangeError("sourceStart out of bounds");if(a<0)throw new RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),e.length-t=0;--i)e[i+t]=this[i+r];else if(o<1e3||!s.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,e||(e=0);var o;if("number"==typeof e)for(o=t;o0&&this._events[e].length>r&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},a.prototype.on=a.prototype.addListener,a.prototype.once=function(e,t){function r(){this.removeListener(e,r),a||(a=!0,t.apply(this,arguments))}if(!i(t))throw TypeError("listener must be a function");var a=!1;return r.listener=t,this.on(e,r),this},a.prototype.removeListener=function(e,t){var r,a,s,n;if(!i(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(r=this._events[e],s=r.length,a=-1,r===t||i(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(o(r)){for(n=s;n-- >0;)if(r[n]===t||r[n].listener&&r[n].listener===t){a=n;break}if(a<0)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(a,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},a.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[e],i(r))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},a.prototype.listeners=function(e){return this._events&&this._events[e]?i(this._events[e])?[this._events[e]]:this._events[e].slice():[]},a.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(i(t))return 1;if(t)return t.length}return 0},a.listenerCount=function(e,t){return e.listenerCount(t)}},{}],437:[function(e,t,r){r.read=function(e,t,r,a,i){var s,o,n=8*i-a-1,u=(1<>1,m=-7,c=r?i-1:0,l=r?-1:1,d=e[t+c];for(c+=l,s=d&(1<<-m)-1,d>>=-m,m+=n;m>0;s=256*s+e[t+c],c+=l,m-=8);for(o=s&(1<<-m)-1,s>>=-m,m+=a;m>0;o=256*o+e[t+c],c+=l,m-=8);if(0===s)s=1-p;else{if(s===u)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,a),s-=p}return(d?-1:1)*o*Math.pow(2,s-a)},r.write=function(e,t,r,a,i,s){var o,n,u,p=8*s-i-1,m=(1<>1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=a?0:s-1,y=a?1:-1,b=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(n=isNaN(t)?1:0,o=m):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),t+=o+c>=1?l/u:l*Math.pow(2,1-c),t*u>=2&&(o++,u/=2),o+c>=m?(n=0,o=m):o+c>=1?(n=(t*u-1)*Math.pow(2,i),o+=c):(n=t*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;e[r+d]=255&n,d+=y,n/=256,i-=8);for(o=o<0;e[r+d]=255&o,d+=y,o/=256,p-=8);e[r+d-y]|=128*b}},{}],438:[function(e,t,r){var a={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==a.call(e)}},{}],439:[function(e,t,r){!function(e){"use strict";function t(e){return null!==e&&"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,i){if(e===i)return!0;if(Object.prototype.toString.call(e)!==Object.prototype.toString.call(i))return!1;if(!0===t(e)){if(e.length!==i.length)return!1;for(var s=0;s="a"&&e<="z"||e>="A"&&e<="Z"||"_"===e}function n(e){return e>="0"&&e<="9"||"-"===e}function u(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"_"===e}function p(){}function m(){}function c(e){this.runtime=e}function l(e){this._interpreter=e,this.functionTable={abs:{_func:this._functionAbs,_signature:[{types:[g]}]},avg:{_func:this._functionAvg,_signature:[{types:[C]}]},ceil:{_func:this._functionCeil,_signature:[{types:[g]}]},contains:{_func:this._functionContains,_signature:[{types:[N,I]},{types:[h]}]},ends_with:{_func:this._functionEndsWith,_signature:[{types:[N]},{types:[N]}]},floor:{_func:this._functionFloor,_signature:[{types:[g]}]},length:{_func:this._functionLength,_signature:[{types:[N,I,f]}]},map:{_func:this._functionMap,_signature:[{types:[T]},{types:[I]}]},max:{_func:this._functionMax,_signature:[{types:[C,k]}]},merge:{_func:this._functionMerge,_signature:[{types:[f],variadic:!0}]},max_by:{_func:this._functionMaxBy,_signature:[{types:[I]},{types:[T]}]},sum:{_func:this._functionSum,_signature:[{types:[C]}]},starts_with:{_func:this._functionStartsWith,_signature:[{types:[N]},{types:[N]}]},min:{_func:this._functionMin,_signature:[{types:[C,k]}]},min_by:{_func:this._functionMinBy,_signature:[{types:[I]},{types:[T]}]},type:{_func:this._functionType,_signature:[{types:[h]}]},keys:{_func:this._functionKeys,_signature:[{types:[f]}]},values:{_func:this._functionValues,_signature:[{types:[f]}]},sort:{_func:this._functionSort,_signature:[{types:[k,C]}]},sort_by:{_func:this._functionSortBy,_signature:[{types:[I]},{types:[T]}]},join:{_func:this._functionJoin,_signature:[{types:[N]},{types:[k]}]},reverse:{_func:this._functionReverse,_signature:[{types:[N,I]}]},to_array:{_func:this._functionToArray,_signature:[{types:[h]}]},to_string:{_func:this._functionToString,_signature:[{types:[h]}]},to_number:{_func:this._functionToNumber,_signature:[{types:[h]}]},not_null:{_func:this._functionNotNull,_signature:[{types:[h],variadic:!0}]}}}function d(e){return(new m).parse(e)}function y(e){return(new p).tokenize(e)}function b(e,t){var r=new m,a=new l,i=new c(a);a._interpreter=i;var s=r.parse(t);return i.search(s,e)}var S;S="function"==typeof String.prototype.trimLeft?function(e){return e.trimLeft()}:function(e){return e.match(/^\s*(.*)/)[1]};var g=0,h=1,N=2,I=3,f=4,T=6,C=8,k=9,A={0:"number",1:"any",2:"string",3:"array",4:"object",5:"boolean",6:"expression",7:"null",8:"Array",9:"Array"},R={".":"Dot","*":"Star",",":"Comma",":":"Colon","{":"Lbrace","}":"Rbrace","]":"Rbracket","(":"Lparen",")":"Rparen","@":"Current"},D={"<":!0,">":!0,"=":!0,"!":!0},v={" ":!0,"\t":!0,"\n":!0};p.prototype={tokenize:function(e){var t=[];this._current=0;for(var r,a,i;this._current"===r?"="===e[this._current]?(this._current++,{type:"GTE",value:">=",start:t}):{type:"GT",value:">",start:t}:"="===r&&"="===e[this._current]?(this._current++,{type:"EQ",value:"==",start:t}):void 0},_consumeLiteral:function(e){this._current++;for(var t,r=this._current,a=e.length;"`"!==e[this._current]&&this._current=0)return!0;if(r.indexOf(e)>=0)return!0;if(!(a.indexOf(e[0])>=0))return!1;try{return JSON.parse(e),!0}catch(e){return!1}}};var P={};P.EOF=0,P.UnquotedIdentifier=0,P.QuotedIdentifier=0,P.Rbracket=0,P.Rparen=0,P.Comma=0,P.Rbrace=0,P.Number=0,P.Current=0,P.Expref=0,P.Pipe=1,P.Or=2,P.And=3,P.EQ=5,P.GT=5,P.LT=5,P.GTE=5,P.LTE=5,P.NE=5,P.Flatten=9,P.Star=20,P.Filter=21,P.Dot=40,P.Not=45,P.Lbrace=50,P.Lbracket=55,P.Lparen=60,m.prototype={parse:function(e){this._loadTokens(e),this.index=0;var t=this.expression(0);if("EOF"!==this._lookahead(0)){var r=this._lookaheadToken(0),a=new Error("Unexpected token type: "+r.type+", value: "+r.value);throw a.name="ParserError",a}return t},_loadTokens:function(e){var t=new p,r=t.tokenize(e);r.push({type:"EOF",value:"",start:e.length}),this.tokens=r},expression:function(e){var t=this._lookaheadToken(0);this._advance();for(var r=this.nud(t),a=this._lookahead(0);e=0?this.expression(e):"Lbracket"===t?(this._match("Lbracket"),this._parseMultiselectList()):"Lbrace"===t?(this._match("Lbrace"),this._parseMultiselectHash()):void 0},_parseProjectionRHS:function(e){var t;if(P[this._lookahead(0)]<10)t={type:"Identity"};else if("Lbracket"===this._lookahead(0))t=this.expression(e);else if("Filter"===this._lookahead(0))t=this.expression(e);else{if("Dot"!==this._lookahead(0)){var r=this._lookaheadToken(0),a=new Error("Sytanx error, unexpected token: "+r.value+"("+r.type+")");throw a.name="ParserError",a}this._match("Dot"),t=this._parseDotRHS(e)}return t},_parseMultiselectList:function(){for(var e=[];"Rbracket"!==this._lookahead(0);){var t=this.expression(0);if(e.push(t),"Comma"===this._lookahead(0)&&(this._match("Comma"),"Rbracket"===this._lookahead(0)))throw new Error("Unexpected token Rbracket")}return this._match("Rbracket"),{type:"MultiSelectList",children:e}},_parseMultiselectHash:function(){for(var e,t,r,a,i=[],s=["UnquotedIdentifier","QuotedIdentifier"];;){if(e=this._lookaheadToken(0),s.indexOf(e.type)<0)throw new Error("Expecting an identifier token, got: "+e.type);if(t=e.value,this._advance(),this._match("Colon"),r=this.expression(0),a={type:"KeyValuePair",name:t,value:r},i.push(a),"Comma"===this._lookahead(0))this._match("Comma");else if("Rbrace"===this._lookahead(0)){this._match("Rbrace");break}}return{type:"MultiSelectHash",children:i}}},c.prototype={search:function(e,t){return this.visit(e,t)},visit:function(e,o){var n,u,p,m,c,l,d,y,b;switch(e.type){case"Field":return null!==o&&r(o)?(l=o[e.name],void 0===l?null:l):null;case"Subexpression":for(p=this.visit(e.children[0],o),b=1;b0)for(b=N;bI;b+=f)p.push(o[b]);return p;case"Projection":var T=this.visit(e.children[0],o);if(!t(T))return null;for(y=[],b=0;bc;break;case"GTE":p=m>=c;break;case"LT":p=m=e&&(t=r<0?e-1:e),t}},l.prototype={callFunction:function(e,t){var r=this.functionTable[e];if(void 0===r)throw new Error("Unknown function: "+e+"()");return this._validateArgs(e,t,r._signature),r._func.call(this,t)},_validateArgs:function(e,t,r){var a;if(r[r.length-1].variadic){if(t.length=0;a--)r+=t[a];return r}var i=e[0].slice(0);return i.reverse(),i},_functionAbs:function(e){return Math.abs(e[0])},_functionCeil:function(e){return Math.ceil(e[0])},_functionAvg:function(e){for(var t=0,r=e[0],a=0;a=0},_functionFloor:function(e){return Math.floor(e[0])},_functionLength:function(e){return r(e[0])?Object.keys(e[0]).length:e[0].length},_functionMap:function(e){for(var t=[],r=this._interpreter,a=e[0],i=e[1],s=0;s0){if(this._getTypeName(e[0][0])===g)return Math.max.apply(Math,e[0]);for(var t=e[0],r=t[0],a=1;a0){if(this._getTypeName(e[0][0])===g)return Math.min.apply(Math,e[0]);for(var t=e[0],r=t[0],a=1;an?1:oo&&(o=r,t=i[n]);return t},_functionMinBy:function(e){for(var t,r,a=e[1],i=e[0],s=this.createKeyFunction(a,[g,N]),o=1/0,n=0;n1)for(var r=1;r1&&(a=r[0]+"@",e=r[1]),e=e.replace(E,"."),a+s(e.split("."),t).join(".")}function n(e){for(var t,r,a=[],i=0,s=e.length;i=55296&&t<=56319&&i65535&&(e-=65536,t+=w(e>>>10&1023|55296),e=56320|1023&e),t+=w(e)}).join("")}function p(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:T}function m(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function c(e,t,r){var a=0;for(e=r?G(e/R):e>>1,e+=G(e/t);e>L*k>>1;a+=T)e=G(e/L);return G(a+(L+1)*e/(e+A))}function l(e){var t,r,a,s,o,n,m,l,d,y,b=[],S=e.length,g=0,h=v,N=D;for(r=e.lastIndexOf(P),r<0&&(r=0),a=0;a=128&&i("not-basic"),b.push(e.charCodeAt(a));for(s=r>0?r+1:0;s=S&&i("invalid-input"),l=p(e.charCodeAt(s++)),(l>=T||l>G((f-g)/n))&&i("overflow"),g+=l*n,d=m<=N?C:m>=N+k?k:m-N,!(lG(f/y)&&i("overflow"),n*=y;t=b.length+1,N=c(g-o,t,0==o), diff --git a/lib/core.js b/lib/core.js index abd1f970b6..8bfc5724d5 100644 --- a/lib/core.js +++ b/lib/core.js @@ -20,7 +20,7 @@ AWS.util.update(AWS, { /** * @constant */ - VERSION: '2.1333.0', + VERSION: '2.1334.0', /** * @api private diff --git a/package.json b/package.json index 8570be61cd..976d2d10b3 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "aws-sdk", "description": "AWS SDK for JavaScript", - "version": "2.1333.0", + "version": "2.1334.0", "author": { "name": "Amazon Web Services", "email": "",