From e800dc863fcac6b504094791aa8829d1322d250b Mon Sep 17 00:00:00 2001 From: awstools Date: Tue, 17 Jan 2023 19:20:19 +0000 Subject: [PATCH] Updates SDK to v2.1296.0 --- .changes/2.1296.0.json | 22 +++ CHANGELOG.md | 8 +- README.md | 2 +- apis/billingconductor-2021-07-30.min.json | 42 ++--- apis/billingconductor-2021-07-30.normal.json | 30 +++- apis/cloud9-2017-09-23.normal.json | 3 +- apis/imagebuilder-2019-12-02.min.json | 49 +++--- apis/imagebuilder-2019-12-02.normal.json | 142 ++++++++++------- apis/network-firewall-2020-11-12.min.json | 155 ++++++++++--------- apis/network-firewall-2020-11-12.normal.json | 17 +- clients/billingconductor.d.ts | 20 ++- clients/imagebuilder.d.ts | 137 +++++++++------- clients/networkfirewall.d.ts | 11 +- dist/aws-sdk-core-react-native.js | 2 +- dist/aws-sdk-react-native.js | 8 +- dist/aws-sdk.js | 6 +- dist/aws-sdk.min.js | 4 +- lib/core.js | 2 +- package.json | 2 +- 19 files changed, 418 insertions(+), 244 deletions(-) create mode 100644 .changes/2.1296.0.json diff --git a/.changes/2.1296.0.json b/.changes/2.1296.0.json new file mode 100644 index 0000000000..b4f8c27cb0 --- /dev/null +++ b/.changes/2.1296.0.json @@ -0,0 +1,22 @@ +[ + { + "type": "feature", + "category": "Billingconductor", + "description": "This release adds support for SKU Scope for pricing plans." + }, + { + "type": "feature", + "category": "Cloud9", + "description": "Added minimum value to AutomaticStopTimeMinutes parameter." + }, + { + "type": "feature", + "category": "Imagebuilder", + "description": "Add support for AWS Marketplace product IDs as input during CreateImageRecipe for the parent-image parameter. Add support for listing third-party components." + }, + { + "type": "feature", + "category": "NetworkFirewall", + "description": "Network Firewall now allows creation of dual stack endpoints, enabling inspection of IPv6 traffic." + } +] \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a7f745147..1051d1ae94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,13 @@ # Changelog for AWS SDK for JavaScript - + +## 2.1296.0 +* feature: Billingconductor: This release adds support for SKU Scope for pricing plans. +* feature: Cloud9: Added minimum value to AutomaticStopTimeMinutes parameter. +* feature: Imagebuilder: Add support for AWS Marketplace product IDs as input during CreateImageRecipe for the parent-image parameter. Add support for listing third-party components. +* feature: NetworkFirewall: Network Firewall now allows creation of dual stack endpoints, enabling inspection of IPv6 traffic. + ## 2.1295.0 * bugfix: Endpoints: Use correct FIPS endpoint for CloudFormation in GovCloud * feature: Connect: This release updates the responses of UpdateContactFlowContent, UpdateContactFlowMetadata, UpdateContactFlowName and DeleteContactFlow API with empty responses. diff --git a/README.md b/README.md index 126bc18aa9..b53f7fa5e7 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/billingconductor-2021-07-30.min.json b/apis/billingconductor-2021-07-30.min.json index ee6bb95178..08b971672a 100644 --- a/apis/billingconductor-2021-07-30.min.json +++ b/apis/billingconductor-2021-07-30.min.json @@ -356,7 +356,9 @@ } } } - } + }, + "UsageType": {}, + "Operation": {} } }, "output": { @@ -572,7 +574,7 @@ "type": "structure", "members": { "BillingGroupArns": { - "shape": "S2j" + "shape": "S2l" } } } @@ -616,7 +618,7 @@ "type": "structure", "members": { "Arns": { - "shape": "S2j" + "shape": "S2l" }, "PricingPlan": {} } @@ -702,7 +704,7 @@ "shape": "S14" }, "ChargeDetails": { - "shape": "S38" + "shape": "S3a" }, "CurrencyCode": {}, "Description": { @@ -751,7 +753,7 @@ } }, "BillingGroups": { - "shape": "S2j" + "shape": "S2l" }, "Arns": { "type": "list", @@ -774,7 +776,7 @@ "shape": "S14" }, "ChargeDetails": { - "shape": "S38" + "shape": "S3a" }, "CurrencyCode": {}, "Description": { @@ -811,7 +813,7 @@ "type": "structure", "members": { "Arns": { - "shape": "S3n" + "shape": "S3p" } } }, @@ -878,7 +880,7 @@ "BillingPeriod": {}, "PricingRuleArn": {}, "PricingPlanArns": { - "shape": "S3n" + "shape": "S3p" }, "NextToken": {} } @@ -897,7 +899,7 @@ "type": "structure", "members": { "Arns": { - "shape": "S3y" + "shape": "S40" } } }, @@ -990,7 +992,7 @@ "BillingPeriod": {}, "PricingPlanArn": {}, "PricingRuleArns": { - "shape": "S3y" + "shape": "S40" }, "NextToken": {} } @@ -1233,7 +1235,7 @@ "shape": "S15" }, "ChargeDetails": { - "shape": "S38" + "shape": "S3a" }, "LastModifiedTime": { "type": "long" @@ -1310,7 +1312,7 @@ "type": "double" }, "Tiering": { - "shape": "S4w" + "shape": "S4y" } } }, @@ -1338,8 +1340,10 @@ }, "BillingEntity": {}, "Tiering": { - "shape": "S4w" - } + "shape": "S4y" + }, + "UsageType": {}, + "Operation": {} } }, "idempotent": true @@ -1441,11 +1445,11 @@ "type": "string", "sensitive": true }, - "S2j": { + "S2l": { "type": "list", "member": {} }, - "S38": { + "S3a": { "type": "structure", "required": [ "Type" @@ -1476,15 +1480,15 @@ "Type": {} } }, - "S3n": { + "S3p": { "type": "list", "member": {} }, - "S3y": { + "S40": { "type": "list", "member": {} }, - "S4w": { + "S4y": { "type": "structure", "required": [ "FreeTier" diff --git a/apis/billingconductor-2021-07-30.normal.json b/apis/billingconductor-2021-07-30.normal.json index e1fb76590a..cf9767ac8b 100644 --- a/apis/billingconductor-2021-07-30.normal.json +++ b/apis/billingconductor-2021-07-30.normal.json @@ -1642,7 +1642,7 @@ }, "Service": { "shape": "Service", - "documentation": "

If the Scope attribute is set to SERVICE, the attribute indicates which service the PricingRule is applicable for.

" + "documentation": "

If the Scope attribute is set to SERVICE or SKU, the attribute indicates which service the PricingRule is applicable for.

" }, "Tags": { "shape": "TagMap", @@ -1655,6 +1655,14 @@ "Tiering": { "shape": "CreateTieringInput", "documentation": "

The set of tiering configurations for the pricing rule.

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

Usage type is the unit that each service uses to measure the usage of a specific type of resource.

If the Scope attribute is set to SKU, this attribute indicates which usage type the PricingRule is modifying. For example, USW2-BoxUsage:m2.2xlarge describes an M2 High Memory Double Extra Large instance in the US West (Oregon) Region.

</p> 
" + }, + "Operation": { + "shape": "Operation", + "documentation": "

Operation is the specific Amazon Web Services action covered by this line item. This describes the specific usage of the line item.

If the Scope attribute is set to SKU, this attribute indicates which operation the PricingRule is modifying. For example, a value of RunInstances:0202 indicates the operation of running an Amazon EC2 instance.

" } } }, @@ -2767,6 +2775,12 @@ "type": "long", "min": 0 }, + "Operation": { + "type": "string", + "max": 256, + "min": 1, + "pattern": "\\S+" + }, "PricingPlanArn": { "type": "string", "pattern": "(arn:aws(-cn)?:billingconductor::[0-9]{12}:pricingplan/)?[a-zA-Z0-9]{10}" @@ -3363,6 +3377,14 @@ "Tiering": { "shape": "UpdateTieringInput", "documentation": "

The set of tiering configurations for the pricing rule.

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

Usage type is the unit that each service uses to measure the usage of a specific type of resource.

If the Scope attribute is set to SKU, this attribute indicates which usage type the PricingRule is modifying. For example, USW2-BoxUsage:m2.2xlarge describes an M2 High Memory Double Extra Large instance in the US West (Oregon) Region.

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

Operation refers to the specific Amazon Web Services covered by this line item. This describes the specific usage of the line item.

If the Scope attribute is set to SKU, this attribute indicates which operation the PricingRule is modifying. For example, a value of RunInstances:0202 indicates the operation of running an Amazon EC2 instance.

" } } }, @@ -3378,6 +3400,12 @@ } }, "documentation": "

The set of tiering configurations for the pricing rule.

" + }, + "UsageType": { + "type": "string", + "max": 256, + "min": 1, + "pattern": "\\S+" } }, "documentation": "

Amazon Web Services Billing Conductor is a fully managed service that you can use to customize a pro forma version of your billing data each month, to accurately show or chargeback your end customers. Amazon Web Services Billing Conductor doesn't change the way you're billed by Amazon Web Services each month by design. Instead, it provides you with a mechanism to configure, generate, and display rates to certain customers over a given billing period. You can also analyze the difference between the rates you apply to your accounting groupings relative to your actual rates from Amazon Web Services. As a result of your Amazon Web Services Billing Conductor configuration, the payer account can also see the custom rate applied on the billing details page of the Amazon Web Services Billing console, or configure a cost and usage report per billing group.

This documentation shows how you can configure Amazon Web Services Billing Conductor using its API. For more information about using the Amazon Web Services Billing Conductor user interface, see the Amazon Web Services Billing Conductor User Guide.

" diff --git a/apis/cloud9-2017-09-23.normal.json b/apis/cloud9-2017-09-23.normal.json index 2ead48e811..8407c80a85 100644 --- a/apis/cloud9-2017-09-23.normal.json +++ b/apis/cloud9-2017-09-23.normal.json @@ -474,7 +474,8 @@ "AutomaticStopTimeMinutes": { "type": "integer", "box": true, - "max": 20160 + "max": 20160, + "min": 0 }, "BoundedEnvironmentIdList": { "type": "list", diff --git a/apis/imagebuilder-2019-12-02.min.json b/apis/imagebuilder-2019-12-02.min.json index 9cb3091da5..752ea27690 100644 --- a/apis/imagebuilder-2019-12-02.min.json +++ b/apis/imagebuilder-2019-12-02.min.json @@ -595,6 +595,10 @@ "dateCreated": {}, "tags": { "shape": "Se" + }, + "publisher": {}, + "obfuscate": { + "type": "boolean" } } } @@ -765,7 +769,8 @@ "tags": { "shape": "Se" }, - "buildType": {} + "buildType": {}, + "imageSource": {} } } } @@ -793,7 +798,7 @@ "members": { "requestId": {}, "imagePipeline": { - "shape": "S4j" + "shape": "S4k" } } } @@ -1026,6 +1031,10 @@ "dateCreated": {}, "tags": { "shape": "Se" + }, + "publisher": {}, + "obfuscate": { + "type": "boolean" } } } @@ -1043,7 +1052,7 @@ "members": { "owner": {}, "filters": { - "shape": "S56" + "shape": "S57" }, "byName": { "type": "boolean" @@ -1090,7 +1099,7 @@ "members": { "owner": {}, "filters": { - "shape": "S56" + "shape": "S57" }, "maxResults": { "type": "integer" @@ -1132,7 +1141,7 @@ "type": "structure", "members": { "filters": { - "shape": "S56" + "shape": "S57" }, "maxResults": { "type": "integer" @@ -1180,7 +1189,7 @@ "members": { "imageVersionArn": {}, "filters": { - "shape": "S56" + "shape": "S57" }, "maxResults": { "type": "integer" @@ -1193,7 +1202,7 @@ "members": { "requestId": {}, "imageSummaryList": { - "shape": "S5q" + "shape": "S5r" }, "nextToken": {} } @@ -1246,7 +1255,7 @@ "members": { "imagePipelineArn": {}, "filters": { - "shape": "S56" + "shape": "S57" }, "maxResults": { "type": "integer" @@ -1259,7 +1268,7 @@ "members": { "requestId": {}, "imageSummaryList": { - "shape": "S5q" + "shape": "S5r" }, "nextToken": {} } @@ -1273,7 +1282,7 @@ "type": "structure", "members": { "filters": { - "shape": "S56" + "shape": "S57" }, "maxResults": { "type": "integer" @@ -1288,7 +1297,7 @@ "imagePipelineList": { "type": "list", "member": { - "shape": "S4j" + "shape": "S4k" } }, "nextToken": {} @@ -1304,7 +1313,7 @@ "members": { "owner": {}, "filters": { - "shape": "S56" + "shape": "S57" }, "maxResults": { "type": "integer" @@ -1346,7 +1355,7 @@ "members": { "owner": {}, "filters": { - "shape": "S56" + "shape": "S57" }, "byName": { "type": "boolean" @@ -1377,7 +1386,8 @@ "osVersion": {}, "owner": {}, "dateCreated": {}, - "buildType": {} + "buildType": {}, + "imageSource": {} } } }, @@ -1393,7 +1403,7 @@ "type": "structure", "members": { "filters": { - "shape": "S56" + "shape": "S57" }, "maxResults": { "type": "integer" @@ -2224,7 +2234,7 @@ } } }, - "S4j": { + "S4k": { "type": "structure", "members": { "arn": {}, @@ -2254,7 +2264,7 @@ } } }, - "S56": { + "S57": { "type": "list", "member": { "type": "structure", @@ -2267,7 +2277,7 @@ } } }, - "S5q": { + "S5r": { "type": "list", "member": { "type": "structure", @@ -2289,7 +2299,8 @@ "tags": { "shape": "Se" }, - "buildType": {} + "buildType": {}, + "imageSource": {} } } } diff --git a/apis/imagebuilder-2019-12-02.normal.json b/apis/imagebuilder-2019-12-02.normal.json index 74f615d206..6b71e7e3e8 100644 --- a/apis/imagebuilder-2019-12-02.normal.json +++ b/apis/imagebuilder-2019-12-02.normal.json @@ -1160,7 +1160,7 @@ "shape": "CallRateLimitExceededException" } ], - "documentation": "

Returns the list of component build versions for the specified semantic version.

The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.

Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.

" + "documentation": "

Returns the list of components that can be filtered by name, or by using the listed filters to streamline results. Newly created components can take up to two minutes to appear in the ListComponents API Results.

The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.

Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.

" }, "ListContainerRecipes": { "name": "ListContainerRecipes", @@ -1351,7 +1351,7 @@ "shape": "CallRateLimitExceededException" } ], - "documentation": "

Returns a list of images created by the specified pipeline.

" + "documentation": "

Returns a list of images created by the specified pipeline.

" }, "ListImagePipelines": { "name": "ListImagePipelines", @@ -1462,7 +1462,7 @@ "shape": "CallRateLimitExceededException" } ], - "documentation": "

Returns the list of images that you have access to.

" + "documentation": "

Returns the list of images that you have access to. Newly created images can take up to two minutes to appear in the ListImages API Results.

" }, "ListInfrastructureConfigurations": { "name": "ListInfrastructureConfigurations", @@ -1928,7 +1928,7 @@ "documentation": "

Use this property to provide commands or a command script to run when you launch your build instance.

The userDataOverride property replaces any commands that Image Builder might have added to ensure that Systems Manager is installed on your Linux build instance. If you override the user data, make sure that you add commands to install Systems Manager, if it is not pre-installed on your base image.

The user data is always base 64 encoded. For example, the following commands are encoded as IyEvYmluL2Jhc2gKbWtkaXIgLXAgL3Zhci9iYi8KdG91Y2ggL3Zhci$:

#!/bin/bash

mkdir -p /var/bb/

touch /var

" } }, - "documentation": "

In addition to your infrastruction configuration, these settings provide an extra layer of control over your build instances. For instances where Image Builder installs the Systems Manager agent, you can choose whether to keep it for the AMI that you create. You can also specify commands to run on launch for all of your build instances.

" + "documentation": "

In addition to your infrastructure configuration, these settings provide an extra layer of control over your build instances. You can also specify commands to run on launch for all of your build instances.

Image Builder does not automatically install the Systems Manager agent on Windows instances. If your base image includes the Systems Manager agent, then the AMI that you create will also include the agent. For Linux instances, if the base image does not already include the Systems Manager agent, Image Builder installs it. For Linux instances where Image Builder installs the Systems Manager agent, you can choose whether to keep it for the AMI that you create.

" }, "Ami": { "type": "structure", @@ -2080,15 +2080,15 @@ }, "type": { "shape": "ComponentType", - "documentation": "

The type of the component denotes whether the component is used to build the image or only to test it.

" + "documentation": "

The component type specifies whether Image Builder uses the component to build the image or only to test it.

" }, "platform": { "shape": "Platform", - "documentation": "

The platform of the component.

" + "documentation": "

The operating system platform of the component.

" }, "supportedOsVersions": { "shape": "OsVersionList", - "documentation": "

The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the base image OS version during image recipe creation.

" + "documentation": "

The operating system (OS) version supported by the component. If the OS information is available, Image Builder performs a prefix match against the base image OS version during image recipe creation.

" }, "state": { "shape": "ComponentState", @@ -2096,7 +2096,7 @@ }, "parameters": { "shape": "ComponentParameterDetailList", - "documentation": "

Contains parameter details for each of the parameters that are defined for the component.

" + "documentation": "

Contains parameter details for each of the parameters that the component document defined for the component.

" }, "owner": { "shape": "NonEmptyString", @@ -2116,11 +2116,19 @@ }, "dateCreated": { "shape": "DateTime", - "documentation": "

The date that the component was created.

" + "documentation": "

The date that Image Builder created the component.

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

The tags associated with the component.

" + "documentation": "

The tags that apply to the component.

" + }, + "publisher": { + "shape": "NonEmptyString", + "documentation": "

Contains the name of the publisher if this is a third-party component. Otherwise, this property is empty.

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

Indicates whether component source is hidden from view in the console, and from component detail results for API, CLI, or SDK operations.

" } }, "documentation": "

A detailed view of a component.

" @@ -2141,7 +2149,7 @@ }, "parameters": { "shape": "ComponentParameterList", - "documentation": "

A group of parameter settings that are used to configure the component for a specific recipe.

" + "documentation": "

A group of parameter settings that Image Builder uses to configure the component for a specific recipe.

" } }, "documentation": "

Configuration details of the component.

" @@ -2285,11 +2293,11 @@ }, "platform": { "shape": "Platform", - "documentation": "

The platform of the component.

" + "documentation": "

The operating system platform of the component.

" }, "supportedOsVersions": { "shape": "OsVersionList", - "documentation": "

The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the base image OS version during image recipe creation.

" + "documentation": "

The operating system (OS) version that the component supports. If the OS information is available, Image Builder performs a prefix match against the base image OS version during image recipe creation.

" }, "state": { "shape": "ComponentState", @@ -2297,7 +2305,7 @@ }, "type": { "shape": "ComponentType", - "documentation": "

The type of the component denotes whether the component is used to build the image or only to test it.

" + "documentation": "

The component type specifies whether Image Builder uses the component to build the image or only to test it.

" }, "owner": { "shape": "NonEmptyString", @@ -2309,15 +2317,23 @@ }, "changeDescription": { "shape": "NonEmptyString", - "documentation": "

The change description of the component.

" + "documentation": "

The change description for the current version of the component.

" }, "dateCreated": { "shape": "DateTime", - "documentation": "

The date that the component was created.

" + "documentation": "

The original creation date of the component.

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

The tags associated with the component.

" + "documentation": "

The tags that apply to the component.

" + }, + "publisher": { + "shape": "NonEmptyString", + "documentation": "

Contains the name of the publisher if this is a third-party component. Otherwise, this property is empty.

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

Indicates whether component source is hidden from view in the console, and from component detail results for API, CLI, or SDK operations.

" } }, "documentation": "

A high-level summary of a component.

" @@ -2465,7 +2481,7 @@ }, "components": { "shape": "ComponentConfigurationList", - "documentation": "

Components for build and test that are included in the container recipe.

" + "documentation": "

Build and test components that are included in the container recipe. Recipes require a minimum of one build component, and can have a maximum of 20 build and test components in any combination.

" }, "instanceConfiguration": { "shape": "InstanceConfiguration", @@ -2585,7 +2601,7 @@ }, "description": { "shape": "NonEmptyString", - "documentation": "

The description of the component. Describes the contents of the component.

" + "documentation": "

Describes the contents of the component.

" }, "changeDescription": { "shape": "NonEmptyString", @@ -2593,7 +2609,7 @@ }, "platform": { "shape": "Platform", - "documentation": "

The platform of the component.

" + "documentation": "

The operating system platform of the component.

" }, "supportedOsVersions": { "shape": "OsVersionList", @@ -2609,11 +2625,11 @@ }, "kmsKeyId": { "shape": "NonEmptyString", - "documentation": "

The ID of the KMS key that should be used to encrypt this component.

" + "documentation": "

The ID of the KMS key that is used to encrypt this component.

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

The tags of the component.

" + "documentation": "

The tags that apply to the component.

" }, "clientToken": { "shape": "ClientToken", @@ -2669,7 +2685,7 @@ }, "components": { "shape": "ComponentConfigurationList", - "documentation": "

Components for build and test that are included in the container recipe.

" + "documentation": "

Components for build and test that are included in the container recipe. Recipes require a minimum of one build component, and can have a maximum of 20 build and test components in any combination.

" }, "instanceConfiguration": { "shape": "InstanceConfiguration", @@ -2883,7 +2899,7 @@ }, "components": { "shape": "ComponentConfigurationList", - "documentation": "

The components of the image recipe.

" + "documentation": "

The components included in the image recipe.

" }, "parentImage": { "shape": "NonEmptyString", @@ -3898,7 +3914,7 @@ }, "type": { "shape": "ImageType", - "documentation": "

Specifies whether this is an AMI or container image.

" + "documentation": "

Specifies whether this image produces an AMI or a container image.

" }, "name": { "shape": "ResourceName", @@ -3910,15 +3926,15 @@ }, "platform": { "shape": "Platform", - "documentation": "

The platform of the image.

" + "documentation": "

The image operating system platform, such as Linux or Windows.

" }, "enhancedImageMetadataEnabled": { "shape": "NullableBoolean", - "documentation": "

Collects additional information about the image being created, including the operating system (OS) version and package list. This information is used to enhance the overall experience of using EC2 Image Builder. Enabled by default.

" + "documentation": "

Indicates whether Image Builder collects additional information about the image, such as the operating system (OS) version and package list.

" }, "osVersion": { "shape": "OsVersion", - "documentation": "

The operating system version of the instance. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.

" + "documentation": "

The operating system version for instances that launch from this image. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.

" }, "state": { "shape": "ImageState", @@ -3926,11 +3942,11 @@ }, "imageRecipe": { "shape": "ImageRecipe", - "documentation": "

The image recipe used when creating the image.

" + "documentation": "

For images that distribute an AMI, this is the image recipe that Image Builder used to create the image. For container images, this is empty.

" }, "containerRecipe": { "shape": "ContainerRecipe", - "documentation": "

The recipe that is used to create an Image Builder container image.

" + "documentation": "

For container images, this is the container recipe that Image Builder used to create the image. For images that distribute an AMI, this is empty.

" }, "sourcePipelineName": { "shape": "ResourceName", @@ -3942,31 +3958,35 @@ }, "infrastructureConfiguration": { "shape": "InfrastructureConfiguration", - "documentation": "

The infrastructure used when creating this image.

" + "documentation": "

The infrastructure that Image Builder used to create this image.

" }, "distributionConfiguration": { "shape": "DistributionConfiguration", - "documentation": "

The distribution configuration used when creating this image.

" + "documentation": "

The distribution configuration that Image Builder used to create this image.

" }, "imageTestsConfiguration": { "shape": "ImageTestsConfiguration", - "documentation": "

The image tests configuration used when creating this image.

" + "documentation": "

The image tests that ran when that Image Builder created this image.

" }, "dateCreated": { "shape": "DateTime", - "documentation": "

The date on which this image was created.

" + "documentation": "

The date on which Image Builder created this image.

" }, "outputResources": { "shape": "OutputResources", - "documentation": "

The output resources produced when creating this image.

" + "documentation": "

The output resources that Image Builder produces for this image.

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

The tags of the image.

" + "documentation": "

The tags that apply to this image.

" }, "buildType": { "shape": "BuildType", "documentation": "

Indicates the type of build that created this image. The build can be initiated in the following ways:

" + }, + "imageSource": { + "shape": "ImageSource", + "documentation": "

The origin of the base image that Image Builder used to build this image.

" } }, "documentation": "

An Image Builder image. You must specify exactly one recipe for the image – either a container recipe (containerRecipe), which creates a container image, or an image recipe (imageRecipe), which creates an AMI.

" @@ -4060,11 +4080,11 @@ }, "dateLastRun": { "shape": "DateTime", - "documentation": "

The date on which this image pipeline was last run.

" + "documentation": "

This is no longer supported, and does not return a value.

" }, "dateNextRun": { "shape": "DateTime", - "documentation": "

The date on which this image pipeline will next be run.

" + "documentation": "

This is no longer supported, and does not return a value.

" }, "tags": { "shape": "TagMap", @@ -4116,7 +4136,7 @@ }, "components": { "shape": "ComponentConfigurationList", - "documentation": "

The components of the image recipe.

" + "documentation": "

The components that are included in the image recipe. Recipes require a minimum of one build component, and can have a maximum of 20 build and test components in any combination.

" }, "parentImage": { "shape": "NonEmptyString", @@ -4189,6 +4209,15 @@ "shape": "ImageRecipeSummary" } }, + "ImageSource": { + "type": "string", + "enum": [ + "AMAZON_MANAGED", + "AWS_MARKETPLACE", + "IMPORTED", + "CUSTOM" + ] + }, "ImageState": { "type": "structure", "members": { @@ -4232,7 +4261,7 @@ }, "type": { "shape": "ImageType", - "documentation": "

Specifies whether this is an AMI or container image.

" + "documentation": "

Specifies whether this image produces an AMI or a container image.

" }, "version": { "shape": "VersionNumber", @@ -4240,11 +4269,11 @@ }, "platform": { "shape": "Platform", - "documentation": "

The platform of the image.

" + "documentation": "

The image operating system platform, such as Linux or Windows.

" }, "osVersion": { "shape": "OsVersion", - "documentation": "

The operating system version of the instance. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.

" + "documentation": "

The operating system version of the instances that launch from this image. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.

" }, "state": { "shape": "ImageState", @@ -4256,19 +4285,23 @@ }, "dateCreated": { "shape": "DateTime", - "documentation": "

The date on which this image was created.

" + "documentation": "

The date on which Image Builder created this image.

" }, "outputResources": { "shape": "OutputResources", - "documentation": "

The output resources produced when creating this image.

" + "documentation": "

The output resources that Image Builder produced when it created this image.

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

The tags of the image.

" + "documentation": "

The tags that apply to this image.

" }, "buildType": { "shape": "BuildType", "documentation": "

Indicates the type of build that created this image. The build can be initiated in the following ways:

" + }, + "imageSource": { + "shape": "ImageSource", + "documentation": "

The origin of the base image that Image Builder used to build this image.

" } }, "documentation": "

An image summary.

" @@ -4288,7 +4321,7 @@ }, "timeoutMinutes": { "shape": "ImageTestsTimeoutMinutes", - "documentation": "

The maximum time in minutes that tests are permitted to run.

" + "documentation": "

The maximum time in minutes that tests are permitted to run.

The timeoutMinutes attribute is not currently active. This value is ignored.

" } }, "documentation": "

Configure image tests for your pipeline build. Tests run after building the image, to verify that the AMI or container image is valid before distributing it.

" @@ -4318,7 +4351,7 @@ }, "type": { "shape": "ImageType", - "documentation": "

Specifies whether this image is an AMI or a container image.

" + "documentation": "

Specifies whether this image produces an AMI or a container image.

" }, "version": { "shape": "VersionNumber", @@ -4326,7 +4359,7 @@ }, "platform": { "shape": "Platform", - "documentation": "

The platform of the image version, for example \"Windows\" or \"Linux\".

" + "documentation": "

The operating system platform of the image version, for example \"Windows\" or \"Linux\".

" }, "osVersion": { "shape": "OsVersion", @@ -4343,6 +4376,10 @@ "buildType": { "shape": "BuildType", "documentation": "

Indicates the type of build that created this image. The build can be initiated in the following ways:

" + }, + "imageSource": { + "shape": "ImageSource", + "documentation": "

The origin of the base image that Image Builder used to build this image.

" } }, "documentation": "

The defining characteristics of a specific version of an Image Builder image.

" @@ -4687,7 +4724,7 @@ }, "httpPutResponseHopLimit": { "shape": "HttpPutResponseHopLimit", - "documentation": "

Limit the number of hops that an instance metadata request can traverse to reach its destination.

" + "documentation": "

Limit the number of hops that an instance metadata request can traverse to reach its destination. The default is one hop. However, if HTTP tokens are required, container image builds need a minimum of two hops.

" } }, "documentation": "

The instance metadata options that apply to the HTTP requests that pipeline builds use to launch EC2 build and test instances. For more information about instance metadata options, see Configure the instance metadata options in the Amazon EC2 User Guide for Linux instances, or Configure the instance metadata options in the Amazon EC2 Windows Guide for Windows instances.

" @@ -4817,7 +4854,7 @@ "members": { "owner": { "shape": "Ownership", - "documentation": "

The owner defines which components you want to list. By default, this request will only show components owned by your account. You can use this field to specify if you want to view components owned by yourself, by Amazon, or those components that have been shared with you by other customers.

" + "documentation": "

Filters results based on the type of owner for the component. By default, this request returns a list of components that your account owns. To see results for other types of owners, you can specify components that Amazon manages, third party components, or components that other accounts have shared with you.

" }, "filters": { "shape": "FilterList", @@ -4825,7 +4862,7 @@ }, "byName": { "shape": "Boolean", - "documentation": "

Returns the list of component build versions for the specified name.

" + "documentation": "

Returns the list of components for the specified name.

" }, "maxResults": { "shape": "RestrictedInteger", @@ -5308,7 +5345,8 @@ "enum": [ "Self", "Shared", - "Amazon" + "Amazon", + "ThirdParty" ] }, "PaginationToken": { diff --git a/apis/network-firewall-2020-11-12.min.json b/apis/network-firewall-2020-11-12.min.json index bde1333c0d..fb6e46b46b 100644 --- a/apis/network-firewall-2020-11-12.min.json +++ b/apis/network-firewall-2020-11-12.min.json @@ -91,10 +91,10 @@ }, "Description": {}, "Tags": { - "shape": "Sf" + "shape": "Sg" }, "EncryptionConfiguration": { - "shape": "Sj" + "shape": "Sk" } } }, @@ -102,10 +102,10 @@ "type": "structure", "members": { "Firewall": { - "shape": "Sn" + "shape": "So" }, "FirewallStatus": { - "shape": "Sp" + "shape": "Sq" } } } @@ -120,17 +120,17 @@ "members": { "FirewallPolicyName": {}, "FirewallPolicy": { - "shape": "S1a" + "shape": "S1b" }, "Description": {}, "Tags": { - "shape": "Sf" + "shape": "Sg" }, "DryRun": { "type": "boolean" }, "EncryptionConfiguration": { - "shape": "Sj" + "shape": "Sk" } } }, @@ -143,7 +143,7 @@ "members": { "UpdateToken": {}, "FirewallPolicyResponse": { - "shape": "S1w" + "shape": "S1x" } } } @@ -159,7 +159,7 @@ "members": { "RuleGroupName": {}, "RuleGroup": { - "shape": "S22" + "shape": "S23" }, "Rules": {}, "Type": {}, @@ -168,16 +168,16 @@ "type": "integer" }, "Tags": { - "shape": "Sf" + "shape": "Sg" }, "DryRun": { "type": "boolean" }, "EncryptionConfiguration": { - "shape": "Sj" + "shape": "Sk" }, "SourceMetadata": { - "shape": "S3j" + "shape": "S3k" } } }, @@ -190,7 +190,7 @@ "members": { "UpdateToken": {}, "RuleGroupResponse": { - "shape": "S3l" + "shape": "S3m" } } } @@ -207,10 +207,10 @@ "type": "structure", "members": { "Firewall": { - "shape": "Sn" + "shape": "So" }, "FirewallStatus": { - "shape": "Sp" + "shape": "Sq" } } } @@ -230,7 +230,7 @@ ], "members": { "FirewallPolicyResponse": { - "shape": "S1w" + "shape": "S1x" } } } @@ -266,7 +266,7 @@ ], "members": { "RuleGroupResponse": { - "shape": "S3l" + "shape": "S3m" } } } @@ -284,10 +284,10 @@ "members": { "UpdateToken": {}, "Firewall": { - "shape": "Sn" + "shape": "So" }, "FirewallStatus": { - "shape": "Sp" + "shape": "Sq" } } } @@ -309,10 +309,10 @@ "members": { "UpdateToken": {}, "FirewallPolicyResponse": { - "shape": "S1w" + "shape": "S1x" }, "FirewallPolicy": { - "shape": "S1a" + "shape": "S1b" } } } @@ -330,7 +330,7 @@ "members": { "FirewallArn": {}, "LoggingConfiguration": { - "shape": "S40" + "shape": "S41" } } } @@ -370,10 +370,10 @@ "members": { "UpdateToken": {}, "RuleGroup": { - "shape": "S22" + "shape": "S23" }, "RuleGroupResponse": { - "shape": "S3l" + "shape": "S3m" } } } @@ -402,7 +402,7 @@ "type": "integer" }, "StatefulRuleOptions": { - "shape": "S3h" + "shape": "S3i" }, "LastModifiedTime": { "type": "timestamp" @@ -545,7 +545,7 @@ "members": { "NextToken": {}, "Tags": { - "shape": "Sf" + "shape": "Sg" } } } @@ -577,7 +577,7 @@ "members": { "ResourceArn": {}, "Tags": { - "shape": "Sf" + "shape": "Sg" } } }, @@ -661,7 +661,7 @@ "FirewallArn": {}, "FirewallName": {}, "EncryptionConfiguration": { - "shape": "Sj" + "shape": "Sk" } } }, @@ -672,7 +672,7 @@ "FirewallName": {}, "UpdateToken": {}, "EncryptionConfiguration": { - "shape": "Sj" + "shape": "Sk" } } } @@ -689,14 +689,14 @@ "FirewallPolicyArn": {}, "FirewallPolicyName": {}, "FirewallPolicy": { - "shape": "S1a" + "shape": "S1b" }, "Description": {}, "DryRun": { "type": "boolean" }, "EncryptionConfiguration": { - "shape": "Sj" + "shape": "Sk" } } }, @@ -709,7 +709,7 @@ "members": { "UpdateToken": {}, "FirewallPolicyResponse": { - "shape": "S1w" + "shape": "S1x" } } } @@ -748,7 +748,7 @@ "FirewallArn": {}, "FirewallName": {}, "LoggingConfiguration": { - "shape": "S40" + "shape": "S41" } } }, @@ -758,7 +758,7 @@ "FirewallArn": {}, "FirewallName": {}, "LoggingConfiguration": { - "shape": "S40" + "shape": "S41" } } } @@ -774,7 +774,7 @@ "RuleGroupArn": {}, "RuleGroupName": {}, "RuleGroup": { - "shape": "S22" + "shape": "S23" }, "Rules": {}, "Type": {}, @@ -783,10 +783,10 @@ "type": "boolean" }, "EncryptionConfiguration": { - "shape": "Sj" + "shape": "Sk" }, "SourceMetadata": { - "shape": "S3j" + "shape": "S3k" } } }, @@ -799,7 +799,7 @@ "members": { "UpdateToken": {}, "RuleGroupResponse": { - "shape": "S3l" + "shape": "S3m" } } } @@ -841,11 +841,12 @@ "SubnetId" ], "members": { - "SubnetId": {} + "SubnetId": {}, + "IPAddressType": {} } } }, - "Sf": { + "Sg": { "type": "list", "member": { "type": "structure", @@ -859,7 +860,7 @@ } } }, - "Sj": { + "Sk": { "type": "structure", "required": [ "Type" @@ -869,7 +870,7 @@ "Type": {} } }, - "Sn": { + "So": { "type": "structure", "required": [ "FirewallPolicyArn", @@ -897,14 +898,14 @@ "Description": {}, "FirewallId": {}, "Tags": { - "shape": "Sf" + "shape": "Sg" }, "EncryptionConfiguration": { - "shape": "Sj" + "shape": "Sk" } } }, - "Sp": { + "Sq": { "type": "structure", "required": [ "Status", @@ -972,7 +973,7 @@ } } }, - "S1a": { + "S1b": { "type": "structure", "required": [ "StatelessDefaultActions", @@ -996,13 +997,13 @@ } }, "StatelessDefaultActions": { - "shape": "S1e" + "shape": "S1f" }, "StatelessFragmentDefaultActions": { - "shape": "S1e" + "shape": "S1f" }, "StatelessCustomActions": { - "shape": "S1f" + "shape": "S1g" }, "StatefulRuleGroupReferences": { "type": "list", @@ -1038,11 +1039,11 @@ } } }, - "S1e": { + "S1f": { "type": "list", "member": {} }, - "S1f": { + "S1g": { "type": "list", "member": { "type": "structure", @@ -1080,7 +1081,7 @@ } } }, - "S1w": { + "S1x": { "type": "structure", "required": [ "FirewallPolicyName", @@ -1094,7 +1095,7 @@ "Description": {}, "FirewallPolicyStatus": {}, "Tags": { - "shape": "Sf" + "shape": "Sg" }, "ConsumedStatelessRuleCapacity": { "type": "integer" @@ -1106,14 +1107,14 @@ "type": "integer" }, "EncryptionConfiguration": { - "shape": "Sj" + "shape": "Sk" }, "LastModifiedTime": { "type": "timestamp" } } }, - "S22": { + "S23": { "type": "structure", "required": [ "RulesSource" @@ -1132,7 +1133,7 @@ ], "members": { "Definition": { - "shape": "S27" + "shape": "S28" } } } @@ -1144,7 +1145,7 @@ "type": "structure", "members": { "Definition": { - "shape": "S27" + "shape": "S28" } } } @@ -1264,16 +1265,16 @@ "type": "structure", "members": { "Sources": { - "shape": "S35" + "shape": "S36" }, "Destinations": { - "shape": "S35" + "shape": "S36" }, "SourcePorts": { - "shape": "S38" + "shape": "S39" }, "DestinationPorts": { - "shape": "S38" + "shape": "S39" }, "Protocols": { "type": "list", @@ -1290,10 +1291,10 @@ ], "members": { "Flags": { - "shape": "S3f" + "shape": "S3g" }, "Masks": { - "shape": "S3f" + "shape": "S3g" } } } @@ -1301,7 +1302,7 @@ } }, "Actions": { - "shape": "S1e" + "shape": "S1f" } } }, @@ -1312,22 +1313,22 @@ } }, "CustomActions": { - "shape": "S1f" + "shape": "S1g" } } } } }, "StatefulRuleOptions": { - "shape": "S3h" + "shape": "S3i" } } }, - "S27": { + "S28": { "type": "list", "member": {} }, - "S35": { + "S36": { "type": "list", "member": { "type": "structure", @@ -1339,7 +1340,7 @@ } } }, - "S38": { + "S39": { "type": "list", "member": { "type": "structure", @@ -1357,24 +1358,24 @@ } } }, - "S3f": { + "S3g": { "type": "list", "member": {} }, - "S3h": { + "S3i": { "type": "structure", "members": { "RuleOrder": {} } }, - "S3j": { + "S3k": { "type": "structure", "members": { "SourceArn": {}, "SourceUpdateToken": {} } }, - "S3l": { + "S3m": { "type": "structure", "required": [ "RuleGroupArn", @@ -1392,7 +1393,7 @@ }, "RuleGroupStatus": {}, "Tags": { - "shape": "Sf" + "shape": "Sg" }, "ConsumedCapacity": { "type": "integer" @@ -1401,10 +1402,10 @@ "type": "integer" }, "EncryptionConfiguration": { - "shape": "Sj" + "shape": "Sk" }, "SourceMetadata": { - "shape": "S3j" + "shape": "S3k" }, "SnsTopic": {}, "LastModifiedTime": { @@ -1412,7 +1413,7 @@ } } }, - "S40": { + "S41": { "type": "structure", "required": [ "LogDestinationConfigs" diff --git a/apis/network-firewall-2020-11-12.normal.json b/apis/network-firewall-2020-11-12.normal.json index 9f73c8c9c3..a1f7a02780 100644 --- a/apis/network-firewall-2020-11-12.normal.json +++ b/apis/network-firewall-2020-11-12.normal.json @@ -995,7 +995,7 @@ "members": { "AddressDefinition": { "shape": "AddressDefinition", - "documentation": "

Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

Examples:

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

" + "documentation": "

Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4 and IPv6.

Examples:

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

" } }, "documentation": "

A single IP address specification. This is used in the MatchAttributes source and destination specifications.

" @@ -2074,7 +2074,7 @@ }, "Source": { "shape": "Source", - "documentation": "

The source IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

Examples:

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

" + "documentation": "

The source IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4 and IPv6.

Examples:

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

" }, "SourcePort": { "shape": "Port", @@ -2086,7 +2086,7 @@ }, "Destination": { "shape": "Destination", - "documentation": "

The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

Examples:

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

" + "documentation": "

The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4 and IPv6.

Examples:

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

" }, "DestinationPort": { "shape": "Port", @@ -2095,6 +2095,13 @@ }, "documentation": "

The basic rule criteria for Network Firewall to use to inspect packet headers in stateful traffic flow inspection. Traffic flows that match the criteria are a match for the corresponding StatefulRule.

" }, + "IPAddressType": { + "type": "string", + "enum": [ + "DUALSTACK", + "IPV4" + ] + }, "IPSet": { "type": "structure", "required": [ @@ -3111,6 +3118,10 @@ "SubnetId": { "shape": "CollectionMember_String", "documentation": "

The unique identifier for the subnet.

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

The subnet's IP address type. You can't change the IP address type after you create the subnet.

" } }, "documentation": "

The ID for a subnet that you want to associate with the firewall. This is used with CreateFirewall and AssociateSubnets. Network Firewall creates an instance of the associated firewall in each subnet that you specify, to filter traffic in the subnet's Availability Zone.

" diff --git a/clients/billingconductor.d.ts b/clients/billingconductor.d.ts index 4b5ad95a58..1cad68638a 100644 --- a/clients/billingconductor.d.ts +++ b/clients/billingconductor.d.ts @@ -604,7 +604,7 @@ declare namespace Billingconductor { */ ModifierPercentage?: ModifierPercentage; /** - * If the Scope attribute is set to SERVICE, the attribute indicates which service the PricingRule is applicable for. + * If the Scope attribute is set to SERVICE or SKU, the attribute indicates which service the PricingRule is applicable for. */ Service?: Service; /** @@ -619,6 +619,14 @@ declare namespace Billingconductor { * The set of tiering configurations for the pricing rule. */ Tiering?: CreateTieringInput; + /** + * Usage type is the unit that each service uses to measure the usage of a specific type of resource. If the Scope attribute is set to SKU, this attribute indicates which usage type the PricingRule is modifying. For example, USW2-BoxUsage:m2.2xlarge describes an M2 High Memory Double Extra Large instance in the US West (Oregon) Region. </p> + */ + UsageType?: UsageType; + /** + * Operation is the specific Amazon Web Services action covered by this line item. This describes the specific usage of the line item. If the Scope attribute is set to SKU, this attribute indicates which operation the PricingRule is modifying. For example, a value of RunInstances:0202 indicates the operation of running an Amazon EC2 instance. + */ + Operation?: Operation; } export interface CreatePricingRuleOutput { /** @@ -1320,6 +1328,7 @@ declare namespace Billingconductor { export type NumberOfAssociatedPricingRules = number; export type NumberOfAssociations = number; export type NumberOfPricingPlansAssociatedWith = number; + export type Operation = string; export type PricingPlanArn = string; export type PricingPlanArns = PricingPlanArn[]; export type PricingPlanDescription = string; @@ -1694,6 +1703,14 @@ declare namespace Billingconductor { * The set of tiering configurations for the pricing rule. */ Tiering?: UpdateTieringInput; + /** + * Usage type is the unit that each service uses to measure the usage of a specific type of resource. If the Scope attribute is set to SKU, this attribute indicates which usage type the PricingRule is modifying. For example, USW2-BoxUsage:m2.2xlarge describes an M2 High Memory Double Extra Large instance in the US West (Oregon) Region. + */ + UsageType?: UsageType; + /** + * Operation refers to the specific Amazon Web Services covered by this line item. This describes the specific usage of the line item. If the Scope attribute is set to SKU, this attribute indicates which operation the PricingRule is modifying. For example, a value of RunInstances:0202 indicates the operation of running an Amazon EC2 instance. + */ + Operation?: Operation; } export interface UpdateTieringInput { /** @@ -1701,6 +1718,7 @@ declare namespace Billingconductor { */ FreeTier: UpdateFreeTierConfig; } + export type UsageType = 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/imagebuilder.d.ts b/clients/imagebuilder.d.ts index 6d670804d9..2677a8aba7 100644 --- a/clients/imagebuilder.d.ts +++ b/clients/imagebuilder.d.ts @@ -244,11 +244,11 @@ declare class Imagebuilder extends Service { */ listComponentBuildVersions(callback?: (err: AWSError, data: Imagebuilder.Types.ListComponentBuildVersionsResponse) => void): Request; /** - * Returns the list of component build versions for the specified semantic version. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards. + * Returns the list of components that can be filtered by name, or by using the listed filters to streamline results. Newly created components can take up to two minutes to appear in the ListComponents API Results. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards. */ listComponents(params: Imagebuilder.Types.ListComponentsRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListComponentsResponse) => void): Request; /** - * Returns the list of component build versions for the specified semantic version. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards. + * Returns the list of components that can be filtered by name, or by using the listed filters to streamline results. Newly created components can take up to two minutes to appear in the ListComponents API Results. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards. */ listComponents(callback?: (err: AWSError, data: Imagebuilder.Types.ListComponentsResponse) => void): Request; /** @@ -284,11 +284,11 @@ declare class Imagebuilder extends Service { */ listImagePackages(callback?: (err: AWSError, data: Imagebuilder.Types.ListImagePackagesResponse) => void): Request; /** - * Returns a list of images created by the specified pipeline. + * Returns a list of images created by the specified pipeline. */ listImagePipelineImages(params: Imagebuilder.Types.ListImagePipelineImagesRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListImagePipelineImagesResponse) => void): Request; /** - * Returns a list of images created by the specified pipeline. + * Returns a list of images created by the specified pipeline. */ listImagePipelineImages(callback?: (err: AWSError, data: Imagebuilder.Types.ListImagePipelineImagesResponse) => void): Request; /** @@ -308,11 +308,11 @@ declare class Imagebuilder extends Service { */ listImageRecipes(callback?: (err: AWSError, data: Imagebuilder.Types.ListImageRecipesResponse) => void): Request; /** - * Returns the list of images that you have access to. + * Returns the list of images that you have access to. Newly created images can take up to two minutes to appear in the ListImages API Results. */ listImages(params: Imagebuilder.Types.ListImagesRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListImagesResponse) => void): Request; /** - * Returns the list of images that you have access to. + * Returns the list of images that you have access to. Newly created images can take up to two minutes to appear in the ListImages API Results. */ listImages(callback?: (err: AWSError, data: Imagebuilder.Types.ListImagesResponse) => void): Request; /** @@ -526,15 +526,15 @@ declare namespace Imagebuilder { */ changeDescription?: NonEmptyString; /** - * The type of the component denotes whether the component is used to build the image or only to test it. + * The component type specifies whether Image Builder uses the component to build the image or only to test it. */ type?: ComponentType; /** - * The platform of the component. + * The operating system platform of the component. */ platform?: Platform; /** - * The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the base image OS version during image recipe creation. + * The operating system (OS) version supported by the component. If the OS information is available, Image Builder performs a prefix match against the base image OS version during image recipe creation. */ supportedOsVersions?: OsVersionList; /** @@ -542,7 +542,7 @@ declare namespace Imagebuilder { */ state?: ComponentState; /** - * Contains parameter details for each of the parameters that are defined for the component. + * Contains parameter details for each of the parameters that the component document defined for the component. */ parameters?: ComponentParameterDetailList; /** @@ -562,13 +562,21 @@ declare namespace Imagebuilder { */ encrypted?: NullableBoolean; /** - * The date that the component was created. + * The date that Image Builder created the component. */ dateCreated?: DateTime; /** - * The tags associated with the component. + * The tags that apply to the component. */ tags?: TagMap; + /** + * Contains the name of the publisher if this is a third-party component. Otherwise, this property is empty. + */ + publisher?: NonEmptyString; + /** + * Indicates whether component source is hidden from view in the console, and from component detail results for API, CLI, or SDK operations. + */ + obfuscate?: Boolean; } export type ComponentBuildVersionArn = string; export interface ComponentConfiguration { @@ -577,7 +585,7 @@ declare namespace Imagebuilder { */ componentArn: ComponentVersionArnOrBuildVersionArn; /** - * A group of parameter settings that are used to configure the component for a specific recipe. + * A group of parameter settings that Image Builder uses to configure the component for a specific recipe. */ parameters?: ComponentParameterList; } @@ -644,11 +652,11 @@ declare namespace Imagebuilder { */ version?: VersionNumber; /** - * The platform of the component. + * The operating system platform of the component. */ platform?: Platform; /** - * The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the base image OS version during image recipe creation. + * The operating system (OS) version that the component supports. If the OS information is available, Image Builder performs a prefix match against the base image OS version during image recipe creation. */ supportedOsVersions?: OsVersionList; /** @@ -656,7 +664,7 @@ declare namespace Imagebuilder { */ state?: ComponentState; /** - * The type of the component denotes whether the component is used to build the image or only to test it. + * The component type specifies whether Image Builder uses the component to build the image or only to test it. */ type?: ComponentType; /** @@ -668,17 +676,25 @@ declare namespace Imagebuilder { */ description?: NonEmptyString; /** - * The change description of the component. + * The change description for the current version of the component. */ changeDescription?: NonEmptyString; /** - * The date that the component was created. + * The original creation date of the component. */ dateCreated?: DateTime; /** - * The tags associated with the component. + * The tags that apply to the component. */ tags?: TagMap; + /** + * Contains the name of the publisher if this is a third-party component. Otherwise, this property is empty. + */ + publisher?: NonEmptyString; + /** + * Indicates whether component source is hidden from view in the console, and from component detail results for API, CLI, or SDK operations. + */ + obfuscate?: Boolean; } export type ComponentSummaryList = ComponentSummary[]; export type ComponentType = "BUILD"|"TEST"|string; @@ -778,7 +794,7 @@ declare namespace Imagebuilder { */ version?: VersionNumber; /** - * Components for build and test that are included in the container recipe. + * Build and test components that are included in the container recipe. Recipes require a minimum of one build component, and can have a maximum of 20 build and test components in any combination. */ components?: ComponentConfigurationList; /** @@ -866,7 +882,7 @@ declare namespace Imagebuilder { */ semanticVersion: VersionNumber; /** - * The description of the component. Describes the contents of the component. + * Describes the contents of the component. */ description?: NonEmptyString; /** @@ -874,7 +890,7 @@ declare namespace Imagebuilder { */ changeDescription?: NonEmptyString; /** - * The platform of the component. + * The operating system platform of the component. */ platform: Platform; /** @@ -890,11 +906,11 @@ declare namespace Imagebuilder { */ uri?: Uri; /** - * The ID of the KMS key that should be used to encrypt this component. + * The ID of the KMS key that is used to encrypt this component. */ kmsKeyId?: NonEmptyString; /** - * The tags of the component. + * The tags that apply to the component. */ tags?: TagMap; /** @@ -934,7 +950,7 @@ declare namespace Imagebuilder { */ semanticVersion: VersionNumber; /** - * Components for build and test that are included in the container recipe. + * Components for build and test that are included in the container recipe. Recipes require a minimum of one build component, and can have a maximum of 20 build and test components in any combination. */ components: ComponentConfigurationList; /** @@ -1110,7 +1126,7 @@ declare namespace Imagebuilder { */ semanticVersion: VersionNumber; /** - * The components of the image recipe. + * The components included in the image recipe. */ components: ComponentConfigurationList; /** @@ -1765,7 +1781,7 @@ declare namespace Imagebuilder { */ arn?: ImageBuilderArn; /** - * Specifies whether this is an AMI or container image. + * Specifies whether this image produces an AMI or a container image. */ type?: ImageType; /** @@ -1777,15 +1793,15 @@ declare namespace Imagebuilder { */ version?: VersionNumber; /** - * The platform of the image. + * The image operating system platform, such as Linux or Windows. */ platform?: Platform; /** - * Collects additional information about the image being created, including the operating system (OS) version and package list. This information is used to enhance the overall experience of using EC2 Image Builder. Enabled by default. + * Indicates whether Image Builder collects additional information about the image, such as the operating system (OS) version and package list. */ enhancedImageMetadataEnabled?: NullableBoolean; /** - * The operating system version of the instance. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019. + * The operating system version for instances that launch from this image. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019. */ osVersion?: OsVersion; /** @@ -1793,11 +1809,11 @@ declare namespace Imagebuilder { */ state?: ImageState; /** - * The image recipe used when creating the image. + * For images that distribute an AMI, this is the image recipe that Image Builder used to create the image. For container images, this is empty. */ imageRecipe?: ImageRecipe; /** - * The recipe that is used to create an Image Builder container image. + * For container images, this is the container recipe that Image Builder used to create the image. For images that distribute an AMI, this is empty. */ containerRecipe?: ContainerRecipe; /** @@ -1809,33 +1825,37 @@ declare namespace Imagebuilder { */ sourcePipelineArn?: Arn; /** - * The infrastructure used when creating this image. + * The infrastructure that Image Builder used to create this image. */ infrastructureConfiguration?: InfrastructureConfiguration; /** - * The distribution configuration used when creating this image. + * The distribution configuration that Image Builder used to create this image. */ distributionConfiguration?: DistributionConfiguration; /** - * The image tests configuration used when creating this image. + * The image tests that ran when that Image Builder created this image. */ imageTestsConfiguration?: ImageTestsConfiguration; /** - * The date on which this image was created. + * The date on which Image Builder created this image. */ dateCreated?: DateTime; /** - * The output resources produced when creating this image. + * The output resources that Image Builder produces for this image. */ outputResources?: OutputResources; /** - * The tags of the image. + * The tags that apply to this image. */ tags?: TagMap; /** * Indicates the type of build that created this image. The build can be initiated in the following ways: USER_INITIATED – A manual pipeline build request. SCHEDULED – A pipeline build initiated by a cron expression in the Image Builder pipeline, or from EventBridge. IMPORT – A VM import created the image to use as the base image for the recipe. */ buildType?: BuildType; + /** + * The origin of the base image that Image Builder used to build this image. + */ + imageSource?: ImageSource; } export type ImageBuildVersionArn = string; export type ImageBuilderArn = string; @@ -1908,11 +1928,11 @@ declare namespace Imagebuilder { */ dateUpdated?: DateTime; /** - * The date on which this image pipeline was last run. + * This is no longer supported, and does not return a value. */ dateLastRun?: DateTime; /** - * The date on which this image pipeline will next be run. + * This is no longer supported, and does not return a value. */ dateNextRun?: DateTime; /** @@ -1952,7 +1972,7 @@ declare namespace Imagebuilder { */ version?: VersionNumber; /** - * The components of the image recipe. + * The components that are included in the image recipe. Recipes require a minimum of one build component, and can have a maximum of 20 build and test components in any combination. */ components?: ComponentConfigurationList; /** @@ -2012,6 +2032,7 @@ declare namespace Imagebuilder { tags?: TagMap; } export type ImageRecipeSummaryList = ImageRecipeSummary[]; + export type ImageSource = "AMAZON_MANAGED"|"AWS_MARKETPLACE"|"IMPORTED"|"CUSTOM"|string; export interface ImageState { /** * The status of the image. @@ -2033,7 +2054,7 @@ declare namespace Imagebuilder { */ name?: ResourceName; /** - * Specifies whether this is an AMI or container image. + * Specifies whether this image produces an AMI or a container image. */ type?: ImageType; /** @@ -2041,11 +2062,11 @@ declare namespace Imagebuilder { */ version?: VersionNumber; /** - * The platform of the image. + * The image operating system platform, such as Linux or Windows. */ platform?: Platform; /** - * The operating system version of the instance. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019. + * The operating system version of the instances that launch from this image. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019. */ osVersion?: OsVersion; /** @@ -2057,21 +2078,25 @@ declare namespace Imagebuilder { */ owner?: NonEmptyString; /** - * The date on which this image was created. + * The date on which Image Builder created this image. */ dateCreated?: DateTime; /** - * The output resources produced when creating this image. + * The output resources that Image Builder produced when it created this image. */ outputResources?: OutputResources; /** - * The tags of the image. + * The tags that apply to this image. */ tags?: TagMap; /** * Indicates the type of build that created this image. The build can be initiated in the following ways: USER_INITIATED – A manual pipeline build request. SCHEDULED – A pipeline build initiated by a cron expression in the Image Builder pipeline, or from EventBridge. IMPORT – A VM import created the image to use as the base image for the recipe. */ buildType?: BuildType; + /** + * The origin of the base image that Image Builder used to build this image. + */ + imageSource?: ImageSource; } export type ImageSummaryList = ImageSummary[]; export interface ImageTestsConfiguration { @@ -2080,7 +2105,7 @@ declare namespace Imagebuilder { */ imageTestsEnabled?: NullableBoolean; /** - * The maximum time in minutes that tests are permitted to run. + * The maximum time in minutes that tests are permitted to run. The timeoutMinutes attribute is not currently active. This value is ignored. */ timeoutMinutes?: ImageTestsTimeoutMinutes; } @@ -2096,7 +2121,7 @@ declare namespace Imagebuilder { */ name?: ResourceName; /** - * Specifies whether this image is an AMI or a container image. + * Specifies whether this image produces an AMI or a container image. */ type?: ImageType; /** @@ -2104,7 +2129,7 @@ declare namespace Imagebuilder { */ version?: VersionNumber; /** - * The platform of the image version, for example "Windows" or "Linux". + * The operating system platform of the image version, for example "Windows" or "Linux". */ platform?: Platform; /** @@ -2123,6 +2148,10 @@ declare namespace Imagebuilder { * Indicates the type of build that created this image. The build can be initiated in the following ways: USER_INITIATED – A manual pipeline build request. SCHEDULED – A pipeline build initiated by a cron expression in the Image Builder pipeline, or from EventBridge. IMPORT – A VM import created the image to use as the base image for the recipe. */ buildType?: BuildType; + /** + * The origin of the base image that Image Builder used to build this image. + */ + imageSource?: ImageSource; } export type ImageVersionArn = string; export type ImageVersionArnOrBuildVersionArn = string; @@ -2382,7 +2411,7 @@ declare namespace Imagebuilder { */ httpTokens?: HttpTokens; /** - * Limit the number of hops that an instance metadata request can traverse to reach its destination. + * Limit the number of hops that an instance metadata request can traverse to reach its destination. The default is one hop. However, if HTTP tokens are required, container image builds need a minimum of two hops. */ httpPutResponseHopLimit?: HttpPutResponseHopLimit; } @@ -2455,7 +2484,7 @@ declare namespace Imagebuilder { } export interface ListComponentsRequest { /** - * The owner defines which components you want to list. By default, this request will only show components owned by your account. You can use this field to specify if you want to view components owned by yourself, by Amazon, or those components that have been shared with you by other customers. + * Filters results based on the type of owner for the component. By default, this request returns a list of components that your account owns. To see results for other types of owners, you can specify components that Amazon manages, third party components, or components that other accounts have shared with you. */ owner?: Ownership; /** @@ -2463,7 +2492,7 @@ declare namespace Imagebuilder { */ filters?: FilterList; /** - * Returns the list of component build versions for the specified name. + * Returns the list of components for the specified name. */ byName?: Boolean; /** @@ -2806,7 +2835,7 @@ declare namespace Imagebuilder { */ containers?: ContainerList; } - export type Ownership = "Self"|"Shared"|"Amazon"|string; + export type Ownership = "Self"|"Shared"|"Amazon"|"ThirdParty"|string; export type PaginationToken = string; export type PipelineExecutionStartCondition = "EXPRESSION_MATCH_ONLY"|"EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE"|string; export type PipelineStatus = "DISABLED"|"ENABLED"|string; diff --git a/clients/networkfirewall.d.ts b/clients/networkfirewall.d.ts index 00d92f369c..27dbe7869b 100644 --- a/clients/networkfirewall.d.ts +++ b/clients/networkfirewall.d.ts @@ -270,7 +270,7 @@ declare namespace NetworkFirewall { export type ActionName = string; export interface Address { /** - * Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4. Examples: To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32. To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24. For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing. + * Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4 and IPv6. Examples: To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32. To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24. To configure Network Firewall to inspect for the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify 1111:0000:0000:0000:0000:0000:0000:0111/128. To configure Network Firewall to inspect for IP addresses from 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify 1111:0000:0000:0000:0000:0000:0000:0000/64. For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing. */ AddressDefinition: AddressDefinition; } @@ -984,7 +984,7 @@ declare namespace NetworkFirewall { */ Protocol: StatefulRuleProtocol; /** - * The source IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY. Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4. Examples: To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32. To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24. For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing. + * The source IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY. Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4 and IPv6. Examples: To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32. To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24. To configure Network Firewall to inspect for the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify 1111:0000:0000:0000:0000:0000:0000:0111/128. To configure Network Firewall to inspect for IP addresses from 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify 1111:0000:0000:0000:0000:0000:0000:0000/64. For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing. */ Source: Source; /** @@ -996,7 +996,7 @@ declare namespace NetworkFirewall { */ Direction: StatefulRuleDirection; /** - * The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY. Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4. Examples: To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32. To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24. For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing. + * The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY. Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4 and IPv6. Examples: To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32. To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24. To configure Network Firewall to inspect for the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify 1111:0000:0000:0000:0000:0000:0000:0111/128. To configure Network Firewall to inspect for IP addresses from 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify 1111:0000:0000:0000:0000:0000:0000:0000/64. For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing. */ Destination: Destination; /** @@ -1004,6 +1004,7 @@ declare namespace NetworkFirewall { */ DestinationPort: Port; } + export type IPAddressType = "DUALSTACK"|"IPV4"|string; export interface IPSet { /** * The list of IP addresses and address ranges, in CIDR notation. @@ -1514,6 +1515,10 @@ declare namespace NetworkFirewall { * The unique identifier for the subnet. */ SubnetId: CollectionMember_String; + /** + * The subnet's IP address type. You can't change the IP address type after you create the subnet. + */ + IPAddressType?: IPAddressType; } export type SubnetMappings = SubnetMapping[]; export interface SyncState { diff --git a/dist/aws-sdk-core-react-native.js b/dist/aws-sdk-core-react-native.js index b96af70961..bdd1f31555 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.1295.0', + VERSION: '2.1296.0', /** * @api private diff --git a/dist/aws-sdk-react-native.js b/dist/aws-sdk-react-native.js index 750ebc6ac9..c00e5ff499 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.1295.0', + VERSION: '2.1296.0', /** * @api private @@ -56801,7 +56801,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 854 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2019-12-02","endpointPrefix":"imagebuilder","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"imagebuilder","serviceFullName":"EC2 Image Builder","serviceId":"imagebuilder","signatureVersion":"v4","signingName":"imagebuilder","uid":"imagebuilder-2019-12-02"},"operations":{"CancelImageCreation":{"http":{"method":"PUT","requestUri":"/CancelImageCreation"},"input":{"type":"structure","required":["imageBuildVersionArn","clientToken"],"members":{"imageBuildVersionArn":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"imageBuildVersionArn":{}}}},"CreateComponent":{"http":{"method":"PUT","requestUri":"/CreateComponent"},"input":{"type":"structure","required":["name","semanticVersion","platform","clientToken"],"members":{"name":{},"semanticVersion":{},"description":{},"changeDescription":{},"platform":{},"supportedOsVersions":{"shape":"Sa"},"data":{},"uri":{},"kmsKeyId":{},"tags":{"shape":"Se"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"componentBuildVersionArn":{}}}},"CreateContainerRecipe":{"http":{"method":"PUT","requestUri":"/CreateContainerRecipe"},"input":{"type":"structure","required":["containerType","name","semanticVersion","components","parentImage","targetRepository","clientToken"],"members":{"containerType":{},"name":{},"description":{},"semanticVersion":{},"components":{"shape":"Sl"},"instanceConfiguration":{"shape":"St"},"dockerfileTemplateData":{},"dockerfileTemplateUri":{},"platformOverride":{},"imageOsVersionOverride":{},"parentImage":{},"tags":{"shape":"Se"},"workingDirectory":{},"targetRepository":{"shape":"S14"},"kmsKeyId":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"containerRecipeArn":{}}}},"CreateDistributionConfiguration":{"http":{"method":"PUT","requestUri":"/CreateDistributionConfiguration"},"input":{"type":"structure","required":["name","distributions","clientToken"],"members":{"name":{},"description":{},"distributions":{"shape":"S19"},"tags":{"shape":"Se"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"distributionConfigurationArn":{}}}},"CreateImage":{"http":{"method":"PUT","requestUri":"/CreateImage"},"input":{"type":"structure","required":["infrastructureConfigurationArn","clientToken"],"members":{"imageRecipeArn":{},"containerRecipeArn":{},"distributionConfigurationArn":{},"infrastructureConfigurationArn":{},"imageTestsConfiguration":{"shape":"S25"},"enhancedImageMetadataEnabled":{"type":"boolean"},"tags":{"shape":"Se"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"imageBuildVersionArn":{}}}},"CreateImagePipeline":{"http":{"method":"PUT","requestUri":"/CreateImagePipeline"},"input":{"type":"structure","required":["name","infrastructureConfigurationArn","clientToken"],"members":{"name":{},"description":{},"imageRecipeArn":{},"containerRecipeArn":{},"infrastructureConfigurationArn":{},"distributionConfigurationArn":{},"imageTestsConfiguration":{"shape":"S25"},"enhancedImageMetadataEnabled":{"type":"boolean"},"schedule":{"shape":"S29"},"status":{},"tags":{"shape":"Se"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"imagePipelineArn":{}}}},"CreateImageRecipe":{"http":{"method":"PUT","requestUri":"/CreateImageRecipe"},"input":{"type":"structure","required":["name","semanticVersion","components","parentImage","clientToken"],"members":{"name":{},"description":{},"semanticVersion":{},"components":{"shape":"Sl"},"parentImage":{},"blockDeviceMappings":{"shape":"Su"},"tags":{"shape":"Se"},"workingDirectory":{},"additionalInstanceConfiguration":{"shape":"S2g"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"imageRecipeArn":{}}}},"CreateInfrastructureConfiguration":{"http":{"method":"PUT","requestUri":"/CreateInfrastructureConfiguration"},"input":{"type":"structure","required":["name","instanceProfileName","clientToken"],"members":{"name":{},"description":{},"instanceTypes":{"shape":"S2l"},"instanceProfileName":{},"securityGroupIds":{"shape":"S2o"},"subnetId":{},"logging":{"shape":"S2p"},"keyPair":{},"terminateInstanceOnFailure":{"type":"boolean"},"snsTopicArn":{},"resourceTags":{"shape":"S2s"},"instanceMetadataOptions":{"shape":"S2t"},"tags":{"shape":"Se"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"infrastructureConfigurationArn":{}}}},"DeleteComponent":{"http":{"method":"DELETE","requestUri":"/DeleteComponent"},"input":{"type":"structure","required":["componentBuildVersionArn"],"members":{"componentBuildVersionArn":{"location":"querystring","locationName":"componentBuildVersionArn"}}},"output":{"type":"structure","members":{"requestId":{},"componentBuildVersionArn":{}}}},"DeleteContainerRecipe":{"http":{"method":"DELETE","requestUri":"/DeleteContainerRecipe"},"input":{"type":"structure","required":["containerRecipeArn"],"members":{"containerRecipeArn":{"location":"querystring","locationName":"containerRecipeArn"}}},"output":{"type":"structure","members":{"requestId":{},"containerRecipeArn":{}}}},"DeleteDistributionConfiguration":{"http":{"method":"DELETE","requestUri":"/DeleteDistributionConfiguration"},"input":{"type":"structure","required":["distributionConfigurationArn"],"members":{"distributionConfigurationArn":{"location":"querystring","locationName":"distributionConfigurationArn"}}},"output":{"type":"structure","members":{"requestId":{},"distributionConfigurationArn":{}}}},"DeleteImage":{"http":{"method":"DELETE","requestUri":"/DeleteImage"},"input":{"type":"structure","required":["imageBuildVersionArn"],"members":{"imageBuildVersionArn":{"location":"querystring","locationName":"imageBuildVersionArn"}}},"output":{"type":"structure","members":{"requestId":{},"imageBuildVersionArn":{}}}},"DeleteImagePipeline":{"http":{"method":"DELETE","requestUri":"/DeleteImagePipeline"},"input":{"type":"structure","required":["imagePipelineArn"],"members":{"imagePipelineArn":{"location":"querystring","locationName":"imagePipelineArn"}}},"output":{"type":"structure","members":{"requestId":{},"imagePipelineArn":{}}}},"DeleteImageRecipe":{"http":{"method":"DELETE","requestUri":"/DeleteImageRecipe"},"input":{"type":"structure","required":["imageRecipeArn"],"members":{"imageRecipeArn":{"location":"querystring","locationName":"imageRecipeArn"}}},"output":{"type":"structure","members":{"requestId":{},"imageRecipeArn":{}}}},"DeleteInfrastructureConfiguration":{"http":{"method":"DELETE","requestUri":"/DeleteInfrastructureConfiguration"},"input":{"type":"structure","required":["infrastructureConfigurationArn"],"members":{"infrastructureConfigurationArn":{"location":"querystring","locationName":"infrastructureConfigurationArn"}}},"output":{"type":"structure","members":{"requestId":{},"infrastructureConfigurationArn":{}}}},"GetComponent":{"http":{"method":"GET","requestUri":"/GetComponent"},"input":{"type":"structure","required":["componentBuildVersionArn"],"members":{"componentBuildVersionArn":{"location":"querystring","locationName":"componentBuildVersionArn"}}},"output":{"type":"structure","members":{"requestId":{},"component":{"type":"structure","members":{"arn":{},"name":{},"version":{},"description":{},"changeDescription":{},"type":{},"platform":{},"supportedOsVersions":{"shape":"Sa"},"state":{"shape":"S3g"},"parameters":{"type":"list","member":{"type":"structure","required":["name","type"],"members":{"name":{},"type":{},"defaultValue":{"shape":"Sr"},"description":{}}}},"owner":{},"data":{},"kmsKeyId":{},"encrypted":{"type":"boolean"},"dateCreated":{},"tags":{"shape":"Se"}}}}}},"GetComponentPolicy":{"http":{"method":"GET","requestUri":"/GetComponentPolicy"},"input":{"type":"structure","required":["componentArn"],"members":{"componentArn":{"location":"querystring","locationName":"componentArn"}}},"output":{"type":"structure","members":{"requestId":{},"policy":{}}}},"GetContainerRecipe":{"http":{"method":"GET","requestUri":"/GetContainerRecipe"},"input":{"type":"structure","required":["containerRecipeArn"],"members":{"containerRecipeArn":{"location":"querystring","locationName":"containerRecipeArn"}}},"output":{"type":"structure","members":{"requestId":{},"containerRecipe":{"shape":"S3t"}}}},"GetContainerRecipePolicy":{"http":{"method":"GET","requestUri":"/GetContainerRecipePolicy"},"input":{"type":"structure","required":["containerRecipeArn"],"members":{"containerRecipeArn":{"location":"querystring","locationName":"containerRecipeArn"}}},"output":{"type":"structure","members":{"requestId":{},"policy":{}}}},"GetDistributionConfiguration":{"http":{"method":"GET","requestUri":"/GetDistributionConfiguration"},"input":{"type":"structure","required":["distributionConfigurationArn"],"members":{"distributionConfigurationArn":{"location":"querystring","locationName":"distributionConfigurationArn"}}},"output":{"type":"structure","members":{"requestId":{},"distributionConfiguration":{"shape":"S3z"}}}},"GetImage":{"http":{"method":"GET","requestUri":"/GetImage"},"input":{"type":"structure","required":["imageBuildVersionArn"],"members":{"imageBuildVersionArn":{"location":"querystring","locationName":"imageBuildVersionArn"}}},"output":{"type":"structure","members":{"requestId":{},"image":{"type":"structure","members":{"arn":{},"type":{},"name":{},"version":{},"platform":{},"enhancedImageMetadataEnabled":{"type":"boolean"},"osVersion":{},"state":{"shape":"S46"},"imageRecipe":{"shape":"S48"},"containerRecipe":{"shape":"S3t"},"sourcePipelineName":{},"sourcePipelineArn":{},"infrastructureConfiguration":{"shape":"S4a"},"distributionConfiguration":{"shape":"S3z"},"imageTestsConfiguration":{"shape":"S25"},"dateCreated":{},"outputResources":{"shape":"S4b"},"tags":{"shape":"Se"},"buildType":{}}}}}},"GetImagePipeline":{"http":{"method":"GET","requestUri":"/GetImagePipeline"},"input":{"type":"structure","required":["imagePipelineArn"],"members":{"imagePipelineArn":{"location":"querystring","locationName":"imagePipelineArn"}}},"output":{"type":"structure","members":{"requestId":{},"imagePipeline":{"shape":"S4j"}}}},"GetImagePolicy":{"http":{"method":"GET","requestUri":"/GetImagePolicy"},"input":{"type":"structure","required":["imageArn"],"members":{"imageArn":{"location":"querystring","locationName":"imageArn"}}},"output":{"type":"structure","members":{"requestId":{},"policy":{}}}},"GetImageRecipe":{"http":{"method":"GET","requestUri":"/GetImageRecipe"},"input":{"type":"structure","required":["imageRecipeArn"],"members":{"imageRecipeArn":{"location":"querystring","locationName":"imageRecipeArn"}}},"output":{"type":"structure","members":{"requestId":{},"imageRecipe":{"shape":"S48"}}}},"GetImageRecipePolicy":{"http":{"method":"GET","requestUri":"/GetImageRecipePolicy"},"input":{"type":"structure","required":["imageRecipeArn"],"members":{"imageRecipeArn":{"location":"querystring","locationName":"imageRecipeArn"}}},"output":{"type":"structure","members":{"requestId":{},"policy":{}}}},"GetInfrastructureConfiguration":{"http":{"method":"GET","requestUri":"/GetInfrastructureConfiguration"},"input":{"type":"structure","required":["infrastructureConfigurationArn"],"members":{"infrastructureConfigurationArn":{"location":"querystring","locationName":"infrastructureConfigurationArn"}}},"output":{"type":"structure","members":{"requestId":{},"infrastructureConfiguration":{"shape":"S4a"}}}},"ImportComponent":{"http":{"method":"PUT","requestUri":"/ImportComponent"},"input":{"type":"structure","required":["name","semanticVersion","type","format","platform","clientToken"],"members":{"name":{},"semanticVersion":{},"description":{},"changeDescription":{},"type":{},"format":{},"platform":{},"data":{},"uri":{},"kmsKeyId":{},"tags":{"shape":"Se"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"componentBuildVersionArn":{}}}},"ImportVmImage":{"http":{"method":"PUT","requestUri":"/ImportVmImage"},"input":{"type":"structure","required":["name","semanticVersion","platform","vmImportTaskId","clientToken"],"members":{"name":{},"semanticVersion":{},"description":{},"platform":{},"osVersion":{},"vmImportTaskId":{},"tags":{"shape":"Se"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"imageArn":{},"clientToken":{}}}},"ListComponentBuildVersions":{"http":{"requestUri":"/ListComponentBuildVersions"},"input":{"type":"structure","required":["componentVersionArn"],"members":{"componentVersionArn":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"componentSummaryList":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"version":{},"platform":{},"supportedOsVersions":{"shape":"Sa"},"state":{"shape":"S3g"},"type":{},"owner":{},"description":{},"changeDescription":{},"dateCreated":{},"tags":{"shape":"Se"}}}},"nextToken":{}}}},"ListComponents":{"http":{"requestUri":"/ListComponents"},"input":{"type":"structure","members":{"owner":{},"filters":{"shape":"S56"},"byName":{"type":"boolean"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"componentVersionList":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"version":{},"description":{},"platform":{},"supportedOsVersions":{"shape":"Sa"},"type":{},"owner":{},"dateCreated":{}}}},"nextToken":{}}}},"ListContainerRecipes":{"http":{"requestUri":"/ListContainerRecipes"},"input":{"type":"structure","members":{"owner":{},"filters":{"shape":"S56"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"containerRecipeSummaryList":{"type":"list","member":{"type":"structure","members":{"arn":{},"containerType":{},"name":{},"platform":{},"owner":{},"parentImage":{},"dateCreated":{},"tags":{"shape":"Se"}}}},"nextToken":{}}}},"ListDistributionConfigurations":{"http":{"requestUri":"/ListDistributionConfigurations"},"input":{"type":"structure","members":{"filters":{"shape":"S56"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"distributionConfigurationSummaryList":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"description":{},"dateCreated":{},"dateUpdated":{},"tags":{"shape":"Se"},"regions":{"type":"list","member":{}}}}},"nextToken":{}}}},"ListImageBuildVersions":{"http":{"requestUri":"/ListImageBuildVersions"},"input":{"type":"structure","required":["imageVersionArn"],"members":{"imageVersionArn":{},"filters":{"shape":"S56"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"imageSummaryList":{"shape":"S5q"},"nextToken":{}}}},"ListImagePackages":{"http":{"requestUri":"/ListImagePackages"},"input":{"type":"structure","required":["imageBuildVersionArn"],"members":{"imageBuildVersionArn":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"imagePackageList":{"type":"list","member":{"type":"structure","members":{"packageName":{},"packageVersion":{}}}},"nextToken":{}}}},"ListImagePipelineImages":{"http":{"requestUri":"/ListImagePipelineImages"},"input":{"type":"structure","required":["imagePipelineArn"],"members":{"imagePipelineArn":{},"filters":{"shape":"S56"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"imageSummaryList":{"shape":"S5q"},"nextToken":{}}}},"ListImagePipelines":{"http":{"requestUri":"/ListImagePipelines"},"input":{"type":"structure","members":{"filters":{"shape":"S56"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"imagePipelineList":{"type":"list","member":{"shape":"S4j"}},"nextToken":{}}}},"ListImageRecipes":{"http":{"requestUri":"/ListImageRecipes"},"input":{"type":"structure","members":{"owner":{},"filters":{"shape":"S56"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"imageRecipeSummaryList":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"platform":{},"owner":{},"parentImage":{},"dateCreated":{},"tags":{"shape":"Se"}}}},"nextToken":{}}}},"ListImages":{"http":{"requestUri":"/ListImages"},"input":{"type":"structure","members":{"owner":{},"filters":{"shape":"S56"},"byName":{"type":"boolean"},"maxResults":{"type":"integer"},"nextToken":{},"includeDeprecated":{"type":"boolean"}}},"output":{"type":"structure","members":{"requestId":{},"imageVersionList":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"type":{},"version":{},"platform":{},"osVersion":{},"owner":{},"dateCreated":{},"buildType":{}}}},"nextToken":{}}}},"ListInfrastructureConfigurations":{"http":{"requestUri":"/ListInfrastructureConfigurations"},"input":{"type":"structure","members":{"filters":{"shape":"S56"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"infrastructureConfigurationSummaryList":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"description":{},"dateCreated":{},"dateUpdated":{},"resourceTags":{"shape":"S2s"},"tags":{"shape":"Se"},"instanceTypes":{"shape":"S2l"},"instanceProfileName":{}}}},"nextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"Se"}}}},"PutComponentPolicy":{"http":{"method":"PUT","requestUri":"/PutComponentPolicy"},"input":{"type":"structure","required":["componentArn","policy"],"members":{"componentArn":{},"policy":{}}},"output":{"type":"structure","members":{"requestId":{},"componentArn":{}}}},"PutContainerRecipePolicy":{"http":{"method":"PUT","requestUri":"/PutContainerRecipePolicy"},"input":{"type":"structure","required":["containerRecipeArn","policy"],"members":{"containerRecipeArn":{},"policy":{}}},"output":{"type":"structure","members":{"requestId":{},"containerRecipeArn":{}}}},"PutImagePolicy":{"http":{"method":"PUT","requestUri":"/PutImagePolicy"},"input":{"type":"structure","required":["imageArn","policy"],"members":{"imageArn":{},"policy":{}}},"output":{"type":"structure","members":{"requestId":{},"imageArn":{}}}},"PutImageRecipePolicy":{"http":{"method":"PUT","requestUri":"/PutImageRecipePolicy"},"input":{"type":"structure","required":["imageRecipeArn","policy"],"members":{"imageRecipeArn":{},"policy":{}}},"output":{"type":"structure","members":{"requestId":{},"imageRecipeArn":{}}}},"StartImagePipelineExecution":{"http":{"method":"PUT","requestUri":"/StartImagePipelineExecution"},"input":{"type":"structure","required":["imagePipelineArn","clientToken"],"members":{"imagePipelineArn":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"imageBuildVersionArn":{}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"Se"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateDistributionConfiguration":{"http":{"method":"PUT","requestUri":"/UpdateDistributionConfiguration"},"input":{"type":"structure","required":["distributionConfigurationArn","distributions","clientToken"],"members":{"distributionConfigurationArn":{},"description":{},"distributions":{"shape":"S19"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"distributionConfigurationArn":{}}}},"UpdateImagePipeline":{"http":{"method":"PUT","requestUri":"/UpdateImagePipeline"},"input":{"type":"structure","required":["imagePipelineArn","infrastructureConfigurationArn","clientToken"],"members":{"imagePipelineArn":{},"description":{},"imageRecipeArn":{},"containerRecipeArn":{},"infrastructureConfigurationArn":{},"distributionConfigurationArn":{},"imageTestsConfiguration":{"shape":"S25"},"enhancedImageMetadataEnabled":{"type":"boolean"},"schedule":{"shape":"S29"},"status":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"imagePipelineArn":{}}}},"UpdateInfrastructureConfiguration":{"http":{"method":"PUT","requestUri":"/UpdateInfrastructureConfiguration"},"input":{"type":"structure","required":["infrastructureConfigurationArn","instanceProfileName","clientToken"],"members":{"infrastructureConfigurationArn":{},"description":{},"instanceTypes":{"shape":"S2l"},"instanceProfileName":{},"securityGroupIds":{"shape":"S2o"},"subnetId":{},"logging":{"shape":"S2p"},"keyPair":{},"terminateInstanceOnFailure":{"type":"boolean"},"snsTopicArn":{},"clientToken":{"idempotencyToken":true},"resourceTags":{"shape":"S2s"},"instanceMetadataOptions":{"shape":"S2t"}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"infrastructureConfigurationArn":{}}}}},"shapes":{"Sa":{"type":"list","member":{}},"Se":{"type":"map","key":{},"value":{}},"Sl":{"type":"list","member":{"type":"structure","required":["componentArn"],"members":{"componentArn":{},"parameters":{"type":"list","member":{"type":"structure","required":["name","value"],"members":{"name":{},"value":{"shape":"Sr"}}}}}}},"Sr":{"type":"list","member":{}},"St":{"type":"structure","members":{"image":{},"blockDeviceMappings":{"shape":"Su"}}},"Su":{"type":"list","member":{"type":"structure","members":{"deviceName":{},"ebs":{"type":"structure","members":{"encrypted":{"type":"boolean"},"deleteOnTermination":{"type":"boolean"},"iops":{"type":"integer"},"kmsKeyId":{},"snapshotId":{},"volumeSize":{"type":"integer"},"volumeType":{},"throughput":{"type":"integer"}}},"virtualName":{},"noDevice":{}}}},"S14":{"type":"structure","required":["service","repositoryName"],"members":{"service":{},"repositoryName":{}}},"S19":{"type":"list","member":{"type":"structure","required":["region"],"members":{"region":{},"amiDistributionConfiguration":{"type":"structure","members":{"name":{},"description":{},"targetAccountIds":{"shape":"S1d"},"amiTags":{"shape":"Se"},"kmsKeyId":{},"launchPermission":{"type":"structure","members":{"userIds":{"shape":"S1d"},"userGroups":{"shape":"S1g"},"organizationArns":{"type":"list","member":{}},"organizationalUnitArns":{"type":"list","member":{}}}}}},"containerDistributionConfiguration":{"type":"structure","required":["targetRepository"],"members":{"description":{},"containerTags":{"shape":"S1g"},"targetRepository":{"shape":"S14"}}},"licenseConfigurationArns":{"type":"list","member":{}},"launchTemplateConfigurations":{"type":"list","member":{"type":"structure","required":["launchTemplateId"],"members":{"launchTemplateId":{},"accountId":{},"setDefaultVersion":{"type":"boolean"}}}},"s3ExportConfiguration":{"type":"structure","required":["roleName","diskImageFormat","s3Bucket"],"members":{"roleName":{},"diskImageFormat":{},"s3Bucket":{},"s3Prefix":{}}},"fastLaunchConfigurations":{"type":"list","member":{"type":"structure","required":["enabled"],"members":{"enabled":{"type":"boolean"},"snapshotConfiguration":{"type":"structure","members":{"targetResourceCount":{"type":"integer"}}},"maxParallelLaunches":{"type":"integer"},"launchTemplate":{"type":"structure","members":{"launchTemplateId":{},"launchTemplateName":{},"launchTemplateVersion":{}}},"accountId":{}}}}}}},"S1d":{"type":"list","member":{}},"S1g":{"type":"list","member":{}},"S25":{"type":"structure","members":{"imageTestsEnabled":{"type":"boolean"},"timeoutMinutes":{"type":"integer"}}},"S29":{"type":"structure","members":{"scheduleExpression":{},"timezone":{},"pipelineExecutionStartCondition":{}}},"S2g":{"type":"structure","members":{"systemsManagerAgent":{"type":"structure","members":{"uninstallAfterBuild":{"type":"boolean"}}},"userDataOverride":{}}},"S2l":{"type":"list","member":{}},"S2o":{"type":"list","member":{}},"S2p":{"type":"structure","members":{"s3Logs":{"type":"structure","members":{"s3BucketName":{},"s3KeyPrefix":{}}}}},"S2s":{"type":"map","key":{},"value":{}},"S2t":{"type":"structure","members":{"httpTokens":{},"httpPutResponseHopLimit":{"type":"integer"}}},"S3g":{"type":"structure","members":{"status":{},"reason":{}}},"S3t":{"type":"structure","members":{"arn":{},"containerType":{},"name":{},"description":{},"platform":{},"owner":{},"version":{},"components":{"shape":"Sl"},"instanceConfiguration":{"shape":"St"},"dockerfileTemplateData":{},"kmsKeyId":{},"encrypted":{"type":"boolean"},"parentImage":{},"dateCreated":{},"tags":{"shape":"Se"},"workingDirectory":{},"targetRepository":{"shape":"S14"}}},"S3z":{"type":"structure","required":["timeoutMinutes"],"members":{"arn":{},"name":{},"description":{},"distributions":{"shape":"S19"},"timeoutMinutes":{"type":"integer"},"dateCreated":{},"dateUpdated":{},"tags":{"shape":"Se"}}},"S46":{"type":"structure","members":{"status":{},"reason":{}}},"S48":{"type":"structure","members":{"arn":{},"type":{},"name":{},"description":{},"platform":{},"owner":{},"version":{},"components":{"shape":"Sl"},"parentImage":{},"blockDeviceMappings":{"shape":"Su"},"dateCreated":{},"tags":{"shape":"Se"},"workingDirectory":{},"additionalInstanceConfiguration":{"shape":"S2g"}}},"S4a":{"type":"structure","members":{"arn":{},"name":{},"description":{},"instanceTypes":{"shape":"S2l"},"instanceProfileName":{},"securityGroupIds":{"shape":"S2o"},"subnetId":{},"logging":{"shape":"S2p"},"keyPair":{},"terminateInstanceOnFailure":{"type":"boolean"},"snsTopicArn":{},"dateCreated":{},"dateUpdated":{},"resourceTags":{"shape":"S2s"},"instanceMetadataOptions":{"shape":"S2t"},"tags":{"shape":"Se"}}},"S4b":{"type":"structure","members":{"amis":{"type":"list","member":{"type":"structure","members":{"region":{},"image":{},"name":{},"description":{},"state":{"shape":"S46"},"accountId":{}}}},"containers":{"type":"list","member":{"type":"structure","members":{"region":{},"imageUris":{"shape":"S1g"}}}}}},"S4j":{"type":"structure","members":{"arn":{},"name":{},"description":{},"platform":{},"enhancedImageMetadataEnabled":{"type":"boolean"},"imageRecipeArn":{},"containerRecipeArn":{},"infrastructureConfigurationArn":{},"distributionConfigurationArn":{},"imageTestsConfiguration":{"shape":"S25"},"schedule":{"shape":"S29"},"status":{},"dateCreated":{},"dateUpdated":{},"dateLastRun":{},"dateNextRun":{},"tags":{"shape":"Se"}}},"S56":{"type":"list","member":{"type":"structure","members":{"name":{},"values":{"type":"list","member":{}}}}},"S5q":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"type":{},"version":{},"platform":{},"osVersion":{},"state":{"shape":"S46"},"owner":{},"dateCreated":{},"outputResources":{"shape":"S4b"},"tags":{"shape":"Se"},"buildType":{}}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2019-12-02","endpointPrefix":"imagebuilder","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"imagebuilder","serviceFullName":"EC2 Image Builder","serviceId":"imagebuilder","signatureVersion":"v4","signingName":"imagebuilder","uid":"imagebuilder-2019-12-02"},"operations":{"CancelImageCreation":{"http":{"method":"PUT","requestUri":"/CancelImageCreation"},"input":{"type":"structure","required":["imageBuildVersionArn","clientToken"],"members":{"imageBuildVersionArn":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"imageBuildVersionArn":{}}}},"CreateComponent":{"http":{"method":"PUT","requestUri":"/CreateComponent"},"input":{"type":"structure","required":["name","semanticVersion","platform","clientToken"],"members":{"name":{},"semanticVersion":{},"description":{},"changeDescription":{},"platform":{},"supportedOsVersions":{"shape":"Sa"},"data":{},"uri":{},"kmsKeyId":{},"tags":{"shape":"Se"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"componentBuildVersionArn":{}}}},"CreateContainerRecipe":{"http":{"method":"PUT","requestUri":"/CreateContainerRecipe"},"input":{"type":"structure","required":["containerType","name","semanticVersion","components","parentImage","targetRepository","clientToken"],"members":{"containerType":{},"name":{},"description":{},"semanticVersion":{},"components":{"shape":"Sl"},"instanceConfiguration":{"shape":"St"},"dockerfileTemplateData":{},"dockerfileTemplateUri":{},"platformOverride":{},"imageOsVersionOverride":{},"parentImage":{},"tags":{"shape":"Se"},"workingDirectory":{},"targetRepository":{"shape":"S14"},"kmsKeyId":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"containerRecipeArn":{}}}},"CreateDistributionConfiguration":{"http":{"method":"PUT","requestUri":"/CreateDistributionConfiguration"},"input":{"type":"structure","required":["name","distributions","clientToken"],"members":{"name":{},"description":{},"distributions":{"shape":"S19"},"tags":{"shape":"Se"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"distributionConfigurationArn":{}}}},"CreateImage":{"http":{"method":"PUT","requestUri":"/CreateImage"},"input":{"type":"structure","required":["infrastructureConfigurationArn","clientToken"],"members":{"imageRecipeArn":{},"containerRecipeArn":{},"distributionConfigurationArn":{},"infrastructureConfigurationArn":{},"imageTestsConfiguration":{"shape":"S25"},"enhancedImageMetadataEnabled":{"type":"boolean"},"tags":{"shape":"Se"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"imageBuildVersionArn":{}}}},"CreateImagePipeline":{"http":{"method":"PUT","requestUri":"/CreateImagePipeline"},"input":{"type":"structure","required":["name","infrastructureConfigurationArn","clientToken"],"members":{"name":{},"description":{},"imageRecipeArn":{},"containerRecipeArn":{},"infrastructureConfigurationArn":{},"distributionConfigurationArn":{},"imageTestsConfiguration":{"shape":"S25"},"enhancedImageMetadataEnabled":{"type":"boolean"},"schedule":{"shape":"S29"},"status":{},"tags":{"shape":"Se"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"imagePipelineArn":{}}}},"CreateImageRecipe":{"http":{"method":"PUT","requestUri":"/CreateImageRecipe"},"input":{"type":"structure","required":["name","semanticVersion","components","parentImage","clientToken"],"members":{"name":{},"description":{},"semanticVersion":{},"components":{"shape":"Sl"},"parentImage":{},"blockDeviceMappings":{"shape":"Su"},"tags":{"shape":"Se"},"workingDirectory":{},"additionalInstanceConfiguration":{"shape":"S2g"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"imageRecipeArn":{}}}},"CreateInfrastructureConfiguration":{"http":{"method":"PUT","requestUri":"/CreateInfrastructureConfiguration"},"input":{"type":"structure","required":["name","instanceProfileName","clientToken"],"members":{"name":{},"description":{},"instanceTypes":{"shape":"S2l"},"instanceProfileName":{},"securityGroupIds":{"shape":"S2o"},"subnetId":{},"logging":{"shape":"S2p"},"keyPair":{},"terminateInstanceOnFailure":{"type":"boolean"},"snsTopicArn":{},"resourceTags":{"shape":"S2s"},"instanceMetadataOptions":{"shape":"S2t"},"tags":{"shape":"Se"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"infrastructureConfigurationArn":{}}}},"DeleteComponent":{"http":{"method":"DELETE","requestUri":"/DeleteComponent"},"input":{"type":"structure","required":["componentBuildVersionArn"],"members":{"componentBuildVersionArn":{"location":"querystring","locationName":"componentBuildVersionArn"}}},"output":{"type":"structure","members":{"requestId":{},"componentBuildVersionArn":{}}}},"DeleteContainerRecipe":{"http":{"method":"DELETE","requestUri":"/DeleteContainerRecipe"},"input":{"type":"structure","required":["containerRecipeArn"],"members":{"containerRecipeArn":{"location":"querystring","locationName":"containerRecipeArn"}}},"output":{"type":"structure","members":{"requestId":{},"containerRecipeArn":{}}}},"DeleteDistributionConfiguration":{"http":{"method":"DELETE","requestUri":"/DeleteDistributionConfiguration"},"input":{"type":"structure","required":["distributionConfigurationArn"],"members":{"distributionConfigurationArn":{"location":"querystring","locationName":"distributionConfigurationArn"}}},"output":{"type":"structure","members":{"requestId":{},"distributionConfigurationArn":{}}}},"DeleteImage":{"http":{"method":"DELETE","requestUri":"/DeleteImage"},"input":{"type":"structure","required":["imageBuildVersionArn"],"members":{"imageBuildVersionArn":{"location":"querystring","locationName":"imageBuildVersionArn"}}},"output":{"type":"structure","members":{"requestId":{},"imageBuildVersionArn":{}}}},"DeleteImagePipeline":{"http":{"method":"DELETE","requestUri":"/DeleteImagePipeline"},"input":{"type":"structure","required":["imagePipelineArn"],"members":{"imagePipelineArn":{"location":"querystring","locationName":"imagePipelineArn"}}},"output":{"type":"structure","members":{"requestId":{},"imagePipelineArn":{}}}},"DeleteImageRecipe":{"http":{"method":"DELETE","requestUri":"/DeleteImageRecipe"},"input":{"type":"structure","required":["imageRecipeArn"],"members":{"imageRecipeArn":{"location":"querystring","locationName":"imageRecipeArn"}}},"output":{"type":"structure","members":{"requestId":{},"imageRecipeArn":{}}}},"DeleteInfrastructureConfiguration":{"http":{"method":"DELETE","requestUri":"/DeleteInfrastructureConfiguration"},"input":{"type":"structure","required":["infrastructureConfigurationArn"],"members":{"infrastructureConfigurationArn":{"location":"querystring","locationName":"infrastructureConfigurationArn"}}},"output":{"type":"structure","members":{"requestId":{},"infrastructureConfigurationArn":{}}}},"GetComponent":{"http":{"method":"GET","requestUri":"/GetComponent"},"input":{"type":"structure","required":["componentBuildVersionArn"],"members":{"componentBuildVersionArn":{"location":"querystring","locationName":"componentBuildVersionArn"}}},"output":{"type":"structure","members":{"requestId":{},"component":{"type":"structure","members":{"arn":{},"name":{},"version":{},"description":{},"changeDescription":{},"type":{},"platform":{},"supportedOsVersions":{"shape":"Sa"},"state":{"shape":"S3g"},"parameters":{"type":"list","member":{"type":"structure","required":["name","type"],"members":{"name":{},"type":{},"defaultValue":{"shape":"Sr"},"description":{}}}},"owner":{},"data":{},"kmsKeyId":{},"encrypted":{"type":"boolean"},"dateCreated":{},"tags":{"shape":"Se"},"publisher":{},"obfuscate":{"type":"boolean"}}}}}},"GetComponentPolicy":{"http":{"method":"GET","requestUri":"/GetComponentPolicy"},"input":{"type":"structure","required":["componentArn"],"members":{"componentArn":{"location":"querystring","locationName":"componentArn"}}},"output":{"type":"structure","members":{"requestId":{},"policy":{}}}},"GetContainerRecipe":{"http":{"method":"GET","requestUri":"/GetContainerRecipe"},"input":{"type":"structure","required":["containerRecipeArn"],"members":{"containerRecipeArn":{"location":"querystring","locationName":"containerRecipeArn"}}},"output":{"type":"structure","members":{"requestId":{},"containerRecipe":{"shape":"S3t"}}}},"GetContainerRecipePolicy":{"http":{"method":"GET","requestUri":"/GetContainerRecipePolicy"},"input":{"type":"structure","required":["containerRecipeArn"],"members":{"containerRecipeArn":{"location":"querystring","locationName":"containerRecipeArn"}}},"output":{"type":"structure","members":{"requestId":{},"policy":{}}}},"GetDistributionConfiguration":{"http":{"method":"GET","requestUri":"/GetDistributionConfiguration"},"input":{"type":"structure","required":["distributionConfigurationArn"],"members":{"distributionConfigurationArn":{"location":"querystring","locationName":"distributionConfigurationArn"}}},"output":{"type":"structure","members":{"requestId":{},"distributionConfiguration":{"shape":"S3z"}}}},"GetImage":{"http":{"method":"GET","requestUri":"/GetImage"},"input":{"type":"structure","required":["imageBuildVersionArn"],"members":{"imageBuildVersionArn":{"location":"querystring","locationName":"imageBuildVersionArn"}}},"output":{"type":"structure","members":{"requestId":{},"image":{"type":"structure","members":{"arn":{},"type":{},"name":{},"version":{},"platform":{},"enhancedImageMetadataEnabled":{"type":"boolean"},"osVersion":{},"state":{"shape":"S46"},"imageRecipe":{"shape":"S48"},"containerRecipe":{"shape":"S3t"},"sourcePipelineName":{},"sourcePipelineArn":{},"infrastructureConfiguration":{"shape":"S4a"},"distributionConfiguration":{"shape":"S3z"},"imageTestsConfiguration":{"shape":"S25"},"dateCreated":{},"outputResources":{"shape":"S4b"},"tags":{"shape":"Se"},"buildType":{},"imageSource":{}}}}}},"GetImagePipeline":{"http":{"method":"GET","requestUri":"/GetImagePipeline"},"input":{"type":"structure","required":["imagePipelineArn"],"members":{"imagePipelineArn":{"location":"querystring","locationName":"imagePipelineArn"}}},"output":{"type":"structure","members":{"requestId":{},"imagePipeline":{"shape":"S4k"}}}},"GetImagePolicy":{"http":{"method":"GET","requestUri":"/GetImagePolicy"},"input":{"type":"structure","required":["imageArn"],"members":{"imageArn":{"location":"querystring","locationName":"imageArn"}}},"output":{"type":"structure","members":{"requestId":{},"policy":{}}}},"GetImageRecipe":{"http":{"method":"GET","requestUri":"/GetImageRecipe"},"input":{"type":"structure","required":["imageRecipeArn"],"members":{"imageRecipeArn":{"location":"querystring","locationName":"imageRecipeArn"}}},"output":{"type":"structure","members":{"requestId":{},"imageRecipe":{"shape":"S48"}}}},"GetImageRecipePolicy":{"http":{"method":"GET","requestUri":"/GetImageRecipePolicy"},"input":{"type":"structure","required":["imageRecipeArn"],"members":{"imageRecipeArn":{"location":"querystring","locationName":"imageRecipeArn"}}},"output":{"type":"structure","members":{"requestId":{},"policy":{}}}},"GetInfrastructureConfiguration":{"http":{"method":"GET","requestUri":"/GetInfrastructureConfiguration"},"input":{"type":"structure","required":["infrastructureConfigurationArn"],"members":{"infrastructureConfigurationArn":{"location":"querystring","locationName":"infrastructureConfigurationArn"}}},"output":{"type":"structure","members":{"requestId":{},"infrastructureConfiguration":{"shape":"S4a"}}}},"ImportComponent":{"http":{"method":"PUT","requestUri":"/ImportComponent"},"input":{"type":"structure","required":["name","semanticVersion","type","format","platform","clientToken"],"members":{"name":{},"semanticVersion":{},"description":{},"changeDescription":{},"type":{},"format":{},"platform":{},"data":{},"uri":{},"kmsKeyId":{},"tags":{"shape":"Se"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"componentBuildVersionArn":{}}}},"ImportVmImage":{"http":{"method":"PUT","requestUri":"/ImportVmImage"},"input":{"type":"structure","required":["name","semanticVersion","platform","vmImportTaskId","clientToken"],"members":{"name":{},"semanticVersion":{},"description":{},"platform":{},"osVersion":{},"vmImportTaskId":{},"tags":{"shape":"Se"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"imageArn":{},"clientToken":{}}}},"ListComponentBuildVersions":{"http":{"requestUri":"/ListComponentBuildVersions"},"input":{"type":"structure","required":["componentVersionArn"],"members":{"componentVersionArn":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"componentSummaryList":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"version":{},"platform":{},"supportedOsVersions":{"shape":"Sa"},"state":{"shape":"S3g"},"type":{},"owner":{},"description":{},"changeDescription":{},"dateCreated":{},"tags":{"shape":"Se"},"publisher":{},"obfuscate":{"type":"boolean"}}}},"nextToken":{}}}},"ListComponents":{"http":{"requestUri":"/ListComponents"},"input":{"type":"structure","members":{"owner":{},"filters":{"shape":"S57"},"byName":{"type":"boolean"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"componentVersionList":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"version":{},"description":{},"platform":{},"supportedOsVersions":{"shape":"Sa"},"type":{},"owner":{},"dateCreated":{}}}},"nextToken":{}}}},"ListContainerRecipes":{"http":{"requestUri":"/ListContainerRecipes"},"input":{"type":"structure","members":{"owner":{},"filters":{"shape":"S57"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"containerRecipeSummaryList":{"type":"list","member":{"type":"structure","members":{"arn":{},"containerType":{},"name":{},"platform":{},"owner":{},"parentImage":{},"dateCreated":{},"tags":{"shape":"Se"}}}},"nextToken":{}}}},"ListDistributionConfigurations":{"http":{"requestUri":"/ListDistributionConfigurations"},"input":{"type":"structure","members":{"filters":{"shape":"S57"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"distributionConfigurationSummaryList":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"description":{},"dateCreated":{},"dateUpdated":{},"tags":{"shape":"Se"},"regions":{"type":"list","member":{}}}}},"nextToken":{}}}},"ListImageBuildVersions":{"http":{"requestUri":"/ListImageBuildVersions"},"input":{"type":"structure","required":["imageVersionArn"],"members":{"imageVersionArn":{},"filters":{"shape":"S57"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"imageSummaryList":{"shape":"S5r"},"nextToken":{}}}},"ListImagePackages":{"http":{"requestUri":"/ListImagePackages"},"input":{"type":"structure","required":["imageBuildVersionArn"],"members":{"imageBuildVersionArn":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"imagePackageList":{"type":"list","member":{"type":"structure","members":{"packageName":{},"packageVersion":{}}}},"nextToken":{}}}},"ListImagePipelineImages":{"http":{"requestUri":"/ListImagePipelineImages"},"input":{"type":"structure","required":["imagePipelineArn"],"members":{"imagePipelineArn":{},"filters":{"shape":"S57"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"imageSummaryList":{"shape":"S5r"},"nextToken":{}}}},"ListImagePipelines":{"http":{"requestUri":"/ListImagePipelines"},"input":{"type":"structure","members":{"filters":{"shape":"S57"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"imagePipelineList":{"type":"list","member":{"shape":"S4k"}},"nextToken":{}}}},"ListImageRecipes":{"http":{"requestUri":"/ListImageRecipes"},"input":{"type":"structure","members":{"owner":{},"filters":{"shape":"S57"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"imageRecipeSummaryList":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"platform":{},"owner":{},"parentImage":{},"dateCreated":{},"tags":{"shape":"Se"}}}},"nextToken":{}}}},"ListImages":{"http":{"requestUri":"/ListImages"},"input":{"type":"structure","members":{"owner":{},"filters":{"shape":"S57"},"byName":{"type":"boolean"},"maxResults":{"type":"integer"},"nextToken":{},"includeDeprecated":{"type":"boolean"}}},"output":{"type":"structure","members":{"requestId":{},"imageVersionList":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"type":{},"version":{},"platform":{},"osVersion":{},"owner":{},"dateCreated":{},"buildType":{},"imageSource":{}}}},"nextToken":{}}}},"ListInfrastructureConfigurations":{"http":{"requestUri":"/ListInfrastructureConfigurations"},"input":{"type":"structure","members":{"filters":{"shape":"S57"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"infrastructureConfigurationSummaryList":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"description":{},"dateCreated":{},"dateUpdated":{},"resourceTags":{"shape":"S2s"},"tags":{"shape":"Se"},"instanceTypes":{"shape":"S2l"},"instanceProfileName":{}}}},"nextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"Se"}}}},"PutComponentPolicy":{"http":{"method":"PUT","requestUri":"/PutComponentPolicy"},"input":{"type":"structure","required":["componentArn","policy"],"members":{"componentArn":{},"policy":{}}},"output":{"type":"structure","members":{"requestId":{},"componentArn":{}}}},"PutContainerRecipePolicy":{"http":{"method":"PUT","requestUri":"/PutContainerRecipePolicy"},"input":{"type":"structure","required":["containerRecipeArn","policy"],"members":{"containerRecipeArn":{},"policy":{}}},"output":{"type":"structure","members":{"requestId":{},"containerRecipeArn":{}}}},"PutImagePolicy":{"http":{"method":"PUT","requestUri":"/PutImagePolicy"},"input":{"type":"structure","required":["imageArn","policy"],"members":{"imageArn":{},"policy":{}}},"output":{"type":"structure","members":{"requestId":{},"imageArn":{}}}},"PutImageRecipePolicy":{"http":{"method":"PUT","requestUri":"/PutImageRecipePolicy"},"input":{"type":"structure","required":["imageRecipeArn","policy"],"members":{"imageRecipeArn":{},"policy":{}}},"output":{"type":"structure","members":{"requestId":{},"imageRecipeArn":{}}}},"StartImagePipelineExecution":{"http":{"method":"PUT","requestUri":"/StartImagePipelineExecution"},"input":{"type":"structure","required":["imagePipelineArn","clientToken"],"members":{"imagePipelineArn":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"imageBuildVersionArn":{}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"Se"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateDistributionConfiguration":{"http":{"method":"PUT","requestUri":"/UpdateDistributionConfiguration"},"input":{"type":"structure","required":["distributionConfigurationArn","distributions","clientToken"],"members":{"distributionConfigurationArn":{},"description":{},"distributions":{"shape":"S19"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"distributionConfigurationArn":{}}}},"UpdateImagePipeline":{"http":{"method":"PUT","requestUri":"/UpdateImagePipeline"},"input":{"type":"structure","required":["imagePipelineArn","infrastructureConfigurationArn","clientToken"],"members":{"imagePipelineArn":{},"description":{},"imageRecipeArn":{},"containerRecipeArn":{},"infrastructureConfigurationArn":{},"distributionConfigurationArn":{},"imageTestsConfiguration":{"shape":"S25"},"enhancedImageMetadataEnabled":{"type":"boolean"},"schedule":{"shape":"S29"},"status":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"imagePipelineArn":{}}}},"UpdateInfrastructureConfiguration":{"http":{"method":"PUT","requestUri":"/UpdateInfrastructureConfiguration"},"input":{"type":"structure","required":["infrastructureConfigurationArn","instanceProfileName","clientToken"],"members":{"infrastructureConfigurationArn":{},"description":{},"instanceTypes":{"shape":"S2l"},"instanceProfileName":{},"securityGroupIds":{"shape":"S2o"},"subnetId":{},"logging":{"shape":"S2p"},"keyPair":{},"terminateInstanceOnFailure":{"type":"boolean"},"snsTopicArn":{},"clientToken":{"idempotencyToken":true},"resourceTags":{"shape":"S2s"},"instanceMetadataOptions":{"shape":"S2t"}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"infrastructureConfigurationArn":{}}}}},"shapes":{"Sa":{"type":"list","member":{}},"Se":{"type":"map","key":{},"value":{}},"Sl":{"type":"list","member":{"type":"structure","required":["componentArn"],"members":{"componentArn":{},"parameters":{"type":"list","member":{"type":"structure","required":["name","value"],"members":{"name":{},"value":{"shape":"Sr"}}}}}}},"Sr":{"type":"list","member":{}},"St":{"type":"structure","members":{"image":{},"blockDeviceMappings":{"shape":"Su"}}},"Su":{"type":"list","member":{"type":"structure","members":{"deviceName":{},"ebs":{"type":"structure","members":{"encrypted":{"type":"boolean"},"deleteOnTermination":{"type":"boolean"},"iops":{"type":"integer"},"kmsKeyId":{},"snapshotId":{},"volumeSize":{"type":"integer"},"volumeType":{},"throughput":{"type":"integer"}}},"virtualName":{},"noDevice":{}}}},"S14":{"type":"structure","required":["service","repositoryName"],"members":{"service":{},"repositoryName":{}}},"S19":{"type":"list","member":{"type":"structure","required":["region"],"members":{"region":{},"amiDistributionConfiguration":{"type":"structure","members":{"name":{},"description":{},"targetAccountIds":{"shape":"S1d"},"amiTags":{"shape":"Se"},"kmsKeyId":{},"launchPermission":{"type":"structure","members":{"userIds":{"shape":"S1d"},"userGroups":{"shape":"S1g"},"organizationArns":{"type":"list","member":{}},"organizationalUnitArns":{"type":"list","member":{}}}}}},"containerDistributionConfiguration":{"type":"structure","required":["targetRepository"],"members":{"description":{},"containerTags":{"shape":"S1g"},"targetRepository":{"shape":"S14"}}},"licenseConfigurationArns":{"type":"list","member":{}},"launchTemplateConfigurations":{"type":"list","member":{"type":"structure","required":["launchTemplateId"],"members":{"launchTemplateId":{},"accountId":{},"setDefaultVersion":{"type":"boolean"}}}},"s3ExportConfiguration":{"type":"structure","required":["roleName","diskImageFormat","s3Bucket"],"members":{"roleName":{},"diskImageFormat":{},"s3Bucket":{},"s3Prefix":{}}},"fastLaunchConfigurations":{"type":"list","member":{"type":"structure","required":["enabled"],"members":{"enabled":{"type":"boolean"},"snapshotConfiguration":{"type":"structure","members":{"targetResourceCount":{"type":"integer"}}},"maxParallelLaunches":{"type":"integer"},"launchTemplate":{"type":"structure","members":{"launchTemplateId":{},"launchTemplateName":{},"launchTemplateVersion":{}}},"accountId":{}}}}}}},"S1d":{"type":"list","member":{}},"S1g":{"type":"list","member":{}},"S25":{"type":"structure","members":{"imageTestsEnabled":{"type":"boolean"},"timeoutMinutes":{"type":"integer"}}},"S29":{"type":"structure","members":{"scheduleExpression":{},"timezone":{},"pipelineExecutionStartCondition":{}}},"S2g":{"type":"structure","members":{"systemsManagerAgent":{"type":"structure","members":{"uninstallAfterBuild":{"type":"boolean"}}},"userDataOverride":{}}},"S2l":{"type":"list","member":{}},"S2o":{"type":"list","member":{}},"S2p":{"type":"structure","members":{"s3Logs":{"type":"structure","members":{"s3BucketName":{},"s3KeyPrefix":{}}}}},"S2s":{"type":"map","key":{},"value":{}},"S2t":{"type":"structure","members":{"httpTokens":{},"httpPutResponseHopLimit":{"type":"integer"}}},"S3g":{"type":"structure","members":{"status":{},"reason":{}}},"S3t":{"type":"structure","members":{"arn":{},"containerType":{},"name":{},"description":{},"platform":{},"owner":{},"version":{},"components":{"shape":"Sl"},"instanceConfiguration":{"shape":"St"},"dockerfileTemplateData":{},"kmsKeyId":{},"encrypted":{"type":"boolean"},"parentImage":{},"dateCreated":{},"tags":{"shape":"Se"},"workingDirectory":{},"targetRepository":{"shape":"S14"}}},"S3z":{"type":"structure","required":["timeoutMinutes"],"members":{"arn":{},"name":{},"description":{},"distributions":{"shape":"S19"},"timeoutMinutes":{"type":"integer"},"dateCreated":{},"dateUpdated":{},"tags":{"shape":"Se"}}},"S46":{"type":"structure","members":{"status":{},"reason":{}}},"S48":{"type":"structure","members":{"arn":{},"type":{},"name":{},"description":{},"platform":{},"owner":{},"version":{},"components":{"shape":"Sl"},"parentImage":{},"blockDeviceMappings":{"shape":"Su"},"dateCreated":{},"tags":{"shape":"Se"},"workingDirectory":{},"additionalInstanceConfiguration":{"shape":"S2g"}}},"S4a":{"type":"structure","members":{"arn":{},"name":{},"description":{},"instanceTypes":{"shape":"S2l"},"instanceProfileName":{},"securityGroupIds":{"shape":"S2o"},"subnetId":{},"logging":{"shape":"S2p"},"keyPair":{},"terminateInstanceOnFailure":{"type":"boolean"},"snsTopicArn":{},"dateCreated":{},"dateUpdated":{},"resourceTags":{"shape":"S2s"},"instanceMetadataOptions":{"shape":"S2t"},"tags":{"shape":"Se"}}},"S4b":{"type":"structure","members":{"amis":{"type":"list","member":{"type":"structure","members":{"region":{},"image":{},"name":{},"description":{},"state":{"shape":"S46"},"accountId":{}}}},"containers":{"type":"list","member":{"type":"structure","members":{"region":{},"imageUris":{"shape":"S1g"}}}}}},"S4k":{"type":"structure","members":{"arn":{},"name":{},"description":{},"platform":{},"enhancedImageMetadataEnabled":{"type":"boolean"},"imageRecipeArn":{},"containerRecipeArn":{},"infrastructureConfigurationArn":{},"distributionConfigurationArn":{},"imageTestsConfiguration":{"shape":"S25"},"schedule":{"shape":"S29"},"status":{},"dateCreated":{},"dateUpdated":{},"dateLastRun":{},"dateNextRun":{},"tags":{"shape":"Se"}}},"S57":{"type":"list","member":{"type":"structure","members":{"name":{},"values":{"type":"list","member":{}}}}},"S5r":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"type":{},"version":{},"platform":{},"osVersion":{},"state":{"shape":"S46"},"owner":{},"dateCreated":{},"outputResources":{"shape":"S4b"},"tags":{"shape":"Se"},"buildType":{},"imageSource":{}}}}}} /***/ }), /* 855 */ @@ -57945,7 +57945,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 951 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-11-12","endpointPrefix":"network-firewall","jsonVersion":"1.0","protocol":"json","serviceAbbreviation":"Network Firewall","serviceFullName":"AWS Network Firewall","serviceId":"Network Firewall","signatureVersion":"v4","signingName":"network-firewall","targetPrefix":"NetworkFirewall_20201112","uid":"network-firewall-2020-11-12"},"operations":{"AssociateFirewallPolicy":{"input":{"type":"structure","required":["FirewallPolicyArn"],"members":{"UpdateToken":{},"FirewallArn":{},"FirewallName":{},"FirewallPolicyArn":{}}},"output":{"type":"structure","members":{"FirewallArn":{},"FirewallName":{},"FirewallPolicyArn":{},"UpdateToken":{}}}},"AssociateSubnets":{"input":{"type":"structure","required":["SubnetMappings"],"members":{"UpdateToken":{},"FirewallArn":{},"FirewallName":{},"SubnetMappings":{"shape":"S7"}}},"output":{"type":"structure","members":{"FirewallArn":{},"FirewallName":{},"SubnetMappings":{"shape":"S7"},"UpdateToken":{}}}},"CreateFirewall":{"input":{"type":"structure","required":["FirewallName","FirewallPolicyArn","VpcId","SubnetMappings"],"members":{"FirewallName":{},"FirewallPolicyArn":{},"VpcId":{},"SubnetMappings":{"shape":"S7"},"DeleteProtection":{"type":"boolean"},"SubnetChangeProtection":{"type":"boolean"},"FirewallPolicyChangeProtection":{"type":"boolean"},"Description":{},"Tags":{"shape":"Sf"},"EncryptionConfiguration":{"shape":"Sj"}}},"output":{"type":"structure","members":{"Firewall":{"shape":"Sn"},"FirewallStatus":{"shape":"Sp"}}}},"CreateFirewallPolicy":{"input":{"type":"structure","required":["FirewallPolicyName","FirewallPolicy"],"members":{"FirewallPolicyName":{},"FirewallPolicy":{"shape":"S1a"},"Description":{},"Tags":{"shape":"Sf"},"DryRun":{"type":"boolean"},"EncryptionConfiguration":{"shape":"Sj"}}},"output":{"type":"structure","required":["UpdateToken","FirewallPolicyResponse"],"members":{"UpdateToken":{},"FirewallPolicyResponse":{"shape":"S1w"}}}},"CreateRuleGroup":{"input":{"type":"structure","required":["RuleGroupName","Type","Capacity"],"members":{"RuleGroupName":{},"RuleGroup":{"shape":"S22"},"Rules":{},"Type":{},"Description":{},"Capacity":{"type":"integer"},"Tags":{"shape":"Sf"},"DryRun":{"type":"boolean"},"EncryptionConfiguration":{"shape":"Sj"},"SourceMetadata":{"shape":"S3j"}}},"output":{"type":"structure","required":["UpdateToken","RuleGroupResponse"],"members":{"UpdateToken":{},"RuleGroupResponse":{"shape":"S3l"}}}},"DeleteFirewall":{"input":{"type":"structure","members":{"FirewallName":{},"FirewallArn":{}}},"output":{"type":"structure","members":{"Firewall":{"shape":"Sn"},"FirewallStatus":{"shape":"Sp"}}}},"DeleteFirewallPolicy":{"input":{"type":"structure","members":{"FirewallPolicyName":{},"FirewallPolicyArn":{}}},"output":{"type":"structure","required":["FirewallPolicyResponse"],"members":{"FirewallPolicyResponse":{"shape":"S1w"}}}},"DeleteResourcePolicy":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{}}},"DeleteRuleGroup":{"input":{"type":"structure","members":{"RuleGroupName":{},"RuleGroupArn":{},"Type":{}}},"output":{"type":"structure","required":["RuleGroupResponse"],"members":{"RuleGroupResponse":{"shape":"S3l"}}}},"DescribeFirewall":{"input":{"type":"structure","members":{"FirewallName":{},"FirewallArn":{}}},"output":{"type":"structure","members":{"UpdateToken":{},"Firewall":{"shape":"Sn"},"FirewallStatus":{"shape":"Sp"}}}},"DescribeFirewallPolicy":{"input":{"type":"structure","members":{"FirewallPolicyName":{},"FirewallPolicyArn":{}}},"output":{"type":"structure","required":["UpdateToken","FirewallPolicyResponse"],"members":{"UpdateToken":{},"FirewallPolicyResponse":{"shape":"S1w"},"FirewallPolicy":{"shape":"S1a"}}}},"DescribeLoggingConfiguration":{"input":{"type":"structure","members":{"FirewallArn":{},"FirewallName":{}}},"output":{"type":"structure","members":{"FirewallArn":{},"LoggingConfiguration":{"shape":"S40"}}}},"DescribeResourcePolicy":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"Policy":{}}}},"DescribeRuleGroup":{"input":{"type":"structure","members":{"RuleGroupName":{},"RuleGroupArn":{},"Type":{}}},"output":{"type":"structure","required":["UpdateToken","RuleGroupResponse"],"members":{"UpdateToken":{},"RuleGroup":{"shape":"S22"},"RuleGroupResponse":{"shape":"S3l"}}}},"DescribeRuleGroupMetadata":{"input":{"type":"structure","members":{"RuleGroupName":{},"RuleGroupArn":{},"Type":{}}},"output":{"type":"structure","required":["RuleGroupArn","RuleGroupName"],"members":{"RuleGroupArn":{},"RuleGroupName":{},"Description":{},"Type":{},"Capacity":{"type":"integer"},"StatefulRuleOptions":{"shape":"S3h"},"LastModifiedTime":{"type":"timestamp"}}}},"DisassociateSubnets":{"input":{"type":"structure","required":["SubnetIds"],"members":{"UpdateToken":{},"FirewallArn":{},"FirewallName":{},"SubnetIds":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"FirewallArn":{},"FirewallName":{},"SubnetMappings":{"shape":"S7"},"UpdateToken":{}}}},"ListFirewallPolicies":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"FirewallPolicies":{"type":"list","member":{"type":"structure","members":{"Name":{},"Arn":{}}}}}}},"ListFirewalls":{"input":{"type":"structure","members":{"NextToken":{},"VpcIds":{"type":"list","member":{}},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"Firewalls":{"type":"list","member":{"type":"structure","members":{"FirewallName":{},"FirewallArn":{}}}}}}},"ListRuleGroups":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"Scope":{},"ManagedType":{},"Type":{}}},"output":{"type":"structure","members":{"NextToken":{},"RuleGroups":{"type":"list","member":{"type":"structure","members":{"Name":{},"Arn":{}}}}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceArn"],"members":{"NextToken":{},"MaxResults":{"type":"integer"},"ResourceArn":{}}},"output":{"type":"structure","members":{"NextToken":{},"Tags":{"shape":"Sf"}}}},"PutResourcePolicy":{"input":{"type":"structure","required":["ResourceArn","Policy"],"members":{"ResourceArn":{},"Policy":{}}},"output":{"type":"structure","members":{}}},"TagResource":{"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{},"Tags":{"shape":"Sf"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateFirewallDeleteProtection":{"input":{"type":"structure","required":["DeleteProtection"],"members":{"UpdateToken":{},"FirewallArn":{},"FirewallName":{},"DeleteProtection":{"type":"boolean"}}},"output":{"type":"structure","members":{"FirewallArn":{},"FirewallName":{},"DeleteProtection":{"type":"boolean"},"UpdateToken":{}}}},"UpdateFirewallDescription":{"input":{"type":"structure","members":{"UpdateToken":{},"FirewallArn":{},"FirewallName":{},"Description":{}}},"output":{"type":"structure","members":{"FirewallArn":{},"FirewallName":{},"Description":{},"UpdateToken":{}}}},"UpdateFirewallEncryptionConfiguration":{"input":{"type":"structure","members":{"UpdateToken":{},"FirewallArn":{},"FirewallName":{},"EncryptionConfiguration":{"shape":"Sj"}}},"output":{"type":"structure","members":{"FirewallArn":{},"FirewallName":{},"UpdateToken":{},"EncryptionConfiguration":{"shape":"Sj"}}}},"UpdateFirewallPolicy":{"input":{"type":"structure","required":["UpdateToken","FirewallPolicy"],"members":{"UpdateToken":{},"FirewallPolicyArn":{},"FirewallPolicyName":{},"FirewallPolicy":{"shape":"S1a"},"Description":{},"DryRun":{"type":"boolean"},"EncryptionConfiguration":{"shape":"Sj"}}},"output":{"type":"structure","required":["UpdateToken","FirewallPolicyResponse"],"members":{"UpdateToken":{},"FirewallPolicyResponse":{"shape":"S1w"}}}},"UpdateFirewallPolicyChangeProtection":{"input":{"type":"structure","required":["FirewallPolicyChangeProtection"],"members":{"UpdateToken":{},"FirewallArn":{},"FirewallName":{},"FirewallPolicyChangeProtection":{"type":"boolean"}}},"output":{"type":"structure","members":{"UpdateToken":{},"FirewallArn":{},"FirewallName":{},"FirewallPolicyChangeProtection":{"type":"boolean"}}}},"UpdateLoggingConfiguration":{"input":{"type":"structure","members":{"FirewallArn":{},"FirewallName":{},"LoggingConfiguration":{"shape":"S40"}}},"output":{"type":"structure","members":{"FirewallArn":{},"FirewallName":{},"LoggingConfiguration":{"shape":"S40"}}}},"UpdateRuleGroup":{"input":{"type":"structure","required":["UpdateToken"],"members":{"UpdateToken":{},"RuleGroupArn":{},"RuleGroupName":{},"RuleGroup":{"shape":"S22"},"Rules":{},"Type":{},"Description":{},"DryRun":{"type":"boolean"},"EncryptionConfiguration":{"shape":"Sj"},"SourceMetadata":{"shape":"S3j"}}},"output":{"type":"structure","required":["UpdateToken","RuleGroupResponse"],"members":{"UpdateToken":{},"RuleGroupResponse":{"shape":"S3l"}}}},"UpdateSubnetChangeProtection":{"input":{"type":"structure","required":["SubnetChangeProtection"],"members":{"UpdateToken":{},"FirewallArn":{},"FirewallName":{},"SubnetChangeProtection":{"type":"boolean"}}},"output":{"type":"structure","members":{"UpdateToken":{},"FirewallArn":{},"FirewallName":{},"SubnetChangeProtection":{"type":"boolean"}}}}},"shapes":{"S7":{"type":"list","member":{"type":"structure","required":["SubnetId"],"members":{"SubnetId":{}}}},"Sf":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"Sj":{"type":"structure","required":["Type"],"members":{"KeyId":{},"Type":{}}},"Sn":{"type":"structure","required":["FirewallPolicyArn","VpcId","SubnetMappings","FirewallId"],"members":{"FirewallName":{},"FirewallArn":{},"FirewallPolicyArn":{},"VpcId":{},"SubnetMappings":{"shape":"S7"},"DeleteProtection":{"type":"boolean"},"SubnetChangeProtection":{"type":"boolean"},"FirewallPolicyChangeProtection":{"type":"boolean"},"Description":{},"FirewallId":{},"Tags":{"shape":"Sf"},"EncryptionConfiguration":{"shape":"Sj"}}},"Sp":{"type":"structure","required":["Status","ConfigurationSyncStateSummary"],"members":{"Status":{},"ConfigurationSyncStateSummary":{},"SyncStates":{"type":"map","key":{},"value":{"type":"structure","members":{"Attachment":{"type":"structure","members":{"SubnetId":{},"EndpointId":{},"Status":{},"StatusMessage":{}}},"Config":{"type":"map","key":{},"value":{"type":"structure","members":{"SyncStatus":{},"UpdateToken":{}}}}}}},"CapacityUsageSummary":{"type":"structure","members":{"CIDRs":{"type":"structure","members":{"AvailableCIDRCount":{"type":"integer"},"UtilizedCIDRCount":{"type":"integer"},"IPSetReferences":{"type":"map","key":{},"value":{"type":"structure","members":{"ResolvedCIDRCount":{"type":"integer"}}}}}}}}}},"S1a":{"type":"structure","required":["StatelessDefaultActions","StatelessFragmentDefaultActions"],"members":{"StatelessRuleGroupReferences":{"type":"list","member":{"type":"structure","required":["ResourceArn","Priority"],"members":{"ResourceArn":{},"Priority":{"type":"integer"}}}},"StatelessDefaultActions":{"shape":"S1e"},"StatelessFragmentDefaultActions":{"shape":"S1e"},"StatelessCustomActions":{"shape":"S1f"},"StatefulRuleGroupReferences":{"type":"list","member":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{},"Priority":{"type":"integer"},"Override":{"type":"structure","members":{"Action":{}}}}}},"StatefulDefaultActions":{"type":"list","member":{}},"StatefulEngineOptions":{"type":"structure","members":{"RuleOrder":{},"StreamExceptionPolicy":{}}}}},"S1e":{"type":"list","member":{}},"S1f":{"type":"list","member":{"type":"structure","required":["ActionName","ActionDefinition"],"members":{"ActionName":{},"ActionDefinition":{"type":"structure","members":{"PublishMetricAction":{"type":"structure","required":["Dimensions"],"members":{"Dimensions":{"type":"list","member":{"type":"structure","required":["Value"],"members":{"Value":{}}}}}}}}}}},"S1w":{"type":"structure","required":["FirewallPolicyName","FirewallPolicyArn","FirewallPolicyId"],"members":{"FirewallPolicyName":{},"FirewallPolicyArn":{},"FirewallPolicyId":{},"Description":{},"FirewallPolicyStatus":{},"Tags":{"shape":"Sf"},"ConsumedStatelessRuleCapacity":{"type":"integer"},"ConsumedStatefulRuleCapacity":{"type":"integer"},"NumberOfAssociations":{"type":"integer"},"EncryptionConfiguration":{"shape":"Sj"},"LastModifiedTime":{"type":"timestamp"}}},"S22":{"type":"structure","required":["RulesSource"],"members":{"RuleVariables":{"type":"structure","members":{"IPSets":{"type":"map","key":{},"value":{"type":"structure","required":["Definition"],"members":{"Definition":{"shape":"S27"}}}},"PortSets":{"type":"map","key":{},"value":{"type":"structure","members":{"Definition":{"shape":"S27"}}}}}},"ReferenceSets":{"type":"structure","members":{"IPSetReferences":{"type":"map","key":{},"value":{"type":"structure","members":{"ReferenceArn":{}}}}}},"RulesSource":{"type":"structure","members":{"RulesString":{},"RulesSourceList":{"type":"structure","required":["Targets","TargetTypes","GeneratedRulesType"],"members":{"Targets":{"type":"list","member":{}},"TargetTypes":{"type":"list","member":{}},"GeneratedRulesType":{}}},"StatefulRules":{"type":"list","member":{"type":"structure","required":["Action","Header","RuleOptions"],"members":{"Action":{},"Header":{"type":"structure","required":["Protocol","Source","SourcePort","Direction","Destination","DestinationPort"],"members":{"Protocol":{},"Source":{},"SourcePort":{},"Direction":{},"Destination":{},"DestinationPort":{}}},"RuleOptions":{"type":"list","member":{"type":"structure","required":["Keyword"],"members":{"Keyword":{},"Settings":{"type":"list","member":{}}}}}}}},"StatelessRulesAndCustomActions":{"type":"structure","required":["StatelessRules"],"members":{"StatelessRules":{"type":"list","member":{"type":"structure","required":["RuleDefinition","Priority"],"members":{"RuleDefinition":{"type":"structure","required":["MatchAttributes","Actions"],"members":{"MatchAttributes":{"type":"structure","members":{"Sources":{"shape":"S35"},"Destinations":{"shape":"S35"},"SourcePorts":{"shape":"S38"},"DestinationPorts":{"shape":"S38"},"Protocols":{"type":"list","member":{"type":"integer"}},"TCPFlags":{"type":"list","member":{"type":"structure","required":["Flags"],"members":{"Flags":{"shape":"S3f"},"Masks":{"shape":"S3f"}}}}}},"Actions":{"shape":"S1e"}}},"Priority":{"type":"integer"}}}},"CustomActions":{"shape":"S1f"}}}}},"StatefulRuleOptions":{"shape":"S3h"}}},"S27":{"type":"list","member":{}},"S35":{"type":"list","member":{"type":"structure","required":["AddressDefinition"],"members":{"AddressDefinition":{}}}},"S38":{"type":"list","member":{"type":"structure","required":["FromPort","ToPort"],"members":{"FromPort":{"type":"integer"},"ToPort":{"type":"integer"}}}},"S3f":{"type":"list","member":{}},"S3h":{"type":"structure","members":{"RuleOrder":{}}},"S3j":{"type":"structure","members":{"SourceArn":{},"SourceUpdateToken":{}}},"S3l":{"type":"structure","required":["RuleGroupArn","RuleGroupName","RuleGroupId"],"members":{"RuleGroupArn":{},"RuleGroupName":{},"RuleGroupId":{},"Description":{},"Type":{},"Capacity":{"type":"integer"},"RuleGroupStatus":{},"Tags":{"shape":"Sf"},"ConsumedCapacity":{"type":"integer"},"NumberOfAssociations":{"type":"integer"},"EncryptionConfiguration":{"shape":"Sj"},"SourceMetadata":{"shape":"S3j"},"SnsTopic":{},"LastModifiedTime":{"type":"timestamp"}}},"S40":{"type":"structure","required":["LogDestinationConfigs"],"members":{"LogDestinationConfigs":{"type":"list","member":{"type":"structure","required":["LogType","LogDestinationType","LogDestination"],"members":{"LogType":{},"LogDestinationType":{},"LogDestination":{"type":"map","key":{},"value":{}}}}}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-11-12","endpointPrefix":"network-firewall","jsonVersion":"1.0","protocol":"json","serviceAbbreviation":"Network Firewall","serviceFullName":"AWS Network Firewall","serviceId":"Network Firewall","signatureVersion":"v4","signingName":"network-firewall","targetPrefix":"NetworkFirewall_20201112","uid":"network-firewall-2020-11-12"},"operations":{"AssociateFirewallPolicy":{"input":{"type":"structure","required":["FirewallPolicyArn"],"members":{"UpdateToken":{},"FirewallArn":{},"FirewallName":{},"FirewallPolicyArn":{}}},"output":{"type":"structure","members":{"FirewallArn":{},"FirewallName":{},"FirewallPolicyArn":{},"UpdateToken":{}}}},"AssociateSubnets":{"input":{"type":"structure","required":["SubnetMappings"],"members":{"UpdateToken":{},"FirewallArn":{},"FirewallName":{},"SubnetMappings":{"shape":"S7"}}},"output":{"type":"structure","members":{"FirewallArn":{},"FirewallName":{},"SubnetMappings":{"shape":"S7"},"UpdateToken":{}}}},"CreateFirewall":{"input":{"type":"structure","required":["FirewallName","FirewallPolicyArn","VpcId","SubnetMappings"],"members":{"FirewallName":{},"FirewallPolicyArn":{},"VpcId":{},"SubnetMappings":{"shape":"S7"},"DeleteProtection":{"type":"boolean"},"SubnetChangeProtection":{"type":"boolean"},"FirewallPolicyChangeProtection":{"type":"boolean"},"Description":{},"Tags":{"shape":"Sg"},"EncryptionConfiguration":{"shape":"Sk"}}},"output":{"type":"structure","members":{"Firewall":{"shape":"So"},"FirewallStatus":{"shape":"Sq"}}}},"CreateFirewallPolicy":{"input":{"type":"structure","required":["FirewallPolicyName","FirewallPolicy"],"members":{"FirewallPolicyName":{},"FirewallPolicy":{"shape":"S1b"},"Description":{},"Tags":{"shape":"Sg"},"DryRun":{"type":"boolean"},"EncryptionConfiguration":{"shape":"Sk"}}},"output":{"type":"structure","required":["UpdateToken","FirewallPolicyResponse"],"members":{"UpdateToken":{},"FirewallPolicyResponse":{"shape":"S1x"}}}},"CreateRuleGroup":{"input":{"type":"structure","required":["RuleGroupName","Type","Capacity"],"members":{"RuleGroupName":{},"RuleGroup":{"shape":"S23"},"Rules":{},"Type":{},"Description":{},"Capacity":{"type":"integer"},"Tags":{"shape":"Sg"},"DryRun":{"type":"boolean"},"EncryptionConfiguration":{"shape":"Sk"},"SourceMetadata":{"shape":"S3k"}}},"output":{"type":"structure","required":["UpdateToken","RuleGroupResponse"],"members":{"UpdateToken":{},"RuleGroupResponse":{"shape":"S3m"}}}},"DeleteFirewall":{"input":{"type":"structure","members":{"FirewallName":{},"FirewallArn":{}}},"output":{"type":"structure","members":{"Firewall":{"shape":"So"},"FirewallStatus":{"shape":"Sq"}}}},"DeleteFirewallPolicy":{"input":{"type":"structure","members":{"FirewallPolicyName":{},"FirewallPolicyArn":{}}},"output":{"type":"structure","required":["FirewallPolicyResponse"],"members":{"FirewallPolicyResponse":{"shape":"S1x"}}}},"DeleteResourcePolicy":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{}}},"DeleteRuleGroup":{"input":{"type":"structure","members":{"RuleGroupName":{},"RuleGroupArn":{},"Type":{}}},"output":{"type":"structure","required":["RuleGroupResponse"],"members":{"RuleGroupResponse":{"shape":"S3m"}}}},"DescribeFirewall":{"input":{"type":"structure","members":{"FirewallName":{},"FirewallArn":{}}},"output":{"type":"structure","members":{"UpdateToken":{},"Firewall":{"shape":"So"},"FirewallStatus":{"shape":"Sq"}}}},"DescribeFirewallPolicy":{"input":{"type":"structure","members":{"FirewallPolicyName":{},"FirewallPolicyArn":{}}},"output":{"type":"structure","required":["UpdateToken","FirewallPolicyResponse"],"members":{"UpdateToken":{},"FirewallPolicyResponse":{"shape":"S1x"},"FirewallPolicy":{"shape":"S1b"}}}},"DescribeLoggingConfiguration":{"input":{"type":"structure","members":{"FirewallArn":{},"FirewallName":{}}},"output":{"type":"structure","members":{"FirewallArn":{},"LoggingConfiguration":{"shape":"S41"}}}},"DescribeResourcePolicy":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"Policy":{}}}},"DescribeRuleGroup":{"input":{"type":"structure","members":{"RuleGroupName":{},"RuleGroupArn":{},"Type":{}}},"output":{"type":"structure","required":["UpdateToken","RuleGroupResponse"],"members":{"UpdateToken":{},"RuleGroup":{"shape":"S23"},"RuleGroupResponse":{"shape":"S3m"}}}},"DescribeRuleGroupMetadata":{"input":{"type":"structure","members":{"RuleGroupName":{},"RuleGroupArn":{},"Type":{}}},"output":{"type":"structure","required":["RuleGroupArn","RuleGroupName"],"members":{"RuleGroupArn":{},"RuleGroupName":{},"Description":{},"Type":{},"Capacity":{"type":"integer"},"StatefulRuleOptions":{"shape":"S3i"},"LastModifiedTime":{"type":"timestamp"}}}},"DisassociateSubnets":{"input":{"type":"structure","required":["SubnetIds"],"members":{"UpdateToken":{},"FirewallArn":{},"FirewallName":{},"SubnetIds":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"FirewallArn":{},"FirewallName":{},"SubnetMappings":{"shape":"S7"},"UpdateToken":{}}}},"ListFirewallPolicies":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"FirewallPolicies":{"type":"list","member":{"type":"structure","members":{"Name":{},"Arn":{}}}}}}},"ListFirewalls":{"input":{"type":"structure","members":{"NextToken":{},"VpcIds":{"type":"list","member":{}},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"Firewalls":{"type":"list","member":{"type":"structure","members":{"FirewallName":{},"FirewallArn":{}}}}}}},"ListRuleGroups":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"Scope":{},"ManagedType":{},"Type":{}}},"output":{"type":"structure","members":{"NextToken":{},"RuleGroups":{"type":"list","member":{"type":"structure","members":{"Name":{},"Arn":{}}}}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceArn"],"members":{"NextToken":{},"MaxResults":{"type":"integer"},"ResourceArn":{}}},"output":{"type":"structure","members":{"NextToken":{},"Tags":{"shape":"Sg"}}}},"PutResourcePolicy":{"input":{"type":"structure","required":["ResourceArn","Policy"],"members":{"ResourceArn":{},"Policy":{}}},"output":{"type":"structure","members":{}}},"TagResource":{"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{},"Tags":{"shape":"Sg"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateFirewallDeleteProtection":{"input":{"type":"structure","required":["DeleteProtection"],"members":{"UpdateToken":{},"FirewallArn":{},"FirewallName":{},"DeleteProtection":{"type":"boolean"}}},"output":{"type":"structure","members":{"FirewallArn":{},"FirewallName":{},"DeleteProtection":{"type":"boolean"},"UpdateToken":{}}}},"UpdateFirewallDescription":{"input":{"type":"structure","members":{"UpdateToken":{},"FirewallArn":{},"FirewallName":{},"Description":{}}},"output":{"type":"structure","members":{"FirewallArn":{},"FirewallName":{},"Description":{},"UpdateToken":{}}}},"UpdateFirewallEncryptionConfiguration":{"input":{"type":"structure","members":{"UpdateToken":{},"FirewallArn":{},"FirewallName":{},"EncryptionConfiguration":{"shape":"Sk"}}},"output":{"type":"structure","members":{"FirewallArn":{},"FirewallName":{},"UpdateToken":{},"EncryptionConfiguration":{"shape":"Sk"}}}},"UpdateFirewallPolicy":{"input":{"type":"structure","required":["UpdateToken","FirewallPolicy"],"members":{"UpdateToken":{},"FirewallPolicyArn":{},"FirewallPolicyName":{},"FirewallPolicy":{"shape":"S1b"},"Description":{},"DryRun":{"type":"boolean"},"EncryptionConfiguration":{"shape":"Sk"}}},"output":{"type":"structure","required":["UpdateToken","FirewallPolicyResponse"],"members":{"UpdateToken":{},"FirewallPolicyResponse":{"shape":"S1x"}}}},"UpdateFirewallPolicyChangeProtection":{"input":{"type":"structure","required":["FirewallPolicyChangeProtection"],"members":{"UpdateToken":{},"FirewallArn":{},"FirewallName":{},"FirewallPolicyChangeProtection":{"type":"boolean"}}},"output":{"type":"structure","members":{"UpdateToken":{},"FirewallArn":{},"FirewallName":{},"FirewallPolicyChangeProtection":{"type":"boolean"}}}},"UpdateLoggingConfiguration":{"input":{"type":"structure","members":{"FirewallArn":{},"FirewallName":{},"LoggingConfiguration":{"shape":"S41"}}},"output":{"type":"structure","members":{"FirewallArn":{},"FirewallName":{},"LoggingConfiguration":{"shape":"S41"}}}},"UpdateRuleGroup":{"input":{"type":"structure","required":["UpdateToken"],"members":{"UpdateToken":{},"RuleGroupArn":{},"RuleGroupName":{},"RuleGroup":{"shape":"S23"},"Rules":{},"Type":{},"Description":{},"DryRun":{"type":"boolean"},"EncryptionConfiguration":{"shape":"Sk"},"SourceMetadata":{"shape":"S3k"}}},"output":{"type":"structure","required":["UpdateToken","RuleGroupResponse"],"members":{"UpdateToken":{},"RuleGroupResponse":{"shape":"S3m"}}}},"UpdateSubnetChangeProtection":{"input":{"type":"structure","required":["SubnetChangeProtection"],"members":{"UpdateToken":{},"FirewallArn":{},"FirewallName":{},"SubnetChangeProtection":{"type":"boolean"}}},"output":{"type":"structure","members":{"UpdateToken":{},"FirewallArn":{},"FirewallName":{},"SubnetChangeProtection":{"type":"boolean"}}}}},"shapes":{"S7":{"type":"list","member":{"type":"structure","required":["SubnetId"],"members":{"SubnetId":{},"IPAddressType":{}}}},"Sg":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"Sk":{"type":"structure","required":["Type"],"members":{"KeyId":{},"Type":{}}},"So":{"type":"structure","required":["FirewallPolicyArn","VpcId","SubnetMappings","FirewallId"],"members":{"FirewallName":{},"FirewallArn":{},"FirewallPolicyArn":{},"VpcId":{},"SubnetMappings":{"shape":"S7"},"DeleteProtection":{"type":"boolean"},"SubnetChangeProtection":{"type":"boolean"},"FirewallPolicyChangeProtection":{"type":"boolean"},"Description":{},"FirewallId":{},"Tags":{"shape":"Sg"},"EncryptionConfiguration":{"shape":"Sk"}}},"Sq":{"type":"structure","required":["Status","ConfigurationSyncStateSummary"],"members":{"Status":{},"ConfigurationSyncStateSummary":{},"SyncStates":{"type":"map","key":{},"value":{"type":"structure","members":{"Attachment":{"type":"structure","members":{"SubnetId":{},"EndpointId":{},"Status":{},"StatusMessage":{}}},"Config":{"type":"map","key":{},"value":{"type":"structure","members":{"SyncStatus":{},"UpdateToken":{}}}}}}},"CapacityUsageSummary":{"type":"structure","members":{"CIDRs":{"type":"structure","members":{"AvailableCIDRCount":{"type":"integer"},"UtilizedCIDRCount":{"type":"integer"},"IPSetReferences":{"type":"map","key":{},"value":{"type":"structure","members":{"ResolvedCIDRCount":{"type":"integer"}}}}}}}}}},"S1b":{"type":"structure","required":["StatelessDefaultActions","StatelessFragmentDefaultActions"],"members":{"StatelessRuleGroupReferences":{"type":"list","member":{"type":"structure","required":["ResourceArn","Priority"],"members":{"ResourceArn":{},"Priority":{"type":"integer"}}}},"StatelessDefaultActions":{"shape":"S1f"},"StatelessFragmentDefaultActions":{"shape":"S1f"},"StatelessCustomActions":{"shape":"S1g"},"StatefulRuleGroupReferences":{"type":"list","member":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{},"Priority":{"type":"integer"},"Override":{"type":"structure","members":{"Action":{}}}}}},"StatefulDefaultActions":{"type":"list","member":{}},"StatefulEngineOptions":{"type":"structure","members":{"RuleOrder":{},"StreamExceptionPolicy":{}}}}},"S1f":{"type":"list","member":{}},"S1g":{"type":"list","member":{"type":"structure","required":["ActionName","ActionDefinition"],"members":{"ActionName":{},"ActionDefinition":{"type":"structure","members":{"PublishMetricAction":{"type":"structure","required":["Dimensions"],"members":{"Dimensions":{"type":"list","member":{"type":"structure","required":["Value"],"members":{"Value":{}}}}}}}}}}},"S1x":{"type":"structure","required":["FirewallPolicyName","FirewallPolicyArn","FirewallPolicyId"],"members":{"FirewallPolicyName":{},"FirewallPolicyArn":{},"FirewallPolicyId":{},"Description":{},"FirewallPolicyStatus":{},"Tags":{"shape":"Sg"},"ConsumedStatelessRuleCapacity":{"type":"integer"},"ConsumedStatefulRuleCapacity":{"type":"integer"},"NumberOfAssociations":{"type":"integer"},"EncryptionConfiguration":{"shape":"Sk"},"LastModifiedTime":{"type":"timestamp"}}},"S23":{"type":"structure","required":["RulesSource"],"members":{"RuleVariables":{"type":"structure","members":{"IPSets":{"type":"map","key":{},"value":{"type":"structure","required":["Definition"],"members":{"Definition":{"shape":"S28"}}}},"PortSets":{"type":"map","key":{},"value":{"type":"structure","members":{"Definition":{"shape":"S28"}}}}}},"ReferenceSets":{"type":"structure","members":{"IPSetReferences":{"type":"map","key":{},"value":{"type":"structure","members":{"ReferenceArn":{}}}}}},"RulesSource":{"type":"structure","members":{"RulesString":{},"RulesSourceList":{"type":"structure","required":["Targets","TargetTypes","GeneratedRulesType"],"members":{"Targets":{"type":"list","member":{}},"TargetTypes":{"type":"list","member":{}},"GeneratedRulesType":{}}},"StatefulRules":{"type":"list","member":{"type":"structure","required":["Action","Header","RuleOptions"],"members":{"Action":{},"Header":{"type":"structure","required":["Protocol","Source","SourcePort","Direction","Destination","DestinationPort"],"members":{"Protocol":{},"Source":{},"SourcePort":{},"Direction":{},"Destination":{},"DestinationPort":{}}},"RuleOptions":{"type":"list","member":{"type":"structure","required":["Keyword"],"members":{"Keyword":{},"Settings":{"type":"list","member":{}}}}}}}},"StatelessRulesAndCustomActions":{"type":"structure","required":["StatelessRules"],"members":{"StatelessRules":{"type":"list","member":{"type":"structure","required":["RuleDefinition","Priority"],"members":{"RuleDefinition":{"type":"structure","required":["MatchAttributes","Actions"],"members":{"MatchAttributes":{"type":"structure","members":{"Sources":{"shape":"S36"},"Destinations":{"shape":"S36"},"SourcePorts":{"shape":"S39"},"DestinationPorts":{"shape":"S39"},"Protocols":{"type":"list","member":{"type":"integer"}},"TCPFlags":{"type":"list","member":{"type":"structure","required":["Flags"],"members":{"Flags":{"shape":"S3g"},"Masks":{"shape":"S3g"}}}}}},"Actions":{"shape":"S1f"}}},"Priority":{"type":"integer"}}}},"CustomActions":{"shape":"S1g"}}}}},"StatefulRuleOptions":{"shape":"S3i"}}},"S28":{"type":"list","member":{}},"S36":{"type":"list","member":{"type":"structure","required":["AddressDefinition"],"members":{"AddressDefinition":{}}}},"S39":{"type":"list","member":{"type":"structure","required":["FromPort","ToPort"],"members":{"FromPort":{"type":"integer"},"ToPort":{"type":"integer"}}}},"S3g":{"type":"list","member":{}},"S3i":{"type":"structure","members":{"RuleOrder":{}}},"S3k":{"type":"structure","members":{"SourceArn":{},"SourceUpdateToken":{}}},"S3m":{"type":"structure","required":["RuleGroupArn","RuleGroupName","RuleGroupId"],"members":{"RuleGroupArn":{},"RuleGroupName":{},"RuleGroupId":{},"Description":{},"Type":{},"Capacity":{"type":"integer"},"RuleGroupStatus":{},"Tags":{"shape":"Sg"},"ConsumedCapacity":{"type":"integer"},"NumberOfAssociations":{"type":"integer"},"EncryptionConfiguration":{"shape":"Sk"},"SourceMetadata":{"shape":"S3k"},"SnsTopic":{},"LastModifiedTime":{"type":"timestamp"}}},"S41":{"type":"structure","required":["LogDestinationConfigs"],"members":{"LogDestinationConfigs":{"type":"list","member":{"type":"structure","required":["LogType","LogDestinationType","LogDestination"],"members":{"LogType":{},"LogDestinationType":{},"LogDestination":{"type":"map","key":{},"value":{}}}}}}}}} /***/ }), /* 952 */ @@ -60349,7 +60349,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 1155 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2021-07-30","endpointPrefix":"billingconductor","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"AWSBillingConductor","serviceId":"billingconductor","signatureVersion":"v4","signingName":"billingconductor","uid":"billingconductor-2021-07-30"},"operations":{"AssociateAccounts":{"http":{"requestUri":"/associate-accounts","responseCode":200},"input":{"type":"structure","required":["Arn","AccountIds"],"members":{"Arn":{},"AccountIds":{"shape":"S3"}}},"output":{"type":"structure","members":{"Arn":{}}},"idempotent":true},"AssociatePricingRules":{"http":{"method":"PUT","requestUri":"/associate-pricing-rules","responseCode":200},"input":{"type":"structure","required":["Arn","PricingRuleArns"],"members":{"Arn":{},"PricingRuleArns":{"shape":"S8"}}},"output":{"type":"structure","members":{"Arn":{}}},"idempotent":true},"BatchAssociateResourcesToCustomLineItem":{"http":{"method":"PUT","requestUri":"/batch-associate-resources-to-custom-line-item","responseCode":200},"input":{"type":"structure","required":["TargetArn","ResourceArns"],"members":{"TargetArn":{},"ResourceArns":{"type":"list","member":{}},"BillingPeriodRange":{"shape":"Sf"}}},"output":{"type":"structure","members":{"SuccessfullyAssociatedResources":{"shape":"Si"},"FailedAssociatedResources":{"shape":"Si"}}},"idempotent":true},"BatchDisassociateResourcesFromCustomLineItem":{"http":{"method":"PUT","requestUri":"/batch-disassociate-resources-from-custom-line-item","responseCode":200},"input":{"type":"structure","required":["TargetArn","ResourceArns"],"members":{"TargetArn":{},"ResourceArns":{"type":"list","member":{}},"BillingPeriodRange":{"shape":"Sf"}}},"output":{"type":"structure","members":{"SuccessfullyDisassociatedResources":{"shape":"Sq"},"FailedDisassociatedResources":{"shape":"Sq"}}},"idempotent":true},"CreateBillingGroup":{"http":{"requestUri":"/create-billing-group","responseCode":200},"input":{"type":"structure","required":["Name","AccountGrouping","ComputationPreference"],"members":{"ClientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amzn-Client-Token"},"Name":{"shape":"Su"},"AccountGrouping":{"type":"structure","required":["LinkedAccountIds"],"members":{"LinkedAccountIds":{"shape":"S3"}}},"ComputationPreference":{"shape":"Sw"},"PrimaryAccountId":{},"Description":{"shape":"Sy"},"Tags":{"shape":"Sz"}}},"output":{"type":"structure","members":{"Arn":{}}},"idempotent":true},"CreateCustomLineItem":{"http":{"requestUri":"/create-custom-line-item","responseCode":200},"input":{"type":"structure","required":["Name","Description","BillingGroupArn","ChargeDetails"],"members":{"ClientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amzn-Client-Token"},"Name":{"shape":"S14"},"Description":{"shape":"S15"},"BillingGroupArn":{},"BillingPeriodRange":{"shape":"Sf"},"Tags":{"shape":"Sz"},"ChargeDetails":{"type":"structure","required":["Type"],"members":{"Flat":{"type":"structure","required":["ChargeValue"],"members":{"ChargeValue":{"type":"double"}}},"Percentage":{"type":"structure","required":["PercentageValue"],"members":{"PercentageValue":{"type":"double"},"AssociatedValues":{"type":"list","member":{}}}},"Type":{}}}}},"output":{"type":"structure","members":{"Arn":{}}}},"CreatePricingPlan":{"http":{"requestUri":"/create-pricing-plan","responseCode":200},"input":{"type":"structure","required":["Name"],"members":{"ClientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amzn-Client-Token"},"Name":{"shape":"S1f"},"Description":{"shape":"S1g"},"PricingRuleArns":{"type":"list","member":{}},"Tags":{"shape":"Sz"}}},"output":{"type":"structure","members":{"Arn":{}}},"idempotent":true},"CreatePricingRule":{"http":{"requestUri":"/create-pricing-rule","responseCode":200},"input":{"type":"structure","required":["Name","Scope","Type"],"members":{"ClientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amzn-Client-Token"},"Name":{"shape":"S1k"},"Description":{"shape":"S1l"},"Scope":{},"Type":{},"ModifierPercentage":{"type":"double"},"Service":{},"Tags":{"shape":"Sz"},"BillingEntity":{},"Tiering":{"type":"structure","required":["FreeTier"],"members":{"FreeTier":{"type":"structure","required":["Activated"],"members":{"Activated":{"type":"boolean"}}}}}}},"output":{"type":"structure","members":{"Arn":{}}},"idempotent":true},"DeleteBillingGroup":{"http":{"requestUri":"/delete-billing-group","responseCode":200},"input":{"type":"structure","required":["Arn"],"members":{"Arn":{}}},"output":{"type":"structure","members":{"Arn":{}}},"idempotent":true},"DeleteCustomLineItem":{"http":{"requestUri":"/delete-custom-line-item","responseCode":200},"input":{"type":"structure","required":["Arn"],"members":{"Arn":{},"BillingPeriodRange":{"shape":"Sf"}}},"output":{"type":"structure","members":{"Arn":{}}},"idempotent":true},"DeletePricingPlan":{"http":{"requestUri":"/delete-pricing-plan","responseCode":200},"input":{"type":"structure","required":["Arn"],"members":{"Arn":{}}},"output":{"type":"structure","members":{"Arn":{}}},"idempotent":true},"DeletePricingRule":{"http":{"requestUri":"/delete-pricing-rule","responseCode":200},"input":{"type":"structure","required":["Arn"],"members":{"Arn":{}}},"output":{"type":"structure","members":{"Arn":{}}},"idempotent":true},"DisassociateAccounts":{"http":{"requestUri":"/disassociate-accounts","responseCode":200},"input":{"type":"structure","required":["Arn","AccountIds"],"members":{"Arn":{},"AccountIds":{"shape":"S3"}}},"output":{"type":"structure","members":{"Arn":{}}},"idempotent":true},"DisassociatePricingRules":{"http":{"method":"PUT","requestUri":"/disassociate-pricing-rules","responseCode":200},"input":{"type":"structure","required":["Arn","PricingRuleArns"],"members":{"Arn":{},"PricingRuleArns":{"shape":"S8"}}},"output":{"type":"structure","members":{"Arn":{}}},"idempotent":true},"ListAccountAssociations":{"http":{"requestUri":"/list-account-associations","responseCode":200},"input":{"type":"structure","members":{"BillingPeriod":{},"Filters":{"type":"structure","members":{"Association":{},"AccountId":{}}},"NextToken":{}}},"output":{"type":"structure","members":{"LinkedAccounts":{"type":"list","member":{"type":"structure","members":{"AccountId":{},"BillingGroupArn":{},"AccountName":{"type":"string","sensitive":true},"AccountEmail":{"type":"string","sensitive":true}}}},"NextToken":{}}}},"ListBillingGroupCostReports":{"http":{"requestUri":"/list-billing-group-cost-reports","responseCode":200},"input":{"type":"structure","members":{"BillingPeriod":{},"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"type":"structure","members":{"BillingGroupArns":{"shape":"S2j"}}}}},"output":{"type":"structure","members":{"BillingGroupCostReports":{"type":"list","member":{"type":"structure","members":{"Arn":{},"AWSCost":{},"ProformaCost":{},"Margin":{},"MarginPercentage":{},"Currency":{}}}},"NextToken":{}}}},"ListBillingGroups":{"http":{"requestUri":"/list-billing-groups","responseCode":200},"input":{"type":"structure","members":{"BillingPeriod":{},"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"type":"structure","members":{"Arns":{"shape":"S2j"},"PricingPlan":{}}}}},"output":{"type":"structure","members":{"BillingGroups":{"type":"list","member":{"type":"structure","members":{"Name":{"shape":"Su"},"Arn":{},"Description":{"shape":"Sy"},"PrimaryAccountId":{},"ComputationPreference":{"shape":"Sw"},"Size":{"type":"long"},"CreationTime":{"type":"long"},"LastModifiedTime":{"type":"long"},"Status":{},"StatusReason":{}}}},"NextToken":{}}}},"ListCustomLineItemVersions":{"http":{"requestUri":"/list-custom-line-item-versions","responseCode":200},"input":{"type":"structure","required":["Arn"],"members":{"Arn":{},"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"type":"structure","members":{"BillingPeriodRange":{"type":"structure","members":{"StartBillingPeriod":{},"EndBillingPeriod":{}}}}}}},"output":{"type":"structure","members":{"CustomLineItemVersions":{"type":"list","member":{"type":"structure","members":{"Name":{"shape":"S14"},"ChargeDetails":{"shape":"S38"},"CurrencyCode":{},"Description":{"shape":"S15"},"ProductCode":{},"BillingGroupArn":{},"CreationTime":{"type":"long"},"LastModifiedTime":{"type":"long"},"AssociationSize":{"type":"long"},"StartBillingPeriod":{},"EndBillingPeriod":{}}}},"NextToken":{}}}},"ListCustomLineItems":{"http":{"requestUri":"/list-custom-line-items","responseCode":200},"input":{"type":"structure","members":{"BillingPeriod":{},"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"type":"structure","members":{"Names":{"type":"list","member":{"shape":"S14"}},"BillingGroups":{"shape":"S2j"},"Arns":{"type":"list","member":{}}}}}},"output":{"type":"structure","members":{"CustomLineItems":{"type":"list","member":{"type":"structure","members":{"Arn":{},"Name":{"shape":"S14"},"ChargeDetails":{"shape":"S38"},"CurrencyCode":{},"Description":{"shape":"S15"},"ProductCode":{},"BillingGroupArn":{},"CreationTime":{"type":"long"},"LastModifiedTime":{"type":"long"},"AssociationSize":{"type":"long"}}}},"NextToken":{}}}},"ListPricingPlans":{"http":{"requestUri":"/list-pricing-plans","responseCode":200},"input":{"type":"structure","members":{"BillingPeriod":{},"Filters":{"type":"structure","members":{"Arns":{"shape":"S3n"}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"BillingPeriod":{},"PricingPlans":{"type":"list","member":{"type":"structure","members":{"Name":{"shape":"S1f"},"Arn":{},"Description":{"shape":"S1g"},"Size":{"type":"long"},"CreationTime":{"type":"long"},"LastModifiedTime":{"type":"long"}}}},"NextToken":{}}}},"ListPricingPlansAssociatedWithPricingRule":{"http":{"requestUri":"/list-pricing-plans-associated-with-pricing-rule","responseCode":200},"input":{"type":"structure","required":["PricingRuleArn"],"members":{"BillingPeriod":{},"PricingRuleArn":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"BillingPeriod":{},"PricingRuleArn":{},"PricingPlanArns":{"shape":"S3n"},"NextToken":{}}}},"ListPricingRules":{"http":{"requestUri":"/list-pricing-rules","responseCode":200},"input":{"type":"structure","members":{"BillingPeriod":{},"Filters":{"type":"structure","members":{"Arns":{"shape":"S3y"}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"BillingPeriod":{},"PricingRules":{"type":"list","member":{"type":"structure","members":{"Name":{"shape":"S1k"},"Arn":{},"Description":{"shape":"S1l"},"Scope":{},"Type":{},"ModifierPercentage":{"type":"double"},"Service":{},"AssociatedPricingPlanCount":{"type":"long"},"CreationTime":{"type":"long"},"LastModifiedTime":{"type":"long"},"BillingEntity":{},"Tiering":{"type":"structure","required":["FreeTier"],"members":{"FreeTier":{"type":"structure","required":["Activated"],"members":{"Activated":{"type":"boolean"}}}}}}}},"NextToken":{}}}},"ListPricingRulesAssociatedToPricingPlan":{"http":{"requestUri":"/list-pricing-rules-associated-to-pricing-plan","responseCode":200},"input":{"type":"structure","required":["PricingPlanArn"],"members":{"BillingPeriod":{},"PricingPlanArn":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"BillingPeriod":{},"PricingPlanArn":{},"PricingRuleArns":{"shape":"S3y"},"NextToken":{}}}},"ListResourcesAssociatedToCustomLineItem":{"http":{"requestUri":"/list-resources-associated-to-custom-line-item","responseCode":200},"input":{"type":"structure","required":["Arn"],"members":{"BillingPeriod":{},"Arn":{},"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"type":"structure","members":{"Relationship":{}}}}},"output":{"type":"structure","members":{"Arn":{},"AssociatedResources":{"type":"list","member":{"type":"structure","members":{"Arn":{},"Relationship":{},"EndBillingPeriod":{}}}},"NextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{ResourceArn}","responseCode":204},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"}}},"output":{"type":"structure","members":{"Tags":{"shape":"Sz"}}}},"TagResource":{"http":{"requestUri":"/tags/{ResourceArn}","responseCode":204},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"Tags":{"shape":"Sz"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{ResourceArn}","responseCode":204},"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"TagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateBillingGroup":{"http":{"requestUri":"/update-billing-group","responseCode":200},"input":{"type":"structure","required":["Arn"],"members":{"Arn":{},"Name":{"shape":"Su"},"Status":{},"ComputationPreference":{"shape":"Sw"},"Description":{"shape":"Sy"}}},"output":{"type":"structure","members":{"Arn":{},"Name":{"shape":"Su"},"Description":{"shape":"Sy"},"PrimaryAccountId":{},"PricingPlanArn":{},"Size":{"type":"long"},"LastModifiedTime":{"type":"long"},"Status":{},"StatusReason":{}}},"idempotent":true},"UpdateCustomLineItem":{"http":{"requestUri":"/update-custom-line-item","responseCode":200},"input":{"type":"structure","required":["Arn"],"members":{"Arn":{},"Name":{"shape":"S14"},"Description":{"shape":"S15"},"ChargeDetails":{"type":"structure","members":{"Flat":{"type":"structure","required":["ChargeValue"],"members":{"ChargeValue":{"type":"double"}}},"Percentage":{"type":"structure","required":["PercentageValue"],"members":{"PercentageValue":{"type":"double"}}}}},"BillingPeriodRange":{"shape":"Sf"}}},"output":{"type":"structure","members":{"Arn":{},"BillingGroupArn":{},"Name":{"shape":"S14"},"Description":{"shape":"S15"},"ChargeDetails":{"shape":"S38"},"LastModifiedTime":{"type":"long"},"AssociationSize":{"type":"long"}}},"idempotent":true},"UpdatePricingPlan":{"http":{"method":"PUT","requestUri":"/update-pricing-plan","responseCode":200},"input":{"type":"structure","required":["Arn"],"members":{"Arn":{},"Name":{"shape":"S1f"},"Description":{"shape":"S1g"}}},"output":{"type":"structure","members":{"Arn":{},"Name":{"shape":"S1f"},"Description":{"shape":"S1g"},"Size":{"type":"long"},"LastModifiedTime":{"type":"long"}}},"idempotent":true},"UpdatePricingRule":{"http":{"method":"PUT","requestUri":"/update-pricing-rule","responseCode":200},"input":{"type":"structure","required":["Arn"],"members":{"Arn":{},"Name":{"shape":"S1k"},"Description":{"shape":"S1l"},"Type":{},"ModifierPercentage":{"type":"double"},"Tiering":{"shape":"S4w"}}},"output":{"type":"structure","members":{"Arn":{},"Name":{"shape":"S1k"},"Description":{"shape":"S1l"},"Scope":{},"Type":{},"ModifierPercentage":{"type":"double"},"Service":{},"AssociatedPricingPlanCount":{"type":"long"},"LastModifiedTime":{"type":"long"},"BillingEntity":{},"Tiering":{"shape":"S4w"}}},"idempotent":true}},"shapes":{"S3":{"type":"list","member":{}},"S8":{"type":"list","member":{}},"Sf":{"type":"structure","required":["InclusiveStartBillingPeriod"],"members":{"InclusiveStartBillingPeriod":{},"ExclusiveEndBillingPeriod":{}}},"Si":{"type":"list","member":{"type":"structure","members":{"Arn":{},"Error":{"shape":"Sk"}}}},"Sk":{"type":"structure","members":{"Message":{},"Reason":{}}},"Sq":{"type":"list","member":{"type":"structure","members":{"Arn":{},"Error":{"shape":"Sk"}}}},"Su":{"type":"string","sensitive":true},"Sw":{"type":"structure","required":["PricingPlanArn"],"members":{"PricingPlanArn":{}}},"Sy":{"type":"string","sensitive":true},"Sz":{"type":"map","key":{},"value":{}},"S14":{"type":"string","sensitive":true},"S15":{"type":"string","sensitive":true},"S1f":{"type":"string","sensitive":true},"S1g":{"type":"string","sensitive":true},"S1k":{"type":"string","sensitive":true},"S1l":{"type":"string","sensitive":true},"S2j":{"type":"list","member":{}},"S38":{"type":"structure","required":["Type"],"members":{"Flat":{"type":"structure","required":["ChargeValue"],"members":{"ChargeValue":{"type":"double"}}},"Percentage":{"type":"structure","required":["PercentageValue"],"members":{"PercentageValue":{"type":"double"}}},"Type":{}}},"S3n":{"type":"list","member":{}},"S3y":{"type":"list","member":{}},"S4w":{"type":"structure","required":["FreeTier"],"members":{"FreeTier":{"type":"structure","required":["Activated"],"members":{"Activated":{"type":"boolean"}}}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2021-07-30","endpointPrefix":"billingconductor","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"AWSBillingConductor","serviceId":"billingconductor","signatureVersion":"v4","signingName":"billingconductor","uid":"billingconductor-2021-07-30"},"operations":{"AssociateAccounts":{"http":{"requestUri":"/associate-accounts","responseCode":200},"input":{"type":"structure","required":["Arn","AccountIds"],"members":{"Arn":{},"AccountIds":{"shape":"S3"}}},"output":{"type":"structure","members":{"Arn":{}}},"idempotent":true},"AssociatePricingRules":{"http":{"method":"PUT","requestUri":"/associate-pricing-rules","responseCode":200},"input":{"type":"structure","required":["Arn","PricingRuleArns"],"members":{"Arn":{},"PricingRuleArns":{"shape":"S8"}}},"output":{"type":"structure","members":{"Arn":{}}},"idempotent":true},"BatchAssociateResourcesToCustomLineItem":{"http":{"method":"PUT","requestUri":"/batch-associate-resources-to-custom-line-item","responseCode":200},"input":{"type":"structure","required":["TargetArn","ResourceArns"],"members":{"TargetArn":{},"ResourceArns":{"type":"list","member":{}},"BillingPeriodRange":{"shape":"Sf"}}},"output":{"type":"structure","members":{"SuccessfullyAssociatedResources":{"shape":"Si"},"FailedAssociatedResources":{"shape":"Si"}}},"idempotent":true},"BatchDisassociateResourcesFromCustomLineItem":{"http":{"method":"PUT","requestUri":"/batch-disassociate-resources-from-custom-line-item","responseCode":200},"input":{"type":"structure","required":["TargetArn","ResourceArns"],"members":{"TargetArn":{},"ResourceArns":{"type":"list","member":{}},"BillingPeriodRange":{"shape":"Sf"}}},"output":{"type":"structure","members":{"SuccessfullyDisassociatedResources":{"shape":"Sq"},"FailedDisassociatedResources":{"shape":"Sq"}}},"idempotent":true},"CreateBillingGroup":{"http":{"requestUri":"/create-billing-group","responseCode":200},"input":{"type":"structure","required":["Name","AccountGrouping","ComputationPreference"],"members":{"ClientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amzn-Client-Token"},"Name":{"shape":"Su"},"AccountGrouping":{"type":"structure","required":["LinkedAccountIds"],"members":{"LinkedAccountIds":{"shape":"S3"}}},"ComputationPreference":{"shape":"Sw"},"PrimaryAccountId":{},"Description":{"shape":"Sy"},"Tags":{"shape":"Sz"}}},"output":{"type":"structure","members":{"Arn":{}}},"idempotent":true},"CreateCustomLineItem":{"http":{"requestUri":"/create-custom-line-item","responseCode":200},"input":{"type":"structure","required":["Name","Description","BillingGroupArn","ChargeDetails"],"members":{"ClientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amzn-Client-Token"},"Name":{"shape":"S14"},"Description":{"shape":"S15"},"BillingGroupArn":{},"BillingPeriodRange":{"shape":"Sf"},"Tags":{"shape":"Sz"},"ChargeDetails":{"type":"structure","required":["Type"],"members":{"Flat":{"type":"structure","required":["ChargeValue"],"members":{"ChargeValue":{"type":"double"}}},"Percentage":{"type":"structure","required":["PercentageValue"],"members":{"PercentageValue":{"type":"double"},"AssociatedValues":{"type":"list","member":{}}}},"Type":{}}}}},"output":{"type":"structure","members":{"Arn":{}}}},"CreatePricingPlan":{"http":{"requestUri":"/create-pricing-plan","responseCode":200},"input":{"type":"structure","required":["Name"],"members":{"ClientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amzn-Client-Token"},"Name":{"shape":"S1f"},"Description":{"shape":"S1g"},"PricingRuleArns":{"type":"list","member":{}},"Tags":{"shape":"Sz"}}},"output":{"type":"structure","members":{"Arn":{}}},"idempotent":true},"CreatePricingRule":{"http":{"requestUri":"/create-pricing-rule","responseCode":200},"input":{"type":"structure","required":["Name","Scope","Type"],"members":{"ClientToken":{"idempotencyToken":true,"location":"header","locationName":"X-Amzn-Client-Token"},"Name":{"shape":"S1k"},"Description":{"shape":"S1l"},"Scope":{},"Type":{},"ModifierPercentage":{"type":"double"},"Service":{},"Tags":{"shape":"Sz"},"BillingEntity":{},"Tiering":{"type":"structure","required":["FreeTier"],"members":{"FreeTier":{"type":"structure","required":["Activated"],"members":{"Activated":{"type":"boolean"}}}}},"UsageType":{},"Operation":{}}},"output":{"type":"structure","members":{"Arn":{}}},"idempotent":true},"DeleteBillingGroup":{"http":{"requestUri":"/delete-billing-group","responseCode":200},"input":{"type":"structure","required":["Arn"],"members":{"Arn":{}}},"output":{"type":"structure","members":{"Arn":{}}},"idempotent":true},"DeleteCustomLineItem":{"http":{"requestUri":"/delete-custom-line-item","responseCode":200},"input":{"type":"structure","required":["Arn"],"members":{"Arn":{},"BillingPeriodRange":{"shape":"Sf"}}},"output":{"type":"structure","members":{"Arn":{}}},"idempotent":true},"DeletePricingPlan":{"http":{"requestUri":"/delete-pricing-plan","responseCode":200},"input":{"type":"structure","required":["Arn"],"members":{"Arn":{}}},"output":{"type":"structure","members":{"Arn":{}}},"idempotent":true},"DeletePricingRule":{"http":{"requestUri":"/delete-pricing-rule","responseCode":200},"input":{"type":"structure","required":["Arn"],"members":{"Arn":{}}},"output":{"type":"structure","members":{"Arn":{}}},"idempotent":true},"DisassociateAccounts":{"http":{"requestUri":"/disassociate-accounts","responseCode":200},"input":{"type":"structure","required":["Arn","AccountIds"],"members":{"Arn":{},"AccountIds":{"shape":"S3"}}},"output":{"type":"structure","members":{"Arn":{}}},"idempotent":true},"DisassociatePricingRules":{"http":{"method":"PUT","requestUri":"/disassociate-pricing-rules","responseCode":200},"input":{"type":"structure","required":["Arn","PricingRuleArns"],"members":{"Arn":{},"PricingRuleArns":{"shape":"S8"}}},"output":{"type":"structure","members":{"Arn":{}}},"idempotent":true},"ListAccountAssociations":{"http":{"requestUri":"/list-account-associations","responseCode":200},"input":{"type":"structure","members":{"BillingPeriod":{},"Filters":{"type":"structure","members":{"Association":{},"AccountId":{}}},"NextToken":{}}},"output":{"type":"structure","members":{"LinkedAccounts":{"type":"list","member":{"type":"structure","members":{"AccountId":{},"BillingGroupArn":{},"AccountName":{"type":"string","sensitive":true},"AccountEmail":{"type":"string","sensitive":true}}}},"NextToken":{}}}},"ListBillingGroupCostReports":{"http":{"requestUri":"/list-billing-group-cost-reports","responseCode":200},"input":{"type":"structure","members":{"BillingPeriod":{},"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"type":"structure","members":{"BillingGroupArns":{"shape":"S2l"}}}}},"output":{"type":"structure","members":{"BillingGroupCostReports":{"type":"list","member":{"type":"structure","members":{"Arn":{},"AWSCost":{},"ProformaCost":{},"Margin":{},"MarginPercentage":{},"Currency":{}}}},"NextToken":{}}}},"ListBillingGroups":{"http":{"requestUri":"/list-billing-groups","responseCode":200},"input":{"type":"structure","members":{"BillingPeriod":{},"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"type":"structure","members":{"Arns":{"shape":"S2l"},"PricingPlan":{}}}}},"output":{"type":"structure","members":{"BillingGroups":{"type":"list","member":{"type":"structure","members":{"Name":{"shape":"Su"},"Arn":{},"Description":{"shape":"Sy"},"PrimaryAccountId":{},"ComputationPreference":{"shape":"Sw"},"Size":{"type":"long"},"CreationTime":{"type":"long"},"LastModifiedTime":{"type":"long"},"Status":{},"StatusReason":{}}}},"NextToken":{}}}},"ListCustomLineItemVersions":{"http":{"requestUri":"/list-custom-line-item-versions","responseCode":200},"input":{"type":"structure","required":["Arn"],"members":{"Arn":{},"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"type":"structure","members":{"BillingPeriodRange":{"type":"structure","members":{"StartBillingPeriod":{},"EndBillingPeriod":{}}}}}}},"output":{"type":"structure","members":{"CustomLineItemVersions":{"type":"list","member":{"type":"structure","members":{"Name":{"shape":"S14"},"ChargeDetails":{"shape":"S3a"},"CurrencyCode":{},"Description":{"shape":"S15"},"ProductCode":{},"BillingGroupArn":{},"CreationTime":{"type":"long"},"LastModifiedTime":{"type":"long"},"AssociationSize":{"type":"long"},"StartBillingPeriod":{},"EndBillingPeriod":{}}}},"NextToken":{}}}},"ListCustomLineItems":{"http":{"requestUri":"/list-custom-line-items","responseCode":200},"input":{"type":"structure","members":{"BillingPeriod":{},"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"type":"structure","members":{"Names":{"type":"list","member":{"shape":"S14"}},"BillingGroups":{"shape":"S2l"},"Arns":{"type":"list","member":{}}}}}},"output":{"type":"structure","members":{"CustomLineItems":{"type":"list","member":{"type":"structure","members":{"Arn":{},"Name":{"shape":"S14"},"ChargeDetails":{"shape":"S3a"},"CurrencyCode":{},"Description":{"shape":"S15"},"ProductCode":{},"BillingGroupArn":{},"CreationTime":{"type":"long"},"LastModifiedTime":{"type":"long"},"AssociationSize":{"type":"long"}}}},"NextToken":{}}}},"ListPricingPlans":{"http":{"requestUri":"/list-pricing-plans","responseCode":200},"input":{"type":"structure","members":{"BillingPeriod":{},"Filters":{"type":"structure","members":{"Arns":{"shape":"S3p"}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"BillingPeriod":{},"PricingPlans":{"type":"list","member":{"type":"structure","members":{"Name":{"shape":"S1f"},"Arn":{},"Description":{"shape":"S1g"},"Size":{"type":"long"},"CreationTime":{"type":"long"},"LastModifiedTime":{"type":"long"}}}},"NextToken":{}}}},"ListPricingPlansAssociatedWithPricingRule":{"http":{"requestUri":"/list-pricing-plans-associated-with-pricing-rule","responseCode":200},"input":{"type":"structure","required":["PricingRuleArn"],"members":{"BillingPeriod":{},"PricingRuleArn":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"BillingPeriod":{},"PricingRuleArn":{},"PricingPlanArns":{"shape":"S3p"},"NextToken":{}}}},"ListPricingRules":{"http":{"requestUri":"/list-pricing-rules","responseCode":200},"input":{"type":"structure","members":{"BillingPeriod":{},"Filters":{"type":"structure","members":{"Arns":{"shape":"S40"}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"BillingPeriod":{},"PricingRules":{"type":"list","member":{"type":"structure","members":{"Name":{"shape":"S1k"},"Arn":{},"Description":{"shape":"S1l"},"Scope":{},"Type":{},"ModifierPercentage":{"type":"double"},"Service":{},"AssociatedPricingPlanCount":{"type":"long"},"CreationTime":{"type":"long"},"LastModifiedTime":{"type":"long"},"BillingEntity":{},"Tiering":{"type":"structure","required":["FreeTier"],"members":{"FreeTier":{"type":"structure","required":["Activated"],"members":{"Activated":{"type":"boolean"}}}}}}}},"NextToken":{}}}},"ListPricingRulesAssociatedToPricingPlan":{"http":{"requestUri":"/list-pricing-rules-associated-to-pricing-plan","responseCode":200},"input":{"type":"structure","required":["PricingPlanArn"],"members":{"BillingPeriod":{},"PricingPlanArn":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"BillingPeriod":{},"PricingPlanArn":{},"PricingRuleArns":{"shape":"S40"},"NextToken":{}}}},"ListResourcesAssociatedToCustomLineItem":{"http":{"requestUri":"/list-resources-associated-to-custom-line-item","responseCode":200},"input":{"type":"structure","required":["Arn"],"members":{"BillingPeriod":{},"Arn":{},"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"type":"structure","members":{"Relationship":{}}}}},"output":{"type":"structure","members":{"Arn":{},"AssociatedResources":{"type":"list","member":{"type":"structure","members":{"Arn":{},"Relationship":{},"EndBillingPeriod":{}}}},"NextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{ResourceArn}","responseCode":204},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"}}},"output":{"type":"structure","members":{"Tags":{"shape":"Sz"}}}},"TagResource":{"http":{"requestUri":"/tags/{ResourceArn}","responseCode":204},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"Tags":{"shape":"Sz"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{ResourceArn}","responseCode":204},"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"TagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateBillingGroup":{"http":{"requestUri":"/update-billing-group","responseCode":200},"input":{"type":"structure","required":["Arn"],"members":{"Arn":{},"Name":{"shape":"Su"},"Status":{},"ComputationPreference":{"shape":"Sw"},"Description":{"shape":"Sy"}}},"output":{"type":"structure","members":{"Arn":{},"Name":{"shape":"Su"},"Description":{"shape":"Sy"},"PrimaryAccountId":{},"PricingPlanArn":{},"Size":{"type":"long"},"LastModifiedTime":{"type":"long"},"Status":{},"StatusReason":{}}},"idempotent":true},"UpdateCustomLineItem":{"http":{"requestUri":"/update-custom-line-item","responseCode":200},"input":{"type":"structure","required":["Arn"],"members":{"Arn":{},"Name":{"shape":"S14"},"Description":{"shape":"S15"},"ChargeDetails":{"type":"structure","members":{"Flat":{"type":"structure","required":["ChargeValue"],"members":{"ChargeValue":{"type":"double"}}},"Percentage":{"type":"structure","required":["PercentageValue"],"members":{"PercentageValue":{"type":"double"}}}}},"BillingPeriodRange":{"shape":"Sf"}}},"output":{"type":"structure","members":{"Arn":{},"BillingGroupArn":{},"Name":{"shape":"S14"},"Description":{"shape":"S15"},"ChargeDetails":{"shape":"S3a"},"LastModifiedTime":{"type":"long"},"AssociationSize":{"type":"long"}}},"idempotent":true},"UpdatePricingPlan":{"http":{"method":"PUT","requestUri":"/update-pricing-plan","responseCode":200},"input":{"type":"structure","required":["Arn"],"members":{"Arn":{},"Name":{"shape":"S1f"},"Description":{"shape":"S1g"}}},"output":{"type":"structure","members":{"Arn":{},"Name":{"shape":"S1f"},"Description":{"shape":"S1g"},"Size":{"type":"long"},"LastModifiedTime":{"type":"long"}}},"idempotent":true},"UpdatePricingRule":{"http":{"method":"PUT","requestUri":"/update-pricing-rule","responseCode":200},"input":{"type":"structure","required":["Arn"],"members":{"Arn":{},"Name":{"shape":"S1k"},"Description":{"shape":"S1l"},"Type":{},"ModifierPercentage":{"type":"double"},"Tiering":{"shape":"S4y"}}},"output":{"type":"structure","members":{"Arn":{},"Name":{"shape":"S1k"},"Description":{"shape":"S1l"},"Scope":{},"Type":{},"ModifierPercentage":{"type":"double"},"Service":{},"AssociatedPricingPlanCount":{"type":"long"},"LastModifiedTime":{"type":"long"},"BillingEntity":{},"Tiering":{"shape":"S4y"},"UsageType":{},"Operation":{}}},"idempotent":true}},"shapes":{"S3":{"type":"list","member":{}},"S8":{"type":"list","member":{}},"Sf":{"type":"structure","required":["InclusiveStartBillingPeriod"],"members":{"InclusiveStartBillingPeriod":{},"ExclusiveEndBillingPeriod":{}}},"Si":{"type":"list","member":{"type":"structure","members":{"Arn":{},"Error":{"shape":"Sk"}}}},"Sk":{"type":"structure","members":{"Message":{},"Reason":{}}},"Sq":{"type":"list","member":{"type":"structure","members":{"Arn":{},"Error":{"shape":"Sk"}}}},"Su":{"type":"string","sensitive":true},"Sw":{"type":"structure","required":["PricingPlanArn"],"members":{"PricingPlanArn":{}}},"Sy":{"type":"string","sensitive":true},"Sz":{"type":"map","key":{},"value":{}},"S14":{"type":"string","sensitive":true},"S15":{"type":"string","sensitive":true},"S1f":{"type":"string","sensitive":true},"S1g":{"type":"string","sensitive":true},"S1k":{"type":"string","sensitive":true},"S1l":{"type":"string","sensitive":true},"S2l":{"type":"list","member":{}},"S3a":{"type":"structure","required":["Type"],"members":{"Flat":{"type":"structure","required":["ChargeValue"],"members":{"ChargeValue":{"type":"double"}}},"Percentage":{"type":"structure","required":["PercentageValue"],"members":{"PercentageValue":{"type":"double"}}},"Type":{}}},"S3p":{"type":"list","member":{}},"S40":{"type":"list","member":{}},"S4y":{"type":"structure","required":["FreeTier"],"members":{"FreeTier":{"type":"structure","required":["Activated"],"members":{"Activated":{"type":"boolean"}}}}}}} /***/ }), /* 1156 */ diff --git a/dist/aws-sdk.js b/dist/aws-sdk.js index 378d5b26f3..26d25081ab 100644 --- a/dist/aws-sdk.js +++ b/dist/aws-sdk.js @@ -1,4 +1,4 @@ -// AWS SDK for JavaScript v2.1295.0 +// AWS SDK for JavaScript v2.1296.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/":434}],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/":434}],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/":434}],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/":434}],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":387,"./util":422,"./xml/browser_parser":423,_process:439,"buffer/":434,"querystring/":446,"url/":448}],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:439}],345:[function(e,t,r){var a={util:e("./util")};({}).toString(),t.exports=a,a.util.update(a,{VERSION:"2.1295.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"),a.events=new a.SequentialExecutor,a.util.memoizedProperty(a,"endpointCache",function(){return new a.EndpointCache(a.config.endpointCacheSize)},!0)},{"../vendor/endpoint-cache":459,"./api_loader":334,"./config":343,"./event_listeners":366,"./http":367,"./json/builder":369,"./json/parser":370,"./model/api":371,"./model/operation":373,"./model/paginator":374,"./model/resource_waiter":375,"./model/shape":376,"./param_validator":377,"./protocol/json":380,"./protocol/query":381,"./protocol/rest":382,"./protocol/rest_json":383,"./protocol/rest_xml":384,"./request":391,"./resource_waiter":392,"./response":393,"./sequential_executor":395,"./service":396,"./signers/request_signer":414,"./util":422,"./xml/builder":424}],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){ +e("../lib/node_loader");var a=e("../lib/core"),i=a.Service,s=a.apiLoader;s.services.xray={},a.XRay=i.defineService("xray",["2016-04-12"]),Object.defineProperty(s.services.xray,"2016-04-12",{get:function(){var t=e("../apis/xray-2016-04-12.min.json");return t.paginators=e("../apis/xray-2016-04-12.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.XRay},{"../apis/xray-2016-04-12.min.json":240,"../apis/xray-2016-04-12.paginators.json":241,"../lib/core":345,"../lib/node_loader":341}],334:[function(e,t,r){function a(e,t){if(!a.services.hasOwnProperty(e))throw new Error("InvalidService: Failed to load api for "+e);return a.services[e][t]}a.services={},t.exports=a},{}],335:[function(e,t,r){var a=e("./browserHmac"),i=e("./browserMd5"),s=e("./browserSha1"),o=e("./browserSha256");t.exports={createHash:function(e){if("md5"===(e=e.toLowerCase()))return new i;if("sha256"===e)return new o;if("sha1"===e)return new s;throw new Error("Hash algorithm "+e+" is not supported in the browser SDK")},createHmac:function(e,t){if("md5"===(e=e.toLowerCase()))return new a(i,t);if("sha256"===e)return new a(o,t);if("sha1"===e)return new a(s,t);throw new Error("HMAC algorithm "+e+" is not supported in the browser SDK")},createSign:function(){throw new Error("createSign is not implemented in the browser")}}},{"./browserHmac":337,"./browserMd5":338,"./browserSha1":339,"./browserSha256":340}],336:[function(e,t,r){function a(e){return"string"==typeof e?0===e.length:0===e.byteLength}function i(e){return"string"==typeof e&&(e=new s(e,"utf8")),ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}var s=e("buffer/").Buffer;"undefined"!=typeof ArrayBuffer&&void 0===ArrayBuffer.isView&&(ArrayBuffer.isView=function(e){return o.indexOf(Object.prototype.toString.call(e))>-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/":434}],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/":434}],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/":434}],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/":434}],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":387,"./util":422,"./xml/browser_parser":423,_process:439,"buffer/":434,"querystring/":446,"url/":448}],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:439}],345:[function(e,t,r){var a={util:e("./util")};({}).toString(),t.exports=a,a.util.update(a,{VERSION:"2.1296.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"),a.events=new a.SequentialExecutor,a.util.memoizedProperty(a,"endpointCache",function(){return new a.EndpointCache(a.config.endpointCacheSize)},!0)},{"../vendor/endpoint-cache":459,"./api_loader":334,"./config":343,"./event_listeners":366,"./http":367,"./json/builder":369,"./json/parser":370,"./model/api":371,"./model/operation":373,"./model/paginator":374,"./model/resource_waiter":375,"./model/shape":376,"./param_validator":377,"./protocol/json":380,"./protocol/query":381,"./protocol/rest":382,"./protocol/rest_json":383,"./protocol/rest_xml":384,"./request":391,"./resource_waiter":392,"./response":393,"./sequential_executor":395,"./service":396,"./signers/request_signer":414,"./util":422,"./xml/builder":424}],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":380,"./protocol/query":381,"./protocol/rest":382,"./protocol/rest_json":383,"./protocol/rest_xml":384,"./sequential_executor":395,_process:439,util:433}],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":422,"./collection":372}],377:[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":422}],380:[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":422,"./helpers":379}],381:[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":422,"./json":380,"./rest":382}],384:[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":422,"./rest":382}],385:[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":422}],386:[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}],387:[function(e,t,r){t.exports={now:function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}}},{}],388:[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}},{}],389:[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":421,_process:439,jmespath:438}],392:[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}],396:[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}, diff --git a/lib/core.js b/lib/core.js index 5231f036da..c65fcf5ad2 100644 --- a/lib/core.js +++ b/lib/core.js @@ -20,7 +20,7 @@ AWS.util.update(AWS, { /** * @constant */ - VERSION: '2.1295.0', + VERSION: '2.1296.0', /** * @api private diff --git a/package.json b/package.json index 70f4938eba..60d4de8aeb 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "aws-sdk", "description": "AWS SDK for JavaScript", - "version": "2.1295.0", + "version": "2.1296.0", "author": { "name": "Amazon Web Services", "email": "",