diff --git a/.changes/2.879.0.json b/.changes/2.879.0.json new file mode 100644 index 0000000000..2bd2ce7c17 --- /dev/null +++ b/.changes/2.879.0.json @@ -0,0 +1,17 @@ +[ + { + "type": "bugfix", + "category": "s3", + "description": "handle 'continue' event only once" + }, + { + "type": "feature", + "category": "Imagebuilder", + "description": "This release adds support for Block Device Mappings for container image builds, and adds distribution configuration support for EC2 launch templates in AMI builds." + }, + { + "type": "feature", + "category": "MediaPackage", + "description": "SPEKE v2 is an upgrade to the existing SPEKE API to support multiple encryption keys, based on an encryption contract selected by the customer." + } +] \ No newline at end of file diff --git a/.changes/next-release/bugfix-s3-a986db56.json b/.changes/next-release/bugfix-s3-a986db56.json deleted file mode 100644 index 220934c94d..0000000000 --- a/.changes/next-release/bugfix-s3-a986db56.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "bugfix", - "category": "s3", - "description": "handle 'continue' event only once" -} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 85330e61ae..80d7275ba6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,12 @@ # Changelog for AWS SDK for JavaScript - + +## 2.879.0 +* bugfix: s3: handle 'continue' event only once +* feature: Imagebuilder: This release adds support for Block Device Mappings for container image builds, and adds distribution configuration support for EC2 launch templates in AMI builds. +* feature: MediaPackage: SPEKE v2 is an upgrade to the existing SPEKE API to support multiple encryption keys, based on an encryption contract selected by the customer. + ## 2.878.0 * feature: EC2: VPC Flow Logs Service adds a new API, GetFlowLogsIntegrationTemplate, which generates CloudFormation templates for Athena. For more info, see https://docs.aws.amazon.com/console/vpc/flow-logs/athena * feature: FMS: Added Firewall Manager policy support for AWS Route 53 Resolver DNS Firewall. diff --git a/README.md b/README.md index 78ae9ae4ea..52dc0943ff 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ For release notes, see the [CHANGELOG](https://github.com/aws/aws-sdk-js/blob/ma 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/imagebuilder-2019-12-02.min.json b/apis/imagebuilder-2019-12-02.min.json index 22bf13aea1..dff463f6bc 100644 --- a/apis/imagebuilder-2019-12-02.min.json +++ b/apis/imagebuilder-2019-12-02.min.json @@ -94,7 +94,6 @@ "name", "semanticVersion", "components", - "dockerfileTemplateData", "parentImage", "targetRepository", "clientToken" @@ -107,6 +106,9 @@ "components": { "shape": "Sl" }, + "instanceConfiguration": { + "shape": "So" + }, "dockerfileTemplateData": {}, "dockerfileTemplateUri": {}, "platformOverride": {}, @@ -117,7 +119,7 @@ }, "workingDirectory": {}, "targetRepository": { - "shape": "Sp" + "shape": "Sy" }, "kmsKeyId": {}, "clientToken": { @@ -150,7 +152,7 @@ "name": {}, "description": {}, "distributions": { - "shape": "Su" + "shape": "S13" }, "tags": { "shape": "Se" @@ -186,7 +188,7 @@ "distributionConfigurationArn": {}, "infrastructureConfigurationArn": {}, "imageTestsConfiguration": { - "shape": "S1a" + "shape": "S1n" }, "enhancedImageMetadataEnabled": { "type": "boolean" @@ -228,13 +230,13 @@ "infrastructureConfigurationArn": {}, "distributionConfigurationArn": {}, "imageTestsConfiguration": { - "shape": "S1a" + "shape": "S1n" }, "enhancedImageMetadataEnabled": { "type": "boolean" }, "schedule": { - "shape": "S1f" + "shape": "S1r" }, "status": {}, "tags": { @@ -277,7 +279,7 @@ }, "parentImage": {}, "blockDeviceMappings": { - "shape": "S1m" + "shape": "Sp" }, "tags": { "shape": "Se" @@ -313,15 +315,15 @@ "name": {}, "description": {}, "instanceTypes": { - "shape": "S1v" + "shape": "S20" }, "instanceProfileName": {}, "securityGroupIds": { - "shape": "S1x" + "shape": "S23" }, "subnetId": {}, "logging": { - "shape": "S1y" + "shape": "S24" }, "keyPair": {}, "terminateInstanceOnFailure": { @@ -329,7 +331,7 @@ }, "snsTopicArn": {}, "resourceTags": { - "shape": "S21" + "shape": "S27" }, "tags": { "shape": "Se" @@ -619,7 +621,7 @@ "members": { "requestId": {}, "containerRecipe": { - "shape": "S2t" + "shape": "S2z" } } } @@ -671,7 +673,7 @@ "members": { "requestId": {}, "distributionConfiguration": { - "shape": "S2z" + "shape": "S35" } } } @@ -710,28 +712,28 @@ }, "osVersion": {}, "state": { - "shape": "S36" + "shape": "S3c" }, "imageRecipe": { - "shape": "S38" + "shape": "S3e" }, "containerRecipe": { - "shape": "S2t" + "shape": "S2z" }, "sourcePipelineName": {}, "sourcePipelineArn": {}, "infrastructureConfiguration": { - "shape": "S3a" + "shape": "S3g" }, "distributionConfiguration": { - "shape": "S2z" + "shape": "S35" }, "imageTestsConfiguration": { - "shape": "S1a" + "shape": "S1n" }, "dateCreated": {}, "outputResources": { - "shape": "S3c" + "shape": "S3h" }, "tags": { "shape": "Se" @@ -763,7 +765,7 @@ "members": { "requestId": {}, "imagePipeline": { - "shape": "S3j" + "shape": "S3o" } } } @@ -815,7 +817,7 @@ "members": { "requestId": {}, "imageRecipe": { - "shape": "S38" + "shape": "S3e" } } } @@ -867,7 +869,7 @@ "members": { "requestId": {}, "infrastructureConfiguration": { - "shape": "S3a" + "shape": "S3g" } } } @@ -972,7 +974,7 @@ "members": { "owner": {}, "filters": { - "shape": "S44" + "shape": "S49" }, "byName": { "type": "boolean" @@ -1019,7 +1021,7 @@ "members": { "owner": {}, "filters": { - "shape": "S44" + "shape": "S49" }, "maxResults": { "type": "integer" @@ -1061,7 +1063,7 @@ "type": "structure", "members": { "filters": { - "shape": "S44" + "shape": "S49" }, "maxResults": { "type": "integer" @@ -1109,7 +1111,7 @@ "members": { "imageVersionArn": {}, "filters": { - "shape": "S44" + "shape": "S49" }, "maxResults": { "type": "integer" @@ -1122,7 +1124,7 @@ "members": { "requestId": {}, "imageSummaryList": { - "shape": "S4p" + "shape": "S4t" }, "nextToken": {} } @@ -1175,7 +1177,7 @@ "members": { "imagePipelineArn": {}, "filters": { - "shape": "S44" + "shape": "S49" }, "maxResults": { "type": "integer" @@ -1188,7 +1190,7 @@ "members": { "requestId": {}, "imageSummaryList": { - "shape": "S4p" + "shape": "S4t" }, "nextToken": {} } @@ -1202,7 +1204,7 @@ "type": "structure", "members": { "filters": { - "shape": "S44" + "shape": "S49" }, "maxResults": { "type": "integer" @@ -1217,7 +1219,7 @@ "imagePipelineList": { "type": "list", "member": { - "shape": "S3j" + "shape": "S3o" } }, "nextToken": {} @@ -1233,7 +1235,7 @@ "members": { "owner": {}, "filters": { - "shape": "S44" + "shape": "S49" }, "maxResults": { "type": "integer" @@ -1275,7 +1277,7 @@ "members": { "owner": {}, "filters": { - "shape": "S44" + "shape": "S49" }, "byName": { "type": "boolean" @@ -1321,7 +1323,7 @@ "type": "structure", "members": { "filters": { - "shape": "S44" + "shape": "S49" }, "maxResults": { "type": "integer" @@ -1344,13 +1346,13 @@ "dateCreated": {}, "dateUpdated": {}, "resourceTags": { - "shape": "S21" + "shape": "S27" }, "tags": { "shape": "Se" }, "instanceTypes": { - "shape": "S1v" + "shape": "S20" }, "instanceProfileName": {} } @@ -1579,7 +1581,7 @@ "distributionConfigurationArn": {}, "description": {}, "distributions": { - "shape": "Su" + "shape": "S13" }, "clientToken": { "idempotencyToken": true @@ -1615,13 +1617,13 @@ "infrastructureConfigurationArn": {}, "distributionConfigurationArn": {}, "imageTestsConfiguration": { - "shape": "S1a" + "shape": "S1n" }, "enhancedImageMetadataEnabled": { "type": "boolean" }, "schedule": { - "shape": "S1f" + "shape": "S1r" }, "status": {}, "clientToken": { @@ -1654,15 +1656,15 @@ "infrastructureConfigurationArn": {}, "description": {}, "instanceTypes": { - "shape": "S1v" + "shape": "S20" }, "instanceProfileName": {}, "securityGroupIds": { - "shape": "S1x" + "shape": "S23" }, "subnetId": {}, "logging": { - "shape": "S1y" + "shape": "S24" }, "keyPair": {}, "terminateInstanceOnFailure": { @@ -1673,7 +1675,7 @@ "idempotencyToken": true }, "resourceTags": { - "shape": "S21" + "shape": "S27" } } }, @@ -1709,7 +1711,47 @@ } } }, + "So": { + "type": "structure", + "members": { + "image": {}, + "blockDeviceMappings": { + "shape": "Sp" + } + } + }, "Sp": { + "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": {} + } + }, + "virtualName": {}, + "noDevice": {} + } + } + }, + "Sy": { "type": "structure", "required": [ "service", @@ -1720,7 +1762,7 @@ "repositoryName": {} } }, - "Su": { + "S13": { "type": "list", "member": { "type": "structure", @@ -1735,7 +1777,7 @@ "name": {}, "description": {}, "targetAccountIds": { - "shape": "Sy" + "shape": "S17" }, "amiTags": { "shape": "Se" @@ -1745,10 +1787,10 @@ "type": "structure", "members": { "userIds": { - "shape": "Sy" + "shape": "S17" }, "userGroups": { - "shape": "S11" + "shape": "S1a" } } } @@ -1762,29 +1804,45 @@ "members": { "description": {}, "containerTags": { - "shape": "S11" + "shape": "S1a" }, "targetRepository": { - "shape": "Sp" + "shape": "Sy" } } }, "licenseConfigurationArns": { "type": "list", "member": {} + }, + "launchTemplateConfigurations": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "launchTemplateId" + ], + "members": { + "launchTemplateId": {}, + "accountId": {}, + "setDefaultVersion": { + "type": "boolean" + } + } + } } } } }, - "Sy": { + "S17": { "type": "list", "member": {} }, - "S11": { + "S1a": { "type": "list", "member": {} }, - "S1a": { + "S1n": { "type": "structure", "members": { "imageTestsEnabled": { @@ -1795,7 +1853,7 @@ } } }, - "S1f": { + "S1r": { "type": "structure", "members": { "scheduleExpression": {}, @@ -1803,46 +1861,15 @@ "pipelineExecutionStartCondition": {} } }, - "S1m": { - "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": {} - } - }, - "virtualName": {}, - "noDevice": {} - } - } - }, - "S1v": { + "S20": { "type": "list", "member": {} }, - "S1x": { + "S23": { "type": "list", "member": {} }, - "S1y": { + "S24": { "type": "structure", "members": { "s3Logs": { @@ -1854,12 +1881,12 @@ } } }, - "S21": { + "S27": { "type": "map", "key": {}, "value": {} }, - "S2t": { + "S2z": { "type": "structure", "members": { "arn": {}, @@ -1872,6 +1899,9 @@ "components": { "shape": "Sl" }, + "instanceConfiguration": { + "shape": "So" + }, "dockerfileTemplateData": {}, "kmsKeyId": {}, "encrypted": { @@ -1884,11 +1914,11 @@ }, "workingDirectory": {}, "targetRepository": { - "shape": "Sp" + "shape": "Sy" } } }, - "S2z": { + "S35": { "type": "structure", "required": [ "timeoutMinutes" @@ -1898,7 +1928,7 @@ "name": {}, "description": {}, "distributions": { - "shape": "Su" + "shape": "S13" }, "timeoutMinutes": { "type": "integer" @@ -1910,14 +1940,14 @@ } } }, - "S36": { + "S3c": { "type": "structure", "members": { "status": {}, "reason": {} } }, - "S38": { + "S3e": { "type": "structure", "members": { "arn": {}, @@ -1932,7 +1962,7 @@ }, "parentImage": {}, "blockDeviceMappings": { - "shape": "S1m" + "shape": "Sp" }, "dateCreated": {}, "tags": { @@ -1941,22 +1971,22 @@ "workingDirectory": {} } }, - "S3a": { + "S3g": { "type": "structure", "members": { "arn": {}, "name": {}, "description": {}, "instanceTypes": { - "shape": "S1v" + "shape": "S20" }, "instanceProfileName": {}, "securityGroupIds": { - "shape": "S1x" + "shape": "S23" }, "subnetId": {}, "logging": { - "shape": "S1y" + "shape": "S24" }, "keyPair": {}, "terminateInstanceOnFailure": { @@ -1966,14 +1996,14 @@ "dateCreated": {}, "dateUpdated": {}, "resourceTags": { - "shape": "S21" + "shape": "S27" }, "tags": { "shape": "Se" } } }, - "S3c": { + "S3h": { "type": "structure", "members": { "amis": { @@ -1986,7 +2016,7 @@ "name": {}, "description": {}, "state": { - "shape": "S36" + "shape": "S3c" }, "accountId": {} } @@ -1999,14 +2029,14 @@ "members": { "region": {}, "imageUris": { - "shape": "S11" + "shape": "S1a" } } } } } }, - "S3j": { + "S3o": { "type": "structure", "members": { "arn": {}, @@ -2021,10 +2051,10 @@ "infrastructureConfigurationArn": {}, "distributionConfigurationArn": {}, "imageTestsConfiguration": { - "shape": "S1a" + "shape": "S1n" }, "schedule": { - "shape": "S1f" + "shape": "S1r" }, "status": {}, "dateCreated": {}, @@ -2036,7 +2066,7 @@ } } }, - "S44": { + "S49": { "type": "list", "member": { "type": "structure", @@ -2049,7 +2079,7 @@ } } }, - "S4p": { + "S4t": { "type": "list", "member": { "type": "structure", @@ -2061,12 +2091,12 @@ "platform": {}, "osVersion": {}, "state": { - "shape": "S36" + "shape": "S3c" }, "owner": {}, "dateCreated": {}, "outputResources": { - "shape": "S3c" + "shape": "S3h" }, "tags": { "shape": "Se" diff --git a/apis/imagebuilder-2019-12-02.normal.json b/apis/imagebuilder-2019-12-02.normal.json index a872973b31..34fbdbdb92 100644 --- a/apis/imagebuilder-2019-12-02.normal.json +++ b/apis/imagebuilder-2019-12-02.normal.json @@ -198,7 +198,7 @@ "shape": "ServiceQuotaExceededException" } ], - "documentation": "

Creates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.

" + "documentation": "

Creates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.

" }, "CreateImage": { "name": "CreateImage", @@ -241,7 +241,7 @@ "shape": "ServiceQuotaExceededException" } ], - "documentation": "

Creates a new image. This request will create a new image along with all of the configured output resources defined in the distribution configuration.

" + "documentation": "

Creates a new image. This request will create a new image along with all of the configured output resources defined in the distribution configuration.

" }, "CreateImagePipeline": { "name": "CreateImagePipeline", @@ -287,7 +287,7 @@ "shape": "ServiceQuotaExceededException" } ], - "documentation": "

Creates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images.

" + "documentation": "

Creates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images.

" }, "CreateImageRecipe": { "name": "CreateImageRecipe", @@ -336,7 +336,7 @@ "shape": "ServiceQuotaExceededException" } ], - "documentation": "

Creates a new image recipe. Image recipes define how images are configured, tested, and assessed.

" + "documentation": "

Creates a new image recipe. Image recipes define how images are configured, tested, and assessed.

" }, "CreateInfrastructureConfiguration": { "name": "CreateInfrastructureConfiguration", @@ -382,7 +382,7 @@ "shape": "ServiceQuotaExceededException" } ], - "documentation": "

Creates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.

" + "documentation": "

Creates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.

" }, "DeleteComponent": { "name": "DeleteComponent", @@ -419,7 +419,7 @@ "shape": "ResourceDependencyException" } ], - "documentation": "

Deletes a component build version.

" + "documentation": "

Deletes a component build version.

" }, "DeleteContainerRecipe": { "name": "DeleteContainerRecipe", @@ -493,7 +493,7 @@ "shape": "ResourceDependencyException" } ], - "documentation": "

Deletes a distribution configuration.

" + "documentation": "

Deletes a distribution configuration.

" }, "DeleteImage": { "name": "DeleteImage", @@ -530,7 +530,7 @@ "shape": "ResourceDependencyException" } ], - "documentation": "

Deletes an image.

" + "documentation": "

Deletes an image.

" }, "DeleteImagePipeline": { "name": "DeleteImagePipeline", @@ -567,7 +567,7 @@ "shape": "ResourceDependencyException" } ], - "documentation": "

Deletes an image pipeline.

" + "documentation": "

Deletes an image pipeline.

" }, "DeleteImageRecipe": { "name": "DeleteImageRecipe", @@ -604,7 +604,7 @@ "shape": "ResourceDependencyException" } ], - "documentation": "

Deletes an image recipe.

" + "documentation": "

Deletes an image recipe.

" }, "DeleteInfrastructureConfiguration": { "name": "DeleteInfrastructureConfiguration", @@ -641,7 +641,7 @@ "shape": "ResourceDependencyException" } ], - "documentation": "

Deletes an infrastructure configuration.

" + "documentation": "

Deletes an infrastructure configuration.

" }, "GetComponent": { "name": "GetComponent", @@ -675,7 +675,7 @@ "shape": "CallRateLimitExceededException" } ], - "documentation": "

Gets a component object.

" + "documentation": "

Gets a component object.

" }, "GetComponentPolicy": { "name": "GetComponentPolicy", @@ -709,7 +709,7 @@ "shape": "CallRateLimitExceededException" } ], - "documentation": "

Gets a component policy.

" + "documentation": "

Gets a component policy.

" }, "GetContainerRecipe": { "name": "GetContainerRecipe", @@ -811,7 +811,7 @@ "shape": "CallRateLimitExceededException" } ], - "documentation": "

Gets a distribution configuration.

" + "documentation": "

Gets a distribution configuration.

" }, "GetImage": { "name": "GetImage", @@ -845,7 +845,7 @@ "shape": "CallRateLimitExceededException" } ], - "documentation": "

Gets an image.

" + "documentation": "

Gets an image.

" }, "GetImagePipeline": { "name": "GetImagePipeline", @@ -879,7 +879,7 @@ "shape": "CallRateLimitExceededException" } ], - "documentation": "

Gets an image pipeline.

" + "documentation": "

Gets an image pipeline.

" }, "GetImagePolicy": { "name": "GetImagePolicy", @@ -913,7 +913,7 @@ "shape": "CallRateLimitExceededException" } ], - "documentation": "

Gets an image policy.

" + "documentation": "

Gets an image policy.

" }, "GetImageRecipe": { "name": "GetImageRecipe", @@ -947,7 +947,7 @@ "shape": "CallRateLimitExceededException" } ], - "documentation": "

Gets an image recipe.

" + "documentation": "

Gets an image recipe.

" }, "GetImageRecipePolicy": { "name": "GetImageRecipePolicy", @@ -981,7 +981,7 @@ "shape": "CallRateLimitExceededException" } ], - "documentation": "

Gets an image recipe policy.

" + "documentation": "

Gets an image recipe policy.

" }, "GetInfrastructureConfiguration": { "name": "GetInfrastructureConfiguration", @@ -1015,7 +1015,7 @@ "shape": "CallRateLimitExceededException" } ], - "documentation": "

Gets an infrastructure configuration.

" + "documentation": "

Gets an infrastructure configuration.

" }, "ImportComponent": { "name": "ImportComponent", @@ -1061,7 +1061,7 @@ "shape": "InvalidParameterCombinationException" } ], - "documentation": "

Imports a component and transforms its data into a component document.

" + "documentation": "

Imports a component and transforms its data into a component document.

" }, "ListComponentBuildVersions": { "name": "ListComponentBuildVersions", @@ -1098,7 +1098,7 @@ "shape": "CallRateLimitExceededException" } ], - "documentation": "

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

" + "documentation": "

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

" }, "ListComponents": { "name": "ListComponents", @@ -1135,7 +1135,7 @@ "shape": "CallRateLimitExceededException" } ], - "documentation": "

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

" + "documentation": "

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

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

Returns a list of distribution configurations.

" + "documentation": "

Returns a list of distribution configurations.

" }, "ListImageBuildVersions": { "name": "ListImageBuildVersions", @@ -1246,7 +1246,7 @@ "shape": "CallRateLimitExceededException" } ], - "documentation": "

Returns a list of image build versions.

" + "documentation": "

Returns a list of image build versions.

" }, "ListImagePackages": { "name": "ListImagePackages", @@ -1326,7 +1326,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", @@ -1363,7 +1363,7 @@ "shape": "CallRateLimitExceededException" } ], - "documentation": "

Returns a list of image pipelines.

" + "documentation": "

Returns a list of image pipelines.

" }, "ListImageRecipes": { "name": "ListImageRecipes", @@ -1400,7 +1400,7 @@ "shape": "CallRateLimitExceededException" } ], - "documentation": "

Returns a list of image recipes.

" + "documentation": "

Returns a list of image recipes.

" }, "ListImages": { "name": "ListImages", @@ -1437,7 +1437,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.

" }, "ListInfrastructureConfigurations": { "name": "ListInfrastructureConfigurations", @@ -1474,7 +1474,7 @@ "shape": "CallRateLimitExceededException" } ], - "documentation": "

Returns a list of infrastructure configurations.

" + "documentation": "

Returns a list of infrastructure configurations.

" }, "ListTagsForResource": { "name": "ListTagsForResource", @@ -1499,7 +1499,7 @@ "shape": "ResourceNotFoundException" } ], - "documentation": "

Returns the list of tags for the specified resource.

" + "documentation": "

Returns the list of tags for the specified resource.

" }, "PutComponentPolicy": { "name": "PutComponentPolicy", @@ -1539,7 +1539,7 @@ "shape": "CallRateLimitExceededException" } ], - "documentation": "

Applies a policy to a component. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutComponentPolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared.

" + "documentation": "

Applies a policy to a component. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutComponentPolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared.

" }, "PutContainerRecipePolicy": { "name": "PutContainerRecipePolicy", @@ -1619,7 +1619,7 @@ "shape": "CallRateLimitExceededException" } ], - "documentation": "

Applies a policy to an image. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutImagePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared.

" + "documentation": "

Applies a policy to an image. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutImagePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared.

" }, "PutImageRecipePolicy": { "name": "PutImageRecipePolicy", @@ -1659,7 +1659,7 @@ "shape": "CallRateLimitExceededException" } ], - "documentation": "

Applies a policy to an image recipe. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutImageRecipePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared.

" + "documentation": "

Applies a policy to an image recipe. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutImageRecipePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared.

" }, "StartImagePipelineExecution": { "name": "StartImagePipelineExecution", @@ -1702,7 +1702,7 @@ "shape": "ResourceInUseException" } ], - "documentation": "

Manually triggers a pipeline to create an image.

" + "documentation": "

Manually triggers a pipeline to create an image.

" }, "TagResource": { "name": "TagResource", @@ -1727,7 +1727,7 @@ "shape": "ResourceNotFoundException" } ], - "documentation": "

Adds a tag to a resource.

" + "documentation": "

Adds a tag to a resource.

" }, "UntagResource": { "name": "UntagResource", @@ -1752,7 +1752,7 @@ "shape": "ResourceNotFoundException" } ], - "documentation": "

Removes a tag from a resource.

" + "documentation": "

Removes a tag from a resource.

" }, "UpdateDistributionConfiguration": { "name": "UpdateDistributionConfiguration", @@ -1795,7 +1795,7 @@ "shape": "InvalidParameterCombinationException" } ], - "documentation": "

Updates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.

" + "documentation": "

Updates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.

" }, "UpdateImagePipeline": { "name": "UpdateImagePipeline", @@ -1835,7 +1835,7 @@ "shape": "ResourceInUseException" } ], - "documentation": "

Updates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images.

" + "documentation": "

Updates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images.

" }, "UpdateInfrastructureConfiguration": { "name": "UpdateInfrastructureConfiguration", @@ -1875,13 +1875,13 @@ "shape": "ResourceInUseException" } ], - "documentation": "

Updates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.

" + "documentation": "

Updates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.

" } }, "shapes": { "AccountId": { "type": "string", - "pattern": "^\\d{12}$" + "pattern": "^[0-9]{12}$" }, "AccountList": { "type": "list", @@ -1896,15 +1896,15 @@ "members": { "region": { "shape": "NonEmptyString", - "documentation": "

The AWS Region of the EC2 AMI.

" + "documentation": "

The AWS Region of the EC2 AMI.

" }, "image": { "shape": "NonEmptyString", - "documentation": "

The AMI ID of the EC2 AMI.

" + "documentation": "

The AMI ID of the EC2 AMI.

" }, "name": { "shape": "NonEmptyString", - "documentation": "

The name of the EC2 AMI.

" + "documentation": "

The name of the EC2 AMI.

" }, "description": { "shape": "NonEmptyString", @@ -1915,17 +1915,17 @@ }, "accountId": { "shape": "NonEmptyString", - "documentation": "

The account ID of the owner of the AMI.

" + "documentation": "

The account ID of the owner of the AMI.

" } }, - "documentation": "

Details of an EC2 AMI.

" + "documentation": "

Details of an EC2 AMI.

" }, "AmiDistributionConfiguration": { "type": "structure", "members": { "name": { "shape": "AmiNameString", - "documentation": "

The name of the distribution configuration.

" + "documentation": "

The name of the distribution configuration.

" }, "description": { "shape": "NonEmptyString", @@ -1933,22 +1933,22 @@ }, "targetAccountIds": { "shape": "AccountList", - "documentation": "

The ID of an account to which you want to distribute an image.

" + "documentation": "

The ID of an account to which you want to distribute an image.

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

The tags to apply to AMIs distributed to this Region.

" + "documentation": "

The tags to apply to AMIs distributed to this Region.

" }, "kmsKeyId": { "shape": "NonEmptyString", - "documentation": "

The KMS key identifier used to encrypt the distributed image.

" + "documentation": "

The KMS key identifier used to encrypt the distributed image.

" }, "launchPermission": { "shape": "LaunchPermissionConfiguration", - "documentation": "

Launch permissions can be used to configure which AWS accounts can use the AMI to launch instances.

" + "documentation": "

Launch permissions can be used to configure which AWS accounts can use the AMI to launch instances.

" } }, - "documentation": "

Define and configure the output AMIs of the pipeline.

" + "documentation": "

Define and configure the output AMIs of the pipeline.

" }, "AmiList": { "type": "list", @@ -2041,7 +2041,7 @@ }, "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 parent image OS version during image recipe creation.

" + "documentation": "

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

" }, "owner": { "shape": "NonEmptyString", @@ -2072,7 +2072,7 @@ }, "ComponentBuildVersionArn": { "type": "string", - "pattern": "^arn:aws[^:]*:imagebuilder:[^:]+:(?:\\d{12}|aws):component/[a-z0-9-_]+/\\d+\\.\\d+\\.\\d+/\\d+$" + "pattern": "^arn:aws[^:]*:imagebuilder:[^:]+:(?:[0-9]{12}|aws):component/[a-z0-9-_]+/[0-9]+\\.[0-9]+\\.[0-9]+/[0-9]+$" }, "ComponentConfiguration": { "type": "structure", @@ -2082,10 +2082,10 @@ "members": { "componentArn": { "shape": "ComponentVersionArnOrBuildVersionArn", - "documentation": "

The Amazon Resource Name (ARN) of the component.

" + "documentation": "

The Amazon Resource Name (ARN) of the component.

" } }, - "documentation": "

Configuration details of the component.

" + "documentation": "

Configuration details of the component.

" }, "ComponentConfigurationList": { "type": "list", @@ -2124,7 +2124,7 @@ }, "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 parent image OS version during image recipe creation.

" + "documentation": "

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

" }, "type": { "shape": "ComponentType", @@ -2191,7 +2191,7 @@ }, "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 parent image OS version during image recipe creation.

" + "documentation": "

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

" }, "type": { "shape": "ComponentType", @@ -2210,11 +2210,11 @@ }, "ComponentVersionArn": { "type": "string", - "pattern": "^arn:aws[^:]*:imagebuilder:[^:]+:(?:\\d{12}|aws):component/[a-z0-9-_]+/\\d+\\.\\d+\\.\\d+$" + "pattern": "^arn:aws[^:]*:imagebuilder:[^:]+:(?:[0-9]{12}|aws):component/[a-z0-9-_]+/[0-9]+\\.[0-9]+\\.[0-9]+$" }, "ComponentVersionArnOrBuildVersionArn": { "type": "string", - "pattern": "^arn:aws[^:]*:imagebuilder:[^:]+:(?:\\d{12}|aws):component/[a-z0-9-_]+/(?:(?:(\\d+|x)\\.(\\d+|x)\\.(\\d+|x))|(?:\\d+\\.\\d+\\.\\d+/\\d+))$" + "pattern": "^arn:aws[^:]*:imagebuilder:[^:]+:(?:[0-9]{12}|aws):component/[a-z0-9-_]+/(?:(?:([0-9]+|x)\\.([0-9]+|x)\\.([0-9]+|x))|(?:[0-9]+\\.[0-9]+\\.[0-9]+/[0-9]+))$" }, "ComponentVersionList": { "type": "list", @@ -2298,6 +2298,10 @@ "shape": "ComponentConfigurationList", "documentation": "

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

" }, + "instanceConfiguration": { + "shape": "InstanceConfiguration", + "documentation": "

A group of options that can be used to configure an instance for building and testing container images.

" + }, "dockerfileTemplateData": { "shape": "DockerFileTemplate", "documentation": "

Dockerfiles are text documents that are used to build Docker containers, and ensure that they contain all of the elements required by the application running inside. The template data consists of contextual variables where Image Builder places build information or scripts, based on your container image recipe.

" @@ -2335,7 +2339,7 @@ }, "ContainerRecipeArn": { "type": "string", - "pattern": "^arn:aws[^:]*:imagebuilder:[^:]+:(?:\\d{12}|aws):container-recipe/[a-z0-9-_]+/\\d+\\.\\d+\\.\\d+$" + "pattern": "^arn:aws[^:]*:imagebuilder:[^:]+:(?:[0-9]{12}|aws):container-recipe/[a-z0-9-_]+/[0-9]+\\.[0-9]+\\.[0-9]+$" }, "ContainerRecipeSummary": { "type": "structure", @@ -2424,7 +2428,7 @@ }, "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 parent image OS version during image recipe creation.

" + "documentation": "

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

" }, "data": { "shape": "InlineComponentData", @@ -2473,7 +2477,6 @@ "name", "semanticVersion", "components", - "dockerfileTemplateData", "parentImage", "targetRepository", "clientToken" @@ -2499,6 +2502,10 @@ "shape": "ComponentConfigurationList", "documentation": "

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

" }, + "instanceConfiguration": { + "shape": "InstanceConfiguration", + "documentation": "

A group of options that can be used to configure an instance for building and testing container images.

" + }, "dockerfileTemplateData": { "shape": "InlineDockerFileTemplate", "documentation": "

The Dockerfile template used to build your image as an inline data blob.

" @@ -2569,23 +2576,23 @@ "members": { "name": { "shape": "ResourceName", - "documentation": "

The name of the distribution configuration.

" + "documentation": "

The name of the distribution configuration.

" }, "description": { "shape": "NonEmptyString", - "documentation": "

The description of the distribution configuration.

" + "documentation": "

The description of the distribution configuration.

" }, "distributions": { "shape": "DistributionList", - "documentation": "

The distributions of the distribution configuration.

" + "documentation": "

The distributions of the distribution configuration.

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

The tags of the distribution configuration.

" + "documentation": "

The tags of the distribution configuration.

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

The idempotency token of the distribution configuration.

", + "documentation": "

The idempotency token of the distribution configuration.

", "idempotencyToken": true } } @@ -2595,15 +2602,15 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

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

The idempotency token used to make this request idempotent.

" + "documentation": "

The idempotency token used to make this request idempotent.

" }, "distributionConfigurationArn": { "shape": "DistributionConfigurationArn", - "documentation": "

The Amazon Resource Name (ARN) of the distribution configuration that was created by this request.

" + "documentation": "

The Amazon Resource Name (ARN) of the distribution configuration that was created by this request.

" } } }, @@ -2617,15 +2624,15 @@ "members": { "name": { "shape": "ResourceName", - "documentation": "

The name of the image pipeline.

" + "documentation": "

The name of the image pipeline.

" }, "description": { "shape": "NonEmptyString", - "documentation": "

The description of the image pipeline.

" + "documentation": "

The description of the image pipeline.

" }, "imageRecipeArn": { "shape": "ImageRecipeArn", - "documentation": "

The Amazon Resource Name (ARN) of the image recipe that will be used to configure images created by this image pipeline.

" + "documentation": "

The Amazon Resource Name (ARN) of the image recipe that will be used to configure images created by this image pipeline.

" }, "containerRecipeArn": { "shape": "ContainerRecipeArn", @@ -2633,35 +2640,35 @@ }, "infrastructureConfigurationArn": { "shape": "InfrastructureConfigurationArn", - "documentation": "

The Amazon Resource Name (ARN) of the infrastructure configuration that will be used to build images created by this image pipeline.

" + "documentation": "

The Amazon Resource Name (ARN) of the infrastructure configuration that will be used to build images created by this image pipeline.

" }, "distributionConfigurationArn": { "shape": "DistributionConfigurationArn", - "documentation": "

The Amazon Resource Name (ARN) of the distribution configuration that will be used to configure and distribute images created by this image pipeline.

" + "documentation": "

The Amazon Resource Name (ARN) of the distribution configuration that will be used to configure and distribute images created by this image pipeline.

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

The image test configuration of the image pipeline.

" + "documentation": "

The image test configuration of the image pipeline.

" }, "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": "

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.

" }, "schedule": { "shape": "Schedule", - "documentation": "

The schedule of the image pipeline.

" + "documentation": "

The schedule of the image pipeline.

" }, "status": { "shape": "PipelineStatus", - "documentation": "

The status of the image pipeline.

" + "documentation": "

The status of the image pipeline.

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

The tags of the image pipeline.

" + "documentation": "

The tags of the image pipeline.

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

The idempotency token used to make this request idempotent.

", + "documentation": "

The idempotency token used to make this request idempotent.

", "idempotencyToken": true } } @@ -2671,15 +2678,15 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

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

The idempotency token used to make this request idempotent.

" + "documentation": "

The idempotency token used to make this request idempotent.

" }, "imagePipelineArn": { "shape": "ImagePipelineArn", - "documentation": "

The Amazon Resource Name (ARN) of the image pipeline that was created by this request.

" + "documentation": "

The Amazon Resource Name (ARN) of the image pipeline that was created by this request.

" } } }, @@ -2695,31 +2702,31 @@ "members": { "name": { "shape": "ResourceName", - "documentation": "

The name of the image recipe.

" + "documentation": "

The name of the image recipe.

" }, "description": { "shape": "NonEmptyString", - "documentation": "

The description of the image recipe.

" + "documentation": "

The description of the image recipe.

" }, "semanticVersion": { "shape": "VersionNumber", - "documentation": "

The semantic version of the image recipe.

" + "documentation": "

The semantic version of the image recipe.

" }, "components": { "shape": "ComponentConfigurationList", - "documentation": "

The components of the image recipe.

" + "documentation": "

The components of the image recipe.

" }, "parentImage": { "shape": "NonEmptyString", - "documentation": "

The parent image of the image recipe. The value of the string can be the ARN of the parent image or an AMI ID. The format for the ARN follows this example: arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/xxxx.x.x. You can provide the specific version that you want to use, or you can use a wildcard in all of the fields. If you enter an AMI ID for the string value, you must have access to the AMI, and the AMI must be in the same Region in which you are using Image Builder.

" + "documentation": "

The parent image of the image recipe. The value of the string can be the ARN of the parent image or an AMI ID. The format for the ARN follows this example: arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/xxxx.x.x. You can provide the specific version that you want to use, or you can use a wildcard in all of the fields. If you enter an AMI ID for the string value, you must have access to the AMI, and the AMI must be in the same Region in which you are using Image Builder.

" }, "blockDeviceMappings": { "shape": "InstanceBlockDeviceMappings", - "documentation": "

The block device mappings of the image recipe.

" + "documentation": "

The block device mappings of the image recipe.

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

The tags of the image recipe.

" + "documentation": "

The tags of the image recipe.

" }, "workingDirectory": { "shape": "NonEmptyString", @@ -2727,7 +2734,7 @@ }, "clientToken": { "shape": "ClientToken", - "documentation": "

The idempotency token used to make this request idempotent.

", + "documentation": "

The idempotency token used to make this request idempotent.

", "idempotencyToken": true } } @@ -2737,15 +2744,15 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

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

The idempotency token used to make this request idempotent.

" + "documentation": "

The idempotency token used to make this request idempotent.

" }, "imageRecipeArn": { "shape": "ImageRecipeArn", - "documentation": "

The Amazon Resource Name (ARN) of the image recipe that was created by this request.

" + "documentation": "

The Amazon Resource Name (ARN) of the image recipe that was created by this request.

" } } }, @@ -2758,7 +2765,7 @@ "members": { "imageRecipeArn": { "shape": "ImageRecipeArn", - "documentation": "

The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.

" + "documentation": "

The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.

" }, "containerRecipeArn": { "shape": "ContainerRecipeArn", @@ -2766,27 +2773,27 @@ }, "distributionConfigurationArn": { "shape": "DistributionConfigurationArn", - "documentation": "

The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline.

" + "documentation": "

The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline.

" }, "infrastructureConfigurationArn": { "shape": "InfrastructureConfigurationArn", - "documentation": "

The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your image will be built and tested.

" + "documentation": "

The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your image will be built and tested.

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

The image tests configuration of the image.

" + "documentation": "

The image tests configuration of the image.

" }, "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": "

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.

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

The tags of the image.

" + "documentation": "

The tags of the image.

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

The idempotency token used to make this request idempotent.

", + "documentation": "

The idempotency token used to make this request idempotent.

", "idempotencyToken": true } } @@ -2796,15 +2803,15 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

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

The idempotency token used to make this request idempotent.

" + "documentation": "

The idempotency token used to make this request idempotent.

" }, "imageBuildVersionArn": { "shape": "ImageBuildVersionArn", - "documentation": "

The Amazon Resource Name (ARN) of the image that was created by this request.

" + "documentation": "

The Amazon Resource Name (ARN) of the image that was created by this request.

" } } }, @@ -2818,43 +2825,43 @@ "members": { "name": { "shape": "ResourceName", - "documentation": "

The name of the infrastructure configuration.

" + "documentation": "

The name of the infrastructure configuration.

" }, "description": { "shape": "NonEmptyString", - "documentation": "

The description of the infrastructure configuration.

" + "documentation": "

The description of the infrastructure configuration.

" }, "instanceTypes": { "shape": "InstanceTypeList", - "documentation": "

The instance types of the infrastructure configuration. You can specify one or more instance types to use for this build. The service will pick one of these instance types based on availability.

" + "documentation": "

The instance types of the infrastructure configuration. You can specify one or more instance types to use for this build. The service will pick one of these instance types based on availability.

" }, "instanceProfileName": { - "shape": "NonEmptyString", - "documentation": "

The instance profile to associate with the instance used to customize your EC2 AMI.

" + "shape": "InstanceProfileNameType", + "documentation": "

The instance profile to associate with the instance used to customize your EC2 AMI.

" }, "securityGroupIds": { "shape": "SecurityGroupIds", - "documentation": "

The security group IDs to associate with the instance used to customize your EC2 AMI.

" + "documentation": "

The security group IDs to associate with the instance used to customize your EC2 AMI.

" }, "subnetId": { "shape": "NonEmptyString", - "documentation": "

The subnet ID in which to place the instance used to customize your EC2 AMI.

" + "documentation": "

The subnet ID in which to place the instance used to customize your EC2 AMI.

" }, "logging": { "shape": "Logging", - "documentation": "

The logging configuration of the infrastructure configuration.

" + "documentation": "

The logging configuration of the infrastructure configuration.

" }, "keyPair": { "shape": "NonEmptyString", - "documentation": "

The key pair of the infrastructure configuration. This can be used to log on to and debug the instance used to create your image.

" + "documentation": "

The key pair of the infrastructure configuration. This can be used to log on to and debug the instance used to create your image.

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

The terminate instance on failure setting of the infrastructure configuration. Set to false if you want Image Builder to retain the instance used to configure your AMI if the build or test phase of your workflow fails.

" + "documentation": "

The terminate instance on failure setting of the infrastructure configuration. Set to false if you want Image Builder to retain the instance used to configure your AMI if the build or test phase of your workflow fails.

" }, "snsTopicArn": { "shape": "SnsTopicArn", - "documentation": "

The SNS topic on which to send image build events.

" + "documentation": "

The SNS topic on which to send image build events.

" }, "resourceTags": { "shape": "ResourceTagMap", @@ -2862,11 +2869,11 @@ }, "tags": { "shape": "TagMap", - "documentation": "

The tags of the infrastructure configuration.

" + "documentation": "

The tags of the infrastructure configuration.

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

The idempotency token used to make this request idempotent.

", + "documentation": "

The idempotency token used to make this request idempotent.

", "idempotencyToken": true } } @@ -2876,15 +2883,15 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

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

The idempotency token used to make this request idempotent.

" + "documentation": "

The idempotency token used to make this request idempotent.

" }, "infrastructureConfigurationArn": { "shape": "InfrastructureConfigurationArn", - "documentation": "

The Amazon Resource Name (ARN) of the infrastructure configuration that was created by this request.

" + "documentation": "

The Amazon Resource Name (ARN) of the infrastructure configuration that was created by this request.

" } } }, @@ -2899,7 +2906,7 @@ "members": { "componentBuildVersionArn": { "shape": "ComponentBuildVersionArn", - "documentation": "

The Amazon Resource Name (ARN) of the component build version to delete.

", + "documentation": "

The Amazon Resource Name (ARN) of the component build version to delete.

", "location": "querystring", "locationName": "componentBuildVersionArn" } @@ -2910,11 +2917,11 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

" }, "componentBuildVersionArn": { "shape": "ComponentBuildVersionArn", - "documentation": "

The Amazon Resource Name (ARN) of the component build version that was deleted.

" + "documentation": "

The Amazon Resource Name (ARN) of the component build version that was deleted.

" } } }, @@ -2953,7 +2960,7 @@ "members": { "distributionConfigurationArn": { "shape": "DistributionConfigurationArn", - "documentation": "

The Amazon Resource Name (ARN) of the distribution configuration to delete.

", + "documentation": "

The Amazon Resource Name (ARN) of the distribution configuration to delete.

", "location": "querystring", "locationName": "distributionConfigurationArn" } @@ -2964,11 +2971,11 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

" }, "distributionConfigurationArn": { "shape": "DistributionConfigurationArn", - "documentation": "

The Amazon Resource Name (ARN) of the distribution configuration that was deleted.

" + "documentation": "

The Amazon Resource Name (ARN) of the distribution configuration that was deleted.

" } } }, @@ -2980,7 +2987,7 @@ "members": { "imagePipelineArn": { "shape": "ImagePipelineArn", - "documentation": "

The Amazon Resource Name (ARN) of the image pipeline to delete.

", + "documentation": "

The Amazon Resource Name (ARN) of the image pipeline to delete.

", "location": "querystring", "locationName": "imagePipelineArn" } @@ -2991,11 +2998,11 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

" }, "imagePipelineArn": { "shape": "ImagePipelineArn", - "documentation": "

The Amazon Resource Name (ARN) of the image pipeline that was deleted.

" + "documentation": "

The Amazon Resource Name (ARN) of the image pipeline that was deleted.

" } } }, @@ -3007,7 +3014,7 @@ "members": { "imageRecipeArn": { "shape": "ImageRecipeArn", - "documentation": "

The Amazon Resource Name (ARN) of the image recipe to delete.

", + "documentation": "

The Amazon Resource Name (ARN) of the image recipe to delete.

", "location": "querystring", "locationName": "imageRecipeArn" } @@ -3018,11 +3025,11 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

" }, "imageRecipeArn": { "shape": "ImageRecipeArn", - "documentation": "

The Amazon Resource Name (ARN) of the image recipe that was deleted.

" + "documentation": "

The Amazon Resource Name (ARN) of the image recipe that was deleted.

" } } }, @@ -3034,7 +3041,7 @@ "members": { "imageBuildVersionArn": { "shape": "ImageBuildVersionArn", - "documentation": "

The Amazon Resource Name (ARN) of the image to delete.

", + "documentation": "

The Amazon Resource Name (ARN) of the image to delete.

", "location": "querystring", "locationName": "imageBuildVersionArn" } @@ -3045,11 +3052,11 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

" }, "imageBuildVersionArn": { "shape": "ImageBuildVersionArn", - "documentation": "

The Amazon Resource Name (ARN) of the image that was deleted.

" + "documentation": "

The Amazon Resource Name (ARN) of the image that was deleted.

" } } }, @@ -3061,7 +3068,7 @@ "members": { "infrastructureConfigurationArn": { "shape": "InfrastructureConfigurationArn", - "documentation": "

The Amazon Resource Name (ARN) of the infrastructure configuration to delete.

", + "documentation": "

The Amazon Resource Name (ARN) of the infrastructure configuration to delete.

", "location": "querystring", "locationName": "infrastructureConfigurationArn" } @@ -3072,11 +3079,11 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

" }, "infrastructureConfigurationArn": { "shape": "InfrastructureConfigurationArn", - "documentation": "

The Amazon Resource Name (ARN) of the infrastructure configuration that was deleted.

" + "documentation": "

The Amazon Resource Name (ARN) of the infrastructure configuration that was deleted.

" } } }, @@ -3088,11 +3095,11 @@ "members": { "region": { "shape": "NonEmptyString", - "documentation": "

The target Region.

" + "documentation": "

The target Region.

" }, "amiDistributionConfiguration": { "shape": "AmiDistributionConfiguration", - "documentation": "

The specific AMI settings (for example, launch permissions, AMI tags).

" + "documentation": "

The specific AMI settings; for example, launch permissions or AMI tags.

" }, "containerDistributionConfiguration": { "shape": "ContainerDistributionConfiguration", @@ -3101,9 +3108,13 @@ "licenseConfigurationArns": { "shape": "LicenseConfigurationArnList", "documentation": "

The License Manager Configuration to associate with the AMI in the specified Region.

" + }, + "launchTemplateConfigurations": { + "shape": "LaunchTemplateConfigurationList", + "documentation": "

A group of launchTemplateConfiguration settings that apply to image distribution for specified accounts.

" } }, - "documentation": "

Defines the settings for a specific Region.

" + "documentation": "

Defines the settings for a specific Region.

" }, "DistributionConfiguration": { "type": "structure", @@ -3125,7 +3136,7 @@ }, "distributions": { "shape": "DistributionList", - "documentation": "

The distributions of the distribution configuration.

" + "documentation": "

The distribution objects that apply Region-specific settings for the deployment of the image to targeted Regions.

" }, "timeoutMinutes": { "shape": "DistributionTimeoutMinutes", @@ -3148,7 +3159,7 @@ }, "DistributionConfigurationArn": { "type": "string", - "pattern": "^arn:aws[^:]*:imagebuilder:[^:]+:(?:\\d{12}|aws):distribution-configuration/[a-z0-9-_]+$" + "pattern": "^arn:aws[^:]*:imagebuilder:[^:]+:(?:[0-9]{12}|aws):distribution-configuration/[a-z0-9-_]+$" }, "DistributionConfigurationSummary": { "type": "structure", @@ -3270,14 +3281,14 @@ "members": { "name": { "shape": "FilterName", - "documentation": "

The name of the filter. Filter names are case-sensitive.

" + "documentation": "

The name of the filter. Filter names are case-sensitive.

" }, "values": { "shape": "FilterValues", - "documentation": "

The filter values. Filter values are case-sensitive.

" + "documentation": "

The filter values. Filter values are case-sensitive.

" } }, - "documentation": "

A filter name and value pair that is used to return a more specific list of results from a list operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.

" + "documentation": "

A filter name and value pair that is used to return a more specific list of results from a list operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.

" }, "FilterList": { "type": "list", @@ -3311,7 +3322,7 @@ "members": { "componentArn": { "shape": "ComponentBuildVersionArn", - "documentation": "

The Amazon Resource Name (ARN) of the component whose policy you want to retrieve.

", + "documentation": "

The Amazon Resource Name (ARN) of the component whose policy you want to retrieve.

", "location": "querystring", "locationName": "componentArn" } @@ -3322,11 +3333,11 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

" }, "policy": { "shape": "ResourcePolicyDocument", - "documentation": "

The component policy.

" + "documentation": "

The component policy.

" } } }, @@ -3349,11 +3360,11 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

" }, "component": { "shape": "Component", - "documentation": "

The component object associated with the specified ARN.

" + "documentation": "

The component object associated with the specified ARN.

" } } }, @@ -3419,7 +3430,7 @@ "members": { "distributionConfigurationArn": { "shape": "DistributionConfigurationArn", - "documentation": "

The Amazon Resource Name (ARN) of the distribution configuration that you want to retrieve.

", + "documentation": "

The Amazon Resource Name (ARN) of the distribution configuration that you want to retrieve.

", "location": "querystring", "locationName": "distributionConfigurationArn" } @@ -3430,11 +3441,11 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

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

The distribution configuration object.

" + "documentation": "

The distribution configuration object.

" } } }, @@ -3446,7 +3457,7 @@ "members": { "imagePipelineArn": { "shape": "ImagePipelineArn", - "documentation": "

The Amazon Resource Name (ARN) of the image pipeline that you want to retrieve.

", + "documentation": "

The Amazon Resource Name (ARN) of the image pipeline that you want to retrieve.

", "location": "querystring", "locationName": "imagePipelineArn" } @@ -3457,11 +3468,11 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

" }, "imagePipeline": { "shape": "ImagePipeline", - "documentation": "

The image pipeline object.

" + "documentation": "

The image pipeline object.

" } } }, @@ -3473,7 +3484,7 @@ "members": { "imageArn": { "shape": "ImageBuildVersionArn", - "documentation": "

The Amazon Resource Name (ARN) of the image whose policy you want to retrieve.

", + "documentation": "

The Amazon Resource Name (ARN) of the image whose policy you want to retrieve.

", "location": "querystring", "locationName": "imageArn" } @@ -3484,11 +3495,11 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

" }, "policy": { "shape": "ResourcePolicyDocument", - "documentation": "

The image policy object.

" + "documentation": "

The image policy object.

" } } }, @@ -3500,7 +3511,7 @@ "members": { "imageRecipeArn": { "shape": "ImageRecipeArn", - "documentation": "

The Amazon Resource Name (ARN) of the image recipe whose policy you want to retrieve.

", + "documentation": "

The Amazon Resource Name (ARN) of the image recipe whose policy you want to retrieve.

", "location": "querystring", "locationName": "imageRecipeArn" } @@ -3511,11 +3522,11 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

" }, "policy": { "shape": "ResourcePolicyDocument", - "documentation": "

The image recipe policy object.

" + "documentation": "

The image recipe policy object.

" } } }, @@ -3527,7 +3538,7 @@ "members": { "imageRecipeArn": { "shape": "ImageRecipeArn", - "documentation": "

The Amazon Resource Name (ARN) of the image recipe that you want to retrieve.

", + "documentation": "

The Amazon Resource Name (ARN) of the image recipe that you want to retrieve.

", "location": "querystring", "locationName": "imageRecipeArn" } @@ -3538,11 +3549,11 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

" }, "imageRecipe": { "shape": "ImageRecipe", - "documentation": "

The image recipe object.

" + "documentation": "

The image recipe object.

" } } }, @@ -3554,7 +3565,7 @@ "members": { "imageBuildVersionArn": { "shape": "ImageVersionArnOrBuildVersionArn", - "documentation": "

The Amazon Resource Name (ARN) of the image that you want to retrieve.

", + "documentation": "

The Amazon Resource Name (ARN) of the image that you want to retrieve.

", "location": "querystring", "locationName": "imageBuildVersionArn" } @@ -3565,11 +3576,11 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

" }, "image": { "shape": "Image", - "documentation": "

The image object.

" + "documentation": "

The image object.

" } } }, @@ -3581,26 +3592,26 @@ "members": { "infrastructureConfigurationArn": { "shape": "InfrastructureConfigurationArn", - "documentation": "

The Amazon Resource Name (ARN) of the infrastructure configuration that you want to retrieve.

", + "documentation": "

The Amazon Resource Name (ARN) of the infrastructure configuration that you want to retrieve.

", "location": "querystring", "locationName": "infrastructureConfigurationArn" } }, - "documentation": "

GetInfrastructureConfiguration request object.

" + "documentation": "

GetInfrastructureConfiguration request object.

" }, "GetInfrastructureConfigurationResponse": { "type": "structure", "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

" }, "infrastructureConfiguration": { "shape": "InfrastructureConfiguration", - "documentation": "

The infrastructure configuration object.

" + "documentation": "

The infrastructure configuration object.

" } }, - "documentation": "

GetInfrastructureConfiguration response object.

" + "documentation": "

GetInfrastructureConfiguration response object.

" }, "Image": { "type": "structure", @@ -3627,11 +3638,11 @@ }, "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": "

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.

" }, "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 instance. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.

" }, "state": { "shape": "ImageState", @@ -3682,11 +3693,11 @@ }, "ImageBuildVersionArn": { "type": "string", - "pattern": "^arn:aws[^:]*:imagebuilder:[^:]+:(?:\\d{12}|aws):image/[a-z0-9-_]+/\\d+\\.\\d+\\.\\d+/\\d+$" + "pattern": "^arn:aws[^:]*:imagebuilder:[^:]+:(?:[0-9]{12}|aws):image/[a-z0-9-_]+/[0-9]+\\.[0-9]+\\.[0-9]+/[0-9]+$" }, "ImageBuilderArn": { "type": "string", - "pattern": "^arn:aws[^:]*:imagebuilder:[^:]+:(?:\\d{12}|aws):(?:image-recipe|container-recipe|infrastructure-configuration|distribution-configuration|component|image|image-pipeline)/[a-z0-9-_]+(?:/(?:(?:x|\\d+)\\.(?:x|\\d+)\\.(?:x|\\d+))(?:/\\d+)?)?$" + "pattern": "^arn:aws[^:]*:imagebuilder:[^:]+:(?:[0-9]{12}|aws):(?:image-recipe|container-recipe|infrastructure-configuration|distribution-configuration|component|image|image-pipeline)/[a-z0-9-_]+(?:/(?:(?:x|[0-9]+)\\.(?:x|[0-9]+)\\.(?:x|[0-9]+))(?:/[0-9]+)?)?$" }, "ImagePackage": { "type": "structure", @@ -3729,7 +3740,7 @@ }, "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": "

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.

" }, "imageRecipeArn": { "shape": "Arn", @@ -3784,7 +3795,7 @@ }, "ImagePipelineArn": { "type": "string", - "pattern": "^arn:aws[^:]*:imagebuilder:[^:]+:(?:\\d{12}|aws):image-pipeline/[a-z0-9-_]+$" + "pattern": "^arn:aws[^:]*:imagebuilder:[^:]+:(?:[0-9]{12}|aws):image-pipeline/[a-z0-9-_]+$" }, "ImagePipelineList": { "type": "list", @@ -3852,7 +3863,7 @@ }, "ImageRecipeArn": { "type": "string", - "pattern": "^arn:aws[^:]*:imagebuilder:[^:]+:(?:\\d{12}|aws):image-recipe/[a-z0-9-_]+/\\d+\\.\\d+\\.\\d+$" + "pattern": "^arn:aws[^:]*:imagebuilder:[^:]+:(?:[0-9]{12}|aws):image-recipe/[a-z0-9-_]+/[0-9]+\\.[0-9]+\\.[0-9]+$" }, "ImageRecipeSummary": { "type": "structure", @@ -3899,14 +3910,14 @@ "members": { "status": { "shape": "ImageStatus", - "documentation": "

The status of the image.

" + "documentation": "

The status of the image.

" }, "reason": { "shape": "NonEmptyString", - "documentation": "

The reason for the image's status.

" + "documentation": "

The reason for the image's status.

" } }, - "documentation": "

Image state shows the image status and the reason for that status.

" + "documentation": "

Image state shows the image status and the reason for that status.

" }, "ImageStatus": { "type": "string", @@ -3949,7 +3960,7 @@ }, "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 instance. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.

" }, "state": { "shape": "ImageState", @@ -4031,7 +4042,7 @@ }, "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 instance. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.

" }, "owner": { "shape": "NonEmptyString", @@ -4046,11 +4057,11 @@ }, "ImageVersionArn": { "type": "string", - "pattern": "^arn:aws[^:]*:imagebuilder:[^:]+:(?:\\d{12}|aws):image/[a-z0-9-_]+/\\d+\\.\\d+\\.\\d+$" + "pattern": "^arn:aws[^:]*:imagebuilder:[^:]+:(?:[0-9]{12}|aws):image/[a-z0-9-_]+/[0-9]+\\.[0-9]+\\.[0-9]+$" }, "ImageVersionArnOrBuildVersionArn": { "type": "string", - "pattern": "^arn:aws[^:]*:imagebuilder:[^:]+:(?:\\d{12}|aws):image/[a-z0-9-_]+/(?:(?:(\\d+|x)\\.(\\d+|x)\\.(\\d+|x))|(?:\\d+\\.\\d+\\.\\d+/\\d+))$" + "pattern": "^arn:aws[^:]*:imagebuilder:[^:]+:(?:[0-9]{12}|aws):image/[a-z0-9-_]+/(?:(?:([0-9]+|x)\\.([0-9]+|x)\\.([0-9]+|x))|(?:[0-9]+\\.[0-9]+\\.[0-9]+/[0-9]+))$" }, "ImageVersionList": { "type": "list", @@ -4071,7 +4082,7 @@ "members": { "name": { "shape": "ResourceName", - "documentation": "

The name of the component.

" + "documentation": "

The name of the component.

" }, "semanticVersion": { "shape": "VersionNumber", @@ -4079,23 +4090,23 @@ }, "description": { "shape": "NonEmptyString", - "documentation": "

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

" + "documentation": "

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

" }, "changeDescription": { "shape": "NonEmptyString", - "documentation": "

The change description of the component. Describes what change has been made in this version, or what makes this version different from other versions of this component.

" + "documentation": "

The change description of the component. Describes what change has been made in this version, or what makes this version different from other versions of this component.

" }, "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 type of the component denotes whether the component is used to build the image or only to test it.

" }, "format": { "shape": "ComponentFormat", - "documentation": "

The format of the resource that you want to import as a component.

" + "documentation": "

The format of the resource that you want to import as a component.

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

The platform of the component.

" + "documentation": "

The platform of the component.

" }, "data": { "shape": "NonEmptyString", @@ -4103,19 +4114,19 @@ }, "uri": { "shape": "Uri", - "documentation": "

The uri of the component. Must be an S3 URL and the requester must have permission to access the S3 bucket. If you use S3, you can specify component content up to your service quota. Either data or uri can be used to specify the data within the component.

" + "documentation": "

The uri of the component. Must be an S3 URL and the requester must have permission to access the S3 bucket. If you use S3, you can specify component content up to your service quota. Either data or uri can be used to specify the data within the component.

" }, "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 should be used to encrypt this component.

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

The tags of the component.

" + "documentation": "

The tags of the component.

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

The idempotency token of the component.

", + "documentation": "

The idempotency token of the component.

", "idempotencyToken": true } } @@ -4125,15 +4136,15 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

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

The idempotency token used to make this request idempotent.

" + "documentation": "

The idempotency token used to make this request idempotent.

" }, "componentBuildVersionArn": { "shape": "ComponentBuildVersionArn", - "documentation": "

The Amazon Resource Name (ARN) of the imported component.

" + "documentation": "

The Amazon Resource Name (ARN) of the imported component.

" } } }, @@ -4205,7 +4216,7 @@ }, "InfrastructureConfigurationArn": { "type": "string", - "pattern": "^arn:aws[^:]*:imagebuilder:[^:]+:(?:\\d{12}|aws):infrastructure-configuration/[a-z0-9-_]+$" + "pattern": "^arn:aws[^:]*:imagebuilder:[^:]+:(?:[0-9]{12}|aws):infrastructure-configuration/[a-z0-9-_]+$" }, "InfrastructureConfigurationSummary": { "type": "structure", @@ -4295,6 +4306,20 @@ "shape": "InstanceBlockDeviceMapping" } }, + "InstanceConfiguration": { + "type": "structure", + "members": { + "image": { + "shape": "NonEmptyString", + "documentation": "

The AMI ID to use as the base image for a container build and test instance. If not specified, Image Builder will use the appropriate ECS-optimized AMI as a base image.

" + }, + "blockDeviceMappings": { + "shape": "InstanceBlockDeviceMappings", + "documentation": "

Defines the block devices to attach for building an instance from this Image Builder AMI.

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

Defines a custom source AMI and block device mapping configurations of an instance used for building and testing container images.

" + }, "InstanceProfileNameType": { "type": "string", "max": 256, @@ -4315,18 +4340,51 @@ "members": { "userIds": { "shape": "AccountList", - "documentation": "

The AWS account ID.

" + "documentation": "

The AWS account ID.

" }, "userGroups": { "shape": "StringList", - "documentation": "

The name of the group.

" + "documentation": "

The name of the group.

" } }, - "documentation": "

Describes the configuration for a launch permission. The launch permission modification request is sent to the EC2 ModifyImageAttribute API on behalf of the user for each Region they have selected to distribute the AMI. To make an AMI public, set the launch permission authorized accounts to all. See the examples for making an AMI public at EC2 ModifyImageAttribute.

" + "documentation": "

Describes the configuration for a launch permission. The launch permission modification request is sent to the EC2 ModifyImageAttribute API on behalf of the user for each Region they have selected to distribute the AMI. To make an AMI public, set the launch permission authorized accounts to all. See the examples for making an AMI public at EC2 ModifyImageAttribute.

" + }, + "LaunchTemplateConfiguration": { + "type": "structure", + "required": [ + "launchTemplateId" + ], + "members": { + "launchTemplateId": { + "shape": "LaunchTemplateId", + "documentation": "

Identifies the EC2 launch template to use.

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

The account ID that this configuration applies to.

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

Set the specified EC2 launch template as the default launch template for the specified account.

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

Identifies an EC2 launch template to use for a specific account.

" + }, + "LaunchTemplateConfigurationList": { + "type": "list", + "member": { + "shape": "LaunchTemplateConfiguration" + }, + "max": 100, + "min": 1 + }, + "LaunchTemplateId": { + "type": "string", + "pattern": "^lt-[a-z0-9-_]{17}$" }, "LicenseConfigurationArn": { "type": "string", - "pattern": "^arn:aws[^:]*:license-manager:[^:]+:\\d{12}:license-configuration:lic-[a-z0-9-_]{32}$" + "pattern": "^arn:aws[^:]*:license-manager:[^:]+:[0-9]{12}:license-configuration:lic-[a-z0-9-_]{32}$" }, "LicenseConfigurationArnList": { "type": "list", @@ -4344,16 +4402,16 @@ "members": { "componentVersionArn": { "shape": "ComponentVersionArn", - "documentation": "

The component version Amazon Resource Name (ARN) whose versions you want to list.

" + "documentation": "

The component version Amazon Resource Name (ARN) whose versions you want to list.

" }, "maxResults": { "shape": "RestrictedInteger", - "documentation": "

The maximum items to return in a request.

", + "documentation": "

The maximum items to return in a request.

", "box": true }, "nextToken": { "shape": "PaginationToken", - "documentation": "

A token to specify where to start paginating. This is the NextToken from a previously truncated response.

" + "documentation": "

A token to specify where to start paginating. This is the NextToken from a previously truncated response.

" } } }, @@ -4362,15 +4420,15 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

" }, "componentSummaryList": { "shape": "ComponentSummaryList", - "documentation": "

The list of component summaries for the specified semantic version.

" + "documentation": "

The list of component summaries for the specified semantic version.

" }, "nextToken": { "shape": "PaginationToken", - "documentation": "

The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects.

" + "documentation": "

The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects.

" } } }, @@ -4379,11 +4437,11 @@ "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": "

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": { "shape": "FilterList", - "documentation": "

The filters.

" + "documentation": "

The filters.

" }, "byName": { "shape": "Boolean", @@ -4391,12 +4449,12 @@ }, "maxResults": { "shape": "RestrictedInteger", - "documentation": "

The maximum items to return in a request.

", + "documentation": "

The maximum items to return in a request.

", "box": true }, "nextToken": { "shape": "PaginationToken", - "documentation": "

A token to specify where to start paginating. This is the NextToken from a previously truncated response.

" + "documentation": "

A token to specify where to start paginating. This is the NextToken from a previously truncated response.

" } } }, @@ -4405,15 +4463,15 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

" }, "componentVersionList": { "shape": "ComponentVersionList", - "documentation": "

The list of component semantic versions.

" + "documentation": "

The list of component semantic versions.

" }, "nextToken": { "shape": "PaginationToken", - "documentation": "

The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects.

" + "documentation": "

The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects.

" } } }, @@ -4461,16 +4519,16 @@ "members": { "filters": { "shape": "FilterList", - "documentation": "

The filters.

" + "documentation": "

The filters.

" }, "maxResults": { "shape": "RestrictedInteger", - "documentation": "

The maximum items to return in a request.

", + "documentation": "

The maximum items to return in a request.

", "box": true }, "nextToken": { "shape": "PaginationToken", - "documentation": "

A token to specify where to start paginating. This is the NextToken from a previously truncated response.

" + "documentation": "

A token to specify where to start paginating. This is the NextToken from a previously truncated response.

" } } }, @@ -4479,15 +4537,15 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

" }, "distributionConfigurationSummaryList": { "shape": "DistributionConfigurationSummaryList", - "documentation": "

The list of distributions.

" + "documentation": "

The list of distributions.

" }, "nextToken": { "shape": "PaginationToken", - "documentation": "

The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects.

" + "documentation": "

The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects.

" } } }, @@ -4499,20 +4557,20 @@ "members": { "imageVersionArn": { "shape": "ImageVersionArn", - "documentation": "

The Amazon Resource Name (ARN) of the image whose build versions you want to retrieve.

" + "documentation": "

The Amazon Resource Name (ARN) of the image whose build versions you want to retrieve.

" }, "filters": { "shape": "FilterList", - "documentation": "

The filters.

" + "documentation": "

The filters.

" }, "maxResults": { "shape": "RestrictedInteger", - "documentation": "

The maximum items to return in a request.

", + "documentation": "

The maximum items to return in a request.

", "box": true }, "nextToken": { "shape": "PaginationToken", - "documentation": "

A token to specify where to start paginating. This is the NextToken from a previously truncated response.

" + "documentation": "

A token to specify where to start paginating. This is the NextToken from a previously truncated response.

" } } }, @@ -4521,15 +4579,15 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

" }, "imageSummaryList": { "shape": "ImageSummaryList", - "documentation": "

The list of image build versions.

" + "documentation": "

The list of image build versions.

" }, "nextToken": { "shape": "PaginationToken", - "documentation": "

The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects.

" + "documentation": "

The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects.

" } } }, @@ -4579,20 +4637,20 @@ "members": { "imagePipelineArn": { "shape": "ImagePipelineArn", - "documentation": "

The Amazon Resource Name (ARN) of the image pipeline whose images you want to view.

" + "documentation": "

The Amazon Resource Name (ARN) of the image pipeline whose images you want to view.

" }, "filters": { "shape": "FilterList", - "documentation": "

The filters.

" + "documentation": "

The filters.

" }, "maxResults": { "shape": "RestrictedInteger", - "documentation": "

The maximum items to return in a request.

", + "documentation": "

The maximum items to return in a request.

", "box": true }, "nextToken": { "shape": "PaginationToken", - "documentation": "

A token to specify where to start paginating. This is the NextToken from a previously truncated response.

" + "documentation": "

A token to specify where to start paginating. This is the NextToken from a previously truncated response.

" } } }, @@ -4601,15 +4659,15 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

" }, "imageSummaryList": { "shape": "ImageSummaryList", - "documentation": "

The list of images built by this pipeline.

" + "documentation": "

The list of images built by this pipeline.

" }, "nextToken": { "shape": "PaginationToken", - "documentation": "

The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects.

" + "documentation": "

The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects.

" } } }, @@ -4618,16 +4676,16 @@ "members": { "filters": { "shape": "FilterList", - "documentation": "

The filters.

" + "documentation": "

The filters.

" }, "maxResults": { "shape": "RestrictedInteger", - "documentation": "

The maximum items to return in a request.

", + "documentation": "

The maximum items to return in a request.

", "box": true }, "nextToken": { "shape": "PaginationToken", - "documentation": "

A token to specify where to start paginating. This is the NextToken from a previously truncated response.

" + "documentation": "

A token to specify where to start paginating. This is the NextToken from a previously truncated response.

" } } }, @@ -4636,15 +4694,15 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

" }, "imagePipelineList": { "shape": "ImagePipelineList", - "documentation": "

The list of image pipelines.

" + "documentation": "

The list of image pipelines.

" }, "nextToken": { "shape": "PaginationToken", - "documentation": "

The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects.

" + "documentation": "

The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects.

" } } }, @@ -4653,20 +4711,20 @@ "members": { "owner": { "shape": "Ownership", - "documentation": "

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

" + "documentation": "

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

" }, "filters": { "shape": "FilterList", - "documentation": "

The filters.

" + "documentation": "

The filters.

" }, "maxResults": { "shape": "RestrictedInteger", - "documentation": "

The maximum items to return in a request.

", + "documentation": "

The maximum items to return in a request.

", "box": true }, "nextToken": { "shape": "PaginationToken", - "documentation": "

A token to specify where to start paginating. This is the NextToken from a previously truncated response.

" + "documentation": "

A token to specify where to start paginating. This is the NextToken from a previously truncated response.

" } } }, @@ -4675,15 +4733,15 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

" }, "imageRecipeSummaryList": { "shape": "ImageRecipeSummaryList", - "documentation": "

The list of image pipelines.

" + "documentation": "

The list of image pipelines.

" }, "nextToken": { "shape": "PaginationToken", - "documentation": "

The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects.

" + "documentation": "

The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects.

" } } }, @@ -4692,11 +4750,11 @@ "members": { "owner": { "shape": "Ownership", - "documentation": "

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

" + "documentation": "

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

" }, "filters": { "shape": "FilterList", - "documentation": "

The filters.

" + "documentation": "

The filters.

" }, "byName": { "shape": "Boolean", @@ -4704,12 +4762,12 @@ }, "maxResults": { "shape": "RestrictedInteger", - "documentation": "

The maximum items to return in a request.

", + "documentation": "

The maximum items to return in a request.

", "box": true }, "nextToken": { "shape": "PaginationToken", - "documentation": "

A token to specify where to start paginating. This is the NextToken from a previously truncated response.

" + "documentation": "

A token to specify where to start paginating. This is the NextToken from a previously truncated response.

" }, "includeDeprecated": { "shape": "NullableBoolean", @@ -4722,15 +4780,15 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

" }, "imageVersionList": { "shape": "ImageVersionList", - "documentation": "

The list of image semantic versions.

" + "documentation": "

The list of image semantic versions.

" }, "nextToken": { "shape": "PaginationToken", - "documentation": "

The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects.

" + "documentation": "

The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects.

" } } }, @@ -4739,16 +4797,16 @@ "members": { "filters": { "shape": "FilterList", - "documentation": "

The filters.

" + "documentation": "

The filters.

" }, "maxResults": { "shape": "RestrictedInteger", - "documentation": "

The maximum items to return in a request.

", + "documentation": "

The maximum items to return in a request.

", "box": true }, "nextToken": { "shape": "PaginationToken", - "documentation": "

A token to specify where to start paginating. This is the NextToken from a previously truncated response.

" + "documentation": "

A token to specify where to start paginating. This is the NextToken from a previously truncated response.

" } } }, @@ -4757,11 +4815,11 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

" }, "infrastructureConfigurationSummaryList": { "shape": "InfrastructureConfigurationSummaryList", - "documentation": "

The list of infrastructure configurations.

" + "documentation": "

The list of infrastructure configurations.

" }, "nextToken": { "shape": "PaginationToken", @@ -4777,7 +4835,7 @@ "members": { "resourceArn": { "shape": "ImageBuilderArn", - "documentation": "

The Amazon Resource Name (ARN) of the resource whose tags you want to retrieve.

", + "documentation": "

The Amazon Resource Name (ARN) of the resource whose tags you want to retrieve.

", "location": "uri", "locationName": "resourceArn" } @@ -4788,7 +4846,7 @@ "members": { "tags": { "shape": "TagMap", - "documentation": "

The tags for the specified resource.

" + "documentation": "

The tags for the specified resource.

" } } }, @@ -4827,14 +4885,14 @@ "members": { "amis": { "shape": "AmiList", - "documentation": "

The EC2 AMIs created by this image.

" + "documentation": "

The EC2 AMIs created by this image.

" }, "containers": { "shape": "ContainerList", "documentation": "

Container images that the pipeline has generated and stored in the output repository.

" } }, - "documentation": "

The resources produced by this image.

" + "documentation": "

The resources produced by this image.

" }, "Ownership": { "type": "string", @@ -4879,11 +4937,11 @@ "members": { "componentArn": { "shape": "ComponentBuildVersionArn", - "documentation": "

The Amazon Resource Name (ARN) of the component that this policy should be applied to.

" + "documentation": "

The Amazon Resource Name (ARN) of the component that this policy should be applied to.

" }, "policy": { "shape": "ResourcePolicyDocument", - "documentation": "

The policy to apply.

" + "documentation": "

The policy to apply.

" } } }, @@ -4892,11 +4950,11 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

" }, "componentArn": { "shape": "ComponentBuildVersionArn", - "documentation": "

The Amazon Resource Name (ARN) of the component that this policy was applied to.

" + "documentation": "

The Amazon Resource Name (ARN) of the component that this policy was applied to.

" } } }, @@ -4939,11 +4997,11 @@ "members": { "imageArn": { "shape": "ImageBuildVersionArn", - "documentation": "

The Amazon Resource Name (ARN) of the image that this policy should be applied to.

" + "documentation": "

The Amazon Resource Name (ARN) of the image that this policy should be applied to.

" }, "policy": { "shape": "ResourcePolicyDocument", - "documentation": "

The policy to apply.

" + "documentation": "

The policy to apply.

" } } }, @@ -4952,11 +5010,11 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

" }, "imageArn": { "shape": "ImageBuildVersionArn", - "documentation": "

The Amazon Resource Name (ARN) of the image that this policy was applied to.

" + "documentation": "

The Amazon Resource Name (ARN) of the image that this policy was applied to.

" } } }, @@ -4969,11 +5027,11 @@ "members": { "imageRecipeArn": { "shape": "ImageRecipeArn", - "documentation": "

The Amazon Resource Name (ARN) of the image recipe that this policy should be applied to.

" + "documentation": "

The Amazon Resource Name (ARN) of the image recipe that this policy should be applied to.

" }, "policy": { "shape": "ResourcePolicyDocument", - "documentation": "

The policy to apply.

" + "documentation": "

The policy to apply.

" } } }, @@ -4982,11 +5040,11 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

" }, "imageRecipeArn": { "shape": "ImageRecipeArn", - "documentation": "

The Amazon Resource Name (ARN) of the image recipe that this policy was applied to.

" + "documentation": "

The Amazon Resource Name (ARN) of the image recipe that this policy was applied to.

" } } }, @@ -5051,7 +5109,7 @@ "documentation": "

The condition configures when the pipeline should trigger a new image build. When the pipelineExecutionStartCondition is set to EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE, and you use semantic version filters on the source image or components in your image recipe, EC2 Image Builder will build a new image only when there are new versions of the image or components in your recipe that match the semantic version filter. When it is set to EXPRESSION_MATCH_ONLY, it will build a new image every time the CRON expression matches the current time. For semantic version syntax, see CreateComponent in the EC2 Image Builder API Reference.

" } }, - "documentation": "

A schedule configures how often and when a pipeline will automatically create a new image.

" + "documentation": "

A schedule configures how often and when a pipeline will automatically create a new image.

" }, "SecurityGroupIds": { "type": "list", @@ -5061,7 +5119,7 @@ }, "SnsTopicArn": { "type": "string", - "pattern": "^arn:aws[^:]*:sns:[^:]+:\\d{12}:[a-zA-Z0-9-_]{1,256}$" + "pattern": "^arn:aws[^:]*:sns:[^:]+:[0-9]{12}:[a-zA-Z0-9-_]{1,256}$" }, "StartImagePipelineExecutionRequest": { "type": "structure", @@ -5072,11 +5130,11 @@ "members": { "imagePipelineArn": { "shape": "ImagePipelineArn", - "documentation": "

The Amazon Resource Name (ARN) of the image pipeline that you want to manually invoke.

" + "documentation": "

The Amazon Resource Name (ARN) of the image pipeline that you want to manually invoke.

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

The idempotency token used to make this request idempotent.

", + "documentation": "

The idempotency token used to make this request idempotent.

", "idempotencyToken": true } } @@ -5086,7 +5144,7 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

" }, "clientToken": { "shape": "ClientToken", @@ -5138,13 +5196,13 @@ "members": { "resourceArn": { "shape": "ImageBuilderArn", - "documentation": "

The Amazon Resource Name (ARN) of the resource that you want to tag.

", + "documentation": "

The Amazon Resource Name (ARN) of the resource that you want to tag.

", "location": "uri", "locationName": "resourceArn" }, "tags": { "shape": "TagMap", - "documentation": "

The tags to apply to the resource.

" + "documentation": "

The tags to apply to the resource.

" } } }, @@ -5189,13 +5247,13 @@ "members": { "resourceArn": { "shape": "ImageBuilderArn", - "documentation": "

The Amazon Resource Name (ARN) of the resource that you want to untag.

", + "documentation": "

The Amazon Resource Name (ARN) of the resource that you want to untag.

", "location": "uri", "locationName": "resourceArn" }, "tagKeys": { "shape": "TagKeyList", - "documentation": "

The tag keys to remove from the resource.

", + "documentation": "

The tag keys to remove from the resource.

", "location": "querystring", "locationName": "tagKeys" } @@ -5215,19 +5273,19 @@ "members": { "distributionConfigurationArn": { "shape": "DistributionConfigurationArn", - "documentation": "

The Amazon Resource Name (ARN) of the distribution configuration that you want to update.

" + "documentation": "

The Amazon Resource Name (ARN) of the distribution configuration that you want to update.

" }, "description": { "shape": "NonEmptyString", - "documentation": "

The description of the distribution configuration.

" + "documentation": "

The description of the distribution configuration.

" }, "distributions": { "shape": "DistributionList", - "documentation": "

The distributions of the distribution configuration.

" + "documentation": "

The distributions of the distribution configuration.

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

The idempotency token of the distribution configuration.

", + "documentation": "

The idempotency token of the distribution configuration.

", "idempotencyToken": true } } @@ -5237,15 +5295,15 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

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

The idempotency token used to make this request idempotent.

" + "documentation": "

The idempotency token used to make this request idempotent.

" }, "distributionConfigurationArn": { "shape": "DistributionConfigurationArn", - "documentation": "

The Amazon Resource Name (ARN) of the distribution configuration that was updated by this request.

" + "documentation": "

The Amazon Resource Name (ARN) of the distribution configuration that was updated by this request.

" } } }, @@ -5259,15 +5317,15 @@ "members": { "imagePipelineArn": { "shape": "ImagePipelineArn", - "documentation": "

The Amazon Resource Name (ARN) of the image pipeline that you want to update.

" + "documentation": "

The Amazon Resource Name (ARN) of the image pipeline that you want to update.

" }, "description": { "shape": "NonEmptyString", - "documentation": "

The description of the image pipeline.

" + "documentation": "

The description of the image pipeline.

" }, "imageRecipeArn": { "shape": "ImageRecipeArn", - "documentation": "

The Amazon Resource Name (ARN) of the image recipe that will be used to configure images updated by this image pipeline.

" + "documentation": "

The Amazon Resource Name (ARN) of the image recipe that will be used to configure images updated by this image pipeline.

" }, "containerRecipeArn": { "shape": "ContainerRecipeArn", @@ -5275,31 +5333,31 @@ }, "infrastructureConfigurationArn": { "shape": "InfrastructureConfigurationArn", - "documentation": "

The Amazon Resource Name (ARN) of the infrastructure configuration that will be used to build images updated by this image pipeline.

" + "documentation": "

The Amazon Resource Name (ARN) of the infrastructure configuration that will be used to build images updated by this image pipeline.

" }, "distributionConfigurationArn": { "shape": "DistributionConfigurationArn", - "documentation": "

The Amazon Resource Name (ARN) of the distribution configuration that will be used to configure and distribute images updated by this image pipeline.

" + "documentation": "

The Amazon Resource Name (ARN) of the distribution configuration that will be used to configure and distribute images updated by this image pipeline.

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

The image test configuration of the image pipeline.

" + "documentation": "

The image test configuration of the image pipeline.

" }, "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": "

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.

" }, "schedule": { "shape": "Schedule", - "documentation": "

The schedule of the image pipeline.

" + "documentation": "

The schedule of the image pipeline.

" }, "status": { "shape": "PipelineStatus", - "documentation": "

The status of the image pipeline.

" + "documentation": "

The status of the image pipeline.

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

The idempotency token used to make this request idempotent.

", + "documentation": "

The idempotency token used to make this request idempotent.

", "idempotencyToken": true } } @@ -5309,15 +5367,15 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

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

The idempotency token used to make this request idempotent.

" + "documentation": "

The idempotency token used to make this request idempotent.

" }, "imagePipelineArn": { "shape": "ImagePipelineArn", - "documentation": "

The Amazon Resource Name (ARN) of the image pipeline that was updated by this request.

" + "documentation": "

The Amazon Resource Name (ARN) of the image pipeline that was updated by this request.

" } } }, @@ -5331,47 +5389,47 @@ "members": { "infrastructureConfigurationArn": { "shape": "InfrastructureConfigurationArn", - "documentation": "

The Amazon Resource Name (ARN) of the infrastructure configuration that you want to update.

" + "documentation": "

The Amazon Resource Name (ARN) of the infrastructure configuration that you want to update.

" }, "description": { "shape": "NonEmptyString", - "documentation": "

The description of the infrastructure configuration.

" + "documentation": "

The description of the infrastructure configuration.

" }, "instanceTypes": { "shape": "InstanceTypeList", - "documentation": "

The instance types of the infrastructure configuration. You can specify one or more instance types to use for this build. The service will pick one of these instance types based on availability.

" + "documentation": "

The instance types of the infrastructure configuration. You can specify one or more instance types to use for this build. The service will pick one of these instance types based on availability.

" }, "instanceProfileName": { - "shape": "NonEmptyString", - "documentation": "

The instance profile to associate with the instance used to customize your EC2 AMI.

" + "shape": "InstanceProfileNameType", + "documentation": "

The instance profile to associate with the instance used to customize your EC2 AMI.

" }, "securityGroupIds": { "shape": "SecurityGroupIds", - "documentation": "

The security group IDs to associate with the instance used to customize your EC2 AMI.

" + "documentation": "

The security group IDs to associate with the instance used to customize your EC2 AMI.

" }, "subnetId": { "shape": "NonEmptyString", - "documentation": "

The subnet ID to place the instance used to customize your EC2 AMI in.

" + "documentation": "

The subnet ID to place the instance used to customize your EC2 AMI in.

" }, "logging": { "shape": "Logging", - "documentation": "

The logging configuration of the infrastructure configuration.

" + "documentation": "

The logging configuration of the infrastructure configuration.

" }, "keyPair": { "shape": "NonEmptyString", - "documentation": "

The key pair of the infrastructure configuration. This can be used to log on to and debug the instance used to create your image.

" + "documentation": "

The key pair of the infrastructure configuration. This can be used to log on to and debug the instance used to create your image.

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

The terminate instance on failure setting of the infrastructure configuration. Set to false if you want Image Builder to retain the instance used to configure your AMI if the build or test phase of your workflow fails.

" + "documentation": "

The terminate instance on failure setting of the infrastructure configuration. Set to false if you want Image Builder to retain the instance used to configure your AMI if the build or test phase of your workflow fails.

" }, "snsTopicArn": { "shape": "SnsTopicArn", - "documentation": "

The SNS topic on which to send image build events.

" + "documentation": "

The SNS topic on which to send image build events.

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

The idempotency token used to make this request idempotent.

", + "documentation": "

The idempotency token used to make this request idempotent.

", "idempotencyToken": true }, "resourceTags": { @@ -5385,15 +5443,15 @@ "members": { "requestId": { "shape": "NonEmptyString", - "documentation": "

The request ID that uniquely identifies this request.

" + "documentation": "

The request ID that uniquely identifies this request.

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

The idempotency token used to make this request idempotent.

" + "documentation": "

The idempotency token used to make this request idempotent.

" }, "infrastructureConfigurationArn": { "shape": "InfrastructureConfigurationArn", - "documentation": "

The Amazon Resource Name (ARN) of the infrastructure configuration that was updated by this request.

" + "documentation": "

The Amazon Resource Name (ARN) of the infrastructure configuration that was updated by this request.

" } } }, diff --git a/apis/mediapackage-2017-10-12.min.json b/apis/mediapackage-2017-10-12.min.json index 3c798ffc45..7ff238cfe5 100644 --- a/apis/mediapackage-2017-10-12.min.json +++ b/apis/mediapackage-2017-10-12.min.json @@ -210,14 +210,14 @@ }, "DashPackage": { "locationName": "dashPackage", - "shape": "Sx" + "shape": "S10" }, "Description": { "locationName": "description" }, "HlsPackage": { "locationName": "hlsPackage", - "shape": "S15" + "shape": "S18" }, "Id": { "locationName": "id" @@ -227,7 +227,7 @@ }, "MssPackage": { "locationName": "mssPackage", - "shape": "S18" + "shape": "S1b" }, "Origination": { "locationName": "origination" @@ -246,7 +246,7 @@ }, "Whitelist": { "locationName": "whitelist", - "shape": "Sm" + "shape": "Sp" } }, "required": [ @@ -269,18 +269,18 @@ }, "CmafPackage": { "locationName": "cmafPackage", - "shape": "S1c" + "shape": "S1f" }, "DashPackage": { "locationName": "dashPackage", - "shape": "Sx" + "shape": "S10" }, "Description": { "locationName": "description" }, "HlsPackage": { "locationName": "hlsPackage", - "shape": "S15" + "shape": "S18" }, "Id": { "locationName": "id" @@ -290,7 +290,7 @@ }, "MssPackage": { "locationName": "mssPackage", - "shape": "S18" + "shape": "S1b" }, "Origination": { "locationName": "origination" @@ -312,7 +312,7 @@ }, "Whitelist": { "locationName": "whitelist", - "shape": "Sm" + "shape": "Sp" } }, "type": "structure" @@ -497,18 +497,18 @@ }, "CmafPackage": { "locationName": "cmafPackage", - "shape": "S1c" + "shape": "S1f" }, "DashPackage": { "locationName": "dashPackage", - "shape": "Sx" + "shape": "S10" }, "Description": { "locationName": "description" }, "HlsPackage": { "locationName": "hlsPackage", - "shape": "S15" + "shape": "S18" }, "Id": { "locationName": "id" @@ -518,7 +518,7 @@ }, "MssPackage": { "locationName": "mssPackage", - "shape": "S18" + "shape": "S1b" }, "Origination": { "locationName": "origination" @@ -540,7 +540,7 @@ }, "Whitelist": { "locationName": "whitelist", - "shape": "Sm" + "shape": "Sp" } }, "type": "structure" @@ -728,18 +728,18 @@ }, "CmafPackage": { "locationName": "cmafPackage", - "shape": "S1c" + "shape": "S1f" }, "DashPackage": { "locationName": "dashPackage", - "shape": "Sx" + "shape": "S10" }, "Description": { "locationName": "description" }, "HlsPackage": { "locationName": "hlsPackage", - "shape": "S15" + "shape": "S18" }, "Id": { "locationName": "id" @@ -749,7 +749,7 @@ }, "MssPackage": { "locationName": "mssPackage", - "shape": "S18" + "shape": "S1b" }, "Origination": { "locationName": "origination" @@ -771,7 +771,7 @@ }, "Whitelist": { "locationName": "whitelist", - "shape": "Sm" + "shape": "Sp" } }, "type": "structure" @@ -804,7 +804,7 @@ "members": { "Tags": { "locationName": "tags", - "shape": "S24" + "shape": "S27" } }, "type": "structure" @@ -930,7 +930,7 @@ }, "Tags": { "locationName": "tags", - "shape": "S24" + "shape": "S27" } }, "required": [ @@ -955,7 +955,7 @@ "TagKeys": { "location": "querystring", "locationName": "tagKeys", - "shape": "Sm" + "shape": "Sp" } }, "required": [ @@ -1035,14 +1035,14 @@ }, "DashPackage": { "locationName": "dashPackage", - "shape": "Sx" + "shape": "S10" }, "Description": { "locationName": "description" }, "HlsPackage": { "locationName": "hlsPackage", - "shape": "S15" + "shape": "S18" }, "Id": { "location": "uri", @@ -1053,7 +1053,7 @@ }, "MssPackage": { "locationName": "mssPackage", - "shape": "S18" + "shape": "S1b" }, "Origination": { "locationName": "origination" @@ -1068,7 +1068,7 @@ }, "Whitelist": { "locationName": "whitelist", - "shape": "Sm" + "shape": "Sp" } }, "required": [ @@ -1090,18 +1090,18 @@ }, "CmafPackage": { "locationName": "cmafPackage", - "shape": "S1c" + "shape": "S1f" }, "DashPackage": { "locationName": "dashPackage", - "shape": "Sx" + "shape": "S10" }, "Description": { "locationName": "description" }, "HlsPackage": { "locationName": "hlsPackage", - "shape": "S15" + "shape": "S18" }, "Id": { "locationName": "id" @@ -1111,7 +1111,7 @@ }, "MssPackage": { "locationName": "mssPackage", - "shape": "S18" + "shape": "S1b" }, "Origination": { "locationName": "origination" @@ -1133,7 +1133,7 @@ }, "Whitelist": { "locationName": "whitelist", - "shape": "Sm" + "shape": "Sp" } }, "type": "structure" @@ -1237,7 +1237,7 @@ }, "AdTriggers": { "locationName": "adTriggers", - "shape": "Sq" + "shape": "St" }, "AdsOnDeliveryRestrictions": { "locationName": "adsOnDeliveryRestrictions" @@ -1280,7 +1280,7 @@ }, "StreamSelection": { "locationName": "streamSelection", - "shape": "Sv" + "shape": "Sy" } }, "type": "structure" @@ -1306,6 +1306,22 @@ "CertificateArn": { "locationName": "certificateArn" }, + "EncryptionContractConfiguration": { + "locationName": "encryptionContractConfiguration", + "members": { + "PresetSpeke20Audio": { + "locationName": "presetSpeke20Audio" + }, + "PresetSpeke20Video": { + "locationName": "presetSpeke20Video" + } + }, + "required": [ + "PresetSpeke20Audio", + "PresetSpeke20Video" + ], + "type": "structure" + }, "ResourceId": { "locationName": "resourceId" }, @@ -1314,7 +1330,7 @@ }, "SystemIds": { "locationName": "systemIds", - "shape": "Sm" + "shape": "Sp" }, "Url": { "locationName": "url" @@ -1328,15 +1344,15 @@ ], "type": "structure" }, - "Sm": { + "Sp": { "member": {}, "type": "list" }, - "Sq": { + "St": { "member": {}, "type": "list" }, - "Sv": { + "Sy": { "members": { "MaxVideoBitsPerSecond": { "locationName": "maxVideoBitsPerSecond", @@ -1352,11 +1368,11 @@ }, "type": "structure" }, - "Sx": { + "S10": { "members": { "AdTriggers": { "locationName": "adTriggers", - "shape": "Sq" + "shape": "St" }, "AdsOnDeliveryRestrictions": { "locationName": "adsOnDeliveryRestrictions" @@ -1410,7 +1426,7 @@ }, "StreamSelection": { "locationName": "streamSelection", - "shape": "Sv" + "shape": "Sy" }, "SuggestedPresentationDelaySeconds": { "locationName": "suggestedPresentationDelaySeconds", @@ -1425,14 +1441,14 @@ }, "type": "structure" }, - "S15": { + "S18": { "members": { "AdMarkers": { "locationName": "adMarkers" }, "AdTriggers": { "locationName": "adTriggers", - "shape": "Sq" + "shape": "St" }, "AdsOnDeliveryRestrictions": { "locationName": "adsOnDeliveryRestrictions" @@ -1485,7 +1501,7 @@ }, "StreamSelection": { "locationName": "streamSelection", - "shape": "Sv" + "shape": "Sy" }, "UseAudioRenditionGroup": { "locationName": "useAudioRenditionGroup", @@ -1494,7 +1510,7 @@ }, "type": "structure" }, - "S18": { + "S1b": { "members": { "Encryption": { "locationName": "encryption", @@ -1519,12 +1535,12 @@ }, "StreamSelection": { "locationName": "streamSelection", - "shape": "Sv" + "shape": "Sy" } }, "type": "structure" }, - "S1c": { + "S1f": { "members": { "Encryption": { "locationName": "encryption", @@ -1578,12 +1594,12 @@ }, "StreamSelection": { "locationName": "streamSelection", - "shape": "Sv" + "shape": "Sy" } }, "type": "structure" }, - "S24": { + "S27": { "key": {}, "type": "map", "value": {} diff --git a/apis/mediapackage-2017-10-12.normal.json b/apis/mediapackage-2017-10-12.normal.json index d28b87b639..2e031d2577 100644 --- a/apis/mediapackage-2017-10-12.normal.json +++ b/apis/mediapackage-2017-10-12.normal.json @@ -1497,6 +1497,26 @@ }, "type": "structure" }, + "EncryptionContractConfiguration": { + "documentation": "Use encryptionContractConfiguration to configure one or more content encryption keys for your endpoints that use SPEKE 2.0. \nThe encryption contract defines which content keys are used to encrypt the audio and video tracks in your stream. \nTo configure the encryption contract, specify which audio and video encryption presets to use.\nNote the following considerations when using encryptionContractConfiguration:\nencryptionContractConfiguration can be used for DASH endpoints that use SPEKE 2.0. SPEKE 2.0 relies on the CPIX 2.3 specification.\nYou must disable key rotation for this endpoint by setting keyRotationIntervalSeconds to 0.\n", + "members": { + "PresetSpeke20Audio": { + "documentation": "A collection of audio encryption presets.", + "locationName": "presetSpeke20Audio", + "shape": "PresetSpeke20Audio" + }, + "PresetSpeke20Video": { + "documentation": "A collection of video encryption presets.", + "locationName": "presetSpeke20Video", + "shape": "PresetSpeke20Video" + } + }, + "required": [ + "PresetSpeke20Audio", + "PresetSpeke20Video" + ], + "type": "structure" + }, "EncryptionMethod": { "enum": [ "AES_128", @@ -2073,6 +2093,18 @@ ], "type": "string" }, + "PresetSpeke20Audio": { + "enum": [ + "PRESET-AUDIO-1" + ], + "type": "string" + }, + "PresetSpeke20Video": { + "enum": [ + "PRESET-VIDEO-1" + ], + "type": "string" + }, "Profile": { "enum": [ "NONE", @@ -2231,6 +2263,10 @@ "locationName": "certificateArn", "shape": "__string" }, + "EncryptionContractConfiguration": { + "locationName": "encryptionContractConfiguration", + "shape": "EncryptionContractConfiguration" + }, "ResourceId": { "documentation": "The resource ID to include in key requests.", "locationName": "resourceId", diff --git a/clients/imagebuilder.d.ts b/clients/imagebuilder.d.ts index 87f26be344..336aec5c20 100644 --- a/clients/imagebuilder.d.ts +++ b/clients/imagebuilder.d.ts @@ -36,51 +36,51 @@ declare class Imagebuilder extends Service { */ createContainerRecipe(callback?: (err: AWSError, data: Imagebuilder.Types.CreateContainerRecipeResponse) => void): Request; /** - * Creates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline. + * Creates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline. */ createDistributionConfiguration(params: Imagebuilder.Types.CreateDistributionConfigurationRequest, callback?: (err: AWSError, data: Imagebuilder.Types.CreateDistributionConfigurationResponse) => void): Request; /** - * Creates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline. + * Creates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline. */ createDistributionConfiguration(callback?: (err: AWSError, data: Imagebuilder.Types.CreateDistributionConfigurationResponse) => void): Request; /** - * Creates a new image. This request will create a new image along with all of the configured output resources defined in the distribution configuration. + * Creates a new image. This request will create a new image along with all of the configured output resources defined in the distribution configuration. */ createImage(params: Imagebuilder.Types.CreateImageRequest, callback?: (err: AWSError, data: Imagebuilder.Types.CreateImageResponse) => void): Request; /** - * Creates a new image. This request will create a new image along with all of the configured output resources defined in the distribution configuration. + * Creates a new image. This request will create a new image along with all of the configured output resources defined in the distribution configuration. */ createImage(callback?: (err: AWSError, data: Imagebuilder.Types.CreateImageResponse) => void): Request; /** - * Creates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images. + * Creates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images. */ createImagePipeline(params: Imagebuilder.Types.CreateImagePipelineRequest, callback?: (err: AWSError, data: Imagebuilder.Types.CreateImagePipelineResponse) => void): Request; /** - * Creates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images. + * Creates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images. */ createImagePipeline(callback?: (err: AWSError, data: Imagebuilder.Types.CreateImagePipelineResponse) => void): Request; /** - * Creates a new image recipe. Image recipes define how images are configured, tested, and assessed. + * Creates a new image recipe. Image recipes define how images are configured, tested, and assessed. */ createImageRecipe(params: Imagebuilder.Types.CreateImageRecipeRequest, callback?: (err: AWSError, data: Imagebuilder.Types.CreateImageRecipeResponse) => void): Request; /** - * Creates a new image recipe. Image recipes define how images are configured, tested, and assessed. + * Creates a new image recipe. Image recipes define how images are configured, tested, and assessed. */ createImageRecipe(callback?: (err: AWSError, data: Imagebuilder.Types.CreateImageRecipeResponse) => void): Request; /** - * Creates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested. + * Creates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested. */ createInfrastructureConfiguration(params: Imagebuilder.Types.CreateInfrastructureConfigurationRequest, callback?: (err: AWSError, data: Imagebuilder.Types.CreateInfrastructureConfigurationResponse) => void): Request; /** - * Creates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested. + * Creates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested. */ createInfrastructureConfiguration(callback?: (err: AWSError, data: Imagebuilder.Types.CreateInfrastructureConfigurationResponse) => void): Request; /** - * Deletes a component build version. + * Deletes a component build version. */ deleteComponent(params: Imagebuilder.Types.DeleteComponentRequest, callback?: (err: AWSError, data: Imagebuilder.Types.DeleteComponentResponse) => void): Request; /** - * Deletes a component build version. + * Deletes a component build version. */ deleteComponent(callback?: (err: AWSError, data: Imagebuilder.Types.DeleteComponentResponse) => void): Request; /** @@ -92,59 +92,59 @@ declare class Imagebuilder extends Service { */ deleteContainerRecipe(callback?: (err: AWSError, data: Imagebuilder.Types.DeleteContainerRecipeResponse) => void): Request; /** - * Deletes a distribution configuration. + * Deletes a distribution configuration. */ deleteDistributionConfiguration(params: Imagebuilder.Types.DeleteDistributionConfigurationRequest, callback?: (err: AWSError, data: Imagebuilder.Types.DeleteDistributionConfigurationResponse) => void): Request; /** - * Deletes a distribution configuration. + * Deletes a distribution configuration. */ deleteDistributionConfiguration(callback?: (err: AWSError, data: Imagebuilder.Types.DeleteDistributionConfigurationResponse) => void): Request; /** - * Deletes an image. + * Deletes an image. */ deleteImage(params: Imagebuilder.Types.DeleteImageRequest, callback?: (err: AWSError, data: Imagebuilder.Types.DeleteImageResponse) => void): Request; /** - * Deletes an image. + * Deletes an image. */ deleteImage(callback?: (err: AWSError, data: Imagebuilder.Types.DeleteImageResponse) => void): Request; /** - * Deletes an image pipeline. + * Deletes an image pipeline. */ deleteImagePipeline(params: Imagebuilder.Types.DeleteImagePipelineRequest, callback?: (err: AWSError, data: Imagebuilder.Types.DeleteImagePipelineResponse) => void): Request; /** - * Deletes an image pipeline. + * Deletes an image pipeline. */ deleteImagePipeline(callback?: (err: AWSError, data: Imagebuilder.Types.DeleteImagePipelineResponse) => void): Request; /** - * Deletes an image recipe. + * Deletes an image recipe. */ deleteImageRecipe(params: Imagebuilder.Types.DeleteImageRecipeRequest, callback?: (err: AWSError, data: Imagebuilder.Types.DeleteImageRecipeResponse) => void): Request; /** - * Deletes an image recipe. + * Deletes an image recipe. */ deleteImageRecipe(callback?: (err: AWSError, data: Imagebuilder.Types.DeleteImageRecipeResponse) => void): Request; /** - * Deletes an infrastructure configuration. + * Deletes an infrastructure configuration. */ deleteInfrastructureConfiguration(params: Imagebuilder.Types.DeleteInfrastructureConfigurationRequest, callback?: (err: AWSError, data: Imagebuilder.Types.DeleteInfrastructureConfigurationResponse) => void): Request; /** - * Deletes an infrastructure configuration. + * Deletes an infrastructure configuration. */ deleteInfrastructureConfiguration(callback?: (err: AWSError, data: Imagebuilder.Types.DeleteInfrastructureConfigurationResponse) => void): Request; /** - * Gets a component object. + * Gets a component object. */ getComponent(params: Imagebuilder.Types.GetComponentRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetComponentResponse) => void): Request; /** - * Gets a component object. + * Gets a component object. */ getComponent(callback?: (err: AWSError, data: Imagebuilder.Types.GetComponentResponse) => void): Request; /** - * Gets a component policy. + * Gets a component policy. */ getComponentPolicy(params: Imagebuilder.Types.GetComponentPolicyRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetComponentPolicyResponse) => void): Request; /** - * Gets a component policy. + * Gets a component policy. */ getComponentPolicy(callback?: (err: AWSError, data: Imagebuilder.Types.GetComponentPolicyResponse) => void): Request; /** @@ -164,83 +164,83 @@ declare class Imagebuilder extends Service { */ getContainerRecipePolicy(callback?: (err: AWSError, data: Imagebuilder.Types.GetContainerRecipePolicyResponse) => void): Request; /** - * Gets a distribution configuration. + * Gets a distribution configuration. */ getDistributionConfiguration(params: Imagebuilder.Types.GetDistributionConfigurationRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetDistributionConfigurationResponse) => void): Request; /** - * Gets a distribution configuration. + * Gets a distribution configuration. */ getDistributionConfiguration(callback?: (err: AWSError, data: Imagebuilder.Types.GetDistributionConfigurationResponse) => void): Request; /** - * Gets an image. + * Gets an image. */ getImage(params: Imagebuilder.Types.GetImageRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetImageResponse) => void): Request; /** - * Gets an image. + * Gets an image. */ getImage(callback?: (err: AWSError, data: Imagebuilder.Types.GetImageResponse) => void): Request; /** - * Gets an image pipeline. + * Gets an image pipeline. */ getImagePipeline(params: Imagebuilder.Types.GetImagePipelineRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetImagePipelineResponse) => void): Request; /** - * Gets an image pipeline. + * Gets an image pipeline. */ getImagePipeline(callback?: (err: AWSError, data: Imagebuilder.Types.GetImagePipelineResponse) => void): Request; /** - * Gets an image policy. + * Gets an image policy. */ getImagePolicy(params: Imagebuilder.Types.GetImagePolicyRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetImagePolicyResponse) => void): Request; /** - * Gets an image policy. + * Gets an image policy. */ getImagePolicy(callback?: (err: AWSError, data: Imagebuilder.Types.GetImagePolicyResponse) => void): Request; /** - * Gets an image recipe. + * Gets an image recipe. */ getImageRecipe(params: Imagebuilder.Types.GetImageRecipeRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetImageRecipeResponse) => void): Request; /** - * Gets an image recipe. + * Gets an image recipe. */ getImageRecipe(callback?: (err: AWSError, data: Imagebuilder.Types.GetImageRecipeResponse) => void): Request; /** - * Gets an image recipe policy. + * Gets an image recipe policy. */ getImageRecipePolicy(params: Imagebuilder.Types.GetImageRecipePolicyRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetImageRecipePolicyResponse) => void): Request; /** - * Gets an image recipe policy. + * Gets an image recipe policy. */ getImageRecipePolicy(callback?: (err: AWSError, data: Imagebuilder.Types.GetImageRecipePolicyResponse) => void): Request; /** - * Gets an infrastructure configuration. + * Gets an infrastructure configuration. */ getInfrastructureConfiguration(params: Imagebuilder.Types.GetInfrastructureConfigurationRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetInfrastructureConfigurationResponse) => void): Request; /** - * Gets an infrastructure configuration. + * Gets an infrastructure configuration. */ getInfrastructureConfiguration(callback?: (err: AWSError, data: Imagebuilder.Types.GetInfrastructureConfigurationResponse) => void): Request; /** - * Imports a component and transforms its data into a component document. + * Imports a component and transforms its data into a component document. */ importComponent(params: Imagebuilder.Types.ImportComponentRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ImportComponentResponse) => void): Request; /** - * Imports a component and transforms its data into a component document. + * Imports a component and transforms its data into a component document. */ importComponent(callback?: (err: AWSError, data: Imagebuilder.Types.ImportComponentResponse) => void): Request; /** - * Returns the list of component build versions for the specified semantic version. + * Returns the list of component build versions for the specified semantic version. */ listComponentBuildVersions(params: Imagebuilder.Types.ListComponentBuildVersionsRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListComponentBuildVersionsResponse) => void): Request; /** - * Returns the list of component build versions for the specified semantic version. + * Returns the list of component build versions for the specified semantic version. */ listComponentBuildVersions(callback?: (err: AWSError, data: Imagebuilder.Types.ListComponentBuildVersionsResponse) => void): Request; /** - * Returns the list of component build versions for the specified semantic version. + * Returns the list of component build versions for the specified semantic version. */ 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. + * Returns the list of component build versions for the specified semantic version. */ listComponents(callback?: (err: AWSError, data: Imagebuilder.Types.ListComponentsResponse) => void): Request; /** @@ -252,19 +252,19 @@ declare class Imagebuilder extends Service { */ listContainerRecipes(callback?: (err: AWSError, data: Imagebuilder.Types.ListContainerRecipesResponse) => void): Request; /** - * Returns a list of distribution configurations. + * Returns a list of distribution configurations. */ listDistributionConfigurations(params: Imagebuilder.Types.ListDistributionConfigurationsRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListDistributionConfigurationsResponse) => void): Request; /** - * Returns a list of distribution configurations. + * Returns a list of distribution configurations. */ listDistributionConfigurations(callback?: (err: AWSError, data: Imagebuilder.Types.ListDistributionConfigurationsResponse) => void): Request; /** - * Returns a list of image build versions. + * Returns a list of image build versions. */ listImageBuildVersions(params: Imagebuilder.Types.ListImageBuildVersionsRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListImageBuildVersionsResponse) => void): Request; /** - * Returns a list of image build versions. + * Returns a list of image build versions. */ listImageBuildVersions(callback?: (err: AWSError, data: Imagebuilder.Types.ListImageBuildVersionsResponse) => void): Request; /** @@ -276,59 +276,59 @@ 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; /** - * Returns a list of image pipelines. + * Returns a list of image pipelines. */ listImagePipelines(params: Imagebuilder.Types.ListImagePipelinesRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListImagePipelinesResponse) => void): Request; /** - * Returns a list of image pipelines. + * Returns a list of image pipelines. */ listImagePipelines(callback?: (err: AWSError, data: Imagebuilder.Types.ListImagePipelinesResponse) => void): Request; /** - * Returns a list of image recipes. + * Returns a list of image recipes. */ listImageRecipes(params: Imagebuilder.Types.ListImageRecipesRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListImageRecipesResponse) => void): Request; /** - * Returns a list of image recipes. + * Returns a list of image recipes. */ 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. */ 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. */ listImages(callback?: (err: AWSError, data: Imagebuilder.Types.ListImagesResponse) => void): Request; /** - * Returns a list of infrastructure configurations. + * Returns a list of infrastructure configurations. */ listInfrastructureConfigurations(params: Imagebuilder.Types.ListInfrastructureConfigurationsRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListInfrastructureConfigurationsResponse) => void): Request; /** - * Returns a list of infrastructure configurations. + * Returns a list of infrastructure configurations. */ listInfrastructureConfigurations(callback?: (err: AWSError, data: Imagebuilder.Types.ListInfrastructureConfigurationsResponse) => void): Request; /** - * Returns the list of tags for the specified resource. + * Returns the list of tags for the specified resource. */ listTagsForResource(params: Imagebuilder.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListTagsForResourceResponse) => void): Request; /** - * Returns the list of tags for the specified resource. + * Returns the list of tags for the specified resource. */ listTagsForResource(callback?: (err: AWSError, data: Imagebuilder.Types.ListTagsForResourceResponse) => void): Request; /** - * Applies a policy to a component. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutComponentPolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared. + * Applies a policy to a component. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutComponentPolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared. */ putComponentPolicy(params: Imagebuilder.Types.PutComponentPolicyRequest, callback?: (err: AWSError, data: Imagebuilder.Types.PutComponentPolicyResponse) => void): Request; /** - * Applies a policy to a component. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutComponentPolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared. + * Applies a policy to a component. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutComponentPolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared. */ putComponentPolicy(callback?: (err: AWSError, data: Imagebuilder.Types.PutComponentPolicyResponse) => void): Request; /** @@ -340,67 +340,67 @@ declare class Imagebuilder extends Service { */ putContainerRecipePolicy(callback?: (err: AWSError, data: Imagebuilder.Types.PutContainerRecipePolicyResponse) => void): Request; /** - * Applies a policy to an image. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutImagePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared. + * Applies a policy to an image. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutImagePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared. */ putImagePolicy(params: Imagebuilder.Types.PutImagePolicyRequest, callback?: (err: AWSError, data: Imagebuilder.Types.PutImagePolicyResponse) => void): Request; /** - * Applies a policy to an image. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutImagePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared. + * Applies a policy to an image. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutImagePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared. */ putImagePolicy(callback?: (err: AWSError, data: Imagebuilder.Types.PutImagePolicyResponse) => void): Request; /** - * Applies a policy to an image recipe. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutImageRecipePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared. + * Applies a policy to an image recipe. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutImageRecipePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared. */ putImageRecipePolicy(params: Imagebuilder.Types.PutImageRecipePolicyRequest, callback?: (err: AWSError, data: Imagebuilder.Types.PutImageRecipePolicyResponse) => void): Request; /** - * Applies a policy to an image recipe. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutImageRecipePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared. + * Applies a policy to an image recipe. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutImageRecipePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared. */ putImageRecipePolicy(callback?: (err: AWSError, data: Imagebuilder.Types.PutImageRecipePolicyResponse) => void): Request; /** - * Manually triggers a pipeline to create an image. + * Manually triggers a pipeline to create an image. */ startImagePipelineExecution(params: Imagebuilder.Types.StartImagePipelineExecutionRequest, callback?: (err: AWSError, data: Imagebuilder.Types.StartImagePipelineExecutionResponse) => void): Request; /** - * Manually triggers a pipeline to create an image. + * Manually triggers a pipeline to create an image. */ startImagePipelineExecution(callback?: (err: AWSError, data: Imagebuilder.Types.StartImagePipelineExecutionResponse) => void): Request; /** - * Adds a tag to a resource. + * Adds a tag to a resource. */ tagResource(params: Imagebuilder.Types.TagResourceRequest, callback?: (err: AWSError, data: Imagebuilder.Types.TagResourceResponse) => void): Request; /** - * Adds a tag to a resource. + * Adds a tag to a resource. */ tagResource(callback?: (err: AWSError, data: Imagebuilder.Types.TagResourceResponse) => void): Request; /** - * Removes a tag from a resource. + * Removes a tag from a resource. */ untagResource(params: Imagebuilder.Types.UntagResourceRequest, callback?: (err: AWSError, data: Imagebuilder.Types.UntagResourceResponse) => void): Request; /** - * Removes a tag from a resource. + * Removes a tag from a resource. */ untagResource(callback?: (err: AWSError, data: Imagebuilder.Types.UntagResourceResponse) => void): Request; /** - * Updates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline. + * Updates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline. */ updateDistributionConfiguration(params: Imagebuilder.Types.UpdateDistributionConfigurationRequest, callback?: (err: AWSError, data: Imagebuilder.Types.UpdateDistributionConfigurationResponse) => void): Request; /** - * Updates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline. + * Updates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline. */ updateDistributionConfiguration(callback?: (err: AWSError, data: Imagebuilder.Types.UpdateDistributionConfigurationResponse) => void): Request; /** - * Updates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images. + * Updates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images. */ updateImagePipeline(params: Imagebuilder.Types.UpdateImagePipelineRequest, callback?: (err: AWSError, data: Imagebuilder.Types.UpdateImagePipelineResponse) => void): Request; /** - * Updates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images. + * Updates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images. */ updateImagePipeline(callback?: (err: AWSError, data: Imagebuilder.Types.UpdateImagePipelineResponse) => void): Request; /** - * Updates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested. + * Updates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested. */ updateInfrastructureConfiguration(params: Imagebuilder.Types.UpdateInfrastructureConfigurationRequest, callback?: (err: AWSError, data: Imagebuilder.Types.UpdateInfrastructureConfigurationResponse) => void): Request; /** - * Updates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested. + * Updates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested. */ updateInfrastructureConfiguration(callback?: (err: AWSError, data: Imagebuilder.Types.UpdateInfrastructureConfigurationResponse) => void): Request; } @@ -409,15 +409,15 @@ declare namespace Imagebuilder { export type AccountList = AccountId[]; export interface Ami { /** - * The AWS Region of the EC2 AMI. + * The AWS Region of the EC2 AMI. */ region?: NonEmptyString; /** - * The AMI ID of the EC2 AMI. + * The AMI ID of the EC2 AMI. */ image?: NonEmptyString; /** - * The name of the EC2 AMI. + * The name of the EC2 AMI. */ name?: NonEmptyString; /** @@ -426,13 +426,13 @@ declare namespace Imagebuilder { description?: NonEmptyString; state?: ImageState; /** - * The account ID of the owner of the AMI. + * The account ID of the owner of the AMI. */ accountId?: NonEmptyString; } export interface AmiDistributionConfiguration { /** - * The name of the distribution configuration. + * The name of the distribution configuration. */ name?: AmiNameString; /** @@ -440,19 +440,19 @@ declare namespace Imagebuilder { */ description?: NonEmptyString; /** - * The ID of an account to which you want to distribute an image. + * The ID of an account to which you want to distribute an image. */ targetAccountIds?: AccountList; /** - * The tags to apply to AMIs distributed to this Region. + * The tags to apply to AMIs distributed to this Region. */ amiTags?: TagMap; /** - * The KMS key identifier used to encrypt the distributed image. + * The KMS key identifier used to encrypt the distributed image. */ kmsKeyId?: NonEmptyString; /** - * Launch permissions can be used to configure which AWS accounts can use the AMI to launch instances. + * Launch permissions can be used to configure which AWS accounts can use the AMI to launch instances. */ launchPermission?: LaunchPermissionConfiguration; } @@ -515,7 +515,7 @@ declare namespace Imagebuilder { */ platform?: Platform; /** - * The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the parent image OS version during image recipe creation. + * The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the parent image OS version during image recipe creation. */ supportedOsVersions?: OsVersionList; /** @@ -546,7 +546,7 @@ declare namespace Imagebuilder { export type ComponentBuildVersionArn = string; export interface ComponentConfiguration { /** - * The Amazon Resource Name (ARN) of the component. + * The Amazon Resource Name (ARN) of the component. */ componentArn: ComponentVersionArnOrBuildVersionArn; } @@ -571,7 +571,7 @@ declare namespace Imagebuilder { */ platform?: Platform; /** - * The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the parent image OS version during image recipe creation. + * The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the parent image OS version during image recipe creation. */ supportedOsVersions?: OsVersionList; /** @@ -623,7 +623,7 @@ declare namespace Imagebuilder { */ platform?: Platform; /** - * The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the parent image OS version during image recipe creation. + * he operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the parent image OS version during image recipe creation. */ supportedOsVersions?: OsVersionList; /** @@ -700,6 +700,10 @@ declare namespace Imagebuilder { * Components for build and test that are included in the container recipe. */ components?: ComponentConfigurationList; + /** + * A group of options that can be used to configure an instance for building and testing container images. + */ + instanceConfiguration?: InstanceConfiguration; /** * Dockerfiles are text documents that are used to build Docker containers, and ensure that they contain all of the elements required by the application running inside. The template data consists of contextual variables where Image Builder places build information or scripts, based on your container image recipe. */ @@ -793,7 +797,7 @@ declare namespace Imagebuilder { */ platform: Platform; /** - * The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the parent image OS version during image recipe creation. + * The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the parent image OS version during image recipe creation. */ supportedOsVersions?: OsVersionList; /** @@ -852,10 +856,14 @@ declare namespace Imagebuilder { * Components for build and test that are included in the container recipe. */ components: ComponentConfigurationList; + /** + * A group of options that can be used to configure an instance for building and testing container images. + */ + instanceConfiguration?: InstanceConfiguration; /** * The Dockerfile template used to build your image as an inline data blob. */ - dockerfileTemplateData: InlineDockerFileTemplate; + dockerfileTemplateData?: InlineDockerFileTemplate; /** * The S3 URI for the Dockerfile that will be used to build your container image. */ @@ -909,51 +917,51 @@ declare namespace Imagebuilder { } export interface CreateDistributionConfigurationRequest { /** - * The name of the distribution configuration. + * The name of the distribution configuration. */ name: ResourceName; /** - * The description of the distribution configuration. + * The description of the distribution configuration. */ description?: NonEmptyString; /** - * The distributions of the distribution configuration. + * The distributions of the distribution configuration. */ distributions: DistributionList; /** - * The tags of the distribution configuration. + * The tags of the distribution configuration. */ tags?: TagMap; /** - * The idempotency token of the distribution configuration. + * The idempotency token of the distribution configuration. */ clientToken: ClientToken; } export interface CreateDistributionConfigurationResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The idempotency token used to make this request idempotent. + * The idempotency token used to make this request idempotent. */ clientToken?: ClientToken; /** - * The Amazon Resource Name (ARN) of the distribution configuration that was created by this request. + * The Amazon Resource Name (ARN) of the distribution configuration that was created by this request. */ distributionConfigurationArn?: DistributionConfigurationArn; } export interface CreateImagePipelineRequest { /** - * The name of the image pipeline. + * The name of the image pipeline. */ name: ResourceName; /** - * The description of the image pipeline. + * The description of the image pipeline. */ description?: NonEmptyString; /** - * The Amazon Resource Name (ARN) of the image recipe that will be used to configure images created by this image pipeline. + * The Amazon Resource Name (ARN) of the image recipe that will be used to configure images created by this image pipeline. */ imageRecipeArn?: ImageRecipeArn; /** @@ -961,79 +969,79 @@ declare namespace Imagebuilder { */ containerRecipeArn?: ContainerRecipeArn; /** - * The Amazon Resource Name (ARN) of the infrastructure configuration that will be used to build images created by this image pipeline. + * The Amazon Resource Name (ARN) of the infrastructure configuration that will be used to build images created by this image pipeline. */ infrastructureConfigurationArn: InfrastructureConfigurationArn; /** - * The Amazon Resource Name (ARN) of the distribution configuration that will be used to configure and distribute images created by this image pipeline. + * The Amazon Resource Name (ARN) of the distribution configuration that will be used to configure and distribute images created by this image pipeline. */ distributionConfigurationArn?: DistributionConfigurationArn; /** - * The image test configuration of the image pipeline. + * The image test configuration of the image pipeline. */ imageTestsConfiguration?: ImageTestsConfiguration; /** - * 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. + * 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. */ enhancedImageMetadataEnabled?: NullableBoolean; /** - * The schedule of the image pipeline. + * The schedule of the image pipeline. */ schedule?: Schedule; /** - * The status of the image pipeline. + * The status of the image pipeline. */ status?: PipelineStatus; /** - * The tags of the image pipeline. + * The tags of the image pipeline. */ tags?: TagMap; /** - * The idempotency token used to make this request idempotent. + * The idempotency token used to make this request idempotent. */ clientToken: ClientToken; } export interface CreateImagePipelineResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The idempotency token used to make this request idempotent. + * The idempotency token used to make this request idempotent. */ clientToken?: ClientToken; /** - * The Amazon Resource Name (ARN) of the image pipeline that was created by this request. + * The Amazon Resource Name (ARN) of the image pipeline that was created by this request. */ imagePipelineArn?: ImagePipelineArn; } export interface CreateImageRecipeRequest { /** - * The name of the image recipe. + * The name of the image recipe. */ name: ResourceName; /** - * The description of the image recipe. + * The description of the image recipe. */ description?: NonEmptyString; /** - * The semantic version of the image recipe. + * The semantic version of the image recipe. */ semanticVersion: VersionNumber; /** - * The components of the image recipe. + * The components of the image recipe. */ components: ComponentConfigurationList; /** - * The parent image of the image recipe. The value of the string can be the ARN of the parent image or an AMI ID. The format for the ARN follows this example: arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/xxxx.x.x. You can provide the specific version that you want to use, or you can use a wildcard in all of the fields. If you enter an AMI ID for the string value, you must have access to the AMI, and the AMI must be in the same Region in which you are using Image Builder. + * The parent image of the image recipe. The value of the string can be the ARN of the parent image or an AMI ID. The format for the ARN follows this example: arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/xxxx.x.x. You can provide the specific version that you want to use, or you can use a wildcard in all of the fields. If you enter an AMI ID for the string value, you must have access to the AMI, and the AMI must be in the same Region in which you are using Image Builder. */ parentImage: NonEmptyString; /** - * The block device mappings of the image recipe. + * The block device mappings of the image recipe. */ blockDeviceMappings?: InstanceBlockDeviceMappings; /** - * The tags of the image recipe. + * The tags of the image recipe. */ tags?: TagMap; /** @@ -1041,27 +1049,27 @@ declare namespace Imagebuilder { */ workingDirectory?: NonEmptyString; /** - * The idempotency token used to make this request idempotent. + * The idempotency token used to make this request idempotent. */ clientToken: ClientToken; } export interface CreateImageRecipeResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The idempotency token used to make this request idempotent. + * The idempotency token used to make this request idempotent. */ clientToken?: ClientToken; /** - * The Amazon Resource Name (ARN) of the image recipe that was created by this request. + * The Amazon Resource Name (ARN) of the image recipe that was created by this request. */ imageRecipeArn?: ImageRecipeArn; } export interface CreateImageRequest { /** - * The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed. + * The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed. */ imageRecipeArn?: ImageRecipeArn; /** @@ -1069,83 +1077,83 @@ declare namespace Imagebuilder { */ containerRecipeArn?: ContainerRecipeArn; /** - * The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline. + * The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline. */ distributionConfigurationArn?: DistributionConfigurationArn; /** - * The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your image will be built and tested. + * The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your image will be built and tested. */ infrastructureConfigurationArn: InfrastructureConfigurationArn; /** - * The image tests configuration of the image. + * The image tests configuration of the image. */ imageTestsConfiguration?: ImageTestsConfiguration; /** - * 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. + * 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. */ enhancedImageMetadataEnabled?: NullableBoolean; /** - * The tags of the image. + * The tags of the image. */ tags?: TagMap; /** - * The idempotency token used to make this request idempotent. + * The idempotency token used to make this request idempotent. */ clientToken: ClientToken; } export interface CreateImageResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The idempotency token used to make this request idempotent. + * The idempotency token used to make this request idempotent. */ clientToken?: ClientToken; /** - * The Amazon Resource Name (ARN) of the image that was created by this request. + * The Amazon Resource Name (ARN) of the image that was created by this request. */ imageBuildVersionArn?: ImageBuildVersionArn; } export interface CreateInfrastructureConfigurationRequest { /** - * The name of the infrastructure configuration. + * The name of the infrastructure configuration. */ name: ResourceName; /** - * The description of the infrastructure configuration. + * The description of the infrastructure configuration. */ description?: NonEmptyString; /** - * The instance types of the infrastructure configuration. You can specify one or more instance types to use for this build. The service will pick one of these instance types based on availability. + * The instance types of the infrastructure configuration. You can specify one or more instance types to use for this build. The service will pick one of these instance types based on availability. */ instanceTypes?: InstanceTypeList; /** - * The instance profile to associate with the instance used to customize your EC2 AMI. + * The instance profile to associate with the instance used to customize your EC2 AMI. */ - instanceProfileName: NonEmptyString; + instanceProfileName: InstanceProfileNameType; /** - * The security group IDs to associate with the instance used to customize your EC2 AMI. + * The security group IDs to associate with the instance used to customize your EC2 AMI. */ securityGroupIds?: SecurityGroupIds; /** - * The subnet ID in which to place the instance used to customize your EC2 AMI. + * The subnet ID in which to place the instance used to customize your EC2 AMI. */ subnetId?: NonEmptyString; /** - * The logging configuration of the infrastructure configuration. + * The logging configuration of the infrastructure configuration. */ logging?: Logging; /** - * The key pair of the infrastructure configuration. This can be used to log on to and debug the instance used to create your image. + * The key pair of the infrastructure configuration. This can be used to log on to and debug the instance used to create your image. */ keyPair?: NonEmptyString; /** - * The terminate instance on failure setting of the infrastructure configuration. Set to false if you want Image Builder to retain the instance used to configure your AMI if the build or test phase of your workflow fails. + * The terminate instance on failure setting of the infrastructure configuration. Set to false if you want Image Builder to retain the instance used to configure your AMI if the build or test phase of your workflow fails. */ terminateInstanceOnFailure?: NullableBoolean; /** - * The SNS topic on which to send image build events. + * The SNS topic on which to send image build events. */ snsTopicArn?: SnsTopicArn; /** @@ -1153,42 +1161,42 @@ declare namespace Imagebuilder { */ resourceTags?: ResourceTagMap; /** - * The tags of the infrastructure configuration. + * The tags of the infrastructure configuration. */ tags?: TagMap; /** - * The idempotency token used to make this request idempotent. + * The idempotency token used to make this request idempotent. */ clientToken: ClientToken; } export interface CreateInfrastructureConfigurationResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The idempotency token used to make this request idempotent. + * The idempotency token used to make this request idempotent. */ clientToken?: ClientToken; /** - * The Amazon Resource Name (ARN) of the infrastructure configuration that was created by this request. + * The Amazon Resource Name (ARN) of the infrastructure configuration that was created by this request. */ infrastructureConfigurationArn?: InfrastructureConfigurationArn; } export type DateTime = string; export interface DeleteComponentRequest { /** - * The Amazon Resource Name (ARN) of the component build version to delete. + * The Amazon Resource Name (ARN) of the component build version to delete. */ componentBuildVersionArn: ComponentBuildVersionArn; } export interface DeleteComponentResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The Amazon Resource Name (ARN) of the component build version that was deleted. + * The Amazon Resource Name (ARN) of the component build version that was deleted. */ componentBuildVersionArn?: ComponentBuildVersionArn; } @@ -1210,91 +1218,91 @@ declare namespace Imagebuilder { } export interface DeleteDistributionConfigurationRequest { /** - * The Amazon Resource Name (ARN) of the distribution configuration to delete. + * The Amazon Resource Name (ARN) of the distribution configuration to delete. */ distributionConfigurationArn: DistributionConfigurationArn; } export interface DeleteDistributionConfigurationResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The Amazon Resource Name (ARN) of the distribution configuration that was deleted. + * The Amazon Resource Name (ARN) of the distribution configuration that was deleted. */ distributionConfigurationArn?: DistributionConfigurationArn; } export interface DeleteImagePipelineRequest { /** - * The Amazon Resource Name (ARN) of the image pipeline to delete. + * The Amazon Resource Name (ARN) of the image pipeline to delete. */ imagePipelineArn: ImagePipelineArn; } export interface DeleteImagePipelineResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The Amazon Resource Name (ARN) of the image pipeline that was deleted. + * The Amazon Resource Name (ARN) of the image pipeline that was deleted. */ imagePipelineArn?: ImagePipelineArn; } export interface DeleteImageRecipeRequest { /** - * The Amazon Resource Name (ARN) of the image recipe to delete. + * The Amazon Resource Name (ARN) of the image recipe to delete. */ imageRecipeArn: ImageRecipeArn; } export interface DeleteImageRecipeResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The Amazon Resource Name (ARN) of the image recipe that was deleted. + * The Amazon Resource Name (ARN) of the image recipe that was deleted. */ imageRecipeArn?: ImageRecipeArn; } export interface DeleteImageRequest { /** - * The Amazon Resource Name (ARN) of the image to delete. + * The Amazon Resource Name (ARN) of the image to delete. */ imageBuildVersionArn: ImageBuildVersionArn; } export interface DeleteImageResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The Amazon Resource Name (ARN) of the image that was deleted. + * The Amazon Resource Name (ARN) of the image that was deleted. */ imageBuildVersionArn?: ImageBuildVersionArn; } export interface DeleteInfrastructureConfigurationRequest { /** - * The Amazon Resource Name (ARN) of the infrastructure configuration to delete. + * The Amazon Resource Name (ARN) of the infrastructure configuration to delete. */ infrastructureConfigurationArn: InfrastructureConfigurationArn; } export interface DeleteInfrastructureConfigurationResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The Amazon Resource Name (ARN) of the infrastructure configuration that was deleted. + * The Amazon Resource Name (ARN) of the infrastructure configuration that was deleted. */ infrastructureConfigurationArn?: InfrastructureConfigurationArn; } export interface Distribution { /** - * The target Region. + * The target Region. */ region: NonEmptyString; /** - * The specific AMI settings (for example, launch permissions, AMI tags). + * The specific AMI settings; for example, launch permissions or AMI tags. */ amiDistributionConfiguration?: AmiDistributionConfiguration; /** @@ -1305,6 +1313,10 @@ declare namespace Imagebuilder { * The License Manager Configuration to associate with the AMI in the specified Region. */ licenseConfigurationArns?: LicenseConfigurationArnList; + /** + * A group of launchTemplateConfiguration settings that apply to image distribution for specified accounts. + */ + launchTemplateConfigurations?: LaunchTemplateConfigurationList; } export interface DistributionConfiguration { /** @@ -1320,7 +1332,7 @@ declare namespace Imagebuilder { */ description?: NonEmptyString; /** - * The distributions of the distribution configuration. + * The distribution objects that apply Region-specific settings for the deployment of the image to targeted Regions. */ distributions?: DistributionList; /** @@ -1411,11 +1423,11 @@ declare namespace Imagebuilder { export type EmptyString = string; export interface Filter { /** - * The name of the filter. Filter names are case-sensitive. + * The name of the filter. Filter names are case-sensitive. */ name?: FilterName; /** - * The filter values. Filter values are case-sensitive. + * The filter values. Filter values are case-sensitive. */ values?: FilterValues; } @@ -1425,17 +1437,17 @@ declare namespace Imagebuilder { export type FilterValues = FilterValue[]; export interface GetComponentPolicyRequest { /** - * The Amazon Resource Name (ARN) of the component whose policy you want to retrieve. + * The Amazon Resource Name (ARN) of the component whose policy you want to retrieve. */ componentArn: ComponentBuildVersionArn; } export interface GetComponentPolicyResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The component policy. + * The component policy. */ policy?: ResourcePolicyDocument; } @@ -1447,11 +1459,11 @@ declare namespace Imagebuilder { } export interface GetComponentResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The component object associated with the specified ARN. + * The component object associated with the specified ARN. */ component?: Component; } @@ -1489,113 +1501,113 @@ declare namespace Imagebuilder { } export interface GetDistributionConfigurationRequest { /** - * The Amazon Resource Name (ARN) of the distribution configuration that you want to retrieve. + * The Amazon Resource Name (ARN) of the distribution configuration that you want to retrieve. */ distributionConfigurationArn: DistributionConfigurationArn; } export interface GetDistributionConfigurationResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The distribution configuration object. + * The distribution configuration object. */ distributionConfiguration?: DistributionConfiguration; } export interface GetImagePipelineRequest { /** - * The Amazon Resource Name (ARN) of the image pipeline that you want to retrieve. + * The Amazon Resource Name (ARN) of the image pipeline that you want to retrieve. */ imagePipelineArn: ImagePipelineArn; } export interface GetImagePipelineResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The image pipeline object. + * The image pipeline object. */ imagePipeline?: ImagePipeline; } export interface GetImagePolicyRequest { /** - * The Amazon Resource Name (ARN) of the image whose policy you want to retrieve. + * The Amazon Resource Name (ARN) of the image whose policy you want to retrieve. */ imageArn: ImageBuildVersionArn; } export interface GetImagePolicyResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The image policy object. + * The image policy object. */ policy?: ResourcePolicyDocument; } export interface GetImageRecipePolicyRequest { /** - * The Amazon Resource Name (ARN) of the image recipe whose policy you want to retrieve. + * The Amazon Resource Name (ARN) of the image recipe whose policy you want to retrieve. */ imageRecipeArn: ImageRecipeArn; } export interface GetImageRecipePolicyResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The image recipe policy object. + * The image recipe policy object. */ policy?: ResourcePolicyDocument; } export interface GetImageRecipeRequest { /** - * The Amazon Resource Name (ARN) of the image recipe that you want to retrieve. + * The Amazon Resource Name (ARN) of the image recipe that you want to retrieve. */ imageRecipeArn: ImageRecipeArn; } export interface GetImageRecipeResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The image recipe object. + * The image recipe object. */ imageRecipe?: ImageRecipe; } export interface GetImageRequest { /** - * The Amazon Resource Name (ARN) of the image that you want to retrieve. + * The Amazon Resource Name (ARN) of the image that you want to retrieve. */ imageBuildVersionArn: ImageVersionArnOrBuildVersionArn; } export interface GetImageResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The image object. + * The image object. */ image?: Image; } export interface GetInfrastructureConfigurationRequest { /** - * The Amazon Resource Name (ARN) of the infrastructure configuration that you want to retrieve. + * The Amazon Resource Name (ARN) of the infrastructure configuration that you want to retrieve. */ infrastructureConfigurationArn: InfrastructureConfigurationArn; } export interface GetInfrastructureConfigurationResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The infrastructure configuration object. + * The infrastructure configuration object. */ infrastructureConfiguration?: InfrastructureConfiguration; } @@ -1621,11 +1633,11 @@ declare namespace Imagebuilder { */ 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. + * 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. */ 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 of the instance. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019. */ osVersion?: OsVersion; /** @@ -1704,7 +1716,7 @@ declare namespace Imagebuilder { */ 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. + * 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. */ enhancedImageMetadataEnabled?: NullableBoolean; /** @@ -1846,11 +1858,11 @@ declare namespace Imagebuilder { export type ImageRecipeSummaryList = ImageRecipeSummary[]; export interface ImageState { /** - * The status of the image. + * The status of the image. */ status?: ImageStatus; /** - * The reason for the image's status. + * The reason for the image's status. */ reason?: NonEmptyString; } @@ -1877,7 +1889,7 @@ declare namespace Imagebuilder { */ 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 instance. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019. */ osVersion?: OsVersion; /** @@ -1936,7 +1948,7 @@ declare namespace Imagebuilder { */ 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 instance. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019. */ osVersion?: OsVersion; /** @@ -1953,7 +1965,7 @@ declare namespace Imagebuilder { export type ImageVersionList = ImageVersion[]; export interface ImportComponentRequest { /** - * The name of the component. + * The name of the component. */ name: ResourceName; /** @@ -1961,23 +1973,23 @@ declare namespace Imagebuilder { */ semanticVersion: VersionNumber; /** - * The description of the component. Describes the contents of the component. + * The description of the component. Describes the contents of the component. */ description?: NonEmptyString; /** - * The change description of the component. Describes what change has been made in this version, or what makes this version different from other versions of this component. + * The change description of the component. Describes what change has been made in this version, or what makes this version different from other versions of this component. */ changeDescription?: NonEmptyString; /** - * The type of the component denotes whether the component is used to build the image or only to test it. + * The type of the component denotes whether the component is used to build the image or only to test it. */ type: ComponentType; /** - * The format of the resource that you want to import as a component. + * The format of the resource that you want to import as a component. */ format: ComponentFormat; /** - * The platform of the component. + * The platform of the component. */ platform: Platform; /** @@ -1985,33 +1997,33 @@ declare namespace Imagebuilder { */ data?: NonEmptyString; /** - * The uri of the component. Must be an S3 URL and the requester must have permission to access the S3 bucket. If you use S3, you can specify component content up to your service quota. Either data or uri can be used to specify the data within the component. + * The uri of the component. Must be an S3 URL and the requester must have permission to access the S3 bucket. If you use S3, you can specify component content up to your service quota. Either data or uri can be used to specify the data within the component. */ uri?: Uri; /** - * The ID of the KMS key that should be used to encrypt this component. + * The ID of the KMS key that should be used to encrypt this component. */ kmsKeyId?: NonEmptyString; /** - * The tags of the component. + * The tags of the component. */ tags?: TagMap; /** - * The idempotency token of the component. + * The idempotency token of the component. */ clientToken: ClientToken; } export interface ImportComponentResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The idempotency token used to make this request idempotent. + * The idempotency token used to make this request idempotent. */ clientToken?: ClientToken; /** - * The Amazon Resource Name (ARN) of the imported component. + * The Amazon Resource Name (ARN) of the imported component. */ componentBuildVersionArn?: ComponentBuildVersionArn; } @@ -2138,56 +2150,82 @@ declare namespace Imagebuilder { noDevice?: EmptyString; } export type InstanceBlockDeviceMappings = InstanceBlockDeviceMapping[]; + export interface InstanceConfiguration { + /** + * The AMI ID to use as the base image for a container build and test instance. If not specified, Image Builder will use the appropriate ECS-optimized AMI as a base image. + */ + image?: NonEmptyString; + /** + * Defines the block devices to attach for building an instance from this Image Builder AMI. + */ + blockDeviceMappings?: InstanceBlockDeviceMappings; + } export type InstanceProfileNameType = string; export type InstanceType = string; export type InstanceTypeList = InstanceType[]; export interface LaunchPermissionConfiguration { /** - * The AWS account ID. + * The AWS account ID. */ userIds?: AccountList; /** - * The name of the group. + * The name of the group. */ userGroups?: StringList; } + export interface LaunchTemplateConfiguration { + /** + * Identifies the EC2 launch template to use. + */ + launchTemplateId: LaunchTemplateId; + /** + * The account ID that this configuration applies to. + */ + accountId?: AccountId; + /** + * Set the specified EC2 launch template as the default launch template for the specified account. + */ + setDefaultVersion?: Boolean; + } + export type LaunchTemplateConfigurationList = LaunchTemplateConfiguration[]; + export type LaunchTemplateId = string; export type LicenseConfigurationArn = string; export type LicenseConfigurationArnList = LicenseConfigurationArn[]; export interface ListComponentBuildVersionsRequest { /** - * The component version Amazon Resource Name (ARN) whose versions you want to list. + * The component version Amazon Resource Name (ARN) whose versions you want to list. */ componentVersionArn: ComponentVersionArn; /** - * The maximum items to return in a request. + * The maximum items to return in a request. */ maxResults?: RestrictedInteger; /** - * A token to specify where to start paginating. This is the NextToken from a previously truncated response. + * A token to specify where to start paginating. This is the NextToken from a previously truncated response. */ nextToken?: PaginationToken; } export interface ListComponentBuildVersionsResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The list of component summaries for the specified semantic version. + * The list of component summaries for the specified semantic version. */ componentSummaryList?: ComponentSummaryList; /** - * The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects. + * The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects. */ nextToken?: PaginationToken; } 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. + * 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. */ owner?: Ownership; /** - * The filters. + * The filters. */ filters?: FilterList; /** @@ -2195,25 +2233,25 @@ declare namespace Imagebuilder { */ byName?: Boolean; /** - * The maximum items to return in a request. + * The maximum items to return in a request. */ maxResults?: RestrictedInteger; /** - * A token to specify where to start paginating. This is the NextToken from a previously truncated response. + * A token to specify where to start paginating. This is the NextToken from a previously truncated response. */ nextToken?: PaginationToken; } export interface ListComponentsResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The list of component semantic versions. + * The list of component semantic versions. */ componentVersionList?: ComponentVersionList; /** - * The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects. + * The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects. */ nextToken?: PaginationToken; } @@ -2251,61 +2289,61 @@ declare namespace Imagebuilder { } export interface ListDistributionConfigurationsRequest { /** - * The filters. name - The name of this distribution configuration. + * The filters. name - The name of this distribution configuration. */ filters?: FilterList; /** - * The maximum items to return in a request. + * The maximum items to return in a request. */ maxResults?: RestrictedInteger; /** - * A token to specify where to start paginating. This is the NextToken from a previously truncated response. + * A token to specify where to start paginating. This is the NextToken from a previously truncated response. */ nextToken?: PaginationToken; } export interface ListDistributionConfigurationsResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The list of distributions. + * The list of distributions. */ distributionConfigurationSummaryList?: DistributionConfigurationSummaryList; /** - * The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects. + * The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects. */ nextToken?: PaginationToken; } export interface ListImageBuildVersionsRequest { /** - * The Amazon Resource Name (ARN) of the image whose build versions you want to retrieve. + * The Amazon Resource Name (ARN) of the image whose build versions you want to retrieve. */ imageVersionArn: ImageVersionArn; /** - * The filters. + * The filters. */ filters?: FilterList; /** - * The maximum items to return in a request. + * The maximum items to return in a request. */ maxResults?: RestrictedInteger; /** - * A token to specify where to start paginating. This is the NextToken from a previously truncated response. + * A token to specify where to start paginating. This is the NextToken from a previously truncated response. */ nextToken?: PaginationToken; } export interface ListImageBuildVersionsResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The list of image build versions. + * The list of image build versions. */ imageSummaryList?: ImageSummaryList; /** - * The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects. + * The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects. */ nextToken?: PaginationToken; } @@ -2339,103 +2377,103 @@ declare namespace Imagebuilder { } export interface ListImagePipelineImagesRequest { /** - * The Amazon Resource Name (ARN) of the image pipeline whose images you want to view. + * The Amazon Resource Name (ARN) of the image pipeline whose images you want to view. */ imagePipelineArn: ImagePipelineArn; /** - * The filters. + * The filters. */ filters?: FilterList; /** - * The maximum items to return in a request. + * The maximum items to return in a request. */ maxResults?: RestrictedInteger; /** - * A token to specify where to start paginating. This is the NextToken from a previously truncated response. + * A token to specify where to start paginating. This is the NextToken from a previously truncated response. */ nextToken?: PaginationToken; } export interface ListImagePipelineImagesResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The list of images built by this pipeline. + * The list of images built by this pipeline. */ imageSummaryList?: ImageSummaryList; /** - * The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects. + * The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects. */ nextToken?: PaginationToken; } export interface ListImagePipelinesRequest { /** - * The filters. + * The filters. */ filters?: FilterList; /** - * The maximum items to return in a request. + * The maximum items to return in a request. */ maxResults?: RestrictedInteger; /** - * A token to specify where to start paginating. This is the NextToken from a previously truncated response. + * A token to specify where to start paginating. This is the NextToken from a previously truncated response. */ nextToken?: PaginationToken; } export interface ListImagePipelinesResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The list of image pipelines. + * The list of image pipelines. */ imagePipelineList?: ImagePipelineList; /** - * The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects. + * The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects. */ nextToken?: PaginationToken; } export interface ListImageRecipesRequest { /** - * The owner defines which image recipes you want to list. By default, this request will only show image recipes owned by your account. You can use this field to specify if you want to view image recipes owned by yourself, by Amazon, or those image recipes that have been shared with you by other customers. + * The owner defines which image recipes you want to list. By default, this request will only show image recipes owned by your account. You can use this field to specify if you want to view image recipes owned by yourself, by Amazon, or those image recipes that have been shared with you by other customers. */ owner?: Ownership; /** - * The filters. + * The filters. */ filters?: FilterList; /** - * The maximum items to return in a request. + * The maximum items to return in a request. */ maxResults?: RestrictedInteger; /** - * A token to specify where to start paginating. This is the NextToken from a previously truncated response. + * A token to specify where to start paginating. This is the NextToken from a previously truncated response. */ nextToken?: PaginationToken; } export interface ListImageRecipesResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The list of image pipelines. + * The list of image pipelines. */ imageRecipeSummaryList?: ImageRecipeSummaryList; /** - * The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects. + * The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects. */ nextToken?: PaginationToken; } export interface ListImagesRequest { /** - * The owner defines which images you want to list. By default, this request will only show images owned by your account. You can use this field to specify if you want to view images owned by yourself, by Amazon, or those images that have been shared with you by other customers. + * The owner defines which images you want to list. By default, this request will only show images owned by your account. You can use this field to specify if you want to view images owned by yourself, by Amazon, or those images that have been shared with you by other customers. */ owner?: Ownership; /** - * The filters. + * The filters. */ filters?: FilterList; /** @@ -2443,11 +2481,11 @@ declare namespace Imagebuilder { */ byName?: Boolean; /** - * The maximum items to return in a request. + * The maximum items to return in a request. */ maxResults?: RestrictedInteger; /** - * A token to specify where to start paginating. This is the NextToken from a previously truncated response. + * A token to specify where to start paginating. This is the NextToken from a previously truncated response. */ nextToken?: PaginationToken; /** @@ -2457,39 +2495,39 @@ declare namespace Imagebuilder { } export interface ListImagesResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The list of image semantic versions. + * The list of image semantic versions. */ imageVersionList?: ImageVersionList; /** - * The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects. + * The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects. */ nextToken?: PaginationToken; } export interface ListInfrastructureConfigurationsRequest { /** - * The filters. + * The filters. */ filters?: FilterList; /** - * The maximum items to return in a request. + * The maximum items to return in a request. */ maxResults?: RestrictedInteger; /** - * A token to specify where to start paginating. This is the NextToken from a previously truncated response. + * A token to specify where to start paginating. This is the NextToken from a previously truncated response. */ nextToken?: PaginationToken; } export interface ListInfrastructureConfigurationsResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The list of infrastructure configurations. + * The list of infrastructure configurations. */ infrastructureConfigurationSummaryList?: InfrastructureConfigurationSummaryList; /** @@ -2499,13 +2537,13 @@ declare namespace Imagebuilder { } export interface ListTagsForResourceRequest { /** - * The Amazon Resource Name (ARN) of the resource whose tags you want to retrieve. + * The Amazon Resource Name (ARN) of the resource whose tags you want to retrieve. */ resourceArn: ImageBuilderArn; } export interface ListTagsForResourceResponse { /** - * The tags for the specified resource. + * The tags for the specified resource. */ tags?: TagMap; } @@ -2521,7 +2559,7 @@ declare namespace Imagebuilder { export type OsVersionList = OsVersion[]; export interface OutputResources { /** - * The EC2 AMIs created by this image. + * The EC2 AMIs created by this image. */ amis?: AmiList; /** @@ -2536,21 +2574,21 @@ declare namespace Imagebuilder { export type Platform = "Windows"|"Linux"|string; export interface PutComponentPolicyRequest { /** - * The Amazon Resource Name (ARN) of the component that this policy should be applied to. + * The Amazon Resource Name (ARN) of the component that this policy should be applied to. */ componentArn: ComponentBuildVersionArn; /** - * The policy to apply. + * The policy to apply. */ policy: ResourcePolicyDocument; } export interface PutComponentPolicyResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The Amazon Resource Name (ARN) of the component that this policy was applied to. + * The Amazon Resource Name (ARN) of the component that this policy was applied to. */ componentArn?: ComponentBuildVersionArn; } @@ -2576,41 +2614,41 @@ declare namespace Imagebuilder { } export interface PutImagePolicyRequest { /** - * The Amazon Resource Name (ARN) of the image that this policy should be applied to. + * The Amazon Resource Name (ARN) of the image that this policy should be applied to. */ imageArn: ImageBuildVersionArn; /** - * The policy to apply. + * The policy to apply. */ policy: ResourcePolicyDocument; } export interface PutImagePolicyResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The Amazon Resource Name (ARN) of the image that this policy was applied to. + * The Amazon Resource Name (ARN) of the image that this policy was applied to. */ imageArn?: ImageBuildVersionArn; } export interface PutImageRecipePolicyRequest { /** - * The Amazon Resource Name (ARN) of the image recipe that this policy should be applied to. + * The Amazon Resource Name (ARN) of the image recipe that this policy should be applied to. */ imageRecipeArn: ImageRecipeArn; /** - * The policy to apply. + * The policy to apply. */ policy: ResourcePolicyDocument; } export interface PutImageRecipePolicyResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The Amazon Resource Name (ARN) of the image recipe that this policy was applied to. + * The Amazon Resource Name (ARN) of the image recipe that this policy was applied to. */ imageRecipeArn?: ImageRecipeArn; } @@ -2647,17 +2685,17 @@ declare namespace Imagebuilder { export type SnsTopicArn = string; export interface StartImagePipelineExecutionRequest { /** - * The Amazon Resource Name (ARN) of the image pipeline that you want to manually invoke. + * The Amazon Resource Name (ARN) of the image pipeline that you want to manually invoke. */ imagePipelineArn: ImagePipelineArn; /** - * The idempotency token used to make this request idempotent. + * The idempotency token used to make this request idempotent. */ clientToken: ClientToken; } export interface StartImagePipelineExecutionResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** @@ -2675,11 +2713,11 @@ declare namespace Imagebuilder { export type TagMap = {[key: string]: TagValue}; export interface TagResourceRequest { /** - * The Amazon Resource Name (ARN) of the resource that you want to tag. + * The Amazon Resource Name (ARN) of the resource that you want to tag. */ resourceArn: ImageBuilderArn; /** - * The tags to apply to the resource. + * The tags to apply to the resource. */ tags: TagMap; } @@ -2699,11 +2737,11 @@ declare namespace Imagebuilder { export type Timezone = string; export interface UntagResourceRequest { /** - * The Amazon Resource Name (ARN) of the resource that you want to untag. + * The Amazon Resource Name (ARN) of the resource that you want to untag. */ resourceArn: ImageBuilderArn; /** - * The tag keys to remove from the resource. + * The tag keys to remove from the resource. */ tagKeys: TagKeyList; } @@ -2711,47 +2749,47 @@ declare namespace Imagebuilder { } export interface UpdateDistributionConfigurationRequest { /** - * The Amazon Resource Name (ARN) of the distribution configuration that you want to update. + * The Amazon Resource Name (ARN) of the distribution configuration that you want to update. */ distributionConfigurationArn: DistributionConfigurationArn; /** - * The description of the distribution configuration. + * The description of the distribution configuration. */ description?: NonEmptyString; /** - * The distributions of the distribution configuration. + * The distributions of the distribution configuration. */ distributions: DistributionList; /** - * The idempotency token of the distribution configuration. + * The idempotency token of the distribution configuration. */ clientToken: ClientToken; } export interface UpdateDistributionConfigurationResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The idempotency token used to make this request idempotent. + * The idempotency token used to make this request idempotent. */ clientToken?: ClientToken; /** - * The Amazon Resource Name (ARN) of the distribution configuration that was updated by this request. + * The Amazon Resource Name (ARN) of the distribution configuration that was updated by this request. */ distributionConfigurationArn?: DistributionConfigurationArn; } export interface UpdateImagePipelineRequest { /** - * The Amazon Resource Name (ARN) of the image pipeline that you want to update. + * The Amazon Resource Name (ARN) of the image pipeline that you want to update. */ imagePipelineArn: ImagePipelineArn; /** - * The description of the image pipeline. + * The description of the image pipeline. */ description?: NonEmptyString; /** - * The Amazon Resource Name (ARN) of the image recipe that will be used to configure images updated by this image pipeline. + * The Amazon Resource Name (ARN) of the image recipe that will be used to configure images updated by this image pipeline. */ imageRecipeArn?: ImageRecipeArn; /** @@ -2759,91 +2797,91 @@ declare namespace Imagebuilder { */ containerRecipeArn?: ContainerRecipeArn; /** - * The Amazon Resource Name (ARN) of the infrastructure configuration that will be used to build images updated by this image pipeline. + * The Amazon Resource Name (ARN) of the infrastructure configuration that will be used to build images updated by this image pipeline. */ infrastructureConfigurationArn: InfrastructureConfigurationArn; /** - * The Amazon Resource Name (ARN) of the distribution configuration that will be used to configure and distribute images updated by this image pipeline. + * The Amazon Resource Name (ARN) of the distribution configuration that will be used to configure and distribute images updated by this image pipeline. */ distributionConfigurationArn?: DistributionConfigurationArn; /** - * The image test configuration of the image pipeline. + * The image test configuration of the image pipeline. */ imageTestsConfiguration?: ImageTestsConfiguration; /** - * 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. + * 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. */ enhancedImageMetadataEnabled?: NullableBoolean; /** - * The schedule of the image pipeline. + * The schedule of the image pipeline. */ schedule?: Schedule; /** - * The status of the image pipeline. + * The status of the image pipeline. */ status?: PipelineStatus; /** - * The idempotency token used to make this request idempotent. + * The idempotency token used to make this request idempotent. */ clientToken: ClientToken; } export interface UpdateImagePipelineResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The idempotency token used to make this request idempotent. + * The idempotency token used to make this request idempotent. */ clientToken?: ClientToken; /** - * The Amazon Resource Name (ARN) of the image pipeline that was updated by this request. + * The Amazon Resource Name (ARN) of the image pipeline that was updated by this request. */ imagePipelineArn?: ImagePipelineArn; } export interface UpdateInfrastructureConfigurationRequest { /** - * The Amazon Resource Name (ARN) of the infrastructure configuration that you want to update. + * The Amazon Resource Name (ARN) of the infrastructure configuration that you want to update. */ infrastructureConfigurationArn: InfrastructureConfigurationArn; /** - * The description of the infrastructure configuration. + * The description of the infrastructure configuration. */ description?: NonEmptyString; /** - * The instance types of the infrastructure configuration. You can specify one or more instance types to use for this build. The service will pick one of these instance types based on availability. + * The instance types of the infrastructure configuration. You can specify one or more instance types to use for this build. The service will pick one of these instance types based on availability. */ instanceTypes?: InstanceTypeList; /** - * The instance profile to associate with the instance used to customize your EC2 AMI. + * The instance profile to associate with the instance used to customize your EC2 AMI. */ - instanceProfileName: NonEmptyString; + instanceProfileName: InstanceProfileNameType; /** - * The security group IDs to associate with the instance used to customize your EC2 AMI. + * The security group IDs to associate with the instance used to customize your EC2 AMI. */ securityGroupIds?: SecurityGroupIds; /** - * The subnet ID to place the instance used to customize your EC2 AMI in. + * The subnet ID to place the instance used to customize your EC2 AMI in. */ subnetId?: NonEmptyString; /** - * The logging configuration of the infrastructure configuration. + * The logging configuration of the infrastructure configuration. */ logging?: Logging; /** - * The key pair of the infrastructure configuration. This can be used to log on to and debug the instance used to create your image. + * The key pair of the infrastructure configuration. This can be used to log on to and debug the instance used to create your image. */ keyPair?: NonEmptyString; /** - * The terminate instance on failure setting of the infrastructure configuration. Set to false if you want Image Builder to retain the instance used to configure your AMI if the build or test phase of your workflow fails. + * The terminate instance on failure setting of the infrastructure configuration. Set to false if you want Image Builder to retain the instance used to configure your AMI if the build or test phase of your workflow fails. */ terminateInstanceOnFailure?: NullableBoolean; /** - * The SNS topic on which to send image build events. + * The SNS topic on which to send image build events. */ snsTopicArn?: SnsTopicArn; /** - * The idempotency token used to make this request idempotent. + * The idempotency token used to make this request idempotent. */ clientToken: ClientToken; /** @@ -2853,15 +2891,15 @@ declare namespace Imagebuilder { } export interface UpdateInfrastructureConfigurationResponse { /** - * The request ID that uniquely identifies this request. + * The request ID that uniquely identifies this request. */ requestId?: NonEmptyString; /** - * The idempotency token used to make this request idempotent. + * The idempotency token used to make this request idempotent. */ clientToken?: ClientToken; /** - * The Amazon Resource Name (ARN) of the infrastructure configuration that was updated by this request. + * The Amazon Resource Name (ARN) of the infrastructure configuration that was updated by this request. */ infrastructureConfigurationArn?: InfrastructureConfigurationArn; } diff --git a/clients/mediapackage.d.ts b/clients/mediapackage.d.ts index 5edcf067ef..de34cb0fcb 100644 --- a/clients/mediapackage.d.ts +++ b/clients/mediapackage.d.ts @@ -699,6 +699,16 @@ If not specified, there will be no time delay in effect for the OriginEndpoint. */ LogGroupName?: __string; } + export interface EncryptionContractConfiguration { + /** + * A collection of audio encryption presets. + */ + PresetSpeke20Audio: PresetSpeke20Audio; + /** + * A collection of video encryption presets. + */ + PresetSpeke20Video: PresetSpeke20Video; + } export type EncryptionMethod = "AES_128"|"SAMPLE_AES"|string; export interface HarvestJob { /** @@ -1115,6 +1125,8 @@ If not specified, there will be no time delay in effect for the OriginEndpoint. } export type Origination = "ALLOW"|"DENY"|string; export type PlaylistType = "NONE"|"EVENT"|"VOD"|string; + export type PresetSpeke20Audio = "PRESET-AUDIO-1"|string; + export type PresetSpeke20Video = "PRESET-VIDEO-1"|string; export type Profile = "NONE"|"HBBTV_1_5"|string; export interface RotateChannelCredentialsRequest { /** @@ -1194,6 +1206,7 @@ transfer with the key provider service. */ CertificateArn?: __string; + EncryptionContractConfiguration?: EncryptionContractConfiguration; /** * The resource ID to include in key requests. */ diff --git a/dist/aws-sdk-core-react-native.js b/dist/aws-sdk-core-react-native.js index 7de32de588..c7e2a0ccf9 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.878.0', + VERSION: '2.879.0', /** * @api private diff --git a/dist/aws-sdk-react-native.js b/dist/aws-sdk-react-native.js index 5897ae7dc4..417f3e0c92 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.878.0', + VERSION: '2.879.0', /** * @api private @@ -48528,7 +48528,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 534 */ /***/ (function(module, exports) { - module.exports = {"metadata":{"apiVersion":"2017-10-12","endpointPrefix":"mediapackage","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"MediaPackage","serviceFullName":"AWS Elemental MediaPackage","serviceId":"MediaPackage","signatureVersion":"v4","signingName":"mediapackage","uid":"mediapackage-2017-10-12"},"operations":{"ConfigureLogs":{"http":{"method":"PUT","requestUri":"/channels/{id}/configure_logs","responseCode":200},"input":{"members":{"EgressAccessLogs":{"locationName":"egressAccessLogs","shape":"S2"},"Id":{"location":"uri","locationName":"id"},"IngressAccessLogs":{"locationName":"ingressAccessLogs","shape":"S4"}},"required":["Id"],"type":"structure"},"output":{"members":{"Arn":{"locationName":"arn"},"Description":{"locationName":"description"},"EgressAccessLogs":{"locationName":"egressAccessLogs","shape":"S2"},"HlsIngest":{"locationName":"hlsIngest","shape":"S6"},"Id":{"locationName":"id"},"IngressAccessLogs":{"locationName":"ingressAccessLogs","shape":"S4"},"Tags":{"locationName":"tags","shape":"S9"}},"type":"structure"}},"CreateChannel":{"http":{"requestUri":"/channels","responseCode":200},"input":{"members":{"Description":{"locationName":"description"},"Id":{"locationName":"id"},"Tags":{"locationName":"tags","shape":"S9"}},"required":["Id"],"type":"structure"},"output":{"members":{"Arn":{"locationName":"arn"},"Description":{"locationName":"description"},"EgressAccessLogs":{"locationName":"egressAccessLogs","shape":"S2"},"HlsIngest":{"locationName":"hlsIngest","shape":"S6"},"Id":{"locationName":"id"},"IngressAccessLogs":{"locationName":"ingressAccessLogs","shape":"S4"},"Tags":{"locationName":"tags","shape":"S9"}},"type":"structure"}},"CreateHarvestJob":{"http":{"requestUri":"/harvest_jobs","responseCode":200},"input":{"members":{"EndTime":{"locationName":"endTime"},"Id":{"locationName":"id"},"OriginEndpointId":{"locationName":"originEndpointId"},"S3Destination":{"locationName":"s3Destination","shape":"Sd"},"StartTime":{"locationName":"startTime"}},"required":["S3Destination","EndTime","OriginEndpointId","StartTime","Id"],"type":"structure"},"output":{"members":{"Arn":{"locationName":"arn"},"ChannelId":{"locationName":"channelId"},"CreatedAt":{"locationName":"createdAt"},"EndTime":{"locationName":"endTime"},"Id":{"locationName":"id"},"OriginEndpointId":{"locationName":"originEndpointId"},"S3Destination":{"locationName":"s3Destination","shape":"Sd"},"StartTime":{"locationName":"startTime"},"Status":{"locationName":"status"}},"type":"structure"}},"CreateOriginEndpoint":{"http":{"requestUri":"/origin_endpoints","responseCode":200},"input":{"members":{"Authorization":{"locationName":"authorization","shape":"Sh"},"ChannelId":{"locationName":"channelId"},"CmafPackage":{"locationName":"cmafPackage","shape":"Si"},"DashPackage":{"locationName":"dashPackage","shape":"Sx"},"Description":{"locationName":"description"},"HlsPackage":{"locationName":"hlsPackage","shape":"S15"},"Id":{"locationName":"id"},"ManifestName":{"locationName":"manifestName"},"MssPackage":{"locationName":"mssPackage","shape":"S18"},"Origination":{"locationName":"origination"},"StartoverWindowSeconds":{"locationName":"startoverWindowSeconds","type":"integer"},"Tags":{"locationName":"tags","shape":"S9"},"TimeDelaySeconds":{"locationName":"timeDelaySeconds","type":"integer"},"Whitelist":{"locationName":"whitelist","shape":"Sm"}},"required":["ChannelId","Id"],"type":"structure"},"output":{"members":{"Arn":{"locationName":"arn"},"Authorization":{"locationName":"authorization","shape":"Sh"},"ChannelId":{"locationName":"channelId"},"CmafPackage":{"locationName":"cmafPackage","shape":"S1c"},"DashPackage":{"locationName":"dashPackage","shape":"Sx"},"Description":{"locationName":"description"},"HlsPackage":{"locationName":"hlsPackage","shape":"S15"},"Id":{"locationName":"id"},"ManifestName":{"locationName":"manifestName"},"MssPackage":{"locationName":"mssPackage","shape":"S18"},"Origination":{"locationName":"origination"},"StartoverWindowSeconds":{"locationName":"startoverWindowSeconds","type":"integer"},"Tags":{"locationName":"tags","shape":"S9"},"TimeDelaySeconds":{"locationName":"timeDelaySeconds","type":"integer"},"Url":{"locationName":"url"},"Whitelist":{"locationName":"whitelist","shape":"Sm"}},"type":"structure"}},"DeleteChannel":{"http":{"method":"DELETE","requestUri":"/channels/{id}","responseCode":202},"input":{"members":{"Id":{"location":"uri","locationName":"id"}},"required":["Id"],"type":"structure"},"output":{"members":{},"type":"structure"}},"DeleteOriginEndpoint":{"http":{"method":"DELETE","requestUri":"/origin_endpoints/{id}","responseCode":202},"input":{"members":{"Id":{"location":"uri","locationName":"id"}},"required":["Id"],"type":"structure"},"output":{"members":{},"type":"structure"}},"DescribeChannel":{"http":{"method":"GET","requestUri":"/channels/{id}","responseCode":200},"input":{"members":{"Id":{"location":"uri","locationName":"id"}},"required":["Id"],"type":"structure"},"output":{"members":{"Arn":{"locationName":"arn"},"Description":{"locationName":"description"},"EgressAccessLogs":{"locationName":"egressAccessLogs","shape":"S2"},"HlsIngest":{"locationName":"hlsIngest","shape":"S6"},"Id":{"locationName":"id"},"IngressAccessLogs":{"locationName":"ingressAccessLogs","shape":"S4"},"Tags":{"locationName":"tags","shape":"S9"}},"type":"structure"}},"DescribeHarvestJob":{"http":{"method":"GET","requestUri":"/harvest_jobs/{id}","responseCode":200},"input":{"members":{"Id":{"location":"uri","locationName":"id"}},"required":["Id"],"type":"structure"},"output":{"members":{"Arn":{"locationName":"arn"},"ChannelId":{"locationName":"channelId"},"CreatedAt":{"locationName":"createdAt"},"EndTime":{"locationName":"endTime"},"Id":{"locationName":"id"},"OriginEndpointId":{"locationName":"originEndpointId"},"S3Destination":{"locationName":"s3Destination","shape":"Sd"},"StartTime":{"locationName":"startTime"},"Status":{"locationName":"status"}},"type":"structure"}},"DescribeOriginEndpoint":{"http":{"method":"GET","requestUri":"/origin_endpoints/{id}","responseCode":200},"input":{"members":{"Id":{"location":"uri","locationName":"id"}},"required":["Id"],"type":"structure"},"output":{"members":{"Arn":{"locationName":"arn"},"Authorization":{"locationName":"authorization","shape":"Sh"},"ChannelId":{"locationName":"channelId"},"CmafPackage":{"locationName":"cmafPackage","shape":"S1c"},"DashPackage":{"locationName":"dashPackage","shape":"Sx"},"Description":{"locationName":"description"},"HlsPackage":{"locationName":"hlsPackage","shape":"S15"},"Id":{"locationName":"id"},"ManifestName":{"locationName":"manifestName"},"MssPackage":{"locationName":"mssPackage","shape":"S18"},"Origination":{"locationName":"origination"},"StartoverWindowSeconds":{"locationName":"startoverWindowSeconds","type":"integer"},"Tags":{"locationName":"tags","shape":"S9"},"TimeDelaySeconds":{"locationName":"timeDelaySeconds","type":"integer"},"Url":{"locationName":"url"},"Whitelist":{"locationName":"whitelist","shape":"Sm"}},"type":"structure"}},"ListChannels":{"http":{"method":"GET","requestUri":"/channels","responseCode":200},"input":{"members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}},"type":"structure"},"output":{"members":{"Channels":{"locationName":"channels","member":{"members":{"Arn":{"locationName":"arn"},"Description":{"locationName":"description"},"EgressAccessLogs":{"locationName":"egressAccessLogs","shape":"S2"},"HlsIngest":{"locationName":"hlsIngest","shape":"S6"},"Id":{"locationName":"id"},"IngressAccessLogs":{"locationName":"ingressAccessLogs","shape":"S4"},"Tags":{"locationName":"tags","shape":"S9"}},"type":"structure"},"type":"list"},"NextToken":{"locationName":"nextToken"}},"type":"structure"}},"ListHarvestJobs":{"http":{"method":"GET","requestUri":"/harvest_jobs","responseCode":200},"input":{"members":{"IncludeChannelId":{"location":"querystring","locationName":"includeChannelId"},"IncludeStatus":{"location":"querystring","locationName":"includeStatus"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}},"type":"structure"},"output":{"members":{"HarvestJobs":{"locationName":"harvestJobs","member":{"members":{"Arn":{"locationName":"arn"},"ChannelId":{"locationName":"channelId"},"CreatedAt":{"locationName":"createdAt"},"EndTime":{"locationName":"endTime"},"Id":{"locationName":"id"},"OriginEndpointId":{"locationName":"originEndpointId"},"S3Destination":{"locationName":"s3Destination","shape":"Sd"},"StartTime":{"locationName":"startTime"},"Status":{"locationName":"status"}},"type":"structure"},"type":"list"},"NextToken":{"locationName":"nextToken"}},"type":"structure"}},"ListOriginEndpoints":{"http":{"method":"GET","requestUri":"/origin_endpoints","responseCode":200},"input":{"members":{"ChannelId":{"location":"querystring","locationName":"channelId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}},"type":"structure"},"output":{"members":{"NextToken":{"locationName":"nextToken"},"OriginEndpoints":{"locationName":"originEndpoints","member":{"members":{"Arn":{"locationName":"arn"},"Authorization":{"locationName":"authorization","shape":"Sh"},"ChannelId":{"locationName":"channelId"},"CmafPackage":{"locationName":"cmafPackage","shape":"S1c"},"DashPackage":{"locationName":"dashPackage","shape":"Sx"},"Description":{"locationName":"description"},"HlsPackage":{"locationName":"hlsPackage","shape":"S15"},"Id":{"locationName":"id"},"ManifestName":{"locationName":"manifestName"},"MssPackage":{"locationName":"mssPackage","shape":"S18"},"Origination":{"locationName":"origination"},"StartoverWindowSeconds":{"locationName":"startoverWindowSeconds","type":"integer"},"Tags":{"locationName":"tags","shape":"S9"},"TimeDelaySeconds":{"locationName":"timeDelaySeconds","type":"integer"},"Url":{"locationName":"url"},"Whitelist":{"locationName":"whitelist","shape":"Sm"}},"type":"structure"},"type":"list"}},"type":"structure"}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resource-arn}","responseCode":200},"input":{"members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"}},"required":["ResourceArn"],"type":"structure"},"output":{"members":{"Tags":{"locationName":"tags","shape":"S24"}},"type":"structure"}},"RotateChannelCredentials":{"deprecated":true,"deprecatedMessage":"This API is deprecated. Please use RotateIngestEndpointCredentials instead","http":{"method":"PUT","requestUri":"/channels/{id}/credentials","responseCode":200},"input":{"deprecated":true,"members":{"Id":{"location":"uri","locationName":"id"}},"required":["Id"],"type":"structure"},"output":{"deprecated":true,"members":{"Arn":{"locationName":"arn"},"Description":{"locationName":"description"},"EgressAccessLogs":{"locationName":"egressAccessLogs","shape":"S2"},"HlsIngest":{"locationName":"hlsIngest","shape":"S6"},"Id":{"locationName":"id"},"IngressAccessLogs":{"locationName":"ingressAccessLogs","shape":"S4"},"Tags":{"locationName":"tags","shape":"S9"}},"type":"structure"}},"RotateIngestEndpointCredentials":{"http":{"method":"PUT","requestUri":"/channels/{id}/ingest_endpoints/{ingest_endpoint_id}/credentials","responseCode":200},"input":{"members":{"Id":{"location":"uri","locationName":"id"},"IngestEndpointId":{"location":"uri","locationName":"ingest_endpoint_id"}},"required":["IngestEndpointId","Id"],"type":"structure"},"output":{"members":{"Arn":{"locationName":"arn"},"Description":{"locationName":"description"},"EgressAccessLogs":{"locationName":"egressAccessLogs","shape":"S2"},"HlsIngest":{"locationName":"hlsIngest","shape":"S6"},"Id":{"locationName":"id"},"IngressAccessLogs":{"locationName":"ingressAccessLogs","shape":"S4"},"Tags":{"locationName":"tags","shape":"S9"}},"type":"structure"}},"TagResource":{"http":{"requestUri":"/tags/{resource-arn}","responseCode":204},"input":{"members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"},"Tags":{"locationName":"tags","shape":"S24"}},"required":["ResourceArn","Tags"],"type":"structure"}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resource-arn}","responseCode":204},"input":{"members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"},"TagKeys":{"location":"querystring","locationName":"tagKeys","shape":"Sm"}},"required":["TagKeys","ResourceArn"],"type":"structure"}},"UpdateChannel":{"http":{"method":"PUT","requestUri":"/channels/{id}","responseCode":200},"input":{"members":{"Description":{"locationName":"description"},"Id":{"location":"uri","locationName":"id"}},"required":["Id"],"type":"structure"},"output":{"members":{"Arn":{"locationName":"arn"},"Description":{"locationName":"description"},"EgressAccessLogs":{"locationName":"egressAccessLogs","shape":"S2"},"HlsIngest":{"locationName":"hlsIngest","shape":"S6"},"Id":{"locationName":"id"},"IngressAccessLogs":{"locationName":"ingressAccessLogs","shape":"S4"},"Tags":{"locationName":"tags","shape":"S9"}},"type":"structure"}},"UpdateOriginEndpoint":{"http":{"method":"PUT","requestUri":"/origin_endpoints/{id}","responseCode":200},"input":{"members":{"Authorization":{"locationName":"authorization","shape":"Sh"},"CmafPackage":{"locationName":"cmafPackage","shape":"Si"},"DashPackage":{"locationName":"dashPackage","shape":"Sx"},"Description":{"locationName":"description"},"HlsPackage":{"locationName":"hlsPackage","shape":"S15"},"Id":{"location":"uri","locationName":"id"},"ManifestName":{"locationName":"manifestName"},"MssPackage":{"locationName":"mssPackage","shape":"S18"},"Origination":{"locationName":"origination"},"StartoverWindowSeconds":{"locationName":"startoverWindowSeconds","type":"integer"},"TimeDelaySeconds":{"locationName":"timeDelaySeconds","type":"integer"},"Whitelist":{"locationName":"whitelist","shape":"Sm"}},"required":["Id"],"type":"structure"},"output":{"members":{"Arn":{"locationName":"arn"},"Authorization":{"locationName":"authorization","shape":"Sh"},"ChannelId":{"locationName":"channelId"},"CmafPackage":{"locationName":"cmafPackage","shape":"S1c"},"DashPackage":{"locationName":"dashPackage","shape":"Sx"},"Description":{"locationName":"description"},"HlsPackage":{"locationName":"hlsPackage","shape":"S15"},"Id":{"locationName":"id"},"ManifestName":{"locationName":"manifestName"},"MssPackage":{"locationName":"mssPackage","shape":"S18"},"Origination":{"locationName":"origination"},"StartoverWindowSeconds":{"locationName":"startoverWindowSeconds","type":"integer"},"Tags":{"locationName":"tags","shape":"S9"},"TimeDelaySeconds":{"locationName":"timeDelaySeconds","type":"integer"},"Url":{"locationName":"url"},"Whitelist":{"locationName":"whitelist","shape":"Sm"}},"type":"structure"}}},"shapes":{"S2":{"members":{"LogGroupName":{"locationName":"logGroupName"}},"type":"structure"},"S4":{"members":{"LogGroupName":{"locationName":"logGroupName"}},"type":"structure"},"S6":{"members":{"IngestEndpoints":{"locationName":"ingestEndpoints","member":{"members":{"Id":{"locationName":"id"},"Password":{"locationName":"password"},"Url":{"locationName":"url"},"Username":{"locationName":"username"}},"type":"structure"},"type":"list"}},"type":"structure"},"S9":{"key":{},"type":"map","value":{}},"Sd":{"members":{"BucketName":{"locationName":"bucketName"},"ManifestKey":{"locationName":"manifestKey"},"RoleArn":{"locationName":"roleArn"}},"required":["ManifestKey","BucketName","RoleArn"],"type":"structure"},"Sh":{"members":{"CdnIdentifierSecret":{"locationName":"cdnIdentifierSecret"},"SecretsRoleArn":{"locationName":"secretsRoleArn"}},"required":["SecretsRoleArn","CdnIdentifierSecret"],"type":"structure"},"Si":{"members":{"Encryption":{"locationName":"encryption","shape":"Sj"},"HlsManifests":{"locationName":"hlsManifests","member":{"members":{"AdMarkers":{"locationName":"adMarkers"},"AdTriggers":{"locationName":"adTriggers","shape":"Sq"},"AdsOnDeliveryRestrictions":{"locationName":"adsOnDeliveryRestrictions"},"Id":{"locationName":"id"},"IncludeIframeOnlyStream":{"locationName":"includeIframeOnlyStream","type":"boolean"},"ManifestName":{"locationName":"manifestName"},"PlaylistType":{"locationName":"playlistType"},"PlaylistWindowSeconds":{"locationName":"playlistWindowSeconds","type":"integer"},"ProgramDateTimeIntervalSeconds":{"locationName":"programDateTimeIntervalSeconds","type":"integer"}},"required":["Id"],"type":"structure"},"type":"list"},"SegmentDurationSeconds":{"locationName":"segmentDurationSeconds","type":"integer"},"SegmentPrefix":{"locationName":"segmentPrefix"},"StreamSelection":{"locationName":"streamSelection","shape":"Sv"}},"type":"structure"},"Sj":{"members":{"KeyRotationIntervalSeconds":{"locationName":"keyRotationIntervalSeconds","type":"integer"},"SpekeKeyProvider":{"locationName":"spekeKeyProvider","shape":"Sl"}},"required":["SpekeKeyProvider"],"type":"structure"},"Sl":{"members":{"CertificateArn":{"locationName":"certificateArn"},"ResourceId":{"locationName":"resourceId"},"RoleArn":{"locationName":"roleArn"},"SystemIds":{"locationName":"systemIds","shape":"Sm"},"Url":{"locationName":"url"}},"required":["ResourceId","SystemIds","Url","RoleArn"],"type":"structure"},"Sm":{"member":{},"type":"list"},"Sq":{"member":{},"type":"list"},"Sv":{"members":{"MaxVideoBitsPerSecond":{"locationName":"maxVideoBitsPerSecond","type":"integer"},"MinVideoBitsPerSecond":{"locationName":"minVideoBitsPerSecond","type":"integer"},"StreamOrder":{"locationName":"streamOrder"}},"type":"structure"},"Sx":{"members":{"AdTriggers":{"locationName":"adTriggers","shape":"Sq"},"AdsOnDeliveryRestrictions":{"locationName":"adsOnDeliveryRestrictions"},"Encryption":{"locationName":"encryption","members":{"KeyRotationIntervalSeconds":{"locationName":"keyRotationIntervalSeconds","type":"integer"},"SpekeKeyProvider":{"locationName":"spekeKeyProvider","shape":"Sl"}},"required":["SpekeKeyProvider"],"type":"structure"},"ManifestLayout":{"locationName":"manifestLayout"},"ManifestWindowSeconds":{"locationName":"manifestWindowSeconds","type":"integer"},"MinBufferTimeSeconds":{"locationName":"minBufferTimeSeconds","type":"integer"},"MinUpdatePeriodSeconds":{"locationName":"minUpdatePeriodSeconds","type":"integer"},"PeriodTriggers":{"locationName":"periodTriggers","member":{},"type":"list"},"Profile":{"locationName":"profile"},"SegmentDurationSeconds":{"locationName":"segmentDurationSeconds","type":"integer"},"SegmentTemplateFormat":{"locationName":"segmentTemplateFormat"},"StreamSelection":{"locationName":"streamSelection","shape":"Sv"},"SuggestedPresentationDelaySeconds":{"locationName":"suggestedPresentationDelaySeconds","type":"integer"},"UtcTiming":{"locationName":"utcTiming"},"UtcTimingUri":{"locationName":"utcTimingUri"}},"type":"structure"},"S15":{"members":{"AdMarkers":{"locationName":"adMarkers"},"AdTriggers":{"locationName":"adTriggers","shape":"Sq"},"AdsOnDeliveryRestrictions":{"locationName":"adsOnDeliveryRestrictions"},"Encryption":{"locationName":"encryption","members":{"ConstantInitializationVector":{"locationName":"constantInitializationVector"},"EncryptionMethod":{"locationName":"encryptionMethod"},"KeyRotationIntervalSeconds":{"locationName":"keyRotationIntervalSeconds","type":"integer"},"RepeatExtXKey":{"locationName":"repeatExtXKey","type":"boolean"},"SpekeKeyProvider":{"locationName":"spekeKeyProvider","shape":"Sl"}},"required":["SpekeKeyProvider"],"type":"structure"},"IncludeIframeOnlyStream":{"locationName":"includeIframeOnlyStream","type":"boolean"},"PlaylistType":{"locationName":"playlistType"},"PlaylistWindowSeconds":{"locationName":"playlistWindowSeconds","type":"integer"},"ProgramDateTimeIntervalSeconds":{"locationName":"programDateTimeIntervalSeconds","type":"integer"},"SegmentDurationSeconds":{"locationName":"segmentDurationSeconds","type":"integer"},"StreamSelection":{"locationName":"streamSelection","shape":"Sv"},"UseAudioRenditionGroup":{"locationName":"useAudioRenditionGroup","type":"boolean"}},"type":"structure"},"S18":{"members":{"Encryption":{"locationName":"encryption","members":{"SpekeKeyProvider":{"locationName":"spekeKeyProvider","shape":"Sl"}},"required":["SpekeKeyProvider"],"type":"structure"},"ManifestWindowSeconds":{"locationName":"manifestWindowSeconds","type":"integer"},"SegmentDurationSeconds":{"locationName":"segmentDurationSeconds","type":"integer"},"StreamSelection":{"locationName":"streamSelection","shape":"Sv"}},"type":"structure"},"S1c":{"members":{"Encryption":{"locationName":"encryption","shape":"Sj"},"HlsManifests":{"locationName":"hlsManifests","member":{"members":{"AdMarkers":{"locationName":"adMarkers"},"Id":{"locationName":"id"},"IncludeIframeOnlyStream":{"locationName":"includeIframeOnlyStream","type":"boolean"},"ManifestName":{"locationName":"manifestName"},"PlaylistType":{"locationName":"playlistType"},"PlaylistWindowSeconds":{"locationName":"playlistWindowSeconds","type":"integer"},"ProgramDateTimeIntervalSeconds":{"locationName":"programDateTimeIntervalSeconds","type":"integer"},"Url":{"locationName":"url"}},"required":["Id"],"type":"structure"},"type":"list"},"SegmentDurationSeconds":{"locationName":"segmentDurationSeconds","type":"integer"},"SegmentPrefix":{"locationName":"segmentPrefix"},"StreamSelection":{"locationName":"streamSelection","shape":"Sv"}},"type":"structure"},"S24":{"key":{},"type":"map","value":{}}}} + module.exports = {"metadata":{"apiVersion":"2017-10-12","endpointPrefix":"mediapackage","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"MediaPackage","serviceFullName":"AWS Elemental MediaPackage","serviceId":"MediaPackage","signatureVersion":"v4","signingName":"mediapackage","uid":"mediapackage-2017-10-12"},"operations":{"ConfigureLogs":{"http":{"method":"PUT","requestUri":"/channels/{id}/configure_logs","responseCode":200},"input":{"members":{"EgressAccessLogs":{"locationName":"egressAccessLogs","shape":"S2"},"Id":{"location":"uri","locationName":"id"},"IngressAccessLogs":{"locationName":"ingressAccessLogs","shape":"S4"}},"required":["Id"],"type":"structure"},"output":{"members":{"Arn":{"locationName":"arn"},"Description":{"locationName":"description"},"EgressAccessLogs":{"locationName":"egressAccessLogs","shape":"S2"},"HlsIngest":{"locationName":"hlsIngest","shape":"S6"},"Id":{"locationName":"id"},"IngressAccessLogs":{"locationName":"ingressAccessLogs","shape":"S4"},"Tags":{"locationName":"tags","shape":"S9"}},"type":"structure"}},"CreateChannel":{"http":{"requestUri":"/channels","responseCode":200},"input":{"members":{"Description":{"locationName":"description"},"Id":{"locationName":"id"},"Tags":{"locationName":"tags","shape":"S9"}},"required":["Id"],"type":"structure"},"output":{"members":{"Arn":{"locationName":"arn"},"Description":{"locationName":"description"},"EgressAccessLogs":{"locationName":"egressAccessLogs","shape":"S2"},"HlsIngest":{"locationName":"hlsIngest","shape":"S6"},"Id":{"locationName":"id"},"IngressAccessLogs":{"locationName":"ingressAccessLogs","shape":"S4"},"Tags":{"locationName":"tags","shape":"S9"}},"type":"structure"}},"CreateHarvestJob":{"http":{"requestUri":"/harvest_jobs","responseCode":200},"input":{"members":{"EndTime":{"locationName":"endTime"},"Id":{"locationName":"id"},"OriginEndpointId":{"locationName":"originEndpointId"},"S3Destination":{"locationName":"s3Destination","shape":"Sd"},"StartTime":{"locationName":"startTime"}},"required":["S3Destination","EndTime","OriginEndpointId","StartTime","Id"],"type":"structure"},"output":{"members":{"Arn":{"locationName":"arn"},"ChannelId":{"locationName":"channelId"},"CreatedAt":{"locationName":"createdAt"},"EndTime":{"locationName":"endTime"},"Id":{"locationName":"id"},"OriginEndpointId":{"locationName":"originEndpointId"},"S3Destination":{"locationName":"s3Destination","shape":"Sd"},"StartTime":{"locationName":"startTime"},"Status":{"locationName":"status"}},"type":"structure"}},"CreateOriginEndpoint":{"http":{"requestUri":"/origin_endpoints","responseCode":200},"input":{"members":{"Authorization":{"locationName":"authorization","shape":"Sh"},"ChannelId":{"locationName":"channelId"},"CmafPackage":{"locationName":"cmafPackage","shape":"Si"},"DashPackage":{"locationName":"dashPackage","shape":"S10"},"Description":{"locationName":"description"},"HlsPackage":{"locationName":"hlsPackage","shape":"S18"},"Id":{"locationName":"id"},"ManifestName":{"locationName":"manifestName"},"MssPackage":{"locationName":"mssPackage","shape":"S1b"},"Origination":{"locationName":"origination"},"StartoverWindowSeconds":{"locationName":"startoverWindowSeconds","type":"integer"},"Tags":{"locationName":"tags","shape":"S9"},"TimeDelaySeconds":{"locationName":"timeDelaySeconds","type":"integer"},"Whitelist":{"locationName":"whitelist","shape":"Sp"}},"required":["ChannelId","Id"],"type":"structure"},"output":{"members":{"Arn":{"locationName":"arn"},"Authorization":{"locationName":"authorization","shape":"Sh"},"ChannelId":{"locationName":"channelId"},"CmafPackage":{"locationName":"cmafPackage","shape":"S1f"},"DashPackage":{"locationName":"dashPackage","shape":"S10"},"Description":{"locationName":"description"},"HlsPackage":{"locationName":"hlsPackage","shape":"S18"},"Id":{"locationName":"id"},"ManifestName":{"locationName":"manifestName"},"MssPackage":{"locationName":"mssPackage","shape":"S1b"},"Origination":{"locationName":"origination"},"StartoverWindowSeconds":{"locationName":"startoverWindowSeconds","type":"integer"},"Tags":{"locationName":"tags","shape":"S9"},"TimeDelaySeconds":{"locationName":"timeDelaySeconds","type":"integer"},"Url":{"locationName":"url"},"Whitelist":{"locationName":"whitelist","shape":"Sp"}},"type":"structure"}},"DeleteChannel":{"http":{"method":"DELETE","requestUri":"/channels/{id}","responseCode":202},"input":{"members":{"Id":{"location":"uri","locationName":"id"}},"required":["Id"],"type":"structure"},"output":{"members":{},"type":"structure"}},"DeleteOriginEndpoint":{"http":{"method":"DELETE","requestUri":"/origin_endpoints/{id}","responseCode":202},"input":{"members":{"Id":{"location":"uri","locationName":"id"}},"required":["Id"],"type":"structure"},"output":{"members":{},"type":"structure"}},"DescribeChannel":{"http":{"method":"GET","requestUri":"/channels/{id}","responseCode":200},"input":{"members":{"Id":{"location":"uri","locationName":"id"}},"required":["Id"],"type":"structure"},"output":{"members":{"Arn":{"locationName":"arn"},"Description":{"locationName":"description"},"EgressAccessLogs":{"locationName":"egressAccessLogs","shape":"S2"},"HlsIngest":{"locationName":"hlsIngest","shape":"S6"},"Id":{"locationName":"id"},"IngressAccessLogs":{"locationName":"ingressAccessLogs","shape":"S4"},"Tags":{"locationName":"tags","shape":"S9"}},"type":"structure"}},"DescribeHarvestJob":{"http":{"method":"GET","requestUri":"/harvest_jobs/{id}","responseCode":200},"input":{"members":{"Id":{"location":"uri","locationName":"id"}},"required":["Id"],"type":"structure"},"output":{"members":{"Arn":{"locationName":"arn"},"ChannelId":{"locationName":"channelId"},"CreatedAt":{"locationName":"createdAt"},"EndTime":{"locationName":"endTime"},"Id":{"locationName":"id"},"OriginEndpointId":{"locationName":"originEndpointId"},"S3Destination":{"locationName":"s3Destination","shape":"Sd"},"StartTime":{"locationName":"startTime"},"Status":{"locationName":"status"}},"type":"structure"}},"DescribeOriginEndpoint":{"http":{"method":"GET","requestUri":"/origin_endpoints/{id}","responseCode":200},"input":{"members":{"Id":{"location":"uri","locationName":"id"}},"required":["Id"],"type":"structure"},"output":{"members":{"Arn":{"locationName":"arn"},"Authorization":{"locationName":"authorization","shape":"Sh"},"ChannelId":{"locationName":"channelId"},"CmafPackage":{"locationName":"cmafPackage","shape":"S1f"},"DashPackage":{"locationName":"dashPackage","shape":"S10"},"Description":{"locationName":"description"},"HlsPackage":{"locationName":"hlsPackage","shape":"S18"},"Id":{"locationName":"id"},"ManifestName":{"locationName":"manifestName"},"MssPackage":{"locationName":"mssPackage","shape":"S1b"},"Origination":{"locationName":"origination"},"StartoverWindowSeconds":{"locationName":"startoverWindowSeconds","type":"integer"},"Tags":{"locationName":"tags","shape":"S9"},"TimeDelaySeconds":{"locationName":"timeDelaySeconds","type":"integer"},"Url":{"locationName":"url"},"Whitelist":{"locationName":"whitelist","shape":"Sp"}},"type":"structure"}},"ListChannels":{"http":{"method":"GET","requestUri":"/channels","responseCode":200},"input":{"members":{"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}},"type":"structure"},"output":{"members":{"Channels":{"locationName":"channels","member":{"members":{"Arn":{"locationName":"arn"},"Description":{"locationName":"description"},"EgressAccessLogs":{"locationName":"egressAccessLogs","shape":"S2"},"HlsIngest":{"locationName":"hlsIngest","shape":"S6"},"Id":{"locationName":"id"},"IngressAccessLogs":{"locationName":"ingressAccessLogs","shape":"S4"},"Tags":{"locationName":"tags","shape":"S9"}},"type":"structure"},"type":"list"},"NextToken":{"locationName":"nextToken"}},"type":"structure"}},"ListHarvestJobs":{"http":{"method":"GET","requestUri":"/harvest_jobs","responseCode":200},"input":{"members":{"IncludeChannelId":{"location":"querystring","locationName":"includeChannelId"},"IncludeStatus":{"location":"querystring","locationName":"includeStatus"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}},"type":"structure"},"output":{"members":{"HarvestJobs":{"locationName":"harvestJobs","member":{"members":{"Arn":{"locationName":"arn"},"ChannelId":{"locationName":"channelId"},"CreatedAt":{"locationName":"createdAt"},"EndTime":{"locationName":"endTime"},"Id":{"locationName":"id"},"OriginEndpointId":{"locationName":"originEndpointId"},"S3Destination":{"locationName":"s3Destination","shape":"Sd"},"StartTime":{"locationName":"startTime"},"Status":{"locationName":"status"}},"type":"structure"},"type":"list"},"NextToken":{"locationName":"nextToken"}},"type":"structure"}},"ListOriginEndpoints":{"http":{"method":"GET","requestUri":"/origin_endpoints","responseCode":200},"input":{"members":{"ChannelId":{"location":"querystring","locationName":"channelId"},"MaxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"NextToken":{"location":"querystring","locationName":"nextToken"}},"type":"structure"},"output":{"members":{"NextToken":{"locationName":"nextToken"},"OriginEndpoints":{"locationName":"originEndpoints","member":{"members":{"Arn":{"locationName":"arn"},"Authorization":{"locationName":"authorization","shape":"Sh"},"ChannelId":{"locationName":"channelId"},"CmafPackage":{"locationName":"cmafPackage","shape":"S1f"},"DashPackage":{"locationName":"dashPackage","shape":"S10"},"Description":{"locationName":"description"},"HlsPackage":{"locationName":"hlsPackage","shape":"S18"},"Id":{"locationName":"id"},"ManifestName":{"locationName":"manifestName"},"MssPackage":{"locationName":"mssPackage","shape":"S1b"},"Origination":{"locationName":"origination"},"StartoverWindowSeconds":{"locationName":"startoverWindowSeconds","type":"integer"},"Tags":{"locationName":"tags","shape":"S9"},"TimeDelaySeconds":{"locationName":"timeDelaySeconds","type":"integer"},"Url":{"locationName":"url"},"Whitelist":{"locationName":"whitelist","shape":"Sp"}},"type":"structure"},"type":"list"}},"type":"structure"}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resource-arn}","responseCode":200},"input":{"members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"}},"required":["ResourceArn"],"type":"structure"},"output":{"members":{"Tags":{"locationName":"tags","shape":"S27"}},"type":"structure"}},"RotateChannelCredentials":{"deprecated":true,"deprecatedMessage":"This API is deprecated. Please use RotateIngestEndpointCredentials instead","http":{"method":"PUT","requestUri":"/channels/{id}/credentials","responseCode":200},"input":{"deprecated":true,"members":{"Id":{"location":"uri","locationName":"id"}},"required":["Id"],"type":"structure"},"output":{"deprecated":true,"members":{"Arn":{"locationName":"arn"},"Description":{"locationName":"description"},"EgressAccessLogs":{"locationName":"egressAccessLogs","shape":"S2"},"HlsIngest":{"locationName":"hlsIngest","shape":"S6"},"Id":{"locationName":"id"},"IngressAccessLogs":{"locationName":"ingressAccessLogs","shape":"S4"},"Tags":{"locationName":"tags","shape":"S9"}},"type":"structure"}},"RotateIngestEndpointCredentials":{"http":{"method":"PUT","requestUri":"/channels/{id}/ingest_endpoints/{ingest_endpoint_id}/credentials","responseCode":200},"input":{"members":{"Id":{"location":"uri","locationName":"id"},"IngestEndpointId":{"location":"uri","locationName":"ingest_endpoint_id"}},"required":["IngestEndpointId","Id"],"type":"structure"},"output":{"members":{"Arn":{"locationName":"arn"},"Description":{"locationName":"description"},"EgressAccessLogs":{"locationName":"egressAccessLogs","shape":"S2"},"HlsIngest":{"locationName":"hlsIngest","shape":"S6"},"Id":{"locationName":"id"},"IngressAccessLogs":{"locationName":"ingressAccessLogs","shape":"S4"},"Tags":{"locationName":"tags","shape":"S9"}},"type":"structure"}},"TagResource":{"http":{"requestUri":"/tags/{resource-arn}","responseCode":204},"input":{"members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"},"Tags":{"locationName":"tags","shape":"S27"}},"required":["ResourceArn","Tags"],"type":"structure"}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resource-arn}","responseCode":204},"input":{"members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"},"TagKeys":{"location":"querystring","locationName":"tagKeys","shape":"Sp"}},"required":["TagKeys","ResourceArn"],"type":"structure"}},"UpdateChannel":{"http":{"method":"PUT","requestUri":"/channels/{id}","responseCode":200},"input":{"members":{"Description":{"locationName":"description"},"Id":{"location":"uri","locationName":"id"}},"required":["Id"],"type":"structure"},"output":{"members":{"Arn":{"locationName":"arn"},"Description":{"locationName":"description"},"EgressAccessLogs":{"locationName":"egressAccessLogs","shape":"S2"},"HlsIngest":{"locationName":"hlsIngest","shape":"S6"},"Id":{"locationName":"id"},"IngressAccessLogs":{"locationName":"ingressAccessLogs","shape":"S4"},"Tags":{"locationName":"tags","shape":"S9"}},"type":"structure"}},"UpdateOriginEndpoint":{"http":{"method":"PUT","requestUri":"/origin_endpoints/{id}","responseCode":200},"input":{"members":{"Authorization":{"locationName":"authorization","shape":"Sh"},"CmafPackage":{"locationName":"cmafPackage","shape":"Si"},"DashPackage":{"locationName":"dashPackage","shape":"S10"},"Description":{"locationName":"description"},"HlsPackage":{"locationName":"hlsPackage","shape":"S18"},"Id":{"location":"uri","locationName":"id"},"ManifestName":{"locationName":"manifestName"},"MssPackage":{"locationName":"mssPackage","shape":"S1b"},"Origination":{"locationName":"origination"},"StartoverWindowSeconds":{"locationName":"startoverWindowSeconds","type":"integer"},"TimeDelaySeconds":{"locationName":"timeDelaySeconds","type":"integer"},"Whitelist":{"locationName":"whitelist","shape":"Sp"}},"required":["Id"],"type":"structure"},"output":{"members":{"Arn":{"locationName":"arn"},"Authorization":{"locationName":"authorization","shape":"Sh"},"ChannelId":{"locationName":"channelId"},"CmafPackage":{"locationName":"cmafPackage","shape":"S1f"},"DashPackage":{"locationName":"dashPackage","shape":"S10"},"Description":{"locationName":"description"},"HlsPackage":{"locationName":"hlsPackage","shape":"S18"},"Id":{"locationName":"id"},"ManifestName":{"locationName":"manifestName"},"MssPackage":{"locationName":"mssPackage","shape":"S1b"},"Origination":{"locationName":"origination"},"StartoverWindowSeconds":{"locationName":"startoverWindowSeconds","type":"integer"},"Tags":{"locationName":"tags","shape":"S9"},"TimeDelaySeconds":{"locationName":"timeDelaySeconds","type":"integer"},"Url":{"locationName":"url"},"Whitelist":{"locationName":"whitelist","shape":"Sp"}},"type":"structure"}}},"shapes":{"S2":{"members":{"LogGroupName":{"locationName":"logGroupName"}},"type":"structure"},"S4":{"members":{"LogGroupName":{"locationName":"logGroupName"}},"type":"structure"},"S6":{"members":{"IngestEndpoints":{"locationName":"ingestEndpoints","member":{"members":{"Id":{"locationName":"id"},"Password":{"locationName":"password"},"Url":{"locationName":"url"},"Username":{"locationName":"username"}},"type":"structure"},"type":"list"}},"type":"structure"},"S9":{"key":{},"type":"map","value":{}},"Sd":{"members":{"BucketName":{"locationName":"bucketName"},"ManifestKey":{"locationName":"manifestKey"},"RoleArn":{"locationName":"roleArn"}},"required":["ManifestKey","BucketName","RoleArn"],"type":"structure"},"Sh":{"members":{"CdnIdentifierSecret":{"locationName":"cdnIdentifierSecret"},"SecretsRoleArn":{"locationName":"secretsRoleArn"}},"required":["SecretsRoleArn","CdnIdentifierSecret"],"type":"structure"},"Si":{"members":{"Encryption":{"locationName":"encryption","shape":"Sj"},"HlsManifests":{"locationName":"hlsManifests","member":{"members":{"AdMarkers":{"locationName":"adMarkers"},"AdTriggers":{"locationName":"adTriggers","shape":"St"},"AdsOnDeliveryRestrictions":{"locationName":"adsOnDeliveryRestrictions"},"Id":{"locationName":"id"},"IncludeIframeOnlyStream":{"locationName":"includeIframeOnlyStream","type":"boolean"},"ManifestName":{"locationName":"manifestName"},"PlaylistType":{"locationName":"playlistType"},"PlaylistWindowSeconds":{"locationName":"playlistWindowSeconds","type":"integer"},"ProgramDateTimeIntervalSeconds":{"locationName":"programDateTimeIntervalSeconds","type":"integer"}},"required":["Id"],"type":"structure"},"type":"list"},"SegmentDurationSeconds":{"locationName":"segmentDurationSeconds","type":"integer"},"SegmentPrefix":{"locationName":"segmentPrefix"},"StreamSelection":{"locationName":"streamSelection","shape":"Sy"}},"type":"structure"},"Sj":{"members":{"KeyRotationIntervalSeconds":{"locationName":"keyRotationIntervalSeconds","type":"integer"},"SpekeKeyProvider":{"locationName":"spekeKeyProvider","shape":"Sl"}},"required":["SpekeKeyProvider"],"type":"structure"},"Sl":{"members":{"CertificateArn":{"locationName":"certificateArn"},"EncryptionContractConfiguration":{"locationName":"encryptionContractConfiguration","members":{"PresetSpeke20Audio":{"locationName":"presetSpeke20Audio"},"PresetSpeke20Video":{"locationName":"presetSpeke20Video"}},"required":["PresetSpeke20Audio","PresetSpeke20Video"],"type":"structure"},"ResourceId":{"locationName":"resourceId"},"RoleArn":{"locationName":"roleArn"},"SystemIds":{"locationName":"systemIds","shape":"Sp"},"Url":{"locationName":"url"}},"required":["ResourceId","SystemIds","Url","RoleArn"],"type":"structure"},"Sp":{"member":{},"type":"list"},"St":{"member":{},"type":"list"},"Sy":{"members":{"MaxVideoBitsPerSecond":{"locationName":"maxVideoBitsPerSecond","type":"integer"},"MinVideoBitsPerSecond":{"locationName":"minVideoBitsPerSecond","type":"integer"},"StreamOrder":{"locationName":"streamOrder"}},"type":"structure"},"S10":{"members":{"AdTriggers":{"locationName":"adTriggers","shape":"St"},"AdsOnDeliveryRestrictions":{"locationName":"adsOnDeliveryRestrictions"},"Encryption":{"locationName":"encryption","members":{"KeyRotationIntervalSeconds":{"locationName":"keyRotationIntervalSeconds","type":"integer"},"SpekeKeyProvider":{"locationName":"spekeKeyProvider","shape":"Sl"}},"required":["SpekeKeyProvider"],"type":"structure"},"ManifestLayout":{"locationName":"manifestLayout"},"ManifestWindowSeconds":{"locationName":"manifestWindowSeconds","type":"integer"},"MinBufferTimeSeconds":{"locationName":"minBufferTimeSeconds","type":"integer"},"MinUpdatePeriodSeconds":{"locationName":"minUpdatePeriodSeconds","type":"integer"},"PeriodTriggers":{"locationName":"periodTriggers","member":{},"type":"list"},"Profile":{"locationName":"profile"},"SegmentDurationSeconds":{"locationName":"segmentDurationSeconds","type":"integer"},"SegmentTemplateFormat":{"locationName":"segmentTemplateFormat"},"StreamSelection":{"locationName":"streamSelection","shape":"Sy"},"SuggestedPresentationDelaySeconds":{"locationName":"suggestedPresentationDelaySeconds","type":"integer"},"UtcTiming":{"locationName":"utcTiming"},"UtcTimingUri":{"locationName":"utcTimingUri"}},"type":"structure"},"S18":{"members":{"AdMarkers":{"locationName":"adMarkers"},"AdTriggers":{"locationName":"adTriggers","shape":"St"},"AdsOnDeliveryRestrictions":{"locationName":"adsOnDeliveryRestrictions"},"Encryption":{"locationName":"encryption","members":{"ConstantInitializationVector":{"locationName":"constantInitializationVector"},"EncryptionMethod":{"locationName":"encryptionMethod"},"KeyRotationIntervalSeconds":{"locationName":"keyRotationIntervalSeconds","type":"integer"},"RepeatExtXKey":{"locationName":"repeatExtXKey","type":"boolean"},"SpekeKeyProvider":{"locationName":"spekeKeyProvider","shape":"Sl"}},"required":["SpekeKeyProvider"],"type":"structure"},"IncludeIframeOnlyStream":{"locationName":"includeIframeOnlyStream","type":"boolean"},"PlaylistType":{"locationName":"playlistType"},"PlaylistWindowSeconds":{"locationName":"playlistWindowSeconds","type":"integer"},"ProgramDateTimeIntervalSeconds":{"locationName":"programDateTimeIntervalSeconds","type":"integer"},"SegmentDurationSeconds":{"locationName":"segmentDurationSeconds","type":"integer"},"StreamSelection":{"locationName":"streamSelection","shape":"Sy"},"UseAudioRenditionGroup":{"locationName":"useAudioRenditionGroup","type":"boolean"}},"type":"structure"},"S1b":{"members":{"Encryption":{"locationName":"encryption","members":{"SpekeKeyProvider":{"locationName":"spekeKeyProvider","shape":"Sl"}},"required":["SpekeKeyProvider"],"type":"structure"},"ManifestWindowSeconds":{"locationName":"manifestWindowSeconds","type":"integer"},"SegmentDurationSeconds":{"locationName":"segmentDurationSeconds","type":"integer"},"StreamSelection":{"locationName":"streamSelection","shape":"Sy"}},"type":"structure"},"S1f":{"members":{"Encryption":{"locationName":"encryption","shape":"Sj"},"HlsManifests":{"locationName":"hlsManifests","member":{"members":{"AdMarkers":{"locationName":"adMarkers"},"Id":{"locationName":"id"},"IncludeIframeOnlyStream":{"locationName":"includeIframeOnlyStream","type":"boolean"},"ManifestName":{"locationName":"manifestName"},"PlaylistType":{"locationName":"playlistType"},"PlaylistWindowSeconds":{"locationName":"playlistWindowSeconds","type":"integer"},"ProgramDateTimeIntervalSeconds":{"locationName":"programDateTimeIntervalSeconds","type":"integer"},"Url":{"locationName":"url"}},"required":["Id"],"type":"structure"},"type":"list"},"SegmentDurationSeconds":{"locationName":"segmentDurationSeconds","type":"integer"},"SegmentPrefix":{"locationName":"segmentPrefix"},"StreamSelection":{"locationName":"streamSelection","shape":"Sy"}},"type":"structure"},"S27":{"key":{},"type":"map","value":{}}}} /***/ }), /* 535 */ @@ -52051,7 +52051,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 825 */ /***/ (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","dockerfileTemplateData","parentImage","targetRepository","clientToken"],"members":{"containerType":{},"name":{},"description":{},"semanticVersion":{},"components":{"shape":"Sl"},"dockerfileTemplateData":{},"dockerfileTemplateUri":{},"platformOverride":{},"imageOsVersionOverride":{},"parentImage":{},"tags":{"shape":"Se"},"workingDirectory":{},"targetRepository":{"shape":"Sp"},"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":"Su"},"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":"S1a"},"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":"S1a"},"enhancedImageMetadataEnabled":{"type":"boolean"},"schedule":{"shape":"S1f"},"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":"S1m"},"tags":{"shape":"Se"},"workingDirectory":{},"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":"S1v"},"instanceProfileName":{},"securityGroupIds":{"shape":"S1x"},"subnetId":{},"logging":{"shape":"S1y"},"keyPair":{},"terminateInstanceOnFailure":{"type":"boolean"},"snsTopicArn":{},"resourceTags":{"shape":"S21"},"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"},"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":"S2t"}}}},"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":"S2z"}}}},"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":"S36"},"imageRecipe":{"shape":"S38"},"containerRecipe":{"shape":"S2t"},"sourcePipelineName":{},"sourcePipelineArn":{},"infrastructureConfiguration":{"shape":"S3a"},"distributionConfiguration":{"shape":"S2z"},"imageTestsConfiguration":{"shape":"S1a"},"dateCreated":{},"outputResources":{"shape":"S3c"},"tags":{"shape":"Se"}}}}}},"GetImagePipeline":{"http":{"method":"GET","requestUri":"/GetImagePipeline"},"input":{"type":"structure","required":["imagePipelineArn"],"members":{"imagePipelineArn":{"location":"querystring","locationName":"imagePipelineArn"}}},"output":{"type":"structure","members":{"requestId":{},"imagePipeline":{"shape":"S3j"}}}},"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":"S38"}}}},"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":"S3a"}}}},"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":{}}}},"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"},"type":{},"owner":{},"description":{},"changeDescription":{},"dateCreated":{},"tags":{"shape":"Se"}}}},"nextToken":{}}}},"ListComponents":{"http":{"requestUri":"/ListComponents"},"input":{"type":"structure","members":{"owner":{},"filters":{"shape":"S44"},"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":"S44"},"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":"S44"},"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":"S44"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"imageSummaryList":{"shape":"S4p"},"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":"S44"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"imageSummaryList":{"shape":"S4p"},"nextToken":{}}}},"ListImagePipelines":{"http":{"requestUri":"/ListImagePipelines"},"input":{"type":"structure","members":{"filters":{"shape":"S44"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"imagePipelineList":{"type":"list","member":{"shape":"S3j"}},"nextToken":{}}}},"ListImageRecipes":{"http":{"requestUri":"/ListImageRecipes"},"input":{"type":"structure","members":{"owner":{},"filters":{"shape":"S44"},"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":"S44"},"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":{}}}},"nextToken":{}}}},"ListInfrastructureConfigurations":{"http":{"requestUri":"/ListInfrastructureConfigurations"},"input":{"type":"structure","members":{"filters":{"shape":"S44"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"infrastructureConfigurationSummaryList":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"description":{},"dateCreated":{},"dateUpdated":{},"resourceTags":{"shape":"S21"},"tags":{"shape":"Se"},"instanceTypes":{"shape":"S1v"},"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":"Su"},"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":"S1a"},"enhancedImageMetadataEnabled":{"type":"boolean"},"schedule":{"shape":"S1f"},"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":"S1v"},"instanceProfileName":{},"securityGroupIds":{"shape":"S1x"},"subnetId":{},"logging":{"shape":"S1y"},"keyPair":{},"terminateInstanceOnFailure":{"type":"boolean"},"snsTopicArn":{},"clientToken":{"idempotencyToken":true},"resourceTags":{"shape":"S21"}}},"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":{}}}},"Sp":{"type":"structure","required":["service","repositoryName"],"members":{"service":{},"repositoryName":{}}},"Su":{"type":"list","member":{"type":"structure","required":["region"],"members":{"region":{},"amiDistributionConfiguration":{"type":"structure","members":{"name":{},"description":{},"targetAccountIds":{"shape":"Sy"},"amiTags":{"shape":"Se"},"kmsKeyId":{},"launchPermission":{"type":"structure","members":{"userIds":{"shape":"Sy"},"userGroups":{"shape":"S11"}}}}},"containerDistributionConfiguration":{"type":"structure","required":["targetRepository"],"members":{"description":{},"containerTags":{"shape":"S11"},"targetRepository":{"shape":"Sp"}}},"licenseConfigurationArns":{"type":"list","member":{}}}}},"Sy":{"type":"list","member":{}},"S11":{"type":"list","member":{}},"S1a":{"type":"structure","members":{"imageTestsEnabled":{"type":"boolean"},"timeoutMinutes":{"type":"integer"}}},"S1f":{"type":"structure","members":{"scheduleExpression":{},"timezone":{},"pipelineExecutionStartCondition":{}}},"S1m":{"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":{}}},"virtualName":{},"noDevice":{}}}},"S1v":{"type":"list","member":{}},"S1x":{"type":"list","member":{}},"S1y":{"type":"structure","members":{"s3Logs":{"type":"structure","members":{"s3BucketName":{},"s3KeyPrefix":{}}}}},"S21":{"type":"map","key":{},"value":{}},"S2t":{"type":"structure","members":{"arn":{},"containerType":{},"name":{},"description":{},"platform":{},"owner":{},"version":{},"components":{"shape":"Sl"},"dockerfileTemplateData":{},"kmsKeyId":{},"encrypted":{"type":"boolean"},"parentImage":{},"dateCreated":{},"tags":{"shape":"Se"},"workingDirectory":{},"targetRepository":{"shape":"Sp"}}},"S2z":{"type":"structure","required":["timeoutMinutes"],"members":{"arn":{},"name":{},"description":{},"distributions":{"shape":"Su"},"timeoutMinutes":{"type":"integer"},"dateCreated":{},"dateUpdated":{},"tags":{"shape":"Se"}}},"S36":{"type":"structure","members":{"status":{},"reason":{}}},"S38":{"type":"structure","members":{"arn":{},"type":{},"name":{},"description":{},"platform":{},"owner":{},"version":{},"components":{"shape":"Sl"},"parentImage":{},"blockDeviceMappings":{"shape":"S1m"},"dateCreated":{},"tags":{"shape":"Se"},"workingDirectory":{}}},"S3a":{"type":"structure","members":{"arn":{},"name":{},"description":{},"instanceTypes":{"shape":"S1v"},"instanceProfileName":{},"securityGroupIds":{"shape":"S1x"},"subnetId":{},"logging":{"shape":"S1y"},"keyPair":{},"terminateInstanceOnFailure":{"type":"boolean"},"snsTopicArn":{},"dateCreated":{},"dateUpdated":{},"resourceTags":{"shape":"S21"},"tags":{"shape":"Se"}}},"S3c":{"type":"structure","members":{"amis":{"type":"list","member":{"type":"structure","members":{"region":{},"image":{},"name":{},"description":{},"state":{"shape":"S36"},"accountId":{}}}},"containers":{"type":"list","member":{"type":"structure","members":{"region":{},"imageUris":{"shape":"S11"}}}}}},"S3j":{"type":"structure","members":{"arn":{},"name":{},"description":{},"platform":{},"enhancedImageMetadataEnabled":{"type":"boolean"},"imageRecipeArn":{},"containerRecipeArn":{},"infrastructureConfigurationArn":{},"distributionConfigurationArn":{},"imageTestsConfiguration":{"shape":"S1a"},"schedule":{"shape":"S1f"},"status":{},"dateCreated":{},"dateUpdated":{},"dateLastRun":{},"dateNextRun":{},"tags":{"shape":"Se"}}},"S44":{"type":"list","member":{"type":"structure","members":{"name":{},"values":{"type":"list","member":{}}}}},"S4p":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"type":{},"version":{},"platform":{},"osVersion":{},"state":{"shape":"S36"},"owner":{},"dateCreated":{},"outputResources":{"shape":"S3c"},"tags":{"shape":"Se"}}}}}} + 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":"So"},"dockerfileTemplateData":{},"dockerfileTemplateUri":{},"platformOverride":{},"imageOsVersionOverride":{},"parentImage":{},"tags":{"shape":"Se"},"workingDirectory":{},"targetRepository":{"shape":"Sy"},"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":"S13"},"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":"S1n"},"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":"S1n"},"enhancedImageMetadataEnabled":{"type":"boolean"},"schedule":{"shape":"S1r"},"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":"Sp"},"tags":{"shape":"Se"},"workingDirectory":{},"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":"S20"},"instanceProfileName":{},"securityGroupIds":{"shape":"S23"},"subnetId":{},"logging":{"shape":"S24"},"keyPair":{},"terminateInstanceOnFailure":{"type":"boolean"},"snsTopicArn":{},"resourceTags":{"shape":"S27"},"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"},"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":"S2z"}}}},"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":"S35"}}}},"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":"S3c"},"imageRecipe":{"shape":"S3e"},"containerRecipe":{"shape":"S2z"},"sourcePipelineName":{},"sourcePipelineArn":{},"infrastructureConfiguration":{"shape":"S3g"},"distributionConfiguration":{"shape":"S35"},"imageTestsConfiguration":{"shape":"S1n"},"dateCreated":{},"outputResources":{"shape":"S3h"},"tags":{"shape":"Se"}}}}}},"GetImagePipeline":{"http":{"method":"GET","requestUri":"/GetImagePipeline"},"input":{"type":"structure","required":["imagePipelineArn"],"members":{"imagePipelineArn":{"location":"querystring","locationName":"imagePipelineArn"}}},"output":{"type":"structure","members":{"requestId":{},"imagePipeline":{"shape":"S3o"}}}},"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":"S3e"}}}},"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":"S3g"}}}},"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":{}}}},"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"},"type":{},"owner":{},"description":{},"changeDescription":{},"dateCreated":{},"tags":{"shape":"Se"}}}},"nextToken":{}}}},"ListComponents":{"http":{"requestUri":"/ListComponents"},"input":{"type":"structure","members":{"owner":{},"filters":{"shape":"S49"},"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":"S49"},"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":"S49"},"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":"S49"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"imageSummaryList":{"shape":"S4t"},"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":"S49"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"imageSummaryList":{"shape":"S4t"},"nextToken":{}}}},"ListImagePipelines":{"http":{"requestUri":"/ListImagePipelines"},"input":{"type":"structure","members":{"filters":{"shape":"S49"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"imagePipelineList":{"type":"list","member":{"shape":"S3o"}},"nextToken":{}}}},"ListImageRecipes":{"http":{"requestUri":"/ListImageRecipes"},"input":{"type":"structure","members":{"owner":{},"filters":{"shape":"S49"},"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":"S49"},"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":{}}}},"nextToken":{}}}},"ListInfrastructureConfigurations":{"http":{"requestUri":"/ListInfrastructureConfigurations"},"input":{"type":"structure","members":{"filters":{"shape":"S49"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"infrastructureConfigurationSummaryList":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"description":{},"dateCreated":{},"dateUpdated":{},"resourceTags":{"shape":"S27"},"tags":{"shape":"Se"},"instanceTypes":{"shape":"S20"},"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":"S13"},"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":"S1n"},"enhancedImageMetadataEnabled":{"type":"boolean"},"schedule":{"shape":"S1r"},"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":"S20"},"instanceProfileName":{},"securityGroupIds":{"shape":"S23"},"subnetId":{},"logging":{"shape":"S24"},"keyPair":{},"terminateInstanceOnFailure":{"type":"boolean"},"snsTopicArn":{},"clientToken":{"idempotencyToken":true},"resourceTags":{"shape":"S27"}}},"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":{}}}},"So":{"type":"structure","members":{"image":{},"blockDeviceMappings":{"shape":"Sp"}}},"Sp":{"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":{}}},"virtualName":{},"noDevice":{}}}},"Sy":{"type":"structure","required":["service","repositoryName"],"members":{"service":{},"repositoryName":{}}},"S13":{"type":"list","member":{"type":"structure","required":["region"],"members":{"region":{},"amiDistributionConfiguration":{"type":"structure","members":{"name":{},"description":{},"targetAccountIds":{"shape":"S17"},"amiTags":{"shape":"Se"},"kmsKeyId":{},"launchPermission":{"type":"structure","members":{"userIds":{"shape":"S17"},"userGroups":{"shape":"S1a"}}}}},"containerDistributionConfiguration":{"type":"structure","required":["targetRepository"],"members":{"description":{},"containerTags":{"shape":"S1a"},"targetRepository":{"shape":"Sy"}}},"licenseConfigurationArns":{"type":"list","member":{}},"launchTemplateConfigurations":{"type":"list","member":{"type":"structure","required":["launchTemplateId"],"members":{"launchTemplateId":{},"accountId":{},"setDefaultVersion":{"type":"boolean"}}}}}}},"S17":{"type":"list","member":{}},"S1a":{"type":"list","member":{}},"S1n":{"type":"structure","members":{"imageTestsEnabled":{"type":"boolean"},"timeoutMinutes":{"type":"integer"}}},"S1r":{"type":"structure","members":{"scheduleExpression":{},"timezone":{},"pipelineExecutionStartCondition":{}}},"S20":{"type":"list","member":{}},"S23":{"type":"list","member":{}},"S24":{"type":"structure","members":{"s3Logs":{"type":"structure","members":{"s3BucketName":{},"s3KeyPrefix":{}}}}},"S27":{"type":"map","key":{},"value":{}},"S2z":{"type":"structure","members":{"arn":{},"containerType":{},"name":{},"description":{},"platform":{},"owner":{},"version":{},"components":{"shape":"Sl"},"instanceConfiguration":{"shape":"So"},"dockerfileTemplateData":{},"kmsKeyId":{},"encrypted":{"type":"boolean"},"parentImage":{},"dateCreated":{},"tags":{"shape":"Se"},"workingDirectory":{},"targetRepository":{"shape":"Sy"}}},"S35":{"type":"structure","required":["timeoutMinutes"],"members":{"arn":{},"name":{},"description":{},"distributions":{"shape":"S13"},"timeoutMinutes":{"type":"integer"},"dateCreated":{},"dateUpdated":{},"tags":{"shape":"Se"}}},"S3c":{"type":"structure","members":{"status":{},"reason":{}}},"S3e":{"type":"structure","members":{"arn":{},"type":{},"name":{},"description":{},"platform":{},"owner":{},"version":{},"components":{"shape":"Sl"},"parentImage":{},"blockDeviceMappings":{"shape":"Sp"},"dateCreated":{},"tags":{"shape":"Se"},"workingDirectory":{}}},"S3g":{"type":"structure","members":{"arn":{},"name":{},"description":{},"instanceTypes":{"shape":"S20"},"instanceProfileName":{},"securityGroupIds":{"shape":"S23"},"subnetId":{},"logging":{"shape":"S24"},"keyPair":{},"terminateInstanceOnFailure":{"type":"boolean"},"snsTopicArn":{},"dateCreated":{},"dateUpdated":{},"resourceTags":{"shape":"S27"},"tags":{"shape":"Se"}}},"S3h":{"type":"structure","members":{"amis":{"type":"list","member":{"type":"structure","members":{"region":{},"image":{},"name":{},"description":{},"state":{"shape":"S3c"},"accountId":{}}}},"containers":{"type":"list","member":{"type":"structure","members":{"region":{},"imageUris":{"shape":"S1a"}}}}}},"S3o":{"type":"structure","members":{"arn":{},"name":{},"description":{},"platform":{},"enhancedImageMetadataEnabled":{"type":"boolean"},"imageRecipeArn":{},"containerRecipeArn":{},"infrastructureConfigurationArn":{},"distributionConfigurationArn":{},"imageTestsConfiguration":{"shape":"S1n"},"schedule":{"shape":"S1r"},"status":{},"dateCreated":{},"dateUpdated":{},"dateLastRun":{},"dateNextRun":{},"tags":{"shape":"Se"}}},"S49":{"type":"list","member":{"type":"structure","members":{"name":{},"values":{"type":"list","member":{}}}}},"S4t":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"type":{},"version":{},"platform":{},"osVersion":{},"state":{"shape":"S3c"},"owner":{},"dateCreated":{},"outputResources":{"shape":"S3h"},"tags":{"shape":"Se"}}}}}} /***/ }), /* 826 */ diff --git a/dist/aws-sdk.js b/dist/aws-sdk.js index d3e652312d..e2eb44c3a3 100644 --- a/dist/aws-sdk.js +++ b/dist/aws-sdk.js @@ -1,4 +1,4 @@ -// AWS SDK for JavaScript v2.878.0 +// AWS SDK for JavaScript v2.879.0 // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i-1});var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]","[object DataView]"];t.exports={isEmptyData:i,convertToBuffer:a}},{"buffer/":417}],325:[function(e,t,r){function i(e,t){this.hash=new e,this.outer=new e;var r=a(e,t),i=new Uint8Array(e.BLOCK_SIZE);i.set(r);for(var s=0;se.BLOCK_SIZE){var i=new e;i.update(r),r=i.digest()}var a=new Uint8Array(e.BLOCK_SIZE);return a.set(r),a}var s=e("./browserHashUtils");t.exports=i,i.prototype.update=function(e){if(s.isEmptyData(e)||this.error)return this;try{this.hash.update(s.convertToBuffer(e))}catch(e){this.error=e}return this},i.prototype.digest=function(e){return this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest(e)}},{"./browserHashUtils":324}],326:[function(e,t,r){function i(){this.state=[1732584193,4023233417,2562383102,271733878],this.buffer=new DataView(new ArrayBuffer(c)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}function a(e,t,r,i,a,s){return((t=(t+e&4294967295)+(i+s&4294967295)&4294967295)<>>32-a)+r&4294967295}function s(e,t,r,i,s,o,n){return a(t&r|~t&i,e,t,s,o,n)}function o(e,t,r,i,s,o,n){return a(t&i|r&~i,e,t,s,o,n)}function n(e,t,r,i,s,o,n){return a(t^r^i,e,t,s,o,n)}function u(e,t,r,i,s,o,n){return a(r^(t|~i),e,t,s,o,n)}var p=e("./browserHashUtils"),m=e("buffer/").Buffer,c=64;t.exports=i,i.BLOCK_SIZE=c,i.prototype.update=function(e){if(p.isEmptyData(e))return this;if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=p.convertToBuffer(e),r=0,i=t.byteLength;for(this.bytesHashed+=i;i>0;)this.buffer.setUint8(this.bufferLength++,t[r++]),i--,this.bufferLength===c&&(this.hashBuffer(),this.bufferLength=0);return this},i.prototype.digest=function(e){if(!this.finished){var t=this,r=t.buffer,i=t.bufferLength,a=t.bytesHashed,s=8*a;if(r.setUint8(this.bufferLength++,128),i%c>=c-8){for(var o=this.bufferLength;o>>0,!0),r.setUint32(c-4,Math.floor(s/4294967296),!0),this.hashBuffer(),this.finished=!0}for(var n=new DataView(new ArrayBuffer(16)),o=0;o<4;o++)n.setUint32(4*o,this.state[o],!0);var u=new m(n.buffer,n.byteOffset,n.byteLength);return e?u.toString(e):u},i.prototype.hashBuffer=function(){var e=this,t=e.buffer,r=e.state,i=r[0],a=r[1],p=r[2],m=r[3];i=s(i,a,p,m,t.getUint32(0,!0),7,3614090360),m=s(m,i,a,p,t.getUint32(4,!0),12,3905402710),p=s(p,m,i,a,t.getUint32(8,!0),17,606105819),a=s(a,p,m,i,t.getUint32(12,!0),22,3250441966),i=s(i,a,p,m,t.getUint32(16,!0),7,4118548399),m=s(m,i,a,p,t.getUint32(20,!0),12,1200080426),p=s(p,m,i,a,t.getUint32(24,!0),17,2821735955),a=s(a,p,m,i,t.getUint32(28,!0),22,4249261313),i=s(i,a,p,m,t.getUint32(32,!0),7,1770035416),m=s(m,i,a,p,t.getUint32(36,!0),12,2336552879),p=s(p,m,i,a,t.getUint32(40,!0),17,4294925233),a=s(a,p,m,i,t.getUint32(44,!0),22,2304563134),i=s(i,a,p,m,t.getUint32(48,!0),7,1804603682),m=s(m,i,a,p,t.getUint32(52,!0),12,4254626195),p=s(p,m,i,a,t.getUint32(56,!0),17,2792965006),a=s(a,p,m,i,t.getUint32(60,!0),22,1236535329),i=o(i,a,p,m,t.getUint32(4,!0),5,4129170786),m=o(m,i,a,p,t.getUint32(24,!0),9,3225465664),p=o(p,m,i,a,t.getUint32(44,!0),14,643717713),a=o(a,p,m,i,t.getUint32(0,!0),20,3921069994),i=o(i,a,p,m,t.getUint32(20,!0),5,3593408605),m=o(m,i,a,p,t.getUint32(40,!0),9,38016083),p=o(p,m,i,a,t.getUint32(60,!0),14,3634488961),a=o(a,p,m,i,t.getUint32(16,!0),20,3889429448),i=o(i,a,p,m,t.getUint32(36,!0),5,568446438),m=o(m,i,a,p,t.getUint32(56,!0),9,3275163606),p=o(p,m,i,a,t.getUint32(12,!0),14,4107603335),a=o(a,p,m,i,t.getUint32(32,!0),20,1163531501),i=o(i,a,p,m,t.getUint32(52,!0),5,2850285829),m=o(m,i,a,p,t.getUint32(8,!0),9,4243563512),p=o(p,m,i,a,t.getUint32(28,!0),14,1735328473),a=o(a,p,m,i,t.getUint32(48,!0),20,2368359562),i=n(i,a,p,m,t.getUint32(20,!0),4,4294588738),m=n(m,i,a,p,t.getUint32(32,!0),11,2272392833),p=n(p,m,i,a,t.getUint32(44,!0),16,1839030562),a=n(a,p,m,i,t.getUint32(56,!0),23,4259657740),i=n(i,a,p,m,t.getUint32(4,!0),4,2763975236),m=n(m,i,a,p,t.getUint32(16,!0),11,1272893353),p=n(p,m,i,a,t.getUint32(28,!0),16,4139469664),a=n(a,p,m,i,t.getUint32(40,!0),23,3200236656),i=n(i,a,p,m,t.getUint32(52,!0),4,681279174),m=n(m,i,a,p,t.getUint32(0,!0),11,3936430074),p=n(p,m,i,a,t.getUint32(12,!0),16,3572445317),a=n(a,p,m,i,t.getUint32(24,!0),23,76029189),i=n(i,a,p,m,t.getUint32(36,!0),4,3654602809),m=n(m,i,a,p,t.getUint32(48,!0),11,3873151461),p=n(p,m,i,a,t.getUint32(60,!0),16,530742520),a=n(a,p,m,i,t.getUint32(8,!0),23,3299628645),i=u(i,a,p,m,t.getUint32(0,!0),6,4096336452),m=u(m,i,a,p,t.getUint32(28,!0),10,1126891415),p=u(p,m,i,a,t.getUint32(56,!0),15,2878612391),a=u(a,p,m,i,t.getUint32(20,!0),21,4237533241),i=u(i,a,p,m,t.getUint32(48,!0),6,1700485571),m=u(m,i,a,p,t.getUint32(12,!0),10,2399980690),p=u(p,m,i,a,t.getUint32(40,!0),15,4293915773),a=u(a,p,m,i,t.getUint32(4,!0),21,2240044497),i=u(i,a,p,m,t.getUint32(32,!0),6,1873313359),m=u(m,i,a,p,t.getUint32(60,!0),10,4264355552),p=u(p,m,i,a,t.getUint32(24,!0),15,2734768916),a=u(a,p,m,i,t.getUint32(52,!0),21,1309151649),i=u(i,a,p,m,t.getUint32(16,!0),6,4149444226),m=u(m,i,a,p,t.getUint32(44,!0),10,3174756917),p=u(p,m,i,a,t.getUint32(8,!0),15,718787259),a=u(a,p,m,i,t.getUint32(36,!0),21,3951481745),r[0]=i+r[0]&4294967295,r[1]=a+r[1]&4294967295,r[2]=p+r[2]&4294967295,r[3]=m+r[3]&4294967295}},{"./browserHashUtils":324,"buffer/":417}],327:[function(e,t,r){function i(){this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=new Uint32Array(80),this.offset=0,this.shift=24,this.totalLength=0}var a=e("buffer/").Buffer,s=e("./browserHashUtils");new Uint32Array([1518500249,1859775393,-1894007588,-899497514]),Math.pow(2,53);t.exports=i,i.BLOCK_SIZE=64,i.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(s.isEmptyData(e))return this;e=s.convertToBuffer(e);var t=e.length;this.totalLength+=8*t;for(var r=0;r14||14===this.offset&&this.shift<24)&&this.processBlock(),this.offset=14,this.shift=24,this.write(0),this.write(0),this.write(this.totalLength>0xffffffffff?this.totalLength/1099511627776:0),this.write(this.totalLength>4294967295?this.totalLength/4294967296:0);for(var t=24;t>=0;t-=8)this.write(this.totalLength>>t);var r=new a(20),i=new DataView(r.buffer);return i.setUint32(0,this.h0,!1),i.setUint32(4,this.h1,!1),i.setUint32(8,this.h2,!1),i.setUint32(12,this.h3,!1),i.setUint32(16,this.h4,!1),e?r.toString(e):r},i.prototype.processBlock=function(){for(var e=16;e<80;e++){var t=this.block[e-3]^this.block[e-8]^this.block[e-14]^this.block[e-16];this.block[e]=t<<1|t>>>31}var r,i,a=this.h0,s=this.h1,o=this.h2,n=this.h3,u=this.h4;for(e=0;e<80;e++){e<20?(r=n^s&(o^n),i=1518500249):e<40?(r=s^o^n,i=1859775393):e<60?(r=s&o|n&(s|o),i=2400959708):(r=s^o^n,i=3395469782);var p=(a<<5|a>>>27)+r+u+i+(0|this.block[e]);u=n,n=o,o=s<<30|s>>>2,s=a,a=p}for(this.h0=this.h0+a|0,this.h1=this.h1+s|0,this.h2=this.h2+o|0,this.h3=this.h3+n|0,this.h4=this.h4+u|0,this.offset=0,e=0;e<16;e++)this.block[e]=0}},{"./browserHashUtils":324,"buffer/":417}],328:[function(e,t,r){function i(){this.state=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}var a=e("buffer/").Buffer,s=e("./browserHashUtils"),o=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),n=Math.pow(2,53)-1;t.exports=i,i.BLOCK_SIZE=64,i.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(s.isEmptyData(e))return this;e=s.convertToBuffer(e);var t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>n)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0);return this},i.prototype.digest=function(e){if(!this.finished){var t=8*this.bytesHashed,r=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),i=this.bufferLength;if(r.setUint8(this.bufferLength++,128),i%64>=56){for(var s=this.bufferLength;s<64;s++)r.setUint8(s,0);this.hashBuffer(),this.bufferLength=0}for(var s=this.bufferLength;s<56;s++)r.setUint8(s,0);r.setUint32(56,Math.floor(t/4294967296),!0),r.setUint32(60,t),this.hashBuffer(),this.finished=!0}for(var o=new a(32),s=0;s<8;s++)o[4*s]=this.state[s]>>>24&255,o[4*s+1]=this.state[s]>>>16&255,o[4*s+2]=this.state[s]>>>8&255,o[4*s+3]=this.state[s]>>>0&255;return e?o.toString(e):o},i.prototype.hashBuffer=function(){for(var e=this,t=e.buffer,r=e.state,i=r[0],a=r[1],s=r[2],n=r[3],u=r[4],p=r[5],m=r[6],c=r[7],l=0;l<64;l++){if(l<16)this.temp[l]=(255&t[4*l])<<24|(255&t[4*l+1])<<16|(255&t[4*l+2])<<8|255&t[4*l+3];else{var d=this.temp[l-2],y=(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10;d=this.temp[l-15];var b=(d>>>7|d<<25)^(d>>>18|d<<14)^d>>>3;this.temp[l]=(y+this.temp[l-7]|0)+(b+this.temp[l-16]|0)}var 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=((i>>>2|i<<30)^(i>>>13|i<<19)^(i>>>22|i<<10))+(i&a^i&s^a&s)|0;c=m,m=p,p=u,u=n+S|0,n=s,s=a,a=i,i=S+g|0}r[0]+=i,r[1]+=a,r[2]+=s,r[3]+=n,r[4]+=u,r[5]+=p,r[6]+=m,r[7]+=c}},{"./browserHashUtils":324,"buffer/":417}],329:[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 i=e("./core");if(t.exports=i,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"),i.XML.Parser=e("./xml/browser_parser"),e("./http/xhr"),void 0===a)var a={browser:!0}}).call(this)}).call(this,e("_process"))},{"./browserCryptoLib":323,"./core":333,"./credentials":334,"./credentials/chainable_temporary_credentials":335,"./credentials/cognito_identity_credentials":336,"./credentials/credential_provider_chain":337,"./credentials/saml_credentials":338,"./credentials/temporary_credentials":339,"./credentials/web_identity_credentials":340,"./event-stream/buffered-create-event-stream":348,"./http/xhr":356,"./realclock/browserClock":375,"./util":408,"./xml/browser_parser":409,_process:422,"buffer/":417,"querystring/":429,"url/":431}],330:[function(e,t,r){var i=e("../core"),a=i.util.url,s=i.util.crypto.lib,o=i.util.base64.encode,n=i.util.inherit,u=function(e){var t={"+":"-","=":"_","/":"~"};return e.replace(/[\+=\/]/g,function(e){return t[e]})},p=function(e,t){var r=s.createSign("RSA-SHA1");return r.write(e),u(r.sign(t,"base64"))},m=function(e,t,r,i){var a=JSON.stringify({Statement:[{Resource:e,Condition:{DateLessThan:{"AWS:EpochTime":t}}}]});return{Expires:t,"Key-Pair-Id":r,Signature:p(a.toString(),i)}},c=function(e,t,r){return e=e.replace(/\s/gm,""),{Policy:u(o(e)),"Key-Pair-Id":t,Signature:p(e,r)}},l=function(e){var t=e.split("://");if(t.length<2)throw new Error("Invalid URL.");return t[0].replace("*","")},d=function(e){var t=a.parse(e);return t.path.replace(/^\//,"")+(t.hash||"")},y=function(e){switch(l(e)){case"http":case"https":return e;case"rtmp":return d(e);default:throw new Error("Invalid URI scheme. Scheme must be one of http, https, or rtmp")}},b=function(e,t){if(!t||"function"!=typeof t)throw e;t(e)},S=function(e,t){if(!t||"function"!=typeof t)return e;t(null,e)};i.CloudFront.Signer=n({constructor:function(e,t){if(void 0===e||void 0===t)throw new Error("A key pair ID and private key are required");this.keyPairId=e,this.privateKey=t},getSignedCookie:function(e,t){var r="policy"in e?c(e.policy,this.keyPairId,this.privateKey):m(e.url,e.expires,this.keyPairId,this.privateKey),i={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(i["CloudFront-"+a]=r[a]);return S(i,t)},getSignedUrl:function(e,t){try{var r=y(e.url)}catch(e){return b(e,t)}var i=a.parse(e.url,!0),s=Object.prototype.hasOwnProperty.call(e,"policy")?c(e.policy,this.keyPairId,this.privateKey):m(r,e.expires,this.keyPairId,this.privateKey);i.search=null;for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(i.query[o]=s[o]);try{var n="rtmp"===l(e.url)?d(a.format(i)):a.format(i)}catch(e){return b(e,t)}return S(n,t)}}),t.exports=i.CloudFront.Signer},{"../core":333}],331:[function(e,t,r){var i=e("./core");e("./credentials"),e("./credentials/credential_provider_chain");var a;i.Config=i.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),i.util.each.call(this,this.keys,function(t,r){this.set(t,e[t],r)})},getCredentials:function(e){function t(t){e(t,t?null:a.credentials)}function r(e,t){return new i.util.error(t||new Error,{code:"CredentialsError",message:e,name:"CredentialsError"})}var a=this;a.credentials?"function"==typeof a.credentials.get?function(){a.credentials.get(function(e){e&&(e=r("Could not load credentials from "+a.credentials.constructor.name,e)),t(e)})}():function(){var e=null;a.credentials.accessKeyId&&a.credentials.secretAccessKey||(e=r("Missing credentials")),t(e)}():a.credentialProvider?a.credentialProvider.resolve(function(e,i){e&&(e=r("Could not load credentials from any providers",e)),a.credentials=i,t(e)}):t(r("No credentials to load"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),i.util.each.call(this,e,function(e,r){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||i.Service.hasService(e))&&this.set(e,r)})},loadFromPath:function(e){this.clear();var t=JSON.parse(i.util.readFileSync(e)),r=new i.FileSystemCredentials(e),a=new i.CredentialProviderChain;return a.providers.unshift(r),a.resolve(function(e,r){if(e)throw e;t.credentials=r}),this.constructor(t),this},clear:function(){i.util.each.call(this,this.keys,function(e){delete this[e]}),this.set("credentials",void 0),this.set("credentialProvider",void 0)},set:function(e,t,r){void 0===t?(void 0===r&&(r=this.keys[e]),this[e]="function"==typeof r?r.call(this):r):"httpOptions"===e&&this[e]?this[e]=i.util.merge(this[e],t):this[e]=t},keys:{credentials:null,credentialProvider:null,region:null,logger:null,apiVersions:{},apiVersion:null,endpoint:void 0,httpOptions:{timeout:12e4},maxRetries:void 0,maxRedirects:10,paramValidation:!0,sslEnabled:!0,s3ForcePathStyle:!1,s3BucketEndpoint:!1,s3DisableBodySigning:!0,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"},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&(e=i.util.copy(e),e.credentials=new i.Credentials(e)),e},setPromisesDependency:function(e){a=e,null===e&&"function"==typeof Promise&&(a=Promise);var t=[i.Request,i.Credentials,i.CredentialProviderChain];i.S3&&(t.push(i.S3),i.S3.ManagedUpload&&t.push(i.S3.ManagedUpload)),i.util.addPromises(t,a)},getPromisesDependency:function(){return a}}),i.config=new i.Config},{"./core":333,"./credentials":334,"./credentials/credential_provider_chain":337}],332:[function(e,t,r){(function(r){(function(){function i(e,t){if("string"==typeof e){if(["legacy","regional"].indexOf(e.toLowerCase())>=0)return e.toLowerCase();throw s.util.error(new Error,t)}}function a(e,t){e=e||{};var a;if(e[t.clientConfig]&&(a=i(e[t.clientConfig],{code:"InvalidConfiguration",message:'invalid "'+t.clientConfig+'" configuration. Expect "legacy" or "regional". Got "'+e[t.clientConfig]+'".'})))return a;if(!s.util.isNode())return a;if(Object.prototype.hasOwnProperty.call(r.env,t.env)){if(a=i(r.env[t.env],{code:"InvalidEnvironmentalVariable",message:"invalid "+t.env+' environmental variable. Expect "legacy" or "regional". Got "'+r.env[t.env]+'".'}))return a}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(a=i(o[t.sharedConfig],{code:"InvalidConfiguration",message:"invalid "+t.sharedConfig+' profile config. Expect "legacy" or "regional". Got "'+o[t.sharedConfig]+'".'}))return a}return a}var s=e("./core");t.exports=a}).call(this)}).call(this,e("_process"))},{"./core":333,_process:422}],333:[function(e,t,r){var i={util:e("./util")};({}).toString(),t.exports=i,i.util.update(i,{VERSION:"2.878.0",Signers:{},Protocol:{Json:e("./protocol/json"),Query:e("./protocol/query"),Rest:e("./protocol/rest"),RestJson:e("./protocol/rest_json"),RestXml:e("./protocol/rest_xml")},XML:{Builder:e("./xml/builder"),Parser:null},JSON:{Builder:e("./json/builder"),Parser:e("./json/parser")},Model:{Api:e("./model/api"),Operation:e("./model/operation"),Shape:e("./model/shape"),Paginator:e("./model/paginator"),ResourceWaiter:e("./model/resource_waiter")},apiLoader:e("./api_loader"),EndpointCache:e("../vendor/endpoint-cache").EndpointCache}),e("./sequential_executor"),e("./service"),e("./config"),e("./http"),e("./event_listeners"),e("./request"),e("./response"),e("./resource_waiter"),e("./signers/request_signer"),e("./param_validator"),i.events=new i.SequentialExecutor,i.util.memoizedProperty(i,"endpointCache",function(){return new i.EndpointCache(i.config.endpointCacheSize)},!0)},{"../vendor/endpoint-cache":440,"./api_loader":322,"./config":331,"./event_listeners":354,"./http":355,"./json/builder":357,"./json/parser":358,"./model/api":359,"./model/operation":361,"./model/paginator":362,"./model/resource_waiter":363,"./model/shape":364,"./param_validator":365,"./protocol/json":368,"./protocol/query":369,"./protocol/rest":370,"./protocol/rest_json":371,"./protocol/rest_xml":372,"./request":378,"./resource_waiter":379,"./response":380,"./sequential_executor":382,"./service":383,"./signers/request_signer":400,"./util":408,"./xml/builder":410}],334:[function(e,t,r){var i=e("./core");i.Credentials=i.util.inherit({constructor:function(){if(i.util.hideProperties(this,["secretAccessKey"]),this.expired=!1,this.expireTime=null,this.refreshCallbacks=[],1===arguments.length&&"object"==typeof arguments[0]){var e=arguments[0].credentials||arguments[0];this.accessKeyId=e.accessKeyId,this.secretAccessKey=e.secretAccessKey,this.sessionToken=e.sessionToken}else this.accessKeyId=arguments[0],this.secretAccessKey=arguments[1],this.sessionToken=arguments[2]},expiryWindow:15,needsRefresh:function(){var e=i.util.date.getDate().getTime(),t=new Date(e+1e3*this.expiryWindow);return!!(this.expireTime&&t>this.expireTime)||(this.expired||!this.accessKeyId||!this.secretAccessKey)},get:function(e){var t=this;this.needsRefresh()?this.refresh(function(r){r||(t.expired=!1),e&&e(r)}):e&&e()},refresh:function(e){this.expired=!1,e()},coalesceRefresh:function(e,t){var r=this;1===r.refreshCallbacks.push(e)&&r.load(function(e){i.util.arrayEach(r.refreshCallbacks,function(r){t?r(e):i.util.defer(function(){r(e)})}),r.refreshCallbacks.length=0})},load:function(e){e()}}),i.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=i.util.promisifyMethod("get",e),this.prototype.refreshPromise=i.util.promisifyMethod("refresh",e)},i.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},i.util.addPromises(i.Credentials)},{"./core":333}],335:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.ChainableTemporaryCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),e=e||{},this.errorCode="ChainableTemporaryCredentialsProviderFailure",this.expired=!0,this.tokenCodeFn=null;var t=i.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||"temporary-credentials"),t.SerialNumber){if(!e.tokenCodeFn||"function"!=typeof e.tokenCodeFn)throw new i.util.error(new Error("tokenCodeFn must be a function when params.SerialNumber is given"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var r=i.util.merge({params:t,credentials:e.masterCredentials||i.config.credentials},e.stsConfig||{});this.service=new a(r)},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this,r=t.service.config.params.RoleArn?"assumeRole":"getSessionToken";this.getTokenCode(function(i,a){var s={};if(i)return void e(i);a&&(s.TokenCode=a),t.service[r](s,function(r,i){r||t.service.credentialsFrom(i,t),e(r)})})},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,function(r,a){if(r){var s=r;return r instanceof Error&&(s=r.message),void e(i.util.error(new Error("Error fetching MFA token: "+s),{code:t.errorCode}))}e(null,a)}):e(null)}})},{"../../clients/sts":317,"../core":333}],336:[function(e,t,r){var i=e("../core"),a=e("../../clients/cognitoidentity"),s=e("../../clients/sts");i.CognitoIdentityCredentials=i.util.inherit(i.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e,t){i.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=i.util.copy(t||{}),this.loadCachedId();var r=this;Object.defineProperty(this,"identityId",{get:function(){return r.loadCachedId(),r._identityId||r.params.IdentityId},set:function(e){r._identityId=e}})},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.data=null,t._identityId=null,t.getId(function(r){r?(t.clearIdOnNotAuthorized(r),e(r)):t.params.RoleArn?t.getCredentialsFromSTS(e):t.getCredentialsForIdentity(e)})},clearCachedId:function(){this._identityId=null,delete this.params.IdentityId;var e=this.params.IdentityPoolId,t=this.params.LoginId||"";delete this.storage[this.localStorageKey.id+e+t],delete this.storage[this.localStorageKey.providers+e+t]},clearIdOnNotAuthorized:function(e){var t=this;"NotAuthorizedException"==e.code&&t.clearCachedId()},getId:function(e){var t=this;if("string"==typeof t.params.IdentityId)return e(null,t.params.IdentityId);t.cognito.getId(function(r,i){!r&&i.IdentityId?(t.params.IdentityId=i.IdentityId,e(null,i.IdentityId)):e(r)})},loadCredentials:function(e,t){e&&t&&(t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration)},getCredentialsForIdentity:function(e){var t=this;t.cognito.getCredentialsForIdentity(function(r,i){r?t.clearIdOnNotAuthorized(r):(t.cacheId(i),t.data=i,t.loadCredentials(t.data,t)),e(r)})},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken(function(r,i){r?(t.clearIdOnNotAuthorized(r),e(r)):(t.cacheId(i),t.params.WebIdentityToken=i.Token,t.webIdentityCredentials.refresh(function(r){r||(t.data=t.webIdentityCredentials.data,t.sts.credentialsFrom(t.data,t)),e(r)}))})},loadCachedId:function(){var e=this;if(i.util.isBrowser()&&!e.params.IdentityId){var t=e.getStorage("id");if(t&&e.params.Logins){var r=Object.keys(e.params.Logins);0!==(e.getStorage("providers")||"").split(",").filter(function(e){return-1!==r.indexOf(e)}).length&&(e.params.IdentityId=t)}else t&&(e.params.IdentityId=t)}},createClients:function(){var e=this._clientConfig;if(this.webIdentityCredentials=this.webIdentityCredentials||new i.WebIdentityCredentials(this.params,e),!this.cognito){var t=i.util.merge({},e);t.params=this.params,this.cognito=new a(t)}this.sts=this.sts||new s(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,i.util.isBrowser()&&(this.setStorage("id",e.IdentityId),this.params.Logins&&this.setStorage("providers",Object.keys(this.params.Logins).join(",")))},getStorage:function(e){return this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]},setStorage:function(e,t){try{ +"../apis/email-2010-12-01.waiters2.json":106,"../lib/core":333,"../lib/node_loader":329}],313:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.sns={},i.SNS=a.defineService("sns",["2010-03-31"]),Object.defineProperty(s.services.sns,"2010-03-31",{get:function(){var t=e("../apis/sns-2010-03-31.min.json");return t.paginators=e("../apis/sns-2010-03-31.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.SNS},{"../apis/sns-2010-03-31.min.json":213,"../apis/sns-2010-03-31.paginators.json":214,"../lib/core":333,"../lib/node_loader":329}],314:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.sqs={},i.SQS=a.defineService("sqs",["2012-11-05"]),e("../lib/services/sqs"),Object.defineProperty(s.services.sqs,"2012-11-05",{get:function(){var t=e("../apis/sqs-2012-11-05.min.json");return t.paginators=e("../apis/sqs-2012-11-05.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.SQS},{"../apis/sqs-2012-11-05.min.json":215,"../apis/sqs-2012-11-05.paginators.json":216,"../lib/core":333,"../lib/node_loader":329,"../lib/services/sqs":397}],315:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.ssm={},i.SSM=a.defineService("ssm",["2014-11-06"]),Object.defineProperty(s.services.ssm,"2014-11-06",{get:function(){var t=e("../apis/ssm-2014-11-06.min.json");return t.paginators=e("../apis/ssm-2014-11-06.paginators.json").pagination,t.waiters=e("../apis/ssm-2014-11-06.waiters2.json").waiters,t},enumerable:!0,configurable:!0}),t.exports=i.SSM},{"../apis/ssm-2014-11-06.min.json":217,"../apis/ssm-2014-11-06.paginators.json":218,"../apis/ssm-2014-11-06.waiters2.json":219,"../lib/core":333,"../lib/node_loader":329}],316:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.storagegateway={},i.StorageGateway=a.defineService("storagegateway",["2013-06-30"]),Object.defineProperty(s.services.storagegateway,"2013-06-30",{get:function(){var t=e("../apis/storagegateway-2013-06-30.min.json");return t.paginators=e("../apis/storagegateway-2013-06-30.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.StorageGateway},{"../apis/storagegateway-2013-06-30.min.json":220,"../apis/storagegateway-2013-06-30.paginators.json":221,"../lib/core":333,"../lib/node_loader":329}],317:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.sts={},i.STS=a.defineService("sts",["2011-06-15"]),e("../lib/services/sts"),Object.defineProperty(s.services.sts,"2011-06-15",{get:function(){var t=e("../apis/sts-2011-06-15.min.json");return t.paginators=e("../apis/sts-2011-06-15.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.STS},{"../apis/sts-2011-06-15.min.json":224,"../apis/sts-2011-06-15.paginators.json":225,"../lib/core":333,"../lib/node_loader":329,"../lib/services/sts":398}],318:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.translate={},i.Translate=a.defineService("translate",["2017-07-01"]),Object.defineProperty(s.services.translate,"2017-07-01",{get:function(){var t=e("../apis/translate-2017-07-01.min.json");return t.paginators=e("../apis/translate-2017-07-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.Translate},{"../apis/translate-2017-07-01.min.json":226,"../apis/translate-2017-07-01.paginators.json":227,"../lib/core":333,"../lib/node_loader":329}],319:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.waf={},i.WAF=a.defineService("waf",["2015-08-24"]),Object.defineProperty(s.services.waf,"2015-08-24",{get:function(){var t=e("../apis/waf-2015-08-24.min.json");return t.paginators=e("../apis/waf-2015-08-24.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.WAF},{"../apis/waf-2015-08-24.min.json":228,"../apis/waf-2015-08-24.paginators.json":229,"../lib/core":333,"../lib/node_loader":329}],320:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.workdocs={},i.WorkDocs=a.defineService("workdocs",["2016-05-01"]),Object.defineProperty(s.services.workdocs,"2016-05-01",{get:function(){var t=e("../apis/workdocs-2016-05-01.min.json");return t.paginators=e("../apis/workdocs-2016-05-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.WorkDocs},{"../apis/workdocs-2016-05-01.min.json":230,"../apis/workdocs-2016-05-01.paginators.json":231,"../lib/core":333,"../lib/node_loader":329}],321:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.xray={},i.XRay=a.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=i.XRay},{"../apis/xray-2016-04-12.min.json":232,"../apis/xray-2016-04-12.paginators.json":233,"../lib/core":333,"../lib/node_loader":329}],322:[function(e,t,r){function i(e,t){if(!i.services.hasOwnProperty(e))throw new Error("InvalidService: Failed to load api for "+e);return i.services[e][t]}i.services={},t.exports=i},{}],323:[function(e,t,r){var i=e("./browserHmac"),a=e("./browserMd5"),s=e("./browserSha1"),o=e("./browserSha256");t.exports={createHash:function(e){if("md5"===(e=e.toLowerCase()))return new a;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 i(a,t);if("sha256"===e)return new i(o,t);if("sha1"===e)return new i(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":325,"./browserMd5":326,"./browserSha1":327,"./browserSha256":328}],324:[function(e,t,r){function i(e){return"string"==typeof e?0===e.length:0===e.byteLength}function a(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:i,convertToBuffer:a}},{"buffer/":417}],325:[function(e,t,r){function i(e,t){this.hash=new e,this.outer=new e;var r=a(e,t),i=new Uint8Array(e.BLOCK_SIZE);i.set(r);for(var s=0;se.BLOCK_SIZE){var i=new e;i.update(r),r=i.digest()}var a=new Uint8Array(e.BLOCK_SIZE);return a.set(r),a}var s=e("./browserHashUtils");t.exports=i,i.prototype.update=function(e){if(s.isEmptyData(e)||this.error)return this;try{this.hash.update(s.convertToBuffer(e))}catch(e){this.error=e}return this},i.prototype.digest=function(e){return this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest(e)}},{"./browserHashUtils":324}],326:[function(e,t,r){function i(){this.state=[1732584193,4023233417,2562383102,271733878],this.buffer=new DataView(new ArrayBuffer(c)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}function a(e,t,r,i,a,s){return((t=(t+e&4294967295)+(i+s&4294967295)&4294967295)<>>32-a)+r&4294967295}function s(e,t,r,i,s,o,n){return a(t&r|~t&i,e,t,s,o,n)}function o(e,t,r,i,s,o,n){return a(t&i|r&~i,e,t,s,o,n)}function n(e,t,r,i,s,o,n){return a(t^r^i,e,t,s,o,n)}function u(e,t,r,i,s,o,n){return a(r^(t|~i),e,t,s,o,n)}var p=e("./browserHashUtils"),m=e("buffer/").Buffer,c=64;t.exports=i,i.BLOCK_SIZE=c,i.prototype.update=function(e){if(p.isEmptyData(e))return this;if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=p.convertToBuffer(e),r=0,i=t.byteLength;for(this.bytesHashed+=i;i>0;)this.buffer.setUint8(this.bufferLength++,t[r++]),i--,this.bufferLength===c&&(this.hashBuffer(),this.bufferLength=0);return this},i.prototype.digest=function(e){if(!this.finished){var t=this,r=t.buffer,i=t.bufferLength,a=t.bytesHashed,s=8*a;if(r.setUint8(this.bufferLength++,128),i%c>=c-8){for(var o=this.bufferLength;o>>0,!0),r.setUint32(c-4,Math.floor(s/4294967296),!0),this.hashBuffer(),this.finished=!0}for(var n=new DataView(new ArrayBuffer(16)),o=0;o<4;o++)n.setUint32(4*o,this.state[o],!0);var u=new m(n.buffer,n.byteOffset,n.byteLength);return e?u.toString(e):u},i.prototype.hashBuffer=function(){var e=this,t=e.buffer,r=e.state,i=r[0],a=r[1],p=r[2],m=r[3];i=s(i,a,p,m,t.getUint32(0,!0),7,3614090360),m=s(m,i,a,p,t.getUint32(4,!0),12,3905402710),p=s(p,m,i,a,t.getUint32(8,!0),17,606105819),a=s(a,p,m,i,t.getUint32(12,!0),22,3250441966),i=s(i,a,p,m,t.getUint32(16,!0),7,4118548399),m=s(m,i,a,p,t.getUint32(20,!0),12,1200080426),p=s(p,m,i,a,t.getUint32(24,!0),17,2821735955),a=s(a,p,m,i,t.getUint32(28,!0),22,4249261313),i=s(i,a,p,m,t.getUint32(32,!0),7,1770035416),m=s(m,i,a,p,t.getUint32(36,!0),12,2336552879),p=s(p,m,i,a,t.getUint32(40,!0),17,4294925233),a=s(a,p,m,i,t.getUint32(44,!0),22,2304563134),i=s(i,a,p,m,t.getUint32(48,!0),7,1804603682),m=s(m,i,a,p,t.getUint32(52,!0),12,4254626195),p=s(p,m,i,a,t.getUint32(56,!0),17,2792965006),a=s(a,p,m,i,t.getUint32(60,!0),22,1236535329),i=o(i,a,p,m,t.getUint32(4,!0),5,4129170786),m=o(m,i,a,p,t.getUint32(24,!0),9,3225465664),p=o(p,m,i,a,t.getUint32(44,!0),14,643717713),a=o(a,p,m,i,t.getUint32(0,!0),20,3921069994),i=o(i,a,p,m,t.getUint32(20,!0),5,3593408605),m=o(m,i,a,p,t.getUint32(40,!0),9,38016083),p=o(p,m,i,a,t.getUint32(60,!0),14,3634488961),a=o(a,p,m,i,t.getUint32(16,!0),20,3889429448),i=o(i,a,p,m,t.getUint32(36,!0),5,568446438),m=o(m,i,a,p,t.getUint32(56,!0),9,3275163606),p=o(p,m,i,a,t.getUint32(12,!0),14,4107603335),a=o(a,p,m,i,t.getUint32(32,!0),20,1163531501),i=o(i,a,p,m,t.getUint32(52,!0),5,2850285829),m=o(m,i,a,p,t.getUint32(8,!0),9,4243563512),p=o(p,m,i,a,t.getUint32(28,!0),14,1735328473),a=o(a,p,m,i,t.getUint32(48,!0),20,2368359562),i=n(i,a,p,m,t.getUint32(20,!0),4,4294588738),m=n(m,i,a,p,t.getUint32(32,!0),11,2272392833),p=n(p,m,i,a,t.getUint32(44,!0),16,1839030562),a=n(a,p,m,i,t.getUint32(56,!0),23,4259657740),i=n(i,a,p,m,t.getUint32(4,!0),4,2763975236),m=n(m,i,a,p,t.getUint32(16,!0),11,1272893353),p=n(p,m,i,a,t.getUint32(28,!0),16,4139469664),a=n(a,p,m,i,t.getUint32(40,!0),23,3200236656),i=n(i,a,p,m,t.getUint32(52,!0),4,681279174),m=n(m,i,a,p,t.getUint32(0,!0),11,3936430074),p=n(p,m,i,a,t.getUint32(12,!0),16,3572445317),a=n(a,p,m,i,t.getUint32(24,!0),23,76029189),i=n(i,a,p,m,t.getUint32(36,!0),4,3654602809),m=n(m,i,a,p,t.getUint32(48,!0),11,3873151461),p=n(p,m,i,a,t.getUint32(60,!0),16,530742520),a=n(a,p,m,i,t.getUint32(8,!0),23,3299628645),i=u(i,a,p,m,t.getUint32(0,!0),6,4096336452),m=u(m,i,a,p,t.getUint32(28,!0),10,1126891415),p=u(p,m,i,a,t.getUint32(56,!0),15,2878612391),a=u(a,p,m,i,t.getUint32(20,!0),21,4237533241),i=u(i,a,p,m,t.getUint32(48,!0),6,1700485571),m=u(m,i,a,p,t.getUint32(12,!0),10,2399980690),p=u(p,m,i,a,t.getUint32(40,!0),15,4293915773),a=u(a,p,m,i,t.getUint32(4,!0),21,2240044497),i=u(i,a,p,m,t.getUint32(32,!0),6,1873313359),m=u(m,i,a,p,t.getUint32(60,!0),10,4264355552),p=u(p,m,i,a,t.getUint32(24,!0),15,2734768916),a=u(a,p,m,i,t.getUint32(52,!0),21,1309151649),i=u(i,a,p,m,t.getUint32(16,!0),6,4149444226),m=u(m,i,a,p,t.getUint32(44,!0),10,3174756917),p=u(p,m,i,a,t.getUint32(8,!0),15,718787259),a=u(a,p,m,i,t.getUint32(36,!0),21,3951481745),r[0]=i+r[0]&4294967295,r[1]=a+r[1]&4294967295,r[2]=p+r[2]&4294967295,r[3]=m+r[3]&4294967295}},{"./browserHashUtils":324,"buffer/":417}],327:[function(e,t,r){function i(){this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=new Uint32Array(80),this.offset=0,this.shift=24,this.totalLength=0}var a=e("buffer/").Buffer,s=e("./browserHashUtils");new Uint32Array([1518500249,1859775393,-1894007588,-899497514]),Math.pow(2,53);t.exports=i,i.BLOCK_SIZE=64,i.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(s.isEmptyData(e))return this;e=s.convertToBuffer(e);var t=e.length;this.totalLength+=8*t;for(var r=0;r14||14===this.offset&&this.shift<24)&&this.processBlock(),this.offset=14,this.shift=24,this.write(0),this.write(0),this.write(this.totalLength>0xffffffffff?this.totalLength/1099511627776:0),this.write(this.totalLength>4294967295?this.totalLength/4294967296:0);for(var t=24;t>=0;t-=8)this.write(this.totalLength>>t);var r=new a(20),i=new DataView(r.buffer);return i.setUint32(0,this.h0,!1),i.setUint32(4,this.h1,!1),i.setUint32(8,this.h2,!1),i.setUint32(12,this.h3,!1),i.setUint32(16,this.h4,!1),e?r.toString(e):r},i.prototype.processBlock=function(){for(var e=16;e<80;e++){var t=this.block[e-3]^this.block[e-8]^this.block[e-14]^this.block[e-16];this.block[e]=t<<1|t>>>31}var r,i,a=this.h0,s=this.h1,o=this.h2,n=this.h3,u=this.h4;for(e=0;e<80;e++){e<20?(r=n^s&(o^n),i=1518500249):e<40?(r=s^o^n,i=1859775393):e<60?(r=s&o|n&(s|o),i=2400959708):(r=s^o^n,i=3395469782);var p=(a<<5|a>>>27)+r+u+i+(0|this.block[e]);u=n,n=o,o=s<<30|s>>>2,s=a,a=p}for(this.h0=this.h0+a|0,this.h1=this.h1+s|0,this.h2=this.h2+o|0,this.h3=this.h3+n|0,this.h4=this.h4+u|0,this.offset=0,e=0;e<16;e++)this.block[e]=0}},{"./browserHashUtils":324,"buffer/":417}],328:[function(e,t,r){function i(){this.state=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}var a=e("buffer/").Buffer,s=e("./browserHashUtils"),o=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),n=Math.pow(2,53)-1;t.exports=i,i.BLOCK_SIZE=64,i.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(s.isEmptyData(e))return this;e=s.convertToBuffer(e);var t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>n)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0);return this},i.prototype.digest=function(e){if(!this.finished){var t=8*this.bytesHashed,r=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),i=this.bufferLength;if(r.setUint8(this.bufferLength++,128),i%64>=56){for(var s=this.bufferLength;s<64;s++)r.setUint8(s,0);this.hashBuffer(),this.bufferLength=0}for(var s=this.bufferLength;s<56;s++)r.setUint8(s,0);r.setUint32(56,Math.floor(t/4294967296),!0),r.setUint32(60,t),this.hashBuffer(),this.finished=!0}for(var o=new a(32),s=0;s<8;s++)o[4*s]=this.state[s]>>>24&255,o[4*s+1]=this.state[s]>>>16&255,o[4*s+2]=this.state[s]>>>8&255,o[4*s+3]=this.state[s]>>>0&255;return e?o.toString(e):o},i.prototype.hashBuffer=function(){for(var e=this,t=e.buffer,r=e.state,i=r[0],a=r[1],s=r[2],n=r[3],u=r[4],p=r[5],m=r[6],c=r[7],l=0;l<64;l++){if(l<16)this.temp[l]=(255&t[4*l])<<24|(255&t[4*l+1])<<16|(255&t[4*l+2])<<8|255&t[4*l+3];else{var d=this.temp[l-2],y=(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10;d=this.temp[l-15];var b=(d>>>7|d<<25)^(d>>>18|d<<14)^d>>>3;this.temp[l]=(y+this.temp[l-7]|0)+(b+this.temp[l-16]|0)}var 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=((i>>>2|i<<30)^(i>>>13|i<<19)^(i>>>22|i<<10))+(i&a^i&s^a&s)|0;c=m,m=p,p=u,u=n+S|0,n=s,s=a,a=i,i=S+g|0}r[0]+=i,r[1]+=a,r[2]+=s,r[3]+=n,r[4]+=u,r[5]+=p,r[6]+=m,r[7]+=c}},{"./browserHashUtils":324,"buffer/":417}],329:[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 i=e("./core");if(t.exports=i,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"),i.XML.Parser=e("./xml/browser_parser"),e("./http/xhr"),void 0===a)var a={browser:!0}}).call(this)}).call(this,e("_process"))},{"./browserCryptoLib":323,"./core":333,"./credentials":334,"./credentials/chainable_temporary_credentials":335,"./credentials/cognito_identity_credentials":336,"./credentials/credential_provider_chain":337,"./credentials/saml_credentials":338,"./credentials/temporary_credentials":339,"./credentials/web_identity_credentials":340,"./event-stream/buffered-create-event-stream":348,"./http/xhr":356,"./realclock/browserClock":375,"./util":408,"./xml/browser_parser":409,_process:422,"buffer/":417,"querystring/":429,"url/":431}],330:[function(e,t,r){var i=e("../core"),a=i.util.url,s=i.util.crypto.lib,o=i.util.base64.encode,n=i.util.inherit,u=function(e){var t={"+":"-","=":"_","/":"~"};return e.replace(/[\+=\/]/g,function(e){return t[e]})},p=function(e,t){var r=s.createSign("RSA-SHA1");return r.write(e),u(r.sign(t,"base64"))},m=function(e,t,r,i){var a=JSON.stringify({Statement:[{Resource:e,Condition:{DateLessThan:{"AWS:EpochTime":t}}}]});return{Expires:t,"Key-Pair-Id":r,Signature:p(a.toString(),i)}},c=function(e,t,r){return e=e.replace(/\s/gm,""),{Policy:u(o(e)),"Key-Pair-Id":t,Signature:p(e,r)}},l=function(e){var t=e.split("://");if(t.length<2)throw new Error("Invalid URL.");return t[0].replace("*","")},d=function(e){var t=a.parse(e);return t.path.replace(/^\//,"")+(t.hash||"")},y=function(e){switch(l(e)){case"http":case"https":return e;case"rtmp":return d(e);default:throw new Error("Invalid URI scheme. Scheme must be one of http, https, or rtmp")}},b=function(e,t){if(!t||"function"!=typeof t)throw e;t(e)},S=function(e,t){if(!t||"function"!=typeof t)return e;t(null,e)};i.CloudFront.Signer=n({constructor:function(e,t){if(void 0===e||void 0===t)throw new Error("A key pair ID and private key are required");this.keyPairId=e,this.privateKey=t},getSignedCookie:function(e,t){var r="policy"in e?c(e.policy,this.keyPairId,this.privateKey):m(e.url,e.expires,this.keyPairId,this.privateKey),i={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(i["CloudFront-"+a]=r[a]);return S(i,t)},getSignedUrl:function(e,t){try{var r=y(e.url)}catch(e){return b(e,t)}var i=a.parse(e.url,!0),s=Object.prototype.hasOwnProperty.call(e,"policy")?c(e.policy,this.keyPairId,this.privateKey):m(r,e.expires,this.keyPairId,this.privateKey);i.search=null;for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(i.query[o]=s[o]);try{var n="rtmp"===l(e.url)?d(a.format(i)):a.format(i)}catch(e){return b(e,t)}return S(n,t)}}),t.exports=i.CloudFront.Signer},{"../core":333}],331:[function(e,t,r){var i=e("./core");e("./credentials"),e("./credentials/credential_provider_chain");var a;i.Config=i.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),i.util.each.call(this,this.keys,function(t,r){this.set(t,e[t],r)})},getCredentials:function(e){function t(t){e(t,t?null:a.credentials)}function r(e,t){return new i.util.error(t||new Error,{code:"CredentialsError",message:e,name:"CredentialsError"})}var a=this;a.credentials?"function"==typeof a.credentials.get?function(){a.credentials.get(function(e){e&&(e=r("Could not load credentials from "+a.credentials.constructor.name,e)),t(e)})}():function(){var e=null;a.credentials.accessKeyId&&a.credentials.secretAccessKey||(e=r("Missing credentials")),t(e)}():a.credentialProvider?a.credentialProvider.resolve(function(e,i){e&&(e=r("Could not load credentials from any providers",e)),a.credentials=i,t(e)}):t(r("No credentials to load"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),i.util.each.call(this,e,function(e,r){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||i.Service.hasService(e))&&this.set(e,r)})},loadFromPath:function(e){this.clear();var t=JSON.parse(i.util.readFileSync(e)),r=new i.FileSystemCredentials(e),a=new i.CredentialProviderChain;return a.providers.unshift(r),a.resolve(function(e,r){if(e)throw e;t.credentials=r}),this.constructor(t),this},clear:function(){i.util.each.call(this,this.keys,function(e){delete this[e]}),this.set("credentials",void 0),this.set("credentialProvider",void 0)},set:function(e,t,r){void 0===t?(void 0===r&&(r=this.keys[e]),this[e]="function"==typeof r?r.call(this):r):"httpOptions"===e&&this[e]?this[e]=i.util.merge(this[e],t):this[e]=t},keys:{credentials:null,credentialProvider:null,region:null,logger:null,apiVersions:{},apiVersion:null,endpoint:void 0,httpOptions:{timeout:12e4},maxRetries:void 0,maxRedirects:10,paramValidation:!0,sslEnabled:!0,s3ForcePathStyle:!1,s3BucketEndpoint:!1,s3DisableBodySigning:!0,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"},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&(e=i.util.copy(e),e.credentials=new i.Credentials(e)),e},setPromisesDependency:function(e){a=e,null===e&&"function"==typeof Promise&&(a=Promise);var t=[i.Request,i.Credentials,i.CredentialProviderChain];i.S3&&(t.push(i.S3),i.S3.ManagedUpload&&t.push(i.S3.ManagedUpload)),i.util.addPromises(t,a)},getPromisesDependency:function(){return a}}),i.config=new i.Config},{"./core":333,"./credentials":334,"./credentials/credential_provider_chain":337}],332:[function(e,t,r){(function(r){(function(){function i(e,t){if("string"==typeof e){if(["legacy","regional"].indexOf(e.toLowerCase())>=0)return e.toLowerCase();throw s.util.error(new Error,t)}}function a(e,t){e=e||{};var a;if(e[t.clientConfig]&&(a=i(e[t.clientConfig],{code:"InvalidConfiguration",message:'invalid "'+t.clientConfig+'" configuration. Expect "legacy" or "regional". Got "'+e[t.clientConfig]+'".'})))return a;if(!s.util.isNode())return a;if(Object.prototype.hasOwnProperty.call(r.env,t.env)){if(a=i(r.env[t.env],{code:"InvalidEnvironmentalVariable",message:"invalid "+t.env+' environmental variable. Expect "legacy" or "regional". Got "'+r.env[t.env]+'".'}))return a}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(a=i(o[t.sharedConfig],{code:"InvalidConfiguration",message:"invalid "+t.sharedConfig+' profile config. Expect "legacy" or "regional". Got "'+o[t.sharedConfig]+'".'}))return a}return a}var s=e("./core");t.exports=a}).call(this)}).call(this,e("_process"))},{"./core":333,_process:422}],333:[function(e,t,r){var i={util:e("./util")};({}).toString(),t.exports=i,i.util.update(i,{VERSION:"2.879.0",Signers:{},Protocol:{Json:e("./protocol/json"),Query:e("./protocol/query"),Rest:e("./protocol/rest"),RestJson:e("./protocol/rest_json"),RestXml:e("./protocol/rest_xml")},XML:{Builder:e("./xml/builder"),Parser:null},JSON:{Builder:e("./json/builder"),Parser:e("./json/parser")},Model:{Api:e("./model/api"),Operation:e("./model/operation"),Shape:e("./model/shape"),Paginator:e("./model/paginator"),ResourceWaiter:e("./model/resource_waiter")},apiLoader:e("./api_loader"),EndpointCache:e("../vendor/endpoint-cache").EndpointCache}),e("./sequential_executor"),e("./service"),e("./config"),e("./http"),e("./event_listeners"),e("./request"),e("./response"),e("./resource_waiter"),e("./signers/request_signer"),e("./param_validator"),i.events=new i.SequentialExecutor,i.util.memoizedProperty(i,"endpointCache",function(){return new i.EndpointCache(i.config.endpointCacheSize)},!0)},{"../vendor/endpoint-cache":440,"./api_loader":322,"./config":331,"./event_listeners":354,"./http":355,"./json/builder":357,"./json/parser":358,"./model/api":359,"./model/operation":361,"./model/paginator":362,"./model/resource_waiter":363,"./model/shape":364,"./param_validator":365,"./protocol/json":368,"./protocol/query":369,"./protocol/rest":370,"./protocol/rest_json":371,"./protocol/rest_xml":372,"./request":378,"./resource_waiter":379,"./response":380,"./sequential_executor":382,"./service":383,"./signers/request_signer":400,"./util":408,"./xml/builder":410}],334:[function(e,t,r){var i=e("./core");i.Credentials=i.util.inherit({constructor:function(){if(i.util.hideProperties(this,["secretAccessKey"]),this.expired=!1,this.expireTime=null,this.refreshCallbacks=[],1===arguments.length&&"object"==typeof arguments[0]){var e=arguments[0].credentials||arguments[0];this.accessKeyId=e.accessKeyId,this.secretAccessKey=e.secretAccessKey,this.sessionToken=e.sessionToken}else this.accessKeyId=arguments[0],this.secretAccessKey=arguments[1],this.sessionToken=arguments[2]},expiryWindow:15,needsRefresh:function(){var e=i.util.date.getDate().getTime(),t=new Date(e+1e3*this.expiryWindow);return!!(this.expireTime&&t>this.expireTime)||(this.expired||!this.accessKeyId||!this.secretAccessKey)},get:function(e){var t=this;this.needsRefresh()?this.refresh(function(r){r||(t.expired=!1),e&&e(r)}):e&&e()},refresh:function(e){this.expired=!1,e()},coalesceRefresh:function(e,t){var r=this;1===r.refreshCallbacks.push(e)&&r.load(function(e){i.util.arrayEach(r.refreshCallbacks,function(r){t?r(e):i.util.defer(function(){r(e)})}),r.refreshCallbacks.length=0})},load:function(e){e()}}),i.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=i.util.promisifyMethod("get",e),this.prototype.refreshPromise=i.util.promisifyMethod("refresh",e)},i.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},i.util.addPromises(i.Credentials)},{"./core":333}],335:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.ChainableTemporaryCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),e=e||{},this.errorCode="ChainableTemporaryCredentialsProviderFailure",this.expired=!0,this.tokenCodeFn=null;var t=i.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||"temporary-credentials"),t.SerialNumber){if(!e.tokenCodeFn||"function"!=typeof e.tokenCodeFn)throw new i.util.error(new Error("tokenCodeFn must be a function when params.SerialNumber is given"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var r=i.util.merge({params:t,credentials:e.masterCredentials||i.config.credentials},e.stsConfig||{});this.service=new a(r)},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this,r=t.service.config.params.RoleArn?"assumeRole":"getSessionToken";this.getTokenCode(function(i,a){var s={};if(i)return void e(i);a&&(s.TokenCode=a),t.service[r](s,function(r,i){r||t.service.credentialsFrom(i,t),e(r)})})},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,function(r,a){if(r){var s=r;return r instanceof Error&&(s=r.message),void e(i.util.error(new Error("Error fetching MFA token: "+s),{code:t.errorCode}))}e(null,a)}):e(null)}})},{"../../clients/sts":317,"../core":333}],336:[function(e,t,r){var i=e("../core"),a=e("../../clients/cognitoidentity"),s=e("../../clients/sts");i.CognitoIdentityCredentials=i.util.inherit(i.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e,t){i.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=i.util.copy(t||{}),this.loadCachedId();var r=this;Object.defineProperty(this,"identityId",{get:function(){return r.loadCachedId(),r._identityId||r.params.IdentityId},set:function(e){r._identityId=e}})},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.data=null,t._identityId=null,t.getId(function(r){r?(t.clearIdOnNotAuthorized(r),e(r)):t.params.RoleArn?t.getCredentialsFromSTS(e):t.getCredentialsForIdentity(e)})},clearCachedId:function(){this._identityId=null,delete this.params.IdentityId;var e=this.params.IdentityPoolId,t=this.params.LoginId||"";delete this.storage[this.localStorageKey.id+e+t],delete this.storage[this.localStorageKey.providers+e+t]},clearIdOnNotAuthorized:function(e){var t=this;"NotAuthorizedException"==e.code&&t.clearCachedId()},getId:function(e){var t=this;if("string"==typeof t.params.IdentityId)return e(null,t.params.IdentityId);t.cognito.getId(function(r,i){!r&&i.IdentityId?(t.params.IdentityId=i.IdentityId,e(null,i.IdentityId)):e(r)})},loadCredentials:function(e,t){e&&t&&(t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration)},getCredentialsForIdentity:function(e){var t=this;t.cognito.getCredentialsForIdentity(function(r,i){r?t.clearIdOnNotAuthorized(r):(t.cacheId(i),t.data=i,t.loadCredentials(t.data,t)),e(r)})},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken(function(r,i){r?(t.clearIdOnNotAuthorized(r),e(r)):(t.cacheId(i),t.params.WebIdentityToken=i.Token,t.webIdentityCredentials.refresh(function(r){r||(t.data=t.webIdentityCredentials.data,t.sts.credentialsFrom(t.data,t)),e(r)}))})},loadCachedId:function(){var e=this;if(i.util.isBrowser()&&!e.params.IdentityId){var t=e.getStorage("id");if(t&&e.params.Logins){var r=Object.keys(e.params.Logins);0!==(e.getStorage("providers")||"").split(",").filter(function(e){return-1!==r.indexOf(e)}).length&&(e.params.IdentityId=t)}else t&&(e.params.IdentityId=t)}},createClients:function(){var e=this._clientConfig;if(this.webIdentityCredentials=this.webIdentityCredentials||new i.WebIdentityCredentials(this.params,e),!this.cognito){var t=i.util.merge({},e);t.params=this.params,this.cognito=new a(t)}this.sts=this.sts||new s(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,i.util.isBrowser()&&(this.setStorage("id",e.IdentityId),this.params.Logins&&this.setStorage("providers",Object.keys(this.params.Logins).join(",")))},getStorage:function(e){return this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]},setStorage:function(e,t){try{ this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]=t}catch(e){}},storage:function(){try{var e=i.util.isBrowser()&&null!==window.localStorage&&"object"==typeof window.localStorage?window.localStorage:{};return e["aws.test-storage"]="foobar",delete e["aws.test-storage"],e}catch(e){return{}}}()})},{"../../clients/cognitoidentity":250,"../../clients/sts":317,"../core":333}],337:[function(e,t,r){var i=e("../core");i.CredentialProviderChain=i.util.inherit(i.Credentials,{constructor:function(e){this.providers=e||i.CredentialProviderChain.defaultProviders.slice(0),this.resolveCallbacks=[]},resolve:function(e){function t(e,o){if(!e&&o||a===s.length)return i.util.arrayEach(r.resolveCallbacks,function(t){t(e,o)}),void(r.resolveCallbacks.length=0);var n=s[a++];o="function"==typeof n?n.call():n,o.get?o.get(function(e){t(e,e?null:o)}):t(null,o)}var r=this;if(0===r.providers.length)return e(new Error("No providers")),r;if(1===r.resolveCallbacks.push(e)){var a=0,s=r.providers.slice(0);t()}return r}}),i.CredentialProviderChain.defaultProviders=[],i.CredentialProviderChain.addPromisesToClass=function(e){this.prototype.resolvePromise=i.util.promisifyMethod("resolve",e)},i.CredentialProviderChain.deletePromisesFromClass=function(){delete this.prototype.resolvePromise},i.util.addPromises(i.CredentialProviderChain)},{"../core":333}],338:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.SAMLCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithSAML(function(r,i){r||t.service.credentialsFrom(i,t),e(r)})},createClients:function(){this.service=this.service||new a({params:this.params})}})},{"../../clients/sts":317,"../core":333}],339:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.TemporaryCredentials=i.util.inherit(i.Credentials,{constructor:function(e,t){i.Credentials.call(this),this.loadMasterCredentials(t),this.expired=!0,this.params=e||{},this.params.RoleArn&&(this.params.RoleSessionName=this.params.RoleSessionName||"temporary-credentials")},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.masterCredentials.get(function(){t.service.config.credentials=t.masterCredentials,(t.params.RoleArn?t.service.assumeRole:t.service.getSessionToken).call(t.service,function(r,i){r||t.service.credentialsFrom(i,t),e(r)})})},loadMasterCredentials:function(e){for(this.masterCredentials=e||i.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials;"function"!=typeof this.masterCredentials.get&&(this.masterCredentials=new i.Credentials(this.masterCredentials))},createClients:function(){this.service=this.service||new a({params:this.params})}})},{"../../clients/sts":317,"../core":333}],340:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.WebIdentityCredentials=i.util.inherit(i.Credentials,{constructor:function(e,t){i.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null,this._clientConfig=i.util.copy(t||{})},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithWebIdentity(function(r,i){t.data=null,r||(t.data=i,t.service.credentialsFrom(i,t)),e(r)})},createClients:function(){if(!this.service){var e=i.util.merge({},this._clientConfig);e.params=this.params,this.service=new a(e)}}})},{"../../clients/sts":317,"../core":333}],341:[function(e,t,r){(function(r){(function(){function i(e){var t=e.service,r=t.api||{},i={};return t.config.region&&(i.region=t.config.region),r.serviceId&&(i.serviceId=r.serviceId),t.config.credentials.accessKeyId&&(i.accessKeyId=t.config.credentials.accessKeyId),i}function a(e,t,r){r&&void 0!==t&&null!==t&&"structure"===r.type&&r.required&&r.required.length>0&&b.arrayEach(r.required,function(i){var s=r.members[i];if(!0===s.endpointDiscoveryId){var o=s.isLocationName?s.name:i;e[o]=String(t[i])}else a(e,t[i],s)})}function s(e,t){var r={};return a(r,e.params,t),r}function o(e){var t=e.service,r=t.api,a=r.operations?r.operations[e.operation]:void 0,o=a?a.input:void 0,n=s(e,o),p=i(e);Object.keys(n).length>0&&(p=b.update(p,n),a&&(p.operation=a.name));var m=y.endpointCache.get(p);if(!m||1!==m.length||""!==m[0].Address)if(m&&m.length>0)e.httpRequest.updateEndpoint(m[0].Address);else{var c=t.makeRequest(r.endpointOperation,{Operation:a.name,Identifiers:n});u(c),c.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),c.removeListener("retry",y.EventListeners.Core.RETRY_CHECK),y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}]),c.send(function(e,t){t&&t.Endpoints?y.endpointCache.put(p,t.Endpoints):e&&y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}])})}}function n(e,t){var r=e.service,a=r.api,o=a.operations?a.operations[e.operation]:void 0,n=o?o.input:void 0,p=s(e,n),m=i(e);Object.keys(p).length>0&&(m=b.update(m,p),o&&(m.operation=o.name));var c=y.EndpointCache.getKeyString(m),l=y.endpointCache.get(c);if(l&&1===l.length&&""===l[0].Address)return 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(a.endpointOperation,{Operation:o.name,Identifiers:p});d.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),u(d),y.endpointCache.put(c,[{Address:"",CachePeriodInMinutes:60}]),d.send(function(r,i){if(r){if(e.response.error=b.error(r,{retryable:!1}),y.endpointCache.remove(m),g[c]){var a=g[c];b.arrayEach(a,function(e){e.request.response.error=b.error(r,{retryable:!1}),e.callback()}),delete g[c]}}else if(i&&(y.endpointCache.put(c,i.Endpoints),e.httpRequest.updateEndpoint(i.Endpoints[0].Address),g[c])){var a=g[c];b.arrayEach(a,function(e){e.request.httpRequest.updateEndpoint(i.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 a=e.request,o=a.service.api.operations||{},n=o[a.operation]?o[a.operation].input:void 0,u=s(a,n),p=i(a);Object.keys(u).length>0&&(p=b.update(p,u),o[a.operation]&&(p.operation=o[a.operation].name)),y.endpointCache.remove(p)}}function m(e){if(e._originalConfig&&e._originalConfig.endpoint&&!0===e._originalConfig.endpointDiscoveryEnabled)throw b.error(new Error,{code:"ConfigurationException",message:"Custom endpoint is supplied; endpointDiscoveryEnabled must not be true."});var t=y.config[e.serviceIdentifier]||{};return Boolean(y.config.endpoint||t.endpoint||e._originalConfig&&e._originalConfig.endpoint)}function c(e){return["false","0"].indexOf(e)>=0}function l(e){var t=e.service||{};if(void 0!==t.config.endpointDiscoveryEnabled)return t.config.endpointDiscoveryEnabled;if(!b.isBrowser()){for(var i=0;i-1&&0===++e[t];t--);}var s=e("../core").util,o=s.buffer.toBuffer;i.fromNumber=function(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(e+" is too large (or, if negative, too small) to represent as an Int64");for(var t=new Uint8Array(8),r=7,s=Math.abs(Math.round(e));r>-1&&s>0;r--,s/=256)t[r]=s;return e<0&&a(t),new i(t)},i.prototype.valueOf=function(){var e=this.bytes.slice(0),t=128&e[0];return t&&a(e),parseInt(e.toString("hex"),16)*(t?-1:1)},i.prototype.toString=function(){return String(this.valueOf())},t.exports={Int64:i}},{"../core":333}],351:[function(e,t,r){function i(e,t,r){var i=s(t),o=i.headers[":message-type"];if(o){if("error"===o.value)throw a(i);if("event"!==o.value)return}var n=i.headers[":event-type"],u=r.members[n.value];if(u){var p={},m=u.eventPayloadMemberName;if(m){var c=u.members[m];"binary"===c.type?p[m]=i.body:p[m]=e.parse(i.body.toString(),c)}for(var l=u.eventHeaderMemberNames,d=0;d=0)return e.httpRequest.headers["X-Amz-Content-Sha256"]="UNSIGNED-PAYLOAD",t();a.util.computeSha256(s,function(r,i){r?t(r):(e.httpRequest.headers["X-Amz-Content-Sha256"]=i,t())})}else t()}}),e("SET_CONTENT_LENGTH","afterBuild",function(e){var t=i(e),r=a.util.getRequestPayloadShape(e);if(void 0===e.httpRequest.headers["Content-Length"])try{var s=a.util.string.byteLength(e.httpRequest.body);e.httpRequest.headers["Content-Length"]=s}catch(i){if(r&&r.isStreaming){if(r.requiresLength)throw i;if(t.indexOf("unsigned-body")>=0)return void(e.httpRequest.headers["Transfer-Encoding"]="chunked");throw i}throw i}}),e("SET_HTTP_HOST","afterBuild",function(e){e.httpRequest.headers.Host=e.httpRequest.endpoint.host}),e("RESTART","restart",function(){var e=this.response.error;e&&e.retryable&&(this.httpRequest=new a.HttpRequest(this.service.endpoint,this.service.region),this.response.retryCount=600?this.emit("sign",[this],function(e){e?t(e):o()}):o()}),e("HTTP_HEADERS","httpHeaders",function(e,t,r,i){r.httpResponse.statusCode=e,r.httpResponse.statusMessage=i,r.httpResponse.headers=t,r.httpResponse.body=a.util.buffer.toBuffer(""),r.httpResponse.buffers=[],r.httpResponse.numBytes=0;var s=t.date||t.Date,o=r.request.service;if(s){var n=Date.parse(s);o.config.correctClockSkew&&o.isClockSkewed(n)&&o.applyClockOffset(n)}}),e("HTTP_DATA","httpData",function(e,t){if(e){if(a.util.isNode()){t.httpResponse.numBytes+=e.length;var r=t.httpResponse.headers["content-length"],i={loaded:t.httpResponse.numBytes,total:r};t.request.emit("httpDownloadProgress",[i,t])}t.httpResponse.buffers.push(a.util.buffer.toBuffer(e))}}),e("HTTP_DONE","httpDone",function(e){if(e.httpResponse.buffers&&e.httpResponse.buffers.length>0){var t=a.util.buffer.concat(e.httpResponse.buffers);e.httpResponse.body=t}delete e.httpResponse.numBytes,delete e.httpResponse.buffers}),e("FINALIZE_ERROR","retry",function(e){e.httpResponse.statusCode&&(e.error.statusCode=e.httpResponse.statusCode,void 0===e.error.retryable&&(e.error.retryable=this.service.retryableError(e.error,this)))}),e("INVALIDATE_CREDENTIALS","retry",function(e){if(e.error)switch(e.error.code){case"RequestExpired":case"ExpiredTokenException":case"ExpiredToken":e.error.retryable=!0,e.request.service.config.credentials.expired=!0}}),e("EXPIRED_SIGNATURE","retry",function(e){var t=e.error;t&&"string"==typeof t.code&&"string"==typeof t.message&&t.code.match(/Signature/)&&t.message.match(/expired/)&&(e.error.retryable=!0)}),e("CLOCK_SKEWED","retry",function(e){e.error&&this.service.clockSkewError(e.error)&&this.service.config.correctClockSkew&&(e.error.retryable=!0)}),e("REDIRECT","retry",function(e){e.error&&e.error.statusCode>=300&&e.error.statusCode<400&&e.httpResponse.headers.location&&(this.httpRequest.endpoint=new a.Endpoint(e.httpResponse.headers.location),this.httpRequest.headers.Host=this.httpRequest.endpoint.host,e.error.redirect=!0,e.error.retryable=!0)}),e("RETRY_CHECK","retry",function(e){e.error&&(e.error.redirect&&e.redirectCount=0?(e.error=null,setTimeout(t,r)):t()})}),CorePost:(new s).addNamedListeners(function(e){e("EXTRACT_REQUEST_ID","extractData",a.util.extractRequestId),e("EXTRACT_REQUEST_ID","extractError",a.util.extractRequestId),e("ENOTFOUND_ERROR","httpError",function(e){if("NetworkingError"===e.code&&function(e){return"ENOTFOUND"===e.errno||"number"==typeof e.errno&&"function"==typeof a.util.getSystemErrorName&&["EAI_NONAME","EAI_NODATA"].indexOf(a.util.getSystemErrorName(e.errno)>=0)}(e)){var t="Inaccessible host: `"+e.hostname+"'. This service may not be available in the `"+e.region+"' region.";this.response.error=a.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 i={};return a.util.each(t,function(t,a){Object.prototype.hasOwnProperty.call(e.members,t)?i[t]=r(e.members[t],a):i[t]=a}),i;case"list":var s=[];return a.util.arrayEach(t,function(t,i){s.push(r(e.member,t))}),s;case"map":var o={};return a.util.each(t,function(t,i){o[t]=r(e.value,i)}),o;default:return t}}var i=t.request,s=i.service.config.logger;if(s){var o=function(){var o=t.request.service.getSkewCorrectedDate().getTime(),n=(o-i.startTime.getTime())/1e3,u=!!s.isTTY,p=t.httpResponse.statusCode,m=i.params;if(i.service.api.operations&&i.service.api.operations[i.operation]&&i.service.api.operations[i.operation].input){m=r(i.service.api.operations[i.operation].input,i.params)}var c=e("util").inspect(m,!0,null),l="";return u&&(l+=""),l+="[AWS "+i.service.serviceIdentifier+" "+p,l+=" "+n.toString()+"s "+t.retryCount+" retries]",u&&(l+=""),l+=" "+a.util.string.lowerFirst(i.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)}),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)})} },{"./core":333,"./discover_endpoint":341,"./protocol/json":368,"./protocol/query":369,"./protocol/rest":370,"./protocol/rest_json":371,"./protocol/rest_xml":372,"./sequential_executor":382,util:434}],355:[function(e,t,r){var i=e("./core"),a=i.util.inherit;i.Endpoint=a({constructor:function(e,t){if(i.util.hideProperties(this,["slashes","auth","hash","search","query"]),void 0===e||null===e)throw new Error("Invalid endpoint: "+e);if("string"!=typeof e)return i.util.copy(e);if(!e.match(/^http/)){e=((t&&void 0!==t.sslEnabled?t.sslEnabled:i.config.sslEnabled)?"https":"http")+"://"+e}i.util.update(this,i.util.urlParse(e)),this.port?this.port=parseInt(this.port,10):this.port="https:"===this.protocol?443:80}}),i.HttpRequest=a({constructor:function(e,t){e=new i.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()]=i.util.userAgent()},getUserAgentHeaderName:function(){return(i.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=i.util.queryStringParse(e),i.util.queryParamsToString(e)):""},updateEndpoint:function(e){var t=new i.Endpoint(e);this.endpoint=t,this.path=t.path||"/",this.headers.Host&&(this.headers.Host=t.host)}}),i.HttpResponse=a({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}}),i.HttpClient=a({}),i.HttpClient.getInstance=function(){return void 0===this.singleton&&(this.singleton=new this),this.singleton}},{"./core":333}],356:[function(e,t,r){var i=e("../core"),a=e("events").EventEmitter;e("../http"),i.XHRClient=i.util.inherit({handleRequest:function(e,t,r,s){var o=this,n=e.endpoint,u=new a,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(i.util.error(new Error("Timeout"),{code:"TimeoutError"}))},!1),m.addEventListener("error",function(){s(i.util.error(new Error("Network Failure"),{code:"NetworkingError"}))},!1),m.addEventListener("abort",function(){s(i.util.error(new Error("Request aborted"),{code:"RequestAbortedError"}))},!1),r(u),m.open(e.method,p,!1!==t.xhrAsync),i.util.each(e.headers,function(e,t){"Content-Length"!==e&&"User-Agent"!==e&&"Host"!==e&&m.setRequestHeader(e,t)}),t.timeout&&!1!==t.xhrAsync&&(m.timeout=t.timeout),t.xhrWithCredentials&&(m.withCredentials=!0);try{m.responseType="arraybuffer"}catch(e){}try{e.body?m.send(e.body):m.send()}catch(t){if(!e.body||"object"!=typeof e.body.buffer)throw t;m.send(e.body.buffer)}return u},parseHeaders:function(e){var t={};return i.util.arrayEach(e.split(/\r?\n/),function(e){var r=e.split(":",1)[0],i=e.substring(r.length+2);r.length>0&&(t[r.toLowerCase()]=i)}),t},finishRequest:function(e,t){var r;if("arraybuffer"===e.responseType&&e.response){var a=e.response;r=new i.util.Buffer(a.byteLength);for(var s=new Uint8Array(a),o=0;o-1?t||"":t,this.isJsonValue?JSON.parse(t):t&&"function"==typeof t.toString?t.toString():t},this.toWireFormat=function(e){return this.isJsonValue?JSON.stringify(e):e}}function l(){s.apply(this,arguments),this.toType=function(e){return null===e||void 0===e?null:parseFloat(e)},this.toWireFormat=this.toType}function d(){s.apply(this,arguments),this.toType=function(e){return null===e||void 0===e?null:parseInt(e,10)},this.toWireFormat=this.toType}function y(){s.apply(this,arguments),this.toType=function(e){var t=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 i=s.resolve(e,t);if(i){var a=Object.keys(e);t.documentation||(a=a.filter(function(e){return!e.match(/documentation/)}));var o=function(){i.constructor.call(this,e,t,r)};return o.prototype=i,new o}e.type||(e.members?e.type="structure":e.member?e.type="list":e.key?e.type="map":e.type="string");var n=e.type;if(s.normalizedTypes[e.type]&&(e.type=s.normalizedTypes[e.type]),s.types[e.type])return new s.types[e.type](e,t,r);throw new Error("Unrecognized shape type: "+n)},s.shapes={StructureShape:n,ListShape:u,MapShape:p,StringShape:c,BooleanShape:S,Base64Shape:b},t.exports=s},{"../util":408,"./collection":360}],365:[function(e,t,r){var i=e("./core");i.ParamValidator=i.util.inherit({constructor:function(e){!0!==e&&void 0!==e||(e={min:!0}),this.validation=e},validate:function(e,t,r){if(this.errors=[],this.validateMember(e,t||{},r||"params"),this.errors.length>1){var a=this.errors.join("\n* ");throw a="There were "+this.errors.length+" validation errors:\n* "+a,i.util.error(new Error(a),{code:"MultipleValidationErrors",errors:this.errors})}if(1===this.errors.length)throw this.errors[0];return!0},fail:function(e,t){this.errors.push(i.util.error(new Error(t),{code:e}))},validateStructure:function(e,t,r){this.validateType(t,r,["object"],"structure");for(var i,a=0;e.required&&a= 1, but found "'+t+'" for '+r)},validatePattern:function(e,t,r){this.validation.pattern&&void 0!==e.pattern&&(new RegExp(e.pattern).test(t)||this.fail("PatternMatchError",'Provided value "'+t+'" does not match regex pattern /'+e.pattern+"/ for "+r))},validateRange:function(e,t,r,i){this.validation.min&&void 0!==e.min&&t= "+e.min+", but found "+t+" for "+r),this.validation.max&&void 0!==e.max&&t>e.max&&this.fail("MaxRangeError","Expected "+i+" <= "+e.max+", but found "+t+" for "+r)},validateEnum:function(e,t,r){this.validation.enum&&void 0!==e.enum&&-1===e.enum.indexOf(t)&&this.fail("EnumError","Found string value of "+t+", but expected "+e.enum.join("|")+" for "+r)},validateType:function(e,t,r,a){if(null===e||void 0===e)return!1;for(var s=!1,o=0;o63)throw u.error(new Error,{code:"ValidationError",message:"Hostname label length should be between 1 to 63 characters, inclusive."});if(!r.test(e))throw p.util.error(new Error,{code:"ValidationError",message:e+" is not hostname compatible."})})}var u=e("../util"),p=e("../core");t.exports={populateHostPrefix:i}},{"../core":333,"../util":408}],368:[function(e,t,r){function i(e){var t=e.httpRequest,r=e.service.api,i=r.targetPrefix+"."+r.operations[e.operation].name,a=r.jsonVersion||"1.0",s=r.operations[e.operation].input,o=new n;1===a&&(a="1.0"),t.body=o.build(e.params||{},s),t.headers["Content-Type"]="application/x-amz-json-"+a,t.headers["X-Amz-Target"]=i,p(e)}function a(e){var t={},r=e.httpResponse;if(t.code=r.headers["x-amzn-errortype"]||"UnknownError","string"==typeof t.code&&(t.code=t.code.split(":")[0]),r.body.length>0)try{var i=JSON.parse(r.body.toString()),a=i.__type||i.code||i.Code;a&&(t.code=a.split("#").pop()),"RequestEntityTooLarge"===t.code?t.message="Request body must be less than 1 MB":t.message=i.message||i.Message||null}catch(i){t.statusCode=r.statusCode,t.message=r.statusMessage}else t.statusCode=r.statusCode,t.message=r.statusCode.toString();e.error=o.error(new Error,t)}function s(e){var t=e.httpResponse.body.toString()||"{}";if(!1===e.request.service.config.convertResponseTypes)e.data=JSON.parse(t);else{var r=e.request.service.api.operations[e.request.operation],i=r.output||{},a=new u;e.data=a.parse(t,i)}}var o=e("../util"),n=e("../json/builder"),u=e("../json/parser"),p=e("./helpers").populateHostPrefix;t.exports={buildRequest:i,extractError:a,extractData:s}},{"../json/builder":357,"../json/parser":358,"../util":408,"./helpers":367}],369:[function(e,t,r){function i(e){var t=e.service.api.operations[e.operation],r=e.httpRequest;r.headers["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8",r.params={Version:e.service.api.apiVersion,Action:t.name},(new u).serialize(e.params,t.input,function(e,t){r.params[e]=t}),r.body=n.queryParamsToString(r.params),m(e)}function a(e){var t,r=e.httpResponse.body.toString();if(r.match("=0?"&":"?";var n=[];m.arrayEach(Object.keys(s).sort(),function(e){Array.isArray(s[e])||(s[e]=[s[e]]);for(var t=0;t0){t=new n.XML.Parser;var c=t.parse(i.toString(),s);u.update(e.data,c)}}var n=e("../core"),u=e("../util"),p=e("./rest");t.exports={buildRequest:a,extractError:s,extractData:o}},{"../core":333,"../util":408,"./rest":370}],373:[function(e,t,r){function i(){}function a(e){return e.isQueryName||"ec2"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function s(e,t,r,i){p.each(r.members,function(r,s){var o=t[r];if(null!==o&&void 0!==o){var n=a(s);n=e?e+"."+n:n,u(n,o,s,i)}})}function o(e,t,r,i){var a=1;p.each(t,function(t,s){var o=r.flattened?".":".entry.",n=o+a+++".",p=n+(r.key.name||"key"),m=n+(r.value.name||"value");u(e+p,t,r.key,i),u(e+m,s,r.value,i)})}function n(e,t,r,i){var s=r.member||{};if(0===t.length)return void i.call(this,e,null);p.arrayEach(t,function(t,o){var n="."+(o+1);if("ec2"===r.api.protocol)n+="";else if(r.flattened){if(s.name){var p=e.split(".");p.pop(),p.push(a(s)),e=p.join(".")}}else n="."+(s.name?s.name:"member")+n;u(e+n,t,s,i)})}function u(e,t,r,i){null!==t&&void 0!==t&&("structure"===r.type?s(e,t,r,i):"list"===r.type?n(e,t,r,i):"map"===r.type?o(e,t,r,i):i(e,r.toWireFormat(t).toString()))}var p=e("../util");i.prototype.serialize=function(e,t,r){s("",e,t,r)},t.exports=i},{"../util":408}],374:[function(e,t,r){var i=e("../core"),a=null,s={signatureVersion:"v4",signingName:"rds-db",operations:{}},o={region:"string",hostname:"string",port:"number",username:"string"};i.RDS.Signer=i.util.inherit({constructor:function(e){this.options=e||{}},convertUrlToAuthToken:function(e){if(0===e.indexOf("https://"))return e.substring("https://".length)},getAuthToken:function(e,t){"function"==typeof e&&void 0===t&&(t=e,e={});var r=this,o="function"==typeof t;e=i.util.merge(this.options,e);var n=this.validateAuthTokenOptions(e);if(!0!==n){if(o)return t(n,null);throw n}var u={region:e.region,endpoint:new i.Endpoint(e.hostname+":"+e.port),paramValidation:!1,signatureVersion:"v4"};e.credentials&&(u.credentials=e.credentials),a=new i.Service(u),a.api=s;var p=a.makeRequest();if(this.modifyRequestForAuthToken(p,e),!o){var m=p.presign(900);return this.convertUrlToAuthToken(m)}p.presign(900,function(e,i){i&&(i=r.convertUrlToAuthToken(i)),t(e,i)})},modifyRequestForAuthToken:function(e,t){e.on("build",e.buildAsGet),e.httpRequest.body=i.util.queryParamsToString({Action:"connect",DBUser:t.username})},validateAuthTokenOptions:function(e){var t="";e=e||{};for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&typeof e[r]!==o[r]&&(t+="option '"+r+"' should have been type '"+o[r]+"', was '"+typeof e[r]+"'.\n");return!t.length||i.util.error(new Error,{code:"InvalidParameter",message:t})}})},{"../core":333}],375:[function(e,t,r){t.exports={now:function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}}},{}],376:[function(e,t,r){function i(e){if(!e)return null;var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}function a(e){var t=e.config.region,r=i(t),a=e.api.endpointPrefix;return[[t,a],[r,a],[t,"*"],[r,"*"],["*",a],["*","*"]].map(function(e){return e[0]&&e[1]?e.join("/"):null})}function s(e,t){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=a(e),r=0;r=0){u=!0;var p=0}var m=function(){u&&p!==n?a.emit("error",i.util.error(new Error("Stream content length mismatch. Received "+p+" of "+n+" bytes."),{code:"StreamContentLengthMismatch"})):2===i.HttpClient.streamsApiVersion?a.end():a.emit("end")},c=o.httpResponse.createUnbufferedStream();if(2===i.HttpClient.streamsApiVersion)if(u){var l=new e.PassThrough;l._write=function(t){return t&&t.length&&(p+=t.length),e.PassThrough.prototype._write.apply(this,arguments)},l.on("end",m),a.on("error",function(e){u=!1,c.unpipe(l),l.emit("end"),l.end()}),c.pipe(l).pipe(a,{end:!1})}else c.pipe(a);else u&&c.on("data",function(e){e&&e.length&&(p+=e.length)}),c.on("data",function(e){a.emit("data",e)}),c.on("end",m);c.on("error",function(e){u=!1,a.emit("error",e)})}}),a},emitEvent:function(e,t,r){"function"==typeof t&&(r=t,t=null),r||(r=function(){}),t||(t=this.eventParameters(e,this.response)),i.SequentialExecutor.prototype.emit.call(this,e,t,function(e){e&&(this.response.error=e),r.call(this,e)})},eventParameters:function(e){switch(e){case"restart":case"validate":case"sign":case"build":case"afterValidate":case"afterBuild":return[this];case"error":return[this.response.error,this.response];default:return[this.response]}},presign:function(e,t){return t||"function"!=typeof e||(t=e,e=null),(new i.Signers.Presign).sign(this.toGet(),e,t)},isPresigned:function(){return Object.prototype.hasOwnProperty.call(this.httpRequest.headers,"presigned-expires")},toUnauthenticated:function(){return this._unAuthenticated=!0,this.removeListener("validate",i.EventListeners.Core.VALIDATE_CREDENTIALS),this.removeListener("sign",i.EventListeners.Core.SIGN),this},toGet:function(){return"query"!==this.service.api.protocol&&"ec2"!==this.service.api.protocol||(this.removeListener("build",this.buildAsGet),this.addListener("build",this.buildAsGet)),this},buildAsGet:function(e){e.httpRequest.method="GET",e.httpRequest.path=e.service.endpoint.path+"?"+e.httpRequest.body,e.httpRequest.body="",delete e.httpRequest.headers["Content-Length"],delete e.httpRequest.headers["Content-Type"]},haltHandlersOnError:function(){this._haltHandlersOnError=!0}}),i.Request.addPromisesToClass=function(e){this.prototype.promise=function(){var t=this;return this.httpRequest.appendToUserAgent("promise"),new e(function(e,r){t.on("complete",function(t){t.error?r(t.error):e(Object.defineProperty(t.data||{},"$response",{value:t}))}),t.runTo()})}},i.Request.deletePromisesFromClass=function(){delete this.prototype.promise},i.util.addPromises(i.Request),i.util.mixin(i.Request,i.SequentialExecutor)}).call(this)}).call(this,e("_process"))},{"./core":333,"./state_machine":407,_process:422,jmespath:421}],379:[function(e,t,r){function i(e){var t=e.request._waiter,r=t.config.acceptors,i=!1,a="retry";r.forEach(function(r){if(!i){var s=t.matchers[r.matcher];s&&s(e,r.expected,r.argument)&&(i=!0,a=r.state)}}),!i&&e.error&&(a="failure"),"success"===a?t.setSuccess(e):t.setError(e,"retry"===a)}var a=e("./core"),s=a.util.inherit,o=e("jmespath");a.ResourceWaiter=s({constructor:function(e,t){this.service=e,this.state=t,this.loadWaiterConfig(this.state)},service:null,state:null,config:null,matchers:{path:function(e,t,r){try{var i=o.search(e.data,r)}catch(e){return!1}return o.strictDeepEqual(i,t)},pathAll:function(e,t,r){try{var i=o.search(e.data,r)}catch(e){return!1}Array.isArray(i)||(i=[i]);var a=i.length;if(!a)return!1;for(var s=0;s=1&&t.doneParts===t.numParts&&t.finishMultiPart()}))}r&&t.fillQueue.call(t)},abort:function(){var e=this;!0===e.isDoneChunking&&1===e.totalPartNumbers&&e.singlePart?e.singlePart.abort():e.cleanup(i.util.error(new Error("Request aborted by user"),{code:"RequestAbortedError",retryable:!1}))},validateBody:function(){var e=this;if(e.body=e.service.config.params.Body,"string"==typeof e.body)e.body=i.util.buffer.toBuffer(e.body);else if(!e.body)throw new Error("params.Body is required");e.sliceFn=i.util.arraySliceFn(e.body)},bindServiceObject:function(e){e=e||{};var t=this;if(t.service){var r=t.service,a=i.util.copy(r._originalConfig||{});a.signatureVersion=r.getSignatureVersion(),t.service=new r.constructor.__super__(a),t.service.config.params=i.util.merge(t.service.config.params||{},e)}else t.service=new i.S3({params:e})},adjustTotalBytes:function(){var e=this;try{e.totalBytes=a(e.body)}catch(e){}if(e.totalBytes){var t=Math.ceil(e.totalBytes/e.maxTotalParts);t>e.partSize&&(e.partSize=t)}else e.totalBytes=void 0},isDoneChunking:!1,partPos:0,totalChunkedBytes:0,totalUploadedBytes:0,totalBytes:void 0,numParts:0,totalPartNumbers:0,activeParts:0,doneParts:0,parts:null,completeInfo:null,failed:!1,multipartReq:null,partBuffers:null,partBufferLength:0,fillBuffer:function(){var e=this,t=a(e.body);if(0===t)return e.isDoneChunking=!0,e.numParts=1,void e.nextChunk(e.body);for(;e.activeParts=e.queueSize)){var t=e.body.read(e.partSize-e.partBufferLength)||e.body.read();if(t&&(e.partBuffers.push(t),e.partBufferLength+=t.length,e.totalChunkedBytes+=t.length),e.partBufferLength>=e.partSize){var r=1===e.partBuffers.length?e.partBuffers[0]:s.concat(e.partBuffers);if(e.partBuffers=[],e.partBufferLength=0,r.length>e.partSize){var i=r.slice(e.partSize);e.partBuffers.push(i),e.partBufferLength+=i.length,r=r.slice(0,e.partSize)}e.nextChunk(r)}e.isDoneChunking&&!e.isDoneSending&&(r=1===e.partBuffers.length?e.partBuffers[0]:s.concat(e.partBuffers),e.partBuffers=[],e.partBufferLength=0,e.totalBytes=e.totalChunkedBytes,e.isDoneSending=!0,(0===e.numParts||r.length>0)&&(e.numParts++,e.nextChunk(r))),e.body.read(0)}},nextChunk:function(e){var t=this;if(t.failed)return null;var r=++t.totalPartNumbers;if(t.isDoneChunking&&1===r){var a={Body:e};this.tags&&(a.Tagging=this.getTaggingHeader());var s=t.service.putObject(a);return s._managedUpload=t,s.on("httpUploadProgress",t.progress).send(t.finishSinglePart),t.singlePart=s,null}if(t.service.config.params.ContentMD5){var o=i.util.error(new Error("The Content-MD5 you specified is invalid for multi-part uploads."),{code:"InvalidDigest",retryable:!1});return t.cleanup(o),null}if(t.completeInfo[r]&&null!==t.completeInfo[r].ETag)return null;t.activeParts++,t.service.config.params.UploadId?t.uploadPart(e,r):t.multipartReq?t.queueChunks(e,r):(t.multipartReq=t.service.createMultipartUpload(),t.multipartReq.on("success",function(e){t.service.config.params.UploadId=e.data.UploadId,t.multipartReq=null}),t.queueChunks(e,r),t.multipartReq.on("error",function(e){t.cleanup(e)}),t.multipartReq.send())},getTaggingHeader:function(){for(var e=[],t=0;t-1&&r.splice(a,1)}return this},removeAllListeners:function(e){return e?delete this._events[e]:this._events={},this},emit:function(e,t,r){r||(r=function(){});var i=this.listeners(e),a=i.length;return this.callListeners(i,t,r),a>0},callListeners:function(e,t,r,a){function s(a){if(a&&(n=i.util.error(n||new Error,a),o._haltHandlersOnError))return r.call(o,n);o.callListeners(e,t,r,n)}for(var o=this,n=a||null;e.length>0;){var u=e.shift();if(u._isAsync)return void u.apply(o,t.concat([s]));try{u.apply(o,t)}catch(e){n=i.util.error(n||new Error,e)}if(n&&o._haltHandlersOnError)return void r.call(o,n)}r.call(o,n)},addListeners:function(e){var t=this;return e._events&&(e=e._events),i.util.each(e,function(e,r){"function"==typeof r&&(r=[r]),i.util.arrayEach(r,function(r){t.on(e,r)})}),t},addNamedListener:function(e,t,r,i){return this[e]=r,this.addListener(t,r,i),this},addNamedAsyncListener:function(e,t,r,i){return r._isAsync=!0,this.addNamedListener(e,t,r,i)},addNamedListeners:function(e){var t=this;return e(function(){t.addNamedListener.apply(t,arguments)},function(){t.addNamedAsyncListener.apply(t,arguments)}),this}}),i.SequentialExecutor.prototype.addListener=i.SequentialExecutor.prototype.on,t.exports=i.SequentialExecutor},{"./core":333}],383:[function(e,t,r){(function(r){(function(){var i=e("./core"),a=e("./model/api"),s=e("./region_config"),o=i.util.inherit,n=0;i.Service=o({constructor:function(e){if(!this.loadServiceClass)throw i.util.error(new Error,"Service must be constructed with `new' operator");var t=this.loadServiceClass(e||{});if(t){var r=i.util.copy(e),a=new t(e);return Object.defineProperty(a,"_originalConfig",{get:function(){return r},enumerable:!1,configurable:!0}),a._clientId=++n,a}this.initialize(e)},initialize:function(e){var t=i.config[this.serviceIdentifier];if(this.config=new i.Config(i.config),t&&this.config.update(t,!0),e&&this.config.update(e,!0),this.validateService(),this.config.endpoint||s.configureEndpoint(this),this.config.endpoint=this.endpointFromTemplate(this.config.endpoint),this.setEndpoint(this.config.endpoint),i.SequentialExecutor.call(this),i.Service.addDefaultMonitoringListeners(this),(this.config.clientSideMonitoring||i.Service._clientSideMonitoring)&&this.publisher){var a=this.publisher;this.addNamedListener("PUBLISH_API_CALL","apiCall",function(e){r.nextTick(function(){a.eventHandler(e)})}),this.addNamedListener("PUBLISH_API_ATTEMPT","apiCallAttempt",function(e){r.nextTick(function(){a.eventHandler(e)})})}},validateService:function(){},loadServiceClass:function(e){var t=e;if(i.util.isEmpty(this.api)){if(t.apiConfig)return i.Service.defineServiceApi(this.constructor,t.apiConfig);if(this.constructor.services){t=new i.Config(i.config),t.update(e,!0);var r=t.apiVersions[this.constructor.serviceIdentifier];return r=r||t.apiVersion,this.getLatestServiceClass(r)}return null}return null},getLatestServiceClass:function(e){return e=this.getLatestServiceVersion(e),null===this.constructor.services[e]&&i.Service.defineServiceApi(this.constructor,e),this.constructor.services[e]},getLatestServiceVersion:function(e){if(!this.constructor.services||0===this.constructor.services.length)throw new Error("No services defined on "+this.constructor.serviceIdentifier);if(e?i.util.isType(e,Date)&&(e=i.util.date.iso8601(e).split("T")[0]):e="latest",Object.hasOwnProperty(this.constructor.services,e))return e;for(var t=Object.keys(this.constructor.services).sort(),r=null,a=t.length-1;a>=0;a--)if("*"!==t[a][t[a].length-1]&&(r=t[a]),t[a].substr(0,10)<=e)return r;throw new Error("Could not find "+this.constructor.serviceIdentifier+" API to satisfy version constraint `"+e+"'")},api:{},defaultRetryCount:3,customizeRequests:function(e){if(e){if("function"!=typeof e)throw new Error("Invalid callback type '"+typeof e+"' provided in customizeRequests");this.customRequestHandler=e}else this.customRequestHandler=null},makeRequest:function(e,t,r){if("function"==typeof t&&(r=t,t=null),t=t||{},this.config.params){var a=this.api.operations[e];a&&(t=i.util.copy(t),i.util.each(this.config.params,function(e,r){a.input.members[e]&&(void 0!==t[e]&&null!==t[e]||(t[e]=r))}))}var s=new i.Request(this,e,t);return this.addAllRequestListeners(s),this.attachMonitoringEmitter(s),r&&s.send(r),s},makeUnauthenticatedRequest:function(e,t,r){"function"==typeof t&&(r=t,t={});var i=this.makeRequest(e,t).toUnauthenticated();return r?i.send(r):i},waitFor:function(e,t,r){return new i.ResourceWaiter(this,e).wait(t,r)},addAllRequestListeners:function(e){for(var t=[i.events,i.EventListeners.Core,this.serviceInterface(),i.EventListeners.CorePost],r=0;r299?(a.code&&(r.FinalAwsException=a.code),a.message&&(r.FinalAwsExceptionMessage=a.message)):((a.code||a.name)&&(r.FinalSdkException=a.code||a.name),a.message&&(r.FinalSdkExceptionMessage=a.message))}return r},apiAttemptEvent:function(e){var t=e.service.api.operations[e.operation],r={Type:"ApiCallAttempt",Api:t?t.name:e.operation,Version:1,Service:e.service.api.serviceId||e.service.api.endpointPrefix,Fqdn:e.httpRequest.endpoint.hostname,UserAgent:e.httpRequest.getUserAgent()},i=e.response;return i.httpResponse.statusCode&&(r.HttpStatusCode=i.httpResponse.statusCode),!e._unAuthenticated&&e.service.config.credentials&&e.service.config.credentials.accessKeyId&&(r.AccessKey=e.service.config.credentials.accessKeyId),i.httpResponse.headers?(e.httpRequest.headers["x-amz-security-token"]&&(r.SessionToken=e.httpRequest.headers["x-amz-security-token"]),i.httpResponse.headers["x-amzn-requestid"]&&(r.XAmznRequestId=i.httpResponse.headers["x-amzn-requestid"]),i.httpResponse.headers["x-amz-request-id"]&&(r.XAmzRequestId=i.httpResponse.headers["x-amz-request-id"]),i.httpResponse.headers["x-amz-id-2"]&&(r.XAmzId2=i.httpResponse.headers["x-amz-id-2"]),r):r},attemptFailEvent:function(e){var t=this.apiAttemptEvent(e),r=e.response,i=r.error;return r.httpResponse.statusCode>299?(i.code&&(t.AwsException=i.code),i.message&&(t.AwsExceptionMessage=i.message)):((i.code||i.name)&&(t.SdkException=i.code||i.name),i.message&&(t.SdkExceptionMessage=i.message)),t},attachMonitoringEmitter:function(e){var t,r,a,s,o,n,u=0,p=this;e.on("validate",function(){s=i.util.realClock.now(),n=Date.now()},!0),e.on("sign",function(){r=i.util.realClock.now(),t=Date.now(),o=e.httpRequest.region,u++},!0),e.on("validateResponse",function(){a=Math.round(i.util.realClock.now()-r)}), diff --git a/lib/core.js b/lib/core.js index ea53bf7ea6..1ba4122d86 100644 --- a/lib/core.js +++ b/lib/core.js @@ -20,7 +20,7 @@ AWS.util.update(AWS, { /** * @constant */ - VERSION: '2.878.0', + VERSION: '2.879.0', /** * @api private diff --git a/package.json b/package.json index e522f5479f..ea3815e058 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "aws-sdk", "description": "AWS SDK for JavaScript", - "version": "2.878.0", + "version": "2.879.0", "author": { "name": "Amazon Web Services", "email": "",