diff --git a/.changes/2.940.0.json b/.changes/2.940.0.json new file mode 100644 index 0000000000..246afc8cdb --- /dev/null +++ b/.changes/2.940.0.json @@ -0,0 +1,22 @@ +[ + { + "type": "feature", + "category": "EKS", + "description": "Adding new error code UnsupportedAddonModification for Addons in EKS" + }, + { + "type": "feature", + "category": "Imagebuilder", + "description": "Adds support for specifying parameters to customize components for recipes. Expands configuration of the Amazon EC2 instances that are used for building and testing images, including the ability to specify commands to run on launch, and more control over installation and removal of the SSM agent." + }, + { + "type": "feature", + "category": "Lambda", + "description": "Added support for AmazonMQRabbitMQ as an event source. Added support for VIRTUAL_HOST as SourceAccessType for streams event source mappings." + }, + { + "type": "feature", + "category": "Mgn", + "description": "Bug fix: Remove not supported EBS encryption type \"NONE\"" + } +] \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 64ab80bf89..a714695bca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,13 @@ # Changelog for AWS SDK for JavaScript - + +## 2.940.0 +* feature: EKS: Adding new error code UnsupportedAddonModification for Addons in EKS +* feature: Imagebuilder: Adds support for specifying parameters to customize components for recipes. Expands configuration of the Amazon EC2 instances that are used for building and testing images, including the ability to specify commands to run on launch, and more control over installation and removal of the SSM agent. +* feature: Lambda: Added support for AmazonMQRabbitMQ as an event source. Added support for VIRTUAL_HOST as SourceAccessType for streams event source mappings. +* feature: Mgn: Bug fix: Remove not supported EBS encryption type "NONE" + ## 2.939.0 * feature: EC2: This release removes network-insights-boundary * feature: cloudhsmv2: Enable CORS diff --git a/README.md b/README.md index 42420ac332..886980e523 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/eks-2017-11-01.normal.json b/apis/eks-2017-11-01.normal.json index ceace99f76..db679537fa 100644 --- a/apis/eks-2017-11-01.normal.json +++ b/apis/eks-2017-11-01.normal.json @@ -1107,7 +1107,8 @@ "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", - "AdmissionRequestDenied" + "AdmissionRequestDenied", + "UnsupportedAddonModification" ] }, "AddonIssueList": { @@ -2049,7 +2050,8 @@ "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", - "AdmissionRequestDenied" + "AdmissionRequestDenied", + "UnsupportedAddonModification" ] }, "ErrorDetail": { diff --git a/apis/imagebuilder-2019-12-02.min.json b/apis/imagebuilder-2019-12-02.min.json index dff463f6bc..dd2b5af1dc 100644 --- a/apis/imagebuilder-2019-12-02.min.json +++ b/apis/imagebuilder-2019-12-02.min.json @@ -107,7 +107,7 @@ "shape": "Sl" }, "instanceConfiguration": { - "shape": "So" + "shape": "St" }, "dockerfileTemplateData": {}, "dockerfileTemplateUri": {}, @@ -119,7 +119,7 @@ }, "workingDirectory": {}, "targetRepository": { - "shape": "Sy" + "shape": "S13" }, "kmsKeyId": {}, "clientToken": { @@ -152,7 +152,7 @@ "name": {}, "description": {}, "distributions": { - "shape": "S13" + "shape": "S18" }, "tags": { "shape": "Se" @@ -188,7 +188,7 @@ "distributionConfigurationArn": {}, "infrastructureConfigurationArn": {}, "imageTestsConfiguration": { - "shape": "S1n" + "shape": "S1s" }, "enhancedImageMetadataEnabled": { "type": "boolean" @@ -230,13 +230,13 @@ "infrastructureConfigurationArn": {}, "distributionConfigurationArn": {}, "imageTestsConfiguration": { - "shape": "S1n" + "shape": "S1s" }, "enhancedImageMetadataEnabled": { "type": "boolean" }, "schedule": { - "shape": "S1r" + "shape": "S1w" }, "status": {}, "tags": { @@ -279,12 +279,15 @@ }, "parentImage": {}, "blockDeviceMappings": { - "shape": "Sp" + "shape": "Su" }, "tags": { "shape": "Se" }, "workingDirectory": {}, + "additionalInstanceConfiguration": { + "shape": "S23" + }, "clientToken": { "idempotencyToken": true } @@ -315,15 +318,15 @@ "name": {}, "description": {}, "instanceTypes": { - "shape": "S20" + "shape": "S28" }, "instanceProfileName": {}, "securityGroupIds": { - "shape": "S23" + "shape": "S2b" }, "subnetId": {}, "logging": { - "shape": "S24" + "shape": "S2c" }, "keyPair": {}, "terminateInstanceOnFailure": { @@ -331,7 +334,7 @@ }, "snsTopicArn": {}, "resourceTags": { - "shape": "S27" + "shape": "S2f" }, "tags": { "shape": "Se" @@ -559,6 +562,24 @@ "supportedOsVersions": { "shape": "Sa" }, + "parameters": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "name", + "type" + ], + "members": { + "name": {}, + "type": {}, + "defaultValue": { + "shape": "Sr" + }, + "description": {} + } + } + }, "owner": {}, "data": {}, "kmsKeyId": {}, @@ -621,7 +642,7 @@ "members": { "requestId": {}, "containerRecipe": { - "shape": "S2z" + "shape": "S3b" } } } @@ -673,7 +694,7 @@ "members": { "requestId": {}, "distributionConfiguration": { - "shape": "S35" + "shape": "S3h" } } } @@ -712,28 +733,28 @@ }, "osVersion": {}, "state": { - "shape": "S3c" + "shape": "S3o" }, "imageRecipe": { - "shape": "S3e" + "shape": "S3q" }, "containerRecipe": { - "shape": "S2z" + "shape": "S3b" }, "sourcePipelineName": {}, "sourcePipelineArn": {}, "infrastructureConfiguration": { - "shape": "S3g" + "shape": "S3s" }, "distributionConfiguration": { - "shape": "S35" + "shape": "S3h" }, "imageTestsConfiguration": { - "shape": "S1n" + "shape": "S1s" }, "dateCreated": {}, "outputResources": { - "shape": "S3h" + "shape": "S3t" }, "tags": { "shape": "Se" @@ -765,7 +786,7 @@ "members": { "requestId": {}, "imagePipeline": { - "shape": "S3o" + "shape": "S40" } } } @@ -817,7 +838,7 @@ "members": { "requestId": {}, "imageRecipe": { - "shape": "S3e" + "shape": "S3q" } } } @@ -869,7 +890,7 @@ "members": { "requestId": {}, "infrastructureConfiguration": { - "shape": "S3g" + "shape": "S3s" } } } @@ -974,7 +995,7 @@ "members": { "owner": {}, "filters": { - "shape": "S49" + "shape": "S4l" }, "byName": { "type": "boolean" @@ -1021,7 +1042,7 @@ "members": { "owner": {}, "filters": { - "shape": "S49" + "shape": "S4l" }, "maxResults": { "type": "integer" @@ -1063,7 +1084,7 @@ "type": "structure", "members": { "filters": { - "shape": "S49" + "shape": "S4l" }, "maxResults": { "type": "integer" @@ -1111,7 +1132,7 @@ "members": { "imageVersionArn": {}, "filters": { - "shape": "S49" + "shape": "S4l" }, "maxResults": { "type": "integer" @@ -1124,7 +1145,7 @@ "members": { "requestId": {}, "imageSummaryList": { - "shape": "S4t" + "shape": "S55" }, "nextToken": {} } @@ -1177,7 +1198,7 @@ "members": { "imagePipelineArn": {}, "filters": { - "shape": "S49" + "shape": "S4l" }, "maxResults": { "type": "integer" @@ -1190,7 +1211,7 @@ "members": { "requestId": {}, "imageSummaryList": { - "shape": "S4t" + "shape": "S55" }, "nextToken": {} } @@ -1204,7 +1225,7 @@ "type": "structure", "members": { "filters": { - "shape": "S49" + "shape": "S4l" }, "maxResults": { "type": "integer" @@ -1219,7 +1240,7 @@ "imagePipelineList": { "type": "list", "member": { - "shape": "S3o" + "shape": "S40" } }, "nextToken": {} @@ -1235,7 +1256,7 @@ "members": { "owner": {}, "filters": { - "shape": "S49" + "shape": "S4l" }, "maxResults": { "type": "integer" @@ -1277,7 +1298,7 @@ "members": { "owner": {}, "filters": { - "shape": "S49" + "shape": "S4l" }, "byName": { "type": "boolean" @@ -1323,7 +1344,7 @@ "type": "structure", "members": { "filters": { - "shape": "S49" + "shape": "S4l" }, "maxResults": { "type": "integer" @@ -1346,13 +1367,13 @@ "dateCreated": {}, "dateUpdated": {}, "resourceTags": { - "shape": "S27" + "shape": "S2f" }, "tags": { "shape": "Se" }, "instanceTypes": { - "shape": "S20" + "shape": "S28" }, "instanceProfileName": {} } @@ -1581,7 +1602,7 @@ "distributionConfigurationArn": {}, "description": {}, "distributions": { - "shape": "S13" + "shape": "S18" }, "clientToken": { "idempotencyToken": true @@ -1617,13 +1638,13 @@ "infrastructureConfigurationArn": {}, "distributionConfigurationArn": {}, "imageTestsConfiguration": { - "shape": "S1n" + "shape": "S1s" }, "enhancedImageMetadataEnabled": { "type": "boolean" }, "schedule": { - "shape": "S1r" + "shape": "S1w" }, "status": {}, "clientToken": { @@ -1656,15 +1677,15 @@ "infrastructureConfigurationArn": {}, "description": {}, "instanceTypes": { - "shape": "S20" + "shape": "S28" }, "instanceProfileName": {}, "securityGroupIds": { - "shape": "S23" + "shape": "S2b" }, "subnetId": {}, "logging": { - "shape": "S24" + "shape": "S2c" }, "keyPair": {}, "terminateInstanceOnFailure": { @@ -1675,7 +1696,7 @@ "idempotencyToken": true }, "resourceTags": { - "shape": "S27" + "shape": "S2f" } } }, @@ -1707,20 +1728,40 @@ "componentArn" ], "members": { - "componentArn": {} + "componentArn": {}, + "parameters": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "name", + "value" + ], + "members": { + "name": {}, + "value": { + "shape": "Sr" + } + } + } + } } } }, - "So": { + "Sr": { + "type": "list", + "member": {} + }, + "St": { "type": "structure", "members": { "image": {}, "blockDeviceMappings": { - "shape": "Sp" + "shape": "Su" } } }, - "Sp": { + "Su": { "type": "list", "member": { "type": "structure", @@ -1751,7 +1792,7 @@ } } }, - "Sy": { + "S13": { "type": "structure", "required": [ "service", @@ -1762,7 +1803,7 @@ "repositoryName": {} } }, - "S13": { + "S18": { "type": "list", "member": { "type": "structure", @@ -1777,7 +1818,7 @@ "name": {}, "description": {}, "targetAccountIds": { - "shape": "S17" + "shape": "S1c" }, "amiTags": { "shape": "Se" @@ -1787,10 +1828,10 @@ "type": "structure", "members": { "userIds": { - "shape": "S17" + "shape": "S1c" }, "userGroups": { - "shape": "S1a" + "shape": "S1f" } } } @@ -1804,10 +1845,10 @@ "members": { "description": {}, "containerTags": { - "shape": "S1a" + "shape": "S1f" }, "targetRepository": { - "shape": "Sy" + "shape": "S13" } } }, @@ -1834,15 +1875,15 @@ } } }, - "S17": { + "S1c": { "type": "list", "member": {} }, - "S1a": { + "S1f": { "type": "list", "member": {} }, - "S1n": { + "S1s": { "type": "structure", "members": { "imageTestsEnabled": { @@ -1853,7 +1894,7 @@ } } }, - "S1r": { + "S1w": { "type": "structure", "members": { "scheduleExpression": {}, @@ -1861,15 +1902,29 @@ "pipelineExecutionStartCondition": {} } }, - "S20": { + "S23": { + "type": "structure", + "members": { + "systemsManagerAgent": { + "type": "structure", + "members": { + "uninstallAfterBuild": { + "type": "boolean" + } + } + }, + "userDataOverride": {} + } + }, + "S28": { "type": "list", "member": {} }, - "S23": { + "S2b": { "type": "list", "member": {} }, - "S24": { + "S2c": { "type": "structure", "members": { "s3Logs": { @@ -1881,12 +1936,12 @@ } } }, - "S27": { + "S2f": { "type": "map", "key": {}, "value": {} }, - "S2z": { + "S3b": { "type": "structure", "members": { "arn": {}, @@ -1900,7 +1955,7 @@ "shape": "Sl" }, "instanceConfiguration": { - "shape": "So" + "shape": "St" }, "dockerfileTemplateData": {}, "kmsKeyId": {}, @@ -1914,11 +1969,11 @@ }, "workingDirectory": {}, "targetRepository": { - "shape": "Sy" + "shape": "S13" } } }, - "S35": { + "S3h": { "type": "structure", "required": [ "timeoutMinutes" @@ -1928,7 +1983,7 @@ "name": {}, "description": {}, "distributions": { - "shape": "S13" + "shape": "S18" }, "timeoutMinutes": { "type": "integer" @@ -1940,14 +1995,14 @@ } } }, - "S3c": { + "S3o": { "type": "structure", "members": { "status": {}, "reason": {} } }, - "S3e": { + "S3q": { "type": "structure", "members": { "arn": {}, @@ -1962,31 +2017,34 @@ }, "parentImage": {}, "blockDeviceMappings": { - "shape": "Sp" + "shape": "Su" }, "dateCreated": {}, "tags": { "shape": "Se" }, - "workingDirectory": {} + "workingDirectory": {}, + "additionalInstanceConfiguration": { + "shape": "S23" + } } }, - "S3g": { + "S3s": { "type": "structure", "members": { "arn": {}, "name": {}, "description": {}, "instanceTypes": { - "shape": "S20" + "shape": "S28" }, "instanceProfileName": {}, "securityGroupIds": { - "shape": "S23" + "shape": "S2b" }, "subnetId": {}, "logging": { - "shape": "S24" + "shape": "S2c" }, "keyPair": {}, "terminateInstanceOnFailure": { @@ -1996,14 +2054,14 @@ "dateCreated": {}, "dateUpdated": {}, "resourceTags": { - "shape": "S27" + "shape": "S2f" }, "tags": { "shape": "Se" } } }, - "S3h": { + "S3t": { "type": "structure", "members": { "amis": { @@ -2016,7 +2074,7 @@ "name": {}, "description": {}, "state": { - "shape": "S3c" + "shape": "S3o" }, "accountId": {} } @@ -2029,14 +2087,14 @@ "members": { "region": {}, "imageUris": { - "shape": "S1a" + "shape": "S1f" } } } } } }, - "S3o": { + "S40": { "type": "structure", "members": { "arn": {}, @@ -2051,10 +2109,10 @@ "infrastructureConfigurationArn": {}, "distributionConfigurationArn": {}, "imageTestsConfiguration": { - "shape": "S1n" + "shape": "S1s" }, "schedule": { - "shape": "S1r" + "shape": "S1w" }, "status": {}, "dateCreated": {}, @@ -2066,7 +2124,7 @@ } } }, - "S49": { + "S4l": { "type": "list", "member": { "type": "structure", @@ -2079,7 +2137,7 @@ } } }, - "S4t": { + "S55": { "type": "list", "member": { "type": "structure", @@ -2091,12 +2149,12 @@ "platform": {}, "osVersion": {}, "state": { - "shape": "S3c" + "shape": "S3o" }, "owner": {}, "dateCreated": {}, "outputResources": { - "shape": "S3h" + "shape": "S3t" }, "tags": { "shape": "Se" diff --git a/apis/imagebuilder-2019-12-02.normal.json b/apis/imagebuilder-2019-12-02.normal.json index 4fd5036c40..9d754e2a03 100644 --- a/apis/imagebuilder-2019-12-02.normal.json +++ b/apis/imagebuilder-2019-12-02.normal.json @@ -1286,7 +1286,7 @@ "shape": "CallRateLimitExceededException" } ], - "documentation": "

List the Packages that are associated with an Image Build Version, as determined by AWS Systems Manager Inventory at build time.

" + "documentation": "

List the Packages that are associated with an Image Build Version, as determined by Amazon EC2 Systems Manager Inventory at build time.

" }, "ListImagePipelineImages": { "name": "ListImagePipelineImages", @@ -1891,24 +1891,38 @@ "max": 1536, "min": 1 }, + "AdditionalInstanceConfiguration": { + "type": "structure", + "members": { + "systemsManagerAgent": { + "shape": "SystemsManagerAgent", + "documentation": "

Contains settings for the SSM agent on your build instance.

" + }, + "userDataOverride": { + "shape": "UserDataOverride", + "documentation": "

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

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

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

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

" + }, "Ami": { "type": "structure", "members": { "region": { "shape": "NonEmptyString", - "documentation": "

The AWS Region of the EC2 AMI.

" + "documentation": "

The Region of the Amazon EC2 AMI.

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

The AMI ID of the EC2 AMI.

" + "documentation": "

The AMI ID of the Amazon EC2 AMI.

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

The name of the EC2 AMI.

" + "documentation": "

The name of the Amazon EC2 AMI.

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

The description of the EC2 AMI. Minimum and maximum length are in characters.

" + "documentation": "

The description of the Amazon EC2 AMI. Minimum and maximum length are in characters.

" }, "state": { "shape": "ImageState" @@ -1918,7 +1932,7 @@ "documentation": "

The account ID of the owner of the AMI.

" } }, - "documentation": "

Details of an EC2 AMI.

" + "documentation": "

Details of an Amazon EC2 AMI.

" }, "AmiDistributionConfiguration": { "type": "structure", @@ -1945,7 +1959,7 @@ }, "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 accounts can use the AMI to launch instances.

" } }, "documentation": "

Define and configure the output AMIs of the pipeline.

" @@ -2043,6 +2057,10 @@ "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.

" }, + "parameters": { + "shape": "ComponentParameterDetailList", + "documentation": "

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

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

The owner of the component.

" @@ -2083,6 +2101,10 @@ "componentArn": { "shape": "ComponentVersionArnOrBuildVersionArn", "documentation": "

The Amazon Resource Name (ARN) of the component.

" + }, + "parameters": { + "shape": "ComponentParameterList", + "documentation": "

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

" } }, "documentation": "

Configuration details of the component.

" @@ -2103,6 +2125,92 @@ "SHELL" ] }, + "ComponentParameter": { + "type": "structure", + "required": [ + "name", + "value" + ], + "members": { + "name": { + "shape": "ComponentParameterName", + "documentation": "

The name of the component parameter to set.

" + }, + "value": { + "shape": "ComponentParameterValueList", + "documentation": "

Sets the value for the named component parameter.

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

Contains a key/value pair that sets the named component parameter.

" + }, + "ComponentParameterDescription": { + "type": "string", + "max": 1024, + "min": 1, + "pattern": "[^\\x00]+" + }, + "ComponentParameterDetail": { + "type": "structure", + "required": [ + "name", + "type" + ], + "members": { + "name": { + "shape": "ComponentParameterName", + "documentation": "

The name of this input parameter.

" + }, + "type": { + "shape": "ComponentParameterType", + "documentation": "

The type of input this parameter provides. The currently supported value is \"string\".

" + }, + "defaultValue": { + "shape": "ComponentParameterValueList", + "documentation": "

The default value of this parameter if no input is provided.

" + }, + "description": { + "shape": "ComponentParameterDescription", + "documentation": "

Describes this parameter.

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

Defines a parameter that is used to provide configuration details for the component.

" + }, + "ComponentParameterDetailList": { + "type": "list", + "member": { + "shape": "ComponentParameterDetail" + } + }, + "ComponentParameterList": { + "type": "list", + "member": { + "shape": "ComponentParameter" + }, + "min": 1 + }, + "ComponentParameterName": { + "type": "string", + "max": 256, + "min": 1, + "pattern": "[^\\x00]+" + }, + "ComponentParameterType": { + "type": "string", + "max": 20, + "min": 1, + "pattern": "^String|Integer|Boolean|StringList$" + }, + "ComponentParameterValue": { + "type": "string", + "min": 1, + "pattern": "[^\\x00]+" + }, + "ComponentParameterValueList": { + "type": "list", + "member": { + "shape": "ComponentParameterValue" + } + }, "ComponentSummary": { "type": "structure", "members": { @@ -2436,7 +2544,7 @@ }, "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 Amazon S3 URL and the requester must have permission to access the Amazon S3 bucket. If you use Amazon 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", @@ -2512,7 +2620,7 @@ }, "dockerfileTemplateUri": { "shape": "Uri", - "documentation": "

The S3 URI for the Dockerfile that will be used to build your container image.

" + "documentation": "

The Amazon S3 URI for the Dockerfile that will be used to build your container image.

" }, "platformOverride": { "shape": "Platform", @@ -2730,7 +2838,11 @@ }, "workingDirectory": { "shape": "NonEmptyString", - "documentation": "

The working directory to be used during build and test workflows.

" + "documentation": "

The working directory used during build and test workflows.

" + }, + "additionalInstanceConfiguration": { + "shape": "AdditionalInstanceConfiguration", + "documentation": "

Specify additional settings and launch scripts for your build instances.

" }, "clientToken": { "shape": "ClientToken", @@ -2837,15 +2949,15 @@ }, "instanceProfileName": { "shape": "InstanceProfileNameType", - "documentation": "

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

" + "documentation": "

The instance profile to associate with the instance used to customize your Amazon 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 Amazon 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 Amazon EC2 AMI.

" }, "logging": { "shape": "Logging", @@ -3857,6 +3969,10 @@ "workingDirectory": { "shape": "NonEmptyString", "documentation": "

The working directory to be used during build and test workflows.

" + }, + "additionalInstanceConfiguration": { + "shape": "AdditionalInstanceConfiguration", + "documentation": "

Before you create a new AMI, Image Builder launches temporary Amazon EC2 instances to build and test your image configuration. Instance configuration adds a layer of control over those instances. You can define settings and add scripts to run when an instance is launched from your AMI.

" } }, "documentation": "

An image recipe.

" @@ -4114,7 +4230,7 @@ }, "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 Amazon S3 URL and the requester must have permission to access the Amazon S3 bucket. If you use Amazon 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", @@ -4185,7 +4301,7 @@ }, "keyPair": { "shape": "NonEmptyString", - "documentation": "

The EC2 key pair of the infrastructure configuration.

" + "documentation": "

The Amazon EC2 key pair of the infrastructure configuration.

" }, "terminateInstanceOnFailure": { "shape": "NullableBoolean", @@ -4258,7 +4374,7 @@ "documentation": "

The instance profile of the infrastructure configuration.

" } }, - "documentation": "

The infrastructure used when building EC2 AMIs.

" + "documentation": "

The infrastructure used when building Amazon EC2 AMIs.

" }, "InfrastructureConfigurationSummaryList": { "type": "list", @@ -4340,14 +4456,14 @@ "members": { "userIds": { "shape": "AccountList", - "documentation": "

The AWS account ID.

" + "documentation": "

The account ID.

" }, "userGroups": { "shape": "StringList", "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 Amazon 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 Amazon EC2 ModifyImageAttribute.

" }, "LaunchTemplateConfiguration": { "type": "structure", @@ -4357,7 +4473,7 @@ "members": { "launchTemplateId": { "shape": "LaunchTemplateId", - "documentation": "

Identifies the EC2 launch template to use.

" + "documentation": "

Identifies the Amazon EC2 launch template to use.

" }, "accountId": { "shape": "AccountId", @@ -4365,10 +4481,10 @@ }, "setDefaultVersion": { "shape": "Boolean", - "documentation": "

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

" + "documentation": "

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

" } }, - "documentation": "

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

" + "documentation": "

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

" }, "LaunchTemplateConfigurationList": { "type": "list", @@ -4885,7 +5001,7 @@ "members": { "amis": { "shape": "AmiList", - "documentation": "

The EC2 AMIs created by this image.

" + "documentation": "

The Amazon EC2 AMIs created by this image.

" }, "containers": { "shape": "ContainerList", @@ -5162,6 +5278,16 @@ "shape": "NonEmptyString" } }, + "SystemsManagerAgent": { + "type": "structure", + "members": { + "uninstallAfterBuild": { + "shape": "NullableBoolean", + "documentation": "

This property defaults to true. If Image Builder installs the SSM agent on a build instance, it removes the agent before creating a snapshot for the AMI. To ensure that the AMI you create includes the SSM agent, set this property to false.

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

Contains settings for the SSM agent on your build instance.

" + }, "TagKey": { "type": "string", "max": 128, @@ -5401,15 +5527,15 @@ }, "instanceProfileName": { "shape": "InstanceProfileNameType", - "documentation": "

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

" + "documentation": "

The instance profile to associate with the instance used to customize your Amazon 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 Amazon 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 Amazon EC2 AMI in.

" }, "logging": { "shape": "Logging", @@ -5458,10 +5584,16 @@ "Uri": { "type": "string" }, + "UserDataOverride": { + "type": "string", + "max": 21847, + "min": 1, + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" + }, "VersionNumber": { "type": "string", "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$" } }, - "documentation": "

EC2 Image Builder is a fully managed AWS service that makes it easier to automate the creation, management, and deployment of customized, secure, and up-to-date \"golden\" server images that are pre-installed and pre-configured with software and settings to meet specific IT standards.

" + "documentation": "

EC2 Image Builder is a fully managed Amazon Web Services service that makes it easier to automate the creation, management, and deployment of customized, secure, and up-to-date \"golden\" server images that are pre-installed and pre-configured with software and settings to meet specific IT standards.

" } \ No newline at end of file diff --git a/apis/lambda-2015-03-31.examples.json b/apis/lambda-2015-03-31.examples.json index a60fc3bd04..0ea7e3b0bb 100644 --- a/apis/lambda-2015-03-31.examples.json +++ b/apis/lambda-2015-03-31.examples.json @@ -1,1513 +1,5 @@ { "version": "1.0", "examples": { - "AddLayerVersionPermission": [ - { - "input": { - "Action": "lambda:GetLayerVersion", - "LayerName": "my-layer", - "Principal": "223456789012", - "StatementId": "xaccount", - "VersionNumber": 1 - }, - "output": { - "RevisionId": "35d87451-f796-4a3f-a618-95a3671b0a0c", - "Statement": "{\"Sid\":\"xaccount\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::223456789012:root\"},\"Action\":\"lambda:GetLayerVersion\",\"Resource\":\"arn:aws:lambda:us-east-2:123456789012:layer:my-layer:1\"}" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example grants permission for the account 223456789012 to use version 1 of a layer named my-layer.", - "id": "to-add-permissions-to-a-layer-version-1586479797163", - "title": "To add permissions to a layer version" - } - ], - "AddPermission": [ - { - "input": { - "Action": "lambda:InvokeFunction", - "FunctionName": "my-function", - "Principal": "s3.amazonaws.com", - "SourceAccount": "123456789012", - "SourceArn": "arn:aws:s3:::my-bucket-1xpuxmplzrlbh/*", - "StatementId": "s3" - }, - "output": { - "Statement": "{\"Sid\":\"s3\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"s3.amazonaws.com\"},\"Action\":\"lambda:InvokeFunction\",\"Resource\":\"arn:aws:lambda:us-east-2:123456789012:function:my-function\",\"Condition\":{\"StringEquals\":{\"AWS:SourceAccount\":\"123456789012\"},\"ArnLike\":{\"AWS:SourceArn\":\"arn:aws:s3:::my-bucket-1xpuxmplzrlbh\"}}}" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example adds permission for Amazon S3 to invoke a Lambda function named my-function for notifications from a bucket named my-bucket-1xpuxmplzrlbh in account 123456789012.", - "id": "add-permission-1474651469455", - "title": "To grant Amazon S3 permission to invoke a function" - }, - { - "input": { - "Action": "lambda:InvokeFunction", - "FunctionName": "my-function", - "Principal": "223456789012", - "StatementId": "xaccount" - }, - "output": { - "Statement": "{\"Sid\":\"xaccount\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::223456789012:root\"},\"Action\":\"lambda:InvokeFunction\",\"Resource\":\"arn:aws:lambda:us-east-2:123456789012:function:my-function\"}" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example adds permission for account 223456789012 invoke a Lambda function named my-function.", - "id": "add-permission-1474651469456", - "title": "To grant another account permission to invoke a function" - } - ], - "CreateAlias": [ - { - "input": { - "Description": "alias for live version of function", - "FunctionName": "my-function", - "FunctionVersion": "1", - "Name": "LIVE" - }, - "output": { - "AliasArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function:LIVE", - "Description": "alias for live version of function", - "FunctionVersion": "1", - "Name": "LIVE", - "RevisionId": "873282ed-xmpl-4dc8-a069-d0c647e470c6" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example creates an alias named LIVE that points to version 1 of the my-function Lambda function.", - "id": "to-create-an-alias-for-a-lambda-function-1586480324259", - "title": "To create an alias for a Lambda function" - } - ], - "CreateEventSourceMapping": [ - { - "input": { - "BatchSize": 5, - "EventSourceArn": "arn:aws:sqs:us-west-2:123456789012:my-queue", - "FunctionName": "my-function" - }, - "output": { - "BatchSize": 5, - "EventSourceArn": "arn:aws:sqs:us-west-2:123456789012:my-queue", - "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function", - "LastModified": 1569284520.333, - "State": "Creating", - "StateTransitionReason": "USER_INITIATED", - "UUID": "a1b2c3d4-5678-90ab-cdef-11111EXAMPLE" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example creates a mapping between an SQS queue and the my-function Lambda function.", - "id": "to-create-a-mapping-between-an-event-source-and-an-aws-lambda-function-1586480555467", - "title": "To create a mapping between an event source and an AWS Lambda function" - } - ], - "CreateFunction": [ - { - "input": { - "Code": { - "S3Bucket": "my-bucket-1xpuxmplzrlbh", - "S3Key": "function.zip" - }, - "Description": "Process image objects from Amazon S3.", - "Environment": { - "Variables": { - "BUCKET": "my-bucket-1xpuxmplzrlbh", - "PREFIX": "inbound" - } - }, - "FunctionName": "my-function", - "Handler": "index.handler", - "KMSKeyArn": "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966", - "MemorySize": 256, - "Publish": true, - "Role": "arn:aws:iam::123456789012:role/lambda-role", - "Runtime": "nodejs12.x", - "Tags": { - "DEPARTMENT": "Assets" - }, - "Timeout": 15, - "TracingConfig": { - "Mode": "Active" - } - }, - "output": { - "CodeSha256": "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=", - "CodeSize": 5797206, - "Description": "Process image objects from Amazon S3.", - "Environment": { - "Variables": { - "BUCKET": "my-bucket-1xpuxmplzrlbh", - "PREFIX": "inbound" - } - }, - "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function", - "FunctionName": "my-function", - "Handler": "index.handler", - "KMSKeyArn": "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966", - "LastModified": "2020-04-10T19:06:32.563+0000", - "LastUpdateStatus": "Successful", - "MemorySize": 256, - "RevisionId": "b75dcd81-xmpl-48a8-a75a-93ba8b5b9727", - "Role": "arn:aws:iam::123456789012:role/lambda-role", - "Runtime": "nodejs12.x", - "State": "Active", - "Timeout": 15, - "TracingConfig": { - "Mode": "Active" - }, - "Version": "1" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example creates a function with a deployment package in Amazon S3 and enables X-Ray tracing and environment variable encryption.", - "id": "to-create-a-function-1586492061186", - "title": "To create a function" - } - ], - "DeleteAlias": [ - { - "input": { - "FunctionName": "my-function", - "Name": "BLUE" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes an alias named BLUE from a function named my-function", - "id": "to-delete-a-lambda-function-alias-1481660370804", - "title": "To delete a Lambda function alias" - } - ], - "DeleteEventSourceMapping": [ - { - "input": { - "UUID": "14e0db71-xmpl-4eb5-b481-8945cf9d10c2" - }, - "output": { - "BatchSize": 5, - "EventSourceArn": "arn:aws:sqs:us-west-2:123456789012:my-queue", - "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function", - "LastModified": "${timestamp}", - "State": "Enabled", - "StateTransitionReason": "USER_INITIATED", - "UUID": "14e0db71-xmpl-4eb5-b481-8945cf9d10c2" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes an event source mapping. To get a mapping's UUID, use ListEventSourceMappings.", - "id": "to-delete-a-lambda-function-event-source-mapping-1481658973862", - "title": "To delete a Lambda function event source mapping" - } - ], - "DeleteFunction": [ - { - "input": { - "FunctionName": "my-function", - "Qualifier": "1" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes version 1 of a Lambda function named my-function.", - "id": "to-delete-a-lambda-function-1481648553696", - "title": "To delete a version of a Lambda function" - } - ], - "DeleteFunctionConcurrency": [ - { - "input": { - "FunctionName": "my-function" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes the reserved concurrent execution limit from a function named my-function.", - "id": "to-remove-the-reserved-concurrent-execution-limit-from-a-function-1586480714680", - "title": "To remove the reserved concurrent execution limit from a function" - } - ], - "DeleteFunctionEventInvokeConfig": [ - { - "input": { - "FunctionName": "my-function", - "Qualifier": "GREEN" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes the asynchronous invocation configuration for the GREEN alias of a function named my-function.", - "id": "to-delete-an-asynchronous-invocation-configuration-1586481102187", - "title": "To delete an asynchronous invocation configuration" - } - ], - "DeleteLayerVersion": [ - { - "input": { - "LayerName": "my-layer", - "VersionNumber": 2 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes version 2 of a layer named my-layer.", - "id": "to-delete-a-version-of-a-lambda-layer-1586481157547", - "title": "To delete a version of a Lambda layer" - } - ], - "DeleteProvisionedConcurrencyConfig": [ - { - "input": { - "FunctionName": "my-function", - "Qualifier": "GREEN" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes the provisioned concurrency configuration for the GREEN alias of a function named my-function.", - "id": "to-delete-a-provisioned-concurrency-configuration-1586481032551", - "title": "To delete a provisioned concurrency configuration" - } - ], - "GetAccountSettings": [ - { - "input": { - }, - "output": { - "AccountLimit": { - "CodeSizeUnzipped": 262144000, - "CodeSizeZipped": 52428800, - "ConcurrentExecutions": 1000, - "TotalCodeSize": 80530636800, - "UnreservedConcurrentExecutions": 1000 - }, - "AccountUsage": { - "FunctionCount": 4, - "TotalCodeSize": 9426 - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation takes no parameters and returns details about storage and concurrency quotas in the current Region.", - "id": "to-get-account-settings-1481657495274", - "title": "To get account settings" - } - ], - "GetAlias": [ - { - "input": { - "FunctionName": "my-function", - "Name": "BLUE" - }, - "output": { - "AliasArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function:BLUE", - "Description": "Production environment BLUE.", - "FunctionVersion": "3", - "Name": "BLUE", - "RevisionId": "594f41fb-xmpl-4c20-95c7-6ca5f2a92c93" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns details about an alias named BLUE for a function named my-function", - "id": "to-retrieve-a-lambda-function-alias-1481648742254", - "title": "To get a Lambda function alias" - } - ], - "GetEventSourceMapping": [ - { - "input": { - "UUID": "14e0db71-xmpl-4eb5-b481-8945cf9d10c2" - }, - "output": { - "BatchSize": 500, - "BisectBatchOnFunctionError": false, - "DestinationConfig": { - }, - "EventSourceArn": "arn:aws:sqs:us-east-2:123456789012:mySQSqueue", - "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:myFunction", - "LastModified": "${timestamp}", - "LastProcessingResult": "No records processed", - "MaximumRecordAgeInSeconds": 604800, - "MaximumRetryAttempts": 10000, - "State": "Creating", - "StateTransitionReason": "User action", - "UUID": "14e0db71-xmpl-4eb5-b481-8945cf9d10c2" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns details about an event source mapping. To get a mapping's UUID, use ListEventSourceMappings.", - "id": "to-get-a-lambda-functions-event-source-mapping-1481661622799", - "title": "To get a Lambda function's event source mapping" - } - ], - "GetFunction": [ - { - "input": { - "FunctionName": "my-function", - "Qualifier": "1" - }, - "output": { - "Code": { - "Location": "https://awslambda-us-west-2-tasks.s3.us-west-2.amazonaws.com/snapshots/123456789012/my-function-e7d9d1ed-xmpl-4f79-904a-4b87f2681f30?versionId=sH3TQwBOaUy...", - "RepositoryType": "S3" - }, - "Configuration": { - "CodeSha256": "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=", - "CodeSize": 5797206, - "Description": "Process image objects from Amazon S3.", - "Environment": { - "Variables": { - "BUCKET": "my-bucket-1xpuxmplzrlbh", - "PREFIX": "inbound" - } - }, - "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function", - "FunctionName": "my-function", - "Handler": "index.handler", - "KMSKeyArn": "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966", - "LastModified": "2020-04-10T19:06:32.563+0000", - "LastUpdateStatus": "Successful", - "MemorySize": 256, - "RevisionId": "b75dcd81-xmpl-48a8-a75a-93ba8b5b9727", - "Role": "arn:aws:iam::123456789012:role/lambda-role", - "Runtime": "nodejs12.x", - "State": "Active", - "Timeout": 15, - "TracingConfig": { - "Mode": "Active" - }, - "Version": "$LATEST" - }, - "Tags": { - "DEPARTMENT": "Assets" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns code and configuration details for version 1 of a function named my-function.", - "id": "to-get-a-lambda-function-1481661622799", - "title": "To get a Lambda function" - } - ], - "GetFunctionConcurrency": [ - { - "input": { - "FunctionName": "my-function" - }, - "output": { - "ReservedConcurrentExecutions": 250 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns the reserved concurrency setting for a function named my-function.", - "id": "to-get-the-reserved-concurrency-setting-for-a-function-1586481279992", - "title": "To get the reserved concurrency setting for a function" - } - ], - "GetFunctionConfiguration": [ - { - "input": { - "FunctionName": "my-function", - "Qualifier": "1" - }, - "output": { - "CodeSha256": "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=", - "CodeSize": 5797206, - "Description": "Process image objects from Amazon S3.", - "Environment": { - "Variables": { - "BUCKET": "my-bucket-1xpuxmplzrlbh", - "PREFIX": "inbound" - } - }, - "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function", - "FunctionName": "my-function", - "Handler": "index.handler", - "KMSKeyArn": "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966", - "LastModified": "2020-04-10T19:06:32.563+0000", - "LastUpdateStatus": "Successful", - "MemorySize": 256, - "RevisionId": "b75dcd81-xmpl-48a8-a75a-93ba8b5b9727", - "Role": "arn:aws:iam::123456789012:role/lambda-role", - "Runtime": "nodejs12.x", - "State": "Active", - "Timeout": 15, - "TracingConfig": { - "Mode": "Active" - }, - "Version": "$LATEST" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns and configuration details for version 1 of a function named my-function.", - "id": "to-get-a-lambda-functions-event-source-mapping-1481661622799", - "title": "To get a Lambda function's event source mapping" - } - ], - "GetFunctionEventInvokeConfig": [ - { - "input": { - "FunctionName": "my-function", - "Qualifier": "BLUE" - }, - "output": { - "DestinationConfig": { - "OnFailure": { - "Destination": "arn:aws:sqs:us-east-2:123456789012:failed-invocations" - }, - "OnSuccess": { - } - }, - "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function:BLUE", - "LastModified": "${timestamp}", - "MaximumEventAgeInSeconds": 3600, - "MaximumRetryAttempts": 0 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns the asynchronous invocation configuration for the BLUE alias of a function named my-function.", - "id": "to-get-an-asynchronous-invocation-configuration-1586481338463", - "title": "To get an asynchronous invocation configuration" - } - ], - "GetLayerVersion": [ - { - "input": { - "LayerName": "my-layer", - "VersionNumber": 1 - }, - "output": { - "CompatibleRuntimes": [ - "python3.6", - "python3.7" - ], - "Content": { - "CodeSha256": "tv9jJO+rPbXUUXuRKi7CwHzKtLDkDRJLB3cC3Z/ouXo=", - "CodeSize": 169, - "Location": "https://awslambda-us-east-2-layers.s3.us-east-2.amazonaws.com/snapshots/123456789012/my-layer-4aaa2fbb-ff77-4b0a-ad92-5b78a716a96a?versionId=27iWyA73cCAYqyH..." - }, - "CreatedDate": "2018-11-14T23:03:52.894+0000", - "Description": "My Python layer", - "LayerArn": "arn:aws:lambda:us-east-2:123456789012:layer:my-layer", - "LayerVersionArn": "arn:aws:lambda:us-east-2:123456789012:layer:my-layer:1", - "LicenseInfo": "MIT", - "Version": 1 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns information for version 1 of a layer named my-layer.", - "id": "to-get-information-about-a-lambda-layer-version-1586481457839", - "title": "To get information about a Lambda layer version" - } - ], - "GetLayerVersionByArn": [ - { - "input": { - "Arn": "arn:aws:lambda:ca-central-1:123456789012:layer:blank-python-lib:3" - }, - "output": { - "CompatibleRuntimes": [ - "python3.8" - ], - "Content": { - "CodeSha256": "6x+xmpl/M3BnQUk7gS9sGmfeFsR/npojXoA3fZUv4eU=", - "CodeSize": 9529009, - "Location": "https://awslambda-us-east-2-layers.s3.us-east-2.amazonaws.com/snapshots/123456789012/blank-python-lib-e5212378-xmpl-44ee-8398-9d8ec5113949?versionId=WbZnvf..." - }, - "CreatedDate": "2020-03-31T00:35:18.949+0000", - "Description": "Dependencies for the blank-python sample app.", - "LayerArn": "arn:aws:lambda:us-east-2:123456789012:layer:blank-python-lib", - "LayerVersionArn": "arn:aws:lambda:us-east-2:123456789012:layer:blank-python-lib:3", - "Version": 3 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns information about the layer version with the specified Amazon Resource Name (ARN).", - "id": "to-get-information-about-a-lambda-layer-version-1586481457839", - "title": "To get information about a Lambda layer version" - } - ], - "GetPolicy": [ - { - "input": { - "FunctionName": "my-function", - "Qualifier": "1" - }, - "output": { - "Policy": "{\"Version\":\"2012-10-17\",\"Id\":\"default\",\"Statement\":[{\"Sid\":\"xaccount\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::123456789012:root\"},\"Action\":\"lambda:InvokeFunction\",\"Resource\":\"arn:aws:lambda:us-east-2:123456789012:function:my-function:1\"}]}", - "RevisionId": "4843f2f6-7c59-4fda-b484-afd0bc0e22b8" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns the resource-based policy for version 1 of a Lambda function named my-function.", - "id": "to-retrieve-a-lambda-function-policy-1481649319053", - "title": "To retrieve a Lambda function policy" - } - ], - "GetProvisionedConcurrencyConfig": [ - { - "input": { - "FunctionName": "my-function", - "Qualifier": "BLUE" - }, - "output": { - "AllocatedProvisionedConcurrentExecutions": 100, - "AvailableProvisionedConcurrentExecutions": 100, - "LastModified": "2019-12-31T20:28:49+0000", - "RequestedProvisionedConcurrentExecutions": 100, - "Status": "READY" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified function.", - "id": "to-get-a-provisioned-concurrency-configuration-1586490192690", - "title": "To get a provisioned concurrency configuration" - }, - { - "input": { - "FunctionName": "my-function", - "Qualifier": "BLUE" - }, - "output": { - "AllocatedProvisionedConcurrentExecutions": 100, - "AvailableProvisionedConcurrentExecutions": 100, - "LastModified": "2019-12-31T20:28:49+0000", - "RequestedProvisionedConcurrentExecutions": 100, - "Status": "READY" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified function.", - "id": "to-view-a-provisioned-concurrency-configuration-1586490192690", - "title": "To view a provisioned concurrency configuration" - } - ], - "Invoke": [ - { - "input": { - "FunctionName": "my-function", - "Payload": "{}", - "Qualifier": "1" - }, - "output": { - "Payload": "200 SUCCESS", - "StatusCode": 200 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example invokes version 1 of a function named my-function with an empty event payload.", - "id": "to-invoke-a-lambda-function-1481659683915", - "title": "To invoke a Lambda function" - }, - { - "input": { - "FunctionName": "my-function", - "InvocationType": "Event", - "Payload": "{}", - "Qualifier": "1" - }, - "output": { - "Payload": "", - "StatusCode": 202 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example invokes version 1 of a function named my-function asynchronously.", - "id": "to-invoke-a-lambda-function-async-1481659683915", - "title": "To invoke a Lambda function asynchronously" - } - ], - "InvokeAsync": [ - { - "input": { - "FunctionName": "my-function", - "InvokeArgs": "{}" - }, - "output": { - "Status": 202 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example invokes a Lambda function asynchronously", - "id": "to-invoke-a-lambda-function-asynchronously-1481649694923", - "title": "To invoke a Lambda function asynchronously" - } - ], - "ListAliases": [ - { - "input": { - "FunctionName": "my-function" - }, - "output": { - "Aliases": [ - { - "AliasArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function:BETA", - "Description": "Production environment BLUE.", - "FunctionVersion": "2", - "Name": "BLUE", - "RevisionId": "a410117f-xmpl-494e-8035-7e204bb7933b", - "RoutingConfig": { - "AdditionalVersionWeights": { - "1": 0.7 - } - } - }, - { - "AliasArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function:LIVE", - "Description": "Production environment GREEN.", - "FunctionVersion": "1", - "Name": "GREEN", - "RevisionId": "21d40116-xmpl-40ba-9360-3ea284da1bb5" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns a list of aliases for a function named my-function.", - "id": "to-list-a-functions-aliases-1481650199732", - "title": "To list a function's aliases" - } - ], - "ListEventSourceMappings": [ - { - "input": { - "FunctionName": "my-function" - }, - "output": { - "EventSourceMappings": [ - { - "BatchSize": 5, - "EventSourceArn": "arn:aws:sqs:us-west-2:123456789012:mySQSqueue", - "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function", - "LastModified": 1569284520.333, - "State": "Enabled", - "StateTransitionReason": "USER_INITIATED", - "UUID": "a1b2c3d4-5678-90ab-cdef-11111EXAMPLE" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns a list of the event source mappings for a function named my-function.", - "id": "to-list-the-event-source-mappings-for-a-function-1586490285906", - "title": "To list the event source mappings for a function" - } - ], - "ListFunctionEventInvokeConfigs": [ - { - "input": { - "FunctionName": "my-function" - }, - "output": { - "FunctionEventInvokeConfigs": [ - { - "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function:GREEN", - "LastModified": 1577824406.719, - "MaximumEventAgeInSeconds": 1800, - "MaximumRetryAttempts": 2 - }, - { - "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function:BLUE", - "LastModified": 1577824396.653, - "MaximumEventAgeInSeconds": 3600, - "MaximumRetryAttempts": 0 - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns a list of asynchronous invocation configurations for a function named my-function.", - "id": "to-view-a-list-of-asynchronous-invocation-configurations-1586490355611", - "title": "To view a list of asynchronous invocation configurations" - } - ], - "ListFunctions": [ - { - "input": { - }, - "output": { - "Functions": [ - { - "CodeSha256": "dBG9m8SGdmlEjw/JYXlhhvCrAv5TxvXsbL/RMr0fT/I=", - "CodeSize": 294, - "Description": "", - "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:helloworld", - "FunctionName": "helloworld", - "Handler": "helloworld.handler", - "LastModified": "2019-09-23T18:32:33.857+0000", - "MemorySize": 128, - "RevisionId": "1718e831-badf-4253-9518-d0644210af7b", - "Role": "arn:aws:iam::123456789012:role/service-role/MyTestFunction-role-zgur6bf4", - "Runtime": "nodejs10.x", - "Timeout": 3, - "TracingConfig": { - "Mode": "PassThrough" - }, - "Version": "$LATEST" - }, - { - "CodeSha256": "sU0cJ2/hOZevwV/lTxCuQqK3gDZP3i8gUoqUUVRmY6E=", - "CodeSize": 266, - "Description": "", - "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function", - "FunctionName": "my-function", - "Handler": "index.handler", - "LastModified": "2019-10-01T16:47:28.490+0000", - "MemorySize": 256, - "RevisionId": "93017fc9-59cb-41dc-901b-4845ce4bf668", - "Role": "arn:aws:iam::123456789012:role/service-role/helloWorldPython-role-uy3l9qyq", - "Runtime": "nodejs10.x", - "Timeout": 3, - "TracingConfig": { - "Mode": "PassThrough" - }, - "Version": "$LATEST", - "VpcConfig": { - "SecurityGroupIds": [ - - ], - "SubnetIds": [ - - ], - "VpcId": "" - } - } - ], - "NextMarker": "" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation returns a list of Lambda functions.", - "id": "to-get-a-list-of-lambda-functions-1481650507425", - "title": "To get a list of Lambda functions" - } - ], - "ListLayerVersions": [ - { - "input": { - "LayerName": "blank-java-lib" - }, - "output": { - "LayerVersions": [ - { - "CompatibleRuntimes": [ - "java8" - ], - "CreatedDate": "2020-03-18T23:38:42.284+0000", - "Description": "Dependencies for the blank-java sample app.", - "LayerVersionArn": "arn:aws:lambda:us-east-2:123456789012:layer:blank-java-lib:7", - "Version": 7 - }, - { - "CompatibleRuntimes": [ - "java8" - ], - "CreatedDate": "2020-03-17T07:24:21.960+0000", - "Description": "Dependencies for the blank-java sample app.", - "LayerVersionArn": "arn:aws:lambda:us-east-2:123456789012:layer:blank-java-lib:6", - "Version": 6 - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example displays information about the versions for the layer named blank-java-lib", - "id": "to-list-versions-of-a-layer-1586490857297", - "title": "To list versions of a layer" - } - ], - "ListLayers": [ - { - "input": { - "CompatibleRuntime": "python3.7" - }, - "output": { - "Layers": [ - { - "LatestMatchingVersion": { - "CompatibleRuntimes": [ - "python3.6", - "python3.7" - ], - "CreatedDate": "2018-11-15T00:37:46.592+0000", - "Description": "My layer", - "LayerVersionArn": "arn:aws:lambda:us-east-2:123456789012:layer:my-layer:2", - "Version": 2 - }, - "LayerArn": "arn:aws:lambda:us-east-2:123456789012:layer:my-layer", - "LayerName": "my-layer" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns information about layers that are compatible with the Python 3.7 runtime.", - "id": "to-list-the-layers-that-are-compatible-with-your-functions-runtime-1586490857297", - "title": "To list the layers that are compatible with your function's runtime" - } - ], - "ListProvisionedConcurrencyConfigs": [ - { - "input": { - "FunctionName": "my-function" - }, - "output": { - "ProvisionedConcurrencyConfigs": [ - { - "AllocatedProvisionedConcurrentExecutions": 100, - "AvailableProvisionedConcurrentExecutions": 100, - "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function:GREEN", - "LastModified": "2019-12-31T20:29:00+0000", - "RequestedProvisionedConcurrentExecutions": 100, - "Status": "READY" - }, - { - "AllocatedProvisionedConcurrentExecutions": 100, - "AvailableProvisionedConcurrentExecutions": 100, - "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function:BLUE", - "LastModified": "2019-12-31T20:28:49+0000", - "RequestedProvisionedConcurrentExecutions": 100, - "Status": "READY" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns a list of provisioned concurrency configurations for a function named my-function.", - "id": "to-get-a-list-of-provisioned-concurrency-configurations-1586491032592", - "title": "To get a list of provisioned concurrency configurations" - } - ], - "ListTags": [ - { - "input": { - "Resource": "arn:aws:lambda:us-west-2:123456789012:function:my-function" - }, - "output": { - "Tags": { - "Category": "Web Tools", - "Department": "Sales" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example displays the tags attached to the my-function Lambda function.", - "id": "to-retrieve-the-list-of-tags-for-a-lambda-function-1586491111498", - "title": "To retrieve the list of tags for a Lambda function" - } - ], - "ListVersionsByFunction": [ - { - "input": { - "FunctionName": "my-function" - }, - "output": { - "Versions": [ - { - "CodeSha256": "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=", - "CodeSize": 5797206, - "Description": "Process image objects from Amazon S3.", - "Environment": { - "Variables": { - "BUCKET": "my-bucket-1xpuxmplzrlbh", - "PREFIX": "inbound" - } - }, - "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function", - "FunctionName": "my-function", - "Handler": "index.handler", - "KMSKeyArn": "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966", - "LastModified": "2020-04-10T19:06:32.563+0000", - "MemorySize": 256, - "RevisionId": "850ca006-2d98-4ff4-86db-8766e9d32fe9", - "Role": "arn:aws:iam::123456789012:role/lambda-role", - "Runtime": "nodejs12.x", - "Timeout": 15, - "TracingConfig": { - "Mode": "Active" - }, - "Version": "$LATEST" - }, - { - "CodeSha256": "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=", - "CodeSize": 5797206, - "Description": "Process image objects from Amazon S3.", - "Environment": { - "Variables": { - "BUCKET": "my-bucket-1xpuxmplzrlbh", - "PREFIX": "inbound" - } - }, - "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function", - "FunctionName": "my-function", - "Handler": "index.handler", - "KMSKeyArn": "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966", - "LastModified": "2020-04-10T19:06:32.563+0000", - "MemorySize": 256, - "RevisionId": "b75dcd81-xmpl-48a8-a75a-93ba8b5b9727", - "Role": "arn:aws:iam::123456789012:role/lambda-role", - "Runtime": "nodejs12.x", - "Timeout": 5, - "TracingConfig": { - "Mode": "Active" - }, - "Version": "1" - } - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example returns a list of versions of a function named my-function", - "id": "to-list-versions-1481650603750", - "title": "To list versions of a function" - } - ], - "PublishLayerVersion": [ - { - "input": { - "CompatibleRuntimes": [ - "python3.6", - "python3.7" - ], - "Content": { - "S3Bucket": "lambda-layers-us-west-2-123456789012", - "S3Key": "layer.zip" - }, - "Description": "My Python layer", - "LayerName": "my-layer", - "LicenseInfo": "MIT" - }, - "output": { - "CompatibleRuntimes": [ - "python3.6", - "python3.7" - ], - "Content": { - "CodeSha256": "tv9jJO+rPbXUUXuRKi7CwHzKtLDkDRJLB3cC3Z/ouXo=", - "CodeSize": 169, - "Location": "https://awslambda-us-west-2-layers.s3.us-west-2.amazonaws.com/snapshots/123456789012/my-layer-4aaa2fbb-ff77-4b0a-ad92-5b78a716a96a?versionId=27iWyA73cCAYqyH..." - }, - "CreatedDate": "2018-11-14T23:03:52.894+0000", - "Description": "My Python layer", - "LayerArn": "arn:aws:lambda:us-west-2:123456789012:layer:my-layer", - "LayerVersionArn": "arn:aws:lambda:us-west-2:123456789012:layer:my-layer:1", - "LicenseInfo": "MIT", - "Version": 1 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example creates a new Python library layer version. The command retrieves the layer content a file named layer.zip in the specified S3 bucket.", - "id": "to-create-a-lambda-layer-version-1586491213595", - "title": "To create a Lambda layer version" - } - ], - "PublishVersion": [ - { - "input": { - "CodeSha256": "", - "Description": "", - "FunctionName": "myFunction" - }, - "output": { - "CodeSha256": "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=", - "CodeSize": 5797206, - "Description": "Process image objects from Amazon S3.", - "Environment": { - "Variables": { - "BUCKET": "my-bucket-1xpuxmplzrlbh", - "PREFIX": "inbound" - } - }, - "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function", - "FunctionName": "my-function", - "Handler": "index.handler", - "KMSKeyArn": "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966", - "LastModified": "2020-04-10T19:06:32.563+0000", - "LastUpdateStatus": "Successful", - "MemorySize": 256, - "RevisionId": "b75dcd81-xmpl-48a8-a75a-93ba8b5b9727", - "Role": "arn:aws:iam::123456789012:role/lambda-role", - "Runtime": "nodejs12.x", - "State": "Active", - "Timeout": 5, - "TracingConfig": { - "Mode": "Active" - }, - "Version": "1" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation publishes a version of a Lambda function", - "id": "to-publish-a-version-of-a-lambda-function-1481650704986", - "title": "To publish a version of a Lambda function" - } - ], - "PutFunctionConcurrency": [ - { - "input": { - "FunctionName": "my-function", - "ReservedConcurrentExecutions": 100 - }, - "output": { - "ReservedConcurrentExecutions": 100 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example configures 100 reserved concurrent executions for the my-function function.", - "id": "to-configure-a-reserved-concurrency-limit-for-a-function-1586491405956", - "title": "To configure a reserved concurrency limit for a function" - } - ], - "PutFunctionEventInvokeConfig": [ - { - "input": { - "FunctionName": "my-function", - "MaximumEventAgeInSeconds": 3600, - "MaximumRetryAttempts": 0 - }, - "output": { - "DestinationConfig": { - "OnFailure": { - }, - "OnSuccess": { - } - }, - "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function:$LATEST", - "LastModified": "${timestamp}", - "MaximumEventAgeInSeconds": 3600, - "MaximumRetryAttempts": 0 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example sets a maximum event age of one hour and disables retries for the specified function.", - "id": "to-configure-error-handling-for-asynchronous-invocation-1586491524021", - "title": "To configure error handling for asynchronous invocation" - } - ], - "PutProvisionedConcurrencyConfig": [ - { - "input": { - "FunctionName": "my-function", - "ProvisionedConcurrentExecutions": 100, - "Qualifier": "BLUE" - }, - "output": { - "AllocatedProvisionedConcurrentExecutions": 0, - "LastModified": "2019-11-21T19:32:12+0000", - "RequestedProvisionedConcurrentExecutions": 100, - "Status": "IN_PROGRESS" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example allocates 100 provisioned concurrency for the BLUE alias of the specified function.", - "id": "to-allocate-provisioned-concurrency-1586491651377", - "title": "To allocate provisioned concurrency" - } - ], - "RemoveLayerVersionPermission": [ - { - "input": { - "LayerName": "my-layer", - "StatementId": "xaccount", - "VersionNumber": 1 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example deletes permission for an account to configure a layer version.", - "id": "to-delete-layer-version-permissions-1586491829416", - "title": "To delete layer-version permissions" - } - ], - "RemovePermission": [ - { - "input": { - "FunctionName": "my-function", - "Qualifier": "PROD", - "StatementId": "xaccount" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example removes a permissions statement named xaccount from the PROD alias of a function named my-function.", - "id": "to-remove-a-lambda-functions-permissions-1481661337021", - "title": "To remove a Lambda function's permissions" - } - ], - "TagResource": [ - { - "input": { - "Resource": "arn:aws:lambda:us-west-2:123456789012:function:my-function", - "Tags": { - "DEPARTMENT": "Department A" - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example adds a tag with the key name DEPARTMENT and a value of 'Department A' to the specified Lambda function.", - "id": "to-add-tags-to-an-existing-lambda-function-1586491890446", - "title": "To add tags to an existing Lambda function" - } - ], - "UntagResource": [ - { - "input": { - "Resource": "arn:aws:lambda:us-west-2:123456789012:function:my-function", - "TagKeys": [ - "DEPARTMENT" - ] - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example removes the tag with the key name DEPARTMENT tag from the my-function Lambda function.", - "id": "to-remove-tags-from-an-existing-lambda-function-1586491956425", - "title": "To remove tags from an existing Lambda function" - } - ], - "UpdateAlias": [ - { - "input": { - "FunctionName": "my-function", - "FunctionVersion": "2", - "Name": "BLUE", - "RoutingConfig": { - "AdditionalVersionWeights": { - "1": 0.7 - } - } - }, - "output": { - "AliasArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function:BLUE", - "Description": "Production environment BLUE.", - "FunctionVersion": "2", - "Name": "BLUE", - "RevisionId": "594f41fb-xmpl-4c20-95c7-6ca5f2a92c93", - "RoutingConfig": { - "AdditionalVersionWeights": { - "1": 0.7 - } - } - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example updates the alias named BLUE to send 30% of traffic to version 2 and 70% to version 1.", - "id": "to-update-a-function-alias-1481650817950", - "title": "To update a function alias" - } - ], - "UpdateEventSourceMapping": [ - { - "input": { - "BatchSize": 123, - "Enabled": true, - "FunctionName": "myFunction", - "UUID": "1234xCy789012" - }, - "output": { - "BatchSize": 123, - "EventSourceArn": "arn:aws:s3:::examplebucket/*", - "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:myFunction", - "LastModified": "2016-11-21T19:49:20.006+0000", - "LastProcessingResult": "", - "State": "", - "StateTransitionReason": "", - "UUID": "1234xCy789012" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "This operation updates a Lambda function event source mapping", - "id": "to-update-a-lambda-function-event-source-mapping-1481650907413", - "title": "To update a Lambda function event source mapping" - } - ], - "UpdateFunctionCode": [ - { - "input": { - "FunctionName": "my-function", - "S3Bucket": "my-bucket-1xpuxmplzrlbh", - "S3Key": "function.zip" - }, - "output": { - "CodeSha256": "PFn4S+er27qk+UuZSTKEQfNKG/XNn7QJs90mJgq6oH8=", - "CodeSize": 308, - "Description": "", - "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function", - "FunctionName": "my-function", - "Handler": "index.handler", - "LastModified": "2019-08-14T22:26:11.234+0000", - "MemorySize": 128, - "RevisionId": "873282ed-xmpl-4dc8-a069-d0c647e470c6", - "Role": "arn:aws:iam::123456789012:role/lambda-role", - "Runtime": "nodejs12.x", - "Timeout": 3, - "TracingConfig": { - "Mode": "PassThrough" - }, - "Version": "$LATEST" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example replaces the code of the unpublished ($LATEST) version of a function named my-function with the contents of the specified zip file in Amazon S3.", - "id": "to-update-a-lambda-functions-code-1481650992672", - "title": "To update a Lambda function's code" - } - ], - "UpdateFunctionConfiguration": [ - { - "input": { - "FunctionName": "my-function", - "MemorySize": 256 - }, - "output": { - "CodeSha256": "PFn4S+er27qk+UuZSTKEQfNKG/XNn7QJs90mJgq6oH8=", - "CodeSize": 308, - "Description": "", - "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function", - "FunctionName": "my-function", - "Handler": "index.handler", - "LastModified": "2019-08-14T22:26:11.234+0000", - "MemorySize": 256, - "RevisionId": "873282ed-xmpl-4dc8-a069-d0c647e470c6", - "Role": "arn:aws:iam::123456789012:role/lambda-role", - "Runtime": "nodejs12.x", - "Timeout": 3, - "TracingConfig": { - "Mode": "PassThrough" - }, - "Version": "$LATEST" - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example modifies the memory size to be 256 MB for the unpublished ($LATEST) version of a function named my-function.", - "id": "to-update-a-lambda-functions-configuration-1481651096447", - "title": "To update a Lambda function's configuration" - } - ], - "UpdateFunctionEventInvokeConfig": [ - { - "input": { - "DestinationConfig": { - "OnFailure": { - "Destination": "arn:aws:sqs:us-east-2:123456789012:destination" - } - }, - "FunctionName": "my-function" - }, - "output": { - "DestinationConfig": { - "OnFailure": { - "Destination": "arn:aws:sqs:us-east-2:123456789012:destination" - }, - "OnSuccess": { - } - }, - "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function:$LATEST", - "LastModified": 1573687896.493, - "MaximumEventAgeInSeconds": 3600, - "MaximumRetryAttempts": 0 - }, - "comments": { - "input": { - }, - "output": { - } - }, - "description": "The following example adds an on-failure destination to the existing asynchronous invocation configuration for a function named my-function.", - "id": "to-update-an-asynchronous-invocation-configuration-1586492061186", - "title": "To update an asynchronous invocation configuration" - } - ] } } diff --git a/apis/lambda-2015-03-31.normal.json b/apis/lambda-2015-03-31.normal.json index f06f094f9f..e40cbfb2c8 100644 --- a/apis/lambda-2015-03-31.normal.json +++ b/apis/lambda-2015-03-31.normal.json @@ -46,7 +46,7 @@ "shape": "PreconditionFailedException" } ], - "documentation": "

Adds permissions to the resource-based policy of a version of an AWS Lambda layer. Use this action to grant layer usage permission to other accounts. You can grant permission to a single account, all AWS accounts, or all accounts in an organization.

To revoke permission, call RemoveLayerVersionPermission with the statement ID that you specified when you added it.

" + "documentation": "

Adds permissions to the resource-based policy of a version of an Lambda layer. Use this action to grant layer usage permission to other accounts. You can grant permission to a single account, all accounts in an organization, or all Amazon Web Services accounts.

To revoke permission, call RemoveLayerVersionPermission with the statement ID that you specified when you added it.

" }, "AddPermission": { "name": "AddPermission", @@ -84,7 +84,7 @@ "shape": "PreconditionFailedException" } ], - "documentation": "

Grants an AWS service or another account permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function.

To grant permission to another account, specify the account ID as the Principal. For AWS services, the principal is a domain-style identifier defined by the service, like s3.amazonaws.com or sns.amazonaws.com. For AWS services, you can also specify the ARN of the associated resource as the SourceArn. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function.

This action adds a statement to a resource-based permissions policy for the function. For more information about function policies, see Lambda Function Policies.

" + "documentation": "

Grants an Amazon Web Services service or another account permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function.

To grant permission to another account, specify the account ID as the Principal. For Amazon Web Services services, the principal is a domain-style identifier defined by the service, like s3.amazonaws.com or sns.amazonaws.com. For Amazon Web Services services, you can also specify the ARN of the associated resource as the SourceArn. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function.

This action adds a statement to a resource-based permissions policy for the function. For more information about function policies, see Lambda Function Policies.

" }, "CreateAlias": { "name": "CreateAlias", @@ -171,7 +171,7 @@ "shape": "ResourceNotFoundException" } ], - "documentation": "

Creates a mapping between an event source and an AWS Lambda function. Lambda reads items from the event source and triggers the function.

For details about each event source type, see the following topics.

The following error handling options are only available for stream sources (DynamoDB and Kinesis):

" + "documentation": "

Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source and triggers the function.

For details about each event source type, see the following topics. In particular, each of the topics describes the required and optional parameters for the specific event source.

The following error handling options are only available for stream sources (DynamoDB and Kinesis):

" }, "CreateFunction": { "name": "CreateFunction", @@ -215,7 +215,7 @@ "shape": "CodeSigningConfigNotFoundException" } ], - "documentation": "

Creates a Lambda function. To create a function, you need a deployment package and an execution role. The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use AWS services, such as Amazon CloudWatch Logs for log streaming and AWS X-Ray for request tracing.

When you create a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute or so. During this time, you can't invoke or modify the function. The State, StateReason, and StateReasonCode fields in the response from GetFunctionConfiguration indicate when the function is ready to invoke. For more information, see Function States.

A function has an unpublished version, and can have published versions and aliases. The unpublished version changes when you update your function's code and configuration. A published version is a snapshot of your function code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be changed to map to a different version. Use the Publish parameter to create version 1 of your function from its initial configuration.

The other parameters let you configure version-specific and function-level settings. You can modify version-specific settings later with UpdateFunctionConfiguration. Function-level settings apply to both the unpublished and published versions of the function, and include tags (TagResource) and per-function concurrency limits (PutFunctionConcurrency).

You can use code signing if your deployment package is a .zip file archive. To enable code signing for this function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with UpdateFunctionCode, Lambda checks that the code package has a valid signature from a trusted publisher. The code-signing configuration includes set set of signing profiles, which define the trusted publishers for this function.

If another account or an AWS service invokes your function, use AddPermission to grant permission by creating a resource-based IAM policy. You can grant permissions at the function level, on a version, or on an alias.

To invoke your function directly, use Invoke. To invoke your function in response to events in other AWS services, create an event source mapping (CreateEventSourceMapping), or configure a function trigger in the other service. For more information, see Invoking Functions.

" + "documentation": "

Creates a Lambda function. To create a function, you need a deployment package and an execution role. The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use Amazon Web Services services, such as Amazon CloudWatch Logs for log streaming and X-Ray for request tracing.

You set the package type to Image if the deployment package is a container image. For a container image, the code property must include the URI of a container image in the Amazon ECR registry. You do not need to specify the handler and runtime properties.

You set the package type to Zip if the deployment package is a .zip file archive. For a .zip file archive, the code property specifies the location of the .zip file. You must also specify the handler and runtime properties.

When you create a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute or so. During this time, you can't invoke or modify the function. The State, StateReason, and StateReasonCode fields in the response from GetFunctionConfiguration indicate when the function is ready to invoke. For more information, see Function States.

A function has an unpublished version, and can have published versions and aliases. The unpublished version changes when you update your function's code and configuration. A published version is a snapshot of your function code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be changed to map to a different version. Use the Publish parameter to create version 1 of your function from its initial configuration.

The other parameters let you configure version-specific and function-level settings. You can modify version-specific settings later with UpdateFunctionConfiguration. Function-level settings apply to both the unpublished and published versions of the function, and include tags (TagResource) and per-function concurrency limits (PutFunctionConcurrency).

You can use code signing if your deployment package is a .zip file archive. To enable code signing for this function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with UpdateFunctionCode, Lambda checks that the code package has a valid signature from a trusted publisher. The code-signing configuration includes set set of signing profiles, which define the trusted publishers for this function.

If another account or an Amazon Web Services service invokes your function, use AddPermission to grant permission by creating a resource-based IAM policy. You can grant permissions at the function level, on a version, or on an alias.

To invoke your function directly, use Invoke. To invoke your function in response to events in other Amazon Web Services services, create an event source mapping (CreateEventSourceMapping), or configure a function trigger in the other service. For more information, see Invoking Functions.

" }, "DeleteAlias": { "name": "DeleteAlias", @@ -331,7 +331,7 @@ "shape": "ResourceConflictException" } ], - "documentation": "

Deletes a Lambda function. To delete a specific function version, use the Qualifier parameter. Otherwise, all versions and aliases are deleted.

To delete Lambda event source mappings that invoke a function, use DeleteEventSourceMapping. For AWS services and resources that invoke your function directly, delete the trigger in the service where you originally configured it.

" + "documentation": "

Deletes a Lambda function. To delete a specific function version, use the Qualifier parameter. Otherwise, all versions and aliases are deleted.

To delete Lambda event source mappings that invoke a function, use DeleteEventSourceMapping. For Amazon Web Services services and resources that invoke your function directly, delete the trigger in the service where you originally configured it.

" }, "DeleteFunctionCodeSigningConfig": { "name": "DeleteFunctionCodeSigningConfig", @@ -438,7 +438,7 @@ "shape": "TooManyRequestsException" } ], - "documentation": "

Deletes a version of an AWS Lambda layer. Deleted versions can no longer be viewed or added to functions. To avoid breaking functions, a copy of the version remains in Lambda until no functions refer to it.

" + "documentation": "

Deletes a version of an Lambda layer. Deleted versions can no longer be viewed or added to functions. To avoid breaking functions, a copy of the version remains in Lambda until no functions refer to it.

" }, "DeleteProvisionedConcurrencyConfig": { "name": "DeleteProvisionedConcurrencyConfig", @@ -490,7 +490,7 @@ "shape": "ServiceException" } ], - "documentation": "

Retrieves details about your account's limits and usage in an AWS Region.

" + "documentation": "

Retrieves details about your account's limits and usage in an Amazon Web Services Region.

" }, "GetAlias": { "name": "GetAlias", @@ -748,7 +748,7 @@ "shape": "ResourceNotFoundException" } ], - "documentation": "

Returns information about a version of an AWS Lambda layer, with a link to download the layer archive that's valid for 10 minutes.

" + "documentation": "

Returns information about a version of an Lambda layer, with a link to download the layer archive that's valid for 10 minutes.

" }, "GetLayerVersionByArn": { "name": "GetLayerVersionByArn", @@ -777,7 +777,7 @@ "shape": "ResourceNotFoundException" } ], - "documentation": "

Returns information about a version of an AWS Lambda layer, with a link to download the layer archive that's valid for 10 minutes.

" + "documentation": "

Returns information about a version of an Lambda layer, with a link to download the layer archive that's valid for 10 minutes.

" }, "GetLayerVersionPolicy": { "name": "GetLayerVersionPolicy", @@ -806,7 +806,7 @@ "shape": "InvalidParameterValueException" } ], - "documentation": "

Returns the permission policy for a version of an AWS Lambda layer. For more information, see AddLayerVersionPermission.

" + "documentation": "

Returns the permission policy for a version of an Lambda layer. For more information, see AddLayerVersionPermission.

" }, "GetPolicy": { "name": "GetPolicy", @@ -1185,7 +1185,7 @@ "shape": "TooManyRequestsException" } ], - "documentation": "

Lists the versions of an AWS Lambda layer. Versions that have been deleted aren't listed. Specify a runtime identifier to list only versions that indicate that they're compatible with that runtime.

" + "documentation": "

Lists the versions of an Lambda layer. Versions that have been deleted aren't listed. Specify a runtime identifier to list only versions that indicate that they're compatible with that runtime.

" }, "ListLayers": { "name": "ListLayers", @@ -1211,7 +1211,7 @@ "shape": "TooManyRequestsException" } ], - "documentation": "

Lists AWS Lambda layers and shows information about the latest version of each. Specify a runtime identifier to list only layers that indicate that they're compatible with that runtime.

" + "documentation": "

Lists Lambda layers and shows information about the latest version of each. Specify a runtime identifier to list only layers that indicate that they're compatible with that runtime.

" }, "ListProvisionedConcurrencyConfigs": { "name": "ListProvisionedConcurrencyConfigs", @@ -1329,7 +1329,7 @@ "shape": "CodeStorageExceededException" } ], - "documentation": "

Creates an AWS Lambda layer from a ZIP archive. Each time you call PublishLayerVersion with the same layer name, a new version is created.

Add layers to your function with CreateFunction or UpdateFunctionConfiguration.

" + "documentation": "

Creates an Lambda layer from a ZIP archive. Each time you call PublishLayerVersion with the same layer name, a new version is created.

Add layers to your function with CreateFunction or UpdateFunctionConfiguration.

" }, "PublishVersion": { "name": "PublishVersion", @@ -1367,7 +1367,7 @@ "shape": "ResourceConflictException" } ], - "documentation": "

Creates a version from the current code and configuration of a function. Use versions to create a snapshot of your function code and configuration that doesn't change.

AWS Lambda doesn't publish a version if the function's configuration and code haven't changed since the last version. Use UpdateFunctionCode or UpdateFunctionConfiguration to update the function before publishing a version.

Clients can invoke versions directly or with an alias. To create an alias, use CreateAlias.

" + "documentation": "

Creates a version from the current code and configuration of a function. Use versions to create a snapshot of your function code and configuration that doesn't change.

Lambda doesn't publish a version if the function's configuration and code haven't changed since the last version. Use UpdateFunctionCode or UpdateFunctionConfiguration to update the function before publishing a version.

Clients can invoke versions directly or with an alias. To create an alias, use CreateAlias.

" }, "PutFunctionCodeSigningConfig": { "name": "PutFunctionCodeSigningConfig", @@ -1524,7 +1524,7 @@ "shape": "PreconditionFailedException" } ], - "documentation": "

Removes a statement from the permissions policy for a version of an AWS Lambda layer. For more information, see AddLayerVersionPermission.

" + "documentation": "

Removes a statement from the permissions policy for a version of an Lambda layer. For more information, see AddLayerVersionPermission.

" }, "RemovePermission": { "name": "RemovePermission", @@ -1553,7 +1553,7 @@ "shape": "PreconditionFailedException" } ], - "documentation": "

Revokes function-use permission from an AWS service or another account. You can get the ID of the statement from the output of GetPolicy.

" + "documentation": "

Revokes function-use permission from an Amazon Web Services service or another account. You can get the ID of the statement from the output of GetPolicy.

" }, "TagResource": { "name": "TagResource", @@ -1707,7 +1707,7 @@ "shape": "ResourceInUseException" } ], - "documentation": "

Updates an event source mapping. You can change the function that AWS Lambda invokes, or pause invocation and resume later from the same location.

The following error handling options are only available for stream sources (DynamoDB and Kinesis):

" + "documentation": "

Updates an event source mapping. You can change the function that Lambda invokes, or pause invocation and resume later from the same location.

The following error handling options are only available for stream sources (DynamoDB and Kinesis):

" }, "UpdateFunctionCode": { "name": "UpdateFunctionCode", @@ -1798,7 +1798,7 @@ "shape": "CodeSigningConfigNotFoundException" } ], - "documentation": "

Modify the version-specific settings of a Lambda function.

When you update a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute. During this time, you can't modify the function, but you can still invoke it. The LastUpdateStatus, LastUpdateStatusReason, and LastUpdateStatusReasonCode fields in the response from GetFunctionConfiguration indicate when the update is complete and the function is processing events with the new configuration. For more information, see Function States.

These settings can vary between versions of a function and are locked when you publish a version. You can't modify the configuration of a published version, only the unpublished version.

To configure function concurrency, use PutFunctionConcurrency. To grant invoke permissions to an account or AWS service, use AddPermission.

" + "documentation": "

Modify the version-specific settings of a Lambda function.

When you update a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute. During this time, you can't modify the function, but you can still invoke it. The LastUpdateStatus, LastUpdateStatusReason, and LastUpdateStatusReasonCode fields in the response from GetFunctionConfiguration indicate when the update is complete and the function is processing events with the new configuration. For more information, see Function States.

These settings can vary between versions of a function and are locked when you publish a version. You can't modify the configuration of a published version, only the unpublished version.

To configure function concurrency, use PutFunctionConcurrency. To grant invoke permissions to an account or Amazon Web Services service, use AddPermission.

" }, "UpdateFunctionEventInvokeConfig": { "name": "UpdateFunctionEventInvokeConfig", @@ -1844,7 +1844,7 @@ }, "CodeSizeZipped": { "shape": "Long", - "documentation": "

The maximum size of a deployment package when it's uploaded directly to AWS Lambda. Use Amazon S3 for larger files.

" + "documentation": "

The maximum size of a deployment package when it's uploaded directly to Lambda. Use Amazon S3 for larger files.

" }, "ConcurrentExecutions": { "shape": "Integer", @@ -1907,7 +1907,7 @@ }, "Principal": { "shape": "LayerPermissionAllowedPrincipal", - "documentation": "

An account ID, or * to grant permission to all AWS accounts.

" + "documentation": "

An account ID, or * to grant layer usage permission to all accounts in an organization, or all Amazon Web Services accounts (if organizationId is not specified). For the last case, make sure that you really do want all Amazon Web Services accounts to have usage permission to this layer.

" }, "OrganizationId": { "shape": "OrganizationId", @@ -1959,11 +1959,11 @@ }, "Principal": { "shape": "Principal", - "documentation": "

The AWS service or account that invokes the function. If you specify a service, use SourceArn or SourceAccount to limit who can invoke the function through that service.

" + "documentation": "

The Amazon Web Services service or account that invokes the function. If you specify a service, use SourceArn or SourceAccount to limit who can invoke the function through that service.

" }, "SourceArn": { "shape": "Arn", - "documentation": "

For AWS services, the ARN of the AWS resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic.

" + "documentation": "

For Amazon Web Services services, the ARN of the Amazon Web Services resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic.

" }, "SourceAccount": { "shape": "SourceOwner", @@ -2132,7 +2132,7 @@ "documentation": "

The date and time that the Code signing configuration was last modified, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

" } }, - "documentation": "

Details about a Code signing configuration.

" + "documentation": "

Details about a Code signing configuration.

" }, "CodeSigningConfigArn": { "type": "string", @@ -2157,7 +2157,7 @@ "documentation": "

Code signing configuration policy for deployment validation failure. If you set the policy to Enforce, Lambda blocks the deployment request if signature validation checks fail. If you set the policy to Warn, Lambda allows the deployment and creates a CloudWatch log.

Default value: Warn

" } }, - "documentation": "

Code signing configuration policies specifies the validation failure action for signature mismatch or expiry.

" + "documentation": "

Code signing configuration policies specify the validation failure action for signature mismatch or expiry.

" }, "CodeSigningPolicy": { "type": "string", @@ -2274,7 +2274,7 @@ }, "ParallelizationFactor": { "shape": "ParallelizationFactor", - "documentation": "

(Streams) The number of batches to process from each shard concurrently.

" + "documentation": "

(Streams only) The number of batches to process from each shard concurrently.

" }, "StartingPosition": { "shape": "EventSourcePosition", @@ -2286,23 +2286,23 @@ }, "DestinationConfig": { "shape": "DestinationConfig", - "documentation": "

(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.

" + "documentation": "

(Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.

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

(Streams) Discard records older than the specified age. The default value is infinite (-1).

" + "documentation": "

(Streams only) Discard records older than the specified age. The default value is infinite (-1).

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

(Streams) If the function returns an error, split the batch in two and retry.

" + "documentation": "

(Streams only) If the function returns an error, split the batch in two and retry.

" }, "MaximumRetryAttempts": { "shape": "MaximumRetryAttemptsEventSourceMapping", - "documentation": "

(Streams) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records will be retried until the record expires.

" + "documentation": "

(Streams only) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records will be retried until the record expires.

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

(Streams) The duration in seconds of a processing window. The range is between 1 second up to 900 seconds.

" + "documentation": "

(Streams only) The duration in seconds of a processing window. The range is between 1 second up to 900 seconds.

" }, "Topics": { "shape": "Topics", @@ -2322,7 +2322,7 @@ }, "FunctionResponseTypes": { "shape": "FunctionResponseTypeList", - "documentation": "

(Streams) A list of current response type enums applied to the event source mapping.

" + "documentation": "

(Streams only) A list of current response type enums applied to the event source mapping.

" } } }, @@ -2360,11 +2360,11 @@ }, "Timeout": { "shape": "Timeout", - "documentation": "

The amount of time that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds.

" + "documentation": "

The amount of time that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. For additional information, see Lambda execution environment.

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

The amount of memory available to the function at runtime. Increasing the function's memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.

" + "documentation": "

The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.

" }, "Publish": { "shape": "Boolean", @@ -2372,7 +2372,7 @@ }, "VpcConfig": { "shape": "VpcConfig", - "documentation": "

For network connectivity to AWS resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can only access resources and the internet through that VPC. For more information, see VPC Settings.

" + "documentation": "

For network connectivity to Amazon Web Services resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can only access resources and the internet through that VPC. For more information, see VPC Settings.

" }, "PackageType": { "shape": "PackageType", @@ -2388,11 +2388,11 @@ }, "KMSKeyArn": { "shape": "KMSKeyArn", - "documentation": "

The ARN of the AWS Key Management Service (AWS KMS) key that's used to encrypt your function's environment variables. If it's not provided, AWS Lambda uses a default service key.

" + "documentation": "

The ARN of the Amazon Web Services Key Management Service (KMS) key that's used to encrypt your function's environment variables. If it's not provided, Lambda uses a default service key.

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

Set Mode to Active to sample and trace a subset of incoming requests with AWS X-Ray.

" + "documentation": "

Set Mode to Active to sample and trace a subset of incoming requests with X-Ray.

" }, "Tags": { "shape": "Tags", @@ -2408,7 +2408,7 @@ }, "ImageConfig": { "shape": "ImageConfig", - "documentation": "

Container image configuration values that override the values in the container image Dockerfile.

" + "documentation": "

Container image configuration values that override the values in the container image Dockerfile.

" }, "CodeSigningConfigArn": { "shape": "CodeSigningConfigArn", @@ -2656,10 +2656,10 @@ "members": { "Variables": { "shape": "EnvironmentVariables", - "documentation": "

Environment variable key-value pairs.

" + "documentation": "

Environment variable key-value pairs. For more information, see Using Lambda environment variables.

" } }, - "documentation": "

A function's environment variable settings.

" + "documentation": "

A function's environment variable settings. You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.

" }, "EnvironmentError": { "type": "structure", @@ -2733,7 +2733,7 @@ }, "ParallelizationFactor": { "shape": "ParallelizationFactor", - "documentation": "

(Streams) The number of batches to process from each shard concurrently. The default value is 1.

" + "documentation": "

(Streams only) The number of batches to process from each shard concurrently. The default value is 1.

" }, "EventSourceArn": { "shape": "Arn", @@ -2749,7 +2749,7 @@ }, "LastProcessingResult": { "shape": "String", - "documentation": "

The result of the last AWS Lambda invocation of your Lambda function.

" + "documentation": "

The result of the last Lambda invocation of your Lambda function.

" }, "State": { "shape": "String", @@ -2761,7 +2761,7 @@ }, "DestinationConfig": { "shape": "DestinationConfig", - "documentation": "

(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.

" + "documentation": "

(Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.

" }, "Topics": { "shape": "Topics", @@ -2781,26 +2781,26 @@ }, "MaximumRecordAgeInSeconds": { "shape": "MaximumRecordAgeInSeconds", - "documentation": "

(Streams) Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.

" + "documentation": "

(Streams only) Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old records.

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

(Streams) If the function returns an error, split the batch in two and retry. The default value is false.

" + "documentation": "

(Streams only) If the function returns an error, split the batch in two and retry. The default value is false.

" }, "MaximumRetryAttempts": { "shape": "MaximumRetryAttemptsEventSourceMapping", - "documentation": "

(Streams) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.

" + "documentation": "

(Streams only) Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, Lambda retries failed records until the record expires in the event source.

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

(Streams) The duration in seconds of a processing window. The range is between 1 second up to 900 seconds.

" + "documentation": "

(Streams only) The duration in seconds of a processing window. The range is between 1 second up to 900 seconds.

" }, "FunctionResponseTypes": { "shape": "FunctionResponseTypeList", - "documentation": "

(Streams) A list of current response type enums applied to the event source mapping.

" + "documentation": "

(Streams only) A list of current response type enums applied to the event source mapping.

" } }, - "documentation": "

A mapping between an AWS resource and an AWS Lambda function. See CreateEventSourceMapping for details.

" + "documentation": "

A mapping between an Amazon Web Services resource and an Lambda function. See CreateEventSourceMapping for details.

" }, "EventSourceMappingsList": { "type": "list", @@ -2843,7 +2843,7 @@ "documentation": "

The path where the function can access the file system, starting with /mnt/.

" } }, - "documentation": "

Details about the connection between a Lambda function and an Amazon EFS file system.

" + "documentation": "

Details about the connection between a Lambda function and an Amazon EFS file system.

" }, "FileSystemConfigList": { "type": "list", @@ -2867,11 +2867,11 @@ "members": { "ZipFile": { "shape": "Blob", - "documentation": "

The base64-encoded contents of the deployment package. AWS SDK and AWS CLI clients handle the encoding for you.

" + "documentation": "

The base64-encoded contents of the deployment package. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.

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

An Amazon S3 bucket in the same AWS Region as your function. The bucket can be in a different AWS account.

" + "documentation": "

An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a different Amazon Web Services account.

" }, "S3Key": { "shape": "S3Key", @@ -2883,7 +2883,7 @@ }, "ImageUri": { "shape": "String", - "documentation": "

URI of a container image in the Amazon ECR registry.

" + "documentation": "

URI of a container image in the Amazon ECR registry.

" } }, "documentation": "

The code for the Lambda function. You can specify either an object in Amazon S3, upload a .zip file archive deployment package directly, or specify the URI of a container image.

" @@ -2971,7 +2971,7 @@ }, "Environment": { "shape": "EnvironmentResponse", - "documentation": "

The function's environment variables.

" + "documentation": "

The function's environment variables.

" }, "KMSKeyArn": { "shape": "KMSKeyArn", @@ -2979,7 +2979,7 @@ }, "TracingConfig": { "shape": "TracingConfigResponse", - "documentation": "

The function's AWS X-Ray tracing configuration.

" + "documentation": "

The function's X-Ray tracing configuration.

" }, "MasterArn": { "shape": "FunctionArn", @@ -3019,7 +3019,7 @@ }, "FileSystemConfigs": { "shape": "FileSystemConfigList", - "documentation": "

Connection settings for an Amazon EFS file system.

" + "documentation": "

Connection settings for an Amazon EFS file system.

" }, "PackageType": { "shape": "PackageType", @@ -3729,7 +3729,7 @@ "documentation": "

The Amazon Resource Name (ARN) of a signing job.

" } }, - "documentation": "

An AWS Lambda layer.

" + "documentation": "

An Lambda layer.

" }, "LayerArn": { "type": "string", @@ -3751,6 +3751,7 @@ }, "LayerPermissionAllowedAction": { "type": "string", + "max": 22, "pattern": "lambda:GetLayerVersion" }, "LayerPermissionAllowedPrincipal": { @@ -3780,10 +3781,10 @@ }, "ZipFile": { "shape": "Blob", - "documentation": "

The base64-encoded contents of the layer archive. AWS SDK and AWS CLI clients handle the encoding for you.

" + "documentation": "

The base64-encoded contents of the layer archive. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.

" } }, - "documentation": "

A ZIP archive that contains the contents of an AWS Lambda layer. You can specify either an Amazon S3 location, or upload a layer archive directly.

" + "documentation": "

A ZIP archive that contains the contents of an Lambda layer. You can specify either an Amazon S3 location, or upload a layer archive directly.

" }, "LayerVersionContentOutput": { "type": "structure", @@ -3809,7 +3810,7 @@ "documentation": "

The Amazon Resource Name (ARN) of a signing job.

" } }, - "documentation": "

Details about a version of an AWS Lambda layer.

" + "documentation": "

Details about a version of an Lambda layer.

" }, "LayerVersionNumber": { "type": "long" @@ -3848,7 +3849,7 @@ "documentation": "

The layer's open-source license.

" } }, - "documentation": "

Details about a version of an AWS Lambda layer.

" + "documentation": "

Details about a version of an Lambda layer.

" }, "LayersList": { "type": "list", @@ -3872,7 +3873,7 @@ "documentation": "

The newest version of the layer.

" } }, - "documentation": "

Details about an AWS Lambda layer.

" + "documentation": "

Details about an Lambda layer.

" }, "LayersReferenceList": { "type": "list", @@ -4084,7 +4085,7 @@ "members": { "MasterRegion": { "shape": "MasterRegion", - "documentation": "

For Lambda@Edge functions, the AWS Region of the master function. For example, us-east-1 filters the list of functions to only include Lambda@Edge functions replicated from a master function in US East (N. Virginia). If specified, you must set FunctionVersion to ALL.

", + "documentation": "

For Lambda@Edge functions, the Region of the master function. For example, us-east-1 filters the list of functions to only include Lambda@Edge functions replicated from a master function in US East (N. Virginia). If specified, you must set FunctionVersion to ALL.

", "location": "querystring", "locationName": "MasterRegion" }, @@ -4285,7 +4286,7 @@ }, "MaxItems": { "shape": "MaxListItems", - "documentation": "

The maximum number of versions to return.

", + "documentation": "

The maximum number of versions to return. Note that ListVersionsByFunction returns a maximum of 50 items in each response, even if you set the number higher.

", "location": "querystring", "locationName": "MaxItems" } @@ -4415,6 +4416,7 @@ }, "OrganizationId": { "type": "string", + "max": 34, "pattern": "o-[a-z0-9]{10,32}" }, "PackageType": { @@ -4435,7 +4437,7 @@ }, "Principal": { "type": "string", - "pattern": ".*" + "pattern": "[^\\s]+" }, "ProvisionedConcurrencyConfigList": { "type": "list", @@ -4902,7 +4904,7 @@ "members": { "Type": { "shape": "SourceAccessType", - "documentation": "

The type of authentication protocol or the VPC components for your event source. For example: \"Type\":\"SASL_SCRAM_512_AUTH\".

" + "documentation": "

The type of authentication protocol or the VPC components for your event source. For example: \"Type\":\"SASL_SCRAM_512_AUTH\".

" }, "URI": { "shape": "URI", @@ -4926,11 +4928,13 @@ "VPC_SUBNET", "VPC_SECURITY_GROUP", "SASL_SCRAM_512_AUTH", - "SASL_SCRAM_256_AUTH" + "SASL_SCRAM_256_AUTH", + "VIRTUAL_HOST" ] }, "SourceOwner": { "type": "string", + "max": 12, "pattern": "\\d{12}" }, "State": { @@ -5058,7 +5062,7 @@ "documentation": "

The tracing mode.

" } }, - "documentation": "

The function's AWS X-Ray tracing configuration. To sample and record incoming requests, set Mode to Active.

" + "documentation": "

The function's X-Ray tracing configuration. To sample and record incoming requests, set Mode to Active.

" }, "TracingConfigResponse": { "type": "structure", @@ -5068,7 +5072,7 @@ "documentation": "

The tracing mode.

" } }, - "documentation": "

The function's AWS X-Ray tracing configuration.

" + "documentation": "

The function's X-Ray tracing configuration.

" }, "TracingMode": { "type": "string", @@ -5218,23 +5222,23 @@ }, "DestinationConfig": { "shape": "DestinationConfig", - "documentation": "

(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.

" + "documentation": "

(Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.

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

(Streams) Discard records older than the specified age. The default value is infinite (-1).

" + "documentation": "

(Streams only) Discard records older than the specified age. The default value is infinite (-1).

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

(Streams) If the function returns an error, split the batch in two and retry.

" + "documentation": "

(Streams only) If the function returns an error, split the batch in two and retry.

" }, "MaximumRetryAttempts": { "shape": "MaximumRetryAttemptsEventSourceMapping", - "documentation": "

(Streams) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records will be retried until the record expires.

" + "documentation": "

(Streams only) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records will be retried until the record expires.

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

(Streams) The number of batches to process from each shard concurrently.

" + "documentation": "

(Streams only) The number of batches to process from each shard concurrently.

" }, "SourceAccessConfigurations": { "shape": "SourceAccessConfigurations", @@ -5242,11 +5246,11 @@ }, "TumblingWindowInSeconds": { "shape": "TumblingWindowInSeconds", - "documentation": "

(Streams) The duration in seconds of a processing window. The range is between 1 second up to 900 seconds.

" + "documentation": "

(Streams only) The duration in seconds of a processing window. The range is between 1 second up to 900 seconds.

" }, "FunctionResponseTypes": { "shape": "FunctionResponseTypeList", - "documentation": "

(Streams) A list of current response type enums applied to the event source mapping.

" + "documentation": "

(Streams only) A list of current response type enums applied to the event source mapping.

" } } }, @@ -5264,11 +5268,11 @@ }, "ZipFile": { "shape": "Blob", - "documentation": "

The base64-encoded contents of the deployment package. AWS SDK and AWS CLI clients handle the encoding for you.

" + "documentation": "

The base64-encoded contents of the deployment package. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.

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

An Amazon S3 bucket in the same AWS Region as your function. The bucket can be in a different AWS account.

" + "documentation": "

An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a different Amazon Web Services account.

" }, "S3Key": { "shape": "S3Key", @@ -5322,15 +5326,15 @@ }, "Timeout": { "shape": "Timeout", - "documentation": "

The amount of time that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds.

" + "documentation": "

The amount of time that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. For additional information, see Lambda execution environment.

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

The amount of memory available to the function at runtime. Increasing the function's memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.

" + "documentation": "

The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.

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

For network connectivity to AWS resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can only access resources and the internet through that VPC. For more information, see VPC Settings.

" + "documentation": "

For network connectivity to Amazon Web Services resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can only access resources and the internet through that VPC. For more information, see VPC Settings.

" }, "Environment": { "shape": "Environment", @@ -5346,11 +5350,11 @@ }, "KMSKeyArn": { "shape": "KMSKeyArn", - "documentation": "

The ARN of the AWS Key Management Service (AWS KMS) key that's used to encrypt your function's environment variables. If it's not provided, AWS Lambda uses a default service key.

" + "documentation": "

The ARN of the Amazon Web Services Key Management Service (KMS) key that's used to encrypt your function's environment variables. If it's not provided, Lambda uses a default service key.

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

Set Mode to Active to sample and trace a subset of incoming requests with AWS X-Ray.

" + "documentation": "

Set Mode to Active to sample and trace a subset of incoming requests with X-Ray.

" }, "RevisionId": { "shape": "String", @@ -5453,5 +5457,5 @@ "max": 1000 } }, - "documentation": "AWS Lambda

Overview

This is the AWS Lambda API Reference. The AWS Lambda Developer Guide provides additional information. For the service overview, see What is AWS Lambda, and for information about how the service works, see AWS Lambda: How it Works in the AWS Lambda Developer Guide.

" + "documentation": "Lambda

Overview

This is the Lambda API Reference. The Lambda Developer Guide provides additional information. For the service overview, see What is Lambda, and for information about how the service works, see Lambda: How it Works in the Lambda Developer Guide.

" } \ No newline at end of file diff --git a/apis/macie2-2020-01-01.normal.json b/apis/macie2-2020-01-01.normal.json index d9e1c37d34..63a31d9a0f 100644 --- a/apis/macie2-2020-01-01.normal.json +++ b/apis/macie2-2020-01-01.normal.json @@ -376,7 +376,7 @@ "documentation": "

The request failed because it conflicts with the current state of the specified resource.

" } ], - "documentation": "

Creates sample findings.

" + "documentation": "

Creates sample findings.

" }, "DeclineInvitations": { "name": "DeclineInvitations", @@ -744,7 +744,7 @@ "documentation": "

The request failed because it conflicts with the current state of the specified resource.

" } ], - "documentation": "

Retrieves the Amazon Macie configuration settings for an AWS organization.

" + "documentation": "

Retrieves the Amazon Macie configuration settings for an Amazon Web Services organization.

" }, "DisableMacie": { "name": "DisableMacie", @@ -836,7 +836,7 @@ "documentation": "

The request failed because it conflicts with the current state of the specified resource.

" } ], - "documentation": "

Disables an account as the delegated Amazon Macie administrator account for an AWS organization.

" + "documentation": "

Disables an account as the delegated Amazon Macie administrator account for an Amazon Web Services organization.

" }, "DisassociateFromAdministratorAccount": { "name": "DisassociateFromAdministratorAccount", @@ -1065,7 +1065,7 @@ "documentation": "

The request failed because it conflicts with the current state of the specified resource.

" } ], - "documentation": "

Designates an account as the delegated Amazon Macie administrator account for an AWS organization.

" + "documentation": "

Designates an account as the delegated Amazon Macie administrator account for an Amazon Web Services organization.

" }, "GetAdministratorAccount": { "name": "GetAdministratorAccount", @@ -1432,7 +1432,7 @@ "documentation": "

The request failed because it conflicts with the current state of the specified resource.

" } ], - "documentation": "

Retrieves the configuration settings for publishing findings to AWS Security Hub.

" + "documentation": "

Retrieves the configuration settings for publishing findings to Security Hub.

" }, "GetInvitationsCount": { "name": "GetInvitationsCount", @@ -1846,7 +1846,7 @@ "documentation": "

The request failed because it conflicts with the current state of the specified resource.

" } ], - "documentation": "

Retrieves a subset of information about one or more findings.

" + "documentation": "

Retrieves a subset of information about one or more findings.

" }, "ListFindingsFilters": { "name": "ListFindingsFilters", @@ -2030,7 +2030,7 @@ "documentation": "

The request failed because it conflicts with the current state of the specified resource.

" } ], - "documentation": "

Retrieves information about the delegated Amazon Macie administrator account for an AWS organization.

" + "documentation": "

Retrieves information about the delegated Amazon Macie administrator account for an Amazon Web Services organization.

" }, "ListTagsForResource": { "name": "ListTagsForResource", @@ -2139,7 +2139,7 @@ "documentation": "

The request failed because it conflicts with the current state of the specified resource.

" } ], - "documentation": "

Updates the configuration settings for publishing findings to AWS Security Hub.

" + "documentation": "

Updates the configuration settings for publishing findings to Security Hub.

" }, "SearchResources": { "name": "SearchResources", @@ -2185,7 +2185,7 @@ "documentation": "

The request failed because it conflicts with the current state of the specified resource.

" } ], - "documentation": "

Retrieves (queries) statistical data and other information about AWS resources that Amazon Macie monitors and analyzes.

" + "documentation": "

Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie monitors and analyzes.

" }, "TagResource": { "name": "TagResource", @@ -2495,7 +2495,7 @@ "documentation": "

The request failed because it conflicts with the current state of the specified resource.

" } ], - "documentation": "

Updates the Amazon Macie configuration settings for an AWS organization.

" + "documentation": "

Updates the Amazon Macie configuration settings for an Amazon Web Services organization.

" } }, "shapes": { @@ -2505,7 +2505,7 @@ "administratorAccountId": { "shape": "__string", "locationName": "administratorAccountId", - "documentation": "

The AWS account ID for the account that sent the invitation.

" + "documentation": "

The Amazon Web Services account ID for the account that sent the invitation.

" }, "invitationId": { "shape": "__string", @@ -2515,7 +2515,7 @@ "masterAccount": { "shape": "__string", "locationName": "masterAccount", - "documentation": "

(Deprecated) The AWS account ID for the account that sent the invitation. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.

" + "documentation": "

(Deprecated) The Amazon Web Services account ID for the account that sent the invitation. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.

" } }, "required": [ @@ -2548,7 +2548,7 @@ "accountId": { "shape": "__string", "locationName": "accountId", - "documentation": "

The AWS account ID for the account.

" + "documentation": "

The Amazon Web Services account ID for the account.

" }, "email": { "shape": "__string", @@ -2556,7 +2556,7 @@ "documentation": "

The email address for the account.

" } }, - "documentation": "

Specifies details for an account to associate with an Amazon Macie administrator account.

", + "documentation": "

Specifies the details of an account to associate with an Amazon Macie administrator account.

", "required": [ "email", "accountId" @@ -2568,7 +2568,7 @@ "blockPublicAccess": { "shape": "BlockPublicAccess", "locationName": "blockPublicAccess", - "documentation": "

The block public access settings for the AWS account that owns the bucket.

" + "documentation": "

The block public access settings for the Amazon Web Services account that owns the bucket.

" } }, "documentation": "

Provides information about the account-level permissions settings that apply to an S3 bucket.

" @@ -2579,7 +2579,7 @@ "accountId": { "shape": "__string", "locationName": "accountId", - "documentation": "

The AWS account ID for the account.

" + "documentation": "

The Amazon Web Services account ID for the account.

" }, "status": { "shape": "AdminStatus", @@ -2587,11 +2587,11 @@ "documentation": "

The current status of the account as the delegated administrator of Amazon Macie for the organization.

" } }, - "documentation": "

Provides information about the delegated Amazon Macie administrator account for an AWS organization.

" + "documentation": "

Provides information about the delegated Amazon Macie administrator account for an Amazon Web Services organization.

" }, "AdminStatus": { "type": "string", - "documentation": "

The current status of an account as the delegated Amazon Macie administrator account for an AWS organization. Possible values are:

", + "documentation": "

The current status of an account as the delegated Amazon Macie administrator account for an Amazon Web Services organization. Possible values are:

", "enum": [ "ENABLED", "DISABLING_IN_PROGRESS" @@ -2616,7 +2616,7 @@ "apiServiceName": { "shape": "__string", "locationName": "apiServiceName", - "documentation": "

The URL of the AWS service that provides the operation, for example: s3.amazonaws.com.

" + "documentation": "

The URL of the Amazon Web Service that provides the operation, for example: s3.amazonaws.com.

" }, "firstSeen": { "shape": "__timestampIso8601", @@ -2637,12 +2637,12 @@ "accessKeyId": { "shape": "__string", "locationName": "accessKeyId", - "documentation": "

The AWS access key ID that identifies the credentials.

" + "documentation": "

The Amazon Web Services access key ID that identifies the credentials.

" }, "accountId": { "shape": "__string", "locationName": "accountId", - "documentation": "

The unique identifier for the AWS account that owns the entity that was used to get the credentials.

" + "documentation": "

The unique identifier for the Amazon Web Services account that owns the entity that was used to get the credentials.

" }, "arn": { "shape": "__string", @@ -2660,7 +2660,7 @@ "documentation": "

The details of the session that was created for the credentials, including the entity that issued the session.

" } }, - "documentation": "

Provides information about an identity that performed an action on an affected resource by using temporary security credentials. The credentials were obtained using the AssumeRole operation of the AWS Security Token Service (AWS STS) API.

" + "documentation": "

Provides information about an identity that performed an action on an affected resource by using temporary security credentials. The credentials were obtained using the AssumeRole operation of the Security Token Service (STS) API.

" }, "AwsAccount": { "type": "structure", @@ -2668,7 +2668,7 @@ "accountId": { "shape": "__string", "locationName": "accountId", - "documentation": "

The unique identifier for the AWS account.

" + "documentation": "

The unique identifier for the Amazon Web Services account.

" }, "principalId": { "shape": "__string", @@ -2676,7 +2676,7 @@ "documentation": "

The unique identifier for the entity that performed the action.

" } }, - "documentation": "

Provides information about an AWS account and entity that performed an action on an affected resource. The action was performed using the credentials for an AWS account other than your own account.

" + "documentation": "

Provides information about an Amazon Web Services account and entity that performed an action on an affected resource. The action was performed using the credentials for an Amazon Web Services account other than your own account.

" }, "AwsService": { "type": "structure", @@ -2684,10 +2684,10 @@ "invokedBy": { "shape": "__string", "locationName": "invokedBy", - "documentation": "

The name of the AWS service that performed the action.

" + "documentation": "

The name of the Amazon Web Service that performed the action.

" } }, - "documentation": "

Provides information about an AWS service that performed an action on an affected resource.

" + "documentation": "

Provides information about an Amazon Web Service that performed an action on an affected resource.

" }, "BatchGetCustomDataIdentifierSummary": { "type": "structure", @@ -2808,7 +2808,7 @@ "kmsManaged": { "shape": "__long", "locationName": "kmsManaged", - "documentation": "

The total number of buckets that use an AWS Key Management Service (AWS KMS) customer master key (CMK) to encrypt new objects by default. These buckets use AWS managed AWS KMS encryption (AWS-KMS) or customer managed AWS KMS encryption (SSE-KMS) by default.

" + "documentation": "

The total number of buckets that use an Key Management Service (KMS) customer master key (CMK) to encrypt new objects by default. These buckets use Amazon Web Services managed KMS encryption (AWS-KMS) or customer managed KMS encryption (SSE-KMS) by default.

" }, "s3Managed": { "shape": "__long", @@ -2834,25 +2834,25 @@ "external": { "shape": "__long", "locationName": "external", - "documentation": "

The total number of buckets that are shared with an AWS account that isn't part of the same Amazon Macie organization.

" + "documentation": "

The total number of buckets that are shared with an Amazon Web Services account that isn't part of the same Amazon Macie organization.

" }, "internal": { "shape": "__long", "locationName": "internal", - "documentation": "

The total number of buckets that are shared with an AWS account that's part of the same Amazon Macie organization.

" + "documentation": "

The total number of buckets that are shared with an Amazon Web Services account that's part of the same Amazon Macie organization.

" }, "notShared": { "shape": "__long", "locationName": "notShared", - "documentation": "

The total number of buckets that aren't shared with other AWS accounts.

" + "documentation": "

The total number of buckets that aren't shared with other Amazon Web Services accounts.

" }, "unknown": { "shape": "__long", "locationName": "unknown", - "documentation": "

The total number of buckets that Amazon Macie wasn't able to evaluate shared access settings for. Macie can't determine whether these buckets are shared with other AWS accounts.

" + "documentation": "

The total number of buckets that Amazon Macie wasn't able to evaluate shared access settings for. Macie can't determine whether these buckets are shared with other Amazon Web Services accounts.

" } }, - "documentation": "

Provides information about the number of S3 buckets that are or aren't shared with other AWS accounts.

" + "documentation": "

Provides information about the number of S3 buckets that are or aren't shared with other Amazon Web Services accounts.

" }, "BucketCountPolicyAllowsUnencryptedObjectUploads": { "type": "structure", @@ -2953,7 +2953,7 @@ "accountId": { "shape": "__string", "locationName": "accountId", - "documentation": "

The unique identifier for the AWS account that owns the bucket.

" + "documentation": "

The unique identifier for the Amazon Web Services account that owns the bucket.

" }, "allowsUnencryptedObjectUploads": { "shape": "AllowsUnencryptedObjectUploads", @@ -3013,12 +3013,12 @@ "region": { "shape": "__string", "locationName": "region", - "documentation": "

The AWS Region that hosts the bucket.

" + "documentation": "

The Amazon Web Services Region that hosts the bucket.

" }, "replicationDetails": { "shape": "ReplicationDetails", "locationName": "replicationDetails", - "documentation": "

Specifies whether the bucket is configured to replicate one or more objects to buckets for other AWS accounts and, if so, which accounts.

" + "documentation": "

Specifies whether the bucket is configured to replicate one or more objects to buckets for other Amazon Web Services accounts and, if so, which accounts.

" }, "serverSideEncryption": { "shape": "BucketServerSideEncryption", @@ -3028,7 +3028,7 @@ "sharedAccess": { "shape": "SharedAccess", "locationName": "sharedAccess", - "documentation": "

Specifies whether the bucket is shared with another AWS account. Possible values are:

" + "documentation": "

Specifies whether the bucket is shared with another Amazon Web Services account. Possible values are:

" }, "sizeInBytes": { "shape": "__long", @@ -3117,12 +3117,12 @@ "kmsMasterKeyId": { "shape": "__string", "locationName": "kmsMasterKeyId", - "documentation": "

The Amazon Resource Name (ARN) or unique identifier (key ID) for the AWS Key Management Service (AWS KMS) customer master key (CMK) that's used by default to encrypt objects that are added to the bucket. This value is null if the bucket uses an Amazon S3 managed key to encrypt new objects or the bucket doesn't encrypt new objects by default.

" + "documentation": "

The Amazon Resource Name (ARN) or unique identifier (key ID) for the Key Management Service (KMS) customer master key (CMK) that's used by default to encrypt objects that are added to the bucket. This value is null if the bucket uses an Amazon S3 managed key to encrypt new objects or the bucket doesn't encrypt new objects by default.

" }, "type": { "shape": "Type", "locationName": "type", - "documentation": "

The type of server-side encryption that's used by default when storing new objects in the bucket. Possible values are:

" + "documentation": "

The type of server-side encryption that's used by default when storing new objects in the bucket. Possible values are:

" } }, "documentation": "

Provides information about the default server-side encryption settings for an S3 bucket. For detailed information about these settings, see Setting default server-side encryption behavior for Amazon S3 buckets in the Amazon Simple Storage Service User Guide.

" @@ -3149,22 +3149,22 @@ "cellReference": { "shape": "__string", "locationName": "cellReference", - "documentation": "

The location of the cell, as an absolute cell reference, that contains the data. For example, Sheet2!C5 for cell C5 on Sheet2 in a Microsoft Excel workbook. This value is null for CSV and TSV files.

" + "documentation": "

The location of the cell, as an absolute cell reference, that contains the sensitive data, for example Sheet2!C5 for cell C5 on Sheet2 in a Microsoft Excel workbook. This value is null for CSV and TSV files.

" }, "column": { "shape": "__long", "locationName": "column", - "documentation": "

The column number of the column that contains the data. For a Microsoft Excel workbook, this value correlates to the alphabetical character(s) for a column identifier. For example, 1 for column A, 2 for column B, and so on.

" + "documentation": "

The column number of the column that contains the sensitive data. For a Microsoft Excel workbook, this value correlates to the alphabetical character(s) for a column identifier, for example: 1 for column A, 2 for column B, and so on.

" }, "columnName": { "shape": "__string", "locationName": "columnName", - "documentation": "

The name of the column that contains the data, if available. This value is also null if Amazon Macie detects sensitive data in the name of any column in the file.

" + "documentation": "

The name of the column that contains the sensitive data, if available.

" }, "row": { "shape": "__long", "locationName": "row", - "documentation": "

The row number of the row that contains the data.

" + "documentation": "

The row number of the row that contains the sensitive data.

" } }, "documentation": "

Specifies the location of an occurrence of sensitive data in a Microsoft Excel workbook, CSV file, or TSV file.

" @@ -3197,7 +3197,7 @@ "result": { "shape": "ClassificationResult", "locationName": "result", - "documentation": "

The status and other details for the finding.

" + "documentation": "

The status and other details of the finding.

" } }, "documentation": "

Provides information about a sensitive data finding, including the classification job that produced the finding.

" @@ -3255,7 +3255,7 @@ "code": { "shape": "__string", "locationName": "code", - "documentation": "

The status of the finding. Possible values are:

" + "documentation": "

The status of the finding. Possible values are:

" }, "reason": { "shape": "__string", @@ -3359,17 +3359,17 @@ "ignoreWords": { "shape": "__listOf__string", "locationName": "ignoreWords", - "documentation": "

An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4 - 90 characters. Ignore words are case sensitive.

" + "documentation": "

An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4-90 characters. Ignore words are case sensitive.

" }, "keywords": { "shape": "__listOf__string", "locationName": "keywords", - "documentation": "

An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 3 - 90 characters. Keywords aren't case sensitive.

" + "documentation": "

An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 3-90 characters. Keywords aren't case sensitive.

" }, "maximumMatchDistance": { "shape": "__integer", "locationName": "maximumMatchDistance", - "documentation": "

The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1 - 300 characters. The default value is 50.

" + "documentation": "

The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1-300 characters. The default value is 50.

" }, "name": { "shape": "__string", @@ -3465,12 +3465,12 @@ "accountIds": { "shape": "__listOf__string", "locationName": "accountIds", - "documentation": "

An array that lists AWS account IDs, one for each account to send the invitation to.

" + "documentation": "

An array that lists Amazon Web Services account IDs, one for each account to send the invitation to.

" }, "disableEmailNotification": { "shape": "__boolean", "locationName": "disableEmailNotification", - "documentation": "

Specifies whether to send an email notification to the root user of each account that the invitation will be sent to. This notification is in addition to an alert that the root user receives in AWS Personal Health Dashboard. To send an email notification to the root user of each account, set this value to true.

" + "documentation": "

Specifies whether to send an email notification to the root user of each account that the invitation will be sent to. This notification is in addition to an alert that the root user receives in Personal Health Dashboard. To send an email notification to the root user of each account, set this value to true.

" }, "message": { "shape": "__string", @@ -3498,7 +3498,7 @@ "account": { "shape": "AccountDetail", "locationName": "account", - "documentation": "

The details for the account to associate with the administrator account.

" + "documentation": "

The details of the account to associate with the administrator account.

" }, "tags": { "shape": "TagMap", @@ -3722,7 +3722,7 @@ "accountIds": { "shape": "__listOf__string", "locationName": "accountIds", - "documentation": "

An array that lists AWS account IDs, one for each account that sent an invitation to decline.

" + "documentation": "

An array that lists Amazon Web Services account IDs, one for each account that sent an invitation to decline.

" } }, "required": [ @@ -3809,7 +3809,7 @@ "accountIds": { "shape": "__listOf__string", "locationName": "accountIds", - "documentation": "

An array that lists AWS account IDs, one for each account that sent an invitation to delete.

" + "documentation": "

An array that lists Amazon Web Services account IDs, one for each account that sent an invitation to delete.

" } }, "required": [ @@ -4004,12 +4004,12 @@ "autoEnable": { "shape": "__boolean", "locationName": "autoEnable", - "documentation": "

Specifies whether Amazon Macie is enabled automatically for accounts that are added to the AWS organization.

" + "documentation": "

Specifies whether Amazon Macie is enabled automatically for accounts that are added to the Amazon Web Services organization.

" }, "maxAccountLimitReached": { "shape": "__boolean", "locationName": "maxAccountLimitReached", - "documentation": "

Specifies whether the maximum number of Amazon Macie member accounts are part of the AWS organization.

" + "documentation": "

Specifies whether the maximum number of Amazon Macie member accounts are part of the Amazon Web Services organization.

" } } }, @@ -4028,7 +4028,7 @@ "shape": "__string", "location": "querystring", "locationName": "adminAccountId", - "documentation": "

The AWS account ID of the delegated Amazon Macie administrator account.

" + "documentation": "

The Amazon Web Services account ID of the delegated Amazon Macie administrator account.

" } }, "required": [ @@ -4104,7 +4104,7 @@ "findingPublishingFrequency": { "shape": "FindingPublishingFrequency", "locationName": "findingPublishingFrequency", - "documentation": "Specifies how often to publish updates to policy findings for the account. This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events)." + "documentation": "

Specifies how often to publish updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).

" }, "status": { "shape": "MacieStatus", @@ -4123,7 +4123,7 @@ "adminAccountId": { "shape": "__string", "locationName": "adminAccountId", - "documentation": "

The AWS account ID for the account to designate as the delegated Amazon Macie administrator account for the organization.

" + "documentation": "

The Amazon Web Services account ID for the account to designate as the delegated Amazon Macie administrator account for the organization.

" }, "clientToken": { "shape": "__string", @@ -4164,12 +4164,12 @@ "accessKeyId": { "shape": "__string", "locationName": "accessKeyId", - "documentation": "

The AWS access key ID that identifies the credentials.

" + "documentation": "

The Amazon Web Services access key ID that identifies the credentials.

" }, "accountId": { "shape": "__string", "locationName": "accountId", - "documentation": "

The unique identifier for the AWS account that owns the entity that was used to get the credentials.

" + "documentation": "

The unique identifier for the Amazon Web Services account that owns the entity that was used to get the credentials.

" }, "arn": { "shape": "__string", @@ -4187,7 +4187,7 @@ "documentation": "

The details of the session that was created for the credentials, including the entity that issued the session.

" } }, - "documentation": "

Provides information about an identity that performed an action on an affected resource by using temporary security credentials. The credentials were obtained using the GetFederationToken operation of the AWS Security Token Service (AWS STS) API.

" + "documentation": "

Provides information about an identity that performed an action on an affected resource by using temporary security credentials. The credentials were obtained using the GetFederationToken operation of the Security Token Service (STS) API.

" }, "Finding": { "type": "structure", @@ -4195,12 +4195,12 @@ "accountId": { "shape": "__string", "locationName": "accountId", - "documentation": "

The unique identifier for the AWS account that the finding applies to. This is typically the account that owns the affected resource.

" + "documentation": "

The unique identifier for the Amazon Web Services account that the finding applies to. This is typically the account that owns the affected resource.

" }, "archived": { "shape": "__boolean", "locationName": "archived", - "documentation": "

Specifies whether the finding is archived.

" + "documentation": "

Specifies whether the finding is archived (suppressed).

" }, "category": { "shape": "FindingCategory", @@ -4235,7 +4235,7 @@ "partition": { "shape": "__string", "locationName": "partition", - "documentation": "

The AWS partition that Amazon Macie created the finding in.

" + "documentation": "

The Amazon Web Services partition that Amazon Macie created the finding in.

" }, "policyDetails": { "shape": "PolicyDetails", @@ -4245,7 +4245,7 @@ "region": { "shape": "__string", "locationName": "region", - "documentation": "

The AWS Region that Amazon Macie created the finding in.

" + "documentation": "

The Amazon Web Services Region that Amazon Macie created the finding in.

" }, "resourcesAffected": { "shape": "ResourcesAffected", @@ -4350,7 +4350,7 @@ }, "FindingPublishingFrequency": { "type": "string", - "documentation": "

The frequency with which Amazon Macie publishes updates to policy findings for an account. This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events). For more information, see Monitoring and processing findings in the Amazon Macie User Guide. Valid values are:

", + "documentation": "

The frequency with which Amazon Macie publishes updates to policy findings for an account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events). For more information, see Monitoring and processing findings in the Amazon Macie User Guide. Valid values are:

", "enum": [ "FIFTEEN_MINUTES", "ONE_HOUR", @@ -4446,7 +4446,7 @@ "administrator": { "shape": "Invitation", "locationName": "administrator", - "documentation": "

The AWS account ID for the administrator account. If the accounts are associated by a Macie membership invitation, this object also provides details about the invitation that was sent to establish the relationship between the accounts.

" + "documentation": "

The Amazon Web Services account ID for the administrator account. If the accounts are associated by a Macie membership invitation, this object also provides details about the invitation that was sent to establish the relationship between the accounts.

" } } }, @@ -4456,7 +4456,7 @@ "accountId": { "shape": "__string", "locationName": "accountId", - "documentation": "

The unique identifier for the AWS account.

" + "documentation": "

The unique identifier for the Amazon Web Services account.

" } } }, @@ -4486,7 +4486,7 @@ "bucketCountBySharedAccessType": { "shape": "BucketCountBySharedAccessType", "locationName": "bucketCountBySharedAccessType", - "documentation": "

The total number of buckets that are or aren't shared with another AWS account.

" + "documentation": "

The total number of buckets that are or aren't shared with another Amazon Web Services account.

" }, "classifiableObjectCount": { "shape": "__long", @@ -4725,7 +4725,7 @@ "securityHubConfiguration": { "shape": "SecurityHubConfiguration", "locationName": "securityHubConfiguration", - "documentation": "

The configuration settings that determine which findings are published to AWS Security Hub.

" + "documentation": "

The configuration settings that determine which findings are published to Security Hub.

" } } }, @@ -4786,12 +4786,12 @@ "findingPublishingFrequency": { "shape": "FindingPublishingFrequency", "locationName": "findingPublishingFrequency", - "documentation": "

The frequency with which Macie publishes updates to policy findings for the account. This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).

" + "documentation": "

The frequency with which Macie publishes updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).

" }, "serviceRole": { "shape": "__string", "locationName": "serviceRole", - "documentation": "

The Amazon Resource Name (ARN) of the service-linked role that allows Macie to monitor and analyze data in AWS resources for the account.

" + "documentation": "

The Amazon Resource Name (ARN) of the service-linked role that allows Macie to monitor and analyze data in Amazon Web Services resources for the account.

" }, "status": { "shape": "MacieStatus", @@ -4815,7 +4815,7 @@ "master": { "shape": "Invitation", "locationName": "master", - "documentation": "

(Deprecated) The AWS account ID for the administrator account. If the accounts are associated by a Macie membership invitation, this object also provides details about the invitation that was sent to establish the relationship between the accounts.

" + "documentation": "

(Deprecated) The Amazon Web Services account ID for the administrator account. If the accounts are associated by a Macie membership invitation, this object also provides details about the invitation that was sent to establish the relationship between the accounts.

" } } }, @@ -4839,12 +4839,12 @@ "accountId": { "shape": "__string", "locationName": "accountId", - "documentation": "

The AWS account ID for the account.

" + "documentation": "

The Amazon Web Services account ID for the account.

" }, "administratorAccountId": { "shape": "__string", "locationName": "administratorAccountId", - "documentation": "

The AWS account ID for the administrator account.

" + "documentation": "

The Amazon Web Services account ID for the administrator account.

" }, "arn": { "shape": "__string", @@ -4864,7 +4864,7 @@ "masterAccountId": { "shape": "__string", "locationName": "masterAccountId", - "documentation": "

(Deprecated) The AWS account ID for the administrator account. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.

" + "documentation": "

(Deprecated) The Amazon Web Services account ID for the administrator account. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.

" }, "relationshipStatus": { "shape": "RelationshipStatus", @@ -4990,7 +4990,7 @@ "accountId": { "shape": "__string", "locationName": "accountId", - "documentation": "

The unique identifier for the AWS account that's associated with the IAM user who performed the action.

" + "documentation": "

The unique identifier for the Amazon Web Services account that's associated with the IAM user who performed the action.

" }, "arn": { "shape": "__string", @@ -5008,7 +5008,7 @@ "documentation": "

The user name of the IAM user who performed the action.

" } }, - "documentation": "

Provides information about an AWS Identity and Access Management (IAM) user who performed an action on an affected resource.

" + "documentation": "

Provides information about an Identity and Access Management (IAM) user who performed an action on an affected resource.

" }, "Invitation": { "type": "structure", @@ -5016,7 +5016,7 @@ "accountId": { "shape": "__string", "locationName": "accountId", - "documentation": "

The AWS account ID for the account that sent the invitation.

" + "documentation": "

The Amazon Web Services account ID for the account that sent the invitation.

" }, "invitationId": { "shape": "__string", @@ -5258,7 +5258,7 @@ "bucketDefinitions": { "shape": "__listOfS3BucketDefinitionForJob", "locationName": "bucketDefinitions", - "documentation": "

An array of objects, one for each AWS account that owns specific S3 buckets for the job to analyze. Each object specifies the account ID for an account and one or more buckets to analyze for that account. A job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both.

" + "documentation": "

An array of objects, one for each Amazon Web Services account that owns specific S3 buckets for the job to analyze. Each object specifies the account ID for an account and one or more buckets to analyze for that account. A job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both.

" }, "createdAt": { "shape": "__timestampIso8601", @@ -5708,7 +5708,7 @@ "accountId": { "shape": "__string", "locationName": "accountId", - "documentation": "

The unique identifier for the AWS account that owns the bucket.

" + "documentation": "

The unique identifier for the Amazon Web Services account that owns the bucket.

" }, "bucketName": { "shape": "__string", @@ -5772,7 +5772,7 @@ "documentation": "

The details of an S3 bucket that Amazon Macie monitors and analyzes.

" } }, - "documentation": "

Provides statistical data and other information about an AWS resource that Amazon Macie monitors and analyzes.

" + "documentation": "

Provides statistical data and other information about an Amazon Web Services resource that Amazon Macie monitors and analyzes.

" }, "MaxResults": { "type": "integer", @@ -5785,12 +5785,12 @@ "accountId": { "shape": "__string", "locationName": "accountId", - "documentation": "

The AWS account ID for the account.

" + "documentation": "

The Amazon Web Services account ID for the account.

" }, "administratorAccountId": { "shape": "__string", "locationName": "administratorAccountId", - "documentation": "

The AWS account ID for the administrator account.

" + "documentation": "

The Amazon Web Services account ID for the administrator account.

" }, "arn": { "shape": "__string", @@ -5810,7 +5810,7 @@ "masterAccountId": { "shape": "__string", "locationName": "masterAccountId", - "documentation": "

(Deprecated) The AWS account ID for the administrator account. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.

" + "documentation": "

(Deprecated) The Amazon Web Services account ID for the administrator account. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.

" }, "relationshipStatus": { "shape": "RelationshipStatus", @@ -5852,7 +5852,7 @@ "kmsManaged": { "shape": "__long", "locationName": "kmsManaged", - "documentation": "

The total number of objects that are encrypted with an AWS Key Management Service (AWS KMS) customer master key (CMK). The objects use AWS managed AWS KMS encryption (AWS-KMS) or customer managed AWS KMS encryption (SSE-KMS).

" + "documentation": "

The total number of objects that are encrypted with an Key Management Service (KMS) customer master key (CMK). The objects use Amazon Web Services managed KMS encryption (AWS-KMS) or customer managed KMS encryption (SSE-KMS).

" }, "s3Managed": { "shape": "__long", @@ -5899,12 +5899,12 @@ "cells": { "shape": "Cells", "locationName": "cells", - "documentation": "

An array of objects, one for each occurrence of sensitive data in a Microsoft Excel workbook, CSV file, or TSV file. Each object specifies the cell or field that contains the data. This value is null for all other types of files.

" + "documentation": "

An array of objects, one for each occurrence of sensitive data in a Microsoft Excel workbook, CSV file, or TSV file. This value is null for all other types of files.

Each Cell object specifies a cell or field that contains the sensitive data.

" }, "lineRanges": { "shape": "Ranges", "locationName": "lineRanges", - "documentation": "

An array of objects, one for each occurrence of sensitive data in a Microsoft Word document or non-binary text file, such as an HTML, JSON, TXT, or XML file. Each object specifies the line that contains the data, and the position of the data on that line.

This value is often null for file types that are supported by Cell, Page, or Record objects. Exceptions are the locations of data in: unstructured sections of an otherwise structured file, such as a comment in a file; a malformed file that Amazon Macie analyzes as plain text; and, a CSV or TSV file that has any column names that contain sensitive data.

" + "documentation": "

An array of objects, one for each occurrence of sensitive data in a non-binary text file, such as an HTML, TXT, or XML file. Each Range object specifies a line or inclusive range of lines that contains the sensitive data, and the position of the data on the specified line or lines.

This value is often null for file types that are supported by Cell, Page, or Record objects. Exceptions are the location of sensitive data in: unstructured sections of an otherwise structured file, such as a comment in a file; a malformed file that Amazon Macie analyzes as plain text; and, a CSV or TSV file that has any column names that contain sensitive data.

" }, "offsetRanges": { "shape": "Ranges", @@ -5914,12 +5914,12 @@ "pages": { "shape": "Pages", "locationName": "pages", - "documentation": "

An array of objects, one for each occurrence of sensitive data in an Adobe Portable Document Format file. Each object specifies the page that contains the data. This value is null for all other types of files.

" + "documentation": "

An array of objects, one for each occurrence of sensitive data in an Adobe Portable Document Format file. This value is null for all other types of files.

Each Page object specifies a page that contains the sensitive data.

" }, "records": { "shape": "Records", "locationName": "records", - "documentation": "

An array of objects, one for each occurrence of sensitive data in an Apache Avro object container or Apache Parquet file. Each object specifies the record index and the path to the field in the record that contains the data. This value is null for all other types of files.

" + "documentation": "

An array of objects, one for each occurrence of sensitive data in an Apache Avro object container, Apache Parquet file, JSON file, or JSON Lines file. This value is null for all other types of files.

For an Avro object container or Parquet file, each Record object specifies a record index and the path to a field in a record that contains the sensitive data. For a JSON or JSON Lines file, each Record object specifies the path to a field or array that contains the sensitive data. For a JSON Lines file, it also specifies the index of the line that contains the data.

" } }, "documentation": "

Specifies the location of 1-15 occurrences of sensitive data that was detected by managed data identifiers or a custom data identifier and produced a sensitive data finding.

" @@ -5947,7 +5947,7 @@ "pageNumber": { "shape": "__long", "locationName": "pageNumber", - "documentation": "

The page number of the page that contains the data.

" + "documentation": "

The page number of the page that contains the sensitive data.

" } }, "documentation": "

Specifies the location of an occurrence of sensitive data in an Adobe Portable Document Format file.

" @@ -6010,7 +6010,7 @@ "securityHubConfiguration": { "shape": "SecurityHubConfiguration", "locationName": "securityHubConfiguration", - "documentation": "

The configuration settings that determine which findings to publish to AWS Security Hub.

" + "documentation": "

The configuration settings that determine which findings to publish to Security Hub.

" } } }, @@ -6034,14 +6034,13 @@ "startColumn": { "shape": "__long", "locationName": "startColumn", - "documentation": "

The column number for the column that contains the data, if the file contains structured data.

" + "documentation": "

The number of characters, with spaces and starting from 1, from the beginning of the first line that contains the sensitive data (start) to the beginning of the sensitive data.

" } }, - "documentation": "

Provides details about the location of an occurrence of sensitive data in a Microsoft Word document or non-binary text file.

" + "documentation": "

Specifies the location of an occurrence of sensitive data in a non-binary text file, such as an HTML, TXT, or XML file.

" }, "Ranges": { "type": "list", - "documentation": "

Provides details about the location of occurrences of sensitive data in an Adobe Portable Document Format file, Microsoft Word document, or non-binary text file.

", "member": { "shape": "Range" } @@ -6052,19 +6051,18 @@ "jsonPath": { "shape": "__string", "locationName": "jsonPath", - "documentation": "

The path, as a JSONPath expression, to the field in the record that contains the data. If Amazon Macie detects sensitive data in the name of any element in the path, Macie omits this field.

If the name of an element exceeds 20 characters, Macie truncates the name by removing characters from the beginning of the name. If the resulting full path exceeds 250 characters, Macie also truncates the path, starting with the first element in the path, until the path contains 250 or fewer characters.

" + "documentation": "

The path, as a JSONPath expression, to the sensitive data. For an Avro object container or Parquet file, this is the path to the field in the record (recordIndex) that contains the data. For a JSON or JSON Lines file, this is the path to the field or array that contains the data. If the data is a value in an array, the path also indicates which value contains the data.

If Amazon Macie detects sensitive data in the name of any element in the path, Macie omits this field. If the name of an element exceeds 20 characters, Macie truncates the name by removing characters from the beginning of the name. If the resulting full path exceeds 250 characters, Macie also truncates the path, starting with the first element in the path, until the path contains 250 or fewer characters.

" }, "recordIndex": { "shape": "__long", "locationName": "recordIndex", - "documentation": "

The record index, starting from 0, for the record that contains the data.

" + "documentation": "

For an Avro object container or Parquet file, the record index, starting from 0, for the record that contains the sensitive data. For a JSON Lines file, the line index, starting from 0, for the line that contains the sensitive data. This value is always 0 for JSON files.

" } }, - "documentation": "

Specifies the location of an occurrence of sensitive data in an Apache Avro object container or Apache Parquet file.

" + "documentation": "

Specifies the location of an occurrence of sensitive data in an Apache Avro object container, Apache Parquet file, JSON file, or JSON Lines file.

" }, "Records": { "type": "list", - "documentation": "

Specifies the location of occurrences of sensitive data in an Apache Parquet file.

", "member": { "shape": "Record" } @@ -6096,15 +6094,15 @@ "replicatedExternally": { "shape": "__boolean", "locationName": "replicatedExternally", - "documentation": "

Specifies whether the bucket is configured to replicate one or more objects to an AWS account that isn't part of the same Amazon Macie organization.

" + "documentation": "

Specifies whether the bucket is configured to replicate one or more objects to an Amazon Web Services account that isn't part of the same Amazon Macie organization.

" }, "replicationAccounts": { "shape": "__listOf__string", "locationName": "replicationAccounts", - "documentation": "

An array of AWS account IDs, one for each AWS account that the bucket is configured to replicate one or more objects to.

" + "documentation": "

An array of Amazon Web Services account IDs, one for each Amazon Web Services account that the bucket is configured to replicate one or more objects to.

" } }, - "documentation": "

Provides information about settings that define whether one or more objects in an S3 bucket are replicated to S3 buckets for other AWS accounts and, if so, which accounts.

" + "documentation": "

Provides information about settings that define whether one or more objects in an S3 bucket are replicated to S3 buckets for other Amazon Web Services accounts and, if so, which accounts.

" }, "ResourcesAffected": { "type": "structure", @@ -6112,12 +6110,12 @@ "s3Bucket": { "shape": "S3Bucket", "locationName": "s3Bucket", - "documentation": "

An array of objects, one for each S3 bucket that the finding applies to. Each object provides a set of metadata about an affected S3 bucket.

" + "documentation": "

The details of the S3 bucket that the finding applies to.

" }, "s3Object": { "shape": "S3Object", "locationName": "s3Object", - "documentation": "

An array of objects, one for each S3 object that the finding applies to. Each object provides a set of metadata about an affected S3 object.

" + "documentation": "

The details of the S3 object that the finding applies to.

" } }, "documentation": "

Provides information about the resources that a finding applies to.

" @@ -6153,7 +6151,7 @@ "owner": { "shape": "S3BucketOwner", "locationName": "owner", - "documentation": "

The display name and AWS account ID for the user who owns the bucket.

" + "documentation": "

The display name and Amazon Web Services account ID for the user who owns the bucket.

" }, "publicAccess": { "shape": "BucketPublicAccess", @@ -6166,7 +6164,7 @@ "documentation": "

The tags that are associated with the bucket.

" } }, - "documentation": "

Provides information about an S3 bucket that a finding applies to.

" + "documentation": "

Provides information about the S3 bucket that a finding applies to.

" }, "S3BucketCriteriaForJob": { "type": "structure", @@ -6190,7 +6188,7 @@ "accountId": { "shape": "__string", "locationName": "accountId", - "documentation": "

The unique identifier for the AWS account that owns the buckets.

" + "documentation": "

The unique identifier for the Amazon Web Services account that owns the buckets.

" }, "buckets": { "shape": "__listOf__string", @@ -6198,7 +6196,7 @@ "documentation": "

An array that lists the names of the buckets.

" } }, - "documentation": "

Specifies an AWS account that owns S3 buckets for a classification job to analyze, and one or more specific buckets to analyze for that account.

", + "documentation": "

Specifies an Amazon Web Services account that owns S3 buckets for a classification job to analyze, and one or more specific buckets to analyze for that account.

", "required": [ "accountId", "buckets" @@ -6215,7 +6213,7 @@ "id": { "shape": "__string", "locationName": "id", - "documentation": "

The AWS account ID for the user who owns the bucket.

" + "documentation": "

The Amazon Web Services account ID for the user who owns the bucket.

" } }, "documentation": "

Provides information about the user who owns an S3 bucket.

" @@ -6236,7 +6234,7 @@ "kmsKeyArn": { "shape": "__string", "locationName": "kmsKeyArn", - "documentation": "

The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use for encryption of the results. This must be the ARN of an existing CMK that's in the same AWS Region as the bucket.

" + "documentation": "

The Amazon Resource Name (ARN) of the Key Management Service (KMS) customer master key (CMK) to use for encryption of the results. This must be the ARN of an existing CMK that's in the same Amazon Web Services Region as the bucket.

" } }, "documentation": "

Specifies an S3 bucket to store data classification results in, and the encryption settings to use when storing results in that bucket.

", @@ -6251,7 +6249,7 @@ "bucketDefinitions": { "shape": "__listOfS3BucketDefinitionForJob", "locationName": "bucketDefinitions", - "documentation": "

An array of objects, one for each AWS account that owns specific S3 buckets to analyze. Each object specifies the account ID for an account and one or more buckets to analyze for that account. A job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both.

" + "documentation": "

An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze. Each object specifies the account ID for an account and one or more buckets to analyze for that account. A job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both.

" }, "scoping": { "shape": "Scoping", @@ -6330,7 +6328,7 @@ "documentation": "

The identifier for the affected version of the object.

" } }, - "documentation": "

Provides information about an S3 object that a finding applies to.

" + "documentation": "

Provides information about the S3 object that a finding applies to.

" }, "ScopeFilterKey": { "type": "string", @@ -6396,7 +6394,7 @@ "documentation": "

A tag-based condition that defines an operator and tag keys, tag values, or tag key and value pairs for including or excluding resources from the results.

" } }, - "documentation": "

Specifies a property- or tag-based filter condition for including or excluding AWS resources from the query results.

" + "documentation": "

Specifies a property- or tag-based filter condition for including or excluding Amazon Web Services resources from the query results.

" }, "SearchResourcesCriteriaBlock": { "type": "structure", @@ -6407,7 +6405,7 @@ "documentation": "

An array of objects, one for each property- or tag-based condition that includes or excludes resources from the query results. If you specify more than one condition, Amazon Macie uses AND logic to join the conditions.

" } }, - "documentation": "

Specifies property- and tag-based conditions that define filter criteria for including or excluding AWS resources from the query results.

" + "documentation": "

Specifies property- and tag-based conditions that define filter criteria for including or excluding Amazon Web Services resources from the query results.

" }, "SearchResourcesRequest": { "type": "structure", @@ -6465,10 +6463,10 @@ "values": { "shape": "__listOf__string", "locationName": "values", - "documentation": "

An array that lists one or more values to use in the condition. If you specify multiple values, Amazon Macie uses OR logic to join the values. Valid values for each supported property (key) are:

Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in values.

" + "documentation": "

An array that lists one or more values to use in the condition. If you specify multiple values, Amazon Macie uses OR logic to join the values. Valid values for each supported property (key) are:

Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in values.

" } }, - "documentation": "

Specifies a property-based filter condition that determines which AWS resources are included or excluded from the query results.

" + "documentation": "

Specifies a property-based filter condition that determines which Amazon Web Services resources are included or excluded from the query results.

" }, "SearchResourcesSimpleCriterionKey": { "type": "string", @@ -6504,7 +6502,7 @@ "documentation": "

The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.

" } }, - "documentation": "

Specifies criteria for sorting the results of a query for information about AWS resources that Amazon Macie monitors and analyzes.

" + "documentation": "

Specifies criteria for sorting the results of a query for information about Amazon Web Services resources that Amazon Macie monitors and analyzes.

" }, "SearchResourcesTagCriterion": { "type": "structure", @@ -6520,7 +6518,7 @@ "documentation": "

The tag keys, tag values, or tag key and value pairs to use in the condition.

" } }, - "documentation": "

Specifies a tag-based filter condition that determines which AWS resources are included or excluded from the query results.

" + "documentation": "

Specifies a tag-based filter condition that determines which Amazon Web Services resources are included or excluded from the query results.

" }, "SearchResourcesTagCriterionPair": { "type": "structure", @@ -6544,15 +6542,15 @@ "publishClassificationFindings": { "shape": "__boolean", "locationName": "publishClassificationFindings", - "documentation": "

Specifies whether to publish sensitive data findings to AWS Security Hub. If you set this value to true, Amazon Macie automatically publishes all sensitive data findings that weren't suppressed by a findings filter. The default value is false.

" + "documentation": "

Specifies whether to publish sensitive data findings to Security Hub. If you set this value to true, Amazon Macie automatically publishes all sensitive data findings that weren't suppressed by a findings filter. The default value is false.

" }, "publishPolicyFindings": { "shape": "__boolean", "locationName": "publishPolicyFindings", - "documentation": "

Specifies whether to publish policy findings to AWS Security Hub. If you set this value to true, Amazon Macie automatically publishes all new and updated policy findings that weren't suppressed by a findings filter. The default value is true.

" + "documentation": "

Specifies whether to publish policy findings to Security Hub. If you set this value to true, Amazon Macie automatically publishes all new and updated policy findings that weren't suppressed by a findings filter. The default value is true.

" } }, - "documentation": "

Specifies configuration settings that determine which findings are published to AWS Security Hub automatically. For information about how Macie publishes findings to Security Hub, see Amazon Macie integration with Security Hub in the Amazon Macie User Guide.

", + "documentation": "

Specifies configuration settings that determine which findings are published to Security Hub automatically. For information about how Macie publishes findings to Security Hub, see Amazon Macie integration with Security Hub in the Amazon Macie User Guide.

", "required": [ "publishPolicyFindings", "publishClassificationFindings" @@ -6571,7 +6569,7 @@ "category": { "shape": "SensitiveDataItemCategory", "locationName": "category", - "documentation": "

The category of sensitive data that was detected. For example: CREDENTIALS, for credentials data such as private keys or AWS secret keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as driver's license identification numbers.

" + "documentation": "

The category of sensitive data that was detected. For example: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as driver's license identification numbers.

" }, "detections": { "shape": "DefaultDetections", @@ -6607,7 +6605,7 @@ "kmsMasterKeyId": { "shape": "__string", "locationName": "kmsMasterKeyId", - "documentation": "

The Amazon Resource Name (ARN) or unique identifier (key ID) for the AWS Key Management Service (AWS KMS) customer master key (CMK) that's used to encrypt data in the bucket or the object. If an AWS KMS CMK isn't used, this value is null.

" + "documentation": "

The Amazon Resource Name (ARN) or unique identifier (key ID) for the Key Management Service (KMS) customer master key (CMK) that's used to encrypt data in the bucket or the object. If an KMS CMK isn't used, this value is null.

" } }, "documentation": "

Provides information about the server-side encryption settings for an S3 bucket or S3 object.

" @@ -6671,7 +6669,7 @@ "accountId": { "shape": "__string", "locationName": "accountId", - "documentation": "

The unique identifier for the AWS account that owns the entity that was used to get the credentials.

" + "documentation": "

The unique identifier for the Amazon Web Services account that owns the entity that was used to get the credentials.

" }, "arn": { "shape": "__string", @@ -6746,7 +6744,7 @@ "values": { "shape": "__listOf__string", "locationName": "values", - "documentation": "

An array that lists one or more values to use in the condition. If you specify multiple values, Amazon Macie uses OR logic to join the values. Valid values for each supported property (key) are:

Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in these values.

" + "documentation": "

An array that lists one or more values to use in the condition. If you specify multiple values, Amazon Macie uses OR logic to join the values. Valid values for each supported property (key) are:

Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in these values.

" } }, "documentation": "

Specifies a property-based condition that determines whether an S3 bucket is included or excluded from a classification job.

" @@ -6948,17 +6946,17 @@ "ignoreWords": { "shape": "__listOf__string", "locationName": "ignoreWords", - "documentation": "

An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4 - 90 characters. Ignore words are case sensitive.

" + "documentation": "

An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4-90 characters. Ignore words are case sensitive.

" }, "keywords": { "shape": "__listOf__string", "locationName": "keywords", - "documentation": "

An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 3 - 90 characters. Keywords aren't case sensitive.

" + "documentation": "

An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 3-90 characters. Keywords aren't case sensitive.

" }, "maximumMatchDistance": { "shape": "__integer", "locationName": "maximumMatchDistance", - "documentation": "

The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1 - 300 characters. The default value is 50.

" + "documentation": "

The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1-300 characters. The default value is 50.

" }, "regex": { "shape": "__string", @@ -7014,7 +7012,7 @@ "accountId": { "shape": "__string", "locationName": "accountId", - "documentation": "

The AWS account ID for the account that the request applies to.

" + "documentation": "

The Amazon Web Services account ID for the account that the request applies to.

" }, "errorCode": { "shape": "ErrorCode", @@ -7144,7 +7142,7 @@ "findingPublishingFrequency": { "shape": "FindingPublishingFrequency", "locationName": "findingPublishingFrequency", - "documentation": "Specifies how often to publish updates to policy findings for the account. This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events)." + "documentation": "

Specifies how often to publish updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).

" }, "status": { "shape": "MacieStatus", @@ -7187,7 +7185,7 @@ "autoEnable": { "shape": "__boolean", "locationName": "autoEnable", - "documentation": "

Specifies whether to enable Amazon Macie automatically for each account, when the account is added to the AWS organization.

" + "documentation": "

Specifies whether to enable Amazon Macie automatically for each account, when the account is added to the Amazon Web Services organization.

" } }, "required": [ @@ -7230,7 +7228,7 @@ "accountId": { "shape": "__string", "locationName": "accountId", - "documentation": "

The unique identifier for the AWS account that the data applies to.

" + "documentation": "

The unique identifier for the Amazon Web Services account that the data applies to.

" }, "freeTrialStartDate": { "shape": "__timestampIso8601", @@ -7261,7 +7259,7 @@ "values": { "shape": "__listOf__string", "locationName": "values", - "documentation": "

An array that lists values to use in the condition, based on the value for the field specified by the key property. If the value for the key property is accountId, this array can specify multiple values. Otherwise, this array can specify only one value.

Valid values for each supported field are:

" + "documentation": "

An array that lists values to use in the condition, based on the value for the field specified by the key property. If the value for the key property is accountId, this array can specify multiple values. Otherwise, this array can specify only one value.

Valid values for each supported field are:

" } }, "documentation": "

Specifies a condition for filtering the results of a query for quota and usage data for one or more Amazon Macie accounts.

" @@ -7350,32 +7348,32 @@ "assumedRole": { "shape": "AssumedRole", "locationName": "assumedRole", - "documentation": "

If the action was performed with temporary security credentials that were obtained using the AssumeRole operation of the AWS Security Token Service (AWS STS) API, the identifiers, session context, and other details about the identity.

" + "documentation": "

If the action was performed with temporary security credentials that were obtained using the AssumeRole operation of the Security Token Service (STS) API, the identifiers, session context, and other details about the identity.

" }, "awsAccount": { "shape": "AwsAccount", "locationName": "awsAccount", - "documentation": "

If the action was performed using the credentials for another AWS account, the details of that account.

" + "documentation": "

If the action was performed using the credentials for another Amazon Web Services account, the details of that account.

" }, "awsService": { "shape": "AwsService", "locationName": "awsService", - "documentation": "

If the action was performed by an AWS account that belongs to an AWS service, the name of the service.

" + "documentation": "

If the action was performed by an Amazon Web Services account that belongs to an Amazon Web Service, the name of the service.

" }, "federatedUser": { "shape": "FederatedUser", "locationName": "federatedUser", - "documentation": "

If the action was performed with temporary security credentials that were obtained using the GetFederationToken operation of the AWS Security Token Service (AWS STS) API, the identifiers, session context, and other details about the identity.

" + "documentation": "

If the action was performed with temporary security credentials that were obtained using the GetFederationToken operation of the Security Token Service (STS) API, the identifiers, session context, and other details about the identity.

" }, "iamUser": { "shape": "IamUser", "locationName": "iamUser", - "documentation": "

If the action was performed using the credentials for an AWS Identity and Access Management (IAM) user, the name and other details about the user.

" + "documentation": "

If the action was performed using the credentials for an Identity and Access Management (IAM) user, the name and other details about the user.

" }, "root": { "shape": "UserIdentityRoot", "locationName": "root", - "documentation": "

If the action was performed using the credentials for your AWS account, the details of your account.

" + "documentation": "

If the action was performed using the credentials for your Amazon Web Services account, the details of your account.

" }, "type": { "shape": "UserIdentityType", @@ -7391,7 +7389,7 @@ "accountId": { "shape": "__string", "locationName": "accountId", - "documentation": "

The unique identifier for the AWS account.

" + "documentation": "

The unique identifier for the Amazon Web Services account.

" }, "arn": { "shape": "__string", @@ -7404,7 +7402,7 @@ "documentation": "

The unique identifier for the entity that performed the action.

" } }, - "documentation": "

Provides information about an AWS account and entity that performed an action on an affected resource. The action was performed using the credentials for your AWS account.

" + "documentation": "

Provides information about an Amazon Web Services account and entity that performed an action on an affected resource. The action was performed using the credentials for your Amazon Web Services account.

" }, "UserIdentityType": { "type": "string", @@ -7429,7 +7427,7 @@ "jobImminentExpirationHealthEventArn": { "shape": "__string", "locationName": "jobImminentExpirationHealthEventArn", - "documentation": "

The Amazon Resource Name (ARN) of the AWS Health event that Amazon Macie sent to notify you of the job or job run's pending expiration and cancellation. This value is null if a job has been paused for less than 23 days.

" + "documentation": "

The Amazon Resource Name (ARN) of the Health event that Amazon Macie sent to notify you of the job or job run's pending expiration and cancellation. This value is null if a job has been paused for less than 23 days.

" }, "jobPausedAt": { "shape": "__timestampIso8601", diff --git a/apis/mgn-2020-02-26.normal.json b/apis/mgn-2020-02-26.normal.json index 8370b3ed7d..af141821d7 100644 --- a/apis/mgn-2020-02-26.normal.json +++ b/apis/mgn-2020-02-26.normal.json @@ -61,6 +61,9 @@ }, { "shape": "ValidationException" + }, + { + "shape": "AccessDeniedException" } ], "documentation": "

Creates a new ReplicationConfigurationTemplate.

" @@ -640,6 +643,9 @@ { "shape": "ValidationException" }, + { + "shape": "AccessDeniedException" + }, { "shape": "ConflictException" } @@ -669,6 +675,9 @@ }, { "shape": "ValidationException" + }, + { + "shape": "AccessDeniedException" } ], "documentation": "

Updates multiple ReplicationConfigurationTemplates by ID.

" @@ -1923,7 +1932,6 @@ "ReplicationConfigurationEbsEncryption": { "type": "string", "enum": [ - "NONE", "DEFAULT", "CUSTOM" ] diff --git a/apis/sns-2010-03-31.normal.json b/apis/sns-2010-03-31.normal.json index 40ea98efe1..7d60a69535 100644 --- a/apis/sns-2010-03-31.normal.json +++ b/apis/sns-2010-03-31.normal.json @@ -35,7 +35,7 @@ "shape": "NotFoundException" } ], - "documentation": "

Adds a statement to a topic's access control policy, granting access for the specified AWS accounts to the specified actions.

" + "documentation": "

Adds a statement to a topic's access control policy, granting access for the specified accounts to the specified actions.

" }, "CheckIfPhoneNumberIsOptedOut": { "name": "CheckIfPhoneNumberIsOptedOut", @@ -189,7 +189,7 @@ "shape": "ThrottledException" } ], - "documentation": "

Adds a destination phone number to an AWS account in the SMS sandbox and sends a one-time password (OTP) to that phone number.

When you start using Amazon SNS to send SMS messages, your AWS account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide.

" + "documentation": "

Adds a destination phone number to an account in the SMS sandbox and sends a one-time password (OTP) to that phone number.

When you start using Amazon SNS to send SMS messages, your account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide.

" }, "CreateTopic": { "name": "CreateTopic", @@ -233,7 +233,7 @@ "shape": "ConcurrentAccessException" } ], - "documentation": "

Creates a topic to which notifications can be published. Users can create at most 100,000 standard topics (at most 1,000 FIFO topics). For more information, see https://aws.amazon.com/sns. This action is idempotent, so if the requester already owns a topic with the specified name, that topic's ARN is returned without creating a new topic.

" + "documentation": "

Creates a topic to which notifications can be published. Users can create at most 100,000 standard topics (at most 1,000 FIFO topics). For more information, see Creating an Amazon SNS topic in the Amazon SNS Developer Guide. This action is idempotent, so if the requester already owns a topic with the specified name, that topic's ARN is returned without creating a new topic.

" }, "DeleteEndpoint": { "name": "DeleteEndpoint", @@ -312,7 +312,7 @@ "shape": "ThrottledException" } ], - "documentation": "

Deletes an AWS account's verified or pending phone number from the SMS sandbox.

When you start using Amazon SNS to send SMS messages, your AWS account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide.

" + "documentation": "

Deletes an account's verified or pending phone number from the SMS sandbox.

When you start using Amazon SNS to send SMS messages, your account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide.

" }, "DeleteTopic": { "name": "DeleteTopic", @@ -459,7 +459,7 @@ "shape": "ThrottledException" } ], - "documentation": "

Retrieves the SMS sandbox status for the calling AWS account in the target AWS Region.

When you start using Amazon SNS to send SMS messages, your AWS account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide.

" + "documentation": "

Retrieves the SMS sandbox status for the calling account in the target Region.

When you start using Amazon SNS to send SMS messages, your account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide.

" }, "GetSubscriptionAttributes": { "name": "GetSubscriptionAttributes", @@ -581,7 +581,7 @@ "shape": "ValidationException" } ], - "documentation": "

Lists the calling AWS account's dedicated origination numbers and their metadata. For more information about origination numbers, see Origination numbers in the Amazon SNS Developer Guide.

" + "documentation": "

Lists the calling account's dedicated origination numbers and their metadata. For more information about origination numbers, see Origination numbers in the Amazon SNS Developer Guide.

" }, "ListPhoneNumbersOptedOut": { "name": "ListPhoneNumbersOptedOut", @@ -668,7 +668,7 @@ "shape": "ThrottledException" } ], - "documentation": "

Lists the calling AWS account's current verified and pending destination phone numbers in the SMS sandbox.

When you start using Amazon SNS to send SMS messages, your AWS account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide.

" + "documentation": "

Lists the calling account's current verified and pending destination phone numbers in the SMS sandbox.

When you start using Amazon SNS to send SMS messages, your account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide.

" }, "ListSubscriptions": { "name": "ListSubscriptions", @@ -869,7 +869,7 @@ "shape": "InvalidSecurityException" } ], - "documentation": "

Sends a message to an Amazon SNS topic, a text message (SMS message) directly to a phone number, or a message to a mobile platform endpoint (when you specify the TargetArn).

If you send a message to a topic, Amazon SNS delivers the message to each endpoint that is subscribed to the topic. The format of the message depends on the notification protocol for each subscribed endpoint.

When a messageId is returned, the message has been saved and Amazon SNS will attempt to deliver it shortly.

To use the Publish action for sending a message to a mobile endpoint, such as an app on a Kindle device or mobile phone, you must specify the EndpointArn for the TargetArn parameter. The EndpointArn is returned when making a call with the CreatePlatformEndpoint action.

For more information about formatting messages, see Send Custom Platform-Specific Payloads in Messages to Mobile Devices.

You can publish messages only to topics and endpoints in the same AWS Region.

" + "documentation": "

Sends a message to an Amazon SNS topic, a text message (SMS message) directly to a phone number, or a message to a mobile platform endpoint (when you specify the TargetArn).

If you send a message to a topic, Amazon SNS delivers the message to each endpoint that is subscribed to the topic. The format of the message depends on the notification protocol for each subscribed endpoint.

When a messageId is returned, the message has been saved and Amazon SNS will attempt to deliver it shortly.

To use the Publish action for sending a message to a mobile endpoint, such as an app on a Kindle device or mobile phone, you must specify the EndpointArn for the TargetArn parameter. The EndpointArn is returned when making a call with the CreatePlatformEndpoint action.

For more information about formatting messages, see Send Custom Platform-Specific Payloads in Messages to Mobile Devices.

You can publish messages only to topics and endpoints in the same Region.

" }, "RemovePermission": { "name": "RemovePermission", @@ -1067,7 +1067,7 @@ "shape": "InvalidSecurityException" } ], - "documentation": "

Subscribes an endpoint to an Amazon SNS topic. If the endpoint type is HTTP/S or email, or if the endpoint and the topic are not in the same AWS account, the endpoint owner must run the ConfirmSubscription action to confirm the subscription.

You call the ConfirmSubscription action with the token from the subscription response. Confirmation tokens are valid for three days.

This action is throttled at 100 transactions per second (TPS).

" + "documentation": "

Subscribes an endpoint to an Amazon SNS topic. If the endpoint type is HTTP/S or email, or if the endpoint and the topic are not in the same account, the endpoint owner must run the ConfirmSubscription action to confirm the subscription.

You call the ConfirmSubscription action with the token from the subscription response. Confirmation tokens are valid for three days.

This action is throttled at 100 transactions per second (TPS).

" }, "TagResource": { "name": "TagResource", @@ -1105,7 +1105,7 @@ "shape": "ConcurrentAccessException" } ], - "documentation": "

Add tags to the specified Amazon SNS topic. For an overview, see Amazon SNS Tags in the Amazon SNS Developer Guide.

When you use topic tags, keep the following guidelines in mind:

" + "documentation": "

Add tags to the specified Amazon SNS topic. For an overview, see Amazon SNS Tags in the Amazon SNS Developer Guide.

When you use topic tags, keep the following guidelines in mind:

" }, "Unsubscribe": { "name": "Unsubscribe", @@ -1133,7 +1133,7 @@ "shape": "InvalidSecurityException" } ], - "documentation": "

Deletes a subscription. If the subscription requires authentication for deletion, only the owner of the subscription or the topic's owner can unsubscribe, and an AWS signature is required. If the Unsubscribe call does not require authentication and the requester is not the subscription owner, a final cancellation message is delivered to the endpoint, so that the endpoint owner can easily resubscribe to the topic if the Unsubscribe request was unintended.

This action is throttled at 100 transactions per second (TPS).

" + "documentation": "

Deletes a subscription. If the subscription requires authentication for deletion, only the owner of the subscription or the topic's owner can unsubscribe, and an Amazon Web Services signature is required. If the Unsubscribe call does not require authentication and the requester is not the subscription owner, a final cancellation message is delivered to the endpoint, so that the endpoint owner can easily resubscribe to the topic if the Unsubscribe request was unintended.

This action is throttled at 100 transactions per second (TPS).

" }, "UntagResource": { "name": "UntagResource", @@ -1206,7 +1206,7 @@ "shape": "ThrottledException" } ], - "documentation": "

Verifies a destination phone number with a one-time password (OTP) for the calling AWS account.

When you start using Amazon SNS to send SMS messages, your AWS account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide.

" + "documentation": "

Verifies a destination phone number with a one-time password (OTP) for the calling account.

When you start using Amazon SNS to send SMS messages, your account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide.

" } }, "shapes": { @@ -1235,7 +1235,7 @@ }, "AWSAccountId": { "shape": "DelegatesList", - "documentation": "

The AWS account IDs of the users (principals) who will be given access to the specified actions. The users must have AWS accounts, but do not need to be signed up for this service.

" + "documentation": "

The account IDs of the users (principals) who will be given access to the specified actions. The users must have account, but do not need to be signed up for this service.

" }, "ActionName": { "shape": "ActionsList", @@ -1291,7 +1291,7 @@ }, "AuthenticateOnUnsubscribe": { "shape": "authenticateOnUnsubscribe", - "documentation": "

Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter is true and the request has an AWS signature, then only the topic owner and the subscription owner can unsubscribe the endpoint. The unsubscribe action requires AWS authentication.

" + "documentation": "

Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter is true and the request has an Amazon Web Services signature, then only the topic owner and the subscription owner can unsubscribe the endpoint. The unsubscribe action requires Amazon Web Services authentication.

" } }, "documentation": "

Input for ConfirmSubscription action.

" @@ -1407,7 +1407,7 @@ }, "Attributes": { "shape": "TopicAttributesMap", - "documentation": "

A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that the CreateTopic action uses:

The following attribute applies only to server-side encryption:

The following attributes apply only to FIFO topics:

" + "documentation": "

A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that the CreateTopic action uses:

The following attribute applies only to server-side encryption:

The following attributes apply only to FIFO topics:

" }, "Tags": { "shape": "TagList", @@ -1600,7 +1600,7 @@ "members": { "Attributes": { "shape": "SubscriptionAttributesMap", - "documentation": "

A map of the subscription's attributes. Attributes in this map include the following:

The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions:

" + "documentation": "

A map of the subscription's attributes. Attributes in this map include the following:

The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions:

" } }, "documentation": "

Response for GetSubscriptionAttributes action.

" @@ -1623,7 +1623,7 @@ "members": { "Attributes": { "shape": "TopicAttributesMap", - "documentation": "

A map of the topic's attributes. Attributes in this map include the following:

The following attribute applies only to server-side-encryption:

The following attributes apply only to FIFO topics:

" + "documentation": "

A map of the topic's attributes. Attributes in this map include the following:

The following attribute applies only to server-side-encryption:

The following attributes apply only to FIFO topics:

" } }, "documentation": "

Response for GetTopicAttributes action.

" @@ -2159,7 +2159,7 @@ "documentation": "

The destination phone number's verification status.

" } }, - "documentation": "

A verified or pending destination phone number in the SMS sandbox.

When you start using Amazon SNS to send SMS messages, your AWS account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide.

" + "documentation": "

A verified or pending destination phone number in the SMS sandbox.

When you start using Amazon SNS to send SMS messages, your account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide.

" }, "SMSSandboxPhoneNumberList": { "type": "list", @@ -2219,7 +2219,7 @@ "members": { "attributes": { "shape": "MapStringToString", - "documentation": "

The default settings for sending SMS messages from your account. You can set values for the following attribute names:

MonthlySpendLimit – The maximum amount in USD that you are willing to spend each month to send SMS messages. When Amazon SNS determines that sending an SMS message would incur a cost that exceeds this limit, it stops sending SMS messages within minutes.

Amazon SNS stops sending SMS messages within minutes of the limit being crossed. During that interval, if you continue to send SMS messages, you will incur costs that exceed your limit.

By default, the spend limit is set to the maximum allowed by Amazon SNS. If you want to raise the limit, submit an SNS Limit Increase case. For New limit value, enter your desired monthly spend limit. In the Use Case Description field, explain that you are requesting an SMS monthly spend limit increase.

DeliveryStatusIAMRole – The ARN of the IAM role that allows Amazon SNS to write logs about SMS deliveries in CloudWatch Logs. For each SMS message that you send, Amazon SNS writes a log that includes the message price, the success or failure status, the reason for failure (if the message failed), the message dwell time, and other information.

DeliveryStatusSuccessSamplingRate – The percentage of successful SMS deliveries for which Amazon SNS will write logs in CloudWatch Logs. The value can be an integer from 0 - 100. For example, to write logs only for failed deliveries, set this value to 0. To write logs for 10% of your successful deliveries, set it to 10.

DefaultSenderID – A string, such as your business brand, that is displayed as the sender on the receiving device. Support for sender IDs varies by country. The sender ID can be 1 - 11 alphanumeric characters, and it must contain at least one letter.

DefaultSMSType – The type of SMS message that you will send by default. You can assign the following values:

UsageReportS3Bucket – The name of the Amazon S3 bucket to receive daily SMS usage reports from Amazon SNS. Each day, Amazon SNS will deliver a usage report as a CSV file to the bucket. The report includes the following information for each SMS message that was successfully delivered by your account:

To receive the report, the bucket must have a policy that allows the Amazon SNS service principle to perform the s3:PutObject and s3:GetBucketLocation actions.

For an example bucket policy and usage report, see Monitoring SMS Activity in the Amazon SNS Developer Guide.

" + "documentation": "

The default settings for sending SMS messages from your account. You can set values for the following attribute names:

MonthlySpendLimit – The maximum amount in USD that you are willing to spend each month to send SMS messages. When Amazon SNS determines that sending an SMS message would incur a cost that exceeds this limit, it stops sending SMS messages within minutes.

Amazon SNS stops sending SMS messages within minutes of the limit being crossed. During that interval, if you continue to send SMS messages, you will incur costs that exceed your limit.

By default, the spend limit is set to the maximum allowed by Amazon SNS. If you want to raise the limit, submit an SNS Limit Increase case. For New limit value, enter your desired monthly spend limit. In the Use Case Description field, explain that you are requesting an SMS monthly spend limit increase.

DeliveryStatusIAMRole – The ARN of the IAM role that allows Amazon SNS to write logs about SMS deliveries in CloudWatch Logs. For each SMS message that you send, Amazon SNS writes a log that includes the message price, the success or failure status, the reason for failure (if the message failed), the message dwell time, and other information.

DeliveryStatusSuccessSamplingRate – The percentage of successful SMS deliveries for which Amazon SNS will write logs in CloudWatch Logs. The value can be an integer from 0 - 100. For example, to write logs only for failed deliveries, set this value to 0. To write logs for 10% of your successful deliveries, set it to 10.

DefaultSenderID – A string, such as your business brand, that is displayed as the sender on the receiving device. Support for sender IDs varies by country. The sender ID can be 1 - 11 alphanumeric characters, and it must contain at least one letter.

DefaultSMSType – The type of SMS message that you will send by default. You can assign the following values:

UsageReportS3Bucket – The name of the Amazon S3 bucket to receive daily SMS usage reports from Amazon SNS. Each day, Amazon SNS will deliver a usage report as a CSV file to the bucket. The report includes the following information for each SMS message that was successfully delivered by your account:

To receive the report, the bucket must have a policy that allows the Amazon SNS service principal to perform the s3:PutObject and s3:GetBucketLocation actions.

For an example bucket policy and usage report, see Monitoring SMS Activity in the Amazon SNS Developer Guide.

" } }, "documentation": "

The input for the SetSMSAttributes action.

" @@ -2264,7 +2264,7 @@ }, "AttributeName": { "shape": "attributeName", - "documentation": "

A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that the SetTopicAttributes action uses:

The following attribute applies only to server-side-encryption:

The following attribute applies only to FIFO topics:

" + "documentation": "

A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that the SetTopicAttributes action uses:

The following attribute applies only to server-side-encryption:

The following attribute applies only to FIFO topics:

" }, "AttributeValue": { "shape": "attributeValue", @@ -2289,15 +2289,15 @@ }, "Protocol": { "shape": "protocol", - "documentation": "

The protocol that you want to use. Supported protocols include:

" + "documentation": "

The protocol that you want to use. Supported protocols include:

" }, "Endpoint": { "shape": "endpoint", - "documentation": "

The endpoint that you want to receive notifications. Endpoints vary by protocol:

" + "documentation": "

The endpoint that you want to receive notifications. Endpoints vary by protocol:

" }, "Attributes": { "shape": "SubscriptionAttributesMap", - "documentation": "

A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that the SetTopicAttributes action uses:

The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions:

" + "documentation": "

A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that the Subscribe action uses:

The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions:

" }, "ReturnSubscriptionArn": { "shape": "boolean", diff --git a/apis/sns-2010-03-31.paginators.json b/apis/sns-2010-03-31.paginators.json index 556f76acde..d977afab87 100644 --- a/apis/sns-2010-03-31.paginators.json +++ b/apis/sns-2010-03-31.paginators.json @@ -11,6 +11,11 @@ "output_token": "NextToken", "result_key": "PhoneNumbers" }, + "ListPhoneNumbersOptedOut": { + "input_token": "nextToken", + "output_token": "nextToken", + "result_key": "phoneNumbers" + }, "ListPlatformApplications": { "input_token": "NextToken", "output_token": "NextToken", diff --git a/clients/eks.d.ts b/clients/eks.d.ts index 79753f97c3..0650fcc509 100644 --- a/clients/eks.d.ts +++ b/clients/eks.d.ts @@ -395,7 +395,7 @@ declare namespace EKS { */ resourceIds?: StringList; } - export type AddonIssueCode = "AccessDenied"|"InternalFailure"|"ClusterUnreachable"|"InsufficientNumberOfReplicas"|"ConfigurationConflict"|"AdmissionRequestDenied"|string; + export type AddonIssueCode = "AccessDenied"|"InternalFailure"|"ClusterUnreachable"|"InsufficientNumberOfReplicas"|"ConfigurationConflict"|"AdmissionRequestDenied"|"UnsupportedAddonModification"|string; export type AddonIssueList = AddonIssue[]; export type AddonStatus = "CREATING"|"ACTIVE"|"CREATE_FAILED"|"UPDATING"|"DELETING"|"DELETE_FAILED"|"DEGRADED"|string; export interface AddonVersionInfo { @@ -958,7 +958,7 @@ declare namespace EKS { provider?: Provider; } export type EncryptionConfigList = EncryptionConfig[]; - export type ErrorCode = "SubnetNotFound"|"SecurityGroupNotFound"|"EniLimitReached"|"IpNotAvailable"|"AccessDenied"|"OperationNotPermitted"|"VpcIdNotFound"|"Unknown"|"NodeCreationFailure"|"PodEvictionFailure"|"InsufficientFreeAddresses"|"ClusterUnreachable"|"InsufficientNumberOfReplicas"|"ConfigurationConflict"|"AdmissionRequestDenied"|string; + export type ErrorCode = "SubnetNotFound"|"SecurityGroupNotFound"|"EniLimitReached"|"IpNotAvailable"|"AccessDenied"|"OperationNotPermitted"|"VpcIdNotFound"|"Unknown"|"NodeCreationFailure"|"PodEvictionFailure"|"InsufficientFreeAddresses"|"ClusterUnreachable"|"InsufficientNumberOfReplicas"|"ConfigurationConflict"|"AdmissionRequestDenied"|"UnsupportedAddonModification"|string; export interface ErrorDetail { /** * A brief description of the error. SubnetNotFound: We couldn't find one of the subnets associated with the cluster. SecurityGroupNotFound: We couldn't find one of the security groups associated with the cluster. EniLimitReached: You have reached the elastic network interface limit for your account. IpNotAvailable: A subnet associated with the cluster doesn't have any free IP addresses. AccessDenied: You don't have permissions to perform the specified operation. OperationNotPermitted: The service role associated with the cluster doesn't have the required access permissions for Amazon EKS. VpcIdNotFound: We couldn't find the VPC associated with the cluster. diff --git a/clients/imagebuilder.d.ts b/clients/imagebuilder.d.ts index 521d5c6a36..a5a1279f73 100644 --- a/clients/imagebuilder.d.ts +++ b/clients/imagebuilder.d.ts @@ -268,11 +268,11 @@ declare class Imagebuilder extends Service { */ listImageBuildVersions(callback?: (err: AWSError, data: Imagebuilder.Types.ListImageBuildVersionsResponse) => void): Request; /** - * List the Packages that are associated with an Image Build Version, as determined by AWS Systems Manager Inventory at build time. + * List the Packages that are associated with an Image Build Version, as determined by Amazon EC2 Systems Manager Inventory at build time. */ listImagePackages(params: Imagebuilder.Types.ListImagePackagesRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListImagePackagesResponse) => void): Request; /** - * List the Packages that are associated with an Image Build Version, as determined by AWS Systems Manager Inventory at build time. + * List the Packages that are associated with an Image Build Version, as determined by Amazon EC2 Systems Manager Inventory at build time. */ listImagePackages(callback?: (err: AWSError, data: Imagebuilder.Types.ListImagePackagesResponse) => void): Request; /** @@ -407,21 +407,31 @@ declare class Imagebuilder extends Service { declare namespace Imagebuilder { export type AccountId = string; export type AccountList = AccountId[]; + export interface AdditionalInstanceConfiguration { + /** + * Contains settings for the SSM agent on your build instance. + */ + systemsManagerAgent?: SystemsManagerAgent; + /** + * Use this property to provide commands or a command script to run when you launch your build instance. The userDataOverride property replaces any commands that Image Builder might have added to ensure that SSM is installed on your Linux build instance. If you override the user data, make sure that you add commands to install SSM, if it is not pre-installed on your source image. + */ + userDataOverride?: UserDataOverride; + } export interface Ami { /** - * The AWS Region of the EC2 AMI. + * The Region of the Amazon EC2 AMI. */ region?: NonEmptyString; /** - * The AMI ID of the EC2 AMI. + * The AMI ID of the Amazon EC2 AMI. */ image?: NonEmptyString; /** - * The name of the EC2 AMI. + * The name of the Amazon EC2 AMI. */ name?: NonEmptyString; /** - * The description of the EC2 AMI. Minimum and maximum length are in characters. + * The description of the Amazon EC2 AMI. Minimum and maximum length are in characters. */ description?: NonEmptyString; state?: ImageState; @@ -452,7 +462,7 @@ declare namespace Imagebuilder { */ 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 accounts can use the AMI to launch instances. */ launchPermission?: LaunchPermissionConfiguration; } @@ -518,6 +528,10 @@ declare namespace Imagebuilder { * 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; + /** + * Contains parameter details for each of the parameters that are defined for the component. + */ + parameters?: ComponentParameterDetailList; /** * The owner of the component. */ @@ -549,10 +563,49 @@ declare namespace Imagebuilder { * The Amazon Resource Name (ARN) of the component. */ componentArn: ComponentVersionArnOrBuildVersionArn; + /** + * A group of parameter settings that are used to configure the component for a specific recipe. + */ + parameters?: ComponentParameterList; } export type ComponentConfigurationList = ComponentConfiguration[]; export type ComponentData = string; export type ComponentFormat = "SHELL"|string; + export interface ComponentParameter { + /** + * The name of the component parameter to set. + */ + name: ComponentParameterName; + /** + * Sets the value for the named component parameter. + */ + value: ComponentParameterValueList; + } + export type ComponentParameterDescription = string; + export interface ComponentParameterDetail { + /** + * The name of this input parameter. + */ + name: ComponentParameterName; + /** + * The type of input this parameter provides. The currently supported value is "string". + */ + type: ComponentParameterType; + /** + * The default value of this parameter if no input is provided. + */ + defaultValue?: ComponentParameterValueList; + /** + * Describes this parameter. + */ + description?: ComponentParameterDescription; + } + export type ComponentParameterDetailList = ComponentParameterDetail[]; + export type ComponentParameterList = ComponentParameter[]; + export type ComponentParameterName = string; + export type ComponentParameterType = string; + export type ComponentParameterValue = string; + export type ComponentParameterValueList = ComponentParameterValue[]; export interface ComponentSummary { /** * The Amazon Resource Name (ARN) of the component. @@ -805,7 +858,7 @@ declare namespace Imagebuilder { */ data?: InlineComponentData; /** - * 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 Amazon S3 URL and the requester must have permission to access the Amazon S3 bucket. If you use Amazon 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; /** @@ -865,7 +918,7 @@ declare namespace Imagebuilder { */ dockerfileTemplateData?: InlineDockerFileTemplate; /** - * The S3 URI for the Dockerfile that will be used to build your container image. + * The Amazon S3 URI for the Dockerfile that will be used to build your container image. */ dockerfileTemplateUri?: Uri; /** @@ -1045,9 +1098,13 @@ declare namespace Imagebuilder { */ tags?: TagMap; /** - * The working directory to be used during build and test workflows. + * The working directory used during build and test workflows. */ workingDirectory?: NonEmptyString; + /** + * Specify additional settings and launch scripts for your build instances. + */ + additionalInstanceConfiguration?: AdditionalInstanceConfiguration; /** * The idempotency token used to make this request idempotent. */ @@ -1129,15 +1186,15 @@ declare namespace Imagebuilder { */ 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 Amazon EC2 AMI. */ 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 Amazon 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 Amazon EC2 AMI. */ subnetId?: NonEmptyString; /** @@ -1823,6 +1880,10 @@ declare namespace Imagebuilder { * The working directory to be used during build and test workflows. */ workingDirectory?: NonEmptyString; + /** + * Before you create a new AMI, Image Builder launches temporary Amazon EC2 instances to build and test your image configuration. Instance configuration adds a layer of control over those instances. You can define settings and add scripts to run when an instance is launched from your AMI. + */ + additionalInstanceConfiguration?: AdditionalInstanceConfiguration; } export type ImageRecipeArn = string; export interface ImageRecipeSummary { @@ -1997,7 +2058,7 @@ 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 Amazon S3 URL and the requester must have permission to access the Amazon S3 bucket. If you use Amazon 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; /** @@ -2061,7 +2122,7 @@ declare namespace Imagebuilder { */ logging?: Logging; /** - * The EC2 key pair of the infrastructure configuration. + * The Amazon EC2 key pair of the infrastructure configuration. */ keyPair?: NonEmptyString; /** @@ -2165,7 +2226,7 @@ declare namespace Imagebuilder { export type InstanceTypeList = InstanceType[]; export interface LaunchPermissionConfiguration { /** - * The AWS account ID. + * The account ID. */ userIds?: AccountList; /** @@ -2175,7 +2236,7 @@ declare namespace Imagebuilder { } export interface LaunchTemplateConfiguration { /** - * Identifies the EC2 launch template to use. + * Identifies the Amazon EC2 launch template to use. */ launchTemplateId: LaunchTemplateId; /** @@ -2183,7 +2244,7 @@ declare namespace Imagebuilder { */ accountId?: AccountId; /** - * Set the specified EC2 launch template as the default launch template for the specified account. + * Set the specified Amazon EC2 launch template as the default launch template for the specified account. */ setDefaultVersion?: Boolean; } @@ -2559,7 +2620,7 @@ declare namespace Imagebuilder { export type OsVersionList = OsVersion[]; export interface OutputResources { /** - * The EC2 AMIs created by this image. + * The Amazon EC2 AMIs created by this image. */ amis?: AmiList; /** @@ -2708,6 +2769,12 @@ declare namespace Imagebuilder { imageBuildVersionArn?: ImageBuildVersionArn; } export type StringList = NonEmptyString[]; + export interface SystemsManagerAgent { + /** + * This property defaults to true. If Image Builder installs the SSM agent on a build instance, it removes the agent before creating a snapshot for the AMI. To ensure that the AMI you create includes the SSM agent, set this property to false. + */ + uninstallAfterBuild?: NullableBoolean; + } export type TagKey = string; export type TagKeyList = TagKey[]; export type TagMap = {[key: string]: TagValue}; @@ -2853,15 +2920,15 @@ declare namespace Imagebuilder { */ 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 Amazon EC2 AMI. */ 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 Amazon 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 Amazon EC2 AMI in. */ subnetId?: NonEmptyString; /** @@ -2904,6 +2971,7 @@ declare namespace Imagebuilder { infrastructureConfigurationArn?: InfrastructureConfigurationArn; } export type Uri = string; + export type UserDataOverride = string; export type VersionNumber = string; /** * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. diff --git a/clients/lambda.d.ts b/clients/lambda.d.ts index 316f0a96b5..07e3a5d81f 100644 --- a/clients/lambda.d.ts +++ b/clients/lambda.d.ts @@ -14,19 +14,19 @@ declare class Lambda extends Service { constructor(options?: Lambda.Types.ClientConfiguration) config: Config & Lambda.Types.ClientConfiguration; /** - * Adds permissions to the resource-based policy of a version of an AWS Lambda layer. Use this action to grant layer usage permission to other accounts. You can grant permission to a single account, all AWS accounts, or all accounts in an organization. To revoke permission, call RemoveLayerVersionPermission with the statement ID that you specified when you added it. + * Adds permissions to the resource-based policy of a version of an Lambda layer. Use this action to grant layer usage permission to other accounts. You can grant permission to a single account, all accounts in an organization, or all Amazon Web Services accounts. To revoke permission, call RemoveLayerVersionPermission with the statement ID that you specified when you added it. */ addLayerVersionPermission(params: Lambda.Types.AddLayerVersionPermissionRequest, callback?: (err: AWSError, data: Lambda.Types.AddLayerVersionPermissionResponse) => void): Request; /** - * Adds permissions to the resource-based policy of a version of an AWS Lambda layer. Use this action to grant layer usage permission to other accounts. You can grant permission to a single account, all AWS accounts, or all accounts in an organization. To revoke permission, call RemoveLayerVersionPermission with the statement ID that you specified when you added it. + * Adds permissions to the resource-based policy of a version of an Lambda layer. Use this action to grant layer usage permission to other accounts. You can grant permission to a single account, all accounts in an organization, or all Amazon Web Services accounts. To revoke permission, call RemoveLayerVersionPermission with the statement ID that you specified when you added it. */ addLayerVersionPermission(callback?: (err: AWSError, data: Lambda.Types.AddLayerVersionPermissionResponse) => void): Request; /** - * Grants an AWS service or another account permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function. To grant permission to another account, specify the account ID as the Principal. For AWS services, the principal is a domain-style identifier defined by the service, like s3.amazonaws.com or sns.amazonaws.com. For AWS services, you can also specify the ARN of the associated resource as the SourceArn. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function. This action adds a statement to a resource-based permissions policy for the function. For more information about function policies, see Lambda Function Policies. + * Grants an Amazon Web Services service or another account permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function. To grant permission to another account, specify the account ID as the Principal. For Amazon Web Services services, the principal is a domain-style identifier defined by the service, like s3.amazonaws.com or sns.amazonaws.com. For Amazon Web Services services, you can also specify the ARN of the associated resource as the SourceArn. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function. This action adds a statement to a resource-based permissions policy for the function. For more information about function policies, see Lambda Function Policies. */ addPermission(params: Lambda.Types.AddPermissionRequest, callback?: (err: AWSError, data: Lambda.Types.AddPermissionResponse) => void): Request; /** - * Grants an AWS service or another account permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function. To grant permission to another account, specify the account ID as the Principal. For AWS services, the principal is a domain-style identifier defined by the service, like s3.amazonaws.com or sns.amazonaws.com. For AWS services, you can also specify the ARN of the associated resource as the SourceArn. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function. This action adds a statement to a resource-based permissions policy for the function. For more information about function policies, see Lambda Function Policies. + * Grants an Amazon Web Services service or another account permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function. To grant permission to another account, specify the account ID as the Principal. For Amazon Web Services services, the principal is a domain-style identifier defined by the service, like s3.amazonaws.com or sns.amazonaws.com. For Amazon Web Services services, you can also specify the ARN of the associated resource as the SourceArn. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function. This action adds a statement to a resource-based permissions policy for the function. For more information about function policies, see Lambda Function Policies. */ addPermission(callback?: (err: AWSError, data: Lambda.Types.AddPermissionResponse) => void): Request; /** @@ -46,19 +46,19 @@ declare class Lambda extends Service { */ createCodeSigningConfig(callback?: (err: AWSError, data: Lambda.Types.CreateCodeSigningConfigResponse) => void): Request; /** - * Creates a mapping between an event source and an AWS Lambda function. Lambda reads items from the event source and triggers the function. For details about each event source type, see the following topics. Using AWS Lambda with Amazon DynamoDB Using AWS Lambda with Amazon Kinesis Using AWS Lambda with Amazon SQS Using AWS Lambda with Amazon MQ Using AWS Lambda with Amazon MSK Using AWS Lambda with Self-Managed Apache Kafka The following error handling options are only available for stream sources (DynamoDB and Kinesis): BisectBatchOnFunctionError - If the function returns an error, split the batch in two and retry. DestinationConfig - Send discarded records to an Amazon SQS queue or Amazon SNS topic. MaximumRecordAgeInSeconds - Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires MaximumRetryAttempts - Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires. ParallelizationFactor - Process multiple batches from each shard concurrently. + * Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source and triggers the function. For details about each event source type, see the following topics. In particular, each of the topics describes the required and optional parameters for the specific event source. Configuring a Dynamo DB stream as an event source Configuring a Kinesis stream as an event source Configuring an SQS queue as an event source Configuring an MQ broker as an event source Configuring MSK as an event source Configuring Self-Managed Apache Kafka as an event source The following error handling options are only available for stream sources (DynamoDB and Kinesis): BisectBatchOnFunctionError - If the function returns an error, split the batch in two and retry. DestinationConfig - Send discarded records to an Amazon SQS queue or Amazon SNS topic. MaximumRecordAgeInSeconds - Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires MaximumRetryAttempts - Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires. ParallelizationFactor - Process multiple batches from each shard concurrently. */ createEventSourceMapping(params: Lambda.Types.CreateEventSourceMappingRequest, callback?: (err: AWSError, data: Lambda.Types.EventSourceMappingConfiguration) => void): Request; /** - * Creates a mapping between an event source and an AWS Lambda function. Lambda reads items from the event source and triggers the function. For details about each event source type, see the following topics. Using AWS Lambda with Amazon DynamoDB Using AWS Lambda with Amazon Kinesis Using AWS Lambda with Amazon SQS Using AWS Lambda with Amazon MQ Using AWS Lambda with Amazon MSK Using AWS Lambda with Self-Managed Apache Kafka The following error handling options are only available for stream sources (DynamoDB and Kinesis): BisectBatchOnFunctionError - If the function returns an error, split the batch in two and retry. DestinationConfig - Send discarded records to an Amazon SQS queue or Amazon SNS topic. MaximumRecordAgeInSeconds - Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires MaximumRetryAttempts - Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires. ParallelizationFactor - Process multiple batches from each shard concurrently. + * Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source and triggers the function. For details about each event source type, see the following topics. In particular, each of the topics describes the required and optional parameters for the specific event source. Configuring a Dynamo DB stream as an event source Configuring a Kinesis stream as an event source Configuring an SQS queue as an event source Configuring an MQ broker as an event source Configuring MSK as an event source Configuring Self-Managed Apache Kafka as an event source The following error handling options are only available for stream sources (DynamoDB and Kinesis): BisectBatchOnFunctionError - If the function returns an error, split the batch in two and retry. DestinationConfig - Send discarded records to an Amazon SQS queue or Amazon SNS topic. MaximumRecordAgeInSeconds - Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires MaximumRetryAttempts - Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires. ParallelizationFactor - Process multiple batches from each shard concurrently. */ createEventSourceMapping(callback?: (err: AWSError, data: Lambda.Types.EventSourceMappingConfiguration) => void): Request; /** - * Creates a Lambda function. To create a function, you need a deployment package and an execution role. The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use AWS services, such as Amazon CloudWatch Logs for log streaming and AWS X-Ray for request tracing. When you create a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute or so. During this time, you can't invoke or modify the function. The State, StateReason, and StateReasonCode fields in the response from GetFunctionConfiguration indicate when the function is ready to invoke. For more information, see Function States. A function has an unpublished version, and can have published versions and aliases. The unpublished version changes when you update your function's code and configuration. A published version is a snapshot of your function code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be changed to map to a different version. Use the Publish parameter to create version 1 of your function from its initial configuration. The other parameters let you configure version-specific and function-level settings. You can modify version-specific settings later with UpdateFunctionConfiguration. Function-level settings apply to both the unpublished and published versions of the function, and include tags (TagResource) and per-function concurrency limits (PutFunctionConcurrency). You can use code signing if your deployment package is a .zip file archive. To enable code signing for this function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with UpdateFunctionCode, Lambda checks that the code package has a valid signature from a trusted publisher. The code-signing configuration includes set set of signing profiles, which define the trusted publishers for this function. If another account or an AWS service invokes your function, use AddPermission to grant permission by creating a resource-based IAM policy. You can grant permissions at the function level, on a version, or on an alias. To invoke your function directly, use Invoke. To invoke your function in response to events in other AWS services, create an event source mapping (CreateEventSourceMapping), or configure a function trigger in the other service. For more information, see Invoking Functions. + * Creates a Lambda function. To create a function, you need a deployment package and an execution role. The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use Amazon Web Services services, such as Amazon CloudWatch Logs for log streaming and X-Ray for request tracing. You set the package type to Image if the deployment package is a container image. For a container image, the code property must include the URI of a container image in the Amazon ECR registry. You do not need to specify the handler and runtime properties. You set the package type to Zip if the deployment package is a .zip file archive. For a .zip file archive, the code property specifies the location of the .zip file. You must also specify the handler and runtime properties. When you create a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute or so. During this time, you can't invoke or modify the function. The State, StateReason, and StateReasonCode fields in the response from GetFunctionConfiguration indicate when the function is ready to invoke. For more information, see Function States. A function has an unpublished version, and can have published versions and aliases. The unpublished version changes when you update your function's code and configuration. A published version is a snapshot of your function code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be changed to map to a different version. Use the Publish parameter to create version 1 of your function from its initial configuration. The other parameters let you configure version-specific and function-level settings. You can modify version-specific settings later with UpdateFunctionConfiguration. Function-level settings apply to both the unpublished and published versions of the function, and include tags (TagResource) and per-function concurrency limits (PutFunctionConcurrency). You can use code signing if your deployment package is a .zip file archive. To enable code signing for this function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with UpdateFunctionCode, Lambda checks that the code package has a valid signature from a trusted publisher. The code-signing configuration includes set set of signing profiles, which define the trusted publishers for this function. If another account or an Amazon Web Services service invokes your function, use AddPermission to grant permission by creating a resource-based IAM policy. You can grant permissions at the function level, on a version, or on an alias. To invoke your function directly, use Invoke. To invoke your function in response to events in other Amazon Web Services services, create an event source mapping (CreateEventSourceMapping), or configure a function trigger in the other service. For more information, see Invoking Functions. */ createFunction(params: Lambda.Types.CreateFunctionRequest, callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request; /** - * Creates a Lambda function. To create a function, you need a deployment package and an execution role. The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use AWS services, such as Amazon CloudWatch Logs for log streaming and AWS X-Ray for request tracing. When you create a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute or so. During this time, you can't invoke or modify the function. The State, StateReason, and StateReasonCode fields in the response from GetFunctionConfiguration indicate when the function is ready to invoke. For more information, see Function States. A function has an unpublished version, and can have published versions and aliases. The unpublished version changes when you update your function's code and configuration. A published version is a snapshot of your function code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be changed to map to a different version. Use the Publish parameter to create version 1 of your function from its initial configuration. The other parameters let you configure version-specific and function-level settings. You can modify version-specific settings later with UpdateFunctionConfiguration. Function-level settings apply to both the unpublished and published versions of the function, and include tags (TagResource) and per-function concurrency limits (PutFunctionConcurrency). You can use code signing if your deployment package is a .zip file archive. To enable code signing for this function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with UpdateFunctionCode, Lambda checks that the code package has a valid signature from a trusted publisher. The code-signing configuration includes set set of signing profiles, which define the trusted publishers for this function. If another account or an AWS service invokes your function, use AddPermission to grant permission by creating a resource-based IAM policy. You can grant permissions at the function level, on a version, or on an alias. To invoke your function directly, use Invoke. To invoke your function in response to events in other AWS services, create an event source mapping (CreateEventSourceMapping), or configure a function trigger in the other service. For more information, see Invoking Functions. + * Creates a Lambda function. To create a function, you need a deployment package and an execution role. The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use Amazon Web Services services, such as Amazon CloudWatch Logs for log streaming and X-Ray for request tracing. You set the package type to Image if the deployment package is a container image. For a container image, the code property must include the URI of a container image in the Amazon ECR registry. You do not need to specify the handler and runtime properties. You set the package type to Zip if the deployment package is a .zip file archive. For a .zip file archive, the code property specifies the location of the .zip file. You must also specify the handler and runtime properties. When you create a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute or so. During this time, you can't invoke or modify the function. The State, StateReason, and StateReasonCode fields in the response from GetFunctionConfiguration indicate when the function is ready to invoke. For more information, see Function States. A function has an unpublished version, and can have published versions and aliases. The unpublished version changes when you update your function's code and configuration. A published version is a snapshot of your function code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be changed to map to a different version. Use the Publish parameter to create version 1 of your function from its initial configuration. The other parameters let you configure version-specific and function-level settings. You can modify version-specific settings later with UpdateFunctionConfiguration. Function-level settings apply to both the unpublished and published versions of the function, and include tags (TagResource) and per-function concurrency limits (PutFunctionConcurrency). You can use code signing if your deployment package is a .zip file archive. To enable code signing for this function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with UpdateFunctionCode, Lambda checks that the code package has a valid signature from a trusted publisher. The code-signing configuration includes set set of signing profiles, which define the trusted publishers for this function. If another account or an Amazon Web Services service invokes your function, use AddPermission to grant permission by creating a resource-based IAM policy. You can grant permissions at the function level, on a version, or on an alias. To invoke your function directly, use Invoke. To invoke your function in response to events in other Amazon Web Services services, create an event source mapping (CreateEventSourceMapping), or configure a function trigger in the other service. For more information, see Invoking Functions. */ createFunction(callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request; /** @@ -86,11 +86,11 @@ declare class Lambda extends Service { */ deleteEventSourceMapping(callback?: (err: AWSError, data: Lambda.Types.EventSourceMappingConfiguration) => void): Request; /** - * Deletes a Lambda function. To delete a specific function version, use the Qualifier parameter. Otherwise, all versions and aliases are deleted. To delete Lambda event source mappings that invoke a function, use DeleteEventSourceMapping. For AWS services and resources that invoke your function directly, delete the trigger in the service where you originally configured it. + * Deletes a Lambda function. To delete a specific function version, use the Qualifier parameter. Otherwise, all versions and aliases are deleted. To delete Lambda event source mappings that invoke a function, use DeleteEventSourceMapping. For Amazon Web Services services and resources that invoke your function directly, delete the trigger in the service where you originally configured it. */ deleteFunction(params: Lambda.Types.DeleteFunctionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes a Lambda function. To delete a specific function version, use the Qualifier parameter. Otherwise, all versions and aliases are deleted. To delete Lambda event source mappings that invoke a function, use DeleteEventSourceMapping. For AWS services and resources that invoke your function directly, delete the trigger in the service where you originally configured it. + * Deletes a Lambda function. To delete a specific function version, use the Qualifier parameter. Otherwise, all versions and aliases are deleted. To delete Lambda event source mappings that invoke a function, use DeleteEventSourceMapping. For Amazon Web Services services and resources that invoke your function directly, delete the trigger in the service where you originally configured it. */ deleteFunction(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** @@ -118,11 +118,11 @@ declare class Lambda extends Service { */ deleteFunctionEventInvokeConfig(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes a version of an AWS Lambda layer. Deleted versions can no longer be viewed or added to functions. To avoid breaking functions, a copy of the version remains in Lambda until no functions refer to it. + * Deletes a version of an Lambda layer. Deleted versions can no longer be viewed or added to functions. To avoid breaking functions, a copy of the version remains in Lambda until no functions refer to it. */ deleteLayerVersion(params: Lambda.Types.DeleteLayerVersionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes a version of an AWS Lambda layer. Deleted versions can no longer be viewed or added to functions. To avoid breaking functions, a copy of the version remains in Lambda until no functions refer to it. + * Deletes a version of an Lambda layer. Deleted versions can no longer be viewed or added to functions. To avoid breaking functions, a copy of the version remains in Lambda until no functions refer to it. */ deleteLayerVersion(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** @@ -134,11 +134,11 @@ declare class Lambda extends Service { */ deleteProvisionedConcurrencyConfig(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Retrieves details about your account's limits and usage in an AWS Region. + * Retrieves details about your account's limits and usage in an Amazon Web Services Region. */ getAccountSettings(params: Lambda.Types.GetAccountSettingsRequest, callback?: (err: AWSError, data: Lambda.Types.GetAccountSettingsResponse) => void): Request; /** - * Retrieves details about your account's limits and usage in an AWS Region. + * Retrieves details about your account's limits and usage in an Amazon Web Services Region. */ getAccountSettings(callback?: (err: AWSError, data: Lambda.Types.GetAccountSettingsResponse) => void): Request; /** @@ -206,27 +206,27 @@ declare class Lambda extends Service { */ getFunctionEventInvokeConfig(callback?: (err: AWSError, data: Lambda.Types.FunctionEventInvokeConfig) => void): Request; /** - * Returns information about a version of an AWS Lambda layer, with a link to download the layer archive that's valid for 10 minutes. + * Returns information about a version of an Lambda layer, with a link to download the layer archive that's valid for 10 minutes. */ getLayerVersion(params: Lambda.Types.GetLayerVersionRequest, callback?: (err: AWSError, data: Lambda.Types.GetLayerVersionResponse) => void): Request; /** - * Returns information about a version of an AWS Lambda layer, with a link to download the layer archive that's valid for 10 minutes. + * Returns information about a version of an Lambda layer, with a link to download the layer archive that's valid for 10 minutes. */ getLayerVersion(callback?: (err: AWSError, data: Lambda.Types.GetLayerVersionResponse) => void): Request; /** - * Returns information about a version of an AWS Lambda layer, with a link to download the layer archive that's valid for 10 minutes. + * Returns information about a version of an Lambda layer, with a link to download the layer archive that's valid for 10 minutes. */ getLayerVersionByArn(params: Lambda.Types.GetLayerVersionByArnRequest, callback?: (err: AWSError, data: Lambda.Types.GetLayerVersionResponse) => void): Request; /** - * Returns information about a version of an AWS Lambda layer, with a link to download the layer archive that's valid for 10 minutes. + * Returns information about a version of an Lambda layer, with a link to download the layer archive that's valid for 10 minutes. */ getLayerVersionByArn(callback?: (err: AWSError, data: Lambda.Types.GetLayerVersionResponse) => void): Request; /** - * Returns the permission policy for a version of an AWS Lambda layer. For more information, see AddLayerVersionPermission. + * Returns the permission policy for a version of an Lambda layer. For more information, see AddLayerVersionPermission. */ getLayerVersionPolicy(params: Lambda.Types.GetLayerVersionPolicyRequest, callback?: (err: AWSError, data: Lambda.Types.GetLayerVersionPolicyResponse) => void): Request; /** - * Returns the permission policy for a version of an AWS Lambda layer. For more information, see AddLayerVersionPermission. + * Returns the permission policy for a version of an Lambda layer. For more information, see AddLayerVersionPermission. */ getLayerVersionPolicy(callback?: (err: AWSError, data: Lambda.Types.GetLayerVersionPolicyResponse) => void): Request; /** @@ -310,19 +310,19 @@ declare class Lambda extends Service { */ listFunctionsByCodeSigningConfig(callback?: (err: AWSError, data: Lambda.Types.ListFunctionsByCodeSigningConfigResponse) => void): Request; /** - * Lists the versions of an AWS Lambda layer. Versions that have been deleted aren't listed. Specify a runtime identifier to list only versions that indicate that they're compatible with that runtime. + * Lists the versions of an Lambda layer. Versions that have been deleted aren't listed. Specify a runtime identifier to list only versions that indicate that they're compatible with that runtime. */ listLayerVersions(params: Lambda.Types.ListLayerVersionsRequest, callback?: (err: AWSError, data: Lambda.Types.ListLayerVersionsResponse) => void): Request; /** - * Lists the versions of an AWS Lambda layer. Versions that have been deleted aren't listed. Specify a runtime identifier to list only versions that indicate that they're compatible with that runtime. + * Lists the versions of an Lambda layer. Versions that have been deleted aren't listed. Specify a runtime identifier to list only versions that indicate that they're compatible with that runtime. */ listLayerVersions(callback?: (err: AWSError, data: Lambda.Types.ListLayerVersionsResponse) => void): Request; /** - * Lists AWS Lambda layers and shows information about the latest version of each. Specify a runtime identifier to list only layers that indicate that they're compatible with that runtime. + * Lists Lambda layers and shows information about the latest version of each. Specify a runtime identifier to list only layers that indicate that they're compatible with that runtime. */ listLayers(params: Lambda.Types.ListLayersRequest, callback?: (err: AWSError, data: Lambda.Types.ListLayersResponse) => void): Request; /** - * Lists AWS Lambda layers and shows information about the latest version of each. Specify a runtime identifier to list only layers that indicate that they're compatible with that runtime. + * Lists Lambda layers and shows information about the latest version of each. Specify a runtime identifier to list only layers that indicate that they're compatible with that runtime. */ listLayers(callback?: (err: AWSError, data: Lambda.Types.ListLayersResponse) => void): Request; /** @@ -350,19 +350,19 @@ declare class Lambda extends Service { */ listVersionsByFunction(callback?: (err: AWSError, data: Lambda.Types.ListVersionsByFunctionResponse) => void): Request; /** - * Creates an AWS Lambda layer from a ZIP archive. Each time you call PublishLayerVersion with the same layer name, a new version is created. Add layers to your function with CreateFunction or UpdateFunctionConfiguration. + * Creates an Lambda layer from a ZIP archive. Each time you call PublishLayerVersion with the same layer name, a new version is created. Add layers to your function with CreateFunction or UpdateFunctionConfiguration. */ publishLayerVersion(params: Lambda.Types.PublishLayerVersionRequest, callback?: (err: AWSError, data: Lambda.Types.PublishLayerVersionResponse) => void): Request; /** - * Creates an AWS Lambda layer from a ZIP archive. Each time you call PublishLayerVersion with the same layer name, a new version is created. Add layers to your function with CreateFunction or UpdateFunctionConfiguration. + * Creates an Lambda layer from a ZIP archive. Each time you call PublishLayerVersion with the same layer name, a new version is created. Add layers to your function with CreateFunction or UpdateFunctionConfiguration. */ publishLayerVersion(callback?: (err: AWSError, data: Lambda.Types.PublishLayerVersionResponse) => void): Request; /** - * Creates a version from the current code and configuration of a function. Use versions to create a snapshot of your function code and configuration that doesn't change. AWS Lambda doesn't publish a version if the function's configuration and code haven't changed since the last version. Use UpdateFunctionCode or UpdateFunctionConfiguration to update the function before publishing a version. Clients can invoke versions directly or with an alias. To create an alias, use CreateAlias. + * Creates a version from the current code and configuration of a function. Use versions to create a snapshot of your function code and configuration that doesn't change. Lambda doesn't publish a version if the function's configuration and code haven't changed since the last version. Use UpdateFunctionCode or UpdateFunctionConfiguration to update the function before publishing a version. Clients can invoke versions directly or with an alias. To create an alias, use CreateAlias. */ publishVersion(params: Lambda.Types.PublishVersionRequest, callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request; /** - * Creates a version from the current code and configuration of a function. Use versions to create a snapshot of your function code and configuration that doesn't change. AWS Lambda doesn't publish a version if the function's configuration and code haven't changed since the last version. Use UpdateFunctionCode or UpdateFunctionConfiguration to update the function before publishing a version. Clients can invoke versions directly or with an alias. To create an alias, use CreateAlias. + * Creates a version from the current code and configuration of a function. Use versions to create a snapshot of your function code and configuration that doesn't change. Lambda doesn't publish a version if the function's configuration and code haven't changed since the last version. Use UpdateFunctionCode or UpdateFunctionConfiguration to update the function before publishing a version. Clients can invoke versions directly or with an alias. To create an alias, use CreateAlias. */ publishVersion(callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request; /** @@ -398,19 +398,19 @@ declare class Lambda extends Service { */ putProvisionedConcurrencyConfig(callback?: (err: AWSError, data: Lambda.Types.PutProvisionedConcurrencyConfigResponse) => void): Request; /** - * Removes a statement from the permissions policy for a version of an AWS Lambda layer. For more information, see AddLayerVersionPermission. + * Removes a statement from the permissions policy for a version of an Lambda layer. For more information, see AddLayerVersionPermission. */ removeLayerVersionPermission(params: Lambda.Types.RemoveLayerVersionPermissionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Removes a statement from the permissions policy for a version of an AWS Lambda layer. For more information, see AddLayerVersionPermission. + * Removes a statement from the permissions policy for a version of an Lambda layer. For more information, see AddLayerVersionPermission. */ removeLayerVersionPermission(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Revokes function-use permission from an AWS service or another account. You can get the ID of the statement from the output of GetPolicy. + * Revokes function-use permission from an Amazon Web Services service or another account. You can get the ID of the statement from the output of GetPolicy. */ removePermission(params: Lambda.Types.RemovePermissionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Revokes function-use permission from an AWS service or another account. You can get the ID of the statement from the output of GetPolicy. + * Revokes function-use permission from an Amazon Web Services service or another account. You can get the ID of the statement from the output of GetPolicy. */ removePermission(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** @@ -446,11 +446,11 @@ declare class Lambda extends Service { */ updateCodeSigningConfig(callback?: (err: AWSError, data: Lambda.Types.UpdateCodeSigningConfigResponse) => void): Request; /** - * Updates an event source mapping. You can change the function that AWS Lambda invokes, or pause invocation and resume later from the same location. The following error handling options are only available for stream sources (DynamoDB and Kinesis): BisectBatchOnFunctionError - If the function returns an error, split the batch in two and retry. DestinationConfig - Send discarded records to an Amazon SQS queue or Amazon SNS topic. MaximumRecordAgeInSeconds - Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires MaximumRetryAttempts - Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires. ParallelizationFactor - Process multiple batches from each shard concurrently. + * Updates an event source mapping. You can change the function that Lambda invokes, or pause invocation and resume later from the same location. The following error handling options are only available for stream sources (DynamoDB and Kinesis): BisectBatchOnFunctionError - If the function returns an error, split the batch in two and retry. DestinationConfig - Send discarded records to an Amazon SQS queue or Amazon SNS topic. MaximumRecordAgeInSeconds - Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires MaximumRetryAttempts - Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires. ParallelizationFactor - Process multiple batches from each shard concurrently. */ updateEventSourceMapping(params: Lambda.Types.UpdateEventSourceMappingRequest, callback?: (err: AWSError, data: Lambda.Types.EventSourceMappingConfiguration) => void): Request; /** - * Updates an event source mapping. You can change the function that AWS Lambda invokes, or pause invocation and resume later from the same location. The following error handling options are only available for stream sources (DynamoDB and Kinesis): BisectBatchOnFunctionError - If the function returns an error, split the batch in two and retry. DestinationConfig - Send discarded records to an Amazon SQS queue or Amazon SNS topic. MaximumRecordAgeInSeconds - Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires MaximumRetryAttempts - Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires. ParallelizationFactor - Process multiple batches from each shard concurrently. + * Updates an event source mapping. You can change the function that Lambda invokes, or pause invocation and resume later from the same location. The following error handling options are only available for stream sources (DynamoDB and Kinesis): BisectBatchOnFunctionError - If the function returns an error, split the batch in two and retry. DestinationConfig - Send discarded records to an Amazon SQS queue or Amazon SNS topic. MaximumRecordAgeInSeconds - Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires MaximumRetryAttempts - Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires. ParallelizationFactor - Process multiple batches from each shard concurrently. */ updateEventSourceMapping(callback?: (err: AWSError, data: Lambda.Types.EventSourceMappingConfiguration) => void): Request; /** @@ -462,11 +462,11 @@ declare class Lambda extends Service { */ updateFunctionCode(callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request; /** - * Modify the version-specific settings of a Lambda function. When you update a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute. During this time, you can't modify the function, but you can still invoke it. The LastUpdateStatus, LastUpdateStatusReason, and LastUpdateStatusReasonCode fields in the response from GetFunctionConfiguration indicate when the update is complete and the function is processing events with the new configuration. For more information, see Function States. These settings can vary between versions of a function and are locked when you publish a version. You can't modify the configuration of a published version, only the unpublished version. To configure function concurrency, use PutFunctionConcurrency. To grant invoke permissions to an account or AWS service, use AddPermission. + * Modify the version-specific settings of a Lambda function. When you update a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute. During this time, you can't modify the function, but you can still invoke it. The LastUpdateStatus, LastUpdateStatusReason, and LastUpdateStatusReasonCode fields in the response from GetFunctionConfiguration indicate when the update is complete and the function is processing events with the new configuration. For more information, see Function States. These settings can vary between versions of a function and are locked when you publish a version. You can't modify the configuration of a published version, only the unpublished version. To configure function concurrency, use PutFunctionConcurrency. To grant invoke permissions to an account or Amazon Web Services service, use AddPermission. */ updateFunctionConfiguration(params: Lambda.Types.UpdateFunctionConfigurationRequest, callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request; /** - * Modify the version-specific settings of a Lambda function. When you update a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute. During this time, you can't modify the function, but you can still invoke it. The LastUpdateStatus, LastUpdateStatusReason, and LastUpdateStatusReasonCode fields in the response from GetFunctionConfiguration indicate when the update is complete and the function is processing events with the new configuration. For more information, see Function States. These settings can vary between versions of a function and are locked when you publish a version. You can't modify the configuration of a published version, only the unpublished version. To configure function concurrency, use PutFunctionConcurrency. To grant invoke permissions to an account or AWS service, use AddPermission. + * Modify the version-specific settings of a Lambda function. When you update a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute. During this time, you can't modify the function, but you can still invoke it. The LastUpdateStatus, LastUpdateStatusReason, and LastUpdateStatusReasonCode fields in the response from GetFunctionConfiguration indicate when the update is complete and the function is processing events with the new configuration. For more information, see Function States. These settings can vary between versions of a function and are locked when you publish a version. You can't modify the configuration of a published version, only the unpublished version. To configure function concurrency, use PutFunctionConcurrency. To grant invoke permissions to an account or Amazon Web Services service, use AddPermission. */ updateFunctionConfiguration(callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request; /** @@ -513,7 +513,7 @@ declare namespace Lambda { */ CodeSizeUnzipped?: Long; /** - * The maximum size of a deployment package when it's uploaded directly to AWS Lambda. Use Amazon S3 for larger files. + * The maximum size of a deployment package when it's uploaded directly to Lambda. Use Amazon S3 for larger files. */ CodeSizeZipped?: Long; /** @@ -554,7 +554,7 @@ declare namespace Lambda { */ Action: LayerPermissionAllowedAction; /** - * An account ID, or * to grant permission to all AWS accounts. + * An account ID, or * to grant layer usage permission to all accounts in an organization, or all Amazon Web Services accounts (if organizationId is not specified). For the last case, make sure that you really do want all Amazon Web Services accounts to have usage permission to this layer. */ Principal: LayerPermissionAllowedPrincipal; /** @@ -590,11 +590,11 @@ declare namespace Lambda { */ Action: Action; /** - * The AWS service or account that invokes the function. If you specify a service, use SourceArn or SourceAccount to limit who can invoke the function through that service. + * The Amazon Web Services service or account that invokes the function. If you specify a service, use SourceArn or SourceAccount to limit who can invoke the function through that service. */ Principal: Principal; /** - * For AWS services, the ARN of the AWS resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic. + * For Amazon Web Services services, the ARN of the Amazon Web Services resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic. */ SourceArn?: Arn; /** @@ -775,7 +775,7 @@ declare namespace Lambda { */ MaximumBatchingWindowInSeconds?: MaximumBatchingWindowInSeconds; /** - * (Streams) The number of batches to process from each shard concurrently. + * (Streams only) The number of batches to process from each shard concurrently. */ ParallelizationFactor?: ParallelizationFactor; /** @@ -787,23 +787,23 @@ declare namespace Lambda { */ StartingPositionTimestamp?: _Date; /** - * (Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records. + * (Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records. */ DestinationConfig?: DestinationConfig; /** - * (Streams) Discard records older than the specified age. The default value is infinite (-1). + * (Streams only) Discard records older than the specified age. The default value is infinite (-1). */ MaximumRecordAgeInSeconds?: MaximumRecordAgeInSeconds; /** - * (Streams) If the function returns an error, split the batch in two and retry. + * (Streams only) If the function returns an error, split the batch in two and retry. */ BisectBatchOnFunctionError?: BisectBatchOnFunctionError; /** - * (Streams) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records will be retried until the record expires. + * (Streams only) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records will be retried until the record expires. */ MaximumRetryAttempts?: MaximumRetryAttemptsEventSourceMapping; /** - * (Streams) The duration in seconds of a processing window. The range is between 1 second up to 900 seconds. + * (Streams only) The duration in seconds of a processing window. The range is between 1 second up to 900 seconds. */ TumblingWindowInSeconds?: TumblingWindowInSeconds; /** @@ -823,7 +823,7 @@ declare namespace Lambda { */ SelfManagedEventSource?: SelfManagedEventSource; /** - * (Streams) A list of current response type enums applied to the event source mapping. + * (Streams only) A list of current response type enums applied to the event source mapping. */ FunctionResponseTypes?: FunctionResponseTypeList; } @@ -853,11 +853,11 @@ declare namespace Lambda { */ Description?: Description; /** - * The amount of time that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. + * The amount of time that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. For additional information, see Lambda execution environment. */ Timeout?: Timeout; /** - * The amount of memory available to the function at runtime. Increasing the function's memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB. + * The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB. */ MemorySize?: MemorySize; /** @@ -865,7 +865,7 @@ declare namespace Lambda { */ Publish?: Boolean; /** - * For network connectivity to AWS resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can only access resources and the internet through that VPC. For more information, see VPC Settings. + * For network connectivity to Amazon Web Services resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can only access resources and the internet through that VPC. For more information, see VPC Settings. */ VpcConfig?: VpcConfig; /** @@ -881,11 +881,11 @@ declare namespace Lambda { */ Environment?: Environment; /** - * The ARN of the AWS Key Management Service (AWS KMS) key that's used to encrypt your function's environment variables. If it's not provided, AWS Lambda uses a default service key. + * The ARN of the Amazon Web Services Key Management Service (KMS) key that's used to encrypt your function's environment variables. If it's not provided, Lambda uses a default service key. */ KMSKeyArn?: KMSKeyArn; /** - * Set Mode to Active to sample and trace a subset of incoming requests with AWS X-Ray. + * Set Mode to Active to sample and trace a subset of incoming requests with X-Ray. */ TracingConfig?: TracingConfig; /** @@ -901,7 +901,7 @@ declare namespace Lambda { */ FileSystemConfigs?: FileSystemConfigList; /** - * Container image configuration values that override the values in the container image Dockerfile. + * Container image configuration values that override the values in the container image Dockerfile. */ ImageConfig?: ImageConfig; /** @@ -1011,7 +1011,7 @@ declare namespace Lambda { export type Endpoints = {[key: string]: EndpointLists}; export interface Environment { /** - * Environment variable key-value pairs. + * Environment variable key-value pairs. For more information, see Using Lambda environment variables. */ Variables?: EnvironmentVariables; } @@ -1060,7 +1060,7 @@ declare namespace Lambda { */ MaximumBatchingWindowInSeconds?: MaximumBatchingWindowInSeconds; /** - * (Streams) The number of batches to process from each shard concurrently. The default value is 1. + * (Streams only) The number of batches to process from each shard concurrently. The default value is 1. */ ParallelizationFactor?: ParallelizationFactor; /** @@ -1076,7 +1076,7 @@ declare namespace Lambda { */ LastModified?: _Date; /** - * The result of the last AWS Lambda invocation of your Lambda function. + * The result of the last Lambda invocation of your Lambda function. */ LastProcessingResult?: String; /** @@ -1088,7 +1088,7 @@ declare namespace Lambda { */ StateTransitionReason?: String; /** - * (Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records. + * (Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records. */ DestinationConfig?: DestinationConfig; /** @@ -1108,23 +1108,23 @@ declare namespace Lambda { */ SelfManagedEventSource?: SelfManagedEventSource; /** - * (Streams) Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires. + * (Streams only) Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old records. */ MaximumRecordAgeInSeconds?: MaximumRecordAgeInSeconds; /** - * (Streams) If the function returns an error, split the batch in two and retry. The default value is false. + * (Streams only) If the function returns an error, split the batch in two and retry. The default value is false. */ BisectBatchOnFunctionError?: BisectBatchOnFunctionError; /** - * (Streams) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires. + * (Streams only) Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, Lambda retries failed records until the record expires in the event source. */ MaximumRetryAttempts?: MaximumRetryAttemptsEventSourceMapping; /** - * (Streams) The duration in seconds of a processing window. The range is between 1 second up to 900 seconds. + * (Streams only) The duration in seconds of a processing window. The range is between 1 second up to 900 seconds. */ TumblingWindowInSeconds?: TumblingWindowInSeconds; /** - * (Streams) A list of current response type enums applied to the event source mapping. + * (Streams only) A list of current response type enums applied to the event source mapping. */ FunctionResponseTypes?: FunctionResponseTypeList; } @@ -1147,11 +1147,11 @@ declare namespace Lambda { export type FunctionArnList = FunctionArn[]; export interface FunctionCode { /** - * The base64-encoded contents of the deployment package. AWS SDK and AWS CLI clients handle the encoding for you. + * The base64-encoded contents of the deployment package. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you. */ ZipFile?: _Blob; /** - * An Amazon S3 bucket in the same AWS Region as your function. The bucket can be in a different AWS account. + * An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a different Amazon Web Services account. */ S3Bucket?: S3Bucket; /** @@ -1251,7 +1251,7 @@ declare namespace Lambda { */ KMSKeyArn?: KMSKeyArn; /** - * The function's AWS X-Ray tracing configuration. + * The function's X-Ray tracing configuration. */ TracingConfig?: TracingConfigResponse; /** @@ -1725,7 +1725,7 @@ declare namespace Lambda { */ S3ObjectVersion?: S3ObjectVersion; /** - * The base64-encoded contents of the layer archive. AWS SDK and AWS CLI clients handle the encoding for you. + * The base64-encoded contents of the layer archive. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you. */ ZipFile?: _Blob; } @@ -1922,7 +1922,7 @@ declare namespace Lambda { } export interface ListFunctionsRequest { /** - * For Lambda@Edge functions, the AWS Region of the master function. For example, us-east-1 filters the list of functions to only include Lambda@Edge functions replicated from a master function in US East (N. Virginia). If specified, you must set FunctionVersion to ALL. + * For Lambda@Edge functions, the Region of the master function. For example, us-east-1 filters the list of functions to only include Lambda@Edge functions replicated from a master function in US East (N. Virginia). If specified, you must set FunctionVersion to ALL. */ MasterRegion?: MasterRegion; /** @@ -2046,7 +2046,7 @@ declare namespace Lambda { */ Marker?: String; /** - * The maximum number of versions to return. + * The maximum number of versions to return. Note that ListVersionsByFunction returns a maximum of 50 items in each response, even if you set the number higher. */ MaxItems?: MaxListItems; } @@ -2351,7 +2351,7 @@ declare namespace Lambda { export type SigningProfileVersionArns = Arn[]; export interface SourceAccessConfiguration { /** - * The type of authentication protocol or the VPC components for your event source. For example: "Type":"SASL_SCRAM_512_AUTH". BASIC_AUTH - (MQ) The Secrets Manager secret that stores your broker credentials. VPC_SUBNET - The subnets associated with your VPC. Lambda connects to these subnets to fetch data from your Self-Managed Apache Kafka cluster. VPC_SECURITY_GROUP - The VPC security group used to manage access to your Self-Managed Apache Kafka brokers. SASL_SCRAM_256_AUTH - The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your Self-Managed Apache Kafka brokers. SASL_SCRAM_512_AUTH - The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your Self-Managed Apache Kafka brokers. + * The type of authentication protocol or the VPC components for your event source. For example: "Type":"SASL_SCRAM_512_AUTH". BASIC_AUTH - (MQ) The Secrets Manager secret that stores your broker credentials. VPC_SUBNET - The subnets associated with your VPC. Lambda connects to these subnets to fetch data from your Self-Managed Apache Kafka cluster. VPC_SECURITY_GROUP - The VPC security group used to manage access to your Self-Managed Apache Kafka brokers. SASL_SCRAM_256_AUTH - The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your Self-Managed Apache Kafka brokers. SASL_SCRAM_512_AUTH - The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your Self-Managed Apache Kafka brokers. VIRTUAL_HOST - The name of the virtual host in your RabbitMQ broker. Lambda will use this host as the event source. */ Type?: SourceAccessType; /** @@ -2360,7 +2360,7 @@ declare namespace Lambda { URI?: URI; } export type SourceAccessConfigurations = SourceAccessConfiguration[]; - export type SourceAccessType = "BASIC_AUTH"|"VPC_SUBNET"|"VPC_SECURITY_GROUP"|"SASL_SCRAM_512_AUTH"|"SASL_SCRAM_256_AUTH"|string; + export type SourceAccessType = "BASIC_AUTH"|"VPC_SUBNET"|"VPC_SECURITY_GROUP"|"SASL_SCRAM_512_AUTH"|"SASL_SCRAM_256_AUTH"|"VIRTUAL_HOST"|string; export type SourceOwner = string; export type State = "Pending"|"Active"|"Inactive"|"Failed"|string; export type StateReason = string; @@ -2486,23 +2486,23 @@ declare namespace Lambda { */ MaximumBatchingWindowInSeconds?: MaximumBatchingWindowInSeconds; /** - * (Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records. + * (Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records. */ DestinationConfig?: DestinationConfig; /** - * (Streams) Discard records older than the specified age. The default value is infinite (-1). + * (Streams only) Discard records older than the specified age. The default value is infinite (-1). */ MaximumRecordAgeInSeconds?: MaximumRecordAgeInSeconds; /** - * (Streams) If the function returns an error, split the batch in two and retry. + * (Streams only) If the function returns an error, split the batch in two and retry. */ BisectBatchOnFunctionError?: BisectBatchOnFunctionError; /** - * (Streams) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records will be retried until the record expires. + * (Streams only) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records will be retried until the record expires. */ MaximumRetryAttempts?: MaximumRetryAttemptsEventSourceMapping; /** - * (Streams) The number of batches to process from each shard concurrently. + * (Streams only) The number of batches to process from each shard concurrently. */ ParallelizationFactor?: ParallelizationFactor; /** @@ -2510,11 +2510,11 @@ declare namespace Lambda { */ SourceAccessConfigurations?: SourceAccessConfigurations; /** - * (Streams) The duration in seconds of a processing window. The range is between 1 second up to 900 seconds. + * (Streams only) The duration in seconds of a processing window. The range is between 1 second up to 900 seconds. */ TumblingWindowInSeconds?: TumblingWindowInSeconds; /** - * (Streams) A list of current response type enums applied to the event source mapping. + * (Streams only) A list of current response type enums applied to the event source mapping. */ FunctionResponseTypes?: FunctionResponseTypeList; } @@ -2524,11 +2524,11 @@ declare namespace Lambda { */ FunctionName: FunctionName; /** - * The base64-encoded contents of the deployment package. AWS SDK and AWS CLI clients handle the encoding for you. + * The base64-encoded contents of the deployment package. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you. */ ZipFile?: _Blob; /** - * An Amazon S3 bucket in the same AWS Region as your function. The bucket can be in a different AWS account. + * An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a different Amazon Web Services account. */ S3Bucket?: S3Bucket; /** @@ -2574,15 +2574,15 @@ declare namespace Lambda { */ Description?: Description; /** - * The amount of time that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. + * The amount of time that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. For additional information, see Lambda execution environment. */ Timeout?: Timeout; /** - * The amount of memory available to the function at runtime. Increasing the function's memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB. + * The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB. */ MemorySize?: MemorySize; /** - * For network connectivity to AWS resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can only access resources and the internet through that VPC. For more information, see VPC Settings. + * For network connectivity to Amazon Web Services resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can only access resources and the internet through that VPC. For more information, see VPC Settings. */ VpcConfig?: VpcConfig; /** @@ -2598,11 +2598,11 @@ declare namespace Lambda { */ DeadLetterConfig?: DeadLetterConfig; /** - * The ARN of the AWS Key Management Service (AWS KMS) key that's used to encrypt your function's environment variables. If it's not provided, AWS Lambda uses a default service key. + * The ARN of the Amazon Web Services Key Management Service (KMS) key that's used to encrypt your function's environment variables. If it's not provided, Lambda uses a default service key. */ KMSKeyArn?: KMSKeyArn; /** - * Set Mode to Active to sample and trace a subset of incoming requests with AWS X-Ray. + * Set Mode to Active to sample and trace a subset of incoming requests with X-Ray. */ TracingConfig?: TracingConfig; /** diff --git a/clients/macie2.d.ts b/clients/macie2.d.ts index 3b7c1e213b..8782e46b46 100644 --- a/clients/macie2.d.ts +++ b/clients/macie2.d.ts @@ -68,11 +68,11 @@ declare class Macie2 extends Service { */ createMember(callback?: (err: AWSError, data: Macie2.Types.CreateMemberResponse) => void): Request; /** - * Creates sample findings. + * Creates sample findings. */ createSampleFindings(params: Macie2.Types.CreateSampleFindingsRequest, callback?: (err: AWSError, data: Macie2.Types.CreateSampleFindingsResponse) => void): Request; /** - * Creates sample findings. + * Creates sample findings. */ createSampleFindings(callback?: (err: AWSError, data: Macie2.Types.CreateSampleFindingsResponse) => void): Request; /** @@ -132,11 +132,11 @@ declare class Macie2 extends Service { */ describeClassificationJob(callback?: (err: AWSError, data: Macie2.Types.DescribeClassificationJobResponse) => void): Request; /** - * Retrieves the Amazon Macie configuration settings for an AWS organization. + * Retrieves the Amazon Macie configuration settings for an Amazon Web Services organization. */ describeOrganizationConfiguration(params: Macie2.Types.DescribeOrganizationConfigurationRequest, callback?: (err: AWSError, data: Macie2.Types.DescribeOrganizationConfigurationResponse) => void): Request; /** - * Retrieves the Amazon Macie configuration settings for an AWS organization. + * Retrieves the Amazon Macie configuration settings for an Amazon Web Services organization. */ describeOrganizationConfiguration(callback?: (err: AWSError, data: Macie2.Types.DescribeOrganizationConfigurationResponse) => void): Request; /** @@ -148,11 +148,11 @@ declare class Macie2 extends Service { */ disableMacie(callback?: (err: AWSError, data: Macie2.Types.DisableMacieResponse) => void): Request; /** - * Disables an account as the delegated Amazon Macie administrator account for an AWS organization. + * Disables an account as the delegated Amazon Macie administrator account for an Amazon Web Services organization. */ disableOrganizationAdminAccount(params: Macie2.Types.DisableOrganizationAdminAccountRequest, callback?: (err: AWSError, data: Macie2.Types.DisableOrganizationAdminAccountResponse) => void): Request; /** - * Disables an account as the delegated Amazon Macie administrator account for an AWS organization. + * Disables an account as the delegated Amazon Macie administrator account for an Amazon Web Services organization. */ disableOrganizationAdminAccount(callback?: (err: AWSError, data: Macie2.Types.DisableOrganizationAdminAccountResponse) => void): Request; /** @@ -188,11 +188,11 @@ declare class Macie2 extends Service { */ enableMacie(callback?: (err: AWSError, data: Macie2.Types.EnableMacieResponse) => void): Request; /** - * Designates an account as the delegated Amazon Macie administrator account for an AWS organization. + * Designates an account as the delegated Amazon Macie administrator account for an Amazon Web Services organization. */ enableOrganizationAdminAccount(params: Macie2.Types.EnableOrganizationAdminAccountRequest, callback?: (err: AWSError, data: Macie2.Types.EnableOrganizationAdminAccountResponse) => void): Request; /** - * Designates an account as the delegated Amazon Macie administrator account for an AWS organization. + * Designates an account as the delegated Amazon Macie administrator account for an Amazon Web Services organization. */ enableOrganizationAdminAccount(callback?: (err: AWSError, data: Macie2.Types.EnableOrganizationAdminAccountResponse) => void): Request; /** @@ -252,11 +252,11 @@ declare class Macie2 extends Service { */ getFindingsFilter(callback?: (err: AWSError, data: Macie2.Types.GetFindingsFilterResponse) => void): Request; /** - * Retrieves the configuration settings for publishing findings to AWS Security Hub. + * Retrieves the configuration settings for publishing findings to Security Hub. */ getFindingsPublicationConfiguration(params: Macie2.Types.GetFindingsPublicationConfigurationRequest, callback?: (err: AWSError, data: Macie2.Types.GetFindingsPublicationConfigurationResponse) => void): Request; /** - * Retrieves the configuration settings for publishing findings to AWS Security Hub. + * Retrieves the configuration settings for publishing findings to Security Hub. */ getFindingsPublicationConfiguration(callback?: (err: AWSError, data: Macie2.Types.GetFindingsPublicationConfigurationResponse) => void): Request; /** @@ -324,11 +324,11 @@ declare class Macie2 extends Service { */ listCustomDataIdentifiers(callback?: (err: AWSError, data: Macie2.Types.ListCustomDataIdentifiersResponse) => void): Request; /** - * Retrieves a subset of information about one or more findings. + * Retrieves a subset of information about one or more findings. */ listFindings(params: Macie2.Types.ListFindingsRequest, callback?: (err: AWSError, data: Macie2.Types.ListFindingsResponse) => void): Request; /** - * Retrieves a subset of information about one or more findings. + * Retrieves a subset of information about one or more findings. */ listFindings(callback?: (err: AWSError, data: Macie2.Types.ListFindingsResponse) => void): Request; /** @@ -356,11 +356,11 @@ declare class Macie2 extends Service { */ listMembers(callback?: (err: AWSError, data: Macie2.Types.ListMembersResponse) => void): Request; /** - * Retrieves information about the delegated Amazon Macie administrator account for an AWS organization. + * Retrieves information about the delegated Amazon Macie administrator account for an Amazon Web Services organization. */ listOrganizationAdminAccounts(params: Macie2.Types.ListOrganizationAdminAccountsRequest, callback?: (err: AWSError, data: Macie2.Types.ListOrganizationAdminAccountsResponse) => void): Request; /** - * Retrieves information about the delegated Amazon Macie administrator account for an AWS organization. + * Retrieves information about the delegated Amazon Macie administrator account for an Amazon Web Services organization. */ listOrganizationAdminAccounts(callback?: (err: AWSError, data: Macie2.Types.ListOrganizationAdminAccountsResponse) => void): Request; /** @@ -380,19 +380,19 @@ declare class Macie2 extends Service { */ putClassificationExportConfiguration(callback?: (err: AWSError, data: Macie2.Types.PutClassificationExportConfigurationResponse) => void): Request; /** - * Updates the configuration settings for publishing findings to AWS Security Hub. + * Updates the configuration settings for publishing findings to Security Hub. */ putFindingsPublicationConfiguration(params: Macie2.Types.PutFindingsPublicationConfigurationRequest, callback?: (err: AWSError, data: Macie2.Types.PutFindingsPublicationConfigurationResponse) => void): Request; /** - * Updates the configuration settings for publishing findings to AWS Security Hub. + * Updates the configuration settings for publishing findings to Security Hub. */ putFindingsPublicationConfiguration(callback?: (err: AWSError, data: Macie2.Types.PutFindingsPublicationConfigurationResponse) => void): Request; /** - * Retrieves (queries) statistical data and other information about AWS resources that Amazon Macie monitors and analyzes. + * Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie monitors and analyzes. */ searchResources(params: Macie2.Types.SearchResourcesRequest, callback?: (err: AWSError, data: Macie2.Types.SearchResourcesResponse) => void): Request; /** - * Retrieves (queries) statistical data and other information about AWS resources that Amazon Macie monitors and analyzes. + * Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie monitors and analyzes. */ searchResources(callback?: (err: AWSError, data: Macie2.Types.SearchResourcesResponse) => void): Request; /** @@ -452,18 +452,18 @@ declare class Macie2 extends Service { */ updateMemberSession(callback?: (err: AWSError, data: Macie2.Types.UpdateMemberSessionResponse) => void): Request; /** - * Updates the Amazon Macie configuration settings for an AWS organization. + * Updates the Amazon Macie configuration settings for an Amazon Web Services organization. */ updateOrganizationConfiguration(params: Macie2.Types.UpdateOrganizationConfigurationRequest, callback?: (err: AWSError, data: Macie2.Types.UpdateOrganizationConfigurationResponse) => void): Request; /** - * Updates the Amazon Macie configuration settings for an AWS organization. + * Updates the Amazon Macie configuration settings for an Amazon Web Services organization. */ updateOrganizationConfiguration(callback?: (err: AWSError, data: Macie2.Types.UpdateOrganizationConfigurationResponse) => void): Request; } declare namespace Macie2 { export interface AcceptInvitationRequest { /** - * The AWS account ID for the account that sent the invitation. + * The Amazon Web Services account ID for the account that sent the invitation. */ administratorAccountId?: __string; /** @@ -471,7 +471,7 @@ declare namespace Macie2 { */ invitationId: __string; /** - * (Deprecated) The AWS account ID for the account that sent the invitation. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility. + * (Deprecated) The Amazon Web Services account ID for the account that sent the invitation. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility. */ masterAccount?: __string; } @@ -489,7 +489,7 @@ declare namespace Macie2 { } export interface AccountDetail { /** - * The AWS account ID for the account. + * The Amazon Web Services account ID for the account. */ accountId: __string; /** @@ -499,13 +499,13 @@ declare namespace Macie2 { } export interface AccountLevelPermissions { /** - * The block public access settings for the AWS account that owns the bucket. + * The block public access settings for the Amazon Web Services account that owns the bucket. */ blockPublicAccess?: BlockPublicAccess; } export interface AdminAccount { /** - * The AWS account ID for the account. + * The Amazon Web Services account ID for the account. */ accountId?: __string; /** @@ -521,7 +521,7 @@ declare namespace Macie2 { */ api?: __string; /** - * The URL of the AWS service that provides the operation, for example: s3.amazonaws.com. + * The URL of the Amazon Web Service that provides the operation, for example: s3.amazonaws.com. */ apiServiceName?: __string; /** @@ -535,11 +535,11 @@ declare namespace Macie2 { } export interface AssumedRole { /** - * The AWS access key ID that identifies the credentials. + * The Amazon Web Services access key ID that identifies the credentials. */ accessKeyId?: __string; /** - * The unique identifier for the AWS account that owns the entity that was used to get the credentials. + * The unique identifier for the Amazon Web Services account that owns the entity that was used to get the credentials. */ accountId?: __string; /** @@ -557,7 +557,7 @@ declare namespace Macie2 { } export interface AwsAccount { /** - * The unique identifier for the AWS account. + * The unique identifier for the Amazon Web Services account. */ accountId?: __string; /** @@ -567,7 +567,7 @@ declare namespace Macie2 { } export interface AwsService { /** - * The name of the AWS service that performed the action. + * The name of the Amazon Web Service that performed the action. */ invokedBy?: __string; } @@ -651,7 +651,7 @@ declare namespace Macie2 { } export interface BucketCountByEncryptionType { /** - * The total number of buckets that use an AWS Key Management Service (AWS KMS) customer master key (CMK) to encrypt new objects by default. These buckets use AWS managed AWS KMS encryption (AWS-KMS) or customer managed AWS KMS encryption (SSE-KMS) by default. + * The total number of buckets that use an Key Management Service (KMS) customer master key (CMK) to encrypt new objects by default. These buckets use Amazon Web Services managed KMS encryption (AWS-KMS) or customer managed KMS encryption (SSE-KMS) by default. */ kmsManaged?: __long; /** @@ -669,19 +669,19 @@ declare namespace Macie2 { } export interface BucketCountBySharedAccessType { /** - * The total number of buckets that are shared with an AWS account that isn't part of the same Amazon Macie organization. + * The total number of buckets that are shared with an Amazon Web Services account that isn't part of the same Amazon Macie organization. */ external?: __long; /** - * The total number of buckets that are shared with an AWS account that's part of the same Amazon Macie organization. + * The total number of buckets that are shared with an Amazon Web Services account that's part of the same Amazon Macie organization. */ internal?: __long; /** - * The total number of buckets that aren't shared with other AWS accounts. + * The total number of buckets that aren't shared with other Amazon Web Services accounts. */ notShared?: __long; /** - * The total number of buckets that Amazon Macie wasn't able to evaluate shared access settings for. Macie can't determine whether these buckets are shared with other AWS accounts. + * The total number of buckets that Amazon Macie wasn't able to evaluate shared access settings for. Macie can't determine whether these buckets are shared with other Amazon Web Services accounts. */ unknown?: __long; } @@ -746,7 +746,7 @@ declare namespace Macie2 { } export interface BucketMetadata { /** - * The unique identifier for the AWS account that owns the bucket. + * The unique identifier for the Amazon Web Services account that owns the bucket. */ accountId?: __string; /** @@ -794,11 +794,11 @@ declare namespace Macie2 { */ publicAccess?: BucketPublicAccess; /** - * The AWS Region that hosts the bucket. + * The Amazon Web Services Region that hosts the bucket. */ region?: __string; /** - * Specifies whether the bucket is configured to replicate one or more objects to buckets for other AWS accounts and, if so, which accounts. + * Specifies whether the bucket is configured to replicate one or more objects to buckets for other Amazon Web Services accounts and, if so, which accounts. */ replicationDetails?: ReplicationDetails; /** @@ -806,7 +806,7 @@ declare namespace Macie2 { */ serverSideEncryption?: BucketServerSideEncryption; /** - * Specifies whether the bucket is shared with another AWS account. Possible values are: EXTERNAL - The bucket is shared with an AWS account that isn't part of the same Amazon Macie organization. INTERNAL - The bucket is shared with an AWS account that's part of the same Amazon Macie organization. NOT_SHARED - The bucket isn't shared with other AWS accounts. UNKNOWN - Amazon Macie wasn't able to evaluate the shared access settings for the bucket. + * Specifies whether the bucket is shared with another Amazon Web Services account. Possible values are: EXTERNAL - The bucket is shared with an Amazon Web Services account that isn't part of the same Amazon Macie organization. INTERNAL - The bucket is shared with an Amazon Web Services account that's part of the same Amazon Macie organization. NOT_SHARED - The bucket isn't shared with other Amazon Web Services accounts. UNKNOWN - Amazon Macie wasn't able to evaluate the shared access settings for the bucket. */ sharedAccess?: SharedAccess; /** @@ -866,11 +866,11 @@ declare namespace Macie2 { } export interface BucketServerSideEncryption { /** - * The Amazon Resource Name (ARN) or unique identifier (key ID) for the AWS Key Management Service (AWS KMS) customer master key (CMK) that's used by default to encrypt objects that are added to the bucket. This value is null if the bucket uses an Amazon S3 managed key to encrypt new objects or the bucket doesn't encrypt new objects by default. + * The Amazon Resource Name (ARN) or unique identifier (key ID) for the Key Management Service (KMS) customer master key (CMK) that's used by default to encrypt objects that are added to the bucket. This value is null if the bucket uses an Amazon S3 managed key to encrypt new objects or the bucket doesn't encrypt new objects by default. */ kmsMasterKeyId?: __string; /** - * The type of server-side encryption that's used by default when storing new objects in the bucket. Possible values are: AES256 - New objects are encrypted with an Amazon S3 managed key and use Amazon S3 managed encryption (SSE-S3). aws:kms - New objects are encrypted with an AWS KMS CMK, specified by the kmsMasterKeyId property, and use AWS managed AWS KMS encryption (AWS-KMS) or customer managed AWS KMS encryption (SSE-KMS). NONE - New objects aren't encrypted by default. Default encryption is disabled for the bucket. + * The type of server-side encryption that's used by default when storing new objects in the bucket. Possible values are: AES256 - New objects are encrypted with an Amazon S3 managed key and use Amazon S3 managed encryption (SSE-S3). aws:kms - New objects are encrypted with an KMS CMK, specified by the kmsMasterKeyId property, and use Amazon Web Services managed KMS encryption (AWS-KMS) or customer managed KMS encryption (SSE-KMS). NONE - New objects aren't encrypted by default. Default encryption is disabled for the bucket. */ type?: Type; } @@ -886,19 +886,19 @@ declare namespace Macie2 { } export interface Cell { /** - * The location of the cell, as an absolute cell reference, that contains the data. For example, Sheet2!C5 for cell C5 on Sheet2 in a Microsoft Excel workbook. This value is null for CSV and TSV files. + * The location of the cell, as an absolute cell reference, that contains the sensitive data, for example Sheet2!C5 for cell C5 on Sheet2 in a Microsoft Excel workbook. This value is null for CSV and TSV files. */ cellReference?: __string; /** - * The column number of the column that contains the data. For a Microsoft Excel workbook, this value correlates to the alphabetical character(s) for a column identifier. For example, 1 for column A, 2 for column B, and so on. + * The column number of the column that contains the sensitive data. For a Microsoft Excel workbook, this value correlates to the alphabetical character(s) for a column identifier, for example: 1 for column A, 2 for column B, and so on. */ column?: __long; /** - * The name of the column that contains the data, if available. This value is also null if Amazon Macie detects sensitive data in the name of any column in the file. + * The name of the column that contains the sensitive data, if available. */ columnName?: __string; /** - * The row number of the row that contains the data. + * The row number of the row that contains the sensitive data. */ row?: __long; } @@ -917,7 +917,7 @@ declare namespace Macie2 { */ jobId?: __string; /** - * The status and other details for the finding. + * The status and other details of the finding. */ result?: ClassificationResult; } @@ -955,7 +955,7 @@ declare namespace Macie2 { } export interface ClassificationResultStatus { /** - * The status of the finding. Possible values are: COMPLETE - Amazon Macie successfully completed its analysis of the object that the finding applies to. PARTIAL - Macie analyzed only a subset of the data in the object that the finding applies to. For example, the object is an archive file that contains files in an unsupported format. SKIPPED - Macie wasn't able to analyze the object that the finding applies to. For example, the object is a malformed file or a file that uses an unsupported format. + * The status of the finding. Possible values are: COMPLETE - Amazon Macie successfully completed its analysis of the S3 object that the finding applies to. PARTIAL - Macie analyzed only a subset of the data in the S3 object that the finding applies to. For example, the object is an archive file that contains files in an unsupported format. SKIPPED - Macie wasn't able to analyze the S3 object that the finding applies to. For example, the object is a file in an unsupported format. */ code?: __string; /** @@ -1025,15 +1025,15 @@ declare namespace Macie2 { */ description?: __string; /** - * An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4 - 90 characters. Ignore words are case sensitive. + * An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4-90 characters. Ignore words are case sensitive. */ ignoreWords?: __listOf__string; /** - * An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 3 - 90 characters. Keywords aren't case sensitive. + * An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 3-90 characters. Keywords aren't case sensitive. */ keywords?: __listOf__string; /** - * The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1 - 300 characters. The default value is 50. + * The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1-300 characters. The default value is 50. */ maximumMatchDistance?: __integer; /** @@ -1097,11 +1097,11 @@ declare namespace Macie2 { } export interface CreateInvitationsRequest { /** - * An array that lists AWS account IDs, one for each account to send the invitation to. + * An array that lists Amazon Web Services account IDs, one for each account to send the invitation to. */ accountIds: __listOf__string; /** - * Specifies whether to send an email notification to the root user of each account that the invitation will be sent to. This notification is in addition to an alert that the root user receives in AWS Personal Health Dashboard. To send an email notification to the root user of each account, set this value to true. + * Specifies whether to send an email notification to the root user of each account that the invitation will be sent to. This notification is in addition to an alert that the root user receives in Personal Health Dashboard. To send an email notification to the root user of each account, set this value to true. */ disableEmailNotification?: __boolean; /** @@ -1117,7 +1117,7 @@ declare namespace Macie2 { } export interface CreateMemberRequest { /** - * The details for the account to associate with the administrator account. + * The details of the account to associate with the administrator account. */ account: AccountDetail; /** @@ -1243,7 +1243,7 @@ declare namespace Macie2 { export type DayOfWeek = "SUNDAY"|"MONDAY"|"TUESDAY"|"WEDNESDAY"|"THURSDAY"|"FRIDAY"|"SATURDAY"|string; export interface DeclineInvitationsRequest { /** - * An array that lists AWS account IDs, one for each account that sent an invitation to decline. + * An array that lists Amazon Web Services account IDs, one for each account that sent an invitation to decline. */ accountIds: __listOf__string; } @@ -1286,7 +1286,7 @@ declare namespace Macie2 { } export interface DeleteInvitationsRequest { /** - * An array that lists AWS account IDs, one for each account that sent an invitation to delete. + * An array that lists Amazon Web Services account IDs, one for each account that sent an invitation to delete. */ accountIds: __listOf__string; } @@ -1416,11 +1416,11 @@ declare namespace Macie2 { } export interface DescribeOrganizationConfigurationResponse { /** - * Specifies whether Amazon Macie is enabled automatically for accounts that are added to the AWS organization. + * Specifies whether Amazon Macie is enabled automatically for accounts that are added to the Amazon Web Services organization. */ autoEnable?: __boolean; /** - * Specifies whether the maximum number of Amazon Macie member accounts are part of the AWS organization. + * Specifies whether the maximum number of Amazon Macie member accounts are part of the Amazon Web Services organization. */ maxAccountLimitReached?: __boolean; } @@ -1430,7 +1430,7 @@ declare namespace Macie2 { } export interface DisableOrganizationAdminAccountRequest { /** - * The AWS account ID of the delegated Amazon Macie administrator account. + * The Amazon Web Services account ID of the delegated Amazon Macie administrator account. */ adminAccountId: __string; } @@ -1465,7 +1465,7 @@ declare namespace Macie2 { */ clientToken?: __string; /** - * Specifies how often to publish updates to policy findings for the account. This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events). + * Specifies how often to publish updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events). */ findingPublishingFrequency?: FindingPublishingFrequency; /** @@ -1477,7 +1477,7 @@ declare namespace Macie2 { } export interface EnableOrganizationAdminAccountRequest { /** - * The AWS account ID for the account to designate as the delegated Amazon Macie administrator account for the organization. + * The Amazon Web Services account ID for the account to designate as the delegated Amazon Macie administrator account for the organization. */ adminAccountId: __string; /** @@ -1491,11 +1491,11 @@ declare namespace Macie2 { export type ErrorCode = "ClientError"|"InternalError"|string; export interface FederatedUser { /** - * The AWS access key ID that identifies the credentials. + * The Amazon Web Services access key ID that identifies the credentials. */ accessKeyId?: __string; /** - * The unique identifier for the AWS account that owns the entity that was used to get the credentials. + * The unique identifier for the Amazon Web Services account that owns the entity that was used to get the credentials. */ accountId?: __string; /** @@ -1513,11 +1513,11 @@ declare namespace Macie2 { } export interface Finding { /** - * The unique identifier for the AWS account that the finding applies to. This is typically the account that owns the affected resource. + * The unique identifier for the Amazon Web Services account that the finding applies to. This is typically the account that owns the affected resource. */ accountId?: __string; /** - * Specifies whether the finding is archived. + * Specifies whether the finding is archived (suppressed). */ archived?: __boolean; /** @@ -1545,7 +1545,7 @@ declare namespace Macie2 { */ id?: __string; /** - * The AWS partition that Amazon Macie created the finding in. + * The Amazon Web Services partition that Amazon Macie created the finding in. */ partition?: __string; /** @@ -1553,7 +1553,7 @@ declare namespace Macie2 { */ policyDetails?: PolicyDetails; /** - * The AWS Region that Amazon Macie created the finding in. + * The Amazon Web Services Region that Amazon Macie created the finding in. */ region?: __string; /** @@ -1657,13 +1657,13 @@ declare namespace Macie2 { } export interface GetAdministratorAccountResponse { /** - * The AWS account ID for the administrator account. If the accounts are associated by a Macie membership invitation, this object also provides details about the invitation that was sent to establish the relationship between the accounts. + * The Amazon Web Services account ID for the administrator account. If the accounts are associated by a Macie membership invitation, this object also provides details about the invitation that was sent to establish the relationship between the accounts. */ administrator?: Invitation; } export interface GetBucketStatisticsRequest { /** - * The unique identifier for the AWS account. + * The unique identifier for the Amazon Web Services account. */ accountId?: __string; } @@ -1685,7 +1685,7 @@ declare namespace Macie2 { */ bucketCountByObjectEncryptionRequirement?: BucketCountPolicyAllowsUnencryptedObjectUploads; /** - * The total number of buckets that are or aren't shared with another AWS account. + * The total number of buckets that are or aren't shared with another Amazon Web Services account. */ bucketCountBySharedAccessType?: BucketCountBySharedAccessType; /** @@ -1849,7 +1849,7 @@ declare namespace Macie2 { } export interface GetFindingsPublicationConfigurationResponse { /** - * The configuration settings that determine which findings are published to AWS Security Hub. + * The configuration settings that determine which findings are published to Security Hub. */ securityHubConfiguration?: SecurityHubConfiguration; } @@ -1885,11 +1885,11 @@ declare namespace Macie2 { */ createdAt?: __timestampIso8601; /** - * The frequency with which Macie publishes updates to policy findings for the account. This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events). + * The frequency with which Macie publishes updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events). */ findingPublishingFrequency?: FindingPublishingFrequency; /** - * The Amazon Resource Name (ARN) of the service-linked role that allows Macie to monitor and analyze data in AWS resources for the account. + * The Amazon Resource Name (ARN) of the service-linked role that allows Macie to monitor and analyze data in Amazon Web Services resources for the account. */ serviceRole?: __string; /** @@ -1905,7 +1905,7 @@ declare namespace Macie2 { } export interface GetMasterAccountResponse { /** - * (Deprecated) The AWS account ID for the administrator account. If the accounts are associated by a Macie membership invitation, this object also provides details about the invitation that was sent to establish the relationship between the accounts. + * (Deprecated) The Amazon Web Services account ID for the administrator account. If the accounts are associated by a Macie membership invitation, this object also provides details about the invitation that was sent to establish the relationship between the accounts. */ master?: Invitation; } @@ -1917,11 +1917,11 @@ declare namespace Macie2 { } export interface GetMemberResponse { /** - * The AWS account ID for the account. + * The Amazon Web Services account ID for the account. */ accountId?: __string; /** - * The AWS account ID for the administrator account. + * The Amazon Web Services account ID for the administrator account. */ administratorAccountId?: __string; /** @@ -1937,7 +1937,7 @@ declare namespace Macie2 { */ invitedAt?: __timestampIso8601; /** - * (Deprecated) The AWS account ID for the administrator account. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility. + * (Deprecated) The Amazon Web Services account ID for the administrator account. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility. */ masterAccountId?: __string; /** @@ -2018,7 +2018,7 @@ declare namespace Macie2 { } export interface IamUser { /** - * The unique identifier for the AWS account that's associated with the IAM user who performed the action. + * The unique identifier for the Amazon Web Services account that's associated with the IAM user who performed the action. */ accountId?: __string; /** @@ -2036,7 +2036,7 @@ declare namespace Macie2 { } export interface Invitation { /** - * The AWS account ID for the account that sent the invitation. + * The Amazon Web Services account ID for the account that sent the invitation. */ accountId?: __string; /** @@ -2172,7 +2172,7 @@ declare namespace Macie2 { export type JobStatus = "RUNNING"|"PAUSED"|"CANCELLED"|"COMPLETE"|"IDLE"|"USER_PAUSED"|string; export interface JobSummary { /** - * An array of objects, one for each AWS account that owns specific S3 buckets for the job to analyze. Each object specifies the account ID for an account and one or more buckets to analyze for that account. A job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both. + * An array of objects, one for each Amazon Web Services account that owns specific S3 buckets for the job to analyze. Each object specifies the account ID for an account and one or more buckets to analyze for that account. A job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both. */ bucketDefinitions?: __listOfS3BucketDefinitionForJob; /** @@ -2438,7 +2438,7 @@ declare namespace Macie2 { export type MacieStatus = "PAUSED"|"ENABLED"|string; export interface MatchingBucket { /** - * The unique identifier for the AWS account that owns the bucket. + * The unique identifier for the Amazon Web Services account that owns the bucket. */ accountId?: __string; /** @@ -2491,11 +2491,11 @@ declare namespace Macie2 { export type MaxResults = number; export interface Member { /** - * The AWS account ID for the account. + * The Amazon Web Services account ID for the account. */ accountId?: __string; /** - * The AWS account ID for the administrator account. + * The Amazon Web Services account ID for the administrator account. */ administratorAccountId?: __string; /** @@ -2511,7 +2511,7 @@ declare namespace Macie2 { */ invitedAt?: __timestampIso8601; /** - * (Deprecated) The AWS account ID for the administrator account. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility. + * (Deprecated) The Amazon Web Services account ID for the administrator account. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility. */ masterAccountId?: __string; /** @@ -2539,7 +2539,7 @@ declare namespace Macie2 { */ customerManaged?: __long; /** - * The total number of objects that are encrypted with an AWS Key Management Service (AWS KMS) customer master key (CMK). The objects use AWS managed AWS KMS encryption (AWS-KMS) or customer managed AWS KMS encryption (SSE-KMS). + * The total number of objects that are encrypted with an Key Management Service (KMS) customer master key (CMK). The objects use Amazon Web Services managed KMS encryption (AWS-KMS) or customer managed KMS encryption (SSE-KMS). */ kmsManaged?: __long; /** @@ -2571,11 +2571,11 @@ declare namespace Macie2 { } export interface Occurrences { /** - * An array of objects, one for each occurrence of sensitive data in a Microsoft Excel workbook, CSV file, or TSV file. Each object specifies the cell or field that contains the data. This value is null for all other types of files. + * An array of objects, one for each occurrence of sensitive data in a Microsoft Excel workbook, CSV file, or TSV file. This value is null for all other types of files.Each Cell object specifies a cell or field that contains the sensitive data. */ cells?: Cells; /** - * An array of objects, one for each occurrence of sensitive data in a Microsoft Word document or non-binary text file, such as an HTML, JSON, TXT, or XML file. Each object specifies the line that contains the data, and the position of the data on that line. This value is often null for file types that are supported by Cell, Page, or Record objects. Exceptions are the locations of data in: unstructured sections of an otherwise structured file, such as a comment in a file; a malformed file that Amazon Macie analyzes as plain text; and, a CSV or TSV file that has any column names that contain sensitive data. + * An array of objects, one for each occurrence of sensitive data in a non-binary text file, such as an HTML, TXT, or XML file. Each Range object specifies a line or inclusive range of lines that contains the sensitive data, and the position of the data on the specified line or lines. This value is often null for file types that are supported by Cell, Page, or Record objects. Exceptions are the location of sensitive data in: unstructured sections of an otherwise structured file, such as a comment in a file; a malformed file that Amazon Macie analyzes as plain text; and, a CSV or TSV file that has any column names that contain sensitive data. */ lineRanges?: Ranges; /** @@ -2583,11 +2583,11 @@ declare namespace Macie2 { */ offsetRanges?: Ranges; /** - * An array of objects, one for each occurrence of sensitive data in an Adobe Portable Document Format file. Each object specifies the page that contains the data. This value is null for all other types of files. + * An array of objects, one for each occurrence of sensitive data in an Adobe Portable Document Format file. This value is null for all other types of files.Each Page object specifies a page that contains the sensitive data. */ pages?: Pages; /** - * An array of objects, one for each occurrence of sensitive data in an Apache Avro object container or Apache Parquet file. Each object specifies the record index and the path to the field in the record that contains the data. This value is null for all other types of files. + * An array of objects, one for each occurrence of sensitive data in an Apache Avro object container, Apache Parquet file, JSON file, or JSON Lines file. This value is null for all other types of files. For an Avro object container or Parquet file, each Record object specifies a record index and the path to a field in a record that contains the sensitive data. For a JSON or JSON Lines file, each Record object specifies the path to a field or array that contains the sensitive data. For a JSON Lines file, it also specifies the index of the line that contains the data. */ records?: Records; } @@ -2602,7 +2602,7 @@ declare namespace Macie2 { */ offsetRange?: Range; /** - * The page number of the page that contains the data. + * The page number of the page that contains the sensitive data. */ pageNumber?: __long; } @@ -2635,7 +2635,7 @@ declare namespace Macie2 { */ clientToken?: __string; /** - * The configuration settings that determine which findings to publish to AWS Security Hub. + * The configuration settings that determine which findings to publish to Security Hub. */ securityHubConfiguration?: SecurityHubConfiguration; } @@ -2651,18 +2651,18 @@ declare namespace Macie2 { */ start?: __long; /** - * The column number for the column that contains the data, if the file contains structured data. + * The number of characters, with spaces and starting from 1, from the beginning of the first line that contains the sensitive data (start) to the beginning of the sensitive data. */ startColumn?: __long; } export type Ranges = Range[]; export interface Record { /** - * The path, as a JSONPath expression, to the field in the record that contains the data. If Amazon Macie detects sensitive data in the name of any element in the path, Macie omits this field. If the name of an element exceeds 20 characters, Macie truncates the name by removing characters from the beginning of the name. If the resulting full path exceeds 250 characters, Macie also truncates the path, starting with the first element in the path, until the path contains 250 or fewer characters. + * The path, as a JSONPath expression, to the sensitive data. For an Avro object container or Parquet file, this is the path to the field in the record (recordIndex) that contains the data. For a JSON or JSON Lines file, this is the path to the field or array that contains the data. If the data is a value in an array, the path also indicates which value contains the data. If Amazon Macie detects sensitive data in the name of any element in the path, Macie omits this field. If the name of an element exceeds 20 characters, Macie truncates the name by removing characters from the beginning of the name. If the resulting full path exceeds 250 characters, Macie also truncates the path, starting with the first element in the path, until the path contains 250 or fewer characters. */ jsonPath?: __string; /** - * The record index, starting from 0, for the record that contains the data. + * For an Avro object container or Parquet file, the record index, starting from 0, for the record that contains the sensitive data. For a JSON Lines file, the line index, starting from 0, for the line that contains the sensitive data. This value is always 0 for JSON files. */ recordIndex?: __long; } @@ -2674,21 +2674,21 @@ declare namespace Macie2 { */ replicated?: __boolean; /** - * Specifies whether the bucket is configured to replicate one or more objects to an AWS account that isn't part of the same Amazon Macie organization. + * Specifies whether the bucket is configured to replicate one or more objects to an Amazon Web Services account that isn't part of the same Amazon Macie organization. */ replicatedExternally?: __boolean; /** - * An array of AWS account IDs, one for each AWS account that the bucket is configured to replicate one or more objects to. + * An array of Amazon Web Services account IDs, one for each Amazon Web Services account that the bucket is configured to replicate one or more objects to. */ replicationAccounts?: __listOf__string; } export interface ResourcesAffected { /** - * An array of objects, one for each S3 bucket that the finding applies to. Each object provides a set of metadata about an affected S3 bucket. + * The details of the S3 bucket that the finding applies to. */ s3Bucket?: S3Bucket; /** - * An array of objects, one for each S3 object that the finding applies to. Each object provides a set of metadata about an affected S3 object. + * The details of the S3 object that the finding applies to. */ s3Object?: S3Object; } @@ -2714,7 +2714,7 @@ declare namespace Macie2 { */ name?: __string; /** - * The display name and AWS account ID for the user who owns the bucket. + * The display name and Amazon Web Services account ID for the user who owns the bucket. */ owner?: S3BucketOwner; /** @@ -2738,7 +2738,7 @@ declare namespace Macie2 { } export interface S3BucketDefinitionForJob { /** - * The unique identifier for the AWS account that owns the buckets. + * The unique identifier for the Amazon Web Services account that owns the buckets. */ accountId: __string; /** @@ -2752,7 +2752,7 @@ declare namespace Macie2 { */ displayName?: __string; /** - * The AWS account ID for the user who owns the bucket. + * The Amazon Web Services account ID for the user who owns the bucket. */ id?: __string; } @@ -2766,13 +2766,13 @@ declare namespace Macie2 { */ keyPrefix?: __string; /** - * The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use for encryption of the results. This must be the ARN of an existing CMK that's in the same AWS Region as the bucket. + * The Amazon Resource Name (ARN) of the Key Management Service (KMS) customer master key (CMK) to use for encryption of the results. This must be the ARN of an existing CMK that's in the same Amazon Web Services Region as the bucket. */ kmsKeyArn: __string; } export interface S3JobDefinition { /** - * An array of objects, one for each AWS account that owns specific S3 buckets to analyze. Each object specifies the account ID for an account and one or more buckets to analyze for that account. A job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both. + * An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze. Each object specifies the account ID for an account and one or more buckets to analyze for that account. A job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both. */ bucketDefinitions?: __listOfS3BucketDefinitionForJob; /** @@ -2910,7 +2910,7 @@ declare namespace Macie2 { */ key?: SearchResourcesSimpleCriterionKey; /** - * An array that lists one or more values to use in the condition. If you specify multiple values, Amazon Macie uses OR logic to join the values. Valid values for each supported property (key) are: ACCOUNT_ID - A string that represents the unique identifier for the AWS account that owns the resource. S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission property of an S3 bucket. S3_BUCKET_NAME - A string that represents the name of an S3 bucket. S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess property of an S3 bucket. Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in values. + * An array that lists one or more values to use in the condition. If you specify multiple values, Amazon Macie uses OR logic to join the values. Valid values for each supported property (key) are: ACCOUNT_ID - A string that represents the unique identifier for the Amazon Web Services account that owns the resource. S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission property of an S3 bucket. S3_BUCKET_NAME - A string that represents the name of an S3 bucket. S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess property of an S3 bucket. Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in values. */ values?: __listOf__string; } @@ -2948,18 +2948,18 @@ declare namespace Macie2 { } export interface SecurityHubConfiguration { /** - * Specifies whether to publish sensitive data findings to AWS Security Hub. If you set this value to true, Amazon Macie automatically publishes all sensitive data findings that weren't suppressed by a findings filter. The default value is false. + * Specifies whether to publish sensitive data findings to Security Hub. If you set this value to true, Amazon Macie automatically publishes all sensitive data findings that weren't suppressed by a findings filter. The default value is false. */ publishClassificationFindings: __boolean; /** - * Specifies whether to publish policy findings to AWS Security Hub. If you set this value to true, Amazon Macie automatically publishes all new and updated policy findings that weren't suppressed by a findings filter. The default value is true. + * Specifies whether to publish policy findings to Security Hub. If you set this value to true, Amazon Macie automatically publishes all new and updated policy findings that weren't suppressed by a findings filter. The default value is true. */ publishPolicyFindings: __boolean; } export type SensitiveData = SensitiveDataItem[]; export interface SensitiveDataItem { /** - * The category of sensitive data that was detected. For example: CREDENTIALS, for credentials data such as private keys or AWS secret keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as driver's license identification numbers. + * The category of sensitive data that was detected. For example: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as driver's license identification numbers. */ category?: SensitiveDataItemCategory; /** @@ -2978,7 +2978,7 @@ declare namespace Macie2 { */ encryptionType?: EncryptionType; /** - * The Amazon Resource Name (ARN) or unique identifier (key ID) for the AWS Key Management Service (AWS KMS) customer master key (CMK) that's used to encrypt data in the bucket or the object. If an AWS KMS CMK isn't used, this value is null. + * The Amazon Resource Name (ARN) or unique identifier (key ID) for the Key Management Service (KMS) customer master key (CMK) that's used to encrypt data in the bucket or the object. If an KMS CMK isn't used, this value is null. */ kmsMasterKeyId?: __string; } @@ -3018,7 +3018,7 @@ declare namespace Macie2 { } export interface SessionIssuer { /** - * The unique identifier for the AWS account that owns the entity that was used to get the credentials. + * The unique identifier for the Amazon Web Services account that owns the entity that was used to get the credentials. */ accountId?: __string; /** @@ -3060,7 +3060,7 @@ declare namespace Macie2 { */ key?: SimpleCriterionKeyForJob; /** - * An array that lists one or more values to use in the condition. If you specify multiple values, Amazon Macie uses OR logic to join the values. Valid values for each supported property (key) are: ACCOUNT_ID - A string that represents the unique identifier for the AWS account that owns the bucket. S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission property of a bucket. S3_BUCKET_NAME - A string that represents the name of a bucket. S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess property of a bucket. Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in these values. + * An array that lists one or more values to use in the condition. If you specify multiple values, Amazon Macie uses OR logic to join the values. Valid values for each supported property (key) are: ACCOUNT_ID - A string that represents the unique identifier for the Amazon Web Services account that owns the bucket. S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission property of a bucket. S3_BUCKET_NAME - A string that represents the name of a bucket. S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess property of a bucket. Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in these values. */ values?: __listOf__string; } @@ -3164,15 +3164,15 @@ declare namespace Macie2 { } export interface TestCustomDataIdentifierRequest { /** - * An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4 - 90 characters. Ignore words are case sensitive. + * An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4-90 characters. Ignore words are case sensitive. */ ignoreWords?: __listOf__string; /** - * An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 3 - 90 characters. Keywords aren't case sensitive. + * An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 3-90 characters. Keywords aren't case sensitive. */ keywords?: __listOf__string; /** - * The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1 - 300 characters. The default value is 50. + * The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1-300 characters. The default value is 50. */ maximumMatchDistance?: __integer; /** @@ -3195,7 +3195,7 @@ declare namespace Macie2 { export type Unit = "TERABYTES"|string; export interface UnprocessedAccount { /** - * The AWS account ID for the account that the request applies to. + * The Amazon Web Services account ID for the account that the request applies to. */ accountId?: __string; /** @@ -3273,7 +3273,7 @@ declare namespace Macie2 { } export interface UpdateMacieSessionRequest { /** - * Specifies how often to publish updates to policy findings for the account. This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events). + * Specifies how often to publish updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events). */ findingPublishingFrequency?: FindingPublishingFrequency; /** @@ -3297,7 +3297,7 @@ declare namespace Macie2 { } export interface UpdateOrganizationConfigurationRequest { /** - * Specifies whether to enable Amazon Macie automatically for each account, when the account is added to the AWS organization. + * Specifies whether to enable Amazon Macie automatically for each account, when the account is added to the Amazon Web Services organization. */ autoEnable: __boolean; } @@ -3323,7 +3323,7 @@ declare namespace Macie2 { } export interface UsageRecord { /** - * The unique identifier for the AWS account that the data applies to. + * The unique identifier for the Amazon Web Services account that the data applies to. */ accountId?: __string; /** @@ -3345,7 +3345,7 @@ declare namespace Macie2 { */ key?: UsageStatisticsFilterKey; /** - * An array that lists values to use in the condition, based on the value for the field specified by the key property. If the value for the key property is accountId, this array can specify multiple values. Otherwise, this array can specify only one value. Valid values for each supported field are: accountId - The unique identifier for an AWS account. freeTrialStartDate - The date and time, in UTC and extended ISO 8601 format, when the free trial started for an account. serviceLimit - A Boolean (true or false) value that indicates whether an account has reached its monthly quota. total - A string that represents the current estimated cost for an account. + * An array that lists values to use in the condition, based on the value for the field specified by the key property. If the value for the key property is accountId, this array can specify multiple values. Otherwise, this array can specify only one value. Valid values for each supported field are: accountId - The unique identifier for an Amazon Web Services account. freeTrialStartDate - The date and time, in UTC and extended ISO 8601 format, when the free trial started for an account. serviceLimit - A Boolean (true or false) value that indicates whether an account has reached its monthly quota. total - A string that represents the current estimated cost for an account. */ values?: __listOf__string; } @@ -3379,27 +3379,27 @@ declare namespace Macie2 { export type UsageType = "DATA_INVENTORY_EVALUATION"|"SENSITIVE_DATA_DISCOVERY"|string; export interface UserIdentity { /** - * If the action was performed with temporary security credentials that were obtained using the AssumeRole operation of the AWS Security Token Service (AWS STS) API, the identifiers, session context, and other details about the identity. + * If the action was performed with temporary security credentials that were obtained using the AssumeRole operation of the Security Token Service (STS) API, the identifiers, session context, and other details about the identity. */ assumedRole?: AssumedRole; /** - * If the action was performed using the credentials for another AWS account, the details of that account. + * If the action was performed using the credentials for another Amazon Web Services account, the details of that account. */ awsAccount?: AwsAccount; /** - * If the action was performed by an AWS account that belongs to an AWS service, the name of the service. + * If the action was performed by an Amazon Web Services account that belongs to an Amazon Web Service, the name of the service. */ awsService?: AwsService; /** - * If the action was performed with temporary security credentials that were obtained using the GetFederationToken operation of the AWS Security Token Service (AWS STS) API, the identifiers, session context, and other details about the identity. + * If the action was performed with temporary security credentials that were obtained using the GetFederationToken operation of the Security Token Service (STS) API, the identifiers, session context, and other details about the identity. */ federatedUser?: FederatedUser; /** - * If the action was performed using the credentials for an AWS Identity and Access Management (IAM) user, the name and other details about the user. + * If the action was performed using the credentials for an Identity and Access Management (IAM) user, the name and other details about the user. */ iamUser?: IamUser; /** - * If the action was performed using the credentials for your AWS account, the details of your account. + * If the action was performed using the credentials for your Amazon Web Services account, the details of your account. */ root?: UserIdentityRoot; /** @@ -3409,7 +3409,7 @@ declare namespace Macie2 { } export interface UserIdentityRoot { /** - * The unique identifier for the AWS account. + * The unique identifier for the Amazon Web Services account. */ accountId?: __string; /** @@ -3428,7 +3428,7 @@ declare namespace Macie2 { */ jobExpiresAt?: __timestampIso8601; /** - * The Amazon Resource Name (ARN) of the AWS Health event that Amazon Macie sent to notify you of the job or job run's pending expiration and cancellation. This value is null if a job has been paused for less than 23 days. + * The Amazon Resource Name (ARN) of the Health event that Amazon Macie sent to notify you of the job or job run's pending expiration and cancellation. This value is null if a job has been paused for less than 23 days. */ jobImminentExpirationHealthEventArn?: __string; /** diff --git a/clients/mgn.d.ts b/clients/mgn.d.ts index 33624e4537..3003a89529 100644 --- a/clients/mgn.d.ts +++ b/clients/mgn.d.ts @@ -947,7 +947,7 @@ declare namespace Mgn { } export type ReplicationConfigurationDataPlaneRouting = "PRIVATE_IP"|"PUBLIC_IP"|string; export type ReplicationConfigurationDefaultLargeStagingDiskType = "GP2"|"ST1"|string; - export type ReplicationConfigurationEbsEncryption = "NONE"|"DEFAULT"|"CUSTOM"|string; + export type ReplicationConfigurationEbsEncryption = "DEFAULT"|"CUSTOM"|string; export interface ReplicationConfigurationReplicatedDisk { /** * Replication Configuration replicated disk device name. diff --git a/clients/sns.d.ts b/clients/sns.d.ts index e994f35ef9..a4a21da2a6 100644 --- a/clients/sns.d.ts +++ b/clients/sns.d.ts @@ -12,11 +12,11 @@ declare class SNS extends Service { constructor(options?: SNS.Types.ClientConfiguration) config: Config & SNS.Types.ClientConfiguration; /** - * Adds a statement to a topic's access control policy, granting access for the specified AWS accounts to the specified actions. + * Adds a statement to a topic's access control policy, granting access for the specified accounts to the specified actions. */ addPermission(params: SNS.Types.AddPermissionInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Adds a statement to a topic's access control policy, granting access for the specified AWS accounts to the specified actions. + * Adds a statement to a topic's access control policy, granting access for the specified accounts to the specified actions. */ addPermission(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** @@ -52,19 +52,19 @@ declare class SNS extends Service { */ createPlatformEndpoint(callback?: (err: AWSError, data: SNS.Types.CreateEndpointResponse) => void): Request; /** - * Adds a destination phone number to an AWS account in the SMS sandbox and sends a one-time password (OTP) to that phone number. When you start using Amazon SNS to send SMS messages, your AWS account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide. + * Adds a destination phone number to an account in the SMS sandbox and sends a one-time password (OTP) to that phone number. When you start using Amazon SNS to send SMS messages, your account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide. */ createSMSSandboxPhoneNumber(params: SNS.Types.CreateSMSSandboxPhoneNumberInput, callback?: (err: AWSError, data: SNS.Types.CreateSMSSandboxPhoneNumberResult) => void): Request; /** - * Adds a destination phone number to an AWS account in the SMS sandbox and sends a one-time password (OTP) to that phone number. When you start using Amazon SNS to send SMS messages, your AWS account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide. + * Adds a destination phone number to an account in the SMS sandbox and sends a one-time password (OTP) to that phone number. When you start using Amazon SNS to send SMS messages, your account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide. */ createSMSSandboxPhoneNumber(callback?: (err: AWSError, data: SNS.Types.CreateSMSSandboxPhoneNumberResult) => void): Request; /** - * Creates a topic to which notifications can be published. Users can create at most 100,000 standard topics (at most 1,000 FIFO topics). For more information, see https://aws.amazon.com/sns. This action is idempotent, so if the requester already owns a topic with the specified name, that topic's ARN is returned without creating a new topic. + * Creates a topic to which notifications can be published. Users can create at most 100,000 standard topics (at most 1,000 FIFO topics). For more information, see Creating an Amazon SNS topic in the Amazon SNS Developer Guide. This action is idempotent, so if the requester already owns a topic with the specified name, that topic's ARN is returned without creating a new topic. */ createTopic(params: SNS.Types.CreateTopicInput, callback?: (err: AWSError, data: SNS.Types.CreateTopicResponse) => void): Request; /** - * Creates a topic to which notifications can be published. Users can create at most 100,000 standard topics (at most 1,000 FIFO topics). For more information, see https://aws.amazon.com/sns. This action is idempotent, so if the requester already owns a topic with the specified name, that topic's ARN is returned without creating a new topic. + * Creates a topic to which notifications can be published. Users can create at most 100,000 standard topics (at most 1,000 FIFO topics). For more information, see Creating an Amazon SNS topic in the Amazon SNS Developer Guide. This action is idempotent, so if the requester already owns a topic with the specified name, that topic's ARN is returned without creating a new topic. */ createTopic(callback?: (err: AWSError, data: SNS.Types.CreateTopicResponse) => void): Request; /** @@ -84,11 +84,11 @@ declare class SNS extends Service { */ deletePlatformApplication(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes an AWS account's verified or pending phone number from the SMS sandbox. When you start using Amazon SNS to send SMS messages, your AWS account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide. + * Deletes an account's verified or pending phone number from the SMS sandbox. When you start using Amazon SNS to send SMS messages, your account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide. */ deleteSMSSandboxPhoneNumber(params: SNS.Types.DeleteSMSSandboxPhoneNumberInput, callback?: (err: AWSError, data: SNS.Types.DeleteSMSSandboxPhoneNumberResult) => void): Request; /** - * Deletes an AWS account's verified or pending phone number from the SMS sandbox. When you start using Amazon SNS to send SMS messages, your AWS account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide. + * Deletes an account's verified or pending phone number from the SMS sandbox. When you start using Amazon SNS to send SMS messages, your account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide. */ deleteSMSSandboxPhoneNumber(callback?: (err: AWSError, data: SNS.Types.DeleteSMSSandboxPhoneNumberResult) => void): Request; /** @@ -124,11 +124,11 @@ declare class SNS extends Service { */ getSMSAttributes(callback?: (err: AWSError, data: SNS.Types.GetSMSAttributesResponse) => void): Request; /** - * Retrieves the SMS sandbox status for the calling AWS account in the target AWS Region. When you start using Amazon SNS to send SMS messages, your AWS account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide. + * Retrieves the SMS sandbox status for the calling account in the target Region. When you start using Amazon SNS to send SMS messages, your account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide. */ getSMSSandboxAccountStatus(params: SNS.Types.GetSMSSandboxAccountStatusInput, callback?: (err: AWSError, data: SNS.Types.GetSMSSandboxAccountStatusResult) => void): Request; /** - * Retrieves the SMS sandbox status for the calling AWS account in the target AWS Region. When you start using Amazon SNS to send SMS messages, your AWS account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide. + * Retrieves the SMS sandbox status for the calling account in the target Region. When you start using Amazon SNS to send SMS messages, your account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide. */ getSMSSandboxAccountStatus(callback?: (err: AWSError, data: SNS.Types.GetSMSSandboxAccountStatusResult) => void): Request; /** @@ -156,11 +156,11 @@ declare class SNS extends Service { */ listEndpointsByPlatformApplication(callback?: (err: AWSError, data: SNS.Types.ListEndpointsByPlatformApplicationResponse) => void): Request; /** - * Lists the calling AWS account's dedicated origination numbers and their metadata. For more information about origination numbers, see Origination numbers in the Amazon SNS Developer Guide. + * Lists the calling account's dedicated origination numbers and their metadata. For more information about origination numbers, see Origination numbers in the Amazon SNS Developer Guide. */ listOriginationNumbers(params: SNS.Types.ListOriginationNumbersRequest, callback?: (err: AWSError, data: SNS.Types.ListOriginationNumbersResult) => void): Request; /** - * Lists the calling AWS account's dedicated origination numbers and their metadata. For more information about origination numbers, see Origination numbers in the Amazon SNS Developer Guide. + * Lists the calling account's dedicated origination numbers and their metadata. For more information about origination numbers, see Origination numbers in the Amazon SNS Developer Guide. */ listOriginationNumbers(callback?: (err: AWSError, data: SNS.Types.ListOriginationNumbersResult) => void): Request; /** @@ -180,11 +180,11 @@ declare class SNS extends Service { */ listPlatformApplications(callback?: (err: AWSError, data: SNS.Types.ListPlatformApplicationsResponse) => void): Request; /** - * Lists the calling AWS account's current verified and pending destination phone numbers in the SMS sandbox. When you start using Amazon SNS to send SMS messages, your AWS account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide. + * Lists the calling account's current verified and pending destination phone numbers in the SMS sandbox. When you start using Amazon SNS to send SMS messages, your account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide. */ listSMSSandboxPhoneNumbers(params: SNS.Types.ListSMSSandboxPhoneNumbersInput, callback?: (err: AWSError, data: SNS.Types.ListSMSSandboxPhoneNumbersResult) => void): Request; /** - * Lists the calling AWS account's current verified and pending destination phone numbers in the SMS sandbox. When you start using Amazon SNS to send SMS messages, your AWS account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide. + * Lists the calling account's current verified and pending destination phone numbers in the SMS sandbox. When you start using Amazon SNS to send SMS messages, your account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide. */ listSMSSandboxPhoneNumbers(callback?: (err: AWSError, data: SNS.Types.ListSMSSandboxPhoneNumbersResult) => void): Request; /** @@ -228,11 +228,11 @@ declare class SNS extends Service { */ optInPhoneNumber(callback?: (err: AWSError, data: SNS.Types.OptInPhoneNumberResponse) => void): Request; /** - * Sends a message to an Amazon SNS topic, a text message (SMS message) directly to a phone number, or a message to a mobile platform endpoint (when you specify the TargetArn). If you send a message to a topic, Amazon SNS delivers the message to each endpoint that is subscribed to the topic. The format of the message depends on the notification protocol for each subscribed endpoint. When a messageId is returned, the message has been saved and Amazon SNS will attempt to deliver it shortly. To use the Publish action for sending a message to a mobile endpoint, such as an app on a Kindle device or mobile phone, you must specify the EndpointArn for the TargetArn parameter. The EndpointArn is returned when making a call with the CreatePlatformEndpoint action. For more information about formatting messages, see Send Custom Platform-Specific Payloads in Messages to Mobile Devices. You can publish messages only to topics and endpoints in the same AWS Region. + * Sends a message to an Amazon SNS topic, a text message (SMS message) directly to a phone number, or a message to a mobile platform endpoint (when you specify the TargetArn). If you send a message to a topic, Amazon SNS delivers the message to each endpoint that is subscribed to the topic. The format of the message depends on the notification protocol for each subscribed endpoint. When a messageId is returned, the message has been saved and Amazon SNS will attempt to deliver it shortly. To use the Publish action for sending a message to a mobile endpoint, such as an app on a Kindle device or mobile phone, you must specify the EndpointArn for the TargetArn parameter. The EndpointArn is returned when making a call with the CreatePlatformEndpoint action. For more information about formatting messages, see Send Custom Platform-Specific Payloads in Messages to Mobile Devices. You can publish messages only to topics and endpoints in the same Region. */ publish(params: SNS.Types.PublishInput, callback?: (err: AWSError, data: SNS.Types.PublishResponse) => void): Request; /** - * Sends a message to an Amazon SNS topic, a text message (SMS message) directly to a phone number, or a message to a mobile platform endpoint (when you specify the TargetArn). If you send a message to a topic, Amazon SNS delivers the message to each endpoint that is subscribed to the topic. The format of the message depends on the notification protocol for each subscribed endpoint. When a messageId is returned, the message has been saved and Amazon SNS will attempt to deliver it shortly. To use the Publish action for sending a message to a mobile endpoint, such as an app on a Kindle device or mobile phone, you must specify the EndpointArn for the TargetArn parameter. The EndpointArn is returned when making a call with the CreatePlatformEndpoint action. For more information about formatting messages, see Send Custom Platform-Specific Payloads in Messages to Mobile Devices. You can publish messages only to topics and endpoints in the same AWS Region. + * Sends a message to an Amazon SNS topic, a text message (SMS message) directly to a phone number, or a message to a mobile platform endpoint (when you specify the TargetArn). If you send a message to a topic, Amazon SNS delivers the message to each endpoint that is subscribed to the topic. The format of the message depends on the notification protocol for each subscribed endpoint. When a messageId is returned, the message has been saved and Amazon SNS will attempt to deliver it shortly. To use the Publish action for sending a message to a mobile endpoint, such as an app on a Kindle device or mobile phone, you must specify the EndpointArn for the TargetArn parameter. The EndpointArn is returned when making a call with the CreatePlatformEndpoint action. For more information about formatting messages, see Send Custom Platform-Specific Payloads in Messages to Mobile Devices. You can publish messages only to topics and endpoints in the same Region. */ publish(callback?: (err: AWSError, data: SNS.Types.PublishResponse) => void): Request; /** @@ -284,27 +284,27 @@ declare class SNS extends Service { */ setTopicAttributes(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Subscribes an endpoint to an Amazon SNS topic. If the endpoint type is HTTP/S or email, or if the endpoint and the topic are not in the same AWS account, the endpoint owner must run the ConfirmSubscription action to confirm the subscription. You call the ConfirmSubscription action with the token from the subscription response. Confirmation tokens are valid for three days. This action is throttled at 100 transactions per second (TPS). + * Subscribes an endpoint to an Amazon SNS topic. If the endpoint type is HTTP/S or email, or if the endpoint and the topic are not in the same account, the endpoint owner must run the ConfirmSubscription action to confirm the subscription. You call the ConfirmSubscription action with the token from the subscription response. Confirmation tokens are valid for three days. This action is throttled at 100 transactions per second (TPS). */ subscribe(params: SNS.Types.SubscribeInput, callback?: (err: AWSError, data: SNS.Types.SubscribeResponse) => void): Request; /** - * Subscribes an endpoint to an Amazon SNS topic. If the endpoint type is HTTP/S or email, or if the endpoint and the topic are not in the same AWS account, the endpoint owner must run the ConfirmSubscription action to confirm the subscription. You call the ConfirmSubscription action with the token from the subscription response. Confirmation tokens are valid for three days. This action is throttled at 100 transactions per second (TPS). + * Subscribes an endpoint to an Amazon SNS topic. If the endpoint type is HTTP/S or email, or if the endpoint and the topic are not in the same account, the endpoint owner must run the ConfirmSubscription action to confirm the subscription. You call the ConfirmSubscription action with the token from the subscription response. Confirmation tokens are valid for three days. This action is throttled at 100 transactions per second (TPS). */ subscribe(callback?: (err: AWSError, data: SNS.Types.SubscribeResponse) => void): Request; /** - * Add tags to the specified Amazon SNS topic. For an overview, see Amazon SNS Tags in the Amazon SNS Developer Guide. When you use topic tags, keep the following guidelines in mind: Adding more than 50 tags to a topic isn't recommended. Tags don't have any semantic meaning. Amazon SNS interprets tags as character strings. Tags are case-sensitive. A new tag with a key identical to that of an existing tag overwrites the existing tag. Tagging actions are limited to 10 TPS per AWS account, per AWS region. If your application requires a higher throughput, file a technical support request. + * Add tags to the specified Amazon SNS topic. For an overview, see Amazon SNS Tags in the Amazon SNS Developer Guide. When you use topic tags, keep the following guidelines in mind: Adding more than 50 tags to a topic isn't recommended. Tags don't have any semantic meaning. Amazon SNS interprets tags as character strings. Tags are case-sensitive. A new tag with a key identical to that of an existing tag overwrites the existing tag. Tagging actions are limited to 10 TPS per account, per Region. If your application requires a higher throughput, file a technical support request. */ tagResource(params: SNS.Types.TagResourceRequest, callback?: (err: AWSError, data: SNS.Types.TagResourceResponse) => void): Request; /** - * Add tags to the specified Amazon SNS topic. For an overview, see Amazon SNS Tags in the Amazon SNS Developer Guide. When you use topic tags, keep the following guidelines in mind: Adding more than 50 tags to a topic isn't recommended. Tags don't have any semantic meaning. Amazon SNS interprets tags as character strings. Tags are case-sensitive. A new tag with a key identical to that of an existing tag overwrites the existing tag. Tagging actions are limited to 10 TPS per AWS account, per AWS region. If your application requires a higher throughput, file a technical support request. + * Add tags to the specified Amazon SNS topic. For an overview, see Amazon SNS Tags in the Amazon SNS Developer Guide. When you use topic tags, keep the following guidelines in mind: Adding more than 50 tags to a topic isn't recommended. Tags don't have any semantic meaning. Amazon SNS interprets tags as character strings. Tags are case-sensitive. A new tag with a key identical to that of an existing tag overwrites the existing tag. Tagging actions are limited to 10 TPS per account, per Region. If your application requires a higher throughput, file a technical support request. */ tagResource(callback?: (err: AWSError, data: SNS.Types.TagResourceResponse) => void): Request; /** - * Deletes a subscription. If the subscription requires authentication for deletion, only the owner of the subscription or the topic's owner can unsubscribe, and an AWS signature is required. If the Unsubscribe call does not require authentication and the requester is not the subscription owner, a final cancellation message is delivered to the endpoint, so that the endpoint owner can easily resubscribe to the topic if the Unsubscribe request was unintended. This action is throttled at 100 transactions per second (TPS). + * Deletes a subscription. If the subscription requires authentication for deletion, only the owner of the subscription or the topic's owner can unsubscribe, and an Amazon Web Services signature is required. If the Unsubscribe call does not require authentication and the requester is not the subscription owner, a final cancellation message is delivered to the endpoint, so that the endpoint owner can easily resubscribe to the topic if the Unsubscribe request was unintended. This action is throttled at 100 transactions per second (TPS). */ unsubscribe(params: SNS.Types.UnsubscribeInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes a subscription. If the subscription requires authentication for deletion, only the owner of the subscription or the topic's owner can unsubscribe, and an AWS signature is required. If the Unsubscribe call does not require authentication and the requester is not the subscription owner, a final cancellation message is delivered to the endpoint, so that the endpoint owner can easily resubscribe to the topic if the Unsubscribe request was unintended. This action is throttled at 100 transactions per second (TPS). + * Deletes a subscription. If the subscription requires authentication for deletion, only the owner of the subscription or the topic's owner can unsubscribe, and an Amazon Web Services signature is required. If the Unsubscribe call does not require authentication and the requester is not the subscription owner, a final cancellation message is delivered to the endpoint, so that the endpoint owner can easily resubscribe to the topic if the Unsubscribe request was unintended. This action is throttled at 100 transactions per second (TPS). */ unsubscribe(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** @@ -316,11 +316,11 @@ declare class SNS extends Service { */ untagResource(callback?: (err: AWSError, data: SNS.Types.UntagResourceResponse) => void): Request; /** - * Verifies a destination phone number with a one-time password (OTP) for the calling AWS account. When you start using Amazon SNS to send SMS messages, your AWS account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide. + * Verifies a destination phone number with a one-time password (OTP) for the calling account. When you start using Amazon SNS to send SMS messages, your account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide. */ verifySMSSandboxPhoneNumber(params: SNS.Types.VerifySMSSandboxPhoneNumberInput, callback?: (err: AWSError, data: SNS.Types.VerifySMSSandboxPhoneNumberResult) => void): Request; /** - * Verifies a destination phone number with a one-time password (OTP) for the calling AWS account. When you start using Amazon SNS to send SMS messages, your AWS account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide. + * Verifies a destination phone number with a one-time password (OTP) for the calling account. When you start using Amazon SNS to send SMS messages, your account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide. */ verifySMSSandboxPhoneNumber(callback?: (err: AWSError, data: SNS.Types.VerifySMSSandboxPhoneNumberResult) => void): Request; } @@ -336,7 +336,7 @@ declare namespace SNS { */ Label: label; /** - * The AWS account IDs of the users (principals) who will be given access to the specified actions. The users must have AWS accounts, but do not need to be signed up for this service. + * The account IDs of the users (principals) who will be given access to the specified actions. The users must have account, but do not need to be signed up for this service. */ AWSAccountId: DelegatesList; /** @@ -368,7 +368,7 @@ declare namespace SNS { */ Token: token; /** - * Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter is true and the request has an AWS signature, then only the topic owner and the subscription owner can unsubscribe the endpoint. The unsubscribe action requires AWS authentication. + * Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter is true and the request has an Amazon Web Services signature, then only the topic owner and the subscription owner can unsubscribe the endpoint. The unsubscribe action requires Amazon Web Services authentication. */ AuthenticateOnUnsubscribe?: authenticateOnUnsubscribe; } @@ -440,7 +440,7 @@ declare namespace SNS { */ Name: topicName; /** - * A map of attributes with their corresponding values. The following lists the names, descriptions, and values of the special request parameters that the CreateTopic action uses: DeliveryPolicy – The policy that defines how Amazon SNS retries failed deliveries to HTTP/S endpoints. DisplayName – The display name to use for a topic with SMS subscriptions. FifoTopic – Set to true to create a FIFO topic. Policy – The policy that defines who can access your topic. By default, only the topic owner can publish or subscribe to the topic. The following attribute applies only to server-side encryption: KmsMasterKeyId – The ID of an AWS managed customer master key (CMK) for Amazon SNS or a custom CMK. For more information, see Key Terms. For more examples, see KeyId in the AWS Key Management Service API Reference. The following attributes apply only to FIFO topics: FifoTopic – When this is set to true, a FIFO topic is created. ContentBasedDeduplication – Enables content-based deduplication for FIFO topics. By default, ContentBasedDeduplication is set to false. If you create a FIFO topic and this attribute is false, you must specify a value for the MessageDeduplicationId parameter for the Publish action. When you set ContentBasedDeduplication to true, Amazon SNS uses a SHA-256 hash to generate the MessageDeduplicationId using the body of the message (but not the attributes of the message). (Optional) To override the generated value, you can specify a value for the MessageDeduplicationId parameter for the Publish action. + * A map of attributes with their corresponding values. The following lists the names, descriptions, and values of the special request parameters that the CreateTopic action uses: DeliveryPolicy – The policy that defines how Amazon SNS retries failed deliveries to HTTP/S endpoints. DisplayName – The display name to use for a topic with SMS subscriptions. FifoTopic – Set to true to create a FIFO topic. Policy – The policy that defines who can access your topic. By default, only the topic owner can publish or subscribe to the topic. The following attribute applies only to server-side encryption: KmsMasterKeyId – The ID of an Amazon Web Services managed customer master key (CMK) for Amazon SNS or a custom CMK. For more information, see Key Terms. For more examples, see KeyId in the Key Management Service API Reference. The following attributes apply only to FIFO topics: FifoTopic – When this is set to true, a FIFO topic is created. ContentBasedDeduplication – Enables content-based deduplication for FIFO topics. By default, ContentBasedDeduplication is set to false. If you create a FIFO topic and this attribute is false, you must specify a value for the MessageDeduplicationId parameter for the Publish action. When you set ContentBasedDeduplication to true, Amazon SNS uses a SHA-256 hash to generate the MessageDeduplicationId using the body of the message (but not the attributes of the message). (Optional) To override the generated value, you can specify a value for the MessageDeduplicationId parameter for the Publish action. */ Attributes?: TopicAttributesMap; /** @@ -543,7 +543,7 @@ declare namespace SNS { } export interface GetSubscriptionAttributesResponse { /** - * A map of the subscription's attributes. Attributes in this map include the following: ConfirmationWasAuthenticated – true if the subscription confirmation request was authenticated. DeliveryPolicy – The JSON serialization of the subscription's delivery policy. EffectiveDeliveryPolicy – The JSON serialization of the effective delivery policy that takes into account the topic delivery policy and account system defaults. FilterPolicy – The filter policy JSON that is assigned to the subscription. For more information, see Amazon SNS Message Filtering in the Amazon SNS Developer Guide. Owner – The AWS account ID of the subscription's owner. PendingConfirmation – true if the subscription hasn't been confirmed. To confirm a pending subscription, call the ConfirmSubscription action with a confirmation token. RawMessageDelivery – true if raw message delivery is enabled for the subscription. Raw messages are free of JSON formatting and can be sent to HTTP/S and Amazon SQS endpoints. RedrivePolicy – When specified, sends undeliverable messages to the specified Amazon SQS dead-letter queue. Messages that can't be delivered due to client errors (for example, when the subscribed endpoint is unreachable) or server errors (for example, when the service that powers the subscribed endpoint becomes unavailable) are held in the dead-letter queue for further analysis or reprocessing. SubscriptionArn – The subscription's ARN. TopicArn – The topic ARN that the subscription is associated with. The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions: SubscriptionRoleArn – The ARN of the IAM role that has the following: Permission to write to the Kinesis Data Firehose delivery stream Amazon SNS listed as a trusted entity Specifying a valid ARN for this attribute is required for Kinesis Data Firehose delivery stream subscriptions. For more information, see Fanout to Kinesis Data Firehose delivery streams in the Amazon SNS Developer Guide. + * A map of the subscription's attributes. Attributes in this map include the following: ConfirmationWasAuthenticated – true if the subscription confirmation request was authenticated. DeliveryPolicy – The JSON serialization of the subscription's delivery policy. EffectiveDeliveryPolicy – The JSON serialization of the effective delivery policy that takes into account the topic delivery policy and account system defaults. FilterPolicy – The filter policy JSON that is assigned to the subscription. For more information, see Amazon SNS Message Filtering in the Amazon SNS Developer Guide. Owner – The account ID of the subscription's owner. PendingConfirmation – true if the subscription hasn't been confirmed. To confirm a pending subscription, call the ConfirmSubscription action with a confirmation token. RawMessageDelivery – true if raw message delivery is enabled for the subscription. Raw messages are free of JSON formatting and can be sent to HTTP/S and Amazon SQS endpoints. RedrivePolicy – When specified, sends undeliverable messages to the specified Amazon SQS dead-letter queue. Messages that can't be delivered due to client errors (for example, when the subscribed endpoint is unreachable) or server errors (for example, when the service that powers the subscribed endpoint becomes unavailable) are held in the dead-letter queue for further analysis or reprocessing. SubscriptionArn – The subscription's ARN. TopicArn – The topic ARN that the subscription is associated with. The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions: SubscriptionRoleArn – The ARN of the IAM role that has the following: Permission to write to the Kinesis Data Firehose delivery stream Amazon SNS listed as a trusted entity Specifying a valid ARN for this attribute is required for Kinesis Data Firehose delivery stream subscriptions. For more information, see Fanout to Kinesis Data Firehose delivery streams in the Amazon SNS Developer Guide. */ Attributes?: SubscriptionAttributesMap; } @@ -555,7 +555,7 @@ declare namespace SNS { } export interface GetTopicAttributesResponse { /** - * A map of the topic's attributes. Attributes in this map include the following: DeliveryPolicy – The JSON serialization of the topic's delivery policy. DisplayName – The human-readable name used in the From field for notifications to email and email-json endpoints. Owner – The AWS account ID of the topic's owner. Policy – The JSON serialization of the topic's access control policy. SubscriptionsConfirmed – The number of confirmed subscriptions for the topic. SubscriptionsDeleted – The number of deleted subscriptions for the topic. SubscriptionsPending – The number of subscriptions pending confirmation for the topic. TopicArn – The topic's ARN. EffectiveDeliveryPolicy – The JSON serialization of the effective delivery policy, taking system defaults into account. The following attribute applies only to server-side-encryption: KmsMasterKeyId - The ID of an AWS-managed customer master key (CMK) for Amazon SNS or a custom CMK. For more information, see Key Terms. For more examples, see KeyId in the AWS Key Management Service API Reference. The following attributes apply only to FIFO topics: FifoTopic – When this is set to true, a FIFO topic is created. ContentBasedDeduplication – Enables content-based deduplication for FIFO topics. By default, ContentBasedDeduplication is set to false. If you create a FIFO topic and this attribute is false, you must specify a value for the MessageDeduplicationId parameter for the Publish action. When you set ContentBasedDeduplication to true, Amazon SNS uses a SHA-256 hash to generate the MessageDeduplicationId using the body of the message (but not the attributes of the message). (Optional) To override the generated value, you can specify a value for the MessageDeduplicationId parameter for the Publish action. + * A map of the topic's attributes. Attributes in this map include the following: DeliveryPolicy – The JSON serialization of the topic's delivery policy. DisplayName – The human-readable name used in the From field for notifications to email and email-json endpoints. Owner – The account ID of the topic's owner. Policy – The JSON serialization of the topic's access control policy. SubscriptionsConfirmed – The number of confirmed subscriptions for the topic. SubscriptionsDeleted – The number of deleted subscriptions for the topic. SubscriptionsPending – The number of subscriptions pending confirmation for the topic. TopicArn – The topic's ARN. EffectiveDeliveryPolicy – The JSON serialization of the effective delivery policy, taking system defaults into account. The following attribute applies only to server-side-encryption: KmsMasterKeyId - The ID of an Amazon Web Services managed customer master key (CMK) for Amazon SNS or a custom CMK. For more information, see Key Terms. For more examples, see KeyId in the Key Management Service API Reference. The following attributes apply only to FIFO topics: FifoTopic – When this is set to true, a FIFO topic is created. ContentBasedDeduplication – Enables content-based deduplication for FIFO topics. By default, ContentBasedDeduplication is set to false. If you create a FIFO topic and this attribute is false, you must specify a value for the MessageDeduplicationId parameter for the Publish action. When you set ContentBasedDeduplication to true, Amazon SNS uses a SHA-256 hash to generate the MessageDeduplicationId using the body of the message (but not the attributes of the message). (Optional) To override the generated value, you can specify a value for the MessageDeduplicationId parameter for the Publish action. */ Attributes?: TopicAttributesMap; } @@ -882,7 +882,7 @@ declare namespace SNS { } export interface SetSMSAttributesInput { /** - * The default settings for sending SMS messages from your account. You can set values for the following attribute names: MonthlySpendLimit – The maximum amount in USD that you are willing to spend each month to send SMS messages. When Amazon SNS determines that sending an SMS message would incur a cost that exceeds this limit, it stops sending SMS messages within minutes. Amazon SNS stops sending SMS messages within minutes of the limit being crossed. During that interval, if you continue to send SMS messages, you will incur costs that exceed your limit. By default, the spend limit is set to the maximum allowed by Amazon SNS. If you want to raise the limit, submit an SNS Limit Increase case. For New limit value, enter your desired monthly spend limit. In the Use Case Description field, explain that you are requesting an SMS monthly spend limit increase. DeliveryStatusIAMRole – The ARN of the IAM role that allows Amazon SNS to write logs about SMS deliveries in CloudWatch Logs. For each SMS message that you send, Amazon SNS writes a log that includes the message price, the success or failure status, the reason for failure (if the message failed), the message dwell time, and other information. DeliveryStatusSuccessSamplingRate – The percentage of successful SMS deliveries for which Amazon SNS will write logs in CloudWatch Logs. The value can be an integer from 0 - 100. For example, to write logs only for failed deliveries, set this value to 0. To write logs for 10% of your successful deliveries, set it to 10. DefaultSenderID – A string, such as your business brand, that is displayed as the sender on the receiving device. Support for sender IDs varies by country. The sender ID can be 1 - 11 alphanumeric characters, and it must contain at least one letter. DefaultSMSType – The type of SMS message that you will send by default. You can assign the following values: Promotional – (Default) Noncritical messages, such as marketing messages. Amazon SNS optimizes the message delivery to incur the lowest cost. Transactional – Critical messages that support customer transactions, such as one-time passcodes for multi-factor authentication. Amazon SNS optimizes the message delivery to achieve the highest reliability. UsageReportS3Bucket – The name of the Amazon S3 bucket to receive daily SMS usage reports from Amazon SNS. Each day, Amazon SNS will deliver a usage report as a CSV file to the bucket. The report includes the following information for each SMS message that was successfully delivered by your account: Time that the message was published (in UTC) Message ID Destination phone number Message type Delivery status Message price (in USD) Part number (a message is split into multiple parts if it is too long for a single message) Total number of parts To receive the report, the bucket must have a policy that allows the Amazon SNS service principle to perform the s3:PutObject and s3:GetBucketLocation actions. For an example bucket policy and usage report, see Monitoring SMS Activity in the Amazon SNS Developer Guide. + * The default settings for sending SMS messages from your account. You can set values for the following attribute names: MonthlySpendLimit – The maximum amount in USD that you are willing to spend each month to send SMS messages. When Amazon SNS determines that sending an SMS message would incur a cost that exceeds this limit, it stops sending SMS messages within minutes. Amazon SNS stops sending SMS messages within minutes of the limit being crossed. During that interval, if you continue to send SMS messages, you will incur costs that exceed your limit. By default, the spend limit is set to the maximum allowed by Amazon SNS. If you want to raise the limit, submit an SNS Limit Increase case. For New limit value, enter your desired monthly spend limit. In the Use Case Description field, explain that you are requesting an SMS monthly spend limit increase. DeliveryStatusIAMRole – The ARN of the IAM role that allows Amazon SNS to write logs about SMS deliveries in CloudWatch Logs. For each SMS message that you send, Amazon SNS writes a log that includes the message price, the success or failure status, the reason for failure (if the message failed), the message dwell time, and other information. DeliveryStatusSuccessSamplingRate – The percentage of successful SMS deliveries for which Amazon SNS will write logs in CloudWatch Logs. The value can be an integer from 0 - 100. For example, to write logs only for failed deliveries, set this value to 0. To write logs for 10% of your successful deliveries, set it to 10. DefaultSenderID – A string, such as your business brand, that is displayed as the sender on the receiving device. Support for sender IDs varies by country. The sender ID can be 1 - 11 alphanumeric characters, and it must contain at least one letter. DefaultSMSType – The type of SMS message that you will send by default. You can assign the following values: Promotional – (Default) Noncritical messages, such as marketing messages. Amazon SNS optimizes the message delivery to incur the lowest cost. Transactional – Critical messages that support customer transactions, such as one-time passcodes for multi-factor authentication. Amazon SNS optimizes the message delivery to achieve the highest reliability. UsageReportS3Bucket – The name of the Amazon S3 bucket to receive daily SMS usage reports from Amazon SNS. Each day, Amazon SNS will deliver a usage report as a CSV file to the bucket. The report includes the following information for each SMS message that was successfully delivered by your account: Time that the message was published (in UTC) Message ID Destination phone number Message type Delivery status Message price (in USD) Part number (a message is split into multiple parts if it is too long for a single message) Total number of parts To receive the report, the bucket must have a policy that allows the Amazon SNS service principal to perform the s3:PutObject and s3:GetBucketLocation actions. For an example bucket policy and usage report, see Monitoring SMS Activity in the Amazon SNS Developer Guide. */ attributes: MapStringToString; } @@ -908,7 +908,7 @@ declare namespace SNS { */ TopicArn: topicARN; /** - * A map of attributes with their corresponding values. The following lists the names, descriptions, and values of the special request parameters that the SetTopicAttributes action uses: DeliveryPolicy – The policy that defines how Amazon SNS retries failed deliveries to HTTP/S endpoints. DisplayName – The display name to use for a topic with SMS subscriptions. Policy – The policy that defines who can access your topic. By default, only the topic owner can publish or subscribe to the topic. The following attribute applies only to server-side-encryption: KmsMasterKeyId – The ID of an AWS-managed customer master key (CMK) for Amazon SNS or a custom CMK. For more information, see Key Terms. For more examples, see KeyId in the AWS Key Management Service API Reference. The following attribute applies only to FIFO topics: ContentBasedDeduplication – Enables content-based deduplication for FIFO topics. By default, ContentBasedDeduplication is set to false. If you create a FIFO topic and this attribute is false, you must specify a value for the MessageDeduplicationId parameter for the Publish action. When you set ContentBasedDeduplication to true, Amazon SNS uses a SHA-256 hash to generate the MessageDeduplicationId using the body of the message (but not the attributes of the message). (Optional) To override the generated value, you can specify a value for the MessageDeduplicationId parameter for the Publish action. + * A map of attributes with their corresponding values. The following lists the names, descriptions, and values of the special request parameters that the SetTopicAttributes action uses: DeliveryPolicy – The policy that defines how Amazon SNS retries failed deliveries to HTTP/S endpoints. DisplayName – The display name to use for a topic with SMS subscriptions. Policy – The policy that defines who can access your topic. By default, only the topic owner can publish or subscribe to the topic. The following attribute applies only to server-side-encryption: KmsMasterKeyId – The ID of an Amazon Web Services managed customer master key (CMK) for Amazon SNS or a custom CMK. For more information, see Key Terms. For more examples, see KeyId in the Key Management Service API Reference. The following attribute applies only to FIFO topics: ContentBasedDeduplication – Enables content-based deduplication for FIFO topics. By default, ContentBasedDeduplication is set to false. If you create a FIFO topic and this attribute is false, you must specify a value for the MessageDeduplicationId parameter for the Publish action. When you set ContentBasedDeduplication to true, Amazon SNS uses a SHA-256 hash to generate the MessageDeduplicationId using the body of the message (but not the attributes of the message). (Optional) To override the generated value, you can specify a value for the MessageDeduplicationId parameter for the Publish action. */ AttributeName: attributeName; /** @@ -923,15 +923,15 @@ declare namespace SNS { */ TopicArn: topicARN; /** - * The protocol that you want to use. Supported protocols include: http – delivery of JSON-encoded message via HTTP POST https – delivery of JSON-encoded message via HTTPS POST email – delivery of message via SMTP email-json – delivery of JSON-encoded message via SMTP sms – delivery of message via SMS sqs – delivery of JSON-encoded message to an Amazon SQS queue application – delivery of JSON-encoded message to an EndpointArn for a mobile app and device lambda – delivery of JSON-encoded message to an AWS Lambda function firehose – delivery of JSON-encoded message to an Amazon Kinesis Data Firehose delivery stream. + * The protocol that you want to use. Supported protocols include: http – delivery of JSON-encoded message via HTTP POST https – delivery of JSON-encoded message via HTTPS POST email – delivery of message via SMTP email-json – delivery of JSON-encoded message via SMTP sms – delivery of message via SMS sqs – delivery of JSON-encoded message to an Amazon SQS queue application – delivery of JSON-encoded message to an EndpointArn for a mobile app and device lambda – delivery of JSON-encoded message to an Lambda function firehose – delivery of JSON-encoded message to an Amazon Kinesis Data Firehose delivery stream. */ Protocol: protocol; /** - * The endpoint that you want to receive notifications. Endpoints vary by protocol: For the http protocol, the (public) endpoint is a URL beginning with http://. For the https protocol, the (public) endpoint is a URL beginning with https://. For the email protocol, the endpoint is an email address. For the email-json protocol, the endpoint is an email address. For the sms protocol, the endpoint is a phone number of an SMS-enabled device. For the sqs protocol, the endpoint is the ARN of an Amazon SQS queue. For the application protocol, the endpoint is the EndpointArn of a mobile app and device. For the lambda protocol, the endpoint is the ARN of an AWS Lambda function. For the firehose protocol, the endpoint is the ARN of an Amazon Kinesis Data Firehose delivery stream. + * The endpoint that you want to receive notifications. Endpoints vary by protocol: For the http protocol, the (public) endpoint is a URL beginning with http://. For the https protocol, the (public) endpoint is a URL beginning with https://. For the email protocol, the endpoint is an email address. For the email-json protocol, the endpoint is an email address. For the sms protocol, the endpoint is a phone number of an SMS-enabled device. For the sqs protocol, the endpoint is the ARN of an Amazon SQS queue. For the application protocol, the endpoint is the EndpointArn of a mobile app and device. For the lambda protocol, the endpoint is the ARN of an Lambda function. For the firehose protocol, the endpoint is the ARN of an Amazon Kinesis Data Firehose delivery stream. */ Endpoint?: endpoint; /** - * A map of attributes with their corresponding values. The following lists the names, descriptions, and values of the special request parameters that the SetTopicAttributes action uses: DeliveryPolicy – The policy that defines how Amazon SNS retries failed deliveries to HTTP/S endpoints. FilterPolicy – The simple JSON object that lets your subscriber receive only a subset of messages, rather than receiving every message published to the topic. RawMessageDelivery – When set to true, enables raw message delivery to Amazon SQS or HTTP/S endpoints. This eliminates the need for the endpoints to process JSON formatting, which is otherwise created for Amazon SNS metadata. RedrivePolicy – When specified, sends undeliverable messages to the specified Amazon SQS dead-letter queue. Messages that can't be delivered due to client errors (for example, when the subscribed endpoint is unreachable) or server errors (for example, when the service that powers the subscribed endpoint becomes unavailable) are held in the dead-letter queue for further analysis or reprocessing. The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions: SubscriptionRoleArn – The ARN of the IAM role that has the following: Permission to write to the Kinesis Data Firehose delivery stream Amazon SNS listed as a trusted entity Specifying a valid ARN for this attribute is required for Kinesis Data Firehose delivery stream subscriptions. For more information, see Fanout to Kinesis Data Firehose delivery streams in the Amazon SNS Developer Guide. + * A map of attributes with their corresponding values. The following lists the names, descriptions, and values of the special request parameters that the Subscribe action uses: DeliveryPolicy – The policy that defines how Amazon SNS retries failed deliveries to HTTP/S endpoints. FilterPolicy – The simple JSON object that lets your subscriber receive only a subset of messages, rather than receiving every message published to the topic. RawMessageDelivery – When set to true, enables raw message delivery to Amazon SQS or HTTP/S endpoints. This eliminates the need for the endpoints to process JSON formatting, which is otherwise created for Amazon SNS metadata. RedrivePolicy – When specified, sends undeliverable messages to the specified Amazon SQS dead-letter queue. Messages that can't be delivered due to client errors (for example, when the subscribed endpoint is unreachable) or server errors (for example, when the service that powers the subscribed endpoint becomes unavailable) are held in the dead-letter queue for further analysis or reprocessing. The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions: SubscriptionRoleArn – The ARN of the IAM role that has the following: Permission to write to the Kinesis Data Firehose delivery stream Amazon SNS listed as a trusted entity Specifying a valid ARN for this attribute is required for Kinesis Data Firehose delivery stream subscriptions. For more information, see Fanout to Kinesis Data Firehose delivery streams in the Amazon SNS Developer Guide. */ Attributes?: SubscriptionAttributesMap; /** diff --git a/dist/aws-sdk-core-react-native.js b/dist/aws-sdk-core-react-native.js index 67150cf2de..65d092602c 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.939.0', + VERSION: '2.940.0', /** * @api private diff --git a/dist/aws-sdk-react-native.js b/dist/aws-sdk-react-native.js index 61544b9ed3..d81c7b3578 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.939.0', + VERSION: '2.940.0', /** * @api private @@ -47481,7 +47481,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 454 */ /***/ (function(module, exports) { - module.exports = {"pagination":{"ListEndpointsByPlatformApplication":{"input_token":"NextToken","output_token":"NextToken","result_key":"Endpoints"},"ListOriginationNumbers":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"PhoneNumbers"},"ListPlatformApplications":{"input_token":"NextToken","output_token":"NextToken","result_key":"PlatformApplications"},"ListSMSSandboxPhoneNumbers":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"PhoneNumbers"},"ListSubscriptions":{"input_token":"NextToken","output_token":"NextToken","result_key":"Subscriptions"},"ListSubscriptionsByTopic":{"input_token":"NextToken","output_token":"NextToken","result_key":"Subscriptions"},"ListTopics":{"input_token":"NextToken","output_token":"NextToken","result_key":"Topics"}}} + module.exports = {"pagination":{"ListEndpointsByPlatformApplication":{"input_token":"NextToken","output_token":"NextToken","result_key":"Endpoints"},"ListOriginationNumbers":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"PhoneNumbers"},"ListPhoneNumbersOptedOut":{"input_token":"nextToken","output_token":"nextToken","result_key":"phoneNumbers"},"ListPlatformApplications":{"input_token":"NextToken","output_token":"NextToken","result_key":"PlatformApplications"},"ListSMSSandboxPhoneNumbers":{"input_token":"NextToken","limit_key":"MaxResults","output_token":"NextToken","result_key":"PhoneNumbers"},"ListSubscriptions":{"input_token":"NextToken","output_token":"NextToken","result_key":"Subscriptions"},"ListSubscriptionsByTopic":{"input_token":"NextToken","output_token":"NextToken","result_key":"Subscriptions"},"ListTopics":{"input_token":"NextToken","output_token":"NextToken","result_key":"Topics"}}} /***/ }), /* 455 */ @@ -52103,7 +52103,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 826 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2019-12-02","endpointPrefix":"imagebuilder","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"imagebuilder","serviceFullName":"EC2 Image Builder","serviceId":"imagebuilder","signatureVersion":"v4","signingName":"imagebuilder","uid":"imagebuilder-2019-12-02"},"operations":{"CancelImageCreation":{"http":{"method":"PUT","requestUri":"/CancelImageCreation"},"input":{"type":"structure","required":["imageBuildVersionArn","clientToken"],"members":{"imageBuildVersionArn":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"imageBuildVersionArn":{}}}},"CreateComponent":{"http":{"method":"PUT","requestUri":"/CreateComponent"},"input":{"type":"structure","required":["name","semanticVersion","platform","clientToken"],"members":{"name":{},"semanticVersion":{},"description":{},"changeDescription":{},"platform":{},"supportedOsVersions":{"shape":"Sa"},"data":{},"uri":{},"kmsKeyId":{},"tags":{"shape":"Se"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"componentBuildVersionArn":{}}}},"CreateContainerRecipe":{"http":{"method":"PUT","requestUri":"/CreateContainerRecipe"},"input":{"type":"structure","required":["containerType","name","semanticVersion","components","parentImage","targetRepository","clientToken"],"members":{"containerType":{},"name":{},"description":{},"semanticVersion":{},"components":{"shape":"Sl"},"instanceConfiguration":{"shape":"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"}}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2019-12-02","endpointPrefix":"imagebuilder","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"imagebuilder","serviceFullName":"EC2 Image Builder","serviceId":"imagebuilder","signatureVersion":"v4","signingName":"imagebuilder","uid":"imagebuilder-2019-12-02"},"operations":{"CancelImageCreation":{"http":{"method":"PUT","requestUri":"/CancelImageCreation"},"input":{"type":"structure","required":["imageBuildVersionArn","clientToken"],"members":{"imageBuildVersionArn":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"imageBuildVersionArn":{}}}},"CreateComponent":{"http":{"method":"PUT","requestUri":"/CreateComponent"},"input":{"type":"structure","required":["name","semanticVersion","platform","clientToken"],"members":{"name":{},"semanticVersion":{},"description":{},"changeDescription":{},"platform":{},"supportedOsVersions":{"shape":"Sa"},"data":{},"uri":{},"kmsKeyId":{},"tags":{"shape":"Se"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"componentBuildVersionArn":{}}}},"CreateContainerRecipe":{"http":{"method":"PUT","requestUri":"/CreateContainerRecipe"},"input":{"type":"structure","required":["containerType","name","semanticVersion","components","parentImage","targetRepository","clientToken"],"members":{"containerType":{},"name":{},"description":{},"semanticVersion":{},"components":{"shape":"Sl"},"instanceConfiguration":{"shape":"St"},"dockerfileTemplateData":{},"dockerfileTemplateUri":{},"platformOverride":{},"imageOsVersionOverride":{},"parentImage":{},"tags":{"shape":"Se"},"workingDirectory":{},"targetRepository":{"shape":"S13"},"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":"S18"},"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":"S1s"},"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":"S1s"},"enhancedImageMetadataEnabled":{"type":"boolean"},"schedule":{"shape":"S1w"},"status":{},"tags":{"shape":"Se"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"imagePipelineArn":{}}}},"CreateImageRecipe":{"http":{"method":"PUT","requestUri":"/CreateImageRecipe"},"input":{"type":"structure","required":["name","semanticVersion","components","parentImage","clientToken"],"members":{"name":{},"description":{},"semanticVersion":{},"components":{"shape":"Sl"},"parentImage":{},"blockDeviceMappings":{"shape":"Su"},"tags":{"shape":"Se"},"workingDirectory":{},"additionalInstanceConfiguration":{"shape":"S23"},"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":"S28"},"instanceProfileName":{},"securityGroupIds":{"shape":"S2b"},"subnetId":{},"logging":{"shape":"S2c"},"keyPair":{},"terminateInstanceOnFailure":{"type":"boolean"},"snsTopicArn":{},"resourceTags":{"shape":"S2f"},"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"},"parameters":{"type":"list","member":{"type":"structure","required":["name","type"],"members":{"name":{},"type":{},"defaultValue":{"shape":"Sr"},"description":{}}}},"owner":{},"data":{},"kmsKeyId":{},"encrypted":{"type":"boolean"},"dateCreated":{},"tags":{"shape":"Se"}}}}}},"GetComponentPolicy":{"http":{"method":"GET","requestUri":"/GetComponentPolicy"},"input":{"type":"structure","required":["componentArn"],"members":{"componentArn":{"location":"querystring","locationName":"componentArn"}}},"output":{"type":"structure","members":{"requestId":{},"policy":{}}}},"GetContainerRecipe":{"http":{"method":"GET","requestUri":"/GetContainerRecipe"},"input":{"type":"structure","required":["containerRecipeArn"],"members":{"containerRecipeArn":{"location":"querystring","locationName":"containerRecipeArn"}}},"output":{"type":"structure","members":{"requestId":{},"containerRecipe":{"shape":"S3b"}}}},"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":"S3h"}}}},"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":"S3o"},"imageRecipe":{"shape":"S3q"},"containerRecipe":{"shape":"S3b"},"sourcePipelineName":{},"sourcePipelineArn":{},"infrastructureConfiguration":{"shape":"S3s"},"distributionConfiguration":{"shape":"S3h"},"imageTestsConfiguration":{"shape":"S1s"},"dateCreated":{},"outputResources":{"shape":"S3t"},"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":"S40"}}}},"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":"S3q"}}}},"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":"S3s"}}}},"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":"S4l"},"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":"S4l"},"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":"S4l"},"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":"S4l"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"imageSummaryList":{"shape":"S55"},"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":"S4l"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"imageSummaryList":{"shape":"S55"},"nextToken":{}}}},"ListImagePipelines":{"http":{"requestUri":"/ListImagePipelines"},"input":{"type":"structure","members":{"filters":{"shape":"S4l"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"imagePipelineList":{"type":"list","member":{"shape":"S40"}},"nextToken":{}}}},"ListImageRecipes":{"http":{"requestUri":"/ListImageRecipes"},"input":{"type":"structure","members":{"owner":{},"filters":{"shape":"S4l"},"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":"S4l"},"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":"S4l"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"requestId":{},"infrastructureConfigurationSummaryList":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"description":{},"dateCreated":{},"dateUpdated":{},"resourceTags":{"shape":"S2f"},"tags":{"shape":"Se"},"instanceTypes":{"shape":"S28"},"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":"S18"},"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":"S1s"},"enhancedImageMetadataEnabled":{"type":"boolean"},"schedule":{"shape":"S1w"},"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":"S28"},"instanceProfileName":{},"securityGroupIds":{"shape":"S2b"},"subnetId":{},"logging":{"shape":"S2c"},"keyPair":{},"terminateInstanceOnFailure":{"type":"boolean"},"snsTopicArn":{},"clientToken":{"idempotencyToken":true},"resourceTags":{"shape":"S2f"}}},"output":{"type":"structure","members":{"requestId":{},"clientToken":{},"infrastructureConfigurationArn":{}}}}},"shapes":{"Sa":{"type":"list","member":{}},"Se":{"type":"map","key":{},"value":{}},"Sl":{"type":"list","member":{"type":"structure","required":["componentArn"],"members":{"componentArn":{},"parameters":{"type":"list","member":{"type":"structure","required":["name","value"],"members":{"name":{},"value":{"shape":"Sr"}}}}}}},"Sr":{"type":"list","member":{}},"St":{"type":"structure","members":{"image":{},"blockDeviceMappings":{"shape":"Su"}}},"Su":{"type":"list","member":{"type":"structure","members":{"deviceName":{},"ebs":{"type":"structure","members":{"encrypted":{"type":"boolean"},"deleteOnTermination":{"type":"boolean"},"iops":{"type":"integer"},"kmsKeyId":{},"snapshotId":{},"volumeSize":{"type":"integer"},"volumeType":{}}},"virtualName":{},"noDevice":{}}}},"S13":{"type":"structure","required":["service","repositoryName"],"members":{"service":{},"repositoryName":{}}},"S18":{"type":"list","member":{"type":"structure","required":["region"],"members":{"region":{},"amiDistributionConfiguration":{"type":"structure","members":{"name":{},"description":{},"targetAccountIds":{"shape":"S1c"},"amiTags":{"shape":"Se"},"kmsKeyId":{},"launchPermission":{"type":"structure","members":{"userIds":{"shape":"S1c"},"userGroups":{"shape":"S1f"}}}}},"containerDistributionConfiguration":{"type":"structure","required":["targetRepository"],"members":{"description":{},"containerTags":{"shape":"S1f"},"targetRepository":{"shape":"S13"}}},"licenseConfigurationArns":{"type":"list","member":{}},"launchTemplateConfigurations":{"type":"list","member":{"type":"structure","required":["launchTemplateId"],"members":{"launchTemplateId":{},"accountId":{},"setDefaultVersion":{"type":"boolean"}}}}}}},"S1c":{"type":"list","member":{}},"S1f":{"type":"list","member":{}},"S1s":{"type":"structure","members":{"imageTestsEnabled":{"type":"boolean"},"timeoutMinutes":{"type":"integer"}}},"S1w":{"type":"structure","members":{"scheduleExpression":{},"timezone":{},"pipelineExecutionStartCondition":{}}},"S23":{"type":"structure","members":{"systemsManagerAgent":{"type":"structure","members":{"uninstallAfterBuild":{"type":"boolean"}}},"userDataOverride":{}}},"S28":{"type":"list","member":{}},"S2b":{"type":"list","member":{}},"S2c":{"type":"structure","members":{"s3Logs":{"type":"structure","members":{"s3BucketName":{},"s3KeyPrefix":{}}}}},"S2f":{"type":"map","key":{},"value":{}},"S3b":{"type":"structure","members":{"arn":{},"containerType":{},"name":{},"description":{},"platform":{},"owner":{},"version":{},"components":{"shape":"Sl"},"instanceConfiguration":{"shape":"St"},"dockerfileTemplateData":{},"kmsKeyId":{},"encrypted":{"type":"boolean"},"parentImage":{},"dateCreated":{},"tags":{"shape":"Se"},"workingDirectory":{},"targetRepository":{"shape":"S13"}}},"S3h":{"type":"structure","required":["timeoutMinutes"],"members":{"arn":{},"name":{},"description":{},"distributions":{"shape":"S18"},"timeoutMinutes":{"type":"integer"},"dateCreated":{},"dateUpdated":{},"tags":{"shape":"Se"}}},"S3o":{"type":"structure","members":{"status":{},"reason":{}}},"S3q":{"type":"structure","members":{"arn":{},"type":{},"name":{},"description":{},"platform":{},"owner":{},"version":{},"components":{"shape":"Sl"},"parentImage":{},"blockDeviceMappings":{"shape":"Su"},"dateCreated":{},"tags":{"shape":"Se"},"workingDirectory":{},"additionalInstanceConfiguration":{"shape":"S23"}}},"S3s":{"type":"structure","members":{"arn":{},"name":{},"description":{},"instanceTypes":{"shape":"S28"},"instanceProfileName":{},"securityGroupIds":{"shape":"S2b"},"subnetId":{},"logging":{"shape":"S2c"},"keyPair":{},"terminateInstanceOnFailure":{"type":"boolean"},"snsTopicArn":{},"dateCreated":{},"dateUpdated":{},"resourceTags":{"shape":"S2f"},"tags":{"shape":"Se"}}},"S3t":{"type":"structure","members":{"amis":{"type":"list","member":{"type":"structure","members":{"region":{},"image":{},"name":{},"description":{},"state":{"shape":"S3o"},"accountId":{}}}},"containers":{"type":"list","member":{"type":"structure","members":{"region":{},"imageUris":{"shape":"S1f"}}}}}},"S40":{"type":"structure","members":{"arn":{},"name":{},"description":{},"platform":{},"enhancedImageMetadataEnabled":{"type":"boolean"},"imageRecipeArn":{},"containerRecipeArn":{},"infrastructureConfigurationArn":{},"distributionConfigurationArn":{},"imageTestsConfiguration":{"shape":"S1s"},"schedule":{"shape":"S1w"},"status":{},"dateCreated":{},"dateUpdated":{},"dateLastRun":{},"dateNextRun":{},"tags":{"shape":"Se"}}},"S4l":{"type":"list","member":{"type":"structure","members":{"name":{},"values":{"type":"list","member":{}}}}},"S55":{"type":"list","member":{"type":"structure","members":{"arn":{},"name":{},"type":{},"version":{},"platform":{},"osVersion":{},"state":{"shape":"S3o"},"owner":{},"dateCreated":{},"outputResources":{"shape":"S3t"},"tags":{"shape":"Se"}}}}}} /***/ }), /* 827 */ diff --git a/dist/aws-sdk.js b/dist/aws-sdk.js index 8e2d008983..0163d45bc4 100644 --- a/dist/aws-sdk.js +++ b/dist/aws-sdk.js @@ -1,4 +1,4 @@ -// AWS SDK for JavaScript v2.939.0 +// AWS SDK for JavaScript v2.940.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/":426}],334:[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":333}],335:[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":333,"buffer/":426}],336:[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":333,"buffer/":426}],337:[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":333,"buffer/":426}],338:[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":332,"./core":342,"./credentials":343,"./credentials/chainable_temporary_credentials":344,"./credentials/cognito_identity_credentials":345,"./credentials/credential_provider_chain":346,"./credentials/saml_credentials":347,"./credentials/temporary_credentials":348,"./credentials/web_identity_credentials":349,"./event-stream/buffered-create-event-stream":357,"./http/xhr":365,"./realclock/browserClock":384,"./util":417,"./xml/browser_parser":418,_process:431,"buffer/":426,"querystring/":438,"url/":440}],339:[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":342}],340:[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":342,"./credentials":343,"./credentials/credential_provider_chain":346}],341:[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":342,_process:431}],342:[function(e,t,r){var i={util:e("./util")};({}).toString(),t.exports=i,i.util.update(i,{VERSION:"2.939.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":449,"./api_loader":331,"./config":340,"./event_listeners":363,"./http":364,"./json/builder":366,"./json/parser":367,"./model/api":368,"./model/operation":370,"./model/paginator":371,"./model/resource_waiter":372,"./model/shape":373,"./param_validator":374,"./protocol/json":377,"./protocol/query":378,"./protocol/rest":379,"./protocol/rest_json":380,"./protocol/rest_xml":381,"./request":387,"./resource_waiter":388,"./response":389,"./sequential_executor":391,"./service":392,"./signers/request_signer":409,"./util":417,"./xml/builder":419}],343:[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":342}],344:[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":326,"../core":342}],345:[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":258,"../../clients/sts":326,"../core":342}],346:[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":342}],347:[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":326,"../core":342}],348:[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":326,"../core":342}],349:[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":326,"../core":342}],350:[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});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/":426}],334:[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":333}],335:[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":333,"buffer/":426}],336:[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":333,"buffer/":426}],337:[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":333,"buffer/":426}],338:[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":332,"./core":342,"./credentials":343,"./credentials/chainable_temporary_credentials":344,"./credentials/cognito_identity_credentials":345,"./credentials/credential_provider_chain":346,"./credentials/saml_credentials":347,"./credentials/temporary_credentials":348,"./credentials/web_identity_credentials":349,"./event-stream/buffered-create-event-stream":357,"./http/xhr":365,"./realclock/browserClock":384,"./util":417,"./xml/browser_parser":418,_process:431,"buffer/":426,"querystring/":438,"url/":440}],339:[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":342}],340:[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":342,"./credentials":343,"./credentials/credential_provider_chain":346}],341:[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":342,_process:431}],342:[function(e,t,r){var i={util:e("./util")};({}).toString(),t.exports=i,i.util.update(i,{VERSION:"2.940.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":449,"./api_loader":331,"./config":340,"./event_listeners":363,"./http":364,"./json/builder":366,"./json/parser":367,"./model/api":368,"./model/operation":370,"./model/paginator":371,"./model/resource_waiter":372,"./model/shape":373,"./param_validator":374,"./protocol/json":377,"./protocol/query":378,"./protocol/rest":379,"./protocol/rest_json":380,"./protocol/rest_xml":381,"./request":387,"./resource_waiter":388,"./response":389,"./sequential_executor":391,"./service":392,"./signers/request_signer":409,"./util":417,"./xml/builder":419}],343:[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":342}],344:[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":326,"../core":342}],345:[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":258,"../../clients/sts":326,"../core":342}],346:[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":342}],347:[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":326,"../core":342}],348:[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":326,"../core":342}],349:[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":326,"../core":342}],350:[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":342}],360:[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":342,"./discover_endpoint":350,"./protocol/json":377,"./protocol/query":378,"./protocol/rest":379,"./protocol/rest_json":380,"./protocol/rest_xml":381,"./sequential_executor":391,util:443}],364:[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":342}],365:[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":417,"./collection":369}],374:[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":342,"../util":417}],377:[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":366,"../json/parser":367,"../util":417,"./helpers":376}],378:[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":342,"../util":417,"./rest":379}],382:[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":417}],383:[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":342}],384:[function(e,t,r){t.exports={now:function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}}},{}],385:[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":342,"./state_machine":416,_process:431,jmespath:430}],388:[function(e,t,r){function i(e){var t=e.request._waiter,r=t.config.acceptors,i=!1,a="retry";r.forEach(function(r){if(!i){var s=t.matchers[r.matcher];s&&s(e,r.expected,r.argument)&&(i=!0,a=r.state)}}),!i&&e.error&&(a="failure"),"success"===a?t.setSuccess(e):t.setError(e,"retry"===a)}var a=e("./core"),s=a.util.inherit,o=e("jmespath");a.ResourceWaiter=s({constructor:function(e,t){this.service=e,this.state=t,this.loadWaiterConfig(this.state)},service:null,state:null,config:null,matchers:{path:function(e,t,r){try{var i=o.search(e.data,r)}catch(e){return!1}return o.strictDeepEqual(i,t)},pathAll:function(e,t,r){try{var i=o.search(e.data,r)}catch(e){return!1}Array.isArray(i)||(i=[i]);var a=i.length;if(!a)return!1;for(var s=0;s=1&&t.doneParts===t.numParts&&t.finishMultiPart()}))}r&&t.fillQueue.call(t)},abort:function(){var e=this;!0===e.isDoneChunking&&1===e.totalPartNumbers&&e.singlePart?e.singlePart.abort():e.cleanup(i.util.error(new Error("Request aborted by user"),{code:"RequestAbortedError",retryable:!1}))},validateBody:function(){var e=this;if(e.body=e.service.config.params.Body,"string"==typeof e.body)e.body=i.util.buffer.toBuffer(e.body);else if(!e.body)throw new Error("params.Body is required");e.sliceFn=i.util.arraySliceFn(e.body)},bindServiceObject:function(e){e=e||{};var t=this;if(t.service){var r=t.service,a=i.util.copy(r.config);a.signatureVersion=r.getSignatureVersion(),t.service=new r.constructor.__super__(a),t.service.config.params=i.util.merge(t.service.config.params||{},e),Object.defineProperty(t.service,"_originalConfig",{get:function(){return r._originalConfig},enumerable:!1,configurable:!0})}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":342}],392:[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)}),e.addNamedListener("API_CALL_ATTEMPT","success",function(){var r=p.apiAttemptEvent(e);r.Timestamp=t,r.AttemptLatency=a>=0?a:0,r.Region=o,p.emit("apiCallAttempt",[r])}),e.addNamedListener("API_CALL_ATTEMPT_RETRY","retry",function(){var s=p.attemptFailEvent(e);s.Timestamp=t,a=a||Math.round(i.util.realClock.now()-r),s.AttemptLatency=a>=0?a:0,s.Region=o,p.emit("apiCallAttempt",[s])}),e.addNamedListener("API_CALL","complete",function(){var t=p.apiCallEvent(e);if(t.AttemptCount=u,!(t.AttemptCount<=0)){t.Timestamp=n;var r=Math.round(i.util.realClock.now()-s);t.Latency=r>=0?r:0;var a=e.response;a.error&&a.error.retryable&&"number"==typeof a.retryCount&&"number"==typeof a.maxRetries&&a.retryCount>=a.maxRetries&&(t.MaxRetriesExceeded=1),p.emit("apiCall",[t])}})},setupRequestListeners:function(e){},getSigningName:function(){return this.api.signingName||this.api.endpointPrefix},getSignerClass:function(e){var t,r=null,a="";if(e){r=(e.service.api.operations||{})[e.operation]||null,a=r?r.authtype:""}return t=this.config.signatureVersion?this.config.signatureVersion:"v4"===a||"v4-unsigned-body"===a?"v4":this.api.signatureVersion,i.Signers.RequestSigner.getVersion(t)},serviceInterface:function(){switch(this.api.protocol){case"ec2":case"query":return i.EventListeners.Query;case"json":return i.EventListeners.Json;case"rest-json":return i.EventListeners.RestJson;case"rest-xml":return i.EventListeners.RestXml}if(this.api.protocol)throw new Error("Invalid service `protocol' "+this.api.protocol+" in API config")},successfulResponse:function(e){return e.httpResponse.statusCode<300},numRetries:function(){return void 0!==this.config.maxRetries?this.config.maxRetries:this.defaultRetryCount},retryDelays:function(e,t){return i.util.calculateRetryDelay(e,this.config.retryDelayOptions,t)},retryableError:function(e){return!!this.timeoutError(e)||(!!this.networkingError(e)||(!!this.expiredCredentialsError(e)||(!!this.throttledError(e)||e.statusCode>=500)))},networkingError:function(e){return"NetworkingError"===e.code},timeoutError:function(e){return"TimeoutError"===e.code},expiredCredentialsError:function(e){return"ExpiredTokenException"===e.code},clockSkewError:function(e){switch(e.code){case"RequestTimeTooSkewed":case"RequestExpired":case"InvalidSignatureException":case"SignatureDoesNotMatch":case"AuthFailure":case"RequestInTheFuture":return!0;default:return!1}},getSkewCorrectedDate:function(){return new Date(Date.now()+this.config.systemClockOffset)},applyClockOffset:function(e){e&&(this.config.systemClockOffset=e-Date.now())},isClockSkewed:function(e){if(e)return Math.abs(this.getSkewCorrectedDate().getTime()-e)>=3e5},throttledError:function(e){if(429===e.statusCode)return!0;switch(e.code){case"ProvisionedThroughputExceededException":case"Throttling":case"ThrottlingException":case"RequestLimitExceeded":case"RequestThrottled":case"RequestThrottledException":case"TooManyRequestsException":case"TransactionInProgressException":case"EC2ThrottledException":return!0;default:return!1}},endpointFromTemplate:function(e){if("string"!=typeof e)return e;var t=e;return t=t.replace(/\{service\}/g,this.api.endpointPrefix),t=t.replace(/\{region\}/g,this.config.region),t=t.replace(/\{scheme\}/g,this.config.sslEnabled?"https":"http")},setEndpoint:function(e){this.endpoint=new i.Endpoint(e,this.config)},paginationConfig:function(e,t){var r=this.api.operations[e].paginator;if(!r){if(t){var a=new Error;throw i.util.error(a,"No pagination configuration for "+e)}return null}return r}}),i.util.update(i.Service,{defineMethods:function(e){i.util.each(e.prototype.api.operations,function(t){if(!e.prototype[t]){"none"===e.prototype.api.operations[t].authtype?e.prototype[t]=function(e,r){return this.makeUnauthenticatedRequest(t,e,r)}:e.prototype[t]=function(e,r){return this.makeRequest(t,e,r)}}})},defineService:function(e,t,r){i.Service._serviceMap[e]=!0,Array.isArray(t)||(r=t,t=[]);var a=o(i.Service,r||{});if("string"==typeof e){i.Service.addVersions(a,t);var s=a.serviceIdentifier||e;a.serviceIdentifier=s}else a.prototype.api=e,i.Service.defineMethods(a);if(i.SequentialExecutor.call(this.prototype),!this.prototype.publisher&&i.util.clientSideMonitoring){var n=i.util.clientSideMonitoring.Publisher,u=i.util.clientSideMonitoring.configProvider,p=u();this.prototype.publisher=new n(p),p.enabled&&(i.Service._clientSideMonitoring=!0)}return i.SequentialExecutor.call(a.prototype),i.Service.addDefaultMonitoringListeners(a.prototype),a},addVersions:function(e,t){Array.isArray(t)||(t=[t]),e.services=e.services||{};for(var r=0;r=0){throw i.util.error(new Error,{name:"InvalidEndpoint",message:"AWS.IotData requires an explicit `endpoint' configuration option."})}},setupRequestListeners:function(e){e.addListener("validateResponse",this.validateResponseBody),a.indexOf(e.operation)>-1&&e.addListener("extractData",i.util.convertPayloadToString)},validateResponseBody:function(e){var t=e.httpResponse.body.toString()||"{}",r=t.trim();r&&"{"===r.charAt(0)||(e.httpResponse.body="")}})},{"../core":342}],398:[function(e,t,r){var i=e("../core");i.util.update(i.Lambda.prototype,{setupRequestListeners:function(e){"invoke"===e.operation&&e.addListener("extractData",i.util.convertPayloadToString)}})},{"../core":342}],399:[function(e,t,r){var i=e("../core");i.util.update(i.MachineLearning.prototype,{setupRequestListeners:function(e){"predict"===e.operation&&e.addListener("build",this.buildEndpoint)},buildEndpoint:function(e){var t=e.params.PredictEndpoint;t&&(e.httpRequest.endpoint=new i.Endpoint(t))}})},{"../core":342}],400:[function(e,t,r){e("../polly/presigner")},{"../polly/presigner":375}],401:[function(e,t,r){var i=e("../core"),a=e("./rdsutil");e("../rds/signer");var s=["copyDBSnapshot","createDBInstanceReadReplica","createDBCluster","copyDBClusterSnapshot","startDBInstanceAutomatedBackupsReplication"];i.util.update(i.RDS.prototype,{setupRequestListeners:function(e){a.setupRequestListeners(this,e,s)}})},{"../core":342,"../rds/signer":383,"./rdsutil":402}],402:[function(e,t,r){var i=e("../core"),a={setupRequestListeners:function(e,t,r){if(-1!==r.indexOf(t.operation)&&t.params.SourceRegion)if(t.params=i.util.copy(t.params),t.params.PreSignedUrl||t.params.SourceRegion===e.config.region)delete t.params.SourceRegion;else{var s=!!e.config.paramValidation;s&&t.removeListener("validate",i.EventListeners.Core.VALIDATE_PARAMETERS),t.onAsync("validate",a.buildCrossRegionPresignedUrl),s&&t.addListener("validate",i.EventListeners.Core.VALIDATE_PARAMETERS)}},buildCrossRegionPresignedUrl:function(e,t){var r=i.util.copy(e.service.config);r.region=e.params.SourceRegion,delete e.params.SourceRegion,delete r.endpoint,delete r.params,r.signatureVersion="v4";var a=e.service.config.region,s=new e.service.constructor(r),o=s[e.operation](i.util.copy(e.params));o.on("build",function(e){var t=e.httpRequest;t.params.DestinationRegion=a,t.body=i.util.queryParamsToString(t.params)}),o.presign(function(r,i){r?t(r):(e.params.PreSignedUrl=i,t())})}};t.exports=a},{"../core":342}],403:[function(e,t,r){var i=e("../core");i.util.update(i.Route53.prototype,{setupRequestListeners:function(e){e.on("build",this.sanitizeUrl)},sanitizeUrl:function(e){var t=e.httpRequest.path;e.httpRequest.path=t.replace(/\/%2F\w+%2F/,"/")},retryableError:function(e){return"PriorRequestNotComplete"===e.code&&400===e.statusCode||i.Service.prototype.retryableError.call(this,e)}})},{"../core":342}],404:[function(e,t,r){var i=e("../core"),a=e("../signers/v4_credentials"),s=e("../config_regional_endpoint"),o=e("./s3util"),n=e("../region_config");e("../s3/managed_upload");var u={completeMultipartUpload:!0,copyObject:!0,uploadPartCopy:!0},p=["AuthorizationHeaderMalformed","BadRequest","PermanentRedirect",301];i.util.update(i.S3.prototype,{getSignatureVersion:function(e){var t=this.api.signatureVersion,r=this._originalConfig?this._originalConfig.signatureVersion:null,i=this.config.signatureVersion,a=!!e&&e.isPresigned();return r?r="v2"===r?"s3":r:(!0!==a?t="v4":i&&(t=i),t)},getSigningName:function(e){if(e&&"writeGetObjectResponse"===e.operation)return"s3-object-lambda";var t=i.Service.prototype.getSigningName;return e&&e._parsedArn&&e._parsedArn.service?e._parsedArn.service:t.call(this)},getSignerClass:function(e){var t=this.getSignatureVersion(e);return i.Signers.RequestSigner.getVersion(t)},validateService:function(){var e,t=[];if(this.config.region||(this.config.region="us-east-1"),!this.config.endpoint&&this.config.s3BucketEndpoint&&t.push("An endpoint must be provided when configuring `s3BucketEndpoint` to true."),1===t.length?e=t[0]:t.length>1&&(e="Multiple configuration errors:\n"+t.join("\n")),e)throw i.util.error(new Error,{name:"InvalidEndpoint",message:e})},shouldDisableBodySigning:function(e){var t=this.getSignerClass();return!0===this.config.s3DisableBodySigning&&t===i.Signers.V4&&"https:"===e.httpRequest.endpoint.protocol},setupRequestListeners:function(e){if(e.addListener("validate",this.validateScheme),e.addListener("validate",this.validateBucketName,!0),e.addListener("validate",this.optInUsEast1RegionalEndpoint,!0),e.removeListener("validate",i.EventListeners.Core.VALIDATE_REGION),e.addListener("build",this.addContentType),e.addListener("build",this.computeContentMd5),e.addListener("build",this.computeSseCustomerKeyMd5),e.addListener("build",this.populateURI),e.addListener("afterBuild",this.addExpect100Continue),e.addListener("extractError",this.extractError),e.addListener("extractData",i.util.hoistPayloadMember),e.addListener("extractData",this.extractData),e.addListener("extractData",this.extractErrorFrom200Response),e.addListener("beforePresign",this.prepareSignedUrl),this.shouldDisableBodySigning(e)&&(e.removeListener("afterBuild",i.EventListeners.Core.COMPUTE_SHA256),e.addListener("afterBuild",this.disableBodySigning)), diff --git a/lib/core.js b/lib/core.js index 2fd25f10d9..96c76f67ad 100644 --- a/lib/core.js +++ b/lib/core.js @@ -20,7 +20,7 @@ AWS.util.update(AWS, { /** * @constant */ - VERSION: '2.939.0', + VERSION: '2.940.0', /** * @api private diff --git a/package.json b/package.json index 95fb4748db..c7f36db689 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "aws-sdk", "description": "AWS SDK for JavaScript", - "version": "2.939.0", + "version": "2.940.0", "author": { "name": "Amazon Web Services", "email": "",