From df86722c4a11378f4357382cf6bb48b14befaec2 Mon Sep 17 00:00:00 2001 From: awstools Date: Wed, 22 Feb 2023 19:24:46 +0000 Subject: [PATCH] Updates SDK to v2.1321.0 --- .changes/2.1321.0.json | 27 ++ CHANGELOG.md | 9 +- README.md | 2 +- apis/chime-sdk-voice-2022-08-03.min.json | 3 + apis/chime-sdk-voice-2022-08-03.normal.json | 3 + apis/cloudfront-2020-05-31.normal.json | 47 +-- apis/datasync-2018-11-09.normal.json | 4 +- apis/opensearch-2021-01-01.min.json | 365 +++++++++++++----- apis/opensearch-2021-01-01.normal.json | 403 +++++++++++++++++++- apis/opensearch-2021-01-01.paginators.json | 5 + apis/rum-2018-05-10.min.json | 46 +-- apis/rum-2018-05-10.normal.json | 68 +++- apis/ssm-2014-11-06.normal.json | 34 +- clients/chimesdkvoice.d.ts | 1 + clients/cloudfront.d.ts | 34 +- clients/opensearch.d.ts | 228 ++++++++++- clients/rum.d.ts | 36 +- clients/ssm.d.ts | 34 +- dist/aws-sdk-core-react-native.js | 4 +- dist/aws-sdk-react-native.js | 12 +- dist/aws-sdk.js | 8 +- dist/aws-sdk.min.js | 10 +- lib/core.js | 2 +- package.json | 2 +- 24 files changed, 1146 insertions(+), 241 deletions(-) create mode 100644 .changes/2.1321.0.json diff --git a/.changes/2.1321.0.json b/.changes/2.1321.0.json new file mode 100644 index 0000000000..6c587a78fd --- /dev/null +++ b/.changes/2.1321.0.json @@ -0,0 +1,27 @@ +[ + { + "type": "feature", + "category": "ChimeSDKVoice", + "description": "This release introduces support for Voice Connector media metrics in the Amazon Chime SDK Voice namespace" + }, + { + "type": "feature", + "category": "CloudFront", + "description": "CloudFront now supports block lists in origin request policies so that you can forward all headers, cookies, or query string from viewer requests to the origin *except* for those specified in the block list." + }, + { + "type": "feature", + "category": "DataSync", + "description": "AWS DataSync has relaxed the minimum length constraint of AccessKey for Object Storage locations to 1." + }, + { + "type": "feature", + "category": "OpenSearch", + "description": "This release lets customers configure Off-peak window and software update related properties for a new/existing domain. It enhances the capabilities of StartServiceSoftwareUpdate API; adds 2 new APIs - ListScheduledActions & UpdateScheduledAction; and allows Auto-tune to make use of Off-peak window." + }, + { + "type": "feature", + "category": "RUM", + "description": "CloudWatch RUM now supports CloudWatch Custom Metrics" + } +] \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index bb6376a787..c358622698 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,14 @@ # Changelog for AWS SDK for JavaScript - + +## 2.1321.0 +* feature: ChimeSDKVoice: This release introduces support for Voice Connector media metrics in the Amazon Chime SDK Voice namespace +* feature: CloudFront: CloudFront now supports block lists in origin request policies so that you can forward all headers, cookies, or query string from viewer requests to the origin *except* for those specified in the block list. +* feature: DataSync: AWS DataSync has relaxed the minimum length constraint of AccessKey for Object Storage locations to 1. +* feature: OpenSearch: This release lets customers configure Off-peak window and software update related properties for a new/existing domain. It enhances the capabilities of StartServiceSoftwareUpdate API; adds 2 new APIs - ListScheduledActions & UpdateScheduledAction; and allows Auto-tune to make use of Off-peak window. +* feature: RUM: CloudWatch RUM now supports CloudWatch Custom Metrics + ## 2.1320.0 * feature: QuickSight: S3 data sources now accept a custom IAM role. * feature: Resiliencehub: In this release we improved resilience hub application creation and maintenance by introducing new resource and app component crud APIs, improving visibility and maintenance of application input sources and added support for additional information attributes to be provided by customers. diff --git a/README.md b/README.md index 4564bdc715..006e2e02f2 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ for further details. 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/chime-sdk-voice-2022-08-03.min.json b/apis/chime-sdk-voice-2022-08-03.min.json index 73e3180114..f61eaa982a 100644 --- a/apis/chime-sdk-voice-2022-08-03.min.json +++ b/apis/chime-sdk-voice-2022-08-03.min.json @@ -2634,6 +2634,9 @@ "members": { "EnableSIPLogs": { "type": "boolean" + }, + "EnableMediaMetricLogs": { + "type": "boolean" } } }, diff --git a/apis/chime-sdk-voice-2022-08-03.normal.json b/apis/chime-sdk-voice-2022-08-03.normal.json index 572bca8803..e6b5dbedff 100644 --- a/apis/chime-sdk-voice-2022-08-03.normal.json +++ b/apis/chime-sdk-voice-2022-08-03.normal.json @@ -4163,6 +4163,9 @@ "members": { "EnableSIPLogs": { "shape": "Boolean" + }, + "EnableMediaMetricLogs": { + "shape": "Boolean" } } }, diff --git a/apis/cloudfront-2020-05-31.normal.json b/apis/cloudfront-2020-05-31.normal.json index 2852a293ea..03884b971b 100644 --- a/apis/cloudfront-2020-05-31.normal.json +++ b/apis/cloudfront-2020-05-31.normal.json @@ -290,7 +290,7 @@ "shape": "TooManyQueryStringsInCachePolicy" } ], - "documentation": "

Creates a cache policy.

After you create a cache policy, you can attach it to one or more cache behaviors. When it's attached to a cache behavior, the cache policy determines the following:

The headers, cookies, and query strings that are included in the cache key are automatically included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find an object in its cache that matches the request's cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy.

For more information about cache policies, see Controlling the cache key in the Amazon CloudFront Developer Guide.

" + "documentation": "

Creates a cache policy.

After you create a cache policy, you can attach it to one or more cache behaviors. When it's attached to a cache behavior, the cache policy determines the following:

The headers, cookies, and query strings that are included in the cache key are also included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find an object in its cache that matches the request's cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy.

For more information about cache policies, see Controlling the cache key in the Amazon CloudFront Developer Guide.

" }, "CreateCloudFrontOriginAccessIdentity": { "name": "CreateCloudFrontOriginAccessIdentity2020_05_31", @@ -4270,7 +4270,7 @@ "documentation": "

The cache policy configuration.

" } }, - "documentation": "

A cache policy.

When it's attached to a cache behavior, the cache policy determines the following:

The headers, cookies, and query strings that are included in the cache key are automatically included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find a valid object in its cache that matches the request's cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy.

" + "documentation": "

A cache policy.

When it's attached to a cache behavior, the cache policy determines the following:

The headers, cookies, and query strings that are included in the cache key are also included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find a valid object in its cache that matches the request's cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy.

" }, "CachePolicyConfig": { "type": "structure", @@ -4301,10 +4301,10 @@ }, "ParametersInCacheKeyAndForwardedToOrigin": { "shape": "ParametersInCacheKeyAndForwardedToOrigin", - "documentation": "

The HTTP headers, cookies, and URL query strings to include in the cache key. The values included in the cache key are automatically included in requests that CloudFront sends to the origin.

" + "documentation": "

The HTTP headers, cookies, and URL query strings to include in the cache key. The values included in the cache key are also included in requests that CloudFront sends to the origin.

" } }, - "documentation": "

A cache policy configuration.

This configuration determines the following:

The headers, cookies, and query strings that are included in the cache key are automatically included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find a valid object in its cache that matches the request's cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy.

" + "documentation": "

A cache policy configuration.

This configuration determines the following:

The headers, cookies, and query strings that are included in the cache key are also included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find a valid object in its cache that matches the request's cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy.

" }, "CachePolicyCookieBehavior": { "type": "string", @@ -4323,13 +4323,13 @@ "members": { "CookieBehavior": { "shape": "CachePolicyCookieBehavior", - "documentation": "

Determines whether any cookies in viewer requests are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:

" + "documentation": "

Determines whether any cookies in viewer requests are included in the cache key and in requests that CloudFront sends to the origin. Valid values are:

" }, "Cookies": { "shape": "CookieNames" } }, - "documentation": "

An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in the cache key and automatically included in requests that CloudFront sends to the origin.

" + "documentation": "

An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in the cache key and in requests that CloudFront sends to the origin.

" }, "CachePolicyHeaderBehavior": { "type": "string", @@ -4346,13 +4346,13 @@ "members": { "HeaderBehavior": { "shape": "CachePolicyHeaderBehavior", - "documentation": "

Determines whether any HTTP headers are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:

" + "documentation": "

Determines whether any HTTP headers are included in the cache key and in requests that CloudFront sends to the origin. Valid values are:

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

An object that determines whether any HTTP headers (and if so, which headers) are included in the cache key and automatically included in requests that CloudFront sends to the origin.

" + "documentation": "

An object that determines whether any HTTP headers (and if so, which headers) are included in the cache key and in requests that CloudFront sends to the origin.

" }, "CachePolicyList": { "type": "structure", @@ -4397,14 +4397,14 @@ "members": { "QueryStringBehavior": { "shape": "CachePolicyQueryStringBehavior", - "documentation": "

Determines whether any URL query strings in viewer requests are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:

" + "documentation": "

Determines whether any URL query strings in viewer requests are included in the cache key and in requests that CloudFront sends to the origin. Valid values are:

" }, "QueryStrings": { "shape": "QueryStringNames", - "documentation": "

Contains the specific query strings in viewer requests that either are or are not included in the cache key and automatically included in requests that CloudFront sends to the origin. The behavior depends on whether the QueryStringBehavior field in the CachePolicyQueryStringsConfig type is set to whitelist (the listed query strings are included) or allExcept (the listed query strings are not included, but all other query strings are).

" + "documentation": "

Contains the specific query strings in viewer requests that either are or are not included in the cache key and in requests that CloudFront sends to the origin. The behavior depends on whether the QueryStringBehavior field in the CachePolicyQueryStringsConfig type is set to whitelist (the listed query strings are included) or allExcept (the listed query strings are not included, but all other query strings are).

" } }, - "documentation": "

An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the cache key and automatically included in requests that CloudFront sends to the origin.

" + "documentation": "

An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the cache key and in requests that CloudFront sends to the origin.

" }, "CachePolicySummary": { "type": "structure", @@ -9512,7 +9512,8 @@ "enum": [ "none", "whitelist", - "all" + "all", + "allExcept" ] }, "OriginRequestPolicyCookiesConfig": { @@ -9523,7 +9524,7 @@ "members": { "CookieBehavior": { "shape": "OriginRequestPolicyCookieBehavior", - "documentation": "

Determines whether cookies in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:

" + "documentation": "

Determines whether cookies in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:

" }, "Cookies": { "shape": "CookieNames" @@ -9537,7 +9538,8 @@ "none", "whitelist", "allViewer", - "allViewerAndWhitelistCloudFront" + "allViewerAndWhitelistCloudFront", + "allExcept" ] }, "OriginRequestPolicyHeadersConfig": { @@ -9548,7 +9550,7 @@ "members": { "HeaderBehavior": { "shape": "OriginRequestPolicyHeaderBehavior", - "documentation": "

Determines whether any HTTP headers are included in requests that CloudFront sends to the origin. Valid values are:

" + "documentation": "

Determines whether any HTTP headers are included in requests that CloudFront sends to the origin. Valid values are:

" }, "Headers": { "shape": "Headers" @@ -9587,7 +9589,8 @@ "enum": [ "none", "whitelist", - "all" + "all", + "allExcept" ] }, "OriginRequestPolicyQueryStringsConfig": { @@ -9598,11 +9601,11 @@ "members": { "QueryStringBehavior": { "shape": "OriginRequestPolicyQueryStringBehavior", - "documentation": "

Determines whether any URL query strings in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:

" + "documentation": "

Determines whether any URL query strings in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:

" }, "QueryStrings": { "shape": "QueryStringNames", - "documentation": "

Contains a list of the query strings in viewer requests that are included in requests that CloudFront sends to the origin.

" + "documentation": "

Contains the specific query strings in viewer requests that either are or are not included in requests that CloudFront sends to the origin. The behavior depends on whether the QueryStringBehavior field in the OriginRequestPolicyQueryStringsConfig type is set to whitelist (the listed query strings are included) or allExcept (the listed query strings are not included, but all other query strings are).

" } }, "documentation": "

An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in requests that CloudFront sends to the origin.

" @@ -9717,18 +9720,18 @@ }, "HeadersConfig": { "shape": "CachePolicyHeadersConfig", - "documentation": "

An object that determines whether any HTTP headers (and if so, which headers) are included in the cache key and automatically included in requests that CloudFront sends to the origin.

" + "documentation": "

An object that determines whether any HTTP headers (and if so, which headers) are included in the cache key and in requests that CloudFront sends to the origin.

" }, "CookiesConfig": { "shape": "CachePolicyCookiesConfig", - "documentation": "

An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in the cache key and automatically included in requests that CloudFront sends to the origin.

" + "documentation": "

An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in the cache key and in requests that CloudFront sends to the origin.

" }, "QueryStringsConfig": { "shape": "CachePolicyQueryStringsConfig", - "documentation": "

An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the cache key and automatically included in requests that CloudFront sends to the origin.

" + "documentation": "

An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the cache key and in requests that CloudFront sends to the origin.

" } }, - "documentation": "

This object determines the values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer.

The headers, cookies, and query strings that are included in the cache key are automatically included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find an object in its cache that matches the request's cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy.

" + "documentation": "

This object determines the values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer.

The headers, cookies, and query strings that are included in the cache key are also included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find an object in its cache that matches the request's cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy.

" }, "PathList": { "type": "list", diff --git a/apis/datasync-2018-11-09.normal.json b/apis/datasync-2018-11-09.normal.json index efbec40813..9daceb4d14 100644 --- a/apis/datasync-2018-11-09.normal.json +++ b/apis/datasync-2018-11-09.normal.json @@ -2950,7 +2950,7 @@ "ObjectStorageAccessKey": { "type": "string", "max": 200, - "min": 8, + "min": 1, "pattern": "^.+$" }, "ObjectStorageBucketName": { @@ -2966,7 +2966,7 @@ "ObjectStorageSecretKey": { "type": "string", "max": 200, - "min": 8, + "min": 1, "pattern": "^.+$", "sensitive": true }, diff --git a/apis/opensearch-2021-01-01.min.json b/apis/opensearch-2021-01-01.min.json index 1c7b438ff8..0c8bed812c 100644 --- a/apis/opensearch-2021-01-01.min.json +++ b/apis/opensearch-2021-01-01.min.json @@ -191,8 +191,17 @@ "DesiredState": {}, "MaintenanceSchedules": { "shape": "S2d" + }, + "UseOffPeakWindow": { + "type": "boolean" } } + }, + "OffPeakWindowOptions": { + "shape": "S2j" + }, + "SoftwareUpdateOptions": { + "shape": "S2o" } } }, @@ -200,7 +209,7 @@ "type": "structure", "members": { "DomainStatus": { - "shape": "S2k" + "shape": "S2q" } } } @@ -238,12 +247,12 @@ }, "ConnectionAlias": {}, "ConnectionStatus": { - "shape": "S30" + "shape": "S36" }, "ConnectionId": {}, "ConnectionMode": {}, "ConnectionProperties": { - "shape": "S32" + "shape": "S38" } } } @@ -264,7 +273,7 @@ "PackageType": {}, "PackageDescription": {}, "PackageSource": { - "shape": "S36" + "shape": "S3c" } } }, @@ -272,7 +281,7 @@ "type": "structure", "members": { "PackageDetails": { - "shape": "S3a" + "shape": "S3g" } } } @@ -302,7 +311,7 @@ ], "members": { "VpcEndpoint": { - "shape": "S3h" + "shape": "S3n" } } } @@ -328,7 +337,7 @@ "type": "structure", "members": { "DomainStatus": { - "shape": "S2k" + "shape": "S2q" } } } @@ -380,7 +389,7 @@ "type": "structure", "members": { "Connection": { - "shape": "S3q" + "shape": "S3w" } } } @@ -406,7 +415,7 @@ "type": "structure", "members": { "PackageDetails": { - "shape": "S3a" + "shape": "S3g" } } } @@ -435,7 +444,7 @@ ], "members": { "VpcEndpointSummary": { - "shape": "S3v" + "shape": "S41" } } } @@ -464,7 +473,7 @@ ], "members": { "DomainStatus": { - "shape": "S2k" + "shape": "S2q" } } } @@ -606,7 +615,7 @@ ], "members": { "DomainConfig": { - "shape": "S4o" + "shape": "S4u" } } } @@ -636,7 +645,7 @@ "DomainStatusList": { "type": "list", "member": { - "shape": "S2k" + "shape": "S2q" } } } @@ -672,13 +681,13 @@ "type": "structure", "members": { "DryRunProgressStatus": { - "shape": "S5f" + "shape": "S5n" }, "DryRunConfig": { - "shape": "S2k" + "shape": "S2q" }, "DryRunResults": { - "shape": "S5i" + "shape": "S5q" } } } @@ -691,7 +700,7 @@ "type": "structure", "members": { "Filters": { - "shape": "S5l" + "shape": "S5t" }, "MaxResults": { "type": "integer" @@ -761,7 +770,7 @@ "members": { "LimitName": {}, "LimitValues": { - "shape": "S63" + "shape": "S6b" } } } @@ -792,7 +801,7 @@ "members": { "LimitName": {}, "LimitValues": { - "shape": "S63" + "shape": "S6b" } } } @@ -811,7 +820,7 @@ "type": "structure", "members": { "Filters": { - "shape": "S5l" + "shape": "S5t" }, "MaxResults": { "type": "integer" @@ -825,7 +834,7 @@ "Connections": { "type": "list", "member": { - "shape": "S3q" + "shape": "S3w" } }, "NextToken": {} @@ -864,7 +873,7 @@ "PackageDetailsList": { "type": "list", "member": { - "shape": "S3a" + "shape": "S3g" } }, "NextToken": {} @@ -917,7 +926,7 @@ "CurrencyCode": {}, "PaymentOption": {}, "RecurringCharges": { - "shape": "S6t" + "shape": "S71" } } } @@ -983,7 +992,7 @@ "State": {}, "PaymentOption": {}, "RecurringCharges": { - "shape": "S6t" + "shape": "S71" } } } @@ -1017,7 +1026,7 @@ "VpcEndpoints": { "type": "list", "member": { - "shape": "S3h" + "shape": "S3n" } }, "VpcEndpointErrors": { @@ -1088,7 +1097,7 @@ "members": { "SourceVersion": {}, "TargetVersions": { - "shape": "S7e" + "shape": "S7m" } } } @@ -1292,7 +1301,7 @@ "type": "structure", "members": { "DomainPackageDetailsList": { - "shape": "S85" + "shape": "S8d" }, "NextToken": {} } @@ -1393,7 +1402,46 @@ "type": "structure", "members": { "DomainPackageDetailsList": { - "shape": "S85" + "shape": "S8d" + }, + "NextToken": {} + } + } + }, + "ListScheduledActions": { + "http": { + "method": "GET", + "requestUri": "/2021-01-01/opensearch/domain/{DomainName}/scheduledActions" + }, + "input": { + "type": "structure", + "required": [ + "DomainName" + ], + "members": { + "DomainName": { + "location": "uri", + "locationName": "DomainName" + }, + "MaxResults": { + "location": "querystring", + "locationName": "maxResults", + "type": "integer" + }, + "NextToken": { + "location": "querystring", + "locationName": "nextToken" + } + } + }, + "output": { + "type": "structure", + "members": { + "ScheduledActions": { + "type": "list", + "member": { + "shape": "S8o" + } }, "NextToken": {} } @@ -1448,7 +1496,7 @@ "type": "structure", "members": { "Versions": { - "shape": "S7e" + "shape": "S7m" }, "NextToken": {} } @@ -1514,7 +1562,7 @@ ], "members": { "VpcEndpointSummaryList": { - "shape": "S8m" + "shape": "S92" }, "NextToken": {} } @@ -1549,7 +1597,7 @@ ], "members": { "VpcEndpointSummaryList": { - "shape": "S8m" + "shape": "S92" }, "NextToken": {} } @@ -1658,7 +1706,11 @@ "DomainName" ], "members": { - "DomainName": {} + "DomainName": {}, + "ScheduleAt": {}, + "DesiredStartTime": { + "type": "long" + } } }, "output": { @@ -1719,12 +1771,18 @@ "shape": "S22" }, "AutoTuneOptions": { - "shape": "S56" + "shape": "S5c" }, "DryRun": { "type": "boolean" }, - "DryRunMode": {} + "DryRunMode": {}, + "OffPeakWindowOptions": { + "shape": "S2j" + }, + "SoftwareUpdateOptions": { + "shape": "S2o" + } } }, "output": { @@ -1734,13 +1792,13 @@ ], "members": { "DomainConfig": { - "shape": "S4o" + "shape": "S4u" }, "DryRunResults": { - "shape": "S5i" + "shape": "S5q" }, "DryRunProgressStatus": { - "shape": "S5f" + "shape": "S5n" } } } @@ -1758,7 +1816,7 @@ "members": { "PackageID": {}, "PackageSource": { - "shape": "S36" + "shape": "S3c" }, "PackageDescription": {}, "CommitMessage": {} @@ -1768,7 +1826,42 @@ "type": "structure", "members": { "PackageDetails": { - "shape": "S3a" + "shape": "S3g" + } + } + } + }, + "UpdateScheduledAction": { + "http": { + "method": "PUT", + "requestUri": "/2021-01-01/opensearch/domain/{DomainName}/scheduledAction/update" + }, + "input": { + "type": "structure", + "required": [ + "DomainName", + "ActionID", + "ActionType", + "ScheduleAt" + ], + "members": { + "DomainName": { + "location": "uri", + "locationName": "DomainName" + }, + "ActionID": {}, + "ActionType": {}, + "ScheduleAt": {}, + "DesiredStartTime": { + "type": "long" + } + } + }, + "output": { + "type": "structure", + "members": { + "ScheduledAction": { + "shape": "S8o" } } } @@ -1797,7 +1890,7 @@ ], "members": { "VpcEndpoint": { - "shape": "S3h" + "shape": "S3n" } } } @@ -1836,7 +1929,7 @@ "shape": "S1u" }, "ChangeProgressDetails": { - "shape": "S2u" + "shape": "S30" } } } @@ -2175,7 +2268,43 @@ } } }, - "S2k": { + "S2j": { + "type": "structure", + "members": { + "Enabled": { + "type": "boolean" + }, + "OffPeakWindow": { + "type": "structure", + "members": { + "WindowStartTime": { + "type": "structure", + "required": [ + "Hours", + "Minutes" + ], + "members": { + "Hours": { + "type": "long" + }, + "Minutes": { + "type": "long" + } + } + } + } + } + } + }, + "S2o": { + "type": "structure", + "members": { + "AutoSoftwareUpdateEnabled": { + "type": "boolean" + } + } + }, + "S2q": { "type": "structure", "required": [ "DomainId", @@ -2217,7 +2346,7 @@ "shape": "S1k" }, "VPCOptions": { - "shape": "S2o" + "shape": "S2u" }, "CognitoOptions": { "shape": "S1n" @@ -2241,21 +2370,30 @@ "shape": "S1z" }, "AdvancedSecurityOptions": { - "shape": "S2p" + "shape": "S2v" }, "AutoTuneOptions": { "type": "structure", "members": { "State": {}, - "ErrorMessage": {} + "ErrorMessage": {}, + "UseOffPeakWindow": { + "type": "boolean" + } } }, "ChangeProgressDetails": { - "shape": "S2u" + "shape": "S30" + }, + "OffPeakWindowOptions": { + "shape": "S2j" + }, + "SoftwareUpdateOptions": { + "shape": "S2o" } } }, - "S2o": { + "S2u": { "type": "structure", "members": { "VPCId": {}, @@ -2270,7 +2408,7 @@ } } }, - "S2p": { + "S2v": { "type": "structure", "members": { "Enabled": { @@ -2303,34 +2441,34 @@ } } }, - "S2u": { + "S30": { "type": "structure", "members": { "ChangeId": {}, "Message": {} } }, - "S30": { + "S36": { "type": "structure", "members": { "StatusCode": {}, "Message": {} } }, - "S32": { + "S38": { "type": "structure", "members": { "Endpoint": {} } }, - "S36": { + "S3c": { "type": "structure", "members": { "S3BucketName": {}, "S3Key": {} } }, - "S3a": { + "S3g": { "type": "structure", "members": { "PackageID": {}, @@ -2350,20 +2488,20 @@ } } }, - "S3h": { + "S3n": { "type": "structure", "members": { "VpcEndpointId": {}, "VpcEndpointOwner": {}, "DomainArn": {}, "VpcOptions": { - "shape": "S2o" + "shape": "S2u" }, "Status": {}, "Endpoint": {} } }, - "S3q": { + "S3w": { "type": "structure", "members": { "LocalDomainInfo": { @@ -2375,15 +2513,15 @@ "ConnectionId": {}, "ConnectionAlias": {}, "ConnectionStatus": { - "shape": "S30" + "shape": "S36" }, "ConnectionMode": {}, "ConnectionProperties": { - "shape": "S32" + "shape": "S38" } } }, - "S3v": { + "S41": { "type": "structure", "members": { "VpcEndpointId": {}, @@ -2392,7 +2530,7 @@ "Status": {} } }, - "S4o": { + "S4u": { "type": "structure", "members": { "EngineVersion": { @@ -2404,7 +2542,7 @@ "members": { "Options": {}, "Status": { - "shape": "S4q" + "shape": "S4w" } } }, @@ -2419,7 +2557,7 @@ "shape": "S1b" }, "Status": { - "shape": "S4q" + "shape": "S4w" } } }, @@ -2434,7 +2572,7 @@ "shape": "S1h" }, "Status": { - "shape": "S4q" + "shape": "S4w" } } }, @@ -2447,7 +2585,7 @@ "members": { "Options": {}, "Status": { - "shape": "S4q" + "shape": "S4w" } } }, @@ -2462,7 +2600,7 @@ "shape": "S1k" }, "Status": { - "shape": "S4q" + "shape": "S4w" } } }, @@ -2474,10 +2612,10 @@ ], "members": { "Options": { - "shape": "S2o" + "shape": "S2u" }, "Status": { - "shape": "S4q" + "shape": "S4w" } } }, @@ -2492,7 +2630,7 @@ "shape": "S1n" }, "Status": { - "shape": "S4q" + "shape": "S4w" } } }, @@ -2507,7 +2645,7 @@ "shape": "S1r" }, "Status": { - "shape": "S4q" + "shape": "S4w" } } }, @@ -2522,7 +2660,7 @@ "shape": "S1t" }, "Status": { - "shape": "S4q" + "shape": "S4w" } } }, @@ -2537,7 +2675,7 @@ "shape": "S1u" }, "Status": { - "shape": "S4q" + "shape": "S4w" } } }, @@ -2548,7 +2686,7 @@ "shape": "S1v" }, "Status": { - "shape": "S4q" + "shape": "S4w" } } }, @@ -2563,7 +2701,7 @@ "shape": "S1z" }, "Status": { - "shape": "S4q" + "shape": "S4w" } } }, @@ -2575,10 +2713,10 @@ ], "members": { "Options": { - "shape": "S2p" + "shape": "S2v" }, "Status": { - "shape": "S4q" + "shape": "S4w" } } }, @@ -2586,7 +2724,7 @@ "type": "structure", "members": { "Options": { - "shape": "S56" + "shape": "S5c" }, "Status": { "type": "structure", @@ -2615,11 +2753,33 @@ } }, "ChangeProgressDetails": { - "shape": "S2u" + "shape": "S30" + }, + "OffPeakWindowOptions": { + "type": "structure", + "members": { + "Options": { + "shape": "S2j" + }, + "Status": { + "shape": "S4w" + } + } + }, + "SoftwareUpdateOptions": { + "type": "structure", + "members": { + "Options": { + "shape": "S2o" + }, + "Status": { + "shape": "S4w" + } + } } } }, - "S4q": { + "S4w": { "type": "structure", "required": [ "CreationDate", @@ -2642,17 +2802,20 @@ } } }, - "S56": { + "S5c": { "type": "structure", "members": { "DesiredState": {}, "RollbackOnDisable": {}, "MaintenanceSchedules": { "shape": "S2d" + }, + "UseOffPeakWindow": { + "type": "boolean" } } }, - "S5f": { + "S5n": { "type": "structure", "required": [ "DryRunId", @@ -2677,14 +2840,14 @@ } } }, - "S5i": { + "S5q": { "type": "structure", "members": { "DeploymentType": {}, "Message": {} } }, - "S5l": { + "S5t": { "type": "list", "member": { "type": "structure", @@ -2697,11 +2860,11 @@ } } }, - "S63": { + "S6b": { "type": "list", "member": {} }, - "S6t": { + "S71": { "type": "list", "member": { "type": "structure", @@ -2713,20 +2876,46 @@ } } }, - "S7e": { + "S7m": { "type": "list", "member": {} }, - "S85": { + "S8d": { "type": "list", "member": { "shape": "Sn" } }, - "S8m": { + "S8o": { + "type": "structure", + "required": [ + "Id", + "Type", + "Severity", + "ScheduledTime" + ], + "members": { + "Id": {}, + "Type": {}, + "Severity": {}, + "ScheduledTime": { + "type": "long" + }, + "Description": {}, + "ScheduledBy": {}, + "Status": {}, + "Mandatory": { + "type": "boolean" + }, + "Cancellable": { + "type": "boolean" + } + } + }, + "S92": { "type": "list", "member": { - "shape": "S3v" + "shape": "S41" } } } diff --git a/apis/opensearch-2021-01-01.normal.json b/apis/opensearch-2021-01-01.normal.json index da13ffbb55..61e91752ee 100644 --- a/apis/opensearch-2021-01-01.normal.json +++ b/apis/opensearch-2021-01-01.normal.json @@ -1057,6 +1057,37 @@ ], "documentation": "

Lists all packages associated with an Amazon OpenSearch Service domain. For more information, see Custom packages for Amazon OpenSearch Service.

" }, + "ListScheduledActions": { + "name": "ListScheduledActions", + "http": { + "method": "GET", + "requestUri": "/2021-01-01/opensearch/domain/{DomainName}/scheduledActions" + }, + "input": { + "shape": "ListScheduledActionsRequest" + }, + "output": { + "shape": "ListScheduledActionsResponse" + }, + "errors": [ + { + "shape": "BaseException" + }, + { + "shape": "InternalException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "InvalidPaginationTokenException" + }, + { + "shape": "ValidationException" + } + ], + "documentation": "

Retrieves a list of configuration changes that are scheduled for a domain. These changes can be service software updates or blue/green Auto-Tune enhancements.

" + }, "ListTags": { "name": "ListTags", "http": { @@ -1399,6 +1430,43 @@ ], "documentation": "

Updates a package for use with Amazon OpenSearch Service domains. For more information, see Custom packages for Amazon OpenSearch Service.

" }, + "UpdateScheduledAction": { + "name": "UpdateScheduledAction", + "http": { + "method": "PUT", + "requestUri": "/2021-01-01/opensearch/domain/{DomainName}/scheduledAction/update" + }, + "input": { + "shape": "UpdateScheduledActionRequest" + }, + "output": { + "shape": "UpdateScheduledActionResponse" + }, + "errors": [ + { + "shape": "BaseException" + }, + { + "shape": "InternalException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "SlotNotAvailableException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "LimitExceededException" + }, + { + "shape": "ValidationException" + } + ], + "documentation": "

Reschedules a planned domain configuration change for a later time. This change can be a scheduled service software update or a blue/green Auto-Tune enhancement.

" + }, "UpdateVpcEndpoint": { "name": "UpdateVpcEndpoint", "http": { @@ -1544,6 +1612,33 @@ }, "documentation": "

The configured access rules for the domain's search endpoint, and the current status of those rules.

" }, + "ActionSeverity": { + "type": "string", + "enum": [ + "HIGH", + "MEDIUM", + "LOW" + ] + }, + "ActionStatus": { + "type": "string", + "enum": [ + "PENDING_UPDATE", + "IN_PROGRESS", + "FAILED", + "COMPLETED", + "NOT_ELIGIBLE", + "ELIGIBLE" + ] + }, + "ActionType": { + "type": "string", + "enum": [ + "SERVICE_SOFTWARE_UPDATE", + "JVM_HEAP_SIZE_TUNING", + "JVM_YOUNG_GEN_TUNING" + ] + }, "AddTagsRequest": { "type": "structure", "required": [ @@ -1821,7 +1916,7 @@ "documentation": "

A cron expression for a recurring maintenance schedule during which Auto-Tune can deploy changes.

" } }, - "documentation": "

The Auto-Tune maintenance schedule. For more information, see Auto-Tune for Amazon OpenSearch Service.

" + "documentation": "

This object is deprecated. Use the domain's off-peak window to schedule Auto-Tune optimizations. For migration instructions, see Migrating from Auto-Tune maintenance windows.

The Auto-Tune maintenance schedule. For more information, see Auto-Tune for Amazon OpenSearch Service.

" }, "AutoTuneMaintenanceScheduleList": { "type": "list", @@ -1843,7 +1938,11 @@ }, "MaintenanceSchedules": { "shape": "AutoTuneMaintenanceScheduleList", - "documentation": "

A list of maintenance schedules during which Auto-Tune can deploy changes.

" + "documentation": "

DEPRECATED. Use off-peak window instead.

A list of maintenance schedules during which Auto-Tune can deploy changes.

" + }, + "UseOffPeakWindow": { + "shape": "Boolean", + "documentation": "

Whether to use the domain's off-peak window to deploy configuration changes on the domain rather than a maintenance schedule.

" } }, "documentation": "

Auto-Tune settings when updating a domain. For more information, see Auto-Tune for Amazon OpenSearch Service.

" @@ -1857,10 +1956,14 @@ }, "MaintenanceSchedules": { "shape": "AutoTuneMaintenanceScheduleList", - "documentation": "

A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance schedules are overwrite, not append. If your request includes no schedules, the request deletes all existing schedules. To preserve existing schedules, make a call to DescribeDomainConfig first and use the MaintenanceSchedules portion of the response as the basis for this section.

" + "documentation": "

A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance windows are deprecated and have been replaced with off-peak windows.

" + }, + "UseOffPeakWindow": { + "shape": "Boolean", + "documentation": "

Whether to schedule Auto-Tune optimizations that require blue/green deployments during the domain's configured daily off-peak window.

" } }, - "documentation": "

Options for configuring Auto-Tune. For more information, see Auto-Tune for Amazon OpenSearch Service.

" + "documentation": "

Options for configuring Auto-Tune. For more information, see Auto-Tune for Amazon OpenSearch Service

" }, "AutoTuneOptionsOutput": { "type": "structure", @@ -1872,6 +1975,10 @@ "ErrorMessage": { "shape": "String", "documentation": "

Any errors that occurred while enabling or disabling Auto-Tune.

" + }, + "UseOffPeakWindow": { + "shape": "Boolean", + "documentation": "

Whether the domain's off-peak window will be used to deploy Auto-Tune changes rather than a maintenance schedule.

" } }, "documentation": "

The Auto-Tune settings for a domain, displayed when enabling or disabling Auto-Tune.

" @@ -1892,7 +1999,7 @@ }, "AutoTuneState": { "type": "string", - "documentation": "

The Auto-Tune state for the domain. For valid states see Auto-Tune for Amazon OpenSearch Service.

", + "documentation": "

The Auto-Tune state for the domain. For valid states see Auto-Tune for Amazon OpenSearch Service.

", "enum": [ "ENABLED", "DISABLED", @@ -2324,6 +2431,14 @@ "AutoTuneOptions": { "shape": "AutoTuneOptionsInput", "documentation": "

Options for Auto-Tune.

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

Specifies a daily 10-hour time block during which OpenSearch Service can perform configuration changes on the domain, including service software updates and Auto-Tune enhancements that require a blue/green deployment. If no options are specified, the default start time of 10:00 P.M. local time (for the Region that the domain is created in) is used.

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

Software update options for the domain.

" } } }, @@ -3143,7 +3258,7 @@ }, "EBSOptions": { "shape": "EBSOptionsStatus", - "documentation": "

Container for EBS options configured for an OpenSearch Service domain.

" + "documentation": "

Container for EBS options configured for the domain.

" }, "AccessPolicies": { "shape": "AccessPoliciesStatus", @@ -3192,6 +3307,14 @@ "ChangeProgressDetails": { "shape": "ChangeProgressDetails", "documentation": "

Container for information about the progress of an existing configuration change.

" + }, + "OffPeakWindowOptions": { + "shape": "OffPeakWindowOptionsStatus", + "documentation": "

Container for off-peak window options for the domain.

" + }, + "SoftwareUpdateOptions": { + "shape": "SoftwareUpdateOptionsStatus", + "documentation": "

Software update options for the domain.

" } }, "documentation": "

Container for the configuration of an OpenSearch Service domain.

" @@ -3463,6 +3586,14 @@ "ChangeProgressDetails": { "shape": "ChangeProgressDetails", "documentation": "

Information about a configuration change happening on the domain.

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

Options that specify a custom 10-hour window during which OpenSearch Service can perform configuration changes on the domain.

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

Service software update options for the domain.

" } }, "documentation": "

The current status of an OpenSearch Service domain.

" @@ -4192,6 +4323,45 @@ }, "documentation": "

Container for the response parameters to the ListPackagesForDomain operation.

" }, + "ListScheduledActionsRequest": { + "type": "structure", + "required": [ + "DomainName" + ], + "members": { + "DomainName": { + "shape": "DomainName", + "documentation": "

The name of the domain.

", + "location": "uri", + "locationName": "DomainName" + }, + "MaxResults": { + "shape": "MaxResults", + "documentation": "

An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.

", + "location": "querystring", + "locationName": "maxResults" + }, + "NextToken": { + "shape": "NextToken", + "documentation": "

If your initial ListScheduledActions operation returns a nextToken, you can include the returned nextToken in subsequent ListScheduledActions operations, which returns results in the next page.

", + "location": "querystring", + "locationName": "nextToken" + } + } + }, + "ListScheduledActionsResponse": { + "type": "structure", + "members": { + "ScheduledActions": { + "shape": "ScheduledActionsList", + "documentation": "

A list of actions that are scheduled for the domain.

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

When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

" + } + } + }, "ListTagsRequest": { "type": "structure", "required": [ @@ -4475,6 +4645,44 @@ "min": 1, "pattern": "[a-zA-Z0-9\\-\\_\\.]+" }, + "OffPeakWindow": { + "type": "structure", + "members": { + "WindowStartTime": { + "shape": "WindowStartTime", + "documentation": "

A custom start time for the off-peak window, in Coordinated Universal Time (UTC). The window length will always be 10 hours, so you can't specify an end time. For example, if you specify 11:00 P.M. UTC as a start time, the end time will automatically be set to 9:00 A.M.

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

A custom 10-hour, low-traffic window during which OpenSearch Service can perform mandatory configuration changes on the domain. These actions can include scheduled service software updates and blue/green Auto-Tune enhancements. OpenSearch Service will schedule these actions during the window that you specify.

If you don't specify a window start time, it defaults to 10:00 P.M. local time.

For more information, see Defining off-peak maintenance windows for Amazon OpenSearch Service.

" + }, + "OffPeakWindowOptions": { + "type": "structure", + "members": { + "Enabled": { + "shape": "Boolean", + "documentation": "

Whether to enable an off-peak window.

This option is only available when modifying a domain created prior to February 13, 2023, not when creating a new domain. All domains created after this date have the off-peak window enabled by default. You can't disable the off-peak window after it's enabled for a domain.

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

Off-peak window settings for the domain.

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

Options for a domain's off-peak window, during which OpenSearch Service can perform mandatory configuration changes on the domain.

" + }, + "OffPeakWindowOptionsStatus": { + "type": "structure", + "members": { + "Options": { + "shape": "OffPeakWindowOptions", + "documentation": "

The domain's off-peak window configuration.

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

The current status of off-peak window options.

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

The status of off-peak window options for a domain.

" + }, "OpenSearchPartitionInstanceType": { "type": "string", "enum": [ @@ -5219,6 +5427,68 @@ }, "documentation": "

Describes the SAML application configured for the domain.

" }, + "ScheduleAt": { + "type": "string", + "enum": [ + "NOW", + "TIMESTAMP", + "OFF_PEAK_WINDOW" + ] + }, + "ScheduledAction": { + "type": "structure", + "required": [ + "Id", + "Type", + "Severity", + "ScheduledTime" + ], + "members": { + "Id": { + "shape": "String", + "documentation": "

The unique identifier of the scheduled action.

" + }, + "Type": { + "shape": "ActionType", + "documentation": "

The type of action that will be taken on the domain.

" + }, + "Severity": { + "shape": "ActionSeverity", + "documentation": "

The severity of the action.

" + }, + "ScheduledTime": { + "shape": "Long", + "documentation": "

The time when the change is scheduled to happen.

" + }, + "Description": { + "shape": "String", + "documentation": "

A description of the action to be taken.

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

Whether the action was scheduled manually (CUSTOMER, or by OpenSearch Service automatically (SYSTEM).

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

The current status of the scheduled action.

" + }, + "Mandatory": { + "shape": "Boolean", + "documentation": "

Whether the action is required or optional.

" + }, + "Cancellable": { + "shape": "Boolean", + "documentation": "

Whether or not the scheduled action is cancellable.

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

Information about a scheduled configuration change for an OpenSearch Service domain. This actions can be a service software update or a blue/green Auto-Tune enhancement.

" + }, + "ScheduledActionsList": { + "type": "list", + "member": { + "shape": "ScheduledAction" + } + }, "ScheduledAutoTuneActionType": { "type": "string", "documentation": "

The Auto-Tune action type.

", @@ -5262,6 +5532,13 @@ "HIGH" ] }, + "ScheduledBy": { + "type": "string", + "enum": [ + "CUSTOMER", + "SYSTEM" + ] + }, "ServiceSoftwareOptions": { "type": "structure", "members": { @@ -5332,6 +5609,30 @@ }, "documentation": "

Container for information about a daily automated snapshot for an OpenSearch Service domain.

" }, + "SoftwareUpdateOptions": { + "type": "structure", + "members": { + "AutoSoftwareUpdateEnabled": { + "shape": "Boolean", + "documentation": "

Whether automatic service software updates are enabled for the domain.

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

Options for configuring service software updates for a domain.

" + }, + "SoftwareUpdateOptionsStatus": { + "type": "structure", + "members": { + "Options": { + "shape": "SoftwareUpdateOptions", + "documentation": "

The service software update options for a domain.

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

The status of service software update options, including creation date and last updated date.

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

The status of the service software options for a domain.

" + }, "StartAt": { "type": "timestamp" }, @@ -5344,6 +5645,14 @@ "DomainName": { "shape": "DomainName", "documentation": "

The name of the domain that you want to update to the latest service software.

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

When to start the service software update.

Default: NOW if you don't specify a value for DesiredStartTime, and TIMESTAMP if you do.

" + }, + "DesiredStartTime": { + "shape": "Long", + "documentation": "

The Epoch timestamp when you want the service software update to start. You only need to specify this parameter if you set ScheduleAt to TIMESTAMP.

" } }, "documentation": "

Container for the request parameters to the StartServiceSoftwareUpdate operation.

" @@ -5358,6 +5667,16 @@ }, "documentation": "

Represents the output of a StartServiceSoftwareUpdate operation. Contains the status of the update.

" }, + "StartTimeHours": { + "type": "long", + "max": 23, + "min": 0 + }, + "StartTimeMinutes": { + "type": "long", + "max": 59, + "min": 0 + }, "StartTimestamp": { "type": "timestamp" }, @@ -5524,7 +5843,7 @@ }, "LogPublishingOptions": { "shape": "LogPublishingOptions", - "documentation": "

Options to publish OpenSearch lots to Amazon CloudWatch Logs.

" + "documentation": "

Options to publish OpenSearch logs to Amazon CloudWatch Logs.

" }, "EncryptionAtRestOptions": { "shape": "EncryptionAtRestOptions", @@ -5536,7 +5855,7 @@ }, "NodeToNodeEncryptionOptions": { "shape": "NodeToNodeEncryptionOptions", - "documentation": "

Node-To-Node Encryption options for the domain.

" + "documentation": "

Node-to-node encryption options for the domain.

" }, "AdvancedSecurityOptions": { "shape": "AdvancedSecurityOptionsInput", @@ -5553,6 +5872,14 @@ "DryRunMode": { "shape": "DryRunMode", "documentation": "

The type of dry run to perform.

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

Off-peak window options for the domain.

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

Service software update options for the domain.

" } }, "documentation": "

Container for the request parameters to the UpdateDomain operation.

" @@ -5614,6 +5941,48 @@ }, "documentation": "

Container for the response returned by the UpdatePackage operation.

" }, + "UpdateScheduledActionRequest": { + "type": "structure", + "required": [ + "DomainName", + "ActionID", + "ActionType", + "ScheduleAt" + ], + "members": { + "DomainName": { + "shape": "DomainName", + "documentation": "

The name of the domain to reschedule an action for.

", + "location": "uri", + "locationName": "DomainName" + }, + "ActionID": { + "shape": "String", + "documentation": "

The unique identifier of the action to reschedule. To retrieve this ID, send a ListScheduledActions request.

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

The type of action to reschedule. Can be one of SERVICE_SOFTWARE_UPDATE, JVM_HEAP_SIZE_TUNING, or JVM_YOUNG_GEN_TUNING. To retrieve this value, send a ListScheduledActions request.

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

When to schedule the action.

" + }, + "DesiredStartTime": { + "shape": "Long", + "documentation": "

The time to implement the change, in Coordinated Universal Time (UTC). Only specify this parameter if you set ScheduleAt to TIMESTAMP.

" + } + } + }, + "UpdateScheduledActionResponse": { + "type": "structure", + "members": { + "ScheduledAction": { + "shape": "ScheduledAction", + "documentation": "

Information about the rescheduled action.

" + } + } + }, "UpdateTimestamp": { "type": "timestamp" }, @@ -6032,6 +6401,24 @@ "shape": "VpcEndpoint" } }, + "WindowStartTime": { + "type": "structure", + "required": [ + "Hours", + "Minutes" + ], + "members": { + "Hours": { + "shape": "StartTimeHours", + "documentation": "

The start hour of the window in Coordinated Universal Time (UTC), using 24-hour time. For example, 17 refers to 5:00 P.M. UTC.

" + }, + "Minutes": { + "shape": "StartTimeMinutes", + "documentation": "

The start minute of the window, in UTC.

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

The desired start time for an off-peak maintenance window.

" + }, "ZoneAwarenessConfig": { "type": "structure", "members": { diff --git a/apis/opensearch-2021-01-01.paginators.json b/apis/opensearch-2021-01-01.paginators.json index ca82b13bee..cd834352dc 100644 --- a/apis/opensearch-2021-01-01.paginators.json +++ b/apis/opensearch-2021-01-01.paginators.json @@ -55,6 +55,11 @@ "output_token": "NextToken", "limit_key": "MaxResults" }, + "ListScheduledActions": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults" + }, "ListVersions": { "input_token": "NextToken", "output_token": "NextToken", diff --git a/apis/rum-2018-05-10.min.json b/apis/rum-2018-05-10.min.json index fa34993bb5..c42a6d5265 100644 --- a/apis/rum-2018-05-10.min.json +++ b/apis/rum-2018-05-10.min.json @@ -64,7 +64,7 @@ } }, "MetricDefinitions": { - "shape": "Si" + "shape": "Sj" } } }, @@ -97,7 +97,7 @@ "locationName": "destinationArn" }, "MetricDefinitionIds": { - "shape": "Sm", + "shape": "Sn", "location": "querystring", "locationName": "metricDefinitionIds" } @@ -126,7 +126,7 @@ } }, "MetricDefinitionIds": { - "shape": "Sm" + "shape": "Sn" } } }, @@ -172,7 +172,7 @@ "type": "structure", "members": { "MetricDefinitions": { - "shape": "Si" + "shape": "Sj" }, "NextToken": {} } @@ -191,10 +191,10 @@ ], "members": { "AppMonitorConfiguration": { - "shape": "Su" + "shape": "Sv" }, "CustomEvents": { - "shape": "S14" + "shape": "S15" }, "CwLogEnabled": { "type": "boolean" @@ -202,7 +202,7 @@ "Domain": {}, "Name": {}, "Tags": { - "shape": "S17" + "shape": "S18" } } }, @@ -296,11 +296,11 @@ "type": "structure", "members": { "AppMonitorConfiguration": { - "shape": "Su" + "shape": "Sv" }, "Created": {}, "CustomEvents": { - "shape": "S14" + "shape": "S15" }, "DataStorage": { "type": "structure", @@ -322,7 +322,7 @@ "Name": {}, "State": {}, "Tags": { - "shape": "S17" + "shape": "S18" } } } @@ -500,7 +500,7 @@ "members": { "ResourceArn": {}, "Tags": { - "shape": "S17" + "shape": "S18" } } } @@ -619,7 +619,7 @@ "locationName": "ResourceArn" }, "Tags": { - "shape": "S17" + "shape": "S18" } } }, @@ -673,10 +673,10 @@ ], "members": { "AppMonitorConfiguration": { - "shape": "Su" + "shape": "Sv" }, "CustomEvents": { - "shape": "S14" + "shape": "S15" }, "CwLogEnabled": { "type": "boolean" @@ -739,6 +739,7 @@ }, "EventPattern": {}, "Name": {}, + "Namespace": {}, "UnitLabel": {}, "ValueKey": {} } @@ -748,7 +749,7 @@ "key": {}, "value": {} }, - "Si": { + "Sj": { "type": "list", "member": { "type": "structure", @@ -763,16 +764,17 @@ "EventPattern": {}, "MetricDefinitionId": {}, "Name": {}, + "Namespace": {}, "UnitLabel": {}, "ValueKey": {} } } }, - "Sm": { + "Sn": { "type": "list", "member": {} }, - "Su": { + "Sv": { "type": "structure", "members": { "AllowCookies": { @@ -782,7 +784,7 @@ "type": "boolean" }, "ExcludedPages": { - "shape": "Sw" + "shape": "Sx" }, "FavoritePages": { "type": "list", @@ -791,7 +793,7 @@ "GuestRoleArn": {}, "IdentityPoolId": {}, "IncludedPages": { - "shape": "Sw" + "shape": "Sx" }, "SessionSampleRate": { "type": "double" @@ -802,17 +804,17 @@ } } }, - "Sw": { + "Sx": { "type": "list", "member": {} }, - "S14": { + "S15": { "type": "structure", "members": { "Status": {} } }, - "S17": { + "S18": { "type": "map", "key": {}, "value": {} diff --git a/apis/rum-2018-05-10.normal.json b/apis/rum-2018-05-10.normal.json index f48b78d5f4..e64686f2ad 100644 --- a/apis/rum-2018-05-10.normal.json +++ b/apis/rum-2018-05-10.normal.json @@ -48,7 +48,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Specifies the extended metrics that you want a CloudWatch RUM app monitor to send to a destination. Valid destinations include CloudWatch and Evidently.

By default, RUM app monitors send some metrics to CloudWatch. These default metrics are listed in CloudWatch metrics that you can collect with CloudWatch RUM.

If you also send extended metrics, you can send metrics to Evidently as well as CloudWatch, and you can also optionally send the metrics with additional dimensions. The valid dimension names for the additional dimensions are BrowserName, CountryCode, DeviceType, FileType, OSName, and PageId. For more information, see Extended metrics that you can send to CloudWatch and CloudWatch Evidently.

The maximum number of metric definitions that you can specify in one BatchCreateRumMetricDefinitions operation is 200.

The maximum number of metric definitions that one destination can contain is 2000.

Extended metrics sent are charged as CloudWatch custom metrics. Each combination of additional dimension name and dimension value counts as a custom metric. For more information, see Amazon CloudWatch Pricing.

You must have already created a destination for the metrics before you send them. For more information, see PutRumMetricsDestination.

If some metric definitions specified in a BatchCreateRumMetricDefinitions operations are not valid, those metric definitions fail and return errors, but all valid metric definitions in the same operation still succeed.

", + "documentation": "

Specifies the extended metrics and custom metrics that you want a CloudWatch RUM app monitor to send to a destination. Valid destinations include CloudWatch and Evidently.

By default, RUM app monitors send some metrics to CloudWatch. These default metrics are listed in CloudWatch metrics that you can collect with CloudWatch RUM.

In addition to these default metrics, you can choose to send extended metrics or custom metrics or both.

The maximum number of metric definitions that you can specify in one BatchCreateRumMetricDefinitions operation is 200.

The maximum number of metric definitions that one destination can contain is 2000.

Extended metrics sent to CloudWatch and RUM custom metrics are charged as CloudWatch custom metrics. Each combination of additional dimension name and dimension value counts as a custom metric. For more information, see Amazon CloudWatch Pricing.

You must have already created a destination for the metrics before you send them. For more information, see PutRumMetricsDestination.

If some metric definitions specified in a BatchCreateRumMetricDefinitions operations are not valid, those metric definitions fail and return errors, but all valid metric definitions in the same operation still succeed.

", "idempotent": true }, "BatchDeleteRumMetricDefinitions": { @@ -443,7 +443,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Creates or updates a destination to receive extended metrics from CloudWatch RUM. You can send extended metrics to CloudWatch or to a CloudWatch Evidently experiment.

For more information about extended metrics, see AddRumMetrics.

", + "documentation": "

Creates or updates a destination to receive extended metrics from CloudWatch RUM. You can send extended metrics to CloudWatch or to a CloudWatch Evidently experiment.

For more information about extended metrics, see BatchCreateRumMetricDefinitions.

", "idempotent": true }, "TagResource": { @@ -1094,7 +1094,9 @@ }, "value": { "shape": "DimensionName" - } + }, + "max": 29, + "min": 0 }, "DimensionName": { "type": "string", @@ -1343,6 +1345,10 @@ "shape": "MetricName", "documentation": "

The name of the metric that is defined in this structure.

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

If this metric definition is for a custom metric instead of an extended metric, this field displays the metric namespace that the custom metric is published to.

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

Use this field only if you are sending this metric to CloudWatch. It defines the CloudWatch metric unit that this metric is measured in.

" @@ -1373,7 +1379,7 @@ "members": { "DimensionKeys": { "shape": "DimensionKeysMap", - "documentation": "

Use this field only if you are sending the metric to CloudWatch.

This field is a map of field paths to dimension names. It defines the dimensions to associate with this metric in CloudWatch. Valid values for the entries in this field are the following:

All dimensions listed in this field must also be included in EventPattern.

" + "documentation": "

Use this field only if you are sending the metric to CloudWatch.

This field is a map of field paths to dimension names. It defines the dimensions to associate with this metric in CloudWatch. For extended metrics, valid values for the entries in this field are the following:

For both extended metrics and custom metrics, all dimensions listed in this field must also be included in EventPattern.

" }, "EventPattern": { "shape": "EventPattern", @@ -1381,7 +1387,11 @@ }, "Name": { "shape": "MetricName", - "documentation": "

The name for the metric that is defined in this structure. Valid values are the following:

" + "documentation": "

The name for the metric that is defined in this structure. For custom metrics, you can specify any name that you like. For extended metrics, valid values are the following:

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

If this structure is for a custom metric instead of an extended metrics, use this parameter to define the metric namespace for that custom metric. Do not specify this parameter if this structure is for an extended metric.

You cannot use any string that starts with AWS/ for your namespace.

" }, "UnitLabel": { "shape": "UnitLabel", @@ -1392,7 +1402,7 @@ "documentation": "

The field within the event object that the metric value is sourced from.

If you omit this field, a hardcoded value of 1 is pushed as the metric value. This is useful if you just want to count the number of events that the filter catches.

If this metric is sent to CloudWatch Evidently, this field will be passed to Evidently raw and Evidently will handle data extraction from the event.

" } }, - "documentation": "

Use this structure to define one extended metric that RUM will send to CloudWatch or CloudWatch Evidently. For more information, see Additional metrics that you can send to CloudWatch and CloudWatch Evidently.

Only certain combinations of values for Name, ValueKey, and EventPattern are valid. In addition to what is displayed in the list below, the EventPattern can also include information used by the DimensionKeys field.

" + "documentation": "

Use this structure to define one extended metric or custom metric that RUM will send to CloudWatch or CloudWatch Evidently. For more information, see Additional metrics that you can send to CloudWatch and CloudWatch Evidently.

This structure is validated differently for extended metrics and custom metrics. For extended metrics that are sent to the AWS/RUM namespace, the following validations apply:

For custom metrics, the following validation rules apply:

Valid key values for first-level keys in the ValueKey, EventPattern, and DimensionKeys fields:

" }, "MetricDefinitions": { "type": "list", @@ -1442,6 +1452,12 @@ "max": 255, "min": 1 }, + "Namespace": { + "type": "string", + "max": 237, + "min": 1, + "pattern": "[a-zA-Z0-9-._/#:]+$" + }, "Pages": { "type": "list", "member": { @@ -1465,11 +1481,11 @@ "documentation": "

A structure that contains information about the app monitor that collected this telemetry information.

" }, "BatchId": { - "shape": "String", + "shape": "PutRumEventsRequestBatchIdString", "documentation": "

A unique identifier for this batch of RUM event data.

" }, "Id": { - "shape": "AppMonitorId", + "shape": "PutRumEventsRequestIdString", "documentation": "

The ID of the app monitor that is sending this data.

", "location": "uri", "locationName": "Id" @@ -1484,6 +1500,18 @@ } } }, + "PutRumEventsRequestBatchIdString": { + "type": "string", + "max": 36, + "min": 36, + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" + }, + "PutRumEventsRequestIdString": { + "type": "string", + "max": 36, + "min": 36, + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" + }, "PutRumEventsResponse": { "type": "structure", "members": {} @@ -1569,7 +1597,7 @@ "jsonvalue": true }, "id": { - "shape": "String", + "shape": "RumEventIdString", "documentation": "

A unique ID for this event.

" }, "metadata": { @@ -1588,6 +1616,12 @@ }, "documentation": "

A structure that contains the information for one performance event that RUM collects from a user session with your application.

" }, + "RumEventIdString": { + "type": "string", + "max": 36, + "min": 36, + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" + }, "RumEventList": { "type": "list", "member": { @@ -1809,16 +1843,28 @@ "type": "structure", "members": { "sessionId": { - "shape": "String", + "shape": "UserDetailsSessionIdString", "documentation": "

The session ID that the performance events are from.

" }, "userId": { - "shape": "String", + "shape": "UserDetailsUserIdString", "documentation": "

The ID of the user for this user session. This ID is generated by RUM and does not include any personally identifiable information about the user.

" } }, "documentation": "

A structure that contains information about the user session that this batch of events was collected from.

" }, + "UserDetailsSessionIdString": { + "type": "string", + "max": 36, + "min": 36, + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" + }, + "UserDetailsUserIdString": { + "type": "string", + "max": 36, + "min": 36, + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" + }, "ValueKey": { "type": "string", "max": 280, diff --git a/apis/ssm-2014-11-06.normal.json b/apis/ssm-2014-11-06.normal.json index 65799ecd7a..37c2c8a437 100644 --- a/apis/ssm-2014-11-06.normal.json +++ b/apis/ssm-2014-11-06.normal.json @@ -2701,7 +2701,7 @@ "shape": "DocumentLimitExceeded" } ], - "documentation": "

Shares a Amazon Web Services Systems Manager document (SSM document)publicly or privately. If you share a document privately, you must specify the Amazon Web Services user account IDs for those people who can use the document. If you share a document publicly, you must specify All as the account ID.

" + "documentation": "

Shares a Amazon Web Services Systems Manager document (SSM document)publicly or privately. If you share a document privately, you must specify the Amazon Web Services user IDs for those people who can use the document. If you share a document publicly, you must specify All as the account ID.

" }, "PutComplianceItems": { "name": "PutComplianceItems", @@ -3394,7 +3394,7 @@ "shape": "InvalidTargetMaps" } ], - "documentation": "

Updates an association. You can update the association name and version, the document version, schedule, parameters, and Amazon Simple Storage Service (Amazon S3) output. When you call UpdateAssociation, the system removes all optional parameters from the request and overwrites the association with null values for those parameters. This is by design. You must specify all optional parameters in the call, even if you are not changing the parameters. This includes the Name parameter. Before calling this API action, we recommend that you call the DescribeAssociation API operation and make a note of all optional parameters required for your UpdateAssociation call.

In order to call this API operation, your Identity and Access Management (IAM) user account, group, or role must be configured with permission to call the DescribeAssociation API operation. If you don't have permission to call DescribeAssociation, then you receive the following error: An error occurred (AccessDeniedException) when calling the UpdateAssociation operation: User: <user_arn> isn't authorized to perform: ssm:DescribeAssociation on resource: <resource_arn>

When you update an association, the association immediately runs against the specified targets. You can add the ApplyOnlyAtCronInterval parameter to run the association during the next schedule run.

" + "documentation": "

Updates an association. You can update the association name and version, the document version, schedule, parameters, and Amazon Simple Storage Service (Amazon S3) output. When you call UpdateAssociation, the system removes all optional parameters from the request and overwrites the association with null values for those parameters. This is by design. You must specify all optional parameters in the call, even if you are not changing the parameters. This includes the Name parameter. Before calling this API action, we recommend that you call the DescribeAssociation API operation and make a note of all optional parameters required for your UpdateAssociation call.

In order to call this API operation, a user, group, or role must be granted permission to call the DescribeAssociation API operation. If you don't have permission to call DescribeAssociation, then you receive the following error: An error occurred (AccessDeniedException) when calling the UpdateAssociation operation: User: <user_arn> isn't authorized to perform: ssm:DescribeAssociation on resource: <resource_arn>

When you update an association, the association immediately runs against the specified targets. You can add the ApplyOnlyAtCronInterval parameter to run the association during the next schedule run.

" }, "UpdateAssociationStatus": { "name": "UpdateAssociationStatus", @@ -3925,7 +3925,7 @@ "members": { "IgnorePollAlarmFailure": { "shape": "Boolean", - "documentation": "

If you specify true for this value, your automation or command continue to run even if we can't gather information about the state of your CloudWatch alarm. The default value is false.

" + "documentation": "

When this value is true, your automation or command continues to run in cases where we can’t retrieve alarm status information from CloudWatch. In cases where we successfully retrieve an alarm status of OK or INSUFFICIENT_DATA, the automation or command continues to run, regardless of this value. Default is false.

" }, "Alarms": { "shape": "AlarmList", @@ -6179,7 +6179,7 @@ "members": { "Name": { "shape": "DocumentARN", - "documentation": "

The name of the SSM Command document or Automation runbook that contains the configuration information for the managed node.

You can specify Amazon Web Services-predefined documents, documents you created, or a document that is shared with you from another account.

For Systems Manager documents (SSM documents) that are shared with you from other Amazon Web Services accounts, you must specify the complete SSM document ARN, in the following format:

arn:partition:ssm:region:account-id:document/document-name

For example:

arn:aws:ssm:us-east-2:12345678912:document/My-Shared-Document

For Amazon Web Services-predefined documents and SSM documents you created in your account, you only need to specify the document name. For example, AWS-ApplyPatchBaseline or My-Document.

" + "documentation": "

The name of the SSM Command document or Automation runbook that contains the configuration information for the managed node.

You can specify Amazon Web Services-predefined documents, documents you created, or a document that is shared with you from another Amazon Web Services account.

For Systems Manager documents (SSM documents) that are shared with you from other Amazon Web Services accounts, you must specify the complete SSM document ARN, in the following format:

arn:partition:ssm:region:account-id:document/document-name

For example:

arn:aws:ssm:us-east-2:12345678912:document/My-Shared-Document

For Amazon Web Services-predefined documents and SSM documents you created in your account, you only need to specify the document name. For example, AWS-ApplyPatchBaseline or My-Document.

" }, "DocumentVersion": { "shape": "DocumentVersion", @@ -6279,7 +6279,7 @@ "members": { "Content": { "shape": "DocumentContent", - "documentation": "

The content for the new SSM document in JSON or YAML format. We recommend storing the contents for your new document in an external JSON or YAML file and referencing the file in a command.

For examples, see the following topics in the Amazon Web Services Systems Manager User Guide.

" + "documentation": "

The content for the new SSM document in JSON or YAML format. The content of the document must not exceed 64KB. This quota also includes the content specified for input parameters at runtime. We recommend storing the contents for your new document in an external JSON or YAML file and referencing the file in a command.

For examples, see the following topics in the Amazon Web Services Systems Manager User Guide.

" }, "Requires": { "shape": "DocumentRequiresList", @@ -8289,7 +8289,7 @@ }, "Owner": { "shape": "DocumentOwner", - "documentation": "

The Amazon Web Services user account that created the document.

" + "documentation": "

The Amazon Web Services user that created the document.

" }, "CreatedDate": { "shape": "DateTime", @@ -8465,7 +8465,7 @@ }, "Owner": { "shape": "DocumentOwner", - "documentation": "

The Amazon Web Services user account that created the document.

" + "documentation": "

The Amazon Web Services user that created the document.

" }, "VersionName": { "shape": "DocumentVersionName", @@ -8601,7 +8601,7 @@ "documentation": "

If specified, the default values for the parameters. Parameters without a default value are required. Parameters with a default value are optional.

" } }, - "documentation": "

Parameters specified in a System Manager document that run on the server when the command is run.

" + "documentation": "

Parameters specified in a Systems Manager document that run on the server when the command is run.

" }, "DocumentParameterDefaultValue": { "type": "string" @@ -10170,7 +10170,7 @@ "members": { "SettingId": { "shape": "ServiceSettingId", - "documentation": "

The ID of the service setting to get. The setting ID can be one of the following.

" + "documentation": "

The ID of the service setting to get. The setting ID can be one of the following.

" } }, "documentation": "

The request body of the GetServiceSetting API operation.

" @@ -12677,11 +12677,11 @@ }, "AccountIdsToAdd": { "shape": "AccountIdList", - "documentation": "

The Amazon Web Services user accounts that should have access to the document. The account IDs can either be a group of account IDs or All.

" + "documentation": "

The Amazon Web Services users that should have access to the document. The account IDs can either be a group of account IDs or All.

" }, "AccountIdsToRemove": { "shape": "AccountIdList", - "documentation": "

The Amazon Web Services user accounts that should no longer have access to the document. The Amazon Web Services user account can either be a group of account IDs or All. This action has a higher priority than AccountIdsToAdd. If you specify an account ID to add and the same ID to remove, the system removes access to the document.

" + "documentation": "

The Amazon Web Services users that should no longer have access to the document. The Amazon Web Services user can either be a group of account IDs or All. This action has a higher priority than AccountIdsToAdd. If you specify an ID to add and the same ID to remove, the system removes access to the document.

" }, "SharedDocumentVersion": { "shape": "SharedDocumentVersion", @@ -14972,7 +14972,7 @@ }, "KeyId": { "shape": "ParameterKeyId", - "documentation": "

The Key Management Service (KMS) ID that you want to use to encrypt a parameter. Either the default KMS key automatically assigned to your Amazon Web Services account or a custom key. Required for parameters that use the SecureString data type.

If you don't specify a key ID, the system uses the default key associated with your Amazon Web Services account.

" + "documentation": "

The Key Management Service (KMS) ID that you want to use to encrypt a parameter. Use a custom key for better security. Required for parameters that use the SecureString data type.

If you don't specify a key ID, the system uses the default key associated with your Amazon Web Services account which is not as secure as using a custom key.

" }, "Overwrite": { "shape": "Boolean", @@ -14997,7 +14997,7 @@ }, "DataType": { "shape": "ParameterDataType", - "documentation": "

The data type for a String parameter. Supported data types include plain text and Amazon Machine Image (AMI) IDs.

The following data type values are supported.

When you create a String parameter and specify aws:ec2:image, Amazon Web Services Systems Manager validates the parameter value is in the required format, such as ami-12345abcdeEXAMPLE, and that the specified AMI is available in your Amazon Web Services account. For more information, see Native parameter support for Amazon Machine Image (AMI) IDs in the Amazon Web Services Systems Manager User Guide.

" + "documentation": "

The data type for a String parameter. Supported data types include plain text and Amazon Machine Image (AMI) IDs.

The following data type values are supported.

When you create a String parameter and specify aws:ec2:image, Amazon Web Services Systems Manager validates the parameter value is in the required format, such as ami-12345abcdeEXAMPLE, and that the specified AMI is available in your Amazon Web Services account.

If the action is successful, the service sends back an HTTP 200 response which indicates a successful PutParameter call for all cases except for data type aws:ec2:image. If you call PutParameter with aws:ec2:image data type, a successful HTTP 200 response does not guarantee that your parameter was successfully created or updated. The aws:ec2:image value is validated asynchronously, and the PutParameter call returns before the validation is complete. If you submit an invalid AMI value, the PutParameter operation will return success, but the asynchronous validation will fail and the parameter will not be created or updated. To monitor whether your aws:ec2:image parameters are created successfully, see Setting up notifications or trigger actions based on Parameter Store events. For more information about AMI format validation , see Native parameter support for Amazon Machine Image (AMI) IDs.

" } } }, @@ -16167,7 +16167,7 @@ }, "Owner": { "shape": "SessionOwner", - "documentation": "

The ID of the Amazon Web Services user account that started the session.

" + "documentation": "

The ID of the Amazon Web Services user that started the session.

" }, "Reason": { "shape": "SessionReason", @@ -16206,7 +16206,7 @@ }, "value": { "shape": "SessionFilterValue", - "documentation": "

The filter value. Valid values for each filter key are as follows:

" + "documentation": "

The filter value. Valid values for each filter key are as follows:

" } }, "documentation": "

Describes a filter for Session Manager information.

" @@ -16366,7 +16366,7 @@ }, "SharedDocumentVersion": { "type": "string", - "documentation": "

The document version shared with other accounts. You can share Latest, Default or All versions.

", + "documentation": "

The document version shared with other Amazon Web Services accounts. You can share Latest, Default or All versions.

", "max": 8, "pattern": "([$]LATEST|[$]DEFAULT|[$]ALL)" }, @@ -17905,7 +17905,7 @@ "members": { "SettingId": { "shape": "ServiceSettingId", - "documentation": "

The Amazon Resource Name (ARN) of the service setting to reset. For example, arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled. The setting ID can be one of the following.

" + "documentation": "

The Amazon Resource Name (ARN) of the service setting to reset. For example, arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled. The setting ID can be one of the following.

" }, "SettingValue": { "shape": "ServiceSettingValue", diff --git a/clients/chimesdkvoice.d.ts b/clients/chimesdkvoice.d.ts index 9a13a43aa1..df34cf4adc 100644 --- a/clients/chimesdkvoice.d.ts +++ b/clients/chimesdkvoice.d.ts @@ -984,6 +984,7 @@ declare namespace ChimeSDKVoice { } export interface LoggingConfiguration { EnableSIPLogs?: Boolean; + EnableMediaMetricLogs?: Boolean; } export type NextTokenString = string; export type NonEmptyString = string; diff --git a/clients/cloudfront.d.ts b/clients/cloudfront.d.ts index 71674c3aad..0821f6bedd 100644 --- a/clients/cloudfront.d.ts +++ b/clients/cloudfront.d.ts @@ -30,11 +30,11 @@ declare class CloudFront extends CloudFrontCustomizations { */ copyDistribution(callback?: (err: AWSError, data: CloudFront.Types.CopyDistributionResult) => void): Request; /** - * Creates a cache policy. After you create a cache policy, you can attach it to one or more cache behaviors. When it's attached to a cache behavior, the cache policy determines the following: The values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer. The default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront cache. The headers, cookies, and query strings that are included in the cache key are automatically included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find an object in its cache that matches the request's cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy. For more information about cache policies, see Controlling the cache key in the Amazon CloudFront Developer Guide. + * Creates a cache policy. After you create a cache policy, you can attach it to one or more cache behaviors. When it's attached to a cache behavior, the cache policy determines the following: The values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer. The default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront cache. The headers, cookies, and query strings that are included in the cache key are also included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find an object in its cache that matches the request's cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy. For more information about cache policies, see Controlling the cache key in the Amazon CloudFront Developer Guide. */ createCachePolicy(params: CloudFront.Types.CreateCachePolicyRequest, callback?: (err: AWSError, data: CloudFront.Types.CreateCachePolicyResult) => void): Request; /** - * Creates a cache policy. After you create a cache policy, you can attach it to one or more cache behaviors. When it's attached to a cache behavior, the cache policy determines the following: The values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer. The default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront cache. The headers, cookies, and query strings that are included in the cache key are automatically included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find an object in its cache that matches the request's cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy. For more information about cache policies, see Controlling the cache key in the Amazon CloudFront Developer Guide. + * Creates a cache policy. After you create a cache policy, you can attach it to one or more cache behaviors. When it's attached to a cache behavior, the cache policy determines the following: The values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer. The default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront cache. The headers, cookies, and query strings that are included in the cache key are also included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find an object in its cache that matches the request's cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy. For more information about cache policies, see Controlling the cache key in the Amazon CloudFront Developer Guide. */ createCachePolicy(callback?: (err: AWSError, data: CloudFront.Types.CreateCachePolicyResult) => void): Request; /** @@ -1088,14 +1088,14 @@ declare namespace CloudFront { */ MinTTL: long; /** - * The HTTP headers, cookies, and URL query strings to include in the cache key. The values included in the cache key are automatically included in requests that CloudFront sends to the origin. + * The HTTP headers, cookies, and URL query strings to include in the cache key. The values included in the cache key are also included in requests that CloudFront sends to the origin. */ ParametersInCacheKeyAndForwardedToOrigin?: ParametersInCacheKeyAndForwardedToOrigin; } export type CachePolicyCookieBehavior = "none"|"whitelist"|"allExcept"|"all"|string; export interface CachePolicyCookiesConfig { /** - * Determines whether any cookies in viewer requests are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are: none – Cookies in viewer requests are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set to none, any cookies that are listed in an OriginRequestPolicy are included in origin requests. whitelist – The cookies in viewer requests that are listed in the CookieNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin. allExcept – All cookies in viewer requests that are not listed in the CookieNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin. all – All cookies in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin. + * Determines whether any cookies in viewer requests are included in the cache key and in requests that CloudFront sends to the origin. Valid values are: none – No cookies in viewer requests are included in the cache key or in requests that CloudFront sends to the origin. Even when this field is set to none, any cookies that are listed in an OriginRequestPolicy are included in origin requests. whitelist – Only the cookies in viewer requests that are listed in the CookieNames type are included in the cache key and in requests that CloudFront sends to the origin. allExcept – All cookies in viewer requests are included in the cache key and in requests that CloudFront sends to the origin, except for those that are listed in the CookieNames type, which are not included. all – All cookies in viewer requests are included in the cache key and in requests that CloudFront sends to the origin. */ CookieBehavior: CachePolicyCookieBehavior; Cookies?: CookieNames; @@ -1103,7 +1103,7 @@ declare namespace CloudFront { export type CachePolicyHeaderBehavior = "none"|"whitelist"|string; export interface CachePolicyHeadersConfig { /** - * Determines whether any HTTP headers are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are: none – HTTP headers are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set to none, any headers that are listed in an OriginRequestPolicy are included in origin requests. whitelist – The HTTP headers that are listed in the Headers type are included in the cache key and are automatically included in requests that CloudFront sends to the origin. + * Determines whether any HTTP headers are included in the cache key and in requests that CloudFront sends to the origin. Valid values are: none – No HTTP headers are included in the cache key or in requests that CloudFront sends to the origin. Even when this field is set to none, any headers that are listed in an OriginRequestPolicy are included in origin requests. whitelist – Only the HTTP headers that are listed in the Headers type are included in the cache key and in requests that CloudFront sends to the origin. */ HeaderBehavior: CachePolicyHeaderBehavior; Headers?: Headers; @@ -1129,11 +1129,11 @@ declare namespace CloudFront { export type CachePolicyQueryStringBehavior = "none"|"whitelist"|"allExcept"|"all"|string; export interface CachePolicyQueryStringsConfig { /** - * Determines whether any URL query strings in viewer requests are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are: none – Query strings in viewer requests are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set to none, any query strings that are listed in an OriginRequestPolicy are included in origin requests. whitelist – The query strings in viewer requests that are listed in the QueryStringNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin. allExcept – All query strings in viewer requests that are not listed in the QueryStringNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin. all – All query strings in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin. + * Determines whether any URL query strings in viewer requests are included in the cache key and in requests that CloudFront sends to the origin. Valid values are: none – No query strings in viewer requests are included in the cache key or in requests that CloudFront sends to the origin. Even when this field is set to none, any query strings that are listed in an OriginRequestPolicy are included in origin requests. whitelist – Only the query strings in viewer requests that are listed in the QueryStringNames type are included in the cache key and in requests that CloudFront sends to the origin. allExcept – All query strings in viewer requests are included in the cache key and in requests that CloudFront sends to the origin, except those that are listed in the QueryStringNames type, which are not included. all – All query strings in viewer requests are included in the cache key and in requests that CloudFront sends to the origin. */ QueryStringBehavior: CachePolicyQueryStringBehavior; /** - * Contains the specific query strings in viewer requests that either are or are not included in the cache key and automatically included in requests that CloudFront sends to the origin. The behavior depends on whether the QueryStringBehavior field in the CachePolicyQueryStringsConfig type is set to whitelist (the listed query strings are included) or allExcept (the listed query strings are not included, but all other query strings are). + * Contains the specific query strings in viewer requests that either are or are not included in the cache key and in requests that CloudFront sends to the origin. The behavior depends on whether the QueryStringBehavior field in the CachePolicyQueryStringsConfig type is set to whitelist (the listed query strings are included) or allExcept (the listed query strings are not included, but all other query strings are). */ QueryStrings?: QueryStringNames; } @@ -3983,18 +3983,18 @@ declare namespace CloudFront { */ QueryStringsConfig: OriginRequestPolicyQueryStringsConfig; } - export type OriginRequestPolicyCookieBehavior = "none"|"whitelist"|"all"|string; + export type OriginRequestPolicyCookieBehavior = "none"|"whitelist"|"all"|"allExcept"|string; export interface OriginRequestPolicyCookiesConfig { /** - * Determines whether cookies in viewer requests are included in requests that CloudFront sends to the origin. Valid values are: none – Cookies in viewer requests are not included in requests that CloudFront sends to the origin. Even when this field is set to none, any cookies that are listed in a CachePolicy are included in origin requests. whitelist – The cookies in viewer requests that are listed in the CookieNames type are included in requests that CloudFront sends to the origin. all – All cookies in viewer requests are included in requests that CloudFront sends to the origin. + * Determines whether cookies in viewer requests are included in requests that CloudFront sends to the origin. Valid values are: none – No cookies in viewer requests are included in requests that CloudFront sends to the origin. Even when this field is set to none, any cookies that are listed in a CachePolicy are included in origin requests. whitelist – Only the cookies in viewer requests that are listed in the CookieNames type are included in requests that CloudFront sends to the origin. all – All cookies in viewer requests are included in requests that CloudFront sends to the origin. allExcept – All cookies in viewer requests are included in requests that CloudFront sends to the origin, except for those listed in the CookieNames type, which are not included. */ CookieBehavior: OriginRequestPolicyCookieBehavior; Cookies?: CookieNames; } - export type OriginRequestPolicyHeaderBehavior = "none"|"whitelist"|"allViewer"|"allViewerAndWhitelistCloudFront"|string; + export type OriginRequestPolicyHeaderBehavior = "none"|"whitelist"|"allViewer"|"allViewerAndWhitelistCloudFront"|"allExcept"|string; export interface OriginRequestPolicyHeadersConfig { /** - * Determines whether any HTTP headers are included in requests that CloudFront sends to the origin. Valid values are: none – HTTP headers are not included in requests that CloudFront sends to the origin. Even when this field is set to none, any headers that are listed in a CachePolicy are included in origin requests. whitelist – The HTTP headers that are listed in the Headers type are included in requests that CloudFront sends to the origin. allViewer – All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin. allViewerAndWhitelistCloudFront – All HTTP headers in viewer requests and the additional CloudFront headers that are listed in the Headers type are included in requests that CloudFront sends to the origin. The additional headers are added by CloudFront. + * Determines whether any HTTP headers are included in requests that CloudFront sends to the origin. Valid values are: none – No HTTP headers in viewer requests are included in requests that CloudFront sends to the origin. Even when this field is set to none, any headers that are listed in a CachePolicy are included in origin requests. whitelist – Only the HTTP headers that are listed in the Headers type are included in requests that CloudFront sends to the origin. allViewer – All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin. allViewerAndWhitelistCloudFront – All HTTP headers in viewer requests and the additional CloudFront headers that are listed in the Headers type are included in requests that CloudFront sends to the origin. The additional headers are added by CloudFront. allExcept – All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin, except for those listed in the Headers type, which are not included. */ HeaderBehavior: OriginRequestPolicyHeaderBehavior; Headers?: Headers; @@ -4017,14 +4017,14 @@ declare namespace CloudFront { */ Items?: OriginRequestPolicySummaryList; } - export type OriginRequestPolicyQueryStringBehavior = "none"|"whitelist"|"all"|string; + export type OriginRequestPolicyQueryStringBehavior = "none"|"whitelist"|"all"|"allExcept"|string; export interface OriginRequestPolicyQueryStringsConfig { /** - * Determines whether any URL query strings in viewer requests are included in requests that CloudFront sends to the origin. Valid values are: none – Query strings in viewer requests are not included in requests that CloudFront sends to the origin. Even when this field is set to none, any query strings that are listed in a CachePolicy are included in origin requests. whitelist – The query strings in viewer requests that are listed in the QueryStringNames type are included in requests that CloudFront sends to the origin. all – All query strings in viewer requests are included in requests that CloudFront sends to the origin. + * Determines whether any URL query strings in viewer requests are included in requests that CloudFront sends to the origin. Valid values are: none – No query strings in viewer requests are included in requests that CloudFront sends to the origin. Even when this field is set to none, any query strings that are listed in a CachePolicy are included in origin requests. whitelist – Only the query strings in viewer requests that are listed in the QueryStringNames type are included in requests that CloudFront sends to the origin. all – All query strings in viewer requests are included in requests that CloudFront sends to the origin. allExcept – All query strings in viewer requests are included in requests that CloudFront sends to the origin, except for those listed in the QueryStringNames type, which are not included. */ QueryStringBehavior: OriginRequestPolicyQueryStringBehavior; /** - * Contains a list of the query strings in viewer requests that are included in requests that CloudFront sends to the origin. + * Contains the specific query strings in viewer requests that either are or are not included in requests that CloudFront sends to the origin. The behavior depends on whether the QueryStringBehavior field in the OriginRequestPolicyQueryStringsConfig type is set to whitelist (the listed query strings are included) or allExcept (the listed query strings are not included, but all other query strings are). */ QueryStrings?: QueryStringNames; } @@ -4081,15 +4081,15 @@ declare namespace CloudFront { */ EnableAcceptEncodingBrotli?: boolean; /** - * An object that determines whether any HTTP headers (and if so, which headers) are included in the cache key and automatically included in requests that CloudFront sends to the origin. + * An object that determines whether any HTTP headers (and if so, which headers) are included in the cache key and in requests that CloudFront sends to the origin. */ HeadersConfig: CachePolicyHeadersConfig; /** - * An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in the cache key and automatically included in requests that CloudFront sends to the origin. + * An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in the cache key and in requests that CloudFront sends to the origin. */ CookiesConfig: CachePolicyCookiesConfig; /** - * An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the cache key and automatically included in requests that CloudFront sends to the origin. + * An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the cache key and in requests that CloudFront sends to the origin. */ QueryStringsConfig: CachePolicyQueryStringsConfig; } diff --git a/clients/opensearch.d.ts b/clients/opensearch.d.ts index fa2147a628..13d54f7bef 100644 --- a/clients/opensearch.d.ts +++ b/clients/opensearch.d.ts @@ -299,6 +299,14 @@ declare class OpenSearch extends Service { * Lists all packages associated with an Amazon OpenSearch Service domain. For more information, see Custom packages for Amazon OpenSearch Service. */ listPackagesForDomain(callback?: (err: AWSError, data: OpenSearch.Types.ListPackagesForDomainResponse) => void): Request; + /** + * Retrieves a list of configuration changes that are scheduled for a domain. These changes can be service software updates or blue/green Auto-Tune enhancements. + */ + listScheduledActions(params: OpenSearch.Types.ListScheduledActionsRequest, callback?: (err: AWSError, data: OpenSearch.Types.ListScheduledActionsResponse) => void): Request; + /** + * Retrieves a list of configuration changes that are scheduled for a domain. These changes can be service software updates or blue/green Auto-Tune enhancements. + */ + listScheduledActions(callback?: (err: AWSError, data: OpenSearch.Types.ListScheduledActionsResponse) => void): Request; /** * Returns all resource tags for an Amazon OpenSearch Service domain. For more information, see Tagging Amazon OpenSearch Service domains. */ @@ -395,6 +403,14 @@ declare class OpenSearch extends Service { * Updates a package for use with Amazon OpenSearch Service domains. For more information, see Custom packages for Amazon OpenSearch Service. */ updatePackage(callback?: (err: AWSError, data: OpenSearch.Types.UpdatePackageResponse) => void): Request; + /** + * Reschedules a planned domain configuration change for a later time. This change can be a scheduled service software update or a blue/green Auto-Tune enhancement. + */ + updateScheduledAction(params: OpenSearch.Types.UpdateScheduledActionRequest, callback?: (err: AWSError, data: OpenSearch.Types.UpdateScheduledActionResponse) => void): Request; + /** + * Reschedules a planned domain configuration change for a later time. This change can be a scheduled service software update or a blue/green Auto-Tune enhancement. + */ + updateScheduledAction(callback?: (err: AWSError, data: OpenSearch.Types.UpdateScheduledActionResponse) => void): Request; /** * Modifies an Amazon OpenSearch Service-managed interface VPC endpoint. */ @@ -451,6 +467,9 @@ declare namespace OpenSearch { */ Status: OptionStatus; } + export type ActionSeverity = "HIGH"|"MEDIUM"|"LOW"|string; + export type ActionStatus = "PENDING_UPDATE"|"IN_PROGRESS"|"FAILED"|"COMPLETED"|"NOT_ELIGIBLE"|"ELIGIBLE"|string; + export type ActionType = "SERVICE_SOFTWARE_UPDATE"|"JVM_HEAP_SIZE_TUNING"|"JVM_YOUNG_GEN_TUNING"|string; export interface AddTagsRequest { /** * Amazon Resource Name (ARN) for the OpenSearch Service domain to which you want to attach resource tags. @@ -624,9 +643,13 @@ declare namespace OpenSearch { */ RollbackOnDisable?: RollbackOnDisable; /** - * A list of maintenance schedules during which Auto-Tune can deploy changes. + * DEPRECATED. Use off-peak window instead. A list of maintenance schedules during which Auto-Tune can deploy changes. */ MaintenanceSchedules?: AutoTuneMaintenanceScheduleList; + /** + * Whether to use the domain's off-peak window to deploy configuration changes on the domain rather than a maintenance schedule. + */ + UseOffPeakWindow?: Boolean; } export interface AutoTuneOptionsInput { /** @@ -634,9 +657,13 @@ declare namespace OpenSearch { */ DesiredState?: AutoTuneDesiredState; /** - * A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance schedules are overwrite, not append. If your request includes no schedules, the request deletes all existing schedules. To preserve existing schedules, make a call to DescribeDomainConfig first and use the MaintenanceSchedules portion of the response as the basis for this section. + * A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance windows are deprecated and have been replaced with off-peak windows. */ MaintenanceSchedules?: AutoTuneMaintenanceScheduleList; + /** + * Whether to schedule Auto-Tune optimizations that require blue/green deployments during the domain's configured daily off-peak window. + */ + UseOffPeakWindow?: Boolean; } export interface AutoTuneOptionsOutput { /** @@ -647,6 +674,10 @@ declare namespace OpenSearch { * Any errors that occurred while enabling or disabling Auto-Tune. */ ErrorMessage?: String; + /** + * Whether the domain's off-peak window will be used to deploy Auto-Tune changes rather than a maintenance schedule. + */ + UseOffPeakWindow?: Boolean; } export interface AutoTuneOptionsStatus { /** @@ -940,6 +971,14 @@ declare namespace OpenSearch { * Options for Auto-Tune. */ AutoTuneOptions?: AutoTuneOptionsInput; + /** + * Specifies a daily 10-hour time block during which OpenSearch Service can perform configuration changes on the domain, including service software updates and Auto-Tune enhancements that require a blue/green deployment. If no options are specified, the default start time of 10:00 P.M. local time (for the Region that the domain is created in) is used. + */ + OffPeakWindowOptions?: OffPeakWindowOptions; + /** + * Software update options for the domain. + */ + SoftwareUpdateOptions?: SoftwareUpdateOptions; } export interface CreateDomainResponse { /** @@ -1406,7 +1445,7 @@ declare namespace OpenSearch { */ ClusterConfig?: ClusterConfigStatus; /** - * Container for EBS options configured for an OpenSearch Service domain. + * Container for EBS options configured for the domain. */ EBSOptions?: EBSOptionsStatus; /** @@ -1457,6 +1496,14 @@ declare namespace OpenSearch { * Container for information about the progress of an existing configuration change. */ ChangeProgressDetails?: ChangeProgressDetails; + /** + * Container for off-peak window options for the domain. + */ + OffPeakWindowOptions?: OffPeakWindowOptionsStatus; + /** + * Software update options for the domain. + */ + SoftwareUpdateOptions?: SoftwareUpdateOptionsStatus; } export interface DomainEndpointOptions { /** @@ -1652,6 +1699,14 @@ declare namespace OpenSearch { * Information about a configuration change happening on the domain. */ ChangeProgressDetails?: ChangeProgressDetails; + /** + * Options that specify a custom 10-hour window during which OpenSearch Service can perform configuration changes on the domain. + */ + OffPeakWindowOptions?: OffPeakWindowOptions; + /** + * Service software update options for the domain. + */ + SoftwareUpdateOptions?: SoftwareUpdateOptions; } export type DomainStatusList = DomainStatus[]; export type Double = number; @@ -2060,6 +2115,30 @@ declare namespace OpenSearch { */ NextToken?: String; } + export interface ListScheduledActionsRequest { + /** + * The name of the domain. + */ + DomainName: DomainName; + /** + * An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results. + */ + MaxResults?: MaxResults; + /** + * If your initial ListScheduledActions operation returns a nextToken, you can include the returned nextToken in subsequent ListScheduledActions operations, which returns results in the next page. + */ + NextToken?: NextToken; + } + export interface ListScheduledActionsResponse { + /** + * A list of actions that are scheduled for the domain. + */ + ScheduledActions?: ScheduledActionsList; + /** + * When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. + */ + NextToken?: NextToken; + } export interface ListTagsRequest { /** * Amazon Resource Name (ARN) for the domain to view tags for. @@ -2207,6 +2286,32 @@ declare namespace OpenSearch { Status: OptionStatus; } export type NonEmptyString = string; + export interface OffPeakWindow { + /** + * A custom start time for the off-peak window, in Coordinated Universal Time (UTC). The window length will always be 10 hours, so you can't specify an end time. For example, if you specify 11:00 P.M. UTC as a start time, the end time will automatically be set to 9:00 A.M. + */ + WindowStartTime?: WindowStartTime; + } + export interface OffPeakWindowOptions { + /** + * Whether to enable an off-peak window. This option is only available when modifying a domain created prior to February 13, 2023, not when creating a new domain. All domains created after this date have the off-peak window enabled by default. You can't disable the off-peak window after it's enabled for a domain. + */ + Enabled?: Boolean; + /** + * Off-peak window settings for the domain. + */ + OffPeakWindow?: OffPeakWindow; + } + export interface OffPeakWindowOptionsStatus { + /** + * The domain's off-peak window configuration. + */ + Options?: OffPeakWindowOptions; + /** + * The current status of off-peak window options. + */ + Status?: OptionStatus; + } export type OpenSearchPartitionInstanceType = "m3.medium.search"|"m3.large.search"|"m3.xlarge.search"|"m3.2xlarge.search"|"m4.large.search"|"m4.xlarge.search"|"m4.2xlarge.search"|"m4.4xlarge.search"|"m4.10xlarge.search"|"m5.large.search"|"m5.xlarge.search"|"m5.2xlarge.search"|"m5.4xlarge.search"|"m5.12xlarge.search"|"m5.24xlarge.search"|"r5.large.search"|"r5.xlarge.search"|"r5.2xlarge.search"|"r5.4xlarge.search"|"r5.12xlarge.search"|"r5.24xlarge.search"|"c5.large.search"|"c5.xlarge.search"|"c5.2xlarge.search"|"c5.4xlarge.search"|"c5.9xlarge.search"|"c5.18xlarge.search"|"t3.nano.search"|"t3.micro.search"|"t3.small.search"|"t3.medium.search"|"t3.large.search"|"t3.xlarge.search"|"t3.2xlarge.search"|"ultrawarm1.medium.search"|"ultrawarm1.large.search"|"ultrawarm1.xlarge.search"|"t2.micro.search"|"t2.small.search"|"t2.medium.search"|"r3.large.search"|"r3.xlarge.search"|"r3.2xlarge.search"|"r3.4xlarge.search"|"r3.8xlarge.search"|"i2.xlarge.search"|"i2.2xlarge.search"|"d2.xlarge.search"|"d2.2xlarge.search"|"d2.4xlarge.search"|"d2.8xlarge.search"|"c4.large.search"|"c4.xlarge.search"|"c4.2xlarge.search"|"c4.4xlarge.search"|"c4.8xlarge.search"|"r4.large.search"|"r4.xlarge.search"|"r4.2xlarge.search"|"r4.4xlarge.search"|"r4.8xlarge.search"|"r4.16xlarge.search"|"i3.large.search"|"i3.xlarge.search"|"i3.2xlarge.search"|"i3.4xlarge.search"|"i3.8xlarge.search"|"i3.16xlarge.search"|"r6g.large.search"|"r6g.xlarge.search"|"r6g.2xlarge.search"|"r6g.4xlarge.search"|"r6g.8xlarge.search"|"r6g.12xlarge.search"|"m6g.large.search"|"m6g.xlarge.search"|"m6g.2xlarge.search"|"m6g.4xlarge.search"|"m6g.8xlarge.search"|"m6g.12xlarge.search"|"c6g.large.search"|"c6g.xlarge.search"|"c6g.2xlarge.search"|"c6g.4xlarge.search"|"c6g.8xlarge.search"|"c6g.12xlarge.search"|"r6gd.large.search"|"r6gd.xlarge.search"|"r6gd.2xlarge.search"|"r6gd.4xlarge.search"|"r6gd.8xlarge.search"|"r6gd.12xlarge.search"|"r6gd.16xlarge.search"|"t4g.small.search"|"t4g.medium.search"|string; export type OpenSearchWarmPartitionInstanceType = "ultrawarm1.medium.search"|"ultrawarm1.large.search"|"ultrawarm1.xlarge.search"|string; export type OptionState = "RequiresIndexDocuments"|"Processing"|"Active"|string; @@ -2584,6 +2689,46 @@ declare namespace OpenSearch { */ SessionTimeoutMinutes?: IntegerClass; } + export type ScheduleAt = "NOW"|"TIMESTAMP"|"OFF_PEAK_WINDOW"|string; + export interface ScheduledAction { + /** + * The unique identifier of the scheduled action. + */ + Id: String; + /** + * The type of action that will be taken on the domain. + */ + Type: ActionType; + /** + * The severity of the action. + */ + Severity: ActionSeverity; + /** + * The time when the change is scheduled to happen. + */ + ScheduledTime: Long; + /** + * A description of the action to be taken. + */ + Description?: String; + /** + * Whether the action was scheduled manually (CUSTOMER, or by OpenSearch Service automatically (SYSTEM). + */ + ScheduledBy?: ScheduledBy; + /** + * The current status of the scheduled action. + */ + Status?: ActionStatus; + /** + * Whether the action is required or optional. + */ + Mandatory?: Boolean; + /** + * Whether or not the scheduled action is cancellable. + */ + Cancellable?: Boolean; + } + export type ScheduledActionsList = ScheduledAction[]; export type ScheduledAutoTuneActionType = "JVM_HEAP_SIZE_TUNING"|"JVM_YOUNG_GEN_TUNING"|string; export type ScheduledAutoTuneDescription = string; export interface ScheduledAutoTuneDetails { @@ -2605,6 +2750,7 @@ declare namespace OpenSearch { Severity?: ScheduledAutoTuneSeverityType; } export type ScheduledAutoTuneSeverityType = "LOW"|"MEDIUM"|"HIGH"|string; + export type ScheduledBy = "CUSTOMER"|"SYSTEM"|string; export interface ServiceSoftwareOptions { /** * The current service software version present on the domain. @@ -2656,12 +2802,36 @@ declare namespace OpenSearch { */ Status: OptionStatus; } + export interface SoftwareUpdateOptions { + /** + * Whether automatic service software updates are enabled for the domain. + */ + AutoSoftwareUpdateEnabled?: Boolean; + } + export interface SoftwareUpdateOptionsStatus { + /** + * The service software update options for a domain. + */ + Options?: SoftwareUpdateOptions; + /** + * The status of service software update options, including creation date and last updated date. + */ + Status?: OptionStatus; + } export type StartAt = Date; export interface StartServiceSoftwareUpdateRequest { /** * The name of the domain that you want to update to the latest service software. */ DomainName: DomainName; + /** + * When to start the service software update. NOW - Immediately schedules the update to happen in the current hour if there's capacity available. TIMESTAMP - Lets you specify a custom date and time to apply the update. If you specify this value, you must also provide a value for DesiredStartTime. OFF_PEAK_WINDOW - Marks the update to be picked up during an upcoming off-peak window. There's no guarantee that the update will happen during the next immediate window. Depending on capacity, it might happen in subsequent days. Default: NOW if you don't specify a value for DesiredStartTime, and TIMESTAMP if you do. + */ + ScheduleAt?: ScheduleAt; + /** + * The Epoch timestamp when you want the service software update to start. You only need to specify this parameter if you set ScheduleAt to TIMESTAMP. + */ + DesiredStartTime?: Long; } export interface StartServiceSoftwareUpdateResponse { /** @@ -2669,6 +2839,8 @@ declare namespace OpenSearch { */ ServiceSoftwareOptions?: ServiceSoftwareOptions; } + export type StartTimeHours = number; + export type StartTimeMinutes = number; export type StartTimestamp = Date; export type StorageSubTypeName = string; export interface StorageType { @@ -2751,7 +2923,7 @@ declare namespace OpenSearch { */ AccessPolicies?: PolicyDocument; /** - * Options to publish OpenSearch lots to Amazon CloudWatch Logs. + * Options to publish OpenSearch logs to Amazon CloudWatch Logs. */ LogPublishingOptions?: LogPublishingOptions; /** @@ -2763,7 +2935,7 @@ declare namespace OpenSearch { */ DomainEndpointOptions?: DomainEndpointOptions; /** - * Node-To-Node Encryption options for the domain. + * Node-to-node encryption options for the domain. */ NodeToNodeEncryptionOptions?: NodeToNodeEncryptionOptions; /** @@ -2782,6 +2954,14 @@ declare namespace OpenSearch { * The type of dry run to perform. Basic only returns the type of deployment (blue/green or dynamic) that the update will cause. Verbose runs an additional check to validate the changes you're making. For more information, see Validating a domain update. */ DryRunMode?: DryRunMode; + /** + * Off-peak window options for the domain. + */ + OffPeakWindowOptions?: OffPeakWindowOptions; + /** + * Service software update options for the domain. + */ + SoftwareUpdateOptions?: SoftwareUpdateOptions; } export interface UpdateDomainConfigResponse { /** @@ -2821,6 +3001,34 @@ declare namespace OpenSearch { */ PackageDetails?: PackageDetails; } + export interface UpdateScheduledActionRequest { + /** + * The name of the domain to reschedule an action for. + */ + DomainName: DomainName; + /** + * The unique identifier of the action to reschedule. To retrieve this ID, send a ListScheduledActions request. + */ + ActionID: String; + /** + * The type of action to reschedule. Can be one of SERVICE_SOFTWARE_UPDATE, JVM_HEAP_SIZE_TUNING, or JVM_YOUNG_GEN_TUNING. To retrieve this value, send a ListScheduledActions request. + */ + ActionType: ActionType; + /** + * When to schedule the action. NOW - Immediately schedules the update to happen in the current hour if there's capacity available. TIMESTAMP - Lets you specify a custom date and time to apply the update. If you specify this value, you must also provide a value for DesiredStartTime. OFF_PEAK_WINDOW - Marks the action to be picked up during an upcoming off-peak window. There's no guarantee that the change will be implemented during the next immediate window. Depending on capacity, it might happen in subsequent days. + */ + ScheduleAt: ScheduleAt; + /** + * The time to implement the change, in Coordinated Universal Time (UTC). Only specify this parameter if you set ScheduleAt to TIMESTAMP. + */ + DesiredStartTime?: Long; + } + export interface UpdateScheduledActionResponse { + /** + * Information about the rescheduled action. + */ + ScheduledAction?: ScheduledAction; + } export type UpdateTimestamp = Date; export interface UpdateVpcEndpointRequest { /** @@ -3053,6 +3261,16 @@ declare namespace OpenSearch { } export type VpcEndpointSummaryList = VpcEndpointSummary[]; export type VpcEndpoints = VpcEndpoint[]; + export interface WindowStartTime { + /** + * The start hour of the window in Coordinated Universal Time (UTC), using 24-hour time. For example, 17 refers to 5:00 P.M. UTC. + */ + Hours: StartTimeHours; + /** + * The start minute of the window, in UTC. + */ + Minutes: StartTimeMinutes; + } export interface ZoneAwarenessConfig { /** * If you enabled multiple Availability Zones, this value is the number of zones that you want the domain to use. Valid values are 2 and 3. If your domain is provisioned within a VPC, this value be equal to number of subnets. diff --git a/clients/rum.d.ts b/clients/rum.d.ts index 1d9c3b0afb..609844e000 100644 --- a/clients/rum.d.ts +++ b/clients/rum.d.ts @@ -12,11 +12,11 @@ declare class RUM extends Service { constructor(options?: RUM.Types.ClientConfiguration) config: Config & RUM.Types.ClientConfiguration; /** - * Specifies the extended metrics that you want a CloudWatch RUM app monitor to send to a destination. Valid destinations include CloudWatch and Evidently. By default, RUM app monitors send some metrics to CloudWatch. These default metrics are listed in CloudWatch metrics that you can collect with CloudWatch RUM. If you also send extended metrics, you can send metrics to Evidently as well as CloudWatch, and you can also optionally send the metrics with additional dimensions. The valid dimension names for the additional dimensions are BrowserName, CountryCode, DeviceType, FileType, OSName, and PageId. For more information, see Extended metrics that you can send to CloudWatch and CloudWatch Evidently. The maximum number of metric definitions that you can specify in one BatchCreateRumMetricDefinitions operation is 200. The maximum number of metric definitions that one destination can contain is 2000. Extended metrics sent are charged as CloudWatch custom metrics. Each combination of additional dimension name and dimension value counts as a custom metric. For more information, see Amazon CloudWatch Pricing. You must have already created a destination for the metrics before you send them. For more information, see PutRumMetricsDestination. If some metric definitions specified in a BatchCreateRumMetricDefinitions operations are not valid, those metric definitions fail and return errors, but all valid metric definitions in the same operation still succeed. + * Specifies the extended metrics and custom metrics that you want a CloudWatch RUM app monitor to send to a destination. Valid destinations include CloudWatch and Evidently. By default, RUM app monitors send some metrics to CloudWatch. These default metrics are listed in CloudWatch metrics that you can collect with CloudWatch RUM. In addition to these default metrics, you can choose to send extended metrics or custom metrics or both. Extended metrics enable you to send metrics with additional dimensions not included in the default metrics. You can also send extended metrics to Evidently as well as CloudWatch. The valid dimension names for the additional dimensions for extended metrics are BrowserName, CountryCode, DeviceType, FileType, OSName, and PageId. For more information, see Extended metrics that you can send to CloudWatch and CloudWatch Evidently. Custom metrics are metrics that you define. You can send custom metrics to CloudWatch or to CloudWatch Evidently or to both. With custom metrics, you can use any metric name and namespace, and to derive the metrics you can use any custom events, built-in events, custom attributes, or default attributes. You can't send custom metrics to the AWS/RUM namespace. You must send custom metrics to a custom namespace that you define. The namespace that you use can't start with AWS/. CloudWatch RUM prepends RUM/CustomMetrics/ to the custom namespace that you define, so the final namespace for your metrics in CloudWatch is RUM/CustomMetrics/your-custom-namespace . The maximum number of metric definitions that you can specify in one BatchCreateRumMetricDefinitions operation is 200. The maximum number of metric definitions that one destination can contain is 2000. Extended metrics sent to CloudWatch and RUM custom metrics are charged as CloudWatch custom metrics. Each combination of additional dimension name and dimension value counts as a custom metric. For more information, see Amazon CloudWatch Pricing. You must have already created a destination for the metrics before you send them. For more information, see PutRumMetricsDestination. If some metric definitions specified in a BatchCreateRumMetricDefinitions operations are not valid, those metric definitions fail and return errors, but all valid metric definitions in the same operation still succeed. */ batchCreateRumMetricDefinitions(params: RUM.Types.BatchCreateRumMetricDefinitionsRequest, callback?: (err: AWSError, data: RUM.Types.BatchCreateRumMetricDefinitionsResponse) => void): Request; /** - * Specifies the extended metrics that you want a CloudWatch RUM app monitor to send to a destination. Valid destinations include CloudWatch and Evidently. By default, RUM app monitors send some metrics to CloudWatch. These default metrics are listed in CloudWatch metrics that you can collect with CloudWatch RUM. If you also send extended metrics, you can send metrics to Evidently as well as CloudWatch, and you can also optionally send the metrics with additional dimensions. The valid dimension names for the additional dimensions are BrowserName, CountryCode, DeviceType, FileType, OSName, and PageId. For more information, see Extended metrics that you can send to CloudWatch and CloudWatch Evidently. The maximum number of metric definitions that you can specify in one BatchCreateRumMetricDefinitions operation is 200. The maximum number of metric definitions that one destination can contain is 2000. Extended metrics sent are charged as CloudWatch custom metrics. Each combination of additional dimension name and dimension value counts as a custom metric. For more information, see Amazon CloudWatch Pricing. You must have already created a destination for the metrics before you send them. For more information, see PutRumMetricsDestination. If some metric definitions specified in a BatchCreateRumMetricDefinitions operations are not valid, those metric definitions fail and return errors, but all valid metric definitions in the same operation still succeed. + * Specifies the extended metrics and custom metrics that you want a CloudWatch RUM app monitor to send to a destination. Valid destinations include CloudWatch and Evidently. By default, RUM app monitors send some metrics to CloudWatch. These default metrics are listed in CloudWatch metrics that you can collect with CloudWatch RUM. In addition to these default metrics, you can choose to send extended metrics or custom metrics or both. Extended metrics enable you to send metrics with additional dimensions not included in the default metrics. You can also send extended metrics to Evidently as well as CloudWatch. The valid dimension names for the additional dimensions for extended metrics are BrowserName, CountryCode, DeviceType, FileType, OSName, and PageId. For more information, see Extended metrics that you can send to CloudWatch and CloudWatch Evidently. Custom metrics are metrics that you define. You can send custom metrics to CloudWatch or to CloudWatch Evidently or to both. With custom metrics, you can use any metric name and namespace, and to derive the metrics you can use any custom events, built-in events, custom attributes, or default attributes. You can't send custom metrics to the AWS/RUM namespace. You must send custom metrics to a custom namespace that you define. The namespace that you use can't start with AWS/. CloudWatch RUM prepends RUM/CustomMetrics/ to the custom namespace that you define, so the final namespace for your metrics in CloudWatch is RUM/CustomMetrics/your-custom-namespace . The maximum number of metric definitions that you can specify in one BatchCreateRumMetricDefinitions operation is 200. The maximum number of metric definitions that one destination can contain is 2000. Extended metrics sent to CloudWatch and RUM custom metrics are charged as CloudWatch custom metrics. Each combination of additional dimension name and dimension value counts as a custom metric. For more information, see Amazon CloudWatch Pricing. You must have already created a destination for the metrics before you send them. For more information, see PutRumMetricsDestination. If some metric definitions specified in a BatchCreateRumMetricDefinitions operations are not valid, those metric definitions fail and return errors, but all valid metric definitions in the same operation still succeed. */ batchCreateRumMetricDefinitions(callback?: (err: AWSError, data: RUM.Types.BatchCreateRumMetricDefinitionsResponse) => void): Request; /** @@ -108,11 +108,11 @@ declare class RUM extends Service { */ putRumEvents(callback?: (err: AWSError, data: RUM.Types.PutRumEventsResponse) => void): Request; /** - * Creates or updates a destination to receive extended metrics from CloudWatch RUM. You can send extended metrics to CloudWatch or to a CloudWatch Evidently experiment. For more information about extended metrics, see AddRumMetrics. + * Creates or updates a destination to receive extended metrics from CloudWatch RUM. You can send extended metrics to CloudWatch or to a CloudWatch Evidently experiment. For more information about extended metrics, see BatchCreateRumMetricDefinitions. */ putRumMetricsDestination(params: RUM.Types.PutRumMetricsDestinationRequest, callback?: (err: AWSError, data: RUM.Types.PutRumMetricsDestinationResponse) => void): Request; /** - * Creates or updates a destination to receive extended metrics from CloudWatch RUM. You can send extended metrics to CloudWatch or to a CloudWatch Evidently experiment. For more information about extended metrics, see AddRumMetrics. + * Creates or updates a destination to receive extended metrics from CloudWatch RUM. You can send extended metrics to CloudWatch or to a CloudWatch Evidently experiment. For more information about extended metrics, see BatchCreateRumMetricDefinitions. */ putRumMetricsDestination(callback?: (err: AWSError, data: RUM.Types.PutRumMetricsDestinationResponse) => void): Request; /** @@ -603,6 +603,10 @@ declare namespace RUM { * The name of the metric that is defined in this structure. */ Name: MetricName; + /** + * If this metric definition is for a custom metric instead of an extended metric, this field displays the metric namespace that the custom metric is published to. + */ + Namespace?: Namespace; /** * Use this field only if you are sending this metric to CloudWatch. It defines the CloudWatch metric unit that this metric is measured in. */ @@ -616,7 +620,7 @@ declare namespace RUM { export type MetricDefinitionIds = MetricDefinitionId[]; export interface MetricDefinitionRequest { /** - * Use this field only if you are sending the metric to CloudWatch. This field is a map of field paths to dimension names. It defines the dimensions to associate with this metric in CloudWatch. Valid values for the entries in this field are the following: "metadata.pageId": "PageId" "metadata.browserName": "BrowserName" "metadata.deviceType": "DeviceType" "metadata.osName": "OSName" "metadata.countryCode": "CountryCode" "event_details.fileType": "FileType" All dimensions listed in this field must also be included in EventPattern. + * Use this field only if you are sending the metric to CloudWatch. This field is a map of field paths to dimension names. It defines the dimensions to associate with this metric in CloudWatch. For extended metrics, valid values for the entries in this field are the following: "metadata.pageId": "PageId" "metadata.browserName": "BrowserName" "metadata.deviceType": "DeviceType" "metadata.osName": "OSName" "metadata.countryCode": "CountryCode" "event_details.fileType": "FileType" For both extended metrics and custom metrics, all dimensions listed in this field must also be included in EventPattern. */ DimensionKeys?: DimensionKeysMap; /** @@ -624,9 +628,13 @@ declare namespace RUM { */ EventPattern?: EventPattern; /** - * The name for the metric that is defined in this structure. Valid values are the following: PerformanceNavigationDuration PerformanceResourceDuration NavigationSatisfiedTransaction NavigationToleratedTransaction NavigationFrustratedTransaction WebVitalsCumulativeLayoutShift WebVitalsFirstInputDelay WebVitalsLargestContentfulPaint JsErrorCount HttpErrorCount SessionCount + * The name for the metric that is defined in this structure. For custom metrics, you can specify any name that you like. For extended metrics, valid values are the following: PerformanceNavigationDuration PerformanceResourceDuration NavigationSatisfiedTransaction NavigationToleratedTransaction NavigationFrustratedTransaction WebVitalsCumulativeLayoutShift WebVitalsFirstInputDelay WebVitalsLargestContentfulPaint JsErrorCount HttpErrorCount SessionCount */ Name: MetricName; + /** + * If this structure is for a custom metric instead of an extended metrics, use this parameter to define the metric namespace for that custom metric. Do not specify this parameter if this structure is for an extended metric. You cannot use any string that starts with AWS/ for your namespace. + */ + Namespace?: Namespace; /** * The CloudWatch metric unit to use for this metric. If you omit this field, the metric is recorded with no unit. */ @@ -655,6 +663,7 @@ declare namespace RUM { } export type MetricDestinationSummaryList = MetricDestinationSummary[]; export type MetricName = string; + export type Namespace = string; export type Pages = Url[]; export interface PutRumEventsRequest { /** @@ -664,11 +673,11 @@ declare namespace RUM { /** * A unique identifier for this batch of RUM event data. */ - BatchId: String; + BatchId: PutRumEventsRequestBatchIdString; /** * The ID of the app monitor that is sending this data. */ - Id: AppMonitorId; + Id: PutRumEventsRequestIdString; /** * An array of structures that contain the telemetry event data. */ @@ -678,6 +687,8 @@ declare namespace RUM { */ UserDetails: UserDetails; } + export type PutRumEventsRequestBatchIdString = string; + export type PutRumEventsRequestIdString = string; export interface PutRumEventsResponse { } export interface PutRumMetricsDestinationRequest { @@ -723,7 +734,7 @@ declare namespace RUM { /** * A unique ID for this event. */ - id: String; + id: RumEventIdString; /** * Metadata about this event, which contains a JSON serialization of the identity of the user for this session. The user information comes from information such as the HTTP user-agent request header and document interface. */ @@ -737,6 +748,7 @@ declare namespace RUM { */ type: String; } + export type RumEventIdString = string; export type RumEventList = RumEvent[]; export type SessionSampleRate = number; export type StateEnum = "CREATED"|"DELETING"|"ACTIVE"|string; @@ -837,12 +849,14 @@ declare namespace RUM { /** * The session ID that the performance events are from. */ - sessionId?: String; + sessionId?: UserDetailsSessionIdString; /** * The ID of the user for this user session. This ID is generated by RUM and does not include any personally identifiable information about the user. */ - userId?: String; + userId?: UserDetailsUserIdString; } + export type UserDetailsSessionIdString = string; + export type UserDetailsUserIdString = string; export type ValueKey = string; /** * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. diff --git a/clients/ssm.d.ts b/clients/ssm.d.ts index e97456b597..a7f877517d 100644 --- a/clients/ssm.d.ts +++ b/clients/ssm.d.ts @@ -837,11 +837,11 @@ declare class SSM extends Service { */ listTagsForResource(callback?: (err: AWSError, data: SSM.Types.ListTagsForResourceResult) => void): Request; /** - * Shares a Amazon Web Services Systems Manager document (SSM document)publicly or privately. If you share a document privately, you must specify the Amazon Web Services user account IDs for those people who can use the document. If you share a document publicly, you must specify All as the account ID. + * Shares a Amazon Web Services Systems Manager document (SSM document)publicly or privately. If you share a document privately, you must specify the Amazon Web Services user IDs for those people who can use the document. If you share a document publicly, you must specify All as the account ID. */ modifyDocumentPermission(params: SSM.Types.ModifyDocumentPermissionRequest, callback?: (err: AWSError, data: SSM.Types.ModifyDocumentPermissionResponse) => void): Request; /** - * Shares a Amazon Web Services Systems Manager document (SSM document)publicly or privately. If you share a document privately, you must specify the Amazon Web Services user account IDs for those people who can use the document. If you share a document publicly, you must specify All as the account ID. + * Shares a Amazon Web Services Systems Manager document (SSM document)publicly or privately. If you share a document privately, you must specify the Amazon Web Services user IDs for those people who can use the document. If you share a document publicly, you must specify All as the account ID. */ modifyDocumentPermission(callback?: (err: AWSError, data: SSM.Types.ModifyDocumentPermissionResponse) => void): Request; /** @@ -1005,11 +1005,11 @@ declare class SSM extends Service { */ unlabelParameterVersion(callback?: (err: AWSError, data: SSM.Types.UnlabelParameterVersionResult) => void): Request; /** - * Updates an association. You can update the association name and version, the document version, schedule, parameters, and Amazon Simple Storage Service (Amazon S3) output. When you call UpdateAssociation, the system removes all optional parameters from the request and overwrites the association with null values for those parameters. This is by design. You must specify all optional parameters in the call, even if you are not changing the parameters. This includes the Name parameter. Before calling this API action, we recommend that you call the DescribeAssociation API operation and make a note of all optional parameters required for your UpdateAssociation call. In order to call this API operation, your Identity and Access Management (IAM) user account, group, or role must be configured with permission to call the DescribeAssociation API operation. If you don't have permission to call DescribeAssociation, then you receive the following error: An error occurred (AccessDeniedException) when calling the UpdateAssociation operation: User: <user_arn> isn't authorized to perform: ssm:DescribeAssociation on resource: <resource_arn> When you update an association, the association immediately runs against the specified targets. You can add the ApplyOnlyAtCronInterval parameter to run the association during the next schedule run. + * Updates an association. You can update the association name and version, the document version, schedule, parameters, and Amazon Simple Storage Service (Amazon S3) output. When you call UpdateAssociation, the system removes all optional parameters from the request and overwrites the association with null values for those parameters. This is by design. You must specify all optional parameters in the call, even if you are not changing the parameters. This includes the Name parameter. Before calling this API action, we recommend that you call the DescribeAssociation API operation and make a note of all optional parameters required for your UpdateAssociation call. In order to call this API operation, a user, group, or role must be granted permission to call the DescribeAssociation API operation. If you don't have permission to call DescribeAssociation, then you receive the following error: An error occurred (AccessDeniedException) when calling the UpdateAssociation operation: User: <user_arn> isn't authorized to perform: ssm:DescribeAssociation on resource: <resource_arn> When you update an association, the association immediately runs against the specified targets. You can add the ApplyOnlyAtCronInterval parameter to run the association during the next schedule run. */ updateAssociation(params: SSM.Types.UpdateAssociationRequest, callback?: (err: AWSError, data: SSM.Types.UpdateAssociationResult) => void): Request; /** - * Updates an association. You can update the association name and version, the document version, schedule, parameters, and Amazon Simple Storage Service (Amazon S3) output. When you call UpdateAssociation, the system removes all optional parameters from the request and overwrites the association with null values for those parameters. This is by design. You must specify all optional parameters in the call, even if you are not changing the parameters. This includes the Name parameter. Before calling this API action, we recommend that you call the DescribeAssociation API operation and make a note of all optional parameters required for your UpdateAssociation call. In order to call this API operation, your Identity and Access Management (IAM) user account, group, or role must be configured with permission to call the DescribeAssociation API operation. If you don't have permission to call DescribeAssociation, then you receive the following error: An error occurred (AccessDeniedException) when calling the UpdateAssociation operation: User: <user_arn> isn't authorized to perform: ssm:DescribeAssociation on resource: <resource_arn> When you update an association, the association immediately runs against the specified targets. You can add the ApplyOnlyAtCronInterval parameter to run the association during the next schedule run. + * Updates an association. You can update the association name and version, the document version, schedule, parameters, and Amazon Simple Storage Service (Amazon S3) output. When you call UpdateAssociation, the system removes all optional parameters from the request and overwrites the association with null values for those parameters. This is by design. You must specify all optional parameters in the call, even if you are not changing the parameters. This includes the Name parameter. Before calling this API action, we recommend that you call the DescribeAssociation API operation and make a note of all optional parameters required for your UpdateAssociation call. In order to call this API operation, a user, group, or role must be granted permission to call the DescribeAssociation API operation. If you don't have permission to call DescribeAssociation, then you receive the following error: An error occurred (AccessDeniedException) when calling the UpdateAssociation operation: User: <user_arn> isn't authorized to perform: ssm:DescribeAssociation on resource: <resource_arn> When you update an association, the association immediately runs against the specified targets. You can add the ApplyOnlyAtCronInterval parameter to run the association during the next schedule run. */ updateAssociation(callback?: (err: AWSError, data: SSM.Types.UpdateAssociationResult) => void): Request; /** @@ -1213,7 +1213,7 @@ declare namespace SSM { } export interface AlarmConfiguration { /** - * If you specify true for this value, your automation or command continue to run even if we can't gather information about the state of your CloudWatch alarm. The default value is false. + * When this value is true, your automation or command continues to run in cases where we can’t retrieve alarm status information from CloudWatch. In cases where we successfully retrieve an alarm status of OK or INSUFFICIENT_DATA, the automation or command continues to run, regardless of this value. Default is false. */ IgnorePollAlarmFailure?: Boolean; /** @@ -2606,7 +2606,7 @@ declare namespace SSM { } export interface CreateAssociationRequest { /** - * The name of the SSM Command document or Automation runbook that contains the configuration information for the managed node. You can specify Amazon Web Services-predefined documents, documents you created, or a document that is shared with you from another account. For Systems Manager documents (SSM documents) that are shared with you from other Amazon Web Services accounts, you must specify the complete SSM document ARN, in the following format: arn:partition:ssm:region:account-id:document/document-name For example: arn:aws:ssm:us-east-2:12345678912:document/My-Shared-Document For Amazon Web Services-predefined documents and SSM documents you created in your account, you only need to specify the document name. For example, AWS-ApplyPatchBaseline or My-Document. + * The name of the SSM Command document or Automation runbook that contains the configuration information for the managed node. You can specify Amazon Web Services-predefined documents, documents you created, or a document that is shared with you from another Amazon Web Services account. For Systems Manager documents (SSM documents) that are shared with you from other Amazon Web Services accounts, you must specify the complete SSM document ARN, in the following format: arn:partition:ssm:region:account-id:document/document-name For example: arn:aws:ssm:us-east-2:12345678912:document/My-Shared-Document For Amazon Web Services-predefined documents and SSM documents you created in your account, you only need to specify the document name. For example, AWS-ApplyPatchBaseline or My-Document. */ Name: DocumentARN; /** @@ -2691,7 +2691,7 @@ declare namespace SSM { } export interface CreateDocumentRequest { /** - * The content for the new SSM document in JSON or YAML format. We recommend storing the contents for your new document in an external JSON or YAML file and referencing the file in a command. For examples, see the following topics in the Amazon Web Services Systems Manager User Guide. Create an SSM document (Amazon Web Services API) Create an SSM document (Amazon Web Services CLI) Create an SSM document (API) + * The content for the new SSM document in JSON or YAML format. The content of the document must not exceed 64KB. This quota also includes the content specified for input parameters at runtime. We recommend storing the contents for your new document in an external JSON or YAML file and referencing the file in a command. For examples, see the following topics in the Amazon Web Services Systems Manager User Guide. Create an SSM document (Amazon Web Services API) Create an SSM document (Amazon Web Services CLI) Create an SSM document (API) */ Content: DocumentContent; /** @@ -4166,7 +4166,7 @@ declare namespace SSM { */ VersionName?: DocumentVersionName; /** - * The Amazon Web Services user account that created the document. + * The Amazon Web Services user that created the document. */ Owner?: DocumentOwner; /** @@ -4293,7 +4293,7 @@ declare namespace SSM { */ DisplayName?: DocumentDisplayName; /** - * The Amazon Web Services user account that created the document. + * The Amazon Web Services user that created the document. */ Owner?: DocumentOwner; /** @@ -5503,7 +5503,7 @@ declare namespace SSM { } export interface GetServiceSettingRequest { /** - * The ID of the service setting to get. The setting ID can be one of the following. /ssm/automation/customer-script-log-destination /ssm/automation/customer-script-log-group-name /ssm/documents/console/public-sharing-permission /ssm/managed-instance/activation-tier /ssm/opsinsights/opscenter /ssm/parameter-store/default-parameter-tier /ssm/parameter-store/high-throughput-enabled + * The ID of the service setting to get. The setting ID can be one of the following. /ssm/managed-instance/default-ec2-instance-management-role /ssm/automation/customer-script-log-destination /ssm/automation/customer-script-log-group-name /ssm/documents/console/public-sharing-permission /ssm/managed-instance/activation-tier /ssm/opsinsights/opscenter /ssm/parameter-store/default-parameter-tier /ssm/parameter-store/high-throughput-enabled */ SettingId: ServiceSettingId; } @@ -7018,11 +7018,11 @@ declare namespace SSM { */ PermissionType: DocumentPermissionType; /** - * The Amazon Web Services user accounts that should have access to the document. The account IDs can either be a group of account IDs or All. + * The Amazon Web Services users that should have access to the document. The account IDs can either be a group of account IDs or All. */ AccountIdsToAdd?: AccountIdList; /** - * The Amazon Web Services user accounts that should no longer have access to the document. The Amazon Web Services user account can either be a group of account IDs or All. This action has a higher priority than AccountIdsToAdd. If you specify an account ID to add and the same ID to remove, the system removes access to the document. + * The Amazon Web Services users that should no longer have access to the document. The Amazon Web Services user can either be a group of account IDs or All. This action has a higher priority than AccountIdsToAdd. If you specify an ID to add and the same ID to remove, the system removes access to the document. */ AccountIdsToRemove?: AccountIdList; /** @@ -8139,7 +8139,7 @@ declare namespace SSM { */ Type?: ParameterType; /** - * The Key Management Service (KMS) ID that you want to use to encrypt a parameter. Either the default KMS key automatically assigned to your Amazon Web Services account or a custom key. Required for parameters that use the SecureString data type. If you don't specify a key ID, the system uses the default key associated with your Amazon Web Services account. To use your default KMS key, choose the SecureString data type, and do not specify the Key ID when you create the parameter. The system automatically populates Key ID with your default KMS key. To use a custom KMS key, choose the SecureString data type with the Key ID parameter. + * The Key Management Service (KMS) ID that you want to use to encrypt a parameter. Use a custom key for better security. Required for parameters that use the SecureString data type. If you don't specify a key ID, the system uses the default key associated with your Amazon Web Services account which is not as secure as using a custom key. To use a custom KMS key, choose the SecureString data type with the Key ID parameter. */ KeyId?: ParameterKeyId; /** @@ -8163,7 +8163,7 @@ declare namespace SSM { */ Policies?: ParameterPolicies; /** - * The data type for a String parameter. Supported data types include plain text and Amazon Machine Image (AMI) IDs. The following data type values are supported. text aws:ec2:image aws:ssm:integration When you create a String parameter and specify aws:ec2:image, Amazon Web Services Systems Manager validates the parameter value is in the required format, such as ami-12345abcdeEXAMPLE, and that the specified AMI is available in your Amazon Web Services account. For more information, see Native parameter support for Amazon Machine Image (AMI) IDs in the Amazon Web Services Systems Manager User Guide. + * The data type for a String parameter. Supported data types include plain text and Amazon Machine Image (AMI) IDs. The following data type values are supported. text aws:ec2:image aws:ssm:integration When you create a String parameter and specify aws:ec2:image, Amazon Web Services Systems Manager validates the parameter value is in the required format, such as ami-12345abcdeEXAMPLE, and that the specified AMI is available in your Amazon Web Services account. If the action is successful, the service sends back an HTTP 200 response which indicates a successful PutParameter call for all cases except for data type aws:ec2:image. If you call PutParameter with aws:ec2:image data type, a successful HTTP 200 response does not guarantee that your parameter was successfully created or updated. The aws:ec2:image value is validated asynchronously, and the PutParameter call returns before the validation is complete. If you submit an invalid AMI value, the PutParameter operation will return success, but the asynchronous validation will fail and the parameter will not be created or updated. To monitor whether your aws:ec2:image parameters are created successfully, see Setting up notifications or trigger actions based on Parameter Store events. For more information about AMI format validation , see Native parameter support for Amazon Machine Image (AMI) IDs. */ DataType?: ParameterDataType; } @@ -8885,7 +8885,7 @@ declare namespace SSM { */ DocumentName?: DocumentName; /** - * The ID of the Amazon Web Services user account that started the session. + * The ID of the Amazon Web Services user that started the session. */ Owner?: SessionOwner; /** @@ -8912,7 +8912,7 @@ declare namespace SSM { */ key: SessionFilterKey; /** - * The filter value. Valid values for each filter key are as follows: InvokedAfter: Specify a timestamp to limit your results. For example, specify 2018-08-29T00:00:00Z to see sessions that started August 29, 2018, and later. InvokedBefore: Specify a timestamp to limit your results. For example, specify 2018-08-29T00:00:00Z to see sessions that started before August 29, 2018. Target: Specify a managed node to which session connections have been made. Owner: Specify an Amazon Web Services user account to see a list of sessions started by that user. Status: Specify a valid session status to see a list of all sessions with that status. Status values you can specify include: Connected Connecting Disconnected Terminated Terminating Failed SessionId: Specify a session ID to return details about the session. + * The filter value. Valid values for each filter key are as follows: InvokedAfter: Specify a timestamp to limit your results. For example, specify 2018-08-29T00:00:00Z to see sessions that started August 29, 2018, and later. InvokedBefore: Specify a timestamp to limit your results. For example, specify 2018-08-29T00:00:00Z to see sessions that started before August 29, 2018. Target: Specify a managed node to which session connections have been made. Owner: Specify an Amazon Web Services user to see a list of sessions started by that user. Status: Specify a valid session status to see a list of all sessions with that status. Status values you can specify include: Connected Connecting Disconnected Terminated Terminating Failed SessionId: Specify a session ID to return details about the session. */ value: SessionFilterValue; } @@ -10049,7 +10049,7 @@ declare namespace SSM { } export interface UpdateServiceSettingRequest { /** - * The Amazon Resource Name (ARN) of the service setting to reset. For example, arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled. The setting ID can be one of the following. /ssm/automation/customer-script-log-destination /ssm/automation/customer-script-log-group-name /ssm/documents/console/public-sharing-permission /ssm/managed-instance/activation-tier /ssm/opsinsights/opscenter /ssm/parameter-store/default-parameter-tier /ssm/parameter-store/high-throughput-enabled + * The Amazon Resource Name (ARN) of the service setting to reset. For example, arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled. The setting ID can be one of the following. /ssm/managed-instance/default-ec2-instance-management-role /ssm/automation/customer-script-log-destination /ssm/automation/customer-script-log-group-name /ssm/documents/console/public-sharing-permission /ssm/managed-instance/activation-tier /ssm/opsinsights/opscenter /ssm/parameter-store/default-parameter-tier /ssm/parameter-store/high-throughput-enabled */ SettingId: ServiceSettingId; /** diff --git a/dist/aws-sdk-core-react-native.js b/dist/aws-sdk-core-react-native.js index 174b2b7785..373b18dffe 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.1320.0', + VERSION: '2.1321.0', /** * @api private @@ -14499,7 +14499,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {var warning = [ - 'The AWS SDK for JavaScript (v2) will be put into maintenance mode in 2023.\n', + 'We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.\n', 'Please migrate your code to use AWS SDK for JavaScript (v3).', 'For more information, check the migration guide at https://a.co/7PzMCcy' ].join('\n'); diff --git a/dist/aws-sdk-react-native.js b/dist/aws-sdk-react-native.js index 49f4a02fb2..ee694ccfa7 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.1320.0', + VERSION: '2.1321.0', /** * @api private @@ -14811,7 +14811,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {var warning = [ - 'The AWS SDK for JavaScript (v2) will be put into maintenance mode in 2023.\n', + 'We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.\n', 'Please migrate your code to use AWS SDK for JavaScript (v3).', 'For more information, check the migration guide at https://a.co/7PzMCcy' ].join('\n'); @@ -59567,13 +59567,13 @@ return /******/ (function(modules) { // webpackBootstrap /* 1084 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2021-01-01","endpointPrefix":"es","protocol":"rest-json","serviceFullName":"Amazon OpenSearch Service","serviceId":"OpenSearch","signatureVersion":"v4","uid":"opensearch-2021-01-01"},"operations":{"AcceptInboundConnection":{"http":{"method":"PUT","requestUri":"/2021-01-01/opensearch/cc/inboundConnection/{ConnectionId}/accept"},"input":{"type":"structure","required":["ConnectionId"],"members":{"ConnectionId":{"location":"uri","locationName":"ConnectionId"}}},"output":{"type":"structure","members":{"Connection":{"shape":"S4"}}}},"AddTags":{"http":{"requestUri":"/2021-01-01/tags"},"input":{"type":"structure","required":["ARN","TagList"],"members":{"ARN":{},"TagList":{"shape":"Sg"}}}},"AssociatePackage":{"http":{"requestUri":"/2021-01-01/packages/associate/{PackageID}/{DomainName}"},"input":{"type":"structure","required":["PackageID","DomainName"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"},"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","members":{"DomainPackageDetails":{"shape":"Sn"}}}},"AuthorizeVpcEndpointAccess":{"http":{"requestUri":"/2021-01-01/opensearch/domain/{DomainName}/authorizeVpcEndpointAccess"},"input":{"type":"structure","required":["DomainName","Account"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"Account":{}}},"output":{"type":"structure","required":["AuthorizedPrincipal"],"members":{"AuthorizedPrincipal":{"shape":"S10"}}}},"CancelServiceSoftwareUpdate":{"http":{"requestUri":"/2021-01-01/opensearch/serviceSoftwareUpdate/cancel"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{}}},"output":{"type":"structure","members":{"ServiceSoftwareOptions":{"shape":"S15"}}}},"CreateDomain":{"http":{"requestUri":"/2021-01-01/opensearch/domain"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{},"EngineVersion":{},"ClusterConfig":{"shape":"S1b"},"EBSOptions":{"shape":"S1h"},"AccessPolicies":{},"SnapshotOptions":{"shape":"S1k"},"VPCOptions":{"shape":"S1l"},"CognitoOptions":{"shape":"S1n"},"EncryptionAtRestOptions":{"shape":"S1r"},"NodeToNodeEncryptionOptions":{"shape":"S1t"},"AdvancedOptions":{"shape":"S1u"},"LogPublishingOptions":{"shape":"S1v"},"DomainEndpointOptions":{"shape":"S1z"},"AdvancedSecurityOptions":{"shape":"S22"},"TagList":{"shape":"Sg"},"AutoTuneOptions":{"type":"structure","members":{"DesiredState":{},"MaintenanceSchedules":{"shape":"S2d"}}}}},"output":{"type":"structure","members":{"DomainStatus":{"shape":"S2k"}}}},"CreateOutboundConnection":{"http":{"requestUri":"/2021-01-01/opensearch/cc/outboundConnection"},"input":{"type":"structure","required":["LocalDomainInfo","RemoteDomainInfo","ConnectionAlias"],"members":{"LocalDomainInfo":{"shape":"S5"},"RemoteDomainInfo":{"shape":"S5"},"ConnectionAlias":{},"ConnectionMode":{}}},"output":{"type":"structure","members":{"LocalDomainInfo":{"shape":"S5"},"RemoteDomainInfo":{"shape":"S5"},"ConnectionAlias":{},"ConnectionStatus":{"shape":"S30"},"ConnectionId":{},"ConnectionMode":{},"ConnectionProperties":{"shape":"S32"}}}},"CreatePackage":{"http":{"requestUri":"/2021-01-01/packages"},"input":{"type":"structure","required":["PackageName","PackageType","PackageSource"],"members":{"PackageName":{},"PackageType":{},"PackageDescription":{},"PackageSource":{"shape":"S36"}}},"output":{"type":"structure","members":{"PackageDetails":{"shape":"S3a"}}}},"CreateVpcEndpoint":{"http":{"requestUri":"/2021-01-01/opensearch/vpcEndpoints"},"input":{"type":"structure","required":["DomainArn","VpcOptions"],"members":{"DomainArn":{},"VpcOptions":{"shape":"S1l"},"ClientToken":{}}},"output":{"type":"structure","required":["VpcEndpoint"],"members":{"VpcEndpoint":{"shape":"S3h"}}}},"DeleteDomain":{"http":{"method":"DELETE","requestUri":"/2021-01-01/opensearch/domain/{DomainName}"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","members":{"DomainStatus":{"shape":"S2k"}}}},"DeleteInboundConnection":{"http":{"method":"DELETE","requestUri":"/2021-01-01/opensearch/cc/inboundConnection/{ConnectionId}"},"input":{"type":"structure","required":["ConnectionId"],"members":{"ConnectionId":{"location":"uri","locationName":"ConnectionId"}}},"output":{"type":"structure","members":{"Connection":{"shape":"S4"}}}},"DeleteOutboundConnection":{"http":{"method":"DELETE","requestUri":"/2021-01-01/opensearch/cc/outboundConnection/{ConnectionId}"},"input":{"type":"structure","required":["ConnectionId"],"members":{"ConnectionId":{"location":"uri","locationName":"ConnectionId"}}},"output":{"type":"structure","members":{"Connection":{"shape":"S3q"}}}},"DeletePackage":{"http":{"method":"DELETE","requestUri":"/2021-01-01/packages/{PackageID}"},"input":{"type":"structure","required":["PackageID"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"}}},"output":{"type":"structure","members":{"PackageDetails":{"shape":"S3a"}}}},"DeleteVpcEndpoint":{"http":{"method":"DELETE","requestUri":"/2021-01-01/opensearch/vpcEndpoints/{VpcEndpointId}"},"input":{"type":"structure","required":["VpcEndpointId"],"members":{"VpcEndpointId":{"location":"uri","locationName":"VpcEndpointId"}}},"output":{"type":"structure","required":["VpcEndpointSummary"],"members":{"VpcEndpointSummary":{"shape":"S3v"}}}},"DescribeDomain":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/domain/{DomainName}"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","required":["DomainStatus"],"members":{"DomainStatus":{"shape":"S2k"}}}},"DescribeDomainAutoTunes":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/domain/{DomainName}/autoTunes"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AutoTunes":{"type":"list","member":{"type":"structure","members":{"AutoTuneType":{},"AutoTuneDetails":{"type":"structure","members":{"ScheduledAutoTuneDetails":{"type":"structure","members":{"Date":{"type":"timestamp"},"ActionType":{},"Action":{},"Severity":{}}}}}}}},"NextToken":{}}}},"DescribeDomainChangeProgress":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/domain/{DomainName}/progress"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"ChangeId":{"location":"querystring","locationName":"changeid"}}},"output":{"type":"structure","members":{"ChangeProgressStatus":{"type":"structure","members":{"ChangeId":{},"StartTime":{"type":"timestamp"},"Status":{},"PendingProperties":{"shape":"S1m"},"CompletedProperties":{"shape":"S1m"},"TotalNumberOfStages":{"type":"integer"},"ChangeProgressStages":{"type":"list","member":{"type":"structure","members":{"Name":{},"Status":{},"Description":{},"LastUpdated":{"type":"timestamp"}}}}}}}}},"DescribeDomainConfig":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/domain/{DomainName}/config"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","required":["DomainConfig"],"members":{"DomainConfig":{"shape":"S4o"}}}},"DescribeDomains":{"http":{"requestUri":"/2021-01-01/opensearch/domain-info"},"input":{"type":"structure","required":["DomainNames"],"members":{"DomainNames":{"type":"list","member":{}}}},"output":{"type":"structure","required":["DomainStatusList"],"members":{"DomainStatusList":{"type":"list","member":{"shape":"S2k"}}}}},"DescribeDryRunProgress":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/domain/{DomainName}/dryRun"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"DryRunId":{"location":"querystring","locationName":"dryRunId"},"LoadDryRunConfig":{"location":"querystring","locationName":"loadDryRunConfig","type":"boolean"}}},"output":{"type":"structure","members":{"DryRunProgressStatus":{"shape":"S5f"},"DryRunConfig":{"shape":"S2k"},"DryRunResults":{"shape":"S5i"}}}},"DescribeInboundConnections":{"http":{"requestUri":"/2021-01-01/opensearch/cc/inboundConnection/search"},"input":{"type":"structure","members":{"Filters":{"shape":"S5l"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Connections":{"type":"list","member":{"shape":"S4"}},"NextToken":{}}}},"DescribeInstanceTypeLimits":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/instanceTypeLimits/{EngineVersion}/{InstanceType}"},"input":{"type":"structure","required":["InstanceType","EngineVersion"],"members":{"DomainName":{"location":"querystring","locationName":"domainName"},"InstanceType":{"location":"uri","locationName":"InstanceType"},"EngineVersion":{"location":"uri","locationName":"EngineVersion"}}},"output":{"type":"structure","members":{"LimitsByRole":{"type":"map","key":{},"value":{"type":"structure","members":{"StorageTypes":{"type":"list","member":{"type":"structure","members":{"StorageTypeName":{},"StorageSubTypeName":{},"StorageTypeLimits":{"type":"list","member":{"type":"structure","members":{"LimitName":{},"LimitValues":{"shape":"S63"}}}}}}},"InstanceLimits":{"type":"structure","members":{"InstanceCountLimits":{"type":"structure","members":{"MinimumInstanceCount":{"type":"integer"},"MaximumInstanceCount":{"type":"integer"}}}}},"AdditionalLimits":{"type":"list","member":{"type":"structure","members":{"LimitName":{},"LimitValues":{"shape":"S63"}}}}}}}}}},"DescribeOutboundConnections":{"http":{"requestUri":"/2021-01-01/opensearch/cc/outboundConnection/search"},"input":{"type":"structure","members":{"Filters":{"shape":"S5l"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Connections":{"type":"list","member":{"shape":"S3q"}},"NextToken":{}}}},"DescribePackages":{"http":{"requestUri":"/2021-01-01/packages/describe"},"input":{"type":"structure","members":{"Filters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Value":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"PackageDetailsList":{"type":"list","member":{"shape":"S3a"}},"NextToken":{}}}},"DescribeReservedInstanceOfferings":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/reservedInstanceOfferings"},"input":{"type":"structure","members":{"ReservedInstanceOfferingId":{"location":"querystring","locationName":"offeringId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"NextToken":{},"ReservedInstanceOfferings":{"type":"list","member":{"type":"structure","members":{"ReservedInstanceOfferingId":{},"InstanceType":{},"Duration":{"type":"integer"},"FixedPrice":{"type":"double"},"UsagePrice":{"type":"double"},"CurrencyCode":{},"PaymentOption":{},"RecurringCharges":{"shape":"S6t"}}}}}}},"DescribeReservedInstances":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/reservedInstances"},"input":{"type":"structure","members":{"ReservedInstanceId":{"location":"querystring","locationName":"reservationId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"NextToken":{},"ReservedInstances":{"type":"list","member":{"type":"structure","members":{"ReservationName":{},"ReservedInstanceId":{},"BillingSubscriptionId":{"type":"long"},"ReservedInstanceOfferingId":{},"InstanceType":{},"StartTime":{"type":"timestamp"},"Duration":{"type":"integer"},"FixedPrice":{"type":"double"},"UsagePrice":{"type":"double"},"CurrencyCode":{},"InstanceCount":{"type":"integer"},"State":{},"PaymentOption":{},"RecurringCharges":{"shape":"S6t"}}}}}}},"DescribeVpcEndpoints":{"http":{"requestUri":"/2021-01-01/opensearch/vpcEndpoints/describe"},"input":{"type":"structure","required":["VpcEndpointIds"],"members":{"VpcEndpointIds":{"type":"list","member":{}}}},"output":{"type":"structure","required":["VpcEndpoints","VpcEndpointErrors"],"members":{"VpcEndpoints":{"type":"list","member":{"shape":"S3h"}},"VpcEndpointErrors":{"type":"list","member":{"type":"structure","members":{"VpcEndpointId":{},"ErrorCode":{},"ErrorMessage":{}}}}}}},"DissociatePackage":{"http":{"requestUri":"/2021-01-01/packages/dissociate/{PackageID}/{DomainName}"},"input":{"type":"structure","required":["PackageID","DomainName"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"},"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","members":{"DomainPackageDetails":{"shape":"Sn"}}}},"GetCompatibleVersions":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/compatibleVersions"},"input":{"type":"structure","members":{"DomainName":{"location":"querystring","locationName":"domainName"}}},"output":{"type":"structure","members":{"CompatibleVersions":{"type":"list","member":{"type":"structure","members":{"SourceVersion":{},"TargetVersions":{"shape":"S7e"}}}}}}},"GetPackageVersionHistory":{"http":{"method":"GET","requestUri":"/2021-01-01/packages/{PackageID}/history"},"input":{"type":"structure","required":["PackageID"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"PackageID":{},"PackageVersionHistoryList":{"type":"list","member":{"type":"structure","members":{"PackageVersion":{},"CommitMessage":{},"CreatedAt":{"type":"timestamp"}}}},"NextToken":{}}}},"GetUpgradeHistory":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/upgradeDomain/{DomainName}/history"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"UpgradeHistories":{"type":"list","member":{"type":"structure","members":{"UpgradeName":{},"StartTimestamp":{"type":"timestamp"},"UpgradeStatus":{},"StepsList":{"type":"list","member":{"type":"structure","members":{"UpgradeStep":{},"UpgradeStepStatus":{},"Issues":{"type":"list","member":{}},"ProgressPercent":{"type":"double"}}}}}}},"NextToken":{}}}},"GetUpgradeStatus":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/upgradeDomain/{DomainName}/status"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","members":{"UpgradeStep":{},"StepStatus":{},"UpgradeName":{}}}},"ListDomainNames":{"http":{"method":"GET","requestUri":"/2021-01-01/domain"},"input":{"type":"structure","members":{"EngineType":{"location":"querystring","locationName":"engineType"}}},"output":{"type":"structure","members":{"DomainNames":{"type":"list","member":{"type":"structure","members":{"DomainName":{},"EngineType":{}}}}}}},"ListDomainsForPackage":{"http":{"method":"GET","requestUri":"/2021-01-01/packages/{PackageID}/domains"},"input":{"type":"structure","required":["PackageID"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"DomainPackageDetailsList":{"shape":"S85"},"NextToken":{}}}},"ListInstanceTypeDetails":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/instanceTypeDetails/{EngineVersion}"},"input":{"type":"structure","required":["EngineVersion"],"members":{"EngineVersion":{"location":"uri","locationName":"EngineVersion"},"DomainName":{"location":"querystring","locationName":"domainName"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"InstanceTypeDetails":{"type":"list","member":{"type":"structure","members":{"InstanceType":{},"EncryptionEnabled":{"type":"boolean"},"CognitoEnabled":{"type":"boolean"},"AppLogsEnabled":{"type":"boolean"},"AdvancedSecurityEnabled":{"type":"boolean"},"WarmEnabled":{"type":"boolean"},"InstanceRole":{"type":"list","member":{}}}}},"NextToken":{}}}},"ListPackagesForDomain":{"http":{"method":"GET","requestUri":"/2021-01-01/domain/{DomainName}/packages"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"DomainPackageDetailsList":{"shape":"S85"},"NextToken":{}}}},"ListTags":{"http":{"method":"GET","requestUri":"/2021-01-01/tags/"},"input":{"type":"structure","required":["ARN"],"members":{"ARN":{"location":"querystring","locationName":"arn"}}},"output":{"type":"structure","members":{"TagList":{"shape":"Sg"}}}},"ListVersions":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/versions"},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"Versions":{"shape":"S7e"},"NextToken":{}}}},"ListVpcEndpointAccess":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/domain/{DomainName}/listVpcEndpointAccess"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["AuthorizedPrincipalList","NextToken"],"members":{"AuthorizedPrincipalList":{"type":"list","member":{"shape":"S10"}},"NextToken":{}}}},"ListVpcEndpoints":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/vpcEndpoints"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["VpcEndpointSummaryList","NextToken"],"members":{"VpcEndpointSummaryList":{"shape":"S8m"},"NextToken":{}}}},"ListVpcEndpointsForDomain":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/domain/{DomainName}/vpcEndpoints"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["VpcEndpointSummaryList","NextToken"],"members":{"VpcEndpointSummaryList":{"shape":"S8m"},"NextToken":{}}}},"PurchaseReservedInstanceOffering":{"http":{"requestUri":"/2021-01-01/opensearch/purchaseReservedInstanceOffering"},"input":{"type":"structure","required":["ReservedInstanceOfferingId","ReservationName"],"members":{"ReservedInstanceOfferingId":{},"ReservationName":{},"InstanceCount":{"type":"integer"}}},"output":{"type":"structure","members":{"ReservedInstanceId":{},"ReservationName":{}}}},"RejectInboundConnection":{"http":{"method":"PUT","requestUri":"/2021-01-01/opensearch/cc/inboundConnection/{ConnectionId}/reject"},"input":{"type":"structure","required":["ConnectionId"],"members":{"ConnectionId":{"location":"uri","locationName":"ConnectionId"}}},"output":{"type":"structure","members":{"Connection":{"shape":"S4"}}}},"RemoveTags":{"http":{"requestUri":"/2021-01-01/tags-removal"},"input":{"type":"structure","required":["ARN","TagKeys"],"members":{"ARN":{},"TagKeys":{"shape":"S1m"}}}},"RevokeVpcEndpointAccess":{"http":{"requestUri":"/2021-01-01/opensearch/domain/{DomainName}/revokeVpcEndpointAccess"},"input":{"type":"structure","required":["DomainName","Account"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"Account":{}}},"output":{"type":"structure","members":{}}},"StartServiceSoftwareUpdate":{"http":{"requestUri":"/2021-01-01/opensearch/serviceSoftwareUpdate/start"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{}}},"output":{"type":"structure","members":{"ServiceSoftwareOptions":{"shape":"S15"}}}},"UpdateDomainConfig":{"http":{"requestUri":"/2021-01-01/opensearch/domain/{DomainName}/config"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"ClusterConfig":{"shape":"S1b"},"EBSOptions":{"shape":"S1h"},"SnapshotOptions":{"shape":"S1k"},"VPCOptions":{"shape":"S1l"},"CognitoOptions":{"shape":"S1n"},"AdvancedOptions":{"shape":"S1u"},"AccessPolicies":{},"LogPublishingOptions":{"shape":"S1v"},"EncryptionAtRestOptions":{"shape":"S1r"},"DomainEndpointOptions":{"shape":"S1z"},"NodeToNodeEncryptionOptions":{"shape":"S1t"},"AdvancedSecurityOptions":{"shape":"S22"},"AutoTuneOptions":{"shape":"S56"},"DryRun":{"type":"boolean"},"DryRunMode":{}}},"output":{"type":"structure","required":["DomainConfig"],"members":{"DomainConfig":{"shape":"S4o"},"DryRunResults":{"shape":"S5i"},"DryRunProgressStatus":{"shape":"S5f"}}}},"UpdatePackage":{"http":{"requestUri":"/2021-01-01/packages/update"},"input":{"type":"structure","required":["PackageID","PackageSource"],"members":{"PackageID":{},"PackageSource":{"shape":"S36"},"PackageDescription":{},"CommitMessage":{}}},"output":{"type":"structure","members":{"PackageDetails":{"shape":"S3a"}}}},"UpdateVpcEndpoint":{"http":{"requestUri":"/2021-01-01/opensearch/vpcEndpoints/update"},"input":{"type":"structure","required":["VpcEndpointId","VpcOptions"],"members":{"VpcEndpointId":{},"VpcOptions":{"shape":"S1l"}}},"output":{"type":"structure","required":["VpcEndpoint"],"members":{"VpcEndpoint":{"shape":"S3h"}}}},"UpgradeDomain":{"http":{"requestUri":"/2021-01-01/opensearch/upgradeDomain"},"input":{"type":"structure","required":["DomainName","TargetVersion"],"members":{"DomainName":{},"TargetVersion":{},"PerformCheckOnly":{"type":"boolean"},"AdvancedOptions":{"shape":"S1u"}}},"output":{"type":"structure","members":{"UpgradeId":{},"DomainName":{},"TargetVersion":{},"PerformCheckOnly":{"type":"boolean"},"AdvancedOptions":{"shape":"S1u"},"ChangeProgressDetails":{"shape":"S2u"}}}}},"shapes":{"S4":{"type":"structure","members":{"LocalDomainInfo":{"shape":"S5"},"RemoteDomainInfo":{"shape":"S5"},"ConnectionId":{},"ConnectionStatus":{"type":"structure","members":{"StatusCode":{},"Message":{}}},"ConnectionMode":{}}},"S5":{"type":"structure","members":{"AWSDomainInformation":{"type":"structure","required":["DomainName"],"members":{"OwnerId":{},"DomainName":{},"Region":{}}}}},"Sg":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"Sn":{"type":"structure","members":{"PackageID":{},"PackageName":{},"PackageType":{},"LastUpdated":{"type":"timestamp"},"DomainName":{},"DomainPackageStatus":{},"PackageVersion":{},"ReferencePath":{},"ErrorDetails":{"shape":"Su"}}},"Su":{"type":"structure","members":{"ErrorType":{},"ErrorMessage":{}}},"S10":{"type":"structure","members":{"PrincipalType":{},"Principal":{}}},"S15":{"type":"structure","members":{"CurrentVersion":{},"NewVersion":{},"UpdateAvailable":{"type":"boolean"},"Cancellable":{"type":"boolean"},"UpdateStatus":{},"Description":{},"AutomatedUpdateDate":{"type":"timestamp"},"OptionalDeployment":{"type":"boolean"}}},"S1b":{"type":"structure","members":{"InstanceType":{},"InstanceCount":{"type":"integer"},"DedicatedMasterEnabled":{"type":"boolean"},"ZoneAwarenessEnabled":{"type":"boolean"},"ZoneAwarenessConfig":{"type":"structure","members":{"AvailabilityZoneCount":{"type":"integer"}}},"DedicatedMasterType":{},"DedicatedMasterCount":{"type":"integer"},"WarmEnabled":{"type":"boolean"},"WarmType":{},"WarmCount":{"type":"integer"},"ColdStorageOptions":{"type":"structure","required":["Enabled"],"members":{"Enabled":{"type":"boolean"}}}}},"S1h":{"type":"structure","members":{"EBSEnabled":{"type":"boolean"},"VolumeType":{},"VolumeSize":{"type":"integer"},"Iops":{"type":"integer"},"Throughput":{"type":"integer"}}},"S1k":{"type":"structure","members":{"AutomatedSnapshotStartHour":{"type":"integer"}}},"S1l":{"type":"structure","members":{"SubnetIds":{"shape":"S1m"},"SecurityGroupIds":{"shape":"S1m"}}},"S1m":{"type":"list","member":{}},"S1n":{"type":"structure","members":{"Enabled":{"type":"boolean"},"UserPoolId":{},"IdentityPoolId":{},"RoleArn":{}}},"S1r":{"type":"structure","members":{"Enabled":{"type":"boolean"},"KmsKeyId":{}}},"S1t":{"type":"structure","members":{"Enabled":{"type":"boolean"}}},"S1u":{"type":"map","key":{},"value":{}},"S1v":{"type":"map","key":{},"value":{"type":"structure","members":{"CloudWatchLogsLogGroupArn":{},"Enabled":{"type":"boolean"}}}},"S1z":{"type":"structure","members":{"EnforceHTTPS":{"type":"boolean"},"TLSSecurityPolicy":{},"CustomEndpointEnabled":{"type":"boolean"},"CustomEndpoint":{},"CustomEndpointCertificateArn":{}}},"S22":{"type":"structure","members":{"Enabled":{"type":"boolean"},"InternalUserDatabaseEnabled":{"type":"boolean"},"MasterUserOptions":{"type":"structure","members":{"MasterUserARN":{},"MasterUserName":{"shape":"S24"},"MasterUserPassword":{"type":"string","sensitive":true}}},"SAMLOptions":{"type":"structure","members":{"Enabled":{"type":"boolean"},"Idp":{"shape":"S27"},"MasterUserName":{"shape":"S24"},"MasterBackendRole":{},"SubjectKey":{},"RolesKey":{},"SessionTimeoutMinutes":{"type":"integer"}}},"AnonymousAuthEnabled":{"type":"boolean"}}},"S24":{"type":"string","sensitive":true},"S27":{"type":"structure","required":["MetadataContent","EntityId"],"members":{"MetadataContent":{},"EntityId":{}}},"S2d":{"type":"list","member":{"type":"structure","members":{"StartAt":{"type":"timestamp"},"Duration":{"type":"structure","members":{"Value":{"type":"long"},"Unit":{}}},"CronExpressionForRecurrence":{}}}},"S2k":{"type":"structure","required":["DomainId","DomainName","ARN","ClusterConfig"],"members":{"DomainId":{},"DomainName":{},"ARN":{},"Created":{"type":"boolean"},"Deleted":{"type":"boolean"},"Endpoint":{},"Endpoints":{"type":"map","key":{},"value":{}},"Processing":{"type":"boolean"},"UpgradeProcessing":{"type":"boolean"},"EngineVersion":{},"ClusterConfig":{"shape":"S1b"},"EBSOptions":{"shape":"S1h"},"AccessPolicies":{},"SnapshotOptions":{"shape":"S1k"},"VPCOptions":{"shape":"S2o"},"CognitoOptions":{"shape":"S1n"},"EncryptionAtRestOptions":{"shape":"S1r"},"NodeToNodeEncryptionOptions":{"shape":"S1t"},"AdvancedOptions":{"shape":"S1u"},"LogPublishingOptions":{"shape":"S1v"},"ServiceSoftwareOptions":{"shape":"S15"},"DomainEndpointOptions":{"shape":"S1z"},"AdvancedSecurityOptions":{"shape":"S2p"},"AutoTuneOptions":{"type":"structure","members":{"State":{},"ErrorMessage":{}}},"ChangeProgressDetails":{"shape":"S2u"}}},"S2o":{"type":"structure","members":{"VPCId":{},"SubnetIds":{"shape":"S1m"},"AvailabilityZones":{"shape":"S1m"},"SecurityGroupIds":{"shape":"S1m"}}},"S2p":{"type":"structure","members":{"Enabled":{"type":"boolean"},"InternalUserDatabaseEnabled":{"type":"boolean"},"SAMLOptions":{"type":"structure","members":{"Enabled":{"type":"boolean"},"Idp":{"shape":"S27"},"SubjectKey":{},"RolesKey":{},"SessionTimeoutMinutes":{"type":"integer"}}},"AnonymousAuthDisableDate":{"type":"timestamp"},"AnonymousAuthEnabled":{"type":"boolean"}}},"S2u":{"type":"structure","members":{"ChangeId":{},"Message":{}}},"S30":{"type":"structure","members":{"StatusCode":{},"Message":{}}},"S32":{"type":"structure","members":{"Endpoint":{}}},"S36":{"type":"structure","members":{"S3BucketName":{},"S3Key":{}}},"S3a":{"type":"structure","members":{"PackageID":{},"PackageName":{},"PackageType":{},"PackageDescription":{},"PackageStatus":{},"CreatedAt":{"type":"timestamp"},"LastUpdatedAt":{"type":"timestamp"},"AvailablePackageVersion":{},"ErrorDetails":{"shape":"Su"}}},"S3h":{"type":"structure","members":{"VpcEndpointId":{},"VpcEndpointOwner":{},"DomainArn":{},"VpcOptions":{"shape":"S2o"},"Status":{},"Endpoint":{}}},"S3q":{"type":"structure","members":{"LocalDomainInfo":{"shape":"S5"},"RemoteDomainInfo":{"shape":"S5"},"ConnectionId":{},"ConnectionAlias":{},"ConnectionStatus":{"shape":"S30"},"ConnectionMode":{},"ConnectionProperties":{"shape":"S32"}}},"S3v":{"type":"structure","members":{"VpcEndpointId":{},"VpcEndpointOwner":{},"DomainArn":{},"Status":{}}},"S4o":{"type":"structure","members":{"EngineVersion":{"type":"structure","required":["Options","Status"],"members":{"Options":{},"Status":{"shape":"S4q"}}},"ClusterConfig":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1b"},"Status":{"shape":"S4q"}}},"EBSOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1h"},"Status":{"shape":"S4q"}}},"AccessPolicies":{"type":"structure","required":["Options","Status"],"members":{"Options":{},"Status":{"shape":"S4q"}}},"SnapshotOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1k"},"Status":{"shape":"S4q"}}},"VPCOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S2o"},"Status":{"shape":"S4q"}}},"CognitoOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1n"},"Status":{"shape":"S4q"}}},"EncryptionAtRestOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1r"},"Status":{"shape":"S4q"}}},"NodeToNodeEncryptionOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1t"},"Status":{"shape":"S4q"}}},"AdvancedOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1u"},"Status":{"shape":"S4q"}}},"LogPublishingOptions":{"type":"structure","members":{"Options":{"shape":"S1v"},"Status":{"shape":"S4q"}}},"DomainEndpointOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1z"},"Status":{"shape":"S4q"}}},"AdvancedSecurityOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S2p"},"Status":{"shape":"S4q"}}},"AutoTuneOptions":{"type":"structure","members":{"Options":{"shape":"S56"},"Status":{"type":"structure","required":["CreationDate","UpdateDate","State"],"members":{"CreationDate":{"type":"timestamp"},"UpdateDate":{"type":"timestamp"},"UpdateVersion":{"type":"integer"},"State":{},"ErrorMessage":{},"PendingDeletion":{"type":"boolean"}}}}},"ChangeProgressDetails":{"shape":"S2u"}}},"S4q":{"type":"structure","required":["CreationDate","UpdateDate","State"],"members":{"CreationDate":{"type":"timestamp"},"UpdateDate":{"type":"timestamp"},"UpdateVersion":{"type":"integer"},"State":{},"PendingDeletion":{"type":"boolean"}}},"S56":{"type":"structure","members":{"DesiredState":{},"RollbackOnDisable":{},"MaintenanceSchedules":{"shape":"S2d"}}},"S5f":{"type":"structure","required":["DryRunId","DryRunStatus","CreationDate","UpdateDate"],"members":{"DryRunId":{},"DryRunStatus":{},"CreationDate":{},"UpdateDate":{},"ValidationFailures":{"type":"list","member":{"type":"structure","members":{"Code":{},"Message":{}}}}}},"S5i":{"type":"structure","members":{"DeploymentType":{},"Message":{}}},"S5l":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{"type":"list","member":{}}}}},"S63":{"type":"list","member":{}},"S6t":{"type":"list","member":{"type":"structure","members":{"RecurringChargeAmount":{"type":"double"},"RecurringChargeFrequency":{}}}},"S7e":{"type":"list","member":{}},"S85":{"type":"list","member":{"shape":"Sn"}},"S8m":{"type":"list","member":{"shape":"S3v"}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2021-01-01","endpointPrefix":"es","protocol":"rest-json","serviceFullName":"Amazon OpenSearch Service","serviceId":"OpenSearch","signatureVersion":"v4","uid":"opensearch-2021-01-01"},"operations":{"AcceptInboundConnection":{"http":{"method":"PUT","requestUri":"/2021-01-01/opensearch/cc/inboundConnection/{ConnectionId}/accept"},"input":{"type":"structure","required":["ConnectionId"],"members":{"ConnectionId":{"location":"uri","locationName":"ConnectionId"}}},"output":{"type":"structure","members":{"Connection":{"shape":"S4"}}}},"AddTags":{"http":{"requestUri":"/2021-01-01/tags"},"input":{"type":"structure","required":["ARN","TagList"],"members":{"ARN":{},"TagList":{"shape":"Sg"}}}},"AssociatePackage":{"http":{"requestUri":"/2021-01-01/packages/associate/{PackageID}/{DomainName}"},"input":{"type":"structure","required":["PackageID","DomainName"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"},"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","members":{"DomainPackageDetails":{"shape":"Sn"}}}},"AuthorizeVpcEndpointAccess":{"http":{"requestUri":"/2021-01-01/opensearch/domain/{DomainName}/authorizeVpcEndpointAccess"},"input":{"type":"structure","required":["DomainName","Account"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"Account":{}}},"output":{"type":"structure","required":["AuthorizedPrincipal"],"members":{"AuthorizedPrincipal":{"shape":"S10"}}}},"CancelServiceSoftwareUpdate":{"http":{"requestUri":"/2021-01-01/opensearch/serviceSoftwareUpdate/cancel"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{}}},"output":{"type":"structure","members":{"ServiceSoftwareOptions":{"shape":"S15"}}}},"CreateDomain":{"http":{"requestUri":"/2021-01-01/opensearch/domain"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{},"EngineVersion":{},"ClusterConfig":{"shape":"S1b"},"EBSOptions":{"shape":"S1h"},"AccessPolicies":{},"SnapshotOptions":{"shape":"S1k"},"VPCOptions":{"shape":"S1l"},"CognitoOptions":{"shape":"S1n"},"EncryptionAtRestOptions":{"shape":"S1r"},"NodeToNodeEncryptionOptions":{"shape":"S1t"},"AdvancedOptions":{"shape":"S1u"},"LogPublishingOptions":{"shape":"S1v"},"DomainEndpointOptions":{"shape":"S1z"},"AdvancedSecurityOptions":{"shape":"S22"},"TagList":{"shape":"Sg"},"AutoTuneOptions":{"type":"structure","members":{"DesiredState":{},"MaintenanceSchedules":{"shape":"S2d"},"UseOffPeakWindow":{"type":"boolean"}}},"OffPeakWindowOptions":{"shape":"S2j"},"SoftwareUpdateOptions":{"shape":"S2o"}}},"output":{"type":"structure","members":{"DomainStatus":{"shape":"S2q"}}}},"CreateOutboundConnection":{"http":{"requestUri":"/2021-01-01/opensearch/cc/outboundConnection"},"input":{"type":"structure","required":["LocalDomainInfo","RemoteDomainInfo","ConnectionAlias"],"members":{"LocalDomainInfo":{"shape":"S5"},"RemoteDomainInfo":{"shape":"S5"},"ConnectionAlias":{},"ConnectionMode":{}}},"output":{"type":"structure","members":{"LocalDomainInfo":{"shape":"S5"},"RemoteDomainInfo":{"shape":"S5"},"ConnectionAlias":{},"ConnectionStatus":{"shape":"S36"},"ConnectionId":{},"ConnectionMode":{},"ConnectionProperties":{"shape":"S38"}}}},"CreatePackage":{"http":{"requestUri":"/2021-01-01/packages"},"input":{"type":"structure","required":["PackageName","PackageType","PackageSource"],"members":{"PackageName":{},"PackageType":{},"PackageDescription":{},"PackageSource":{"shape":"S3c"}}},"output":{"type":"structure","members":{"PackageDetails":{"shape":"S3g"}}}},"CreateVpcEndpoint":{"http":{"requestUri":"/2021-01-01/opensearch/vpcEndpoints"},"input":{"type":"structure","required":["DomainArn","VpcOptions"],"members":{"DomainArn":{},"VpcOptions":{"shape":"S1l"},"ClientToken":{}}},"output":{"type":"structure","required":["VpcEndpoint"],"members":{"VpcEndpoint":{"shape":"S3n"}}}},"DeleteDomain":{"http":{"method":"DELETE","requestUri":"/2021-01-01/opensearch/domain/{DomainName}"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","members":{"DomainStatus":{"shape":"S2q"}}}},"DeleteInboundConnection":{"http":{"method":"DELETE","requestUri":"/2021-01-01/opensearch/cc/inboundConnection/{ConnectionId}"},"input":{"type":"structure","required":["ConnectionId"],"members":{"ConnectionId":{"location":"uri","locationName":"ConnectionId"}}},"output":{"type":"structure","members":{"Connection":{"shape":"S4"}}}},"DeleteOutboundConnection":{"http":{"method":"DELETE","requestUri":"/2021-01-01/opensearch/cc/outboundConnection/{ConnectionId}"},"input":{"type":"structure","required":["ConnectionId"],"members":{"ConnectionId":{"location":"uri","locationName":"ConnectionId"}}},"output":{"type":"structure","members":{"Connection":{"shape":"S3w"}}}},"DeletePackage":{"http":{"method":"DELETE","requestUri":"/2021-01-01/packages/{PackageID}"},"input":{"type":"structure","required":["PackageID"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"}}},"output":{"type":"structure","members":{"PackageDetails":{"shape":"S3g"}}}},"DeleteVpcEndpoint":{"http":{"method":"DELETE","requestUri":"/2021-01-01/opensearch/vpcEndpoints/{VpcEndpointId}"},"input":{"type":"structure","required":["VpcEndpointId"],"members":{"VpcEndpointId":{"location":"uri","locationName":"VpcEndpointId"}}},"output":{"type":"structure","required":["VpcEndpointSummary"],"members":{"VpcEndpointSummary":{"shape":"S41"}}}},"DescribeDomain":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/domain/{DomainName}"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","required":["DomainStatus"],"members":{"DomainStatus":{"shape":"S2q"}}}},"DescribeDomainAutoTunes":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/domain/{DomainName}/autoTunes"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"AutoTunes":{"type":"list","member":{"type":"structure","members":{"AutoTuneType":{},"AutoTuneDetails":{"type":"structure","members":{"ScheduledAutoTuneDetails":{"type":"structure","members":{"Date":{"type":"timestamp"},"ActionType":{},"Action":{},"Severity":{}}}}}}}},"NextToken":{}}}},"DescribeDomainChangeProgress":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/domain/{DomainName}/progress"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"ChangeId":{"location":"querystring","locationName":"changeid"}}},"output":{"type":"structure","members":{"ChangeProgressStatus":{"type":"structure","members":{"ChangeId":{},"StartTime":{"type":"timestamp"},"Status":{},"PendingProperties":{"shape":"S1m"},"CompletedProperties":{"shape":"S1m"},"TotalNumberOfStages":{"type":"integer"},"ChangeProgressStages":{"type":"list","member":{"type":"structure","members":{"Name":{},"Status":{},"Description":{},"LastUpdated":{"type":"timestamp"}}}}}}}}},"DescribeDomainConfig":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/domain/{DomainName}/config"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","required":["DomainConfig"],"members":{"DomainConfig":{"shape":"S4u"}}}},"DescribeDomains":{"http":{"requestUri":"/2021-01-01/opensearch/domain-info"},"input":{"type":"structure","required":["DomainNames"],"members":{"DomainNames":{"type":"list","member":{}}}},"output":{"type":"structure","required":["DomainStatusList"],"members":{"DomainStatusList":{"type":"list","member":{"shape":"S2q"}}}}},"DescribeDryRunProgress":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/domain/{DomainName}/dryRun"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"DryRunId":{"location":"querystring","locationName":"dryRunId"},"LoadDryRunConfig":{"location":"querystring","locationName":"loadDryRunConfig","type":"boolean"}}},"output":{"type":"structure","members":{"DryRunProgressStatus":{"shape":"S5n"},"DryRunConfig":{"shape":"S2q"},"DryRunResults":{"shape":"S5q"}}}},"DescribeInboundConnections":{"http":{"requestUri":"/2021-01-01/opensearch/cc/inboundConnection/search"},"input":{"type":"structure","members":{"Filters":{"shape":"S5t"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Connections":{"type":"list","member":{"shape":"S4"}},"NextToken":{}}}},"DescribeInstanceTypeLimits":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/instanceTypeLimits/{EngineVersion}/{InstanceType}"},"input":{"type":"structure","required":["InstanceType","EngineVersion"],"members":{"DomainName":{"location":"querystring","locationName":"domainName"},"InstanceType":{"location":"uri","locationName":"InstanceType"},"EngineVersion":{"location":"uri","locationName":"EngineVersion"}}},"output":{"type":"structure","members":{"LimitsByRole":{"type":"map","key":{},"value":{"type":"structure","members":{"StorageTypes":{"type":"list","member":{"type":"structure","members":{"StorageTypeName":{},"StorageSubTypeName":{},"StorageTypeLimits":{"type":"list","member":{"type":"structure","members":{"LimitName":{},"LimitValues":{"shape":"S6b"}}}}}}},"InstanceLimits":{"type":"structure","members":{"InstanceCountLimits":{"type":"structure","members":{"MinimumInstanceCount":{"type":"integer"},"MaximumInstanceCount":{"type":"integer"}}}}},"AdditionalLimits":{"type":"list","member":{"type":"structure","members":{"LimitName":{},"LimitValues":{"shape":"S6b"}}}}}}}}}},"DescribeOutboundConnections":{"http":{"requestUri":"/2021-01-01/opensearch/cc/outboundConnection/search"},"input":{"type":"structure","members":{"Filters":{"shape":"S5t"},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Connections":{"type":"list","member":{"shape":"S3w"}},"NextToken":{}}}},"DescribePackages":{"http":{"requestUri":"/2021-01-01/packages/describe"},"input":{"type":"structure","members":{"Filters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Value":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"PackageDetailsList":{"type":"list","member":{"shape":"S3g"}},"NextToken":{}}}},"DescribeReservedInstanceOfferings":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/reservedInstanceOfferings"},"input":{"type":"structure","members":{"ReservedInstanceOfferingId":{"location":"querystring","locationName":"offeringId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"NextToken":{},"ReservedInstanceOfferings":{"type":"list","member":{"type":"structure","members":{"ReservedInstanceOfferingId":{},"InstanceType":{},"Duration":{"type":"integer"},"FixedPrice":{"type":"double"},"UsagePrice":{"type":"double"},"CurrencyCode":{},"PaymentOption":{},"RecurringCharges":{"shape":"S71"}}}}}}},"DescribeReservedInstances":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/reservedInstances"},"input":{"type":"structure","members":{"ReservedInstanceId":{"location":"querystring","locationName":"reservationId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"NextToken":{},"ReservedInstances":{"type":"list","member":{"type":"structure","members":{"ReservationName":{},"ReservedInstanceId":{},"BillingSubscriptionId":{"type":"long"},"ReservedInstanceOfferingId":{},"InstanceType":{},"StartTime":{"type":"timestamp"},"Duration":{"type":"integer"},"FixedPrice":{"type":"double"},"UsagePrice":{"type":"double"},"CurrencyCode":{},"InstanceCount":{"type":"integer"},"State":{},"PaymentOption":{},"RecurringCharges":{"shape":"S71"}}}}}}},"DescribeVpcEndpoints":{"http":{"requestUri":"/2021-01-01/opensearch/vpcEndpoints/describe"},"input":{"type":"structure","required":["VpcEndpointIds"],"members":{"VpcEndpointIds":{"type":"list","member":{}}}},"output":{"type":"structure","required":["VpcEndpoints","VpcEndpointErrors"],"members":{"VpcEndpoints":{"type":"list","member":{"shape":"S3n"}},"VpcEndpointErrors":{"type":"list","member":{"type":"structure","members":{"VpcEndpointId":{},"ErrorCode":{},"ErrorMessage":{}}}}}}},"DissociatePackage":{"http":{"requestUri":"/2021-01-01/packages/dissociate/{PackageID}/{DomainName}"},"input":{"type":"structure","required":["PackageID","DomainName"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"},"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","members":{"DomainPackageDetails":{"shape":"Sn"}}}},"GetCompatibleVersions":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/compatibleVersions"},"input":{"type":"structure","members":{"DomainName":{"location":"querystring","locationName":"domainName"}}},"output":{"type":"structure","members":{"CompatibleVersions":{"type":"list","member":{"type":"structure","members":{"SourceVersion":{},"TargetVersions":{"shape":"S7m"}}}}}}},"GetPackageVersionHistory":{"http":{"method":"GET","requestUri":"/2021-01-01/packages/{PackageID}/history"},"input":{"type":"structure","required":["PackageID"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"PackageID":{},"PackageVersionHistoryList":{"type":"list","member":{"type":"structure","members":{"PackageVersion":{},"CommitMessage":{},"CreatedAt":{"type":"timestamp"}}}},"NextToken":{}}}},"GetUpgradeHistory":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/upgradeDomain/{DomainName}/history"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"UpgradeHistories":{"type":"list","member":{"type":"structure","members":{"UpgradeName":{},"StartTimestamp":{"type":"timestamp"},"UpgradeStatus":{},"StepsList":{"type":"list","member":{"type":"structure","members":{"UpgradeStep":{},"UpgradeStepStatus":{},"Issues":{"type":"list","member":{}},"ProgressPercent":{"type":"double"}}}}}}},"NextToken":{}}}},"GetUpgradeStatus":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/upgradeDomain/{DomainName}/status"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"}}},"output":{"type":"structure","members":{"UpgradeStep":{},"StepStatus":{},"UpgradeName":{}}}},"ListDomainNames":{"http":{"method":"GET","requestUri":"/2021-01-01/domain"},"input":{"type":"structure","members":{"EngineType":{"location":"querystring","locationName":"engineType"}}},"output":{"type":"structure","members":{"DomainNames":{"type":"list","member":{"type":"structure","members":{"DomainName":{},"EngineType":{}}}}}}},"ListDomainsForPackage":{"http":{"method":"GET","requestUri":"/2021-01-01/packages/{PackageID}/domains"},"input":{"type":"structure","required":["PackageID"],"members":{"PackageID":{"location":"uri","locationName":"PackageID"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"DomainPackageDetailsList":{"shape":"S8d"},"NextToken":{}}}},"ListInstanceTypeDetails":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/instanceTypeDetails/{EngineVersion}"},"input":{"type":"structure","required":["EngineVersion"],"members":{"EngineVersion":{"location":"uri","locationName":"EngineVersion"},"DomainName":{"location":"querystring","locationName":"domainName"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"InstanceTypeDetails":{"type":"list","member":{"type":"structure","members":{"InstanceType":{},"EncryptionEnabled":{"type":"boolean"},"CognitoEnabled":{"type":"boolean"},"AppLogsEnabled":{"type":"boolean"},"AdvancedSecurityEnabled":{"type":"boolean"},"WarmEnabled":{"type":"boolean"},"InstanceRole":{"type":"list","member":{}}}}},"NextToken":{}}}},"ListPackagesForDomain":{"http":{"method":"GET","requestUri":"/2021-01-01/domain/{DomainName}/packages"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"DomainPackageDetailsList":{"shape":"S8d"},"NextToken":{}}}},"ListScheduledActions":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/domain/{DomainName}/scheduledActions"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"ScheduledActions":{"type":"list","member":{"shape":"S8o"}},"NextToken":{}}}},"ListTags":{"http":{"method":"GET","requestUri":"/2021-01-01/tags/"},"input":{"type":"structure","required":["ARN"],"members":{"ARN":{"location":"querystring","locationName":"arn"}}},"output":{"type":"structure","members":{"TagList":{"shape":"Sg"}}}},"ListVersions":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/versions"},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"Versions":{"shape":"S7m"},"NextToken":{}}}},"ListVpcEndpointAccess":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/domain/{DomainName}/listVpcEndpointAccess"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["AuthorizedPrincipalList","NextToken"],"members":{"AuthorizedPrincipalList":{"type":"list","member":{"shape":"S10"}},"NextToken":{}}}},"ListVpcEndpoints":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/vpcEndpoints"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["VpcEndpointSummaryList","NextToken"],"members":{"VpcEndpointSummaryList":{"shape":"S92"},"NextToken":{}}}},"ListVpcEndpointsForDomain":{"http":{"method":"GET","requestUri":"/2021-01-01/opensearch/domain/{DomainName}/vpcEndpoints"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["VpcEndpointSummaryList","NextToken"],"members":{"VpcEndpointSummaryList":{"shape":"S92"},"NextToken":{}}}},"PurchaseReservedInstanceOffering":{"http":{"requestUri":"/2021-01-01/opensearch/purchaseReservedInstanceOffering"},"input":{"type":"structure","required":["ReservedInstanceOfferingId","ReservationName"],"members":{"ReservedInstanceOfferingId":{},"ReservationName":{},"InstanceCount":{"type":"integer"}}},"output":{"type":"structure","members":{"ReservedInstanceId":{},"ReservationName":{}}}},"RejectInboundConnection":{"http":{"method":"PUT","requestUri":"/2021-01-01/opensearch/cc/inboundConnection/{ConnectionId}/reject"},"input":{"type":"structure","required":["ConnectionId"],"members":{"ConnectionId":{"location":"uri","locationName":"ConnectionId"}}},"output":{"type":"structure","members":{"Connection":{"shape":"S4"}}}},"RemoveTags":{"http":{"requestUri":"/2021-01-01/tags-removal"},"input":{"type":"structure","required":["ARN","TagKeys"],"members":{"ARN":{},"TagKeys":{"shape":"S1m"}}}},"RevokeVpcEndpointAccess":{"http":{"requestUri":"/2021-01-01/opensearch/domain/{DomainName}/revokeVpcEndpointAccess"},"input":{"type":"structure","required":["DomainName","Account"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"Account":{}}},"output":{"type":"structure","members":{}}},"StartServiceSoftwareUpdate":{"http":{"requestUri":"/2021-01-01/opensearch/serviceSoftwareUpdate/start"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{},"ScheduleAt":{},"DesiredStartTime":{"type":"long"}}},"output":{"type":"structure","members":{"ServiceSoftwareOptions":{"shape":"S15"}}}},"UpdateDomainConfig":{"http":{"requestUri":"/2021-01-01/opensearch/domain/{DomainName}/config"},"input":{"type":"structure","required":["DomainName"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"ClusterConfig":{"shape":"S1b"},"EBSOptions":{"shape":"S1h"},"SnapshotOptions":{"shape":"S1k"},"VPCOptions":{"shape":"S1l"},"CognitoOptions":{"shape":"S1n"},"AdvancedOptions":{"shape":"S1u"},"AccessPolicies":{},"LogPublishingOptions":{"shape":"S1v"},"EncryptionAtRestOptions":{"shape":"S1r"},"DomainEndpointOptions":{"shape":"S1z"},"NodeToNodeEncryptionOptions":{"shape":"S1t"},"AdvancedSecurityOptions":{"shape":"S22"},"AutoTuneOptions":{"shape":"S5c"},"DryRun":{"type":"boolean"},"DryRunMode":{},"OffPeakWindowOptions":{"shape":"S2j"},"SoftwareUpdateOptions":{"shape":"S2o"}}},"output":{"type":"structure","required":["DomainConfig"],"members":{"DomainConfig":{"shape":"S4u"},"DryRunResults":{"shape":"S5q"},"DryRunProgressStatus":{"shape":"S5n"}}}},"UpdatePackage":{"http":{"requestUri":"/2021-01-01/packages/update"},"input":{"type":"structure","required":["PackageID","PackageSource"],"members":{"PackageID":{},"PackageSource":{"shape":"S3c"},"PackageDescription":{},"CommitMessage":{}}},"output":{"type":"structure","members":{"PackageDetails":{"shape":"S3g"}}}},"UpdateScheduledAction":{"http":{"method":"PUT","requestUri":"/2021-01-01/opensearch/domain/{DomainName}/scheduledAction/update"},"input":{"type":"structure","required":["DomainName","ActionID","ActionType","ScheduleAt"],"members":{"DomainName":{"location":"uri","locationName":"DomainName"},"ActionID":{},"ActionType":{},"ScheduleAt":{},"DesiredStartTime":{"type":"long"}}},"output":{"type":"structure","members":{"ScheduledAction":{"shape":"S8o"}}}},"UpdateVpcEndpoint":{"http":{"requestUri":"/2021-01-01/opensearch/vpcEndpoints/update"},"input":{"type":"structure","required":["VpcEndpointId","VpcOptions"],"members":{"VpcEndpointId":{},"VpcOptions":{"shape":"S1l"}}},"output":{"type":"structure","required":["VpcEndpoint"],"members":{"VpcEndpoint":{"shape":"S3n"}}}},"UpgradeDomain":{"http":{"requestUri":"/2021-01-01/opensearch/upgradeDomain"},"input":{"type":"structure","required":["DomainName","TargetVersion"],"members":{"DomainName":{},"TargetVersion":{},"PerformCheckOnly":{"type":"boolean"},"AdvancedOptions":{"shape":"S1u"}}},"output":{"type":"structure","members":{"UpgradeId":{},"DomainName":{},"TargetVersion":{},"PerformCheckOnly":{"type":"boolean"},"AdvancedOptions":{"shape":"S1u"},"ChangeProgressDetails":{"shape":"S30"}}}}},"shapes":{"S4":{"type":"structure","members":{"LocalDomainInfo":{"shape":"S5"},"RemoteDomainInfo":{"shape":"S5"},"ConnectionId":{},"ConnectionStatus":{"type":"structure","members":{"StatusCode":{},"Message":{}}},"ConnectionMode":{}}},"S5":{"type":"structure","members":{"AWSDomainInformation":{"type":"structure","required":["DomainName"],"members":{"OwnerId":{},"DomainName":{},"Region":{}}}}},"Sg":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"Sn":{"type":"structure","members":{"PackageID":{},"PackageName":{},"PackageType":{},"LastUpdated":{"type":"timestamp"},"DomainName":{},"DomainPackageStatus":{},"PackageVersion":{},"ReferencePath":{},"ErrorDetails":{"shape":"Su"}}},"Su":{"type":"structure","members":{"ErrorType":{},"ErrorMessage":{}}},"S10":{"type":"structure","members":{"PrincipalType":{},"Principal":{}}},"S15":{"type":"structure","members":{"CurrentVersion":{},"NewVersion":{},"UpdateAvailable":{"type":"boolean"},"Cancellable":{"type":"boolean"},"UpdateStatus":{},"Description":{},"AutomatedUpdateDate":{"type":"timestamp"},"OptionalDeployment":{"type":"boolean"}}},"S1b":{"type":"structure","members":{"InstanceType":{},"InstanceCount":{"type":"integer"},"DedicatedMasterEnabled":{"type":"boolean"},"ZoneAwarenessEnabled":{"type":"boolean"},"ZoneAwarenessConfig":{"type":"structure","members":{"AvailabilityZoneCount":{"type":"integer"}}},"DedicatedMasterType":{},"DedicatedMasterCount":{"type":"integer"},"WarmEnabled":{"type":"boolean"},"WarmType":{},"WarmCount":{"type":"integer"},"ColdStorageOptions":{"type":"structure","required":["Enabled"],"members":{"Enabled":{"type":"boolean"}}}}},"S1h":{"type":"structure","members":{"EBSEnabled":{"type":"boolean"},"VolumeType":{},"VolumeSize":{"type":"integer"},"Iops":{"type":"integer"},"Throughput":{"type":"integer"}}},"S1k":{"type":"structure","members":{"AutomatedSnapshotStartHour":{"type":"integer"}}},"S1l":{"type":"structure","members":{"SubnetIds":{"shape":"S1m"},"SecurityGroupIds":{"shape":"S1m"}}},"S1m":{"type":"list","member":{}},"S1n":{"type":"structure","members":{"Enabled":{"type":"boolean"},"UserPoolId":{},"IdentityPoolId":{},"RoleArn":{}}},"S1r":{"type":"structure","members":{"Enabled":{"type":"boolean"},"KmsKeyId":{}}},"S1t":{"type":"structure","members":{"Enabled":{"type":"boolean"}}},"S1u":{"type":"map","key":{},"value":{}},"S1v":{"type":"map","key":{},"value":{"type":"structure","members":{"CloudWatchLogsLogGroupArn":{},"Enabled":{"type":"boolean"}}}},"S1z":{"type":"structure","members":{"EnforceHTTPS":{"type":"boolean"},"TLSSecurityPolicy":{},"CustomEndpointEnabled":{"type":"boolean"},"CustomEndpoint":{},"CustomEndpointCertificateArn":{}}},"S22":{"type":"structure","members":{"Enabled":{"type":"boolean"},"InternalUserDatabaseEnabled":{"type":"boolean"},"MasterUserOptions":{"type":"structure","members":{"MasterUserARN":{},"MasterUserName":{"shape":"S24"},"MasterUserPassword":{"type":"string","sensitive":true}}},"SAMLOptions":{"type":"structure","members":{"Enabled":{"type":"boolean"},"Idp":{"shape":"S27"},"MasterUserName":{"shape":"S24"},"MasterBackendRole":{},"SubjectKey":{},"RolesKey":{},"SessionTimeoutMinutes":{"type":"integer"}}},"AnonymousAuthEnabled":{"type":"boolean"}}},"S24":{"type":"string","sensitive":true},"S27":{"type":"structure","required":["MetadataContent","EntityId"],"members":{"MetadataContent":{},"EntityId":{}}},"S2d":{"type":"list","member":{"type":"structure","members":{"StartAt":{"type":"timestamp"},"Duration":{"type":"structure","members":{"Value":{"type":"long"},"Unit":{}}},"CronExpressionForRecurrence":{}}}},"S2j":{"type":"structure","members":{"Enabled":{"type":"boolean"},"OffPeakWindow":{"type":"structure","members":{"WindowStartTime":{"type":"structure","required":["Hours","Minutes"],"members":{"Hours":{"type":"long"},"Minutes":{"type":"long"}}}}}}},"S2o":{"type":"structure","members":{"AutoSoftwareUpdateEnabled":{"type":"boolean"}}},"S2q":{"type":"structure","required":["DomainId","DomainName","ARN","ClusterConfig"],"members":{"DomainId":{},"DomainName":{},"ARN":{},"Created":{"type":"boolean"},"Deleted":{"type":"boolean"},"Endpoint":{},"Endpoints":{"type":"map","key":{},"value":{}},"Processing":{"type":"boolean"},"UpgradeProcessing":{"type":"boolean"},"EngineVersion":{},"ClusterConfig":{"shape":"S1b"},"EBSOptions":{"shape":"S1h"},"AccessPolicies":{},"SnapshotOptions":{"shape":"S1k"},"VPCOptions":{"shape":"S2u"},"CognitoOptions":{"shape":"S1n"},"EncryptionAtRestOptions":{"shape":"S1r"},"NodeToNodeEncryptionOptions":{"shape":"S1t"},"AdvancedOptions":{"shape":"S1u"},"LogPublishingOptions":{"shape":"S1v"},"ServiceSoftwareOptions":{"shape":"S15"},"DomainEndpointOptions":{"shape":"S1z"},"AdvancedSecurityOptions":{"shape":"S2v"},"AutoTuneOptions":{"type":"structure","members":{"State":{},"ErrorMessage":{},"UseOffPeakWindow":{"type":"boolean"}}},"ChangeProgressDetails":{"shape":"S30"},"OffPeakWindowOptions":{"shape":"S2j"},"SoftwareUpdateOptions":{"shape":"S2o"}}},"S2u":{"type":"structure","members":{"VPCId":{},"SubnetIds":{"shape":"S1m"},"AvailabilityZones":{"shape":"S1m"},"SecurityGroupIds":{"shape":"S1m"}}},"S2v":{"type":"structure","members":{"Enabled":{"type":"boolean"},"InternalUserDatabaseEnabled":{"type":"boolean"},"SAMLOptions":{"type":"structure","members":{"Enabled":{"type":"boolean"},"Idp":{"shape":"S27"},"SubjectKey":{},"RolesKey":{},"SessionTimeoutMinutes":{"type":"integer"}}},"AnonymousAuthDisableDate":{"type":"timestamp"},"AnonymousAuthEnabled":{"type":"boolean"}}},"S30":{"type":"structure","members":{"ChangeId":{},"Message":{}}},"S36":{"type":"structure","members":{"StatusCode":{},"Message":{}}},"S38":{"type":"structure","members":{"Endpoint":{}}},"S3c":{"type":"structure","members":{"S3BucketName":{},"S3Key":{}}},"S3g":{"type":"structure","members":{"PackageID":{},"PackageName":{},"PackageType":{},"PackageDescription":{},"PackageStatus":{},"CreatedAt":{"type":"timestamp"},"LastUpdatedAt":{"type":"timestamp"},"AvailablePackageVersion":{},"ErrorDetails":{"shape":"Su"}}},"S3n":{"type":"structure","members":{"VpcEndpointId":{},"VpcEndpointOwner":{},"DomainArn":{},"VpcOptions":{"shape":"S2u"},"Status":{},"Endpoint":{}}},"S3w":{"type":"structure","members":{"LocalDomainInfo":{"shape":"S5"},"RemoteDomainInfo":{"shape":"S5"},"ConnectionId":{},"ConnectionAlias":{},"ConnectionStatus":{"shape":"S36"},"ConnectionMode":{},"ConnectionProperties":{"shape":"S38"}}},"S41":{"type":"structure","members":{"VpcEndpointId":{},"VpcEndpointOwner":{},"DomainArn":{},"Status":{}}},"S4u":{"type":"structure","members":{"EngineVersion":{"type":"structure","required":["Options","Status"],"members":{"Options":{},"Status":{"shape":"S4w"}}},"ClusterConfig":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1b"},"Status":{"shape":"S4w"}}},"EBSOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1h"},"Status":{"shape":"S4w"}}},"AccessPolicies":{"type":"structure","required":["Options","Status"],"members":{"Options":{},"Status":{"shape":"S4w"}}},"SnapshotOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1k"},"Status":{"shape":"S4w"}}},"VPCOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S2u"},"Status":{"shape":"S4w"}}},"CognitoOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1n"},"Status":{"shape":"S4w"}}},"EncryptionAtRestOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1r"},"Status":{"shape":"S4w"}}},"NodeToNodeEncryptionOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1t"},"Status":{"shape":"S4w"}}},"AdvancedOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1u"},"Status":{"shape":"S4w"}}},"LogPublishingOptions":{"type":"structure","members":{"Options":{"shape":"S1v"},"Status":{"shape":"S4w"}}},"DomainEndpointOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S1z"},"Status":{"shape":"S4w"}}},"AdvancedSecurityOptions":{"type":"structure","required":["Options","Status"],"members":{"Options":{"shape":"S2v"},"Status":{"shape":"S4w"}}},"AutoTuneOptions":{"type":"structure","members":{"Options":{"shape":"S5c"},"Status":{"type":"structure","required":["CreationDate","UpdateDate","State"],"members":{"CreationDate":{"type":"timestamp"},"UpdateDate":{"type":"timestamp"},"UpdateVersion":{"type":"integer"},"State":{},"ErrorMessage":{},"PendingDeletion":{"type":"boolean"}}}}},"ChangeProgressDetails":{"shape":"S30"},"OffPeakWindowOptions":{"type":"structure","members":{"Options":{"shape":"S2j"},"Status":{"shape":"S4w"}}},"SoftwareUpdateOptions":{"type":"structure","members":{"Options":{"shape":"S2o"},"Status":{"shape":"S4w"}}}}},"S4w":{"type":"structure","required":["CreationDate","UpdateDate","State"],"members":{"CreationDate":{"type":"timestamp"},"UpdateDate":{"type":"timestamp"},"UpdateVersion":{"type":"integer"},"State":{},"PendingDeletion":{"type":"boolean"}}},"S5c":{"type":"structure","members":{"DesiredState":{},"RollbackOnDisable":{},"MaintenanceSchedules":{"shape":"S2d"},"UseOffPeakWindow":{"type":"boolean"}}},"S5n":{"type":"structure","required":["DryRunId","DryRunStatus","CreationDate","UpdateDate"],"members":{"DryRunId":{},"DryRunStatus":{},"CreationDate":{},"UpdateDate":{},"ValidationFailures":{"type":"list","member":{"type":"structure","members":{"Code":{},"Message":{}}}}}},"S5q":{"type":"structure","members":{"DeploymentType":{},"Message":{}}},"S5t":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{"type":"list","member":{}}}}},"S6b":{"type":"list","member":{}},"S71":{"type":"list","member":{"type":"structure","members":{"RecurringChargeAmount":{"type":"double"},"RecurringChargeFrequency":{}}}},"S7m":{"type":"list","member":{}},"S8d":{"type":"list","member":{"shape":"Sn"}},"S8o":{"type":"structure","required":["Id","Type","Severity","ScheduledTime"],"members":{"Id":{},"Type":{},"Severity":{},"ScheduledTime":{"type":"long"},"Description":{},"ScheduledBy":{},"Status":{},"Mandatory":{"type":"boolean"},"Cancellable":{"type":"boolean"}}},"S92":{"type":"list","member":{"shape":"S41"}}}} /***/ }), /* 1085 */ /***/ (function(module, exports) { - module.exports = {"pagination":{"DescribeDomainAutoTunes":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"DescribeInboundConnections":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"DescribeOutboundConnections":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"DescribePackages":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"DescribeReservedInstanceOfferings":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"DescribeReservedInstances":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"GetPackageVersionHistory":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"GetUpgradeHistory":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListDomainsForPackage":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListInstanceTypeDetails":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListPackagesForDomain":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListVersions":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"}}} + module.exports = {"pagination":{"DescribeDomainAutoTunes":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"DescribeInboundConnections":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"DescribeOutboundConnections":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"DescribePackages":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"DescribeReservedInstanceOfferings":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"DescribeReservedInstances":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"GetPackageVersionHistory":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"GetUpgradeHistory":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListDomainsForPackage":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListInstanceTypeDetails":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListPackagesForDomain":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListScheduledActions":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListVersions":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"}}} /***/ }), /* 1086 */ @@ -60186,7 +60186,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 1136 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-05-10","endpointPrefix":"rum","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"CloudWatch RUM","serviceId":"RUM","signatureVersion":"v4","signingName":"rum","uid":"rum-2018-05-10"},"operations":{"BatchCreateRumMetricDefinitions":{"http":{"requestUri":"/rummetrics/{AppMonitorName}/metrics","responseCode":200},"input":{"type":"structure","required":["AppMonitorName","Destination","MetricDefinitions"],"members":{"AppMonitorName":{"location":"uri","locationName":"AppMonitorName"},"Destination":{},"DestinationArn":{},"MetricDefinitions":{"type":"list","member":{"shape":"S6"}}}},"output":{"type":"structure","required":["Errors"],"members":{"Errors":{"type":"list","member":{"type":"structure","required":["ErrorCode","ErrorMessage","MetricDefinition"],"members":{"ErrorCode":{},"ErrorMessage":{},"MetricDefinition":{"shape":"S6"}}}},"MetricDefinitions":{"shape":"Si"}}},"idempotent":true},"BatchDeleteRumMetricDefinitions":{"http":{"method":"DELETE","requestUri":"/rummetrics/{AppMonitorName}/metrics","responseCode":200},"input":{"type":"structure","required":["AppMonitorName","Destination","MetricDefinitionIds"],"members":{"AppMonitorName":{"location":"uri","locationName":"AppMonitorName"},"Destination":{"location":"querystring","locationName":"destination"},"DestinationArn":{"location":"querystring","locationName":"destinationArn"},"MetricDefinitionIds":{"shape":"Sm","location":"querystring","locationName":"metricDefinitionIds"}}},"output":{"type":"structure","required":["Errors"],"members":{"Errors":{"type":"list","member":{"type":"structure","required":["ErrorCode","ErrorMessage","MetricDefinitionId"],"members":{"ErrorCode":{},"ErrorMessage":{},"MetricDefinitionId":{}}}},"MetricDefinitionIds":{"shape":"Sm"}}},"idempotent":true},"BatchGetRumMetricDefinitions":{"http":{"method":"GET","requestUri":"/rummetrics/{AppMonitorName}/metrics","responseCode":200},"input":{"type":"structure","required":["AppMonitorName","Destination"],"members":{"AppMonitorName":{"location":"uri","locationName":"AppMonitorName"},"Destination":{"location":"querystring","locationName":"destination"},"DestinationArn":{"location":"querystring","locationName":"destinationArn"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"MetricDefinitions":{"shape":"Si"},"NextToken":{}}}},"CreateAppMonitor":{"http":{"requestUri":"/appmonitor","responseCode":200},"input":{"type":"structure","required":["Domain","Name"],"members":{"AppMonitorConfiguration":{"shape":"Su"},"CustomEvents":{"shape":"S14"},"CwLogEnabled":{"type":"boolean"},"Domain":{},"Name":{},"Tags":{"shape":"S17"}}},"output":{"type":"structure","members":{"Id":{}}},"idempotent":true},"DeleteAppMonitor":{"http":{"method":"DELETE","requestUri":"/appmonitor/{Name}","responseCode":200},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"Name"}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteRumMetricsDestination":{"http":{"method":"DELETE","requestUri":"/rummetrics/{AppMonitorName}/metricsdestination","responseCode":200},"input":{"type":"structure","required":["AppMonitorName","Destination"],"members":{"AppMonitorName":{"location":"uri","locationName":"AppMonitorName"},"Destination":{"location":"querystring","locationName":"destination"},"DestinationArn":{"location":"querystring","locationName":"destinationArn"}}},"output":{"type":"structure","members":{}},"idempotent":true},"GetAppMonitor":{"http":{"method":"GET","requestUri":"/appmonitor/{Name}","responseCode":200},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"Name"}}},"output":{"type":"structure","members":{"AppMonitor":{"type":"structure","members":{"AppMonitorConfiguration":{"shape":"Su"},"Created":{},"CustomEvents":{"shape":"S14"},"DataStorage":{"type":"structure","members":{"CwLog":{"type":"structure","members":{"CwLogEnabled":{"type":"boolean"},"CwLogGroup":{}}}}},"Domain":{},"Id":{},"LastModified":{},"Name":{},"State":{},"Tags":{"shape":"S17"}}}}}},"GetAppMonitorData":{"http":{"requestUri":"/appmonitor/{Name}/data","responseCode":200},"input":{"type":"structure","required":["Name","TimeRange"],"members":{"Filters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"Name":{"location":"uri","locationName":"Name"},"NextToken":{},"TimeRange":{"type":"structure","required":["After"],"members":{"After":{"type":"long"},"Before":{"type":"long"}}}}},"output":{"type":"structure","members":{"Events":{"type":"list","member":{}},"NextToken":{}}}},"ListAppMonitors":{"http":{"requestUri":"/appmonitors","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"AppMonitorSummaries":{"type":"list","member":{"type":"structure","members":{"Created":{},"Id":{},"LastModified":{},"Name":{},"State":{}}}},"NextToken":{}}}},"ListRumMetricsDestinations":{"http":{"method":"GET","requestUri":"/rummetrics/{AppMonitorName}/metricsdestination","responseCode":200},"input":{"type":"structure","required":["AppMonitorName"],"members":{"AppMonitorName":{"location":"uri","locationName":"AppMonitorName"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"Destinations":{"type":"list","member":{"type":"structure","members":{"Destination":{},"DestinationArn":{},"IamRoleArn":{}}}},"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":["ResourceArn","Tags"],"members":{"ResourceArn":{},"Tags":{"shape":"S17"}}}},"PutRumEvents":{"http":{"requestUri":"/appmonitors/{Id}/","responseCode":200},"input":{"type":"structure","required":["AppMonitorDetails","BatchId","Id","RumEvents","UserDetails"],"members":{"AppMonitorDetails":{"type":"structure","members":{"id":{},"name":{},"version":{}}},"BatchId":{},"Id":{"location":"uri","locationName":"Id"},"RumEvents":{"type":"list","member":{"type":"structure","required":["details","id","timestamp","type"],"members":{"details":{"jsonvalue":true},"id":{},"metadata":{"jsonvalue":true},"timestamp":{"type":"timestamp"},"type":{}}}},"UserDetails":{"type":"structure","members":{"sessionId":{},"userId":{}}}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"dataplane."}},"PutRumMetricsDestination":{"http":{"requestUri":"/rummetrics/{AppMonitorName}/metricsdestination","responseCode":200},"input":{"type":"structure","required":["AppMonitorName","Destination"],"members":{"AppMonitorName":{"location":"uri","locationName":"AppMonitorName"},"Destination":{},"DestinationArn":{},"IamRoleArn":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"TagResource":{"http":{"requestUri":"/tags/{ResourceArn}","responseCode":200},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"Tags":{"shape":"S17"}}},"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},"UpdateAppMonitor":{"http":{"method":"PATCH","requestUri":"/appmonitor/{Name}","responseCode":200},"input":{"type":"structure","required":["Name"],"members":{"AppMonitorConfiguration":{"shape":"Su"},"CustomEvents":{"shape":"S14"},"CwLogEnabled":{"type":"boolean"},"Domain":{},"Name":{"location":"uri","locationName":"Name"}}},"output":{"type":"structure","members":{}}},"UpdateRumMetricDefinition":{"http":{"method":"PATCH","requestUri":"/rummetrics/{AppMonitorName}/metrics","responseCode":200},"input":{"type":"structure","required":["AppMonitorName","Destination","MetricDefinition","MetricDefinitionId"],"members":{"AppMonitorName":{"location":"uri","locationName":"AppMonitorName"},"Destination":{},"DestinationArn":{},"MetricDefinition":{"shape":"S6"},"MetricDefinitionId":{}}},"output":{"type":"structure","members":{}},"idempotent":true}},"shapes":{"S6":{"type":"structure","required":["Name"],"members":{"DimensionKeys":{"shape":"S7"},"EventPattern":{},"Name":{},"UnitLabel":{},"ValueKey":{}}},"S7":{"type":"map","key":{},"value":{}},"Si":{"type":"list","member":{"type":"structure","required":["MetricDefinitionId","Name"],"members":{"DimensionKeys":{"shape":"S7"},"EventPattern":{},"MetricDefinitionId":{},"Name":{},"UnitLabel":{},"ValueKey":{}}}},"Sm":{"type":"list","member":{}},"Su":{"type":"structure","members":{"AllowCookies":{"type":"boolean"},"EnableXRay":{"type":"boolean"},"ExcludedPages":{"shape":"Sw"},"FavoritePages":{"type":"list","member":{}},"GuestRoleArn":{},"IdentityPoolId":{},"IncludedPages":{"shape":"Sw"},"SessionSampleRate":{"type":"double"},"Telemetries":{"type":"list","member":{}}}},"Sw":{"type":"list","member":{}},"S14":{"type":"structure","members":{"Status":{}}},"S17":{"type":"map","key":{},"value":{}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-05-10","endpointPrefix":"rum","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"CloudWatch RUM","serviceId":"RUM","signatureVersion":"v4","signingName":"rum","uid":"rum-2018-05-10"},"operations":{"BatchCreateRumMetricDefinitions":{"http":{"requestUri":"/rummetrics/{AppMonitorName}/metrics","responseCode":200},"input":{"type":"structure","required":["AppMonitorName","Destination","MetricDefinitions"],"members":{"AppMonitorName":{"location":"uri","locationName":"AppMonitorName"},"Destination":{},"DestinationArn":{},"MetricDefinitions":{"type":"list","member":{"shape":"S6"}}}},"output":{"type":"structure","required":["Errors"],"members":{"Errors":{"type":"list","member":{"type":"structure","required":["ErrorCode","ErrorMessage","MetricDefinition"],"members":{"ErrorCode":{},"ErrorMessage":{},"MetricDefinition":{"shape":"S6"}}}},"MetricDefinitions":{"shape":"Sj"}}},"idempotent":true},"BatchDeleteRumMetricDefinitions":{"http":{"method":"DELETE","requestUri":"/rummetrics/{AppMonitorName}/metrics","responseCode":200},"input":{"type":"structure","required":["AppMonitorName","Destination","MetricDefinitionIds"],"members":{"AppMonitorName":{"location":"uri","locationName":"AppMonitorName"},"Destination":{"location":"querystring","locationName":"destination"},"DestinationArn":{"location":"querystring","locationName":"destinationArn"},"MetricDefinitionIds":{"shape":"Sn","location":"querystring","locationName":"metricDefinitionIds"}}},"output":{"type":"structure","required":["Errors"],"members":{"Errors":{"type":"list","member":{"type":"structure","required":["ErrorCode","ErrorMessage","MetricDefinitionId"],"members":{"ErrorCode":{},"ErrorMessage":{},"MetricDefinitionId":{}}}},"MetricDefinitionIds":{"shape":"Sn"}}},"idempotent":true},"BatchGetRumMetricDefinitions":{"http":{"method":"GET","requestUri":"/rummetrics/{AppMonitorName}/metrics","responseCode":200},"input":{"type":"structure","required":["AppMonitorName","Destination"],"members":{"AppMonitorName":{"location":"uri","locationName":"AppMonitorName"},"Destination":{"location":"querystring","locationName":"destination"},"DestinationArn":{"location":"querystring","locationName":"destinationArn"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"MetricDefinitions":{"shape":"Sj"},"NextToken":{}}}},"CreateAppMonitor":{"http":{"requestUri":"/appmonitor","responseCode":200},"input":{"type":"structure","required":["Domain","Name"],"members":{"AppMonitorConfiguration":{"shape":"Sv"},"CustomEvents":{"shape":"S15"},"CwLogEnabled":{"type":"boolean"},"Domain":{},"Name":{},"Tags":{"shape":"S18"}}},"output":{"type":"structure","members":{"Id":{}}},"idempotent":true},"DeleteAppMonitor":{"http":{"method":"DELETE","requestUri":"/appmonitor/{Name}","responseCode":200},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"Name"}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteRumMetricsDestination":{"http":{"method":"DELETE","requestUri":"/rummetrics/{AppMonitorName}/metricsdestination","responseCode":200},"input":{"type":"structure","required":["AppMonitorName","Destination"],"members":{"AppMonitorName":{"location":"uri","locationName":"AppMonitorName"},"Destination":{"location":"querystring","locationName":"destination"},"DestinationArn":{"location":"querystring","locationName":"destinationArn"}}},"output":{"type":"structure","members":{}},"idempotent":true},"GetAppMonitor":{"http":{"method":"GET","requestUri":"/appmonitor/{Name}","responseCode":200},"input":{"type":"structure","required":["Name"],"members":{"Name":{"location":"uri","locationName":"Name"}}},"output":{"type":"structure","members":{"AppMonitor":{"type":"structure","members":{"AppMonitorConfiguration":{"shape":"Sv"},"Created":{},"CustomEvents":{"shape":"S15"},"DataStorage":{"type":"structure","members":{"CwLog":{"type":"structure","members":{"CwLogEnabled":{"type":"boolean"},"CwLogGroup":{}}}}},"Domain":{},"Id":{},"LastModified":{},"Name":{},"State":{},"Tags":{"shape":"S18"}}}}}},"GetAppMonitorData":{"http":{"requestUri":"/appmonitor/{Name}/data","responseCode":200},"input":{"type":"structure","required":["Name","TimeRange"],"members":{"Filters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"Name":{"location":"uri","locationName":"Name"},"NextToken":{},"TimeRange":{"type":"structure","required":["After"],"members":{"After":{"type":"long"},"Before":{"type":"long"}}}}},"output":{"type":"structure","members":{"Events":{"type":"list","member":{}},"NextToken":{}}}},"ListAppMonitors":{"http":{"requestUri":"/appmonitors","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"AppMonitorSummaries":{"type":"list","member":{"type":"structure","members":{"Created":{},"Id":{},"LastModified":{},"Name":{},"State":{}}}},"NextToken":{}}}},"ListRumMetricsDestinations":{"http":{"method":"GET","requestUri":"/rummetrics/{AppMonitorName}/metricsdestination","responseCode":200},"input":{"type":"structure","required":["AppMonitorName"],"members":{"AppMonitorName":{"location":"uri","locationName":"AppMonitorName"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"Destinations":{"type":"list","member":{"type":"structure","members":{"Destination":{},"DestinationArn":{},"IamRoleArn":{}}}},"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":["ResourceArn","Tags"],"members":{"ResourceArn":{},"Tags":{"shape":"S18"}}}},"PutRumEvents":{"http":{"requestUri":"/appmonitors/{Id}/","responseCode":200},"input":{"type":"structure","required":["AppMonitorDetails","BatchId","Id","RumEvents","UserDetails"],"members":{"AppMonitorDetails":{"type":"structure","members":{"id":{},"name":{},"version":{}}},"BatchId":{},"Id":{"location":"uri","locationName":"Id"},"RumEvents":{"type":"list","member":{"type":"structure","required":["details","id","timestamp","type"],"members":{"details":{"jsonvalue":true},"id":{},"metadata":{"jsonvalue":true},"timestamp":{"type":"timestamp"},"type":{}}}},"UserDetails":{"type":"structure","members":{"sessionId":{},"userId":{}}}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"dataplane."}},"PutRumMetricsDestination":{"http":{"requestUri":"/rummetrics/{AppMonitorName}/metricsdestination","responseCode":200},"input":{"type":"structure","required":["AppMonitorName","Destination"],"members":{"AppMonitorName":{"location":"uri","locationName":"AppMonitorName"},"Destination":{},"DestinationArn":{},"IamRoleArn":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"TagResource":{"http":{"requestUri":"/tags/{ResourceArn}","responseCode":200},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"Tags":{"shape":"S18"}}},"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},"UpdateAppMonitor":{"http":{"method":"PATCH","requestUri":"/appmonitor/{Name}","responseCode":200},"input":{"type":"structure","required":["Name"],"members":{"AppMonitorConfiguration":{"shape":"Sv"},"CustomEvents":{"shape":"S15"},"CwLogEnabled":{"type":"boolean"},"Domain":{},"Name":{"location":"uri","locationName":"Name"}}},"output":{"type":"structure","members":{}}},"UpdateRumMetricDefinition":{"http":{"method":"PATCH","requestUri":"/rummetrics/{AppMonitorName}/metrics","responseCode":200},"input":{"type":"structure","required":["AppMonitorName","Destination","MetricDefinition","MetricDefinitionId"],"members":{"AppMonitorName":{"location":"uri","locationName":"AppMonitorName"},"Destination":{},"DestinationArn":{},"MetricDefinition":{"shape":"S6"},"MetricDefinitionId":{}}},"output":{"type":"structure","members":{}},"idempotent":true}},"shapes":{"S6":{"type":"structure","required":["Name"],"members":{"DimensionKeys":{"shape":"S7"},"EventPattern":{},"Name":{},"Namespace":{},"UnitLabel":{},"ValueKey":{}}},"S7":{"type":"map","key":{},"value":{}},"Sj":{"type":"list","member":{"type":"structure","required":["MetricDefinitionId","Name"],"members":{"DimensionKeys":{"shape":"S7"},"EventPattern":{},"MetricDefinitionId":{},"Name":{},"Namespace":{},"UnitLabel":{},"ValueKey":{}}}},"Sn":{"type":"list","member":{}},"Sv":{"type":"structure","members":{"AllowCookies":{"type":"boolean"},"EnableXRay":{"type":"boolean"},"ExcludedPages":{"shape":"Sx"},"FavoritePages":{"type":"list","member":{}},"GuestRoleArn":{},"IdentityPoolId":{},"IncludedPages":{"shape":"Sx"},"SessionSampleRate":{"type":"double"},"Telemetries":{"type":"list","member":{}}}},"Sx":{"type":"list","member":{}},"S15":{"type":"structure","members":{"Status":{}}},"S18":{"type":"map","key":{},"value":{}}}} /***/ }), /* 1137 */ @@ -61164,7 +61164,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 1220 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2022-08-03","endpointPrefix":"voice-chime","protocol":"rest-json","serviceFullName":"Amazon Chime SDK Voice","serviceId":"Chime SDK Voice","signatureVersion":"v4","signingName":"chime","uid":"chime-sdk-voice-2022-08-03"},"operations":{"AssociatePhoneNumbersWithVoiceConnector":{"http":{"requestUri":"/voice-connectors/{voiceConnectorId}?operation=associate-phone-numbers","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId","E164PhoneNumbers"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"E164PhoneNumbers":{"shape":"S3"},"ForceAssociate":{"type":"boolean"}}},"output":{"type":"structure","members":{"PhoneNumberErrors":{"shape":"S7"}}}},"AssociatePhoneNumbersWithVoiceConnectorGroup":{"http":{"requestUri":"/voice-connector-groups/{voiceConnectorGroupId}?operation=associate-phone-numbers","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorGroupId","E164PhoneNumbers"],"members":{"VoiceConnectorGroupId":{"location":"uri","locationName":"voiceConnectorGroupId"},"E164PhoneNumbers":{"shape":"S3"},"ForceAssociate":{"type":"boolean"}}},"output":{"type":"structure","members":{"PhoneNumberErrors":{"shape":"S7"}}}},"BatchDeletePhoneNumber":{"http":{"requestUri":"/phone-numbers?operation=batch-delete","responseCode":200},"input":{"type":"structure","required":["PhoneNumberIds"],"members":{"PhoneNumberIds":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"PhoneNumberErrors":{"shape":"S7"}}}},"BatchUpdatePhoneNumber":{"http":{"requestUri":"/phone-numbers?operation=batch-update","responseCode":200},"input":{"type":"structure","required":["UpdatePhoneNumberRequestItems"],"members":{"UpdatePhoneNumberRequestItems":{"type":"list","member":{"type":"structure","required":["PhoneNumberId"],"members":{"PhoneNumberId":{"shape":"S9"},"ProductType":{},"CallingName":{"shape":"Sl"}}}}}},"output":{"type":"structure","members":{"PhoneNumberErrors":{"shape":"S7"}}}},"CreatePhoneNumberOrder":{"http":{"requestUri":"/phone-number-orders","responseCode":201},"input":{"type":"structure","required":["ProductType","E164PhoneNumbers"],"members":{"ProductType":{},"E164PhoneNumbers":{"shape":"S3"}}},"output":{"type":"structure","members":{"PhoneNumberOrder":{"shape":"Sp"}}}},"CreateProxySession":{"http":{"requestUri":"/voice-connectors/{voiceConnectorId}/proxy-sessions","responseCode":201},"input":{"type":"structure","required":["ParticipantPhoneNumbers","Capabilities","VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"ParticipantPhoneNumbers":{"type":"list","member":{"shape":"S4"}},"Name":{"type":"string","sensitive":true},"ExpiryMinutes":{"type":"integer"},"Capabilities":{"shape":"S12"},"NumberSelectionBehavior":{},"GeoMatchLevel":{},"GeoMatchParams":{"shape":"S16"}}},"output":{"type":"structure","members":{"ProxySession":{"shape":"S1a"}}}},"CreateSipMediaApplication":{"http":{"requestUri":"/sip-media-applications","responseCode":201},"input":{"type":"structure","required":["AwsRegion","Name","Endpoints"],"members":{"AwsRegion":{},"Name":{},"Endpoints":{"shape":"S1h"}}},"output":{"type":"structure","members":{"SipMediaApplication":{"shape":"S1l"}}}},"CreateSipMediaApplicationCall":{"http":{"requestUri":"/sip-media-applications/{sipMediaApplicationId}/calls","responseCode":201},"input":{"type":"structure","required":["FromPhoneNumber","ToPhoneNumber","SipMediaApplicationId"],"members":{"FromPhoneNumber":{"shape":"S4"},"ToPhoneNumber":{"shape":"S4"},"SipMediaApplicationId":{"location":"uri","locationName":"sipMediaApplicationId"},"SipHeaders":{"type":"map","key":{"shape":"S1o"},"value":{"shape":"S1o"}},"ArgumentsMap":{"type":"map","key":{"shape":"S1o"},"value":{"shape":"S1o"}}}},"output":{"type":"structure","members":{"SipMediaApplicationCall":{"shape":"S1r"}}}},"CreateSipRule":{"http":{"requestUri":"/sip-rules","responseCode":201},"input":{"type":"structure","required":["Name","TriggerType","TriggerValue"],"members":{"Name":{},"TriggerType":{},"TriggerValue":{},"Disabled":{"type":"boolean"},"TargetApplications":{"shape":"S1v"}}},"output":{"type":"structure","members":{"SipRule":{"shape":"S1z"}}}},"CreateVoiceConnector":{"http":{"requestUri":"/voice-connectors","responseCode":201},"input":{"type":"structure","required":["Name","RequireEncryption"],"members":{"Name":{},"AwsRegion":{},"RequireEncryption":{"type":"boolean"}}},"output":{"type":"structure","members":{"VoiceConnector":{"shape":"S25"}}}},"CreateVoiceConnectorGroup":{"http":{"requestUri":"/voice-connector-groups","responseCode":201},"input":{"type":"structure","required":["Name"],"members":{"Name":{},"VoiceConnectorItems":{"shape":"S28"}}},"output":{"type":"structure","members":{"VoiceConnectorGroup":{"shape":"S2c"}}}},"DeletePhoneNumber":{"http":{"method":"DELETE","requestUri":"/phone-numbers/{phoneNumberId}","responseCode":204},"input":{"type":"structure","required":["PhoneNumberId"],"members":{"PhoneNumberId":{"shape":"S9","location":"uri","locationName":"phoneNumberId"}}}},"DeleteProxySession":{"http":{"method":"DELETE","requestUri":"/voice-connectors/{voiceConnectorId}/proxy-sessions/{proxySessionId}","responseCode":204},"input":{"type":"structure","required":["VoiceConnectorId","ProxySessionId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"ProxySessionId":{"location":"uri","locationName":"proxySessionId"}}}},"DeleteSipMediaApplication":{"http":{"method":"DELETE","requestUri":"/sip-media-applications/{sipMediaApplicationId}","responseCode":204},"input":{"type":"structure","required":["SipMediaApplicationId"],"members":{"SipMediaApplicationId":{"location":"uri","locationName":"sipMediaApplicationId"}}}},"DeleteSipRule":{"http":{"method":"DELETE","requestUri":"/sip-rules/{sipRuleId}","responseCode":204},"input":{"type":"structure","required":["SipRuleId"],"members":{"SipRuleId":{"location":"uri","locationName":"sipRuleId"}}}},"DeleteVoiceConnector":{"http":{"method":"DELETE","requestUri":"/voice-connectors/{voiceConnectorId}","responseCode":204},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}}},"DeleteVoiceConnectorEmergencyCallingConfiguration":{"http":{"method":"DELETE","requestUri":"/voice-connectors/{voiceConnectorId}/emergency-calling-configuration","responseCode":204},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}}},"DeleteVoiceConnectorGroup":{"http":{"method":"DELETE","requestUri":"/voice-connector-groups/{voiceConnectorGroupId}","responseCode":204},"input":{"type":"structure","required":["VoiceConnectorGroupId"],"members":{"VoiceConnectorGroupId":{"location":"uri","locationName":"voiceConnectorGroupId"}}}},"DeleteVoiceConnectorOrigination":{"http":{"method":"DELETE","requestUri":"/voice-connectors/{voiceConnectorId}/origination","responseCode":204},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}}},"DeleteVoiceConnectorProxy":{"http":{"method":"DELETE","requestUri":"/voice-connectors/{voiceConnectorId}/programmable-numbers/proxy","responseCode":204},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}}},"DeleteVoiceConnectorStreamingConfiguration":{"http":{"method":"DELETE","requestUri":"/voice-connectors/{voiceConnectorId}/streaming-configuration","responseCode":204},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}}},"DeleteVoiceConnectorTermination":{"http":{"method":"DELETE","requestUri":"/voice-connectors/{voiceConnectorId}/termination","responseCode":204},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}}},"DeleteVoiceConnectorTerminationCredentials":{"http":{"requestUri":"/voice-connectors/{voiceConnectorId}/termination/credentials?operation=delete","responseCode":204},"input":{"type":"structure","required":["Usernames","VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"Usernames":{"shape":"S2p"}}}},"DisassociatePhoneNumbersFromVoiceConnector":{"http":{"requestUri":"/voice-connectors/{voiceConnectorId}?operation=disassociate-phone-numbers","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId","E164PhoneNumbers"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"E164PhoneNumbers":{"shape":"S3"}}},"output":{"type":"structure","members":{"PhoneNumberErrors":{"shape":"S7"}}}},"DisassociatePhoneNumbersFromVoiceConnectorGroup":{"http":{"requestUri":"/voice-connector-groups/{voiceConnectorGroupId}?operation=disassociate-phone-numbers","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorGroupId","E164PhoneNumbers"],"members":{"VoiceConnectorGroupId":{"location":"uri","locationName":"voiceConnectorGroupId"},"E164PhoneNumbers":{"shape":"S3"}}},"output":{"type":"structure","members":{"PhoneNumberErrors":{"shape":"S7"}}}},"GetGlobalSettings":{"http":{"method":"GET","requestUri":"/settings","responseCode":200},"output":{"type":"structure","members":{"VoiceConnector":{"shape":"S2v"}}}},"GetPhoneNumber":{"http":{"method":"GET","requestUri":"/phone-numbers/{phoneNumberId}"},"input":{"type":"structure","required":["PhoneNumberId"],"members":{"PhoneNumberId":{"shape":"S9","location":"uri","locationName":"phoneNumberId"}}},"output":{"type":"structure","members":{"PhoneNumber":{"shape":"S2y"}}}},"GetPhoneNumberOrder":{"http":{"method":"GET","requestUri":"/phone-number-orders/{phoneNumberOrderId}","responseCode":200},"input":{"type":"structure","required":["PhoneNumberOrderId"],"members":{"PhoneNumberOrderId":{"location":"uri","locationName":"phoneNumberOrderId"}}},"output":{"type":"structure","members":{"PhoneNumberOrder":{"shape":"Sp"}}}},"GetPhoneNumberSettings":{"http":{"method":"GET","requestUri":"/settings/phone-number","responseCode":200},"output":{"type":"structure","members":{"CallingName":{"shape":"Sl"},"CallingNameUpdatedTimestamp":{"shape":"Sw"}}}},"GetProxySession":{"http":{"method":"GET","requestUri":"/voice-connectors/{voiceConnectorId}/proxy-sessions/{proxySessionId}","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId","ProxySessionId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"ProxySessionId":{"location":"uri","locationName":"proxySessionId"}}},"output":{"type":"structure","members":{"ProxySession":{"shape":"S1a"}}}},"GetSipMediaApplication":{"http":{"method":"GET","requestUri":"/sip-media-applications/{sipMediaApplicationId}","responseCode":200},"input":{"type":"structure","required":["SipMediaApplicationId"],"members":{"SipMediaApplicationId":{"location":"uri","locationName":"sipMediaApplicationId"}}},"output":{"type":"structure","members":{"SipMediaApplication":{"shape":"S1l"}}}},"GetSipMediaApplicationAlexaSkillConfiguration":{"http":{"method":"GET","requestUri":"/sip-media-applications/{sipMediaApplicationId}/alexa-skill-configuration","responseCode":200},"input":{"type":"structure","required":["SipMediaApplicationId"],"members":{"SipMediaApplicationId":{"location":"uri","locationName":"sipMediaApplicationId"}}},"output":{"type":"structure","members":{"SipMediaApplicationAlexaSkillConfiguration":{"shape":"S3g"}}}},"GetSipMediaApplicationLoggingConfiguration":{"http":{"method":"GET","requestUri":"/sip-media-applications/{sipMediaApplicationId}/logging-configuration","responseCode":200},"input":{"type":"structure","required":["SipMediaApplicationId"],"members":{"SipMediaApplicationId":{"location":"uri","locationName":"sipMediaApplicationId"}}},"output":{"type":"structure","members":{"SipMediaApplicationLoggingConfiguration":{"shape":"S3m"}}}},"GetSipRule":{"http":{"method":"GET","requestUri":"/sip-rules/{sipRuleId}","responseCode":200},"input":{"type":"structure","required":["SipRuleId"],"members":{"SipRuleId":{"location":"uri","locationName":"sipRuleId"}}},"output":{"type":"structure","members":{"SipRule":{"shape":"S1z"}}}},"GetVoiceConnector":{"http":{"method":"GET","requestUri":"/voice-connectors/{voiceConnectorId}","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}},"output":{"type":"structure","members":{"VoiceConnector":{"shape":"S25"}}}},"GetVoiceConnectorEmergencyCallingConfiguration":{"http":{"method":"GET","requestUri":"/voice-connectors/{voiceConnectorId}/emergency-calling-configuration","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}},"output":{"type":"structure","members":{"EmergencyCallingConfiguration":{"shape":"S3t"}}}},"GetVoiceConnectorGroup":{"http":{"method":"GET","requestUri":"/voice-connector-groups/{voiceConnectorGroupId}","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorGroupId"],"members":{"VoiceConnectorGroupId":{"location":"uri","locationName":"voiceConnectorGroupId"}}},"output":{"type":"structure","members":{"VoiceConnectorGroup":{"shape":"S2c"}}}},"GetVoiceConnectorLoggingConfiguration":{"http":{"method":"GET","requestUri":"/voice-connectors/{voiceConnectorId}/logging-configuration","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}},"output":{"type":"structure","members":{"LoggingConfiguration":{"shape":"S40"}}}},"GetVoiceConnectorOrigination":{"http":{"method":"GET","requestUri":"/voice-connectors/{voiceConnectorId}/origination","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}},"output":{"type":"structure","members":{"Origination":{"shape":"S43"}}}},"GetVoiceConnectorProxy":{"http":{"method":"GET","requestUri":"/voice-connectors/{voiceConnectorId}/programmable-numbers/proxy","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}},"output":{"type":"structure","members":{"Proxy":{"shape":"S4c"}}}},"GetVoiceConnectorStreamingConfiguration":{"http":{"method":"GET","requestUri":"/voice-connectors/{voiceConnectorId}/streaming-configuration","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}},"output":{"type":"structure","members":{"StreamingConfiguration":{"shape":"S4h"}}}},"GetVoiceConnectorTermination":{"http":{"method":"GET","requestUri":"/voice-connectors/{voiceConnectorId}/termination","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}},"output":{"type":"structure","members":{"Termination":{"shape":"S4o"}}}},"GetVoiceConnectorTerminationHealth":{"http":{"method":"GET","requestUri":"/voice-connectors/{voiceConnectorId}/termination/health","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}},"output":{"type":"structure","members":{"TerminationHealth":{"type":"structure","members":{"Timestamp":{"shape":"Sw"},"Source":{}}}}}},"ListAvailableVoiceConnectorRegions":{"http":{"method":"GET","requestUri":"/voice-connector-regions","responseCode":200},"output":{"type":"structure","members":{"VoiceConnectorRegions":{"type":"list","member":{}}}}},"ListPhoneNumberOrders":{"http":{"method":"GET","requestUri":"/phone-number-orders","responseCode":200},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"}}},"output":{"type":"structure","members":{"PhoneNumberOrders":{"type":"list","member":{"shape":"Sp"}},"NextToken":{}}}},"ListPhoneNumbers":{"http":{"method":"GET","requestUri":"/phone-numbers"},"input":{"type":"structure","members":{"Status":{"location":"querystring","locationName":"status"},"ProductType":{"location":"querystring","locationName":"product-type"},"FilterName":{"location":"querystring","locationName":"filter-name"},"FilterValue":{"location":"querystring","locationName":"filter-value"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"},"NextToken":{"location":"querystring","locationName":"next-token"}}},"output":{"type":"structure","members":{"PhoneNumbers":{"type":"list","member":{"shape":"S2y"}},"NextToken":{}}}},"ListProxySessions":{"http":{"method":"GET","requestUri":"/voice-connectors/{voiceConnectorId}/proxy-sessions","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"Status":{"location":"querystring","locationName":"status"},"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"}}},"output":{"type":"structure","members":{"ProxySessions":{"type":"list","member":{"shape":"S1a"}},"NextToken":{}}}},"ListSipMediaApplications":{"http":{"method":"GET","requestUri":"/sip-media-applications","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"},"NextToken":{"location":"querystring","locationName":"next-token"}}},"output":{"type":"structure","members":{"SipMediaApplications":{"type":"list","member":{"shape":"S1l"}},"NextToken":{}}}},"ListSipRules":{"http":{"method":"GET","requestUri":"/sip-rules","responseCode":200},"input":{"type":"structure","members":{"SipMediaApplicationId":{"location":"querystring","locationName":"sip-media-application"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"},"NextToken":{"location":"querystring","locationName":"next-token"}}},"output":{"type":"structure","members":{"SipRules":{"type":"list","member":{"shape":"S1z"}},"NextToken":{}}}},"ListSupportedPhoneNumberCountries":{"http":{"method":"GET","requestUri":"/phone-number-countries","responseCode":200},"input":{"type":"structure","required":["ProductType"],"members":{"ProductType":{"location":"querystring","locationName":"product-type"}}},"output":{"type":"structure","members":{"PhoneNumberCountries":{"type":"list","member":{"type":"structure","members":{"CountryCode":{},"SupportedPhoneNumberTypes":{"type":"list","member":{}}}}}}}},"ListVoiceConnectorGroups":{"http":{"method":"GET","requestUri":"/voice-connector-groups","responseCode":200},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"}}},"output":{"type":"structure","members":{"VoiceConnectorGroups":{"type":"list","member":{"shape":"S2c"}},"NextToken":{}}}},"ListVoiceConnectorTerminationCredentials":{"http":{"method":"GET","requestUri":"/voice-connectors/{voiceConnectorId}/termination/credentials","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}},"output":{"type":"structure","members":{"Usernames":{"shape":"S2p"}}}},"ListVoiceConnectors":{"http":{"method":"GET","requestUri":"/voice-connectors","responseCode":200},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"}}},"output":{"type":"structure","members":{"VoiceConnectors":{"type":"list","member":{"shape":"S25"}},"NextToken":{}}}},"PutSipMediaApplicationAlexaSkillConfiguration":{"http":{"method":"PUT","requestUri":"/sip-media-applications/{sipMediaApplicationId}/alexa-skill-configuration","responseCode":200},"input":{"type":"structure","required":["SipMediaApplicationId"],"members":{"SipMediaApplicationId":{"location":"uri","locationName":"sipMediaApplicationId"},"SipMediaApplicationAlexaSkillConfiguration":{"shape":"S3g"}}},"output":{"type":"structure","members":{"SipMediaApplicationAlexaSkillConfiguration":{"shape":"S3g"}}}},"PutSipMediaApplicationLoggingConfiguration":{"http":{"method":"PUT","requestUri":"/sip-media-applications/{sipMediaApplicationId}/logging-configuration","responseCode":200},"input":{"type":"structure","required":["SipMediaApplicationId"],"members":{"SipMediaApplicationId":{"location":"uri","locationName":"sipMediaApplicationId"},"SipMediaApplicationLoggingConfiguration":{"shape":"S3m"}}},"output":{"type":"structure","members":{"SipMediaApplicationLoggingConfiguration":{"shape":"S3m"}}}},"PutVoiceConnectorEmergencyCallingConfiguration":{"http":{"method":"PUT","requestUri":"/voice-connectors/{voiceConnectorId}/emergency-calling-configuration","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId","EmergencyCallingConfiguration"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"EmergencyCallingConfiguration":{"shape":"S3t"}}},"output":{"type":"structure","members":{"EmergencyCallingConfiguration":{"shape":"S3t"}}}},"PutVoiceConnectorLoggingConfiguration":{"http":{"method":"PUT","requestUri":"/voice-connectors/{voiceConnectorId}/logging-configuration","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId","LoggingConfiguration"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"LoggingConfiguration":{"shape":"S40"}}},"output":{"type":"structure","members":{"LoggingConfiguration":{"shape":"S40"}}}},"PutVoiceConnectorOrigination":{"http":{"method":"PUT","requestUri":"/voice-connectors/{voiceConnectorId}/origination","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId","Origination"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"Origination":{"shape":"S43"}}},"output":{"type":"structure","members":{"Origination":{"shape":"S43"}}}},"PutVoiceConnectorProxy":{"http":{"method":"PUT","requestUri":"/voice-connectors/{voiceConnectorId}/programmable-numbers/proxy"},"input":{"type":"structure","required":["DefaultSessionExpiryMinutes","PhoneNumberPoolCountries","VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"DefaultSessionExpiryMinutes":{"type":"integer"},"PhoneNumberPoolCountries":{"type":"list","member":{}},"FallBackPhoneNumber":{"shape":"S4"},"Disabled":{"type":"boolean"}}},"output":{"type":"structure","members":{"Proxy":{"shape":"S4c"}}}},"PutVoiceConnectorStreamingConfiguration":{"http":{"method":"PUT","requestUri":"/voice-connectors/{voiceConnectorId}/streaming-configuration","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId","StreamingConfiguration"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"StreamingConfiguration":{"shape":"S4h"}}},"output":{"type":"structure","members":{"StreamingConfiguration":{"shape":"S4h"}}}},"PutVoiceConnectorTermination":{"http":{"method":"PUT","requestUri":"/voice-connectors/{voiceConnectorId}/termination","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId","Termination"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"Termination":{"shape":"S4o"}}},"output":{"type":"structure","members":{"Termination":{"shape":"S4o"}}}},"PutVoiceConnectorTerminationCredentials":{"http":{"requestUri":"/voice-connectors/{voiceConnectorId}/termination/credentials?operation=put","responseCode":204},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"Credentials":{"type":"list","member":{"type":"structure","members":{"Username":{"shape":"S1o"},"Password":{"shape":"S1o"}}}}}}},"RestorePhoneNumber":{"http":{"requestUri":"/phone-numbers/{phoneNumberId}?operation=restore","responseCode":200},"input":{"type":"structure","required":["PhoneNumberId"],"members":{"PhoneNumberId":{"shape":"S9","location":"uri","locationName":"phoneNumberId"}}},"output":{"type":"structure","members":{"PhoneNumber":{"shape":"S2y"}}}},"SearchAvailablePhoneNumbers":{"http":{"method":"GET","requestUri":"/search?type=phone-numbers"},"input":{"type":"structure","members":{"AreaCode":{"location":"querystring","locationName":"area-code"},"City":{"location":"querystring","locationName":"city"},"Country":{"location":"querystring","locationName":"country"},"State":{"location":"querystring","locationName":"state"},"TollFreePrefix":{"location":"querystring","locationName":"toll-free-prefix"},"PhoneNumberType":{"location":"querystring","locationName":"phone-number-type"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"},"NextToken":{"location":"querystring","locationName":"next-token"}}},"output":{"type":"structure","members":{"E164PhoneNumbers":{"shape":"S3"},"NextToken":{}}}},"UpdateGlobalSettings":{"http":{"method":"PUT","requestUri":"/settings","responseCode":204},"input":{"type":"structure","members":{"VoiceConnector":{"shape":"S2v"}}}},"UpdatePhoneNumber":{"http":{"requestUri":"/phone-numbers/{phoneNumberId}","responseCode":200},"input":{"type":"structure","required":["PhoneNumberId"],"members":{"PhoneNumberId":{"shape":"S9","location":"uri","locationName":"phoneNumberId"},"ProductType":{},"CallingName":{"shape":"Sl"}}},"output":{"type":"structure","members":{"PhoneNumber":{"shape":"S2y"}}}},"UpdatePhoneNumberSettings":{"http":{"method":"PUT","requestUri":"/settings/phone-number","responseCode":204},"input":{"type":"structure","required":["CallingName"],"members":{"CallingName":{"shape":"Sl"}}}},"UpdateProxySession":{"http":{"requestUri":"/voice-connectors/{voiceConnectorId}/proxy-sessions/{proxySessionId}","responseCode":201},"input":{"type":"structure","required":["Capabilities","VoiceConnectorId","ProxySessionId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"ProxySessionId":{"location":"uri","locationName":"proxySessionId"},"Capabilities":{"shape":"S12"},"ExpiryMinutes":{"type":"integer"}}},"output":{"type":"structure","members":{"ProxySession":{"shape":"S1a"}}}},"UpdateSipMediaApplication":{"http":{"method":"PUT","requestUri":"/sip-media-applications/{sipMediaApplicationId}","responseCode":200},"input":{"type":"structure","required":["SipMediaApplicationId"],"members":{"SipMediaApplicationId":{"location":"uri","locationName":"sipMediaApplicationId"},"Name":{},"Endpoints":{"shape":"S1h"}}},"output":{"type":"structure","members":{"SipMediaApplication":{"shape":"S1l"}}}},"UpdateSipMediaApplicationCall":{"http":{"requestUri":"/sip-media-applications/{sipMediaApplicationId}/calls/{transactionId}","responseCode":202},"input":{"type":"structure","required":["SipMediaApplicationId","TransactionId","Arguments"],"members":{"SipMediaApplicationId":{"location":"uri","locationName":"sipMediaApplicationId"},"TransactionId":{"location":"uri","locationName":"transactionId"},"Arguments":{"type":"map","key":{"shape":"S1o"},"value":{"shape":"S1o"}}}},"output":{"type":"structure","members":{"SipMediaApplicationCall":{"shape":"S1r"}}}},"UpdateSipRule":{"http":{"method":"PUT","requestUri":"/sip-rules/{sipRuleId}","responseCode":202},"input":{"type":"structure","required":["SipRuleId","Name"],"members":{"SipRuleId":{"location":"uri","locationName":"sipRuleId"},"Name":{},"Disabled":{"type":"boolean"},"TargetApplications":{"shape":"S1v"}}},"output":{"type":"structure","members":{"SipRule":{"shape":"S1z"}}}},"UpdateVoiceConnector":{"http":{"method":"PUT","requestUri":"/voice-connectors/{voiceConnectorId}","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId","Name","RequireEncryption"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"Name":{},"RequireEncryption":{"type":"boolean"}}},"output":{"type":"structure","members":{"VoiceConnector":{"shape":"S25"}}}},"UpdateVoiceConnectorGroup":{"http":{"method":"PUT","requestUri":"/voice-connector-groups/{voiceConnectorGroupId}","responseCode":202},"input":{"type":"structure","required":["VoiceConnectorGroupId","Name","VoiceConnectorItems"],"members":{"VoiceConnectorGroupId":{"location":"uri","locationName":"voiceConnectorGroupId"},"Name":{},"VoiceConnectorItems":{"shape":"S28"}}},"output":{"type":"structure","members":{"VoiceConnectorGroup":{"shape":"S2c"}}}},"ValidateE911Address":{"http":{"requestUri":"/emergency-calling/address","responseCode":202},"input":{"type":"structure","required":["AwsAccountId","StreetNumber","StreetInfo","City","State","Country","PostalCode"],"members":{"AwsAccountId":{},"StreetNumber":{"shape":"S9"},"StreetInfo":{"shape":"S9"},"City":{"shape":"S9"},"State":{"shape":"S9"},"Country":{"shape":"S9"},"PostalCode":{"shape":"S9"}}},"output":{"type":"structure","members":{"ValidationResult":{"type":"integer"},"AddressExternalId":{},"Address":{"type":"structure","members":{"streetName":{"shape":"S9"},"streetSuffix":{"shape":"S9"},"postDirectional":{"shape":"S9"},"preDirectional":{"shape":"S9"},"streetNumber":{"shape":"S9"},"city":{"shape":"S9"},"state":{"shape":"S9"},"postalCode":{"shape":"S9"},"postalCodePlus4":{"shape":"S9"},"country":{"shape":"S9"}}},"CandidateAddressList":{"type":"list","member":{"type":"structure","members":{"streetInfo":{"shape":"S9"},"streetNumber":{"shape":"S9"},"city":{"shape":"S9"},"state":{"shape":"S9"},"postalCode":{"shape":"S9"},"postalCodePlus4":{"shape":"S9"},"country":{"shape":"S9"}}}}}}}},"shapes":{"S3":{"type":"list","member":{"shape":"S4"}},"S4":{"type":"string","sensitive":true},"S7":{"type":"list","member":{"type":"structure","members":{"PhoneNumberId":{"shape":"S9"},"ErrorCode":{},"ErrorMessage":{}}}},"S9":{"type":"string","sensitive":true},"Sl":{"type":"string","sensitive":true},"Sp":{"type":"structure","members":{"PhoneNumberOrderId":{},"ProductType":{},"Status":{},"OrderType":{},"OrderedPhoneNumbers":{"type":"list","member":{"type":"structure","members":{"E164PhoneNumber":{"shape":"S4"},"Status":{}}}},"CreatedTimestamp":{"shape":"Sw"},"UpdatedTimestamp":{"shape":"Sw"}}},"Sw":{"type":"timestamp","timestampFormat":"iso8601"},"S12":{"type":"list","member":{}},"S16":{"type":"structure","required":["Country","AreaCode"],"members":{"Country":{},"AreaCode":{}}},"S1a":{"type":"structure","members":{"VoiceConnectorId":{},"ProxySessionId":{},"Name":{},"Status":{},"ExpiryMinutes":{"type":"integer"},"Capabilities":{"shape":"S12"},"CreatedTimestamp":{"shape":"Sw"},"UpdatedTimestamp":{"shape":"Sw"},"EndedTimestamp":{"shape":"Sw"},"Participants":{"type":"list","member":{"type":"structure","members":{"PhoneNumber":{"shape":"S4"},"ProxyPhoneNumber":{"shape":"S4"}}}},"NumberSelectionBehavior":{},"GeoMatchLevel":{},"GeoMatchParams":{"shape":"S16"}}},"S1h":{"type":"list","member":{"type":"structure","members":{"LambdaArn":{"type":"string","sensitive":true}}}},"S1l":{"type":"structure","members":{"SipMediaApplicationId":{},"AwsRegion":{},"Name":{},"Endpoints":{"shape":"S1h"},"CreatedTimestamp":{"shape":"Sw"},"UpdatedTimestamp":{"shape":"Sw"}}},"S1o":{"type":"string","sensitive":true},"S1r":{"type":"structure","members":{"TransactionId":{}}},"S1v":{"type":"list","member":{"type":"structure","members":{"SipMediaApplicationId":{},"Priority":{"type":"integer"},"AwsRegion":{}}}},"S1z":{"type":"structure","members":{"SipRuleId":{},"Name":{},"Disabled":{"type":"boolean"},"TriggerType":{},"TriggerValue":{},"TargetApplications":{"shape":"S1v"},"CreatedTimestamp":{"shape":"Sw"},"UpdatedTimestamp":{"shape":"Sw"}}},"S25":{"type":"structure","members":{"VoiceConnectorId":{},"AwsRegion":{},"Name":{},"OutboundHostName":{},"RequireEncryption":{"type":"boolean"},"CreatedTimestamp":{"shape":"Sw"},"UpdatedTimestamp":{"shape":"Sw"},"VoiceConnectorArn":{}}},"S28":{"type":"list","member":{"type":"structure","required":["VoiceConnectorId","Priority"],"members":{"VoiceConnectorId":{},"Priority":{"type":"integer"}}}},"S2c":{"type":"structure","members":{"VoiceConnectorGroupId":{},"Name":{},"VoiceConnectorItems":{"shape":"S28"},"CreatedTimestamp":{"shape":"Sw"},"UpdatedTimestamp":{"shape":"Sw"},"VoiceConnectorGroupArn":{}}},"S2p":{"type":"list","member":{"shape":"S1o"}},"S2v":{"type":"structure","members":{"CdrBucket":{}}},"S2y":{"type":"structure","members":{"PhoneNumberId":{"shape":"S9"},"E164PhoneNumber":{"shape":"S4"},"Country":{},"Type":{},"ProductType":{},"Status":{},"Capabilities":{"type":"structure","members":{"InboundCall":{"type":"boolean"},"OutboundCall":{"type":"boolean"},"InboundSMS":{"type":"boolean"},"OutboundSMS":{"type":"boolean"},"InboundMMS":{"type":"boolean"},"OutboundMMS":{"type":"boolean"}}},"Associations":{"type":"list","member":{"type":"structure","members":{"Value":{},"Name":{},"AssociatedTimestamp":{"shape":"Sw"}}}},"CallingName":{"shape":"Sl"},"CallingNameStatus":{},"CreatedTimestamp":{"shape":"Sw"},"UpdatedTimestamp":{"shape":"Sw"},"DeletionTimestamp":{"shape":"Sw"},"OrderId":{}}},"S3g":{"type":"structure","required":["AlexaSkillStatus","AlexaSkillIds"],"members":{"AlexaSkillStatus":{},"AlexaSkillIds":{"type":"list","member":{"type":"string","sensitive":true}}}},"S3m":{"type":"structure","members":{"EnableSipMediaApplicationMessageLogs":{"type":"boolean"}}},"S3t":{"type":"structure","members":{"DNIS":{"type":"list","member":{"type":"structure","required":["EmergencyPhoneNumber","CallingCountry"],"members":{"EmergencyPhoneNumber":{"shape":"S4"},"TestPhoneNumber":{"shape":"S4"},"CallingCountry":{}}}}}},"S40":{"type":"structure","members":{"EnableSIPLogs":{"type":"boolean"}}},"S43":{"type":"structure","members":{"Routes":{"type":"list","member":{"type":"structure","members":{"Host":{},"Port":{"type":"integer"},"Protocol":{},"Priority":{"type":"integer"},"Weight":{"type":"integer"}}}},"Disabled":{"type":"boolean"}}},"S4c":{"type":"structure","members":{"DefaultSessionExpiryMinutes":{"type":"integer"},"Disabled":{"type":"boolean"},"FallBackPhoneNumber":{"shape":"S4"},"PhoneNumberCountries":{"shape":"S4e"}}},"S4e":{"type":"list","member":{}},"S4h":{"type":"structure","required":["DataRetentionInHours","Disabled"],"members":{"DataRetentionInHours":{"type":"integer"},"Disabled":{"type":"boolean"},"StreamingNotificationTargets":{"type":"list","member":{"type":"structure","members":{"NotificationTarget":{}}}}}},"S4o":{"type":"structure","members":{"CpsLimit":{"type":"integer"},"DefaultPhoneNumber":{"shape":"S4"},"CallingRegions":{"type":"list","member":{}},"CidrAllowedList":{"shape":"S4e"},"Disabled":{"type":"boolean"}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2022-08-03","endpointPrefix":"voice-chime","protocol":"rest-json","serviceFullName":"Amazon Chime SDK Voice","serviceId":"Chime SDK Voice","signatureVersion":"v4","signingName":"chime","uid":"chime-sdk-voice-2022-08-03"},"operations":{"AssociatePhoneNumbersWithVoiceConnector":{"http":{"requestUri":"/voice-connectors/{voiceConnectorId}?operation=associate-phone-numbers","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId","E164PhoneNumbers"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"E164PhoneNumbers":{"shape":"S3"},"ForceAssociate":{"type":"boolean"}}},"output":{"type":"structure","members":{"PhoneNumberErrors":{"shape":"S7"}}}},"AssociatePhoneNumbersWithVoiceConnectorGroup":{"http":{"requestUri":"/voice-connector-groups/{voiceConnectorGroupId}?operation=associate-phone-numbers","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorGroupId","E164PhoneNumbers"],"members":{"VoiceConnectorGroupId":{"location":"uri","locationName":"voiceConnectorGroupId"},"E164PhoneNumbers":{"shape":"S3"},"ForceAssociate":{"type":"boolean"}}},"output":{"type":"structure","members":{"PhoneNumberErrors":{"shape":"S7"}}}},"BatchDeletePhoneNumber":{"http":{"requestUri":"/phone-numbers?operation=batch-delete","responseCode":200},"input":{"type":"structure","required":["PhoneNumberIds"],"members":{"PhoneNumberIds":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"PhoneNumberErrors":{"shape":"S7"}}}},"BatchUpdatePhoneNumber":{"http":{"requestUri":"/phone-numbers?operation=batch-update","responseCode":200},"input":{"type":"structure","required":["UpdatePhoneNumberRequestItems"],"members":{"UpdatePhoneNumberRequestItems":{"type":"list","member":{"type":"structure","required":["PhoneNumberId"],"members":{"PhoneNumberId":{"shape":"S9"},"ProductType":{},"CallingName":{"shape":"Sl"}}}}}},"output":{"type":"structure","members":{"PhoneNumberErrors":{"shape":"S7"}}}},"CreatePhoneNumberOrder":{"http":{"requestUri":"/phone-number-orders","responseCode":201},"input":{"type":"structure","required":["ProductType","E164PhoneNumbers"],"members":{"ProductType":{},"E164PhoneNumbers":{"shape":"S3"}}},"output":{"type":"structure","members":{"PhoneNumberOrder":{"shape":"Sp"}}}},"CreateProxySession":{"http":{"requestUri":"/voice-connectors/{voiceConnectorId}/proxy-sessions","responseCode":201},"input":{"type":"structure","required":["ParticipantPhoneNumbers","Capabilities","VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"ParticipantPhoneNumbers":{"type":"list","member":{"shape":"S4"}},"Name":{"type":"string","sensitive":true},"ExpiryMinutes":{"type":"integer"},"Capabilities":{"shape":"S12"},"NumberSelectionBehavior":{},"GeoMatchLevel":{},"GeoMatchParams":{"shape":"S16"}}},"output":{"type":"structure","members":{"ProxySession":{"shape":"S1a"}}}},"CreateSipMediaApplication":{"http":{"requestUri":"/sip-media-applications","responseCode":201},"input":{"type":"structure","required":["AwsRegion","Name","Endpoints"],"members":{"AwsRegion":{},"Name":{},"Endpoints":{"shape":"S1h"}}},"output":{"type":"structure","members":{"SipMediaApplication":{"shape":"S1l"}}}},"CreateSipMediaApplicationCall":{"http":{"requestUri":"/sip-media-applications/{sipMediaApplicationId}/calls","responseCode":201},"input":{"type":"structure","required":["FromPhoneNumber","ToPhoneNumber","SipMediaApplicationId"],"members":{"FromPhoneNumber":{"shape":"S4"},"ToPhoneNumber":{"shape":"S4"},"SipMediaApplicationId":{"location":"uri","locationName":"sipMediaApplicationId"},"SipHeaders":{"type":"map","key":{"shape":"S1o"},"value":{"shape":"S1o"}},"ArgumentsMap":{"type":"map","key":{"shape":"S1o"},"value":{"shape":"S1o"}}}},"output":{"type":"structure","members":{"SipMediaApplicationCall":{"shape":"S1r"}}}},"CreateSipRule":{"http":{"requestUri":"/sip-rules","responseCode":201},"input":{"type":"structure","required":["Name","TriggerType","TriggerValue"],"members":{"Name":{},"TriggerType":{},"TriggerValue":{},"Disabled":{"type":"boolean"},"TargetApplications":{"shape":"S1v"}}},"output":{"type":"structure","members":{"SipRule":{"shape":"S1z"}}}},"CreateVoiceConnector":{"http":{"requestUri":"/voice-connectors","responseCode":201},"input":{"type":"structure","required":["Name","RequireEncryption"],"members":{"Name":{},"AwsRegion":{},"RequireEncryption":{"type":"boolean"}}},"output":{"type":"structure","members":{"VoiceConnector":{"shape":"S25"}}}},"CreateVoiceConnectorGroup":{"http":{"requestUri":"/voice-connector-groups","responseCode":201},"input":{"type":"structure","required":["Name"],"members":{"Name":{},"VoiceConnectorItems":{"shape":"S28"}}},"output":{"type":"structure","members":{"VoiceConnectorGroup":{"shape":"S2c"}}}},"DeletePhoneNumber":{"http":{"method":"DELETE","requestUri":"/phone-numbers/{phoneNumberId}","responseCode":204},"input":{"type":"structure","required":["PhoneNumberId"],"members":{"PhoneNumberId":{"shape":"S9","location":"uri","locationName":"phoneNumberId"}}}},"DeleteProxySession":{"http":{"method":"DELETE","requestUri":"/voice-connectors/{voiceConnectorId}/proxy-sessions/{proxySessionId}","responseCode":204},"input":{"type":"structure","required":["VoiceConnectorId","ProxySessionId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"ProxySessionId":{"location":"uri","locationName":"proxySessionId"}}}},"DeleteSipMediaApplication":{"http":{"method":"DELETE","requestUri":"/sip-media-applications/{sipMediaApplicationId}","responseCode":204},"input":{"type":"structure","required":["SipMediaApplicationId"],"members":{"SipMediaApplicationId":{"location":"uri","locationName":"sipMediaApplicationId"}}}},"DeleteSipRule":{"http":{"method":"DELETE","requestUri":"/sip-rules/{sipRuleId}","responseCode":204},"input":{"type":"structure","required":["SipRuleId"],"members":{"SipRuleId":{"location":"uri","locationName":"sipRuleId"}}}},"DeleteVoiceConnector":{"http":{"method":"DELETE","requestUri":"/voice-connectors/{voiceConnectorId}","responseCode":204},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}}},"DeleteVoiceConnectorEmergencyCallingConfiguration":{"http":{"method":"DELETE","requestUri":"/voice-connectors/{voiceConnectorId}/emergency-calling-configuration","responseCode":204},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}}},"DeleteVoiceConnectorGroup":{"http":{"method":"DELETE","requestUri":"/voice-connector-groups/{voiceConnectorGroupId}","responseCode":204},"input":{"type":"structure","required":["VoiceConnectorGroupId"],"members":{"VoiceConnectorGroupId":{"location":"uri","locationName":"voiceConnectorGroupId"}}}},"DeleteVoiceConnectorOrigination":{"http":{"method":"DELETE","requestUri":"/voice-connectors/{voiceConnectorId}/origination","responseCode":204},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}}},"DeleteVoiceConnectorProxy":{"http":{"method":"DELETE","requestUri":"/voice-connectors/{voiceConnectorId}/programmable-numbers/proxy","responseCode":204},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}}},"DeleteVoiceConnectorStreamingConfiguration":{"http":{"method":"DELETE","requestUri":"/voice-connectors/{voiceConnectorId}/streaming-configuration","responseCode":204},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}}},"DeleteVoiceConnectorTermination":{"http":{"method":"DELETE","requestUri":"/voice-connectors/{voiceConnectorId}/termination","responseCode":204},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}}},"DeleteVoiceConnectorTerminationCredentials":{"http":{"requestUri":"/voice-connectors/{voiceConnectorId}/termination/credentials?operation=delete","responseCode":204},"input":{"type":"structure","required":["Usernames","VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"Usernames":{"shape":"S2p"}}}},"DisassociatePhoneNumbersFromVoiceConnector":{"http":{"requestUri":"/voice-connectors/{voiceConnectorId}?operation=disassociate-phone-numbers","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId","E164PhoneNumbers"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"E164PhoneNumbers":{"shape":"S3"}}},"output":{"type":"structure","members":{"PhoneNumberErrors":{"shape":"S7"}}}},"DisassociatePhoneNumbersFromVoiceConnectorGroup":{"http":{"requestUri":"/voice-connector-groups/{voiceConnectorGroupId}?operation=disassociate-phone-numbers","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorGroupId","E164PhoneNumbers"],"members":{"VoiceConnectorGroupId":{"location":"uri","locationName":"voiceConnectorGroupId"},"E164PhoneNumbers":{"shape":"S3"}}},"output":{"type":"structure","members":{"PhoneNumberErrors":{"shape":"S7"}}}},"GetGlobalSettings":{"http":{"method":"GET","requestUri":"/settings","responseCode":200},"output":{"type":"structure","members":{"VoiceConnector":{"shape":"S2v"}}}},"GetPhoneNumber":{"http":{"method":"GET","requestUri":"/phone-numbers/{phoneNumberId}"},"input":{"type":"structure","required":["PhoneNumberId"],"members":{"PhoneNumberId":{"shape":"S9","location":"uri","locationName":"phoneNumberId"}}},"output":{"type":"structure","members":{"PhoneNumber":{"shape":"S2y"}}}},"GetPhoneNumberOrder":{"http":{"method":"GET","requestUri":"/phone-number-orders/{phoneNumberOrderId}","responseCode":200},"input":{"type":"structure","required":["PhoneNumberOrderId"],"members":{"PhoneNumberOrderId":{"location":"uri","locationName":"phoneNumberOrderId"}}},"output":{"type":"structure","members":{"PhoneNumberOrder":{"shape":"Sp"}}}},"GetPhoneNumberSettings":{"http":{"method":"GET","requestUri":"/settings/phone-number","responseCode":200},"output":{"type":"structure","members":{"CallingName":{"shape":"Sl"},"CallingNameUpdatedTimestamp":{"shape":"Sw"}}}},"GetProxySession":{"http":{"method":"GET","requestUri":"/voice-connectors/{voiceConnectorId}/proxy-sessions/{proxySessionId}","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId","ProxySessionId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"ProxySessionId":{"location":"uri","locationName":"proxySessionId"}}},"output":{"type":"structure","members":{"ProxySession":{"shape":"S1a"}}}},"GetSipMediaApplication":{"http":{"method":"GET","requestUri":"/sip-media-applications/{sipMediaApplicationId}","responseCode":200},"input":{"type":"structure","required":["SipMediaApplicationId"],"members":{"SipMediaApplicationId":{"location":"uri","locationName":"sipMediaApplicationId"}}},"output":{"type":"structure","members":{"SipMediaApplication":{"shape":"S1l"}}}},"GetSipMediaApplicationAlexaSkillConfiguration":{"http":{"method":"GET","requestUri":"/sip-media-applications/{sipMediaApplicationId}/alexa-skill-configuration","responseCode":200},"input":{"type":"structure","required":["SipMediaApplicationId"],"members":{"SipMediaApplicationId":{"location":"uri","locationName":"sipMediaApplicationId"}}},"output":{"type":"structure","members":{"SipMediaApplicationAlexaSkillConfiguration":{"shape":"S3g"}}}},"GetSipMediaApplicationLoggingConfiguration":{"http":{"method":"GET","requestUri":"/sip-media-applications/{sipMediaApplicationId}/logging-configuration","responseCode":200},"input":{"type":"structure","required":["SipMediaApplicationId"],"members":{"SipMediaApplicationId":{"location":"uri","locationName":"sipMediaApplicationId"}}},"output":{"type":"structure","members":{"SipMediaApplicationLoggingConfiguration":{"shape":"S3m"}}}},"GetSipRule":{"http":{"method":"GET","requestUri":"/sip-rules/{sipRuleId}","responseCode":200},"input":{"type":"structure","required":["SipRuleId"],"members":{"SipRuleId":{"location":"uri","locationName":"sipRuleId"}}},"output":{"type":"structure","members":{"SipRule":{"shape":"S1z"}}}},"GetVoiceConnector":{"http":{"method":"GET","requestUri":"/voice-connectors/{voiceConnectorId}","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}},"output":{"type":"structure","members":{"VoiceConnector":{"shape":"S25"}}}},"GetVoiceConnectorEmergencyCallingConfiguration":{"http":{"method":"GET","requestUri":"/voice-connectors/{voiceConnectorId}/emergency-calling-configuration","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}},"output":{"type":"structure","members":{"EmergencyCallingConfiguration":{"shape":"S3t"}}}},"GetVoiceConnectorGroup":{"http":{"method":"GET","requestUri":"/voice-connector-groups/{voiceConnectorGroupId}","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorGroupId"],"members":{"VoiceConnectorGroupId":{"location":"uri","locationName":"voiceConnectorGroupId"}}},"output":{"type":"structure","members":{"VoiceConnectorGroup":{"shape":"S2c"}}}},"GetVoiceConnectorLoggingConfiguration":{"http":{"method":"GET","requestUri":"/voice-connectors/{voiceConnectorId}/logging-configuration","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}},"output":{"type":"structure","members":{"LoggingConfiguration":{"shape":"S40"}}}},"GetVoiceConnectorOrigination":{"http":{"method":"GET","requestUri":"/voice-connectors/{voiceConnectorId}/origination","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}},"output":{"type":"structure","members":{"Origination":{"shape":"S43"}}}},"GetVoiceConnectorProxy":{"http":{"method":"GET","requestUri":"/voice-connectors/{voiceConnectorId}/programmable-numbers/proxy","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}},"output":{"type":"structure","members":{"Proxy":{"shape":"S4c"}}}},"GetVoiceConnectorStreamingConfiguration":{"http":{"method":"GET","requestUri":"/voice-connectors/{voiceConnectorId}/streaming-configuration","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}},"output":{"type":"structure","members":{"StreamingConfiguration":{"shape":"S4h"}}}},"GetVoiceConnectorTermination":{"http":{"method":"GET","requestUri":"/voice-connectors/{voiceConnectorId}/termination","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}},"output":{"type":"structure","members":{"Termination":{"shape":"S4o"}}}},"GetVoiceConnectorTerminationHealth":{"http":{"method":"GET","requestUri":"/voice-connectors/{voiceConnectorId}/termination/health","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}},"output":{"type":"structure","members":{"TerminationHealth":{"type":"structure","members":{"Timestamp":{"shape":"Sw"},"Source":{}}}}}},"ListAvailableVoiceConnectorRegions":{"http":{"method":"GET","requestUri":"/voice-connector-regions","responseCode":200},"output":{"type":"structure","members":{"VoiceConnectorRegions":{"type":"list","member":{}}}}},"ListPhoneNumberOrders":{"http":{"method":"GET","requestUri":"/phone-number-orders","responseCode":200},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"}}},"output":{"type":"structure","members":{"PhoneNumberOrders":{"type":"list","member":{"shape":"Sp"}},"NextToken":{}}}},"ListPhoneNumbers":{"http":{"method":"GET","requestUri":"/phone-numbers"},"input":{"type":"structure","members":{"Status":{"location":"querystring","locationName":"status"},"ProductType":{"location":"querystring","locationName":"product-type"},"FilterName":{"location":"querystring","locationName":"filter-name"},"FilterValue":{"location":"querystring","locationName":"filter-value"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"},"NextToken":{"location":"querystring","locationName":"next-token"}}},"output":{"type":"structure","members":{"PhoneNumbers":{"type":"list","member":{"shape":"S2y"}},"NextToken":{}}}},"ListProxySessions":{"http":{"method":"GET","requestUri":"/voice-connectors/{voiceConnectorId}/proxy-sessions","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"Status":{"location":"querystring","locationName":"status"},"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"}}},"output":{"type":"structure","members":{"ProxySessions":{"type":"list","member":{"shape":"S1a"}},"NextToken":{}}}},"ListSipMediaApplications":{"http":{"method":"GET","requestUri":"/sip-media-applications","responseCode":200},"input":{"type":"structure","members":{"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"},"NextToken":{"location":"querystring","locationName":"next-token"}}},"output":{"type":"structure","members":{"SipMediaApplications":{"type":"list","member":{"shape":"S1l"}},"NextToken":{}}}},"ListSipRules":{"http":{"method":"GET","requestUri":"/sip-rules","responseCode":200},"input":{"type":"structure","members":{"SipMediaApplicationId":{"location":"querystring","locationName":"sip-media-application"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"},"NextToken":{"location":"querystring","locationName":"next-token"}}},"output":{"type":"structure","members":{"SipRules":{"type":"list","member":{"shape":"S1z"}},"NextToken":{}}}},"ListSupportedPhoneNumberCountries":{"http":{"method":"GET","requestUri":"/phone-number-countries","responseCode":200},"input":{"type":"structure","required":["ProductType"],"members":{"ProductType":{"location":"querystring","locationName":"product-type"}}},"output":{"type":"structure","members":{"PhoneNumberCountries":{"type":"list","member":{"type":"structure","members":{"CountryCode":{},"SupportedPhoneNumberTypes":{"type":"list","member":{}}}}}}}},"ListVoiceConnectorGroups":{"http":{"method":"GET","requestUri":"/voice-connector-groups","responseCode":200},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"}}},"output":{"type":"structure","members":{"VoiceConnectorGroups":{"type":"list","member":{"shape":"S2c"}},"NextToken":{}}}},"ListVoiceConnectorTerminationCredentials":{"http":{"method":"GET","requestUri":"/voice-connectors/{voiceConnectorId}/termination/credentials","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"}}},"output":{"type":"structure","members":{"Usernames":{"shape":"S2p"}}}},"ListVoiceConnectors":{"http":{"method":"GET","requestUri":"/voice-connectors","responseCode":200},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"next-token"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"}}},"output":{"type":"structure","members":{"VoiceConnectors":{"type":"list","member":{"shape":"S25"}},"NextToken":{}}}},"PutSipMediaApplicationAlexaSkillConfiguration":{"http":{"method":"PUT","requestUri":"/sip-media-applications/{sipMediaApplicationId}/alexa-skill-configuration","responseCode":200},"input":{"type":"structure","required":["SipMediaApplicationId"],"members":{"SipMediaApplicationId":{"location":"uri","locationName":"sipMediaApplicationId"},"SipMediaApplicationAlexaSkillConfiguration":{"shape":"S3g"}}},"output":{"type":"structure","members":{"SipMediaApplicationAlexaSkillConfiguration":{"shape":"S3g"}}}},"PutSipMediaApplicationLoggingConfiguration":{"http":{"method":"PUT","requestUri":"/sip-media-applications/{sipMediaApplicationId}/logging-configuration","responseCode":200},"input":{"type":"structure","required":["SipMediaApplicationId"],"members":{"SipMediaApplicationId":{"location":"uri","locationName":"sipMediaApplicationId"},"SipMediaApplicationLoggingConfiguration":{"shape":"S3m"}}},"output":{"type":"structure","members":{"SipMediaApplicationLoggingConfiguration":{"shape":"S3m"}}}},"PutVoiceConnectorEmergencyCallingConfiguration":{"http":{"method":"PUT","requestUri":"/voice-connectors/{voiceConnectorId}/emergency-calling-configuration","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId","EmergencyCallingConfiguration"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"EmergencyCallingConfiguration":{"shape":"S3t"}}},"output":{"type":"structure","members":{"EmergencyCallingConfiguration":{"shape":"S3t"}}}},"PutVoiceConnectorLoggingConfiguration":{"http":{"method":"PUT","requestUri":"/voice-connectors/{voiceConnectorId}/logging-configuration","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId","LoggingConfiguration"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"LoggingConfiguration":{"shape":"S40"}}},"output":{"type":"structure","members":{"LoggingConfiguration":{"shape":"S40"}}}},"PutVoiceConnectorOrigination":{"http":{"method":"PUT","requestUri":"/voice-connectors/{voiceConnectorId}/origination","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId","Origination"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"Origination":{"shape":"S43"}}},"output":{"type":"structure","members":{"Origination":{"shape":"S43"}}}},"PutVoiceConnectorProxy":{"http":{"method":"PUT","requestUri":"/voice-connectors/{voiceConnectorId}/programmable-numbers/proxy"},"input":{"type":"structure","required":["DefaultSessionExpiryMinutes","PhoneNumberPoolCountries","VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"DefaultSessionExpiryMinutes":{"type":"integer"},"PhoneNumberPoolCountries":{"type":"list","member":{}},"FallBackPhoneNumber":{"shape":"S4"},"Disabled":{"type":"boolean"}}},"output":{"type":"structure","members":{"Proxy":{"shape":"S4c"}}}},"PutVoiceConnectorStreamingConfiguration":{"http":{"method":"PUT","requestUri":"/voice-connectors/{voiceConnectorId}/streaming-configuration","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId","StreamingConfiguration"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"StreamingConfiguration":{"shape":"S4h"}}},"output":{"type":"structure","members":{"StreamingConfiguration":{"shape":"S4h"}}}},"PutVoiceConnectorTermination":{"http":{"method":"PUT","requestUri":"/voice-connectors/{voiceConnectorId}/termination","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId","Termination"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"Termination":{"shape":"S4o"}}},"output":{"type":"structure","members":{"Termination":{"shape":"S4o"}}}},"PutVoiceConnectorTerminationCredentials":{"http":{"requestUri":"/voice-connectors/{voiceConnectorId}/termination/credentials?operation=put","responseCode":204},"input":{"type":"structure","required":["VoiceConnectorId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"Credentials":{"type":"list","member":{"type":"structure","members":{"Username":{"shape":"S1o"},"Password":{"shape":"S1o"}}}}}}},"RestorePhoneNumber":{"http":{"requestUri":"/phone-numbers/{phoneNumberId}?operation=restore","responseCode":200},"input":{"type":"structure","required":["PhoneNumberId"],"members":{"PhoneNumberId":{"shape":"S9","location":"uri","locationName":"phoneNumberId"}}},"output":{"type":"structure","members":{"PhoneNumber":{"shape":"S2y"}}}},"SearchAvailablePhoneNumbers":{"http":{"method":"GET","requestUri":"/search?type=phone-numbers"},"input":{"type":"structure","members":{"AreaCode":{"location":"querystring","locationName":"area-code"},"City":{"location":"querystring","locationName":"city"},"Country":{"location":"querystring","locationName":"country"},"State":{"location":"querystring","locationName":"state"},"TollFreePrefix":{"location":"querystring","locationName":"toll-free-prefix"},"PhoneNumberType":{"location":"querystring","locationName":"phone-number-type"},"MaxResults":{"location":"querystring","locationName":"max-results","type":"integer"},"NextToken":{"location":"querystring","locationName":"next-token"}}},"output":{"type":"structure","members":{"E164PhoneNumbers":{"shape":"S3"},"NextToken":{}}}},"UpdateGlobalSettings":{"http":{"method":"PUT","requestUri":"/settings","responseCode":204},"input":{"type":"structure","members":{"VoiceConnector":{"shape":"S2v"}}}},"UpdatePhoneNumber":{"http":{"requestUri":"/phone-numbers/{phoneNumberId}","responseCode":200},"input":{"type":"structure","required":["PhoneNumberId"],"members":{"PhoneNumberId":{"shape":"S9","location":"uri","locationName":"phoneNumberId"},"ProductType":{},"CallingName":{"shape":"Sl"}}},"output":{"type":"structure","members":{"PhoneNumber":{"shape":"S2y"}}}},"UpdatePhoneNumberSettings":{"http":{"method":"PUT","requestUri":"/settings/phone-number","responseCode":204},"input":{"type":"structure","required":["CallingName"],"members":{"CallingName":{"shape":"Sl"}}}},"UpdateProxySession":{"http":{"requestUri":"/voice-connectors/{voiceConnectorId}/proxy-sessions/{proxySessionId}","responseCode":201},"input":{"type":"structure","required":["Capabilities","VoiceConnectorId","ProxySessionId"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"ProxySessionId":{"location":"uri","locationName":"proxySessionId"},"Capabilities":{"shape":"S12"},"ExpiryMinutes":{"type":"integer"}}},"output":{"type":"structure","members":{"ProxySession":{"shape":"S1a"}}}},"UpdateSipMediaApplication":{"http":{"method":"PUT","requestUri":"/sip-media-applications/{sipMediaApplicationId}","responseCode":200},"input":{"type":"structure","required":["SipMediaApplicationId"],"members":{"SipMediaApplicationId":{"location":"uri","locationName":"sipMediaApplicationId"},"Name":{},"Endpoints":{"shape":"S1h"}}},"output":{"type":"structure","members":{"SipMediaApplication":{"shape":"S1l"}}}},"UpdateSipMediaApplicationCall":{"http":{"requestUri":"/sip-media-applications/{sipMediaApplicationId}/calls/{transactionId}","responseCode":202},"input":{"type":"structure","required":["SipMediaApplicationId","TransactionId","Arguments"],"members":{"SipMediaApplicationId":{"location":"uri","locationName":"sipMediaApplicationId"},"TransactionId":{"location":"uri","locationName":"transactionId"},"Arguments":{"type":"map","key":{"shape":"S1o"},"value":{"shape":"S1o"}}}},"output":{"type":"structure","members":{"SipMediaApplicationCall":{"shape":"S1r"}}}},"UpdateSipRule":{"http":{"method":"PUT","requestUri":"/sip-rules/{sipRuleId}","responseCode":202},"input":{"type":"structure","required":["SipRuleId","Name"],"members":{"SipRuleId":{"location":"uri","locationName":"sipRuleId"},"Name":{},"Disabled":{"type":"boolean"},"TargetApplications":{"shape":"S1v"}}},"output":{"type":"structure","members":{"SipRule":{"shape":"S1z"}}}},"UpdateVoiceConnector":{"http":{"method":"PUT","requestUri":"/voice-connectors/{voiceConnectorId}","responseCode":200},"input":{"type":"structure","required":["VoiceConnectorId","Name","RequireEncryption"],"members":{"VoiceConnectorId":{"location":"uri","locationName":"voiceConnectorId"},"Name":{},"RequireEncryption":{"type":"boolean"}}},"output":{"type":"structure","members":{"VoiceConnector":{"shape":"S25"}}}},"UpdateVoiceConnectorGroup":{"http":{"method":"PUT","requestUri":"/voice-connector-groups/{voiceConnectorGroupId}","responseCode":202},"input":{"type":"structure","required":["VoiceConnectorGroupId","Name","VoiceConnectorItems"],"members":{"VoiceConnectorGroupId":{"location":"uri","locationName":"voiceConnectorGroupId"},"Name":{},"VoiceConnectorItems":{"shape":"S28"}}},"output":{"type":"structure","members":{"VoiceConnectorGroup":{"shape":"S2c"}}}},"ValidateE911Address":{"http":{"requestUri":"/emergency-calling/address","responseCode":202},"input":{"type":"structure","required":["AwsAccountId","StreetNumber","StreetInfo","City","State","Country","PostalCode"],"members":{"AwsAccountId":{},"StreetNumber":{"shape":"S9"},"StreetInfo":{"shape":"S9"},"City":{"shape":"S9"},"State":{"shape":"S9"},"Country":{"shape":"S9"},"PostalCode":{"shape":"S9"}}},"output":{"type":"structure","members":{"ValidationResult":{"type":"integer"},"AddressExternalId":{},"Address":{"type":"structure","members":{"streetName":{"shape":"S9"},"streetSuffix":{"shape":"S9"},"postDirectional":{"shape":"S9"},"preDirectional":{"shape":"S9"},"streetNumber":{"shape":"S9"},"city":{"shape":"S9"},"state":{"shape":"S9"},"postalCode":{"shape":"S9"},"postalCodePlus4":{"shape":"S9"},"country":{"shape":"S9"}}},"CandidateAddressList":{"type":"list","member":{"type":"structure","members":{"streetInfo":{"shape":"S9"},"streetNumber":{"shape":"S9"},"city":{"shape":"S9"},"state":{"shape":"S9"},"postalCode":{"shape":"S9"},"postalCodePlus4":{"shape":"S9"},"country":{"shape":"S9"}}}}}}}},"shapes":{"S3":{"type":"list","member":{"shape":"S4"}},"S4":{"type":"string","sensitive":true},"S7":{"type":"list","member":{"type":"structure","members":{"PhoneNumberId":{"shape":"S9"},"ErrorCode":{},"ErrorMessage":{}}}},"S9":{"type":"string","sensitive":true},"Sl":{"type":"string","sensitive":true},"Sp":{"type":"structure","members":{"PhoneNumberOrderId":{},"ProductType":{},"Status":{},"OrderType":{},"OrderedPhoneNumbers":{"type":"list","member":{"type":"structure","members":{"E164PhoneNumber":{"shape":"S4"},"Status":{}}}},"CreatedTimestamp":{"shape":"Sw"},"UpdatedTimestamp":{"shape":"Sw"}}},"Sw":{"type":"timestamp","timestampFormat":"iso8601"},"S12":{"type":"list","member":{}},"S16":{"type":"structure","required":["Country","AreaCode"],"members":{"Country":{},"AreaCode":{}}},"S1a":{"type":"structure","members":{"VoiceConnectorId":{},"ProxySessionId":{},"Name":{},"Status":{},"ExpiryMinutes":{"type":"integer"},"Capabilities":{"shape":"S12"},"CreatedTimestamp":{"shape":"Sw"},"UpdatedTimestamp":{"shape":"Sw"},"EndedTimestamp":{"shape":"Sw"},"Participants":{"type":"list","member":{"type":"structure","members":{"PhoneNumber":{"shape":"S4"},"ProxyPhoneNumber":{"shape":"S4"}}}},"NumberSelectionBehavior":{},"GeoMatchLevel":{},"GeoMatchParams":{"shape":"S16"}}},"S1h":{"type":"list","member":{"type":"structure","members":{"LambdaArn":{"type":"string","sensitive":true}}}},"S1l":{"type":"structure","members":{"SipMediaApplicationId":{},"AwsRegion":{},"Name":{},"Endpoints":{"shape":"S1h"},"CreatedTimestamp":{"shape":"Sw"},"UpdatedTimestamp":{"shape":"Sw"}}},"S1o":{"type":"string","sensitive":true},"S1r":{"type":"structure","members":{"TransactionId":{}}},"S1v":{"type":"list","member":{"type":"structure","members":{"SipMediaApplicationId":{},"Priority":{"type":"integer"},"AwsRegion":{}}}},"S1z":{"type":"structure","members":{"SipRuleId":{},"Name":{},"Disabled":{"type":"boolean"},"TriggerType":{},"TriggerValue":{},"TargetApplications":{"shape":"S1v"},"CreatedTimestamp":{"shape":"Sw"},"UpdatedTimestamp":{"shape":"Sw"}}},"S25":{"type":"structure","members":{"VoiceConnectorId":{},"AwsRegion":{},"Name":{},"OutboundHostName":{},"RequireEncryption":{"type":"boolean"},"CreatedTimestamp":{"shape":"Sw"},"UpdatedTimestamp":{"shape":"Sw"},"VoiceConnectorArn":{}}},"S28":{"type":"list","member":{"type":"structure","required":["VoiceConnectorId","Priority"],"members":{"VoiceConnectorId":{},"Priority":{"type":"integer"}}}},"S2c":{"type":"structure","members":{"VoiceConnectorGroupId":{},"Name":{},"VoiceConnectorItems":{"shape":"S28"},"CreatedTimestamp":{"shape":"Sw"},"UpdatedTimestamp":{"shape":"Sw"},"VoiceConnectorGroupArn":{}}},"S2p":{"type":"list","member":{"shape":"S1o"}},"S2v":{"type":"structure","members":{"CdrBucket":{}}},"S2y":{"type":"structure","members":{"PhoneNumberId":{"shape":"S9"},"E164PhoneNumber":{"shape":"S4"},"Country":{},"Type":{},"ProductType":{},"Status":{},"Capabilities":{"type":"structure","members":{"InboundCall":{"type":"boolean"},"OutboundCall":{"type":"boolean"},"InboundSMS":{"type":"boolean"},"OutboundSMS":{"type":"boolean"},"InboundMMS":{"type":"boolean"},"OutboundMMS":{"type":"boolean"}}},"Associations":{"type":"list","member":{"type":"structure","members":{"Value":{},"Name":{},"AssociatedTimestamp":{"shape":"Sw"}}}},"CallingName":{"shape":"Sl"},"CallingNameStatus":{},"CreatedTimestamp":{"shape":"Sw"},"UpdatedTimestamp":{"shape":"Sw"},"DeletionTimestamp":{"shape":"Sw"},"OrderId":{}}},"S3g":{"type":"structure","required":["AlexaSkillStatus","AlexaSkillIds"],"members":{"AlexaSkillStatus":{},"AlexaSkillIds":{"type":"list","member":{"type":"string","sensitive":true}}}},"S3m":{"type":"structure","members":{"EnableSipMediaApplicationMessageLogs":{"type":"boolean"}}},"S3t":{"type":"structure","members":{"DNIS":{"type":"list","member":{"type":"structure","required":["EmergencyPhoneNumber","CallingCountry"],"members":{"EmergencyPhoneNumber":{"shape":"S4"},"TestPhoneNumber":{"shape":"S4"},"CallingCountry":{}}}}}},"S40":{"type":"structure","members":{"EnableSIPLogs":{"type":"boolean"},"EnableMediaMetricLogs":{"type":"boolean"}}},"S43":{"type":"structure","members":{"Routes":{"type":"list","member":{"type":"structure","members":{"Host":{},"Port":{"type":"integer"},"Protocol":{},"Priority":{"type":"integer"},"Weight":{"type":"integer"}}}},"Disabled":{"type":"boolean"}}},"S4c":{"type":"structure","members":{"DefaultSessionExpiryMinutes":{"type":"integer"},"Disabled":{"type":"boolean"},"FallBackPhoneNumber":{"shape":"S4"},"PhoneNumberCountries":{"shape":"S4e"}}},"S4e":{"type":"list","member":{}},"S4h":{"type":"structure","required":["DataRetentionInHours","Disabled"],"members":{"DataRetentionInHours":{"type":"integer"},"Disabled":{"type":"boolean"},"StreamingNotificationTargets":{"type":"list","member":{"type":"structure","members":{"NotificationTarget":{}}}}}},"S4o":{"type":"structure","members":{"CpsLimit":{"type":"integer"},"DefaultPhoneNumber":{"shape":"S4"},"CallingRegions":{"type":"list","member":{}},"CidrAllowedList":{"shape":"S4e"},"Disabled":{"type":"boolean"}}}}} /***/ }), /* 1221 */ diff --git a/dist/aws-sdk.js b/dist/aws-sdk.js index c4361dc734..476f4125fe 100644 --- a/dist/aws-sdk.js +++ b/dist/aws-sdk.js @@ -1,4 +1,4 @@ -// AWS SDK for JavaScript v2.1320.0 +// AWS SDK for JavaScript v2.1321.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.1320.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), +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.1321.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