From 7a4205c6e120ac3495ed48e37499711b5b9f8533 Mon Sep 17 00:00:00 2001 From: awstools Date: Wed, 22 Mar 2023 18:22:01 +0000 Subject: [PATCH] Updates SDK to v2.1341.0 --- .changes/2.1341.0.json | 22 ++ CHANGELOG.md | 8 +- README.md | 2 +- apis/iam-2010-05-08.normal.json | 4 +- apis/iottwinmaker-2021-11-29.min.json | 79 +++--- apis/iottwinmaker-2021-11-29.normal.json | 88 +++++-- apis/networkmanager-2019-07-05.normal.json | 2 +- apis/pipes-2015-10-07.normal.json | 14 +- apis/resiliencehub-2020-04-30.min.json | 130 ++++++---- apis/resiliencehub-2020-04-30.normal.json | 245 ++++++++++++------ apis/ssm-2014-11-06.normal.json | 10 +- clients/iam.d.ts | 8 +- clients/iottwinmaker.d.ts | 57 +++-- clients/networkmanager.d.ts | 2 +- clients/resiliencehub.d.ts | 275 +++++++++++++-------- clients/ssm.d.ts | 8 +- dist/aws-sdk-core-react-native.js | 2 +- dist/aws-sdk-react-native.js | 6 +- dist/aws-sdk.js | 6 +- dist/aws-sdk.min.js | 4 +- lib/core.js | 2 +- package.json | 2 +- 22 files changed, 646 insertions(+), 330 deletions(-) create mode 100644 .changes/2.1341.0.json diff --git a/.changes/2.1341.0.json b/.changes/2.1341.0.json new file mode 100644 index 0000000000..9437493d0a --- /dev/null +++ b/.changes/2.1341.0.json @@ -0,0 +1,22 @@ +[ + { + "type": "feature", + "category": "IoTTwinMaker", + "description": "This release adds support of adding metadata when creating a new scene or updating an existing scene." + }, + { + "type": "feature", + "category": "Pipes", + "description": "This release improves validation on the ARNs in the API model" + }, + { + "type": "feature", + "category": "Resiliencehub", + "description": "This release provides customers with the ability to import resources from within an EKS cluster and assess the resiliency of EKS cluster workloads." + }, + { + "type": "feature", + "category": "SSM", + "description": "This Patch Manager release supports creating, updating, and deleting Patch Baselines for AmazonLinux2023, AlmaLinux." + } +] \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index b53a6db253..69731dfb2d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,13 @@ # Changelog for AWS SDK for JavaScript - + +## 2.1341.0 +* feature: IoTTwinMaker: This release adds support of adding metadata when creating a new scene or updating an existing scene. +* feature: Pipes: This release improves validation on the ARNs in the API model +* feature: Resiliencehub: This release provides customers with the ability to import resources from within an EKS cluster and assess the resiliency of EKS cluster workloads. +* feature: SSM: This Patch Manager release supports creating, updating, and deleting Patch Baselines for AmazonLinux2023, AlmaLinux. + ## 2.1340.0 * feature: ChimeSDKMessaging: Amazon Chime SDK messaging customers can now manage streaming configuration for messaging data for archival and analysis. * feature: CleanRooms: GA Release of AWS Clean Rooms, Added Tagging Functionality diff --git a/README.md b/README.md index 3b0af057dd..05e477c9ec 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ require('aws-sdk/lib/maintenance_mode_message').suppress = true; To use the SDK in the browser, simply add the following script tag to your HTML pages: - + You can also build a custom browser SDK with your specified set of AWS services. This can allow you to reduce the SDK's size, specify different API versions of diff --git a/apis/iam-2010-05-08.normal.json b/apis/iam-2010-05-08.normal.json index 4ab4a409f1..b4160722ac 100644 --- a/apis/iam-2010-05-08.normal.json +++ b/apis/iam-2010-05-08.normal.json @@ -949,7 +949,7 @@ "shape": "ServiceFailureException" } ], - "documentation": "

Deletes the permissions boundary for the specified IAM role.

Deleting the permissions boundary for a role might increase its permissions. For example, it might allow anyone who assumes the role to perform all the actions granted in its permissions policies.

" + "documentation": "

Deletes the permissions boundary for the specified IAM role.

You cannot set the boundary for a service-linked role.

Deleting the permissions boundary for a role might increase its permissions. For example, it might allow anyone who assumes the role to perform all the actions granted in its permissions policies.

" }, "DeleteRolePolicy": { "name": "DeleteRolePolicy", @@ -2766,7 +2766,7 @@ "shape": "ServiceFailureException" } ], - "documentation": "

Adds or updates the policy that is specified as the IAM role's permissions boundary. You can use an Amazon Web Services managed policy or a customer managed policy to set the boundary for a role. Use the boundary to control the maximum permissions that the role can have. Setting a permissions boundary is an advanced feature that can affect the permissions for the role.

You cannot set the boundary for a service-linked role.

Policies used as permissions boundaries do not provide permissions. You must also attach a permissions policy to the role. To learn how the effective permissions for a role are evaluated, see IAM JSON policy evaluation logic in the IAM User Guide.

" + "documentation": "

Adds or updates the policy that is specified as the IAM role's permissions boundary. You can use an Amazon Web Services managed policy or a customer managed policy to set the boundary for a role. Use the boundary to control the maximum permissions that the role can have. Setting a permissions boundary is an advanced feature that can affect the permissions for the role.

You cannot set the boundary for a service-linked role.

Policies used as permissions boundaries do not provide permissions. You must also attach a permissions policy to the role. To learn how the effective permissions for a role are evaluated, see IAM JSON policy evaluation logic in the IAM User Guide.

" }, "PutRolePolicy": { "name": "PutRolePolicy", diff --git a/apis/iottwinmaker-2021-11-29.min.json b/apis/iottwinmaker-2021-11-29.min.json index 26154bfadb..aa2710c697 100644 --- a/apis/iottwinmaker-2021-11-29.min.json +++ b/apis/iottwinmaker-2021-11-29.min.json @@ -226,6 +226,9 @@ }, "tags": { "shape": "S1b" + }, + "sceneMetadata": { + "shape": "S22" } } }, @@ -603,7 +606,7 @@ "type": "map", "key": {}, "value": { - "shape": "S31" + "shape": "S33" } }, "extendsFrom": { @@ -642,7 +645,7 @@ "type": "boolean" }, "status": { - "shape": "S34" + "shape": "S36" }, "propertyGroups": { "type": "map", @@ -714,7 +717,7 @@ "entityName": {}, "arn": {}, "status": { - "shape": "S34" + "shape": "S36" }, "workspaceId": {}, "description": {}, @@ -728,7 +731,7 @@ "description": {}, "componentTypeId": {}, "status": { - "shape": "S34" + "shape": "S36" }, "definedIn": {}, "properties": { @@ -738,7 +741,7 @@ "type": "structure", "members": { "definition": { - "shape": "S31" + "shape": "S33" }, "value": { "shape": "Sd" @@ -805,10 +808,10 @@ ], "members": { "currentPricingPlan": { - "shape": "S3k" + "shape": "S3m" }, "pendingPricingPlan": { - "shape": "S3k" + "shape": "S3m" } } }, @@ -832,7 +835,7 @@ "componentTypeId": {}, "entityId": {}, "selectedProperties": { - "shape": "S3s" + "shape": "S3u" }, "workspaceId": { "location": "uri", @@ -860,7 +863,7 @@ } }, "propertyFilters": { - "shape": "S3y" + "shape": "S40" } } } @@ -927,10 +930,10 @@ "componentName": {}, "componentTypeId": {}, "selectedProperties": { - "shape": "S3s" + "shape": "S3u" }, "propertyFilters": { - "shape": "S3y" + "shape": "S40" }, "startDateTime": { "deprecated": true, @@ -1040,6 +1043,14 @@ "description": {}, "capabilities": { "shape": "S20" + }, + "sceneMetadata": { + "shape": "S22" + }, + "generatedSceneMetadata": { + "type": "map", + "key": {}, + "value": {} } } }, @@ -1086,7 +1097,7 @@ "syncSource": {}, "syncRole": {}, "status": { - "shape": "S4j" + "shape": "S4m" }, "creationDateTime": { "type": "timestamp" @@ -1210,7 +1221,7 @@ }, "description": {}, "status": { - "shape": "S34" + "shape": "S36" }, "componentTypeName": {} } @@ -1280,7 +1291,7 @@ "arn": {}, "parentEntityId": {}, "status": { - "shape": "S34" + "shape": "S36" }, "description": {}, "hasChildEntities": { @@ -1391,7 +1402,7 @@ "workspaceId": {}, "syncSource": {}, "status": { - "shape": "S4j" + "shape": "S4m" }, "creationDateTime": { "type": "timestamp" @@ -1464,7 +1475,7 @@ "members": { "state": {}, "error": { - "shape": "S35" + "shape": "S37" } } }, @@ -1760,7 +1771,7 @@ "members": { "pricingMode": {}, "bundleNames": { - "shape": "S3m" + "shape": "S3o" } } }, @@ -1771,10 +1782,10 @@ ], "members": { "currentPricingPlan": { - "shape": "S3k" + "shape": "S3m" }, "pendingPricingPlan": { - "shape": "S3k" + "shape": "S3m" } } }, @@ -1807,6 +1818,9 @@ "description": {}, "capabilities": { "shape": "S20" + }, + "sceneMetadata": { + "shape": "S22" } } }, @@ -2113,7 +2127,12 @@ "type": "list", "member": {} }, - "S31": { + "S22": { + "type": "map", + "key": {}, + "value": {} + }, + "S33": { "type": "structure", "required": [ "dataType", @@ -2159,23 +2178,23 @@ "displayName": {} } }, - "S34": { + "S36": { "type": "structure", "members": { "state": {}, "error": { - "shape": "S35" + "shape": "S37" } } }, - "S35": { + "S37": { "type": "structure", "members": { "code": {}, "message": {} } }, - "S3k": { + "S3m": { "type": "structure", "required": [ "effectiveDateTime", @@ -2194,7 +2213,7 @@ ], "members": { "bundleNames": { - "shape": "S3m" + "shape": "S3o" }, "pricingTier": {} } @@ -2209,15 +2228,15 @@ "updateReason": {} } }, - "S3m": { + "S3o": { "type": "list", "member": {} }, - "S3s": { + "S3u": { "type": "list", "member": {} }, - "S3y": { + "S40": { "type": "list", "member": { "type": "structure", @@ -2230,12 +2249,12 @@ } } }, - "S4j": { + "S4m": { "type": "structure", "members": { "state": {}, "error": { - "shape": "S35" + "shape": "S37" } } } diff --git a/apis/iottwinmaker-2021-11-29.normal.json b/apis/iottwinmaker-2021-11-29.normal.json index 03032402fb..e952b93fe2 100644 --- a/apis/iottwinmaker-2021-11-29.normal.json +++ b/apis/iottwinmaker-2021-11-29.normal.json @@ -1293,7 +1293,7 @@ "documentation": "

The pricing tier.

" } }, - "documentation": "

Information about pricing bundle.

" + "documentation": "

Information about the pricing bundle.

" }, "BundleName": { "type": "string", @@ -1349,7 +1349,7 @@ "documentation": "

The update type.

" } }, - "documentation": "

" + "documentation": "

The component property group request.

" }, "ComponentPropertyGroupRequests": { "type": "map", @@ -1754,6 +1754,10 @@ "tags": { "shape": "TagMap", "documentation": "

Metadata that you can use to manage the scene.

" + }, + "sceneMetadata": { + "shape": "SceneMetadataMap", + "documentation": "

The request metadata.

" } } }, @@ -1784,19 +1788,19 @@ "members": { "workspaceId": { "shape": "Id", - "documentation": "

The workspace Id.

", + "documentation": "

The workspace ID.

", "location": "uri", "locationName": "workspaceId" }, "syncSource": { "shape": "SyncSource", - "documentation": "

The sync source.

Currently the only supported syncSoucre is SITEWISE .

", + "documentation": "

The sync source.

Currently the only supported syncSoource is SITEWISE .

", "location": "uri", "locationName": "syncSource" }, "syncRole": { "shape": "RoleArn", - "documentation": "

The SyncJob IAM role. This IAM role is used by the sync job to read from the syncSource, and create, update or delete the corresponding resources.

" + "documentation": "

The SyncJob IAM role. This IAM role is used by the SyncJob to read from the syncSource, and create, update, or delete the corresponding resources.

" }, "tags": { "shape": "TagMap", @@ -2085,13 +2089,13 @@ "members": { "workspaceId": { "shape": "Id", - "documentation": "

The workspace Id.

", + "documentation": "

The workspace ID.

", "location": "uri", "locationName": "workspaceId" }, "syncSource": { "shape": "SyncSource", - "documentation": "

The sync source.

Currently the only supported syncSoucre is SITEWISE .

", + "documentation": "

The sync source.

Currently the only supported syncSource is SITEWISE .

", "location": "uri", "locationName": "syncSource" } @@ -2404,6 +2408,17 @@ "shape": "FunctionResponse" } }, + "GeneratedSceneMetadataMap": { + "type": "map", + "key": { + "shape": "Name" + }, + "value": { + "shape": "SceneMetadataValue" + }, + "max": 50, + "min": 0 + }, "GetComponentTypeRequest": { "type": "structure", "required": [ @@ -2493,7 +2508,7 @@ }, "syncSource": { "shape": "SyncSource", - "documentation": "

The syncSource of the sync job, if this entity was created by a sync job.

" + "documentation": "

The syncSource of the SyncJob, if this entity was created by a SyncJob.

" }, "componentTypeName": { "shape": "ComponentTypeName", @@ -2820,6 +2835,14 @@ "capabilities": { "shape": "SceneCapabilities", "documentation": "

A list of capabilities that the scene uses to render.

" + }, + "sceneMetadata": { + "shape": "SceneMetadataMap", + "documentation": "

The response metadata.

" + }, + "generatedSceneMetadata": { + "shape": "GeneratedSceneMetadataMap", + "documentation": "

The generated scene metadata.

" } } }, @@ -2831,13 +2854,13 @@ "members": { "syncSource": { "shape": "SyncSource", - "documentation": "

The sync soucre.

Currently the only supported syncSoucre is SITEWISE .

", + "documentation": "

The sync source.

Currently the only supported syncSource is SITEWISE .

", "location": "uri", "locationName": "syncSource" }, "workspaceId": { "shape": "Id", - "documentation": "

The workspace Id.

", + "documentation": "

The workspace ID.

", "location": "querystring", "locationName": "workspace" } @@ -2865,7 +2888,7 @@ }, "syncSource": { "shape": "SyncSource", - "documentation": "

The sync soucre.

Currently the only supported syncSoucre is SITEWISE .

" + "documentation": "

The sync soucre.

Currently the only supported syncSource is SITEWISE .

" }, "syncRole": { "shape": "RoleArn", @@ -3230,13 +3253,13 @@ }, "syncSource": { "shape": "SyncSource", - "documentation": "

The sync soucre.

Currently the only supported syncSoucre is SITEWISE .

", + "documentation": "

The sync source.

Currently the only supported syncSource is SITEWISE .

", "location": "uri", "locationName": "syncSource" }, "filters": { "shape": "SyncResourceFilters", - "documentation": "

A list of objects that filter the request.

" + "documentation": "

A list of objects that filter the request.

The following filter combinations are supported:

" }, "maxResults": { "shape": "MaxResults", @@ -3458,7 +3481,7 @@ }, "updateReason": { "shape": "UpdateReason", - "documentation": "

The update reason, for changing a pricing plan.

" + "documentation": "

The update reason for changing a pricing plan.

" } }, "documentation": "

The pricing plan.

" @@ -3691,7 +3714,7 @@ "members": { "propertyReference": { "shape": "EntityPropertyReference", - "documentation": "

An object that specifies information about a property.>

" + "documentation": "

An object that specifies information about a property.

" }, "propertyValue": { "shape": "DataValue", @@ -3958,6 +3981,23 @@ "min": 0, "pattern": ".*" }, + "SceneMetadataMap": { + "type": "map", + "key": { + "shape": "Name" + }, + "value": { + "shape": "SceneMetadataValue" + }, + "max": 50, + "min": 0 + }, + "SceneMetadataValue": { + "type": "string", + "max": 2048, + "min": 0, + "pattern": ".*" + }, "SceneSummaries": { "type": "list", "member": { @@ -4115,15 +4155,15 @@ }, "resourceType": { "shape": "SyncResourceType", - "documentation": "

The sync resource filter resoucre type

" + "documentation": "

The sync resource filter resource type

" }, "resourceId": { "shape": "Id", - "documentation": "

The sync resource filter resource Id.

" + "documentation": "

The sync resource filter resource ID.

" }, "externalId": { "shape": "Id", - "documentation": "

The external Id.

" + "documentation": "

The external ID.

" } }, "documentation": "

The sync resource filter.

", @@ -4174,11 +4214,11 @@ }, "externalId": { "shape": "Id", - "documentation": "

The external Id.

" + "documentation": "

The external ID.

" }, "resourceId": { "shape": "Id", - "documentation": "

The resource Id.

" + "documentation": "

The resource ID.

" }, "status": { "shape": "SyncResourceStatus", @@ -4375,7 +4415,7 @@ }, "propertyGroups": { "shape": "PropertyGroupsRequest", - "documentation": "

The property groups

" + "documentation": "

The property groups.

" }, "componentTypeName": { "shape": "ComponentTypeName", @@ -4536,6 +4576,10 @@ "capabilities": { "shape": "SceneCapabilities", "documentation": "

A list of capabilities that the scene uses to render.

" + }, + "sceneMetadata": { + "shape": "SceneMetadataMap", + "documentation": "

The scene metadata.

" } } }, @@ -4634,5 +4678,5 @@ "documentation": "

An object that contains information about a workspace.

" } }, - "documentation": "

IoT TwinMaker is a service that enables you to build operational digital twins of physical systems. IoT TwinMaker overlays measurements and analysis from real-world sensors, cameras, and enterprise applications so you can create data visualizations to monitor your physical factory, building, or industrial plant. You can use this real-world data to monitor operations and diagnose and repair errors.

" + "documentation": "

IoT TwinMaker is a service with which you can build operational digital twins of physical systems. IoT TwinMaker overlays measurements and analysis from real-world sensors, cameras, and enterprise applications so you can create data visualizations to monitor your physical factory, building, or industrial plant. You can use this real-world data to monitor operations and diagnose and repair errors.

" } \ No newline at end of file diff --git a/apis/networkmanager-2019-07-05.normal.json b/apis/networkmanager-2019-07-05.normal.json index b5dd8978b1..56355a0a20 100644 --- a/apis/networkmanager-2019-07-05.normal.json +++ b/apis/networkmanager-2019-07-05.normal.json @@ -4386,7 +4386,7 @@ }, "TransitGatewayRouteTableArn": { "shape": "TransitGatewayRouteTableArn", - "documentation": "

The ARN of the transit gateway route table for the attachment request.

" + "documentation": "

The ARN of the transit gateway route table for the attachment request. For example, \"TransitGatewayRouteTableArn\": \"arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456\".

" }, "Tags": { "shape": "TagList", diff --git a/apis/pipes-2015-10-07.normal.json b/apis/pipes-2015-10-07.normal.json index 7b13d40450..54233578a0 100644 --- a/apis/pipes-2015-10-07.normal.json +++ b/apis/pipes-2015-10-07.normal.json @@ -319,19 +319,19 @@ "type": "string", "max": 1600, "min": 1, - "pattern": "^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)$" + "pattern": "^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)$" }, "ArnOrJsonPath": { "type": "string", "max": 1600, "min": 1, - "pattern": "^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$" + "pattern": "^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$" }, "ArnOrUrl": { "type": "string", "max": 1600, "min": 1, - "pattern": "^smk://(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9]):[0-9]{1,5}|arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)$" + "pattern": "^smk://(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9]):[0-9]{1,5}|arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)$" }, "AssignPublicIp": { "type": "string", @@ -1342,7 +1342,7 @@ "type": "string", "max": 1600, "min": 0, - "pattern": "^$|arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.*)$" + "pattern": "^$|arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\-]+):([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1})?:(\\d{12})?:(.+)$" }, "PathParameter": { "type": "string", @@ -1407,7 +1407,7 @@ "type": "string", "max": 1600, "min": 1, - "pattern": "^arn:aws([a-z]|\\-)*:([a-zA-Z0-9\\-]+):([a-z]|\\d|\\-)*:([0-9]{12})?:(.*)$" + "pattern": "^arn:aws([a-z]|\\-)*:([a-zA-Z0-9\\-]+):([a-z]|\\d|\\-)*:([0-9]{12})?:(.+)$" }, "PipeDescription": { "type": "string", @@ -2246,14 +2246,14 @@ "documentation": "

// Optional SecretManager ARN which stores the database credentials

", "max": 1600, "min": 1, - "pattern": "^(^arn:aws([a-z]|\\-)*:secretsmanager:[a-z0-9-.]+:.*)$" + "pattern": "^(^arn:aws([a-z]|\\-)*:secretsmanager:([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}):(\\d{12}):secret:.+)$" }, "SecretManagerArnOrJsonPath": { "type": "string", "documentation": "

// For targets, can either specify an ARN or a jsonpath pointing to the ARN.

", "max": 1600, "min": 1, - "pattern": "^(^arn:aws([a-z]|\\-)*:secretsmanager:[a-z0-9-.]+:.*)|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$" + "pattern": "^(^arn:aws([a-z]|\\-)*:secretsmanager:([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}):(\\d{12}):secret:.+)|(\\$(\\.[\\w/_-]+(\\[(\\d+|\\*)\\])*)*)$" }, "SecurityGroup": { "type": "string", diff --git a/apis/resiliencehub-2020-04-30.min.json b/apis/resiliencehub-2020-04-30.min.json index 40780c1daf..3582db271b 100644 --- a/apis/resiliencehub-2020-04-30.min.json +++ b/apis/resiliencehub-2020-04-30.min.json @@ -325,9 +325,12 @@ "clientToken": { "idempotencyToken": true }, + "eksSourceClusterNamespace": { + "shape": "S1x" + }, "sourceArn": {}, "terraformSource": { - "shape": "S1x" + "shape": "S1z" } } }, @@ -336,7 +339,7 @@ "members": { "appArn": {}, "appInputSource": { - "shape": "S20" + "shape": "S22" } } } @@ -517,7 +520,7 @@ ], "members": { "assessment": { - "shape": "S2e" + "shape": "S2g" } } } @@ -759,12 +762,15 @@ ], "members": { "appArn": {}, + "eksSources": { + "shape": "S3c" + }, "importStrategy": {}, "sourceArns": { - "shape": "S3b" + "shape": "S3g" }, "terraformSources": { - "shape": "S3c" + "shape": "S3h" } } }, @@ -778,12 +784,15 @@ "members": { "appArn": {}, "appVersion": {}, + "eksSources": { + "shape": "S3c" + }, "sourceArns": { - "shape": "S3b" + "shape": "S3g" }, "status": {}, "terraformSources": { - "shape": "S3c" + "shape": "S3h" } } } @@ -826,7 +835,7 @@ "appComponentName": {}, "description": {}, "items": { - "shape": "S3l" + "shape": "S3q" }, "name": {}, "prerequisite": {}, @@ -909,7 +918,7 @@ "assessmentStatus": {}, "complianceStatus": {}, "cost": { - "shape": "S2i" + "shape": "S2k" }, "endTime": { "type": "timestamp" @@ -960,14 +969,14 @@ "members": { "appComponentName": {}, "compliance": { - "shape": "S2f" + "shape": "S2h" }, "cost": { - "shape": "S2i" + "shape": "S2k" }, "message": {}, "resiliencyScore": { - "shape": "S2m" + "shape": "S2o" }, "status": {} } @@ -1024,10 +1033,10 @@ "members": { "appComponentName": {}, "compliance": { - "shape": "S2f" + "shape": "S2h" }, "cost": { - "shape": "S2i" + "shape": "S2k" }, "description": {}, "haArchitecture": {}, @@ -1099,7 +1108,7 @@ "appInputSources": { "type": "list", "member": { - "shape": "S20" + "shape": "S22" } }, "nextToken": {} @@ -1408,7 +1417,7 @@ "members": { "nextToken": {}, "resiliencyPolicies": { - "shape": "S4y" + "shape": "S53" } } } @@ -1451,7 +1460,7 @@ "appComponentName": {}, "description": {}, "items": { - "shape": "S3l" + "shape": "S3q" }, "name": {}, "prerequisite": {}, @@ -1492,7 +1501,7 @@ "members": { "nextToken": {}, "resiliencyPolicies": { - "shape": "S4y" + "shape": "S53" } } } @@ -1565,7 +1574,7 @@ "description": {}, "intent": {}, "items": { - "shape": "S3l" + "shape": "S3q" }, "name": {}, "prerequisite": {}, @@ -1625,7 +1634,8 @@ "physicalResourceId": { "shape": "S8" }, - "resourceType": {} + "resourceType": {}, + "unsupportedResourceStatus": {} } } } @@ -1694,19 +1704,22 @@ "members": { "appArn": {}, "appRegistryAppNames": { - "shape": "S5p" + "shape": "S5u" + }, + "eksSourceNames": { + "shape": "S5v" }, "logicalStackNames": { - "shape": "S5q" + "shape": "S5v" }, "resourceGroupNames": { - "shape": "S5p" + "shape": "S5u" }, "resourceNames": { - "shape": "S5p" + "shape": "S5u" }, "terraformSourceNames": { - "shape": "S5q" + "shape": "S5v" } } }, @@ -1781,7 +1794,7 @@ ], "members": { "assessment": { - "shape": "S2e" + "shape": "S2g" } } } @@ -2034,6 +2047,7 @@ ], "members": { "appRegistryAppName": {}, + "eksSourceName": {}, "logicalStackName": {}, "mappingType": {}, "physicalResourceId": { @@ -2129,6 +2143,7 @@ "identifier" ], "members": { + "eksSourceName": {}, "identifier": {}, "logicalStackName": {}, "resourceGroupName": {}, @@ -2261,6 +2276,17 @@ } }, "S1x": { + "type": "structure", + "required": [ + "eksClusterArn", + "namespace" + ], + "members": { + "eksClusterArn": {}, + "namespace": {} + } + }, + "S1z": { "type": "structure", "required": [ "s3StateFileUrl" @@ -2269,12 +2295,15 @@ "s3StateFileUrl": {} } }, - "S20": { + "S22": { "type": "structure", "required": [ "importType" ], "members": { + "eksSourceClusterNamespace": { + "shape": "S1x" + }, "importType": {}, "resourceCount": { "type": "integer" @@ -2282,11 +2311,11 @@ "sourceArn": {}, "sourceName": {}, "terraformSource": { - "shape": "S1x" + "shape": "S1z" } } }, - "S2e": { + "S2g": { "type": "structure", "required": [ "assessmentArn", @@ -2300,11 +2329,11 @@ "assessmentName": {}, "assessmentStatus": {}, "compliance": { - "shape": "S2f" + "shape": "S2h" }, "complianceStatus": {}, "cost": { - "shape": "S2i" + "shape": "S2k" }, "endTime": { "type": "timestamp" @@ -2315,7 +2344,7 @@ "shape": "S1p" }, "resiliencyScore": { - "shape": "S2m" + "shape": "S2o" }, "resourceErrorsDetails": { "type": "structure", @@ -2344,7 +2373,7 @@ } } }, - "S2f": { + "S2h": { "type": "map", "key": {}, "value": { @@ -2374,7 +2403,7 @@ } } }, - "S2i": { + "S2k": { "type": "structure", "required": [ "amount", @@ -2389,7 +2418,7 @@ "frequency": {} } }, - "S2m": { + "S2o": { "type": "structure", "required": [ "disruptionScore", @@ -2408,17 +2437,34 @@ } } }, - "S3b": { + "S3c": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "eksClusterArn", + "namespaces" + ], + "members": { + "eksClusterArn": {}, + "namespaces": { + "type": "list", + "member": {} + } + } + } + }, + "S3g": { "type": "list", "member": {} }, - "S3c": { + "S3h": { "type": "list", "member": { - "shape": "S1x" + "shape": "S1z" } }, - "S3l": { + "S3q": { "type": "list", "member": { "type": "structure", @@ -2432,17 +2478,17 @@ } } }, - "S4y": { + "S53": { "type": "list", "member": { "shape": "S1p" } }, - "S5p": { + "S5u": { "type": "list", "member": {} }, - "S5q": { + "S5v": { "type": "list", "member": {} } diff --git a/apis/resiliencehub-2020-04-30.normal.json b/apis/resiliencehub-2020-04-30.normal.json index 81f3c37121..493ff85da7 100644 --- a/apis/resiliencehub-2020-04-30.normal.json +++ b/apis/resiliencehub-2020-04-30.normal.json @@ -83,7 +83,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Creates an AWS Resilience Hub application. An AWS Resilience Hub application is a collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a AWS Resilience Hub application, you provide an application name, resources from one or more–up to five–CloudFormation stacks, and an appropriate resiliency policy.

After you create an AWS Resilience Hub application, you publish it so that you can run a resiliency assessment on it. You can then use recommendations from the assessment to improve resiliency by running another assessment, comparing results, and then iterating the process until you achieve your goals for recovery time objective (RTO) and recovery point objective (RPO).

" + "documentation": "

Creates an Resilience Hub application. An Resilience Hub application is a collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a Resilience Hub application, you provide an application name, resources from one or more–up to five–CloudFormation stacks, and an appropriate resiliency policy.

After you create an Resilience Hub application, you publish it so that you can run a resiliency assessment on it. You can then use recommendations from the assessment to improve resiliency by running another assessment, comparing results, and then iterating the process until you achieve your goals for recovery time objective (RTO) and recovery point objective (RPO).

" }, "CreateAppVersionAppComponent": { "name": "CreateAppVersionAppComponent", @@ -121,7 +121,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Creates a new Application Component in the AWS Resilience Hub application.

This API updates the AWS Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion API.

" + "documentation": "

Creates a new Application Component in the Resilience Hub application.

This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the PublishAppVersion API.

" }, "CreateAppVersionResource": { "name": "CreateAppVersionResource", @@ -159,7 +159,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Adds a resource to the AWS Resilience Hub applicationand assigns it to the specified Application Components. If you specify a new Application Component, AWS Resilience Hub will automatically create the Application Component.

" + "documentation": "

Adds a resource to the Resilience Hub application and assigns it to the specified Application Components. If you specify a new Application Component, Resilience Hub will automatically create the Application Component.

" }, "CreateRecommendationTemplate": { "name": "CreateRecommendationTemplate", @@ -197,7 +197,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Creates a new recommendation template for the AWS Resilience Hub application.

" + "documentation": "

Creates a new recommendation template for the Resilience Hub application.

" }, "CreateResiliencyPolicy": { "name": "CreateResiliencyPolicy", @@ -264,7 +264,7 @@ "shape": "ValidationException" } ], - "documentation": "

Deletes an AWS Resilience Hub application. This is a destructive action that can't be undone.

" + "documentation": "

Deletes an Resilience Hub application. This is a destructive action that can't be undone.

" }, "DeleteAppAssessment": { "name": "DeleteAppAssessment", @@ -299,7 +299,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Deletes an AWS Resilience Hub application assessment. This is a destructive action that can't be undone.

" + "documentation": "

Deletes an Resilience Hub application assessment. This is a destructive action that can't be undone.

" }, "DeleteAppInputSource": { "name": "DeleteAppInputSource", @@ -334,7 +334,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Deletes the input source and all of its imported resources from the AWS Resilience Hub application.

" + "documentation": "

Deletes the input source and all of its imported resources from the Resilience Hub application.

" }, "DeleteAppVersionAppComponent": { "name": "DeleteAppVersionAppComponent", @@ -369,7 +369,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Deletes an Application Component from the AWS Resilience Hub application.

" + "documentation": "

Deletes an Application Component from the Resilience Hub application.

" }, "DeleteAppVersionResource": { "name": "DeleteAppVersionResource", @@ -404,7 +404,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Deletes a resource from the AWS Resilience Hub application.

" + "documentation": "

Deletes a resource from the Resilience Hub application.

" }, "DeleteRecommendationTemplate": { "name": "DeleteRecommendationTemplate", @@ -503,7 +503,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Describes an AWS Resilience Hub application.

" + "documentation": "

Describes an Resilience Hub application.

" }, "DescribeAppAssessment": { "name": "DescribeAppAssessment", @@ -535,7 +535,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Describes an assessment for an AWS Resilience Hub application.

" + "documentation": "

Describes an assessment for an Resilience Hub application.

" }, "DescribeAppVersion": { "name": "DescribeAppVersion", @@ -567,7 +567,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Describes the AWS Resilience Hub application version.

" + "documentation": "

Describes the Resilience Hub application version.

" }, "DescribeAppVersionAppComponent": { "name": "DescribeAppVersionAppComponent", @@ -602,7 +602,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Describes an Application Component in the AWS Resilience Hub application.

" + "documentation": "

Describes an Application Component in the Resilience Hub application.

" }, "DescribeAppVersionResource": { "name": "DescribeAppVersionResource", @@ -637,7 +637,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Describes a resource of the AWS Resilience Hub application.

This API accepts only one of the following parameters to descibe the resource:

" + "documentation": "

Describes a resource of the Resilience Hub application.

This API accepts only one of the following parameters to descibe the resource:

" }, "DescribeAppVersionResourcesResolutionStatus": { "name": "DescribeAppVersionResourcesResolutionStatus", @@ -701,7 +701,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Describes details about an AWS Resilience Hub application.

" + "documentation": "

Describes details about an Resilience Hub application.

" }, "DescribeDraftAppVersionResourcesImportStatus": { "name": "DescribeDraftAppVersionResourcesImportStatus", @@ -765,7 +765,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Describes a specified resiliency policy for an AWS Resilience Hub application. The returned policy object includes creation time, data location constraints, the Amazon Resource Name (ARN) for the policy, tags, tier, and more.

" + "documentation": "

Describes a specified resiliency policy for an Resilience Hub application. The returned policy object includes creation time, data location constraints, the Amazon Resource Name (ARN) for the policy, tags, tier, and more.

" }, "ImportResourcesToDraftAppVersion": { "name": "ImportResourcesToDraftAppVersion", @@ -800,7 +800,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Imports resources to AWS Resilience Hub application draft version from different input sources. For more information about the input sources supported by AWS Resilience Hub, see Discover the structure and describe your Resilience Hub application.

" + "documentation": "

Imports resources to Resilience Hub application draft version from different input sources. For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application.

" }, "ListAlarmRecommendations": { "name": "ListAlarmRecommendations", @@ -832,7 +832,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Lists the alarm recommendations for an AWS Resilience Hub application.

" + "documentation": "

Lists the alarm recommendations for an Resilience Hub application.

" }, "ListAppAssessments": { "name": "ListAppAssessments", @@ -864,7 +864,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Lists the assessments for an AWS Resilience Hub application. You can use request parameters to refine the results for the response object.

" + "documentation": "

Lists the assessments for an Resilience Hub application. You can use request parameters to refine the results for the response object.

" }, "ListAppComponentCompliances": { "name": "ListAppComponentCompliances", @@ -896,7 +896,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Lists the compliances for an AWS Resilience Hub Application Component.

" + "documentation": "

Lists the compliances for an Resilience Hub Application Component.

" }, "ListAppComponentRecommendations": { "name": "ListAppComponentRecommendations", @@ -928,7 +928,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Lists the recommendations for an AWS Resilience Hub Application Component.

" + "documentation": "

Lists the recommendations for an Resilience Hub Application Component.

" }, "ListAppInputSources": { "name": "ListAppInputSources", @@ -960,7 +960,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Lists all the input sources of the AWS Resilience Hub application. For more information about the input sources supported by AWS Resilience Hub, see Discover the structure and describe your Resilience Hub application.

" + "documentation": "

Lists all the input sources of the Resilience Hub application. For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application.

" }, "ListAppVersionAppComponents": { "name": "ListAppVersionAppComponents", @@ -995,7 +995,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Lists all the Application Components in the AWS Resilience Hub application.

" + "documentation": "

Lists all the Application Components in the Resilience Hub application.

" }, "ListAppVersionResourceMappings": { "name": "ListAppVersionResourceMappings", @@ -1062,7 +1062,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Lists all the resources in an AWS Resilience Hub application.

" + "documentation": "

Lists all the resources in an Resilience Hub application.

" }, "ListAppVersions": { "name": "ListAppVersions", @@ -1091,7 +1091,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Lists the different versions for the AWS Resilience Hub applications.

" + "documentation": "

Lists the different versions for the Resilience Hub applications.

" }, "ListApps": { "name": "ListApps", @@ -1120,7 +1120,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Lists your AWS Resilience Hub applications.

You can filter applications using only one filter at a time or without using any filter. If you try to filter applications using multiple filters, you will get the following error:

An error occurred (ValidationException) when calling the ListApps operation: Only one filter is supported for this operation.

" + "documentation": "

Lists your Resilience Hub applications.

You can filter applications using only one filter at a time or without using any filter. If you try to filter applications using multiple filters, you will get the following error:

An error occurred (ValidationException) when calling the ListApps operation: Only one filter is supported for this operation.

" }, "ListRecommendationTemplates": { "name": "ListRecommendationTemplates", @@ -1149,7 +1149,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Lists the recommendation templates for the AWS Resilience Hub applications.

" + "documentation": "

Lists the recommendation templates for the Resilience Hub applications.

" }, "ListResiliencyPolicies": { "name": "ListResiliencyPolicies", @@ -1181,7 +1181,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Lists the resiliency policies for the AWS Resilience Hub applications.

" + "documentation": "

Lists the resiliency policies for the Resilience Hub applications.

" }, "ListSopRecommendations": { "name": "ListSopRecommendations", @@ -1216,7 +1216,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Lists the standard operating procedure (SOP) recommendations for the AWS Resilience Hub applications.

" + "documentation": "

Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.

" }, "ListSuggestedResiliencyPolicies": { "name": "ListSuggestedResiliencyPolicies", @@ -1248,7 +1248,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Lists the suggested resiliency policies for the AWS Resilience Hub applications.

" + "documentation": "

Lists the suggested resiliency policies for the Resilience Hub applications.

" }, "ListTagsForResource": { "name": "ListTagsForResource", @@ -1280,7 +1280,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Lists the tags for your resources in your AWS Resilience Hub applications.

" + "documentation": "

Lists the tags for your resources in your Resilience Hub applications.

" }, "ListTestRecommendations": { "name": "ListTestRecommendations", @@ -1315,7 +1315,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Lists the test recommendations for the AWS Resilience Hub application.

" + "documentation": "

Lists the test recommendations for the Resilience Hub application.

" }, "ListUnsupportedAppVersionResources": { "name": "ListUnsupportedAppVersionResources", @@ -1350,7 +1350,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Lists the resources that are not currently supported in AWS Resilience Hub. An unsupported resource is a resource that exists in the object that was used to create an app, but is not supported by AWS Resilience Hub.

" + "documentation": "

Lists the resources that are not currently supported in Resilience Hub. An unsupported resource is a resource that exists in the object that was used to create an app, but is not supported by Resilience Hub.

" }, "PublishAppVersion": { "name": "PublishAppVersion", @@ -1385,7 +1385,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Publishes a new version of a specific AWS Resilience Hub application.

" + "documentation": "

Publishes a new version of a specific Resilience Hub application.

" }, "PutDraftAppVersionTemplate": { "name": "PutDraftAppVersionTemplate", @@ -1420,7 +1420,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Adds or updates the app template for an AWS Resilience Hub application draft version.

" + "documentation": "

Adds or updates the app template for an Resilience Hub application draft version.

" }, "RemoveDraftAppVersionResourceMappings": { "name": "RemoveDraftAppVersionResourceMappings", @@ -1662,7 +1662,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Updates the AWS Resilience Hub application version.

This API updates the AWS Resilience Hub application draft version. To use this information for running resiliency assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion API.

" + "documentation": "

Updates the Resilience Hub application version.

This API updates the Resilience Hub application draft version. To use this information for running resiliency assessments, you must publish the Resilience Hub application using the PublishAppVersion API.

" }, "UpdateAppVersionAppComponent": { "name": "UpdateAppVersionAppComponent", @@ -1697,7 +1697,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Updates an existing Application Component in the AWS Resilience Hub application.

This API updates the AWS Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion API.

" + "documentation": "

Updates an existing Application Component in the Resilience Hub application.

This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the PublishAppVersion API.

" }, "UpdateAppVersionResource": { "name": "UpdateAppVersionResource", @@ -1735,7 +1735,7 @@ "shape": "AccessDeniedException" } ], - "documentation": "

Updates the resource details in the AWS Resilience Hub application.

" + "documentation": "

Updates the resource details in the Resilience Hub application.

" }, "UpdateResiliencyPolicy": { "name": "UpdateResiliencyPolicy", @@ -1955,7 +1955,7 @@ "documentation": "

The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.

" } }, - "documentation": "

Defines an AWS Resilience Hub application.

" + "documentation": "

Defines an Resilience Hub application.

" }, "AppAssessment": { "type": "structure", @@ -2186,13 +2186,17 @@ "importType" ], "members": { + "eksSourceClusterNamespace": { + "shape": "EksSourceClusterNamespace", + "documentation": "

The namespace on your Amazon Elastic Kubernetes Service cluster.

" + }, "importType": { "shape": "ResourceMappingType", "documentation": "

The resource type of the input source.

" }, "resourceCount": { "shape": "Integer", - "documentation": "

The number of resources that were imported.

" + "documentation": "

The number of resources.

" }, "sourceArn": { "shape": "Arn", @@ -2207,7 +2211,7 @@ "documentation": "

The name of the Terraform s3 state file.

" } }, - "documentation": "

The list of AWS Resilience Hub application input sources.

" + "documentation": "

The list of Resilience Hub application input sources.

" }, "AppInputSourceList": { "type": "list", @@ -2275,7 +2279,7 @@ "type": "string", "max": 204800, "min": 0, - "pattern": "^[\\w\\s:,-\\.'{}\\[\\]:\"]+$" + "pattern": "^[\\w\\s:,-\\.'\\/{}\\[\\]:\"\\\\]+$" }, "AppVersionList": { "type": "list", @@ -2387,7 +2391,7 @@ "documentation": "

The recommendation status.

" } }, - "documentation": "

Defines recommendations for an AWS Resilience Hub Application Component, returned as an object. This object contains component names, configuration recommendations, and recommendation statuses.

" + "documentation": "

Defines recommendations for an Resilience Hub Application Component, returned as an object. This object contains component names, configuration recommendations, and recommendation statuses.

" }, "ComponentRecommendationList": { "type": "list", @@ -2587,7 +2591,8 @@ "documentation": "

The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

" }, "appComponent": { - "shape": "AppComponent" + "shape": "AppComponent", + "documentation": "

The list of Application Components that belong to this resource.

" }, "appVersion": { "shape": "EntityVersion", @@ -2838,13 +2843,17 @@ "documentation": "

Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.

", "idempotencyToken": true }, + "eksSourceClusterNamespace": { + "shape": "EksSourceClusterNamespace", + "documentation": "

The namespace on your Amazon Elastic Kubernetes Service cluster that you want to delete from the Resilience Hub application.

" + }, "sourceArn": { "shape": "Arn", - "documentation": "

The Amazon Resource Name (ARN) of the imported resource you want to remove from the AWS Resilience Hub application. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

" + "documentation": "

The Amazon Resource Name (ARN) of the imported resource you want to remove from the Resilience Hub application. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

" }, "terraformSource": { "shape": "TerraformSource", - "documentation": "

The imported Terraform s3 state file you want to remove from the AWS Resilience Hub application.

" + "documentation": "

The imported Terraform s3 state file you want to remove from the Resilience Hub application.

" } } }, @@ -2878,7 +2887,7 @@ }, "forceDelete": { "shape": "BooleanOptional", - "documentation": "

A boolean option to force the deletion of an AWS Resilience Hub application.

" + "documentation": "

A boolean option to force the deletion of an Resilience Hub application.

" } } }, @@ -2928,7 +2937,8 @@ "documentation": "

The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

" }, "appComponent": { - "shape": "AppComponent" + "shape": "AppComponent", + "documentation": "

The list of Application Components that belong to this resource.

" }, "appVersion": { "shape": "EntityVersion", @@ -3077,7 +3087,7 @@ "members": { "assessment": { "shape": "AppAssessment", - "documentation": "

The assessment for an AWS Resilience Hub application, returned as an object. This object includes Amazon Resource Names (ARNs), compliance information, compliance status, cost, messages, resiliency scores, and more.

" + "documentation": "

The assessment for an Resilience Hub application, returned as an object. This object includes Amazon Resource Names (ARNs), compliance information, compliance status, cost, messages, resiliency scores, and more.

" } } }, @@ -3139,7 +3149,8 @@ "documentation": "

The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

" }, "appComponent": { - "shape": "AppComponent" + "shape": "AppComponent", + "documentation": "

The list of Application Components that belong to this resource.

" }, "appVersion": { "shape": "EntityVersion", @@ -3326,7 +3337,7 @@ }, "appTemplateBody": { "shape": "AppTemplateBody", - "documentation": "

A JSON string that provides information about your application structure. To learn more about the appTemplateBody template, see the sample template provided in the Examples section.

The appTemplateBody JSON string has the following structure:

" + "documentation": "

A JSON string that provides information about your application structure. To learn more about the appTemplateBody template, see the sample template provided in the Examples section.

The appTemplateBody JSON string has the following structure:

" }, "appVersion": { "shape": "EntityVersion", @@ -3485,6 +3496,60 @@ "Double": { "type": "double" }, + "EksNamespace": { + "type": "string", + "max": 63, + "min": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + "EksNamespaceList": { + "type": "list", + "member": { + "shape": "EksNamespace" + } + }, + "EksSource": { + "type": "structure", + "required": [ + "eksClusterArn", + "namespaces" + ], + "members": { + "eksClusterArn": { + "shape": "Arn", + "documentation": "

The Amazon Resource Name (ARN) of the Amazon Elastic Kubernetes Service cluster. The format for this ARN is: arn:aws:eks:region:account-id:cluster/cluster-name. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

" + }, + "namespaces": { + "shape": "EksNamespaceList", + "documentation": "

The list of namespaces located on your Amazon Elastic Kubernetes Service cluster.

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

The input source of the Amazon Elastic Kubernetes Service cluster.

" + }, + "EksSourceClusterNamespace": { + "type": "structure", + "required": [ + "eksClusterArn", + "namespace" + ], + "members": { + "eksClusterArn": { + "shape": "Arn", + "documentation": "

The Amazon Resource Name (ARN) of the Amazon Elastic Kubernetes Service cluster. The format for this ARN is: arn:aws:eks:region:account-id:cluster/cluster-name. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

" + }, + "namespace": { + "shape": "EksNamespace", + "documentation": "

Name of the namespace that is located on your Amazon Elastic Kubernetes Service cluster.

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

The input source of the namespace that is located on your Amazon Elastic Kubernetes Service cluster.

" + }, + "EksSourceList": { + "type": "list", + "member": { + "shape": "EksSource" + } + }, "EntityDescription": { "type": "string", "max": 500, @@ -3560,13 +3625,17 @@ "shape": "Arn", "documentation": "

The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

" }, + "eksSources": { + "shape": "EksSourceList", + "documentation": "

The input sources of the Amazon Elastic Kubernetes Service resources you need to import.

" + }, "importStrategy": { "shape": "ResourceImportStrategyType", - "documentation": "

The import strategy you would like to set to import resources into AWS Resilience Hub application.

" + "documentation": "

The import strategy you would like to set to import resources into Resilience Hub application.

" }, "sourceArns": { "shape": "ArnList", - "documentation": "

The Amazon Resource Names (ARNs) for the resources that you want to import.

" + "documentation": "

The Amazon Resource Names (ARNs) for the resources.

" }, "terraformSources": { "shape": "TerraformSourceList", @@ -3590,9 +3659,13 @@ "shape": "EntityVersion", "documentation": "

The version of the application.

" }, + "eksSources": { + "shape": "EksSourceList", + "documentation": "

The input sources of the Amazon Elastic Kubernetes Service resources you have imported.

" + }, "sourceArns": { "shape": "ArnList", - "documentation": "

The Amazon Resource Names (ARNs) for the resources that you imported.

" + "documentation": "

The Amazon Resource Names (ARNs) for the resources you have imported.

" }, "status": { "shape": "ResourceImportStatusType", @@ -3600,7 +3673,7 @@ }, "terraformSources": { "shape": "TerraformSourceList", - "documentation": "

A list of terraform file s3 URLs you need to import.

" + "documentation": "

A list of terraform file s3 URLs you have imported.

" } } }, @@ -3635,7 +3708,7 @@ "members": { "alarmRecommendations": { "shape": "AlarmRecommendationList", - "documentation": "

The alarm recommendations for an AWS Resilience Hub application, returned as an object. This object includes Application Component names, descriptions, information about whether a recommendation has already been implemented or not, prerequisites, and more.

" + "documentation": "

The alarm recommendations for an Resilience Hub application, returned as an object. This object includes Application Component names, descriptions, information about whether a recommendation has already been implemented or not, prerequisites, and more.

" }, "nextToken": { "shape": "NextToken", @@ -3740,7 +3813,7 @@ "members": { "componentCompliances": { "shape": "ComponentCompliancesList", - "documentation": "

The compliances for an AWS Resilience Hub Application Component, returned as an object. This object contains the names of the Application Components, compliances, costs, resiliency scores, outage scores, and more.

" + "documentation": "

The compliances for an Resilience Hub Application Component, returned as an object. This object contains the names of the Application Components, compliances, costs, resiliency scores, outage scores, and more.

" }, "nextToken": { "shape": "NextToken", @@ -3776,7 +3849,7 @@ "members": { "componentRecommendations": { "shape": "ComponentRecommendationList", - "documentation": "

The recommendations for an AWS Resilience Hub Application Component, returned as an object. This object contains the names of the Application Components, configuration recommendations, and recommendation statuses.

" + "documentation": "

The recommendations for an Resilience Hub Application Component, returned as an object. This object contains the names of the Application Components, configuration recommendations, and recommendation statuses.

" }, "nextToken": { "shape": "NextToken", @@ -3801,7 +3874,7 @@ }, "maxResults": { "shape": "MaxResults", - "documentation": "

Maximum number of input sources to be displayed per AWS Resilience Hub application.

" + "documentation": "

Maximum number of input sources to be displayed per Resilience Hub application.

" }, "nextToken": { "shape": "NextToken", @@ -3817,7 +3890,7 @@ "members": { "appInputSources": { "shape": "AppInputSourceList", - "documentation": "

The list of AWS Resilience Hub application input sources.

" + "documentation": "

The list of Resilience Hub application input sources.

" }, "nextToken": { "shape": "NextToken", @@ -4039,7 +4112,7 @@ "members": { "appSummaries": { "shape": "AppSummaryList", - "documentation": "

Summaries for the AWS Resilience Hub application.

" + "documentation": "

Summaries for the Resilience Hub application.

" }, "nextToken": { "shape": "NextToken", @@ -4106,7 +4179,7 @@ }, "recommendationTemplates": { "shape": "RecommendationTemplateList", - "documentation": "

The recommendation templates for the AWS Resilience Hub applications.

" + "documentation": "

The recommendation templates for the Resilience Hub applications.

" } } }, @@ -4145,7 +4218,7 @@ }, "resiliencyPolicies": { "shape": "ResiliencyPolicies", - "documentation": "

The resiliency policies for the AWS Resilience Hub applications.

" + "documentation": "

The resiliency policies for the Resilience Hub applications.

" } } }, @@ -4181,7 +4254,7 @@ }, "sopRecommendations": { "shape": "SopRecommendationList", - "documentation": "

The standard operating procedure (SOP) recommendations for the AWS Resilience Hub applications.

" + "documentation": "

The standard operating procedure (SOP) recommendations for the Resilience Hub applications.

" } } }, @@ -4214,7 +4287,7 @@ }, "resiliencyPolicies": { "shape": "ResiliencyPolicies", - "documentation": "

The suggested resiliency policies for the AWS Resilience Hub applications.

" + "documentation": "

The suggested resiliency policies for the Resilience Hub applications.

" } } }, @@ -4226,7 +4299,7 @@ "members": { "resourceArn": { "shape": "Arn", - "documentation": "

The Amazon Resource Name (ARN) for a specific resource in your AWS Resilience Hub application.

", + "documentation": "

The Amazon Resource Name (ARN) for a specific resource in your Resilience Hub application.

", "location": "uri", "locationName": "resourceArn" } @@ -4273,7 +4346,7 @@ }, "testRecommendations": { "shape": "TestRecommendationList", - "documentation": "

The test recommendations for the AWS Resilience Hub application.

" + "documentation": "

The test recommendations for the Resilience Hub application.

" } } }, @@ -4333,6 +4406,10 @@ "identifier" ], "members": { + "eksSourceName": { + "shape": "String255", + "documentation": "

The name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to.

This parameter accepts values in \"eks-cluster/namespace\" format.

" + }, "identifier": { "shape": "String255", "documentation": "

The identifier of the resource.

" @@ -4406,7 +4483,7 @@ "documentation": "

The type of resource.

" } }, - "documentation": "

Defines a physical resource. A physical resource is a resource that exists in your account. It can be identified using an Amazon Resource Name (ARN) or an AWS Resilience Hub-native identifier.

" + "documentation": "

Defines a physical resource. A physical resource is a resource that exists in your account. It can be identified using an Amazon Resource Name (ARN) or an Resilience Hub-native identifier.

" }, "PhysicalResourceId": { "type": "structure", @@ -4429,7 +4506,7 @@ }, "type": { "shape": "PhysicalIdentifierType", - "documentation": "

Specifies the type of physical resource identifier.

Arn

The resource identifier is an Amazon Resource Name (ARN) .

Native

The resource identifier is an AWS Resilience Hub-native identifier.

" + "documentation": "

Specifies the type of physical resource identifier.

Arn

The resource identifier is an Amazon Resource Name (ARN) .

Native

The resource identifier is an Resilience Hub-native identifier.

" } }, "documentation": "

Defines a physical resource identifier.

" @@ -4481,7 +4558,7 @@ }, "appTemplateBody": { "shape": "AppTemplateBody", - "documentation": "

A JSON string that provides information about your application structure. To learn more about the appTemplateBody template, see the sample template provided in the Examples section.

The appTemplateBody JSON string has the following structure:

" + "documentation": "

A JSON string that provides information about your application structure. To learn more about the appTemplateBody template, see the sample template provided in the Examples section.

The appTemplateBody JSON string has the following structure:

" } } }, @@ -4687,6 +4764,10 @@ "shape": "EntityNameList", "documentation": "

The names of the registered applications you want to remove from the resource mappings.

" }, + "eksSourceNames": { + "shape": "String255List", + "documentation": "

The names of the Amazon Elastic Kubernetes Service clusters and namespaces you want to remove from the resource mappings.

This parameter accepts values in \"eks-cluster/namespace\" format.

" + }, "logicalStackNames": { "shape": "String255List", "documentation": "

The names of the CloudFormation stacks you want to remove from the resource mappings.

" @@ -4919,13 +5000,17 @@ "shape": "EntityName", "documentation": "

The name of the application this resource is mapped to.

" }, + "eksSourceName": { + "shape": "String255", + "documentation": "

The name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to.

This parameter accepts values in \"eks-cluster/namespace\" format.

" + }, "logicalStackName": { "shape": "String255", "documentation": "

The name of the CloudFormation stack this resource is mapped to.

" }, "mappingType": { "shape": "ResourceMappingType", - "documentation": "

Specifies the type of resource mapping.

AppRegistryApp

The resource is mapped to another application. The name of the application is contained in the appRegistryAppName property.

CfnStack

The resource is mapped to a CloudFormation stack. The name of the CloudFormation stack is contained in the logicalStackName property.

Resource

The resource is mapped to another resource. The name of the resource is contained in the resourceName property.

ResourceGroup

The resource is mapped to a resource group. The name of the resource group is contained in the resourceGroupName property.

" + "documentation": "

Specifies the type of resource mapping.

AppRegistryApp

The resource is mapped to another application. The name of the application is contained in the appRegistryAppName property.

CfnStack

The resource is mapped to a CloudFormation stack. The name of the CloudFormation stack is contained in the logicalStackName property.

Resource

The resource is mapped to another resource. The name of the resource is contained in the resourceName property.

ResourceGroup

The resource is mapped to an Resource Groups. The name of the resource group is contained in the resourceGroupName property.

" }, "physicalResourceId": { "shape": "PhysicalResourceId", @@ -4959,7 +5044,8 @@ "Resource", "AppRegistryApp", "ResourceGroup", - "Terraform" + "Terraform", + "EKS" ] }, "ResourceResolutionStatusType": { @@ -5205,7 +5291,7 @@ "members": { "s3StateFileUrl": { "shape": "S3Url", - "documentation": "

The Terraform s3 state file you need to import.

" + "documentation": "

The URL of the Terraform s3 state file you need to import.

" } }, "documentation": "

The Terraform s3 state file you need to import.

" @@ -5314,9 +5400,13 @@ "resourceType": { "shape": "String255", "documentation": "

The type of resource.

" + }, + "unsupportedResourceStatus": { + "shape": "String255", + "documentation": "

The status of unsupported resource.

" } }, - "documentation": "

Defines a resource that is not supported by AWS Resilience Hub.

" + "documentation": "

Defines a resource that is not supported by Resilience Hub.

" }, "UnsupportedResourceList": { "type": "list", @@ -5430,7 +5520,8 @@ "documentation": "

The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.

" }, "appComponent": { - "shape": "AppComponent" + "shape": "AppComponent", + "documentation": "

The list of Application Components that belong to this resource.

" }, "appVersion": { "shape": "EntityVersion", @@ -5482,7 +5573,7 @@ }, "excluded": { "shape": "BooleanOptional", - "documentation": "

Indicates if a resource is excluded from an AWS Resilience Hub application.

You can exclude only imported resources from an AWS Resilience Hub application.

" + "documentation": "

Indicates if a resource is excluded from an Resilience Hub application.

You can exclude only imported resources from an Resilience Hub application.

" }, "logicalResourceId": { "shape": "LogicalResourceId", @@ -5593,5 +5684,5 @@ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}$" } }, - "documentation": "

AWS Resilience Hub helps you proactively prepare and protect your Amazon Web Services applications from disruptions. Resilience Hub offers continuous resiliency assessment and validation that integrates into your software development lifecycle. This enables you to uncover resiliency weaknesses, ensure recovery time objective (RTO) and recovery point objective (RPO) targets for your applications are met, and resolve issues before they are released into production.

" + "documentation": "

Resilience Hub helps you proactively prepare and protect your Amazon Web Services applications from disruptions. It offers continual resiliency assessment and validation that integrates into your software development lifecycle. This enables you to uncover resiliency weaknesses, ensure recovery time objective (RTO) and recovery point objective (RPO) targets for your applications are met, and resolve issues before they are released into production.

" } \ No newline at end of file diff --git a/apis/ssm-2014-11-06.normal.json b/apis/ssm-2014-11-06.normal.json index 37c2c8a437..5b1cfa7d56 100644 --- a/apis/ssm-2014-11-06.normal.json +++ b/apis/ssm-2014-11-06.normal.json @@ -12779,7 +12779,9 @@ "DEBIAN", "MACOS", "RASPBIAN", - "ROCKY_LINUX" + "ROCKY_LINUX", + "ALMA_LINUX", + "AMAZON_LINUX_2023" ] }, "OpsAggregator": { @@ -15365,7 +15367,7 @@ "members": { "SettingId": { "shape": "ServiceSettingId", - "documentation": "

The Amazon Resource Name (ARN) of the service setting to reset. The setting ID can be one of the following.

" + "documentation": "

The Amazon Resource Name (ARN) of the service setting to reset. The setting ID can be one of the following.

" } }, "documentation": "

The request body of the ResetServiceSetting API operation.

" @@ -17905,11 +17907,11 @@ "members": { "SettingId": { "shape": "ServiceSettingId", - "documentation": "

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

" + "documentation": "

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

Permissions to update the /ssm/managed-instance/default-ec2-instance-management-role setting should only be provided to administrators. Implement least privilege access when allowing individuals to configure or modify the Default Host Management Configuration.

" }, "SettingValue": { "shape": "ServiceSettingValue", - "documentation": "

The new value to specify for the service setting. The following list specifies the available values for each setting.

" + "documentation": "

The new value to specify for the service setting. The following list specifies the available values for each setting.

" } }, "documentation": "

The request body of the UpdateServiceSetting API operation.

" diff --git a/clients/iam.d.ts b/clients/iam.d.ts index 0490f609e3..83573f2b4f 100644 --- a/clients/iam.d.ts +++ b/clients/iam.d.ts @@ -273,11 +273,11 @@ declare class IAM extends Service { */ deleteRole(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes the permissions boundary for the specified IAM role. Deleting the permissions boundary for a role might increase its permissions. For example, it might allow anyone who assumes the role to perform all the actions granted in its permissions policies. + * Deletes the permissions boundary for the specified IAM role. You cannot set the boundary for a service-linked role. Deleting the permissions boundary for a role might increase its permissions. For example, it might allow anyone who assumes the role to perform all the actions granted in its permissions policies. */ deleteRolePermissionsBoundary(params: IAM.Types.DeleteRolePermissionsBoundaryRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes the permissions boundary for the specified IAM role. Deleting the permissions boundary for a role might increase its permissions. For example, it might allow anyone who assumes the role to perform all the actions granted in its permissions policies. + * Deletes the permissions boundary for the specified IAM role. You cannot set the boundary for a service-linked role. Deleting the permissions boundary for a role might increase its permissions. For example, it might allow anyone who assumes the role to perform all the actions granted in its permissions policies. */ deleteRolePermissionsBoundary(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** @@ -889,11 +889,11 @@ declare class IAM extends Service { */ putGroupPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Adds or updates the policy that is specified as the IAM role's permissions boundary. You can use an Amazon Web Services managed policy or a customer managed policy to set the boundary for a role. Use the boundary to control the maximum permissions that the role can have. Setting a permissions boundary is an advanced feature that can affect the permissions for the role. You cannot set the boundary for a service-linked role. Policies used as permissions boundaries do not provide permissions. You must also attach a permissions policy to the role. To learn how the effective permissions for a role are evaluated, see IAM JSON policy evaluation logic in the IAM User Guide. + * Adds or updates the policy that is specified as the IAM role's permissions boundary. You can use an Amazon Web Services managed policy or a customer managed policy to set the boundary for a role. Use the boundary to control the maximum permissions that the role can have. Setting a permissions boundary is an advanced feature that can affect the permissions for the role. You cannot set the boundary for a service-linked role. Policies used as permissions boundaries do not provide permissions. You must also attach a permissions policy to the role. To learn how the effective permissions for a role are evaluated, see IAM JSON policy evaluation logic in the IAM User Guide. */ putRolePermissionsBoundary(params: IAM.Types.PutRolePermissionsBoundaryRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Adds or updates the policy that is specified as the IAM role's permissions boundary. You can use an Amazon Web Services managed policy or a customer managed policy to set the boundary for a role. Use the boundary to control the maximum permissions that the role can have. Setting a permissions boundary is an advanced feature that can affect the permissions for the role. You cannot set the boundary for a service-linked role. Policies used as permissions boundaries do not provide permissions. You must also attach a permissions policy to the role. To learn how the effective permissions for a role are evaluated, see IAM JSON policy evaluation logic in the IAM User Guide. + * Adds or updates the policy that is specified as the IAM role's permissions boundary. You can use an Amazon Web Services managed policy or a customer managed policy to set the boundary for a role. Use the boundary to control the maximum permissions that the role can have. Setting a permissions boundary is an advanced feature that can affect the permissions for the role. You cannot set the boundary for a service-linked role. Policies used as permissions boundaries do not provide permissions. You must also attach a permissions policy to the role. To learn how the effective permissions for a role are evaluated, see IAM JSON policy evaluation logic in the IAM User Guide. */ putRolePermissionsBoundary(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** diff --git a/clients/iottwinmaker.d.ts b/clients/iottwinmaker.d.ts index 56e448a8d5..c72ecb138c 100644 --- a/clients/iottwinmaker.d.ts +++ b/clients/iottwinmaker.d.ts @@ -617,6 +617,10 @@ declare namespace IoTTwinMaker { * Metadata that you can use to manage the scene. */ tags?: TagMap; + /** + * The request metadata. + */ + sceneMetadata?: SceneMetadataMap; } export interface CreateSceneResponse { /** @@ -630,15 +634,15 @@ declare namespace IoTTwinMaker { } export interface CreateSyncJobRequest { /** - * The workspace Id. + * The workspace ID. */ workspaceId: Id; /** - * The sync source. Currently the only supported syncSoucre is SITEWISE . + * The sync source. Currently the only supported syncSoource is SITEWISE . */ syncSource: SyncSource; /** - * The SyncJob IAM role. This IAM role is used by the sync job to read from the syncSource, and create, update or delete the corresponding resources. + * The SyncJob IAM role. This IAM role is used by the SyncJob to read from the syncSource, and create, update, or delete the corresponding resources. */ syncRole: RoleArn; /** @@ -814,11 +818,11 @@ declare namespace IoTTwinMaker { } export interface DeleteSyncJobRequest { /** - * The workspace Id. + * The workspace ID. */ workspaceId: Id; /** - * The sync source. Currently the only supported syncSoucre is SITEWISE . + * The sync source. Currently the only supported syncSource is SITEWISE . */ syncSource: SyncSource; } @@ -981,6 +985,7 @@ declare namespace IoTTwinMaker { } export type FunctionsRequest = {[key: string]: FunctionRequest}; export type FunctionsResponse = {[key: string]: FunctionResponse}; + export type GeneratedSceneMetadataMap = {[key: string]: SceneMetadataValue}; export interface GetComponentTypeRequest { /** * The ID of the workspace that contains the component type. @@ -1049,7 +1054,7 @@ declare namespace IoTTwinMaker { */ propertyGroups?: PropertyGroupsResponse; /** - * The syncSource of the sync job, if this entity was created by a sync job. + * The syncSource of the SyncJob, if this entity was created by a SyncJob. */ syncSource?: SyncSource; /** @@ -1292,14 +1297,22 @@ declare namespace IoTTwinMaker { * A list of capabilities that the scene uses to render. */ capabilities?: SceneCapabilities; + /** + * The response metadata. + */ + sceneMetadata?: SceneMetadataMap; + /** + * The generated scene metadata. + */ + generatedSceneMetadata?: GeneratedSceneMetadataMap; } export interface GetSyncJobRequest { /** - * The sync soucre. Currently the only supported syncSoucre is SITEWISE . + * The sync source. Currently the only supported syncSource is SITEWISE . */ syncSource: SyncSource; /** - * The workspace Id. + * The workspace ID. */ workspaceId?: Id; } @@ -1313,7 +1326,7 @@ declare namespace IoTTwinMaker { */ workspaceId: Id; /** - * The sync soucre. Currently the only supported syncSoucre is SITEWISE . + * The sync soucre. Currently the only supported syncSource is SITEWISE . */ syncSource: SyncSource; /** @@ -1540,11 +1553,11 @@ declare namespace IoTTwinMaker { */ workspaceId: Id; /** - * The sync soucre. Currently the only supported syncSoucre is SITEWISE . + * The sync source. Currently the only supported syncSource is SITEWISE . */ syncSource: SyncSource; /** - * A list of objects that filter the request. + * A list of objects that filter the request. The following filter combinations are supported: Filter with state Filter with ResourceType and ResourceId Filter with ResourceType and ExternalId */ filters?: SyncResourceFilters; /** @@ -1663,7 +1676,7 @@ declare namespace IoTTwinMaker { */ updateDateTime: Timestamp; /** - * The update reason, for changing a pricing plan. + * The update reason for changing a pricing plan. */ updateReason: UpdateReason; } @@ -1795,7 +1808,7 @@ declare namespace IoTTwinMaker { export type PropertyGroupsResponse = {[key: string]: PropertyGroupResponse}; export interface PropertyLatestValue { /** - * An object that specifies information about a property.> + * An object that specifies information about a property. */ propertyReference: EntityPropertyReference; /** @@ -1907,6 +1920,8 @@ declare namespace IoTTwinMaker { export type S3Url = string; export type SceneCapabilities = SceneCapability[]; export type SceneCapability = string; + export type SceneMetadataMap = {[key: string]: SceneMetadataValue}; + export type SceneMetadataValue = string; export type SceneSummaries = SceneSummary[]; export interface SceneSummary { /** @@ -1992,15 +2007,15 @@ declare namespace IoTTwinMaker { */ state?: SyncResourceState; /** - * The sync resource filter resoucre type + * The sync resource filter resource type */ resourceType?: SyncResourceType; /** - * The sync resource filter resource Id. + * The sync resource filter resource ID. */ resourceId?: Id; /** - * The external Id. + * The external ID. */ externalId?: Id; } @@ -2023,11 +2038,11 @@ declare namespace IoTTwinMaker { */ resourceType?: SyncResourceType; /** - * The external Id. + * The external ID. */ externalId?: Id; /** - * The resource Id. + * The resource ID. */ resourceId?: Id; /** @@ -2115,7 +2130,7 @@ declare namespace IoTTwinMaker { */ functions?: FunctionsRequest; /** - * The property groups + * The property groups. */ propertyGroups?: PropertyGroupsRequest; /** @@ -2219,6 +2234,10 @@ declare namespace IoTTwinMaker { * A list of capabilities that the scene uses to render. */ capabilities?: SceneCapabilities; + /** + * The scene metadata. + */ + sceneMetadata?: SceneMetadataMap; } export interface UpdateSceneResponse { /** diff --git a/clients/networkmanager.d.ts b/clients/networkmanager.d.ts index 9a7df1f06e..10de335212 100644 --- a/clients/networkmanager.d.ts +++ b/clients/networkmanager.d.ts @@ -1733,7 +1733,7 @@ declare namespace NetworkManager { */ PeeringId: PeeringId; /** - * The ARN of the transit gateway route table for the attachment request. + * The ARN of the transit gateway route table for the attachment request. For example, "TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456". */ TransitGatewayRouteTableArn: TransitGatewayRouteTableArn; /** diff --git a/clients/resiliencehub.d.ts b/clients/resiliencehub.d.ts index d28931f2b6..af05bad1d1 100644 --- a/clients/resiliencehub.d.ts +++ b/clients/resiliencehub.d.ts @@ -20,35 +20,35 @@ declare class Resiliencehub extends Service { */ addDraftAppVersionResourceMappings(callback?: (err: AWSError, data: Resiliencehub.Types.AddDraftAppVersionResourceMappingsResponse) => void): Request; /** - * Creates an AWS Resilience Hub application. An AWS Resilience Hub application is a collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a AWS Resilience Hub application, you provide an application name, resources from one or more–up to five–CloudFormation stacks, and an appropriate resiliency policy. After you create an AWS Resilience Hub application, you publish it so that you can run a resiliency assessment on it. You can then use recommendations from the assessment to improve resiliency by running another assessment, comparing results, and then iterating the process until you achieve your goals for recovery time objective (RTO) and recovery point objective (RPO). + * Creates an Resilience Hub application. An Resilience Hub application is a collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a Resilience Hub application, you provide an application name, resources from one or more–up to five–CloudFormation stacks, and an appropriate resiliency policy. After you create an Resilience Hub application, you publish it so that you can run a resiliency assessment on it. You can then use recommendations from the assessment to improve resiliency by running another assessment, comparing results, and then iterating the process until you achieve your goals for recovery time objective (RTO) and recovery point objective (RPO). */ createApp(params: Resiliencehub.Types.CreateAppRequest, callback?: (err: AWSError, data: Resiliencehub.Types.CreateAppResponse) => void): Request; /** - * Creates an AWS Resilience Hub application. An AWS Resilience Hub application is a collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a AWS Resilience Hub application, you provide an application name, resources from one or more–up to five–CloudFormation stacks, and an appropriate resiliency policy. After you create an AWS Resilience Hub application, you publish it so that you can run a resiliency assessment on it. You can then use recommendations from the assessment to improve resiliency by running another assessment, comparing results, and then iterating the process until you achieve your goals for recovery time objective (RTO) and recovery point objective (RPO). + * Creates an Resilience Hub application. An Resilience Hub application is a collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a Resilience Hub application, you provide an application name, resources from one or more–up to five–CloudFormation stacks, and an appropriate resiliency policy. After you create an Resilience Hub application, you publish it so that you can run a resiliency assessment on it. You can then use recommendations from the assessment to improve resiliency by running another assessment, comparing results, and then iterating the process until you achieve your goals for recovery time objective (RTO) and recovery point objective (RPO). */ createApp(callback?: (err: AWSError, data: Resiliencehub.Types.CreateAppResponse) => void): Request; /** - * Creates a new Application Component in the AWS Resilience Hub application. This API updates the AWS Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion API. + * Creates a new Application Component in the Resilience Hub application. This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the PublishAppVersion API. */ createAppVersionAppComponent(params: Resiliencehub.Types.CreateAppVersionAppComponentRequest, callback?: (err: AWSError, data: Resiliencehub.Types.CreateAppVersionAppComponentResponse) => void): Request; /** - * Creates a new Application Component in the AWS Resilience Hub application. This API updates the AWS Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion API. + * Creates a new Application Component in the Resilience Hub application. This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the PublishAppVersion API. */ createAppVersionAppComponent(callback?: (err: AWSError, data: Resiliencehub.Types.CreateAppVersionAppComponentResponse) => void): Request; /** - * Adds a resource to the AWS Resilience Hub applicationand assigns it to the specified Application Components. If you specify a new Application Component, AWS Resilience Hub will automatically create the Application Component. This action has no effect outside AWS Resilience Hub. This API updates the AWS Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion API. To update application version with new physicalResourceID, you must call ResolveAppVersionResources API. + * Adds a resource to the Resilience Hub application and assigns it to the specified Application Components. If you specify a new Application Component, Resilience Hub will automatically create the Application Component. This action has no effect outside Resilience Hub. This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the PublishAppVersion API. To update application version with new physicalResourceID, you must call ResolveAppVersionResources API. */ createAppVersionResource(params: Resiliencehub.Types.CreateAppVersionResourceRequest, callback?: (err: AWSError, data: Resiliencehub.Types.CreateAppVersionResourceResponse) => void): Request; /** - * Adds a resource to the AWS Resilience Hub applicationand assigns it to the specified Application Components. If you specify a new Application Component, AWS Resilience Hub will automatically create the Application Component. This action has no effect outside AWS Resilience Hub. This API updates the AWS Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion API. To update application version with new physicalResourceID, you must call ResolveAppVersionResources API. + * Adds a resource to the Resilience Hub application and assigns it to the specified Application Components. If you specify a new Application Component, Resilience Hub will automatically create the Application Component. This action has no effect outside Resilience Hub. This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the PublishAppVersion API. To update application version with new physicalResourceID, you must call ResolveAppVersionResources API. */ createAppVersionResource(callback?: (err: AWSError, data: Resiliencehub.Types.CreateAppVersionResourceResponse) => void): Request; /** - * Creates a new recommendation template for the AWS Resilience Hub application. + * Creates a new recommendation template for the Resilience Hub application. */ createRecommendationTemplate(params: Resiliencehub.Types.CreateRecommendationTemplateRequest, callback?: (err: AWSError, data: Resiliencehub.Types.CreateRecommendationTemplateResponse) => void): Request; /** - * Creates a new recommendation template for the AWS Resilience Hub application. + * Creates a new recommendation template for the Resilience Hub application. */ createRecommendationTemplate(callback?: (err: AWSError, data: Resiliencehub.Types.CreateRecommendationTemplateResponse) => void): Request; /** @@ -60,43 +60,43 @@ declare class Resiliencehub extends Service { */ createResiliencyPolicy(callback?: (err: AWSError, data: Resiliencehub.Types.CreateResiliencyPolicyResponse) => void): Request; /** - * Deletes an AWS Resilience Hub application. This is a destructive action that can't be undone. + * Deletes an Resilience Hub application. This is a destructive action that can't be undone. */ deleteApp(params: Resiliencehub.Types.DeleteAppRequest, callback?: (err: AWSError, data: Resiliencehub.Types.DeleteAppResponse) => void): Request; /** - * Deletes an AWS Resilience Hub application. This is a destructive action that can't be undone. + * Deletes an Resilience Hub application. This is a destructive action that can't be undone. */ deleteApp(callback?: (err: AWSError, data: Resiliencehub.Types.DeleteAppResponse) => void): Request; /** - * Deletes an AWS Resilience Hub application assessment. This is a destructive action that can't be undone. + * Deletes an Resilience Hub application assessment. This is a destructive action that can't be undone. */ deleteAppAssessment(params: Resiliencehub.Types.DeleteAppAssessmentRequest, callback?: (err: AWSError, data: Resiliencehub.Types.DeleteAppAssessmentResponse) => void): Request; /** - * Deletes an AWS Resilience Hub application assessment. This is a destructive action that can't be undone. + * Deletes an Resilience Hub application assessment. This is a destructive action that can't be undone. */ deleteAppAssessment(callback?: (err: AWSError, data: Resiliencehub.Types.DeleteAppAssessmentResponse) => void): Request; /** - * Deletes the input source and all of its imported resources from the AWS Resilience Hub application. + * Deletes the input source and all of its imported resources from the Resilience Hub application. */ deleteAppInputSource(params: Resiliencehub.Types.DeleteAppInputSourceRequest, callback?: (err: AWSError, data: Resiliencehub.Types.DeleteAppInputSourceResponse) => void): Request; /** - * Deletes the input source and all of its imported resources from the AWS Resilience Hub application. + * Deletes the input source and all of its imported resources from the Resilience Hub application. */ deleteAppInputSource(callback?: (err: AWSError, data: Resiliencehub.Types.DeleteAppInputSourceResponse) => void): Request; /** - * Deletes an Application Component from the AWS Resilience Hub application. This API updates the AWS Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion API. You will not be able to delete an Application Component if it has resources associated with it. + * Deletes an Application Component from the Resilience Hub application. This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the PublishAppVersion API. You will not be able to delete an Application Component if it has resources associated with it. */ deleteAppVersionAppComponent(params: Resiliencehub.Types.DeleteAppVersionAppComponentRequest, callback?: (err: AWSError, data: Resiliencehub.Types.DeleteAppVersionAppComponentResponse) => void): Request; /** - * Deletes an Application Component from the AWS Resilience Hub application. This API updates the AWS Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion API. You will not be able to delete an Application Component if it has resources associated with it. + * Deletes an Application Component from the Resilience Hub application. This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the PublishAppVersion API. You will not be able to delete an Application Component if it has resources associated with it. */ deleteAppVersionAppComponent(callback?: (err: AWSError, data: Resiliencehub.Types.DeleteAppVersionAppComponentResponse) => void): Request; /** - * Deletes a resource from the AWS Resilience Hub application. You can only delete a manually added resource. To exclude non-manually added resources, use the UpdateAppVersionResource API. This action has no effect outside AWS Resilience Hub. This API updates the AWS Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion API. + * Deletes a resource from the Resilience Hub application. You can only delete a manually added resource. To exclude non-manually added resources, use the UpdateAppVersionResource API. This action has no effect outside Resilience Hub. This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the PublishAppVersion API. */ deleteAppVersionResource(params: Resiliencehub.Types.DeleteAppVersionResourceRequest, callback?: (err: AWSError, data: Resiliencehub.Types.DeleteAppVersionResourceResponse) => void): Request; /** - * Deletes a resource from the AWS Resilience Hub application. You can only delete a manually added resource. To exclude non-manually added resources, use the UpdateAppVersionResource API. This action has no effect outside AWS Resilience Hub. This API updates the AWS Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion API. + * Deletes a resource from the Resilience Hub application. You can only delete a manually added resource. To exclude non-manually added resources, use the UpdateAppVersionResource API. This action has no effect outside Resilience Hub. This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the PublishAppVersion API. */ deleteAppVersionResource(callback?: (err: AWSError, data: Resiliencehub.Types.DeleteAppVersionResourceResponse) => void): Request; /** @@ -116,43 +116,43 @@ declare class Resiliencehub extends Service { */ deleteResiliencyPolicy(callback?: (err: AWSError, data: Resiliencehub.Types.DeleteResiliencyPolicyResponse) => void): Request; /** - * Describes an AWS Resilience Hub application. + * Describes an Resilience Hub application. */ describeApp(params: Resiliencehub.Types.DescribeAppRequest, callback?: (err: AWSError, data: Resiliencehub.Types.DescribeAppResponse) => void): Request; /** - * Describes an AWS Resilience Hub application. + * Describes an Resilience Hub application. */ describeApp(callback?: (err: AWSError, data: Resiliencehub.Types.DescribeAppResponse) => void): Request; /** - * Describes an assessment for an AWS Resilience Hub application. + * Describes an assessment for an Resilience Hub application. */ describeAppAssessment(params: Resiliencehub.Types.DescribeAppAssessmentRequest, callback?: (err: AWSError, data: Resiliencehub.Types.DescribeAppAssessmentResponse) => void): Request; /** - * Describes an assessment for an AWS Resilience Hub application. + * Describes an assessment for an Resilience Hub application. */ describeAppAssessment(callback?: (err: AWSError, data: Resiliencehub.Types.DescribeAppAssessmentResponse) => void): Request; /** - * Describes the AWS Resilience Hub application version. + * Describes the Resilience Hub application version. */ describeAppVersion(params: Resiliencehub.Types.DescribeAppVersionRequest, callback?: (err: AWSError, data: Resiliencehub.Types.DescribeAppVersionResponse) => void): Request; /** - * Describes the AWS Resilience Hub application version. + * Describes the Resilience Hub application version. */ describeAppVersion(callback?: (err: AWSError, data: Resiliencehub.Types.DescribeAppVersionResponse) => void): Request; /** - * Describes an Application Component in the AWS Resilience Hub application. + * Describes an Application Component in the Resilience Hub application. */ describeAppVersionAppComponent(params: Resiliencehub.Types.DescribeAppVersionAppComponentRequest, callback?: (err: AWSError, data: Resiliencehub.Types.DescribeAppVersionAppComponentResponse) => void): Request; /** - * Describes an Application Component in the AWS Resilience Hub application. + * Describes an Application Component in the Resilience Hub application. */ describeAppVersionAppComponent(callback?: (err: AWSError, data: Resiliencehub.Types.DescribeAppVersionAppComponentResponse) => void): Request; /** - * Describes a resource of the AWS Resilience Hub application. This API accepts only one of the following parameters to descibe the resource: resourceName logicalResourceId physicalResourceId (Along with physicalResourceId, you can also provide awsAccountId, and awsRegion) + * Describes a resource of the Resilience Hub application. This API accepts only one of the following parameters to descibe the resource: resourceName logicalResourceId physicalResourceId (Along with physicalResourceId, you can also provide awsAccountId, and awsRegion) */ describeAppVersionResource(params: Resiliencehub.Types.DescribeAppVersionResourceRequest, callback?: (err: AWSError, data: Resiliencehub.Types.DescribeAppVersionResourceResponse) => void): Request; /** - * Describes a resource of the AWS Resilience Hub application. This API accepts only one of the following parameters to descibe the resource: resourceName logicalResourceId physicalResourceId (Along with physicalResourceId, you can also provide awsAccountId, and awsRegion) + * Describes a resource of the Resilience Hub application. This API accepts only one of the following parameters to descibe the resource: resourceName logicalResourceId physicalResourceId (Along with physicalResourceId, you can also provide awsAccountId, and awsRegion) */ describeAppVersionResource(callback?: (err: AWSError, data: Resiliencehub.Types.DescribeAppVersionResourceResponse) => void): Request; /** @@ -164,11 +164,11 @@ declare class Resiliencehub extends Service { */ describeAppVersionResourcesResolutionStatus(callback?: (err: AWSError, data: Resiliencehub.Types.DescribeAppVersionResourcesResolutionStatusResponse) => void): Request; /** - * Describes details about an AWS Resilience Hub application. + * Describes details about an Resilience Hub application. */ describeAppVersionTemplate(params: Resiliencehub.Types.DescribeAppVersionTemplateRequest, callback?: (err: AWSError, data: Resiliencehub.Types.DescribeAppVersionTemplateResponse) => void): Request; /** - * Describes details about an AWS Resilience Hub application. + * Describes details about an Resilience Hub application. */ describeAppVersionTemplate(callback?: (err: AWSError, data: Resiliencehub.Types.DescribeAppVersionTemplateResponse) => void): Request; /** @@ -180,67 +180,67 @@ declare class Resiliencehub extends Service { */ describeDraftAppVersionResourcesImportStatus(callback?: (err: AWSError, data: Resiliencehub.Types.DescribeDraftAppVersionResourcesImportStatusResponse) => void): Request; /** - * Describes a specified resiliency policy for an AWS Resilience Hub application. The returned policy object includes creation time, data location constraints, the Amazon Resource Name (ARN) for the policy, tags, tier, and more. + * Describes a specified resiliency policy for an Resilience Hub application. The returned policy object includes creation time, data location constraints, the Amazon Resource Name (ARN) for the policy, tags, tier, and more. */ describeResiliencyPolicy(params: Resiliencehub.Types.DescribeResiliencyPolicyRequest, callback?: (err: AWSError, data: Resiliencehub.Types.DescribeResiliencyPolicyResponse) => void): Request; /** - * Describes a specified resiliency policy for an AWS Resilience Hub application. The returned policy object includes creation time, data location constraints, the Amazon Resource Name (ARN) for the policy, tags, tier, and more. + * Describes a specified resiliency policy for an Resilience Hub application. The returned policy object includes creation time, data location constraints, the Amazon Resource Name (ARN) for the policy, tags, tier, and more. */ describeResiliencyPolicy(callback?: (err: AWSError, data: Resiliencehub.Types.DescribeResiliencyPolicyResponse) => void): Request; /** - * Imports resources to AWS Resilience Hub application draft version from different input sources. For more information about the input sources supported by AWS Resilience Hub, see Discover the structure and describe your Resilience Hub application. + * Imports resources to Resilience Hub application draft version from different input sources. For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application. */ importResourcesToDraftAppVersion(params: Resiliencehub.Types.ImportResourcesToDraftAppVersionRequest, callback?: (err: AWSError, data: Resiliencehub.Types.ImportResourcesToDraftAppVersionResponse) => void): Request; /** - * Imports resources to AWS Resilience Hub application draft version from different input sources. For more information about the input sources supported by AWS Resilience Hub, see Discover the structure and describe your Resilience Hub application. + * Imports resources to Resilience Hub application draft version from different input sources. For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application. */ importResourcesToDraftAppVersion(callback?: (err: AWSError, data: Resiliencehub.Types.ImportResourcesToDraftAppVersionResponse) => void): Request; /** - * Lists the alarm recommendations for an AWS Resilience Hub application. + * Lists the alarm recommendations for an Resilience Hub application. */ listAlarmRecommendations(params: Resiliencehub.Types.ListAlarmRecommendationsRequest, callback?: (err: AWSError, data: Resiliencehub.Types.ListAlarmRecommendationsResponse) => void): Request; /** - * Lists the alarm recommendations for an AWS Resilience Hub application. + * Lists the alarm recommendations for an Resilience Hub application. */ listAlarmRecommendations(callback?: (err: AWSError, data: Resiliencehub.Types.ListAlarmRecommendationsResponse) => void): Request; /** - * Lists the assessments for an AWS Resilience Hub application. You can use request parameters to refine the results for the response object. + * Lists the assessments for an Resilience Hub application. You can use request parameters to refine the results for the response object. */ listAppAssessments(params: Resiliencehub.Types.ListAppAssessmentsRequest, callback?: (err: AWSError, data: Resiliencehub.Types.ListAppAssessmentsResponse) => void): Request; /** - * Lists the assessments for an AWS Resilience Hub application. You can use request parameters to refine the results for the response object. + * Lists the assessments for an Resilience Hub application. You can use request parameters to refine the results for the response object. */ listAppAssessments(callback?: (err: AWSError, data: Resiliencehub.Types.ListAppAssessmentsResponse) => void): Request; /** - * Lists the compliances for an AWS Resilience Hub Application Component. + * Lists the compliances for an Resilience Hub Application Component. */ listAppComponentCompliances(params: Resiliencehub.Types.ListAppComponentCompliancesRequest, callback?: (err: AWSError, data: Resiliencehub.Types.ListAppComponentCompliancesResponse) => void): Request; /** - * Lists the compliances for an AWS Resilience Hub Application Component. + * Lists the compliances for an Resilience Hub Application Component. */ listAppComponentCompliances(callback?: (err: AWSError, data: Resiliencehub.Types.ListAppComponentCompliancesResponse) => void): Request; /** - * Lists the recommendations for an AWS Resilience Hub Application Component. + * Lists the recommendations for an Resilience Hub Application Component. */ listAppComponentRecommendations(params: Resiliencehub.Types.ListAppComponentRecommendationsRequest, callback?: (err: AWSError, data: Resiliencehub.Types.ListAppComponentRecommendationsResponse) => void): Request; /** - * Lists the recommendations for an AWS Resilience Hub Application Component. + * Lists the recommendations for an Resilience Hub Application Component. */ listAppComponentRecommendations(callback?: (err: AWSError, data: Resiliencehub.Types.ListAppComponentRecommendationsResponse) => void): Request; /** - * Lists all the input sources of the AWS Resilience Hub application. For more information about the input sources supported by AWS Resilience Hub, see Discover the structure and describe your Resilience Hub application. + * Lists all the input sources of the Resilience Hub application. For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application. */ listAppInputSources(params: Resiliencehub.Types.ListAppInputSourcesRequest, callback?: (err: AWSError, data: Resiliencehub.Types.ListAppInputSourcesResponse) => void): Request; /** - * Lists all the input sources of the AWS Resilience Hub application. For more information about the input sources supported by AWS Resilience Hub, see Discover the structure and describe your Resilience Hub application. + * Lists all the input sources of the Resilience Hub application. For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application. */ listAppInputSources(callback?: (err: AWSError, data: Resiliencehub.Types.ListAppInputSourcesResponse) => void): Request; /** - * Lists all the Application Components in the AWS Resilience Hub application. + * Lists all the Application Components in the Resilience Hub application. */ listAppVersionAppComponents(params: Resiliencehub.Types.ListAppVersionAppComponentsRequest, callback?: (err: AWSError, data: Resiliencehub.Types.ListAppVersionAppComponentsResponse) => void): Request; /** - * Lists all the Application Components in the AWS Resilience Hub application. + * Lists all the Application Components in the Resilience Hub application. */ listAppVersionAppComponents(callback?: (err: AWSError, data: Resiliencehub.Types.ListAppVersionAppComponentsResponse) => void): Request; /** @@ -252,99 +252,99 @@ declare class Resiliencehub extends Service { */ listAppVersionResourceMappings(callback?: (err: AWSError, data: Resiliencehub.Types.ListAppVersionResourceMappingsResponse) => void): Request; /** - * Lists all the resources in an AWS Resilience Hub application. + * Lists all the resources in an Resilience Hub application. */ listAppVersionResources(params: Resiliencehub.Types.ListAppVersionResourcesRequest, callback?: (err: AWSError, data: Resiliencehub.Types.ListAppVersionResourcesResponse) => void): Request; /** - * Lists all the resources in an AWS Resilience Hub application. + * Lists all the resources in an Resilience Hub application. */ listAppVersionResources(callback?: (err: AWSError, data: Resiliencehub.Types.ListAppVersionResourcesResponse) => void): Request; /** - * Lists the different versions for the AWS Resilience Hub applications. + * Lists the different versions for the Resilience Hub applications. */ listAppVersions(params: Resiliencehub.Types.ListAppVersionsRequest, callback?: (err: AWSError, data: Resiliencehub.Types.ListAppVersionsResponse) => void): Request; /** - * Lists the different versions for the AWS Resilience Hub applications. + * Lists the different versions for the Resilience Hub applications. */ listAppVersions(callback?: (err: AWSError, data: Resiliencehub.Types.ListAppVersionsResponse) => void): Request; /** - * Lists your AWS Resilience Hub applications. You can filter applications using only one filter at a time or without using any filter. If you try to filter applications using multiple filters, you will get the following error: An error occurred (ValidationException) when calling the ListApps operation: Only one filter is supported for this operation. + * Lists your Resilience Hub applications. You can filter applications using only one filter at a time or without using any filter. If you try to filter applications using multiple filters, you will get the following error: An error occurred (ValidationException) when calling the ListApps operation: Only one filter is supported for this operation. */ listApps(params: Resiliencehub.Types.ListAppsRequest, callback?: (err: AWSError, data: Resiliencehub.Types.ListAppsResponse) => void): Request; /** - * Lists your AWS Resilience Hub applications. You can filter applications using only one filter at a time or without using any filter. If you try to filter applications using multiple filters, you will get the following error: An error occurred (ValidationException) when calling the ListApps operation: Only one filter is supported for this operation. + * Lists your Resilience Hub applications. You can filter applications using only one filter at a time or without using any filter. If you try to filter applications using multiple filters, you will get the following error: An error occurred (ValidationException) when calling the ListApps operation: Only one filter is supported for this operation. */ listApps(callback?: (err: AWSError, data: Resiliencehub.Types.ListAppsResponse) => void): Request; /** - * Lists the recommendation templates for the AWS Resilience Hub applications. + * Lists the recommendation templates for the Resilience Hub applications. */ listRecommendationTemplates(params: Resiliencehub.Types.ListRecommendationTemplatesRequest, callback?: (err: AWSError, data: Resiliencehub.Types.ListRecommendationTemplatesResponse) => void): Request; /** - * Lists the recommendation templates for the AWS Resilience Hub applications. + * Lists the recommendation templates for the Resilience Hub applications. */ listRecommendationTemplates(callback?: (err: AWSError, data: Resiliencehub.Types.ListRecommendationTemplatesResponse) => void): Request; /** - * Lists the resiliency policies for the AWS Resilience Hub applications. + * Lists the resiliency policies for the Resilience Hub applications. */ listResiliencyPolicies(params: Resiliencehub.Types.ListResiliencyPoliciesRequest, callback?: (err: AWSError, data: Resiliencehub.Types.ListResiliencyPoliciesResponse) => void): Request; /** - * Lists the resiliency policies for the AWS Resilience Hub applications. + * Lists the resiliency policies for the Resilience Hub applications. */ listResiliencyPolicies(callback?: (err: AWSError, data: Resiliencehub.Types.ListResiliencyPoliciesResponse) => void): Request; /** - * Lists the standard operating procedure (SOP) recommendations for the AWS Resilience Hub applications. + * Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications. */ listSopRecommendations(params: Resiliencehub.Types.ListSopRecommendationsRequest, callback?: (err: AWSError, data: Resiliencehub.Types.ListSopRecommendationsResponse) => void): Request; /** - * Lists the standard operating procedure (SOP) recommendations for the AWS Resilience Hub applications. + * Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications. */ listSopRecommendations(callback?: (err: AWSError, data: Resiliencehub.Types.ListSopRecommendationsResponse) => void): Request; /** - * Lists the suggested resiliency policies for the AWS Resilience Hub applications. + * Lists the suggested resiliency policies for the Resilience Hub applications. */ listSuggestedResiliencyPolicies(params: Resiliencehub.Types.ListSuggestedResiliencyPoliciesRequest, callback?: (err: AWSError, data: Resiliencehub.Types.ListSuggestedResiliencyPoliciesResponse) => void): Request; /** - * Lists the suggested resiliency policies for the AWS Resilience Hub applications. + * Lists the suggested resiliency policies for the Resilience Hub applications. */ listSuggestedResiliencyPolicies(callback?: (err: AWSError, data: Resiliencehub.Types.ListSuggestedResiliencyPoliciesResponse) => void): Request; /** - * Lists the tags for your resources in your AWS Resilience Hub applications. + * Lists the tags for your resources in your Resilience Hub applications. */ listTagsForResource(params: Resiliencehub.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: Resiliencehub.Types.ListTagsForResourceResponse) => void): Request; /** - * Lists the tags for your resources in your AWS Resilience Hub applications. + * Lists the tags for your resources in your Resilience Hub applications. */ listTagsForResource(callback?: (err: AWSError, data: Resiliencehub.Types.ListTagsForResourceResponse) => void): Request; /** - * Lists the test recommendations for the AWS Resilience Hub application. + * Lists the test recommendations for the Resilience Hub application. */ listTestRecommendations(params: Resiliencehub.Types.ListTestRecommendationsRequest, callback?: (err: AWSError, data: Resiliencehub.Types.ListTestRecommendationsResponse) => void): Request; /** - * Lists the test recommendations for the AWS Resilience Hub application. + * Lists the test recommendations for the Resilience Hub application. */ listTestRecommendations(callback?: (err: AWSError, data: Resiliencehub.Types.ListTestRecommendationsResponse) => void): Request; /** - * Lists the resources that are not currently supported in AWS Resilience Hub. An unsupported resource is a resource that exists in the object that was used to create an app, but is not supported by AWS Resilience Hub. + * Lists the resources that are not currently supported in Resilience Hub. An unsupported resource is a resource that exists in the object that was used to create an app, but is not supported by Resilience Hub. */ listUnsupportedAppVersionResources(params: Resiliencehub.Types.ListUnsupportedAppVersionResourcesRequest, callback?: (err: AWSError, data: Resiliencehub.Types.ListUnsupportedAppVersionResourcesResponse) => void): Request; /** - * Lists the resources that are not currently supported in AWS Resilience Hub. An unsupported resource is a resource that exists in the object that was used to create an app, but is not supported by AWS Resilience Hub. + * Lists the resources that are not currently supported in Resilience Hub. An unsupported resource is a resource that exists in the object that was used to create an app, but is not supported by Resilience Hub. */ listUnsupportedAppVersionResources(callback?: (err: AWSError, data: Resiliencehub.Types.ListUnsupportedAppVersionResourcesResponse) => void): Request; /** - * Publishes a new version of a specific AWS Resilience Hub application. + * Publishes a new version of a specific Resilience Hub application. */ publishAppVersion(params: Resiliencehub.Types.PublishAppVersionRequest, callback?: (err: AWSError, data: Resiliencehub.Types.PublishAppVersionResponse) => void): Request; /** - * Publishes a new version of a specific AWS Resilience Hub application. + * Publishes a new version of a specific Resilience Hub application. */ publishAppVersion(callback?: (err: AWSError, data: Resiliencehub.Types.PublishAppVersionResponse) => void): Request; /** - * Adds or updates the app template for an AWS Resilience Hub application draft version. + * Adds or updates the app template for an Resilience Hub application draft version. */ putDraftAppVersionTemplate(params: Resiliencehub.Types.PutDraftAppVersionTemplateRequest, callback?: (err: AWSError, data: Resiliencehub.Types.PutDraftAppVersionTemplateResponse) => void): Request; /** - * Adds or updates the app template for an AWS Resilience Hub application draft version. + * Adds or updates the app template for an Resilience Hub application draft version. */ putDraftAppVersionTemplate(callback?: (err: AWSError, data: Resiliencehub.Types.PutDraftAppVersionTemplateResponse) => void): Request; /** @@ -396,27 +396,27 @@ declare class Resiliencehub extends Service { */ updateApp(callback?: (err: AWSError, data: Resiliencehub.Types.UpdateAppResponse) => void): Request; /** - * Updates the AWS Resilience Hub application version. This API updates the AWS Resilience Hub application draft version. To use this information for running resiliency assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion API. + * Updates the Resilience Hub application version. This API updates the Resilience Hub application draft version. To use this information for running resiliency assessments, you must publish the Resilience Hub application using the PublishAppVersion API. */ updateAppVersion(params: Resiliencehub.Types.UpdateAppVersionRequest, callback?: (err: AWSError, data: Resiliencehub.Types.UpdateAppVersionResponse) => void): Request; /** - * Updates the AWS Resilience Hub application version. This API updates the AWS Resilience Hub application draft version. To use this information for running resiliency assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion API. + * Updates the Resilience Hub application version. This API updates the Resilience Hub application draft version. To use this information for running resiliency assessments, you must publish the Resilience Hub application using the PublishAppVersion API. */ updateAppVersion(callback?: (err: AWSError, data: Resiliencehub.Types.UpdateAppVersionResponse) => void): Request; /** - * Updates an existing Application Component in the AWS Resilience Hub application. This API updates the AWS Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion API. + * Updates an existing Application Component in the Resilience Hub application. This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the PublishAppVersion API. */ updateAppVersionAppComponent(params: Resiliencehub.Types.UpdateAppVersionAppComponentRequest, callback?: (err: AWSError, data: Resiliencehub.Types.UpdateAppVersionAppComponentResponse) => void): Request; /** - * Updates an existing Application Component in the AWS Resilience Hub application. This API updates the AWS Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion API. + * Updates an existing Application Component in the Resilience Hub application. This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the PublishAppVersion API. */ updateAppVersionAppComponent(callback?: (err: AWSError, data: Resiliencehub.Types.UpdateAppVersionAppComponentResponse) => void): Request; /** - * Updates the resource details in the AWS Resilience Hub application. This action has no effect outside AWS Resilience Hub. This API updates the AWS Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion API. To update application version with new physicalResourceID, you must call ResolveAppVersionResources API. + * Updates the resource details in the Resilience Hub application. This action has no effect outside Resilience Hub. This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the PublishAppVersion API. To update application version with new physicalResourceID, you must call ResolveAppVersionResources API. */ updateAppVersionResource(params: Resiliencehub.Types.UpdateAppVersionResourceRequest, callback?: (err: AWSError, data: Resiliencehub.Types.UpdateAppVersionResourceResponse) => void): Request; /** - * Updates the resource details in the AWS Resilience Hub application. This action has no effect outside AWS Resilience Hub. This API updates the AWS Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion API. To update application version with new physicalResourceID, you must call ResolveAppVersionResources API. + * Updates the resource details in the Resilience Hub application. This action has no effect outside Resilience Hub. This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the PublishAppVersion API. To update application version with new physicalResourceID, you must call ResolveAppVersionResources API. */ updateAppVersionResource(callback?: (err: AWSError, data: Resiliencehub.Types.UpdateAppVersionResourceResponse) => void): Request; /** @@ -708,12 +708,16 @@ declare namespace Resiliencehub { export type AppComponentList = AppComponent[]; export type AppComponentNameList = String255[]; export interface AppInputSource { + /** + * The namespace on your Amazon Elastic Kubernetes Service cluster. + */ + eksSourceClusterNamespace?: EksSourceClusterNamespace; /** * The resource type of the input source. */ importType: ResourceMappingType; /** - * The number of resources that were imported. + * The number of resources. */ resourceCount?: Integer; /** @@ -922,6 +926,9 @@ declare namespace Resiliencehub { * The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. */ appArn: Arn; + /** + * The list of Application Components that belong to this resource. + */ appComponent?: AppComponent; /** * The AWS Resilience Hub application version. @@ -1093,11 +1100,15 @@ declare namespace Resiliencehub { */ clientToken?: ClientToken; /** - * The Amazon Resource Name (ARN) of the imported resource you want to remove from the AWS Resilience Hub application. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. + * The namespace on your Amazon Elastic Kubernetes Service cluster that you want to delete from the Resilience Hub application. + */ + eksSourceClusterNamespace?: EksSourceClusterNamespace; + /** + * The Amazon Resource Name (ARN) of the imported resource you want to remove from the Resilience Hub application. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. */ sourceArn?: Arn; /** - * The imported Terraform s3 state file you want to remove from the AWS Resilience Hub application. + * The imported Terraform s3 state file you want to remove from the Resilience Hub application. */ terraformSource?: TerraformSource; } @@ -1121,7 +1132,7 @@ declare namespace Resiliencehub { */ clientToken?: ClientToken; /** - * A boolean option to force the deletion of an AWS Resilience Hub application. + * A boolean option to force the deletion of an Resilience Hub application. */ forceDelete?: BooleanOptional; } @@ -1150,6 +1161,9 @@ declare namespace Resiliencehub { * The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. */ appArn: Arn; + /** + * The list of Application Components that belong to this resource. + */ appComponent?: AppComponent; /** * The AWS Resilience Hub application version. @@ -1244,7 +1258,7 @@ declare namespace Resiliencehub { } export interface DescribeAppAssessmentResponse { /** - * The assessment for an AWS Resilience Hub application, returned as an object. This object includes Amazon Resource Names (ARNs), compliance information, compliance status, cost, messages, resiliency scores, and more. + * The assessment for an Resilience Hub application, returned as an object. This object includes Amazon Resource Names (ARNs), compliance information, compliance status, cost, messages, resiliency scores, and more. */ assessment: AppAssessment; } @@ -1279,6 +1293,9 @@ declare namespace Resiliencehub { * The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. */ appArn: Arn; + /** + * The list of Application Components that belong to this resource. + */ appComponent?: AppComponent; /** * The AWS Resilience Hub application version. @@ -1405,7 +1422,7 @@ declare namespace Resiliencehub { */ appArn: Arn; /** - * A JSON string that provides information about your application structure. To learn more about the appTemplateBody template, see the sample template provided in the Examples section. The appTemplateBody JSON string has the following structure: resources The list of logical resources that needs to be included in the application. Type: Array Don't add the resources that you want to exclude. Each resources array item includes the following fields: logicalResourceId The logical identifier of the resource. Type: Object Each logicalResourceId object includes the following fields: identifier The identifier of the resource. Type: String logicalStackName The name of the CloudFormation stack this resource belongs to. Type: String resourceGroupName The name of the resource group this resource belongs to. Type: String terraformSourceName The name of the Terraform S3 state file this resource belongs to. Type: String type The type of resource. Type: string name The name of the resource. Type: String appComponents The list of Application Components that this resource belongs to. If an Application Component is not part of the AWS Resilience Hub application, it will be added. Type: Array Each appComponents array item includes the following fields: name The name of the Application Component. Type: String type The type of Application Component. For more information about the types of Application Component, see Grouping resources in an AppComponent. Type: String resourceNames The list of included resources that are assigned to the Application Component. Type: Array of strings additionalInfo Additional configuration parameters for an AWS Resilience Hub application. Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account. Key: "failover-regions" Value: "[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]" excludedResources The list of logical resource identifiers to be excluded from the application. Type: Array Don't add the resources that you want to include. Each excludedResources array item includes the following fields: logicalResourceIds The logical identifier of the resource. Type: Object You can configure only one of the following fields: logicalStackName resourceGroupName terraformSourceName Each logicalResourceIds object includes the following fields: identifier The identifier of the resource. Type: String logicalStackName The name of the CloudFormation stack this resource belongs to. Type: String resourceGroupName The name of the resource group this resource belongs to. Type: String terraformSourceName The name of the Terraform S3 state file this resource belongs to. Type: String + * A JSON string that provides information about your application structure. To learn more about the appTemplateBody template, see the sample template provided in the Examples section. The appTemplateBody JSON string has the following structure: resources The list of logical resources that needs to be included in the Resilience Hub application. Type: Array Don't add the resources that you want to exclude. Each resources array item includes the following fields: logicalResourceId The logical identifier of the resource. Type: Object Each logicalResourceId object includes the following fields: identifier The identifier of the resource. Type: String logicalStackName The name of the CloudFormation stack this resource belongs to. Type: String resourceGroupName The name of the resource group this resource belongs to. Type: String terraformSourceName The name of the Terraform S3 state file this resource belongs to. Type: String type The type of resource. Type: string name The name of the resource. Type: String additionalInfo Additional configuration parameters for an AWS Resilience Hub application. Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account. Key: "failover-regions" Value: "[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]" appComponents The list of Application Components that this resource belongs to. If an Application Component is not part of the AWS Resilience Hub application, it will be added. Type: Array Each appComponents array item includes the following fields: name The name of the Application Component. Type: String type The type of Application Component. For more information about the types of Application Component, see Grouping resources in an AppComponent. Type: String resourceNames The list of included resources that are assigned to the Application Component. Type: Array of strings additionalInfo Additional configuration parameters for an AWS Resilience Hub application. Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account. Key: "failover-regions" Value: "[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]" excludedResources The list of logical resource identifiers to be excluded from the application. Type: Array Don't add the resources that you want to include. Each excludedResources array item includes the following fields: logicalResourceIds The logical identifier of the resource. Type: Object You can configure only one of the following fields: logicalStackName resourceGroupName terraformSourceName Each logicalResourceIds object includes the following fields: identifier The identifier of the resource. Type: String logicalStackName The name of the CloudFormation stack this resource belongs to. Type: String resourceGroupName The name of the resource group this resource belongs to. Type: String terraformSourceName The name of the Terraform S3 state file this resource belongs to. Type: String version The AWS Resilience Hub application version. additionalInfo Additional configuration parameters for an AWS Resilience Hub application. Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account. Key: "failover-regions" Value: "[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]" */ appTemplateBody: AppTemplateBody; /** @@ -1500,6 +1517,29 @@ declare namespace Resiliencehub { export type DisruptionType = "Software"|"Hardware"|"AZ"|"Region"|string; export type DocumentName = string; export type Double = number; + export type EksNamespace = string; + export type EksNamespaceList = EksNamespace[]; + export interface EksSource { + /** + * The Amazon Resource Name (ARN) of the Amazon Elastic Kubernetes Service cluster. The format for this ARN is: arn:aws:eks:region:account-id:cluster/cluster-name. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. + */ + eksClusterArn: Arn; + /** + * The list of namespaces located on your Amazon Elastic Kubernetes Service cluster. + */ + namespaces: EksNamespaceList; + } + export interface EksSourceClusterNamespace { + /** + * The Amazon Resource Name (ARN) of the Amazon Elastic Kubernetes Service cluster. The format for this ARN is: arn:aws:eks:region:account-id:cluster/cluster-name. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. + */ + eksClusterArn: Arn; + /** + * Name of the namespace that is located on your Amazon Elastic Kubernetes Service cluster. + */ + namespace: EksNamespace; + } + export type EksSourceList = EksSource[]; export type EntityDescription = string; export type EntityId = string; export type EntityName = string; @@ -1524,11 +1564,15 @@ declare namespace Resiliencehub { */ appArn: Arn; /** - * The import strategy you would like to set to import resources into AWS Resilience Hub application. + * The input sources of the Amazon Elastic Kubernetes Service resources you need to import. + */ + eksSources?: EksSourceList; + /** + * The import strategy you would like to set to import resources into Resilience Hub application. */ importStrategy?: ResourceImportStrategyType; /** - * The Amazon Resource Names (ARNs) for the resources that you want to import. + * The Amazon Resource Names (ARNs) for the resources. */ sourceArns?: ArnList; /** @@ -1546,7 +1590,11 @@ declare namespace Resiliencehub { */ appVersion: EntityVersion; /** - * The Amazon Resource Names (ARNs) for the resources that you imported. + * The input sources of the Amazon Elastic Kubernetes Service resources you have imported. + */ + eksSources?: EksSourceList; + /** + * The Amazon Resource Names (ARNs) for the resources you have imported. */ sourceArns?: ArnList; /** @@ -1554,7 +1602,7 @@ declare namespace Resiliencehub { */ status: ResourceImportStatusType; /** - * A list of terraform file s3 URLs you need to import. + * A list of terraform file s3 URLs you have imported. */ terraformSources?: TerraformSourceList; } @@ -1575,7 +1623,7 @@ declare namespace Resiliencehub { } export interface ListAlarmRecommendationsResponse { /** - * The alarm recommendations for an AWS Resilience Hub application, returned as an object. This object includes Application Component names, descriptions, information about whether a recommendation has already been implemented or not, prerequisites, and more. + * The alarm recommendations for an Resilience Hub application, returned as an object. This object includes Application Component names, descriptions, information about whether a recommendation has already been implemented or not, prerequisites, and more. */ alarmRecommendations: AlarmRecommendationList; /** @@ -1643,7 +1691,7 @@ declare namespace Resiliencehub { } export interface ListAppComponentCompliancesResponse { /** - * The compliances for an AWS Resilience Hub Application Component, returned as an object. This object contains the names of the Application Components, compliances, costs, resiliency scores, outage scores, and more. + * The compliances for an Resilience Hub Application Component, returned as an object. This object contains the names of the Application Components, compliances, costs, resiliency scores, outage scores, and more. */ componentCompliances: ComponentCompliancesList; /** @@ -1667,7 +1715,7 @@ declare namespace Resiliencehub { } export interface ListAppComponentRecommendationsResponse { /** - * The recommendations for an AWS Resilience Hub Application Component, returned as an object. This object contains the names of the Application Components, configuration recommendations, and recommendation statuses. + * The recommendations for an Resilience Hub Application Component, returned as an object. This object contains the names of the Application Components, configuration recommendations, and recommendation statuses. */ componentRecommendations: ComponentRecommendationList; /** @@ -1685,7 +1733,7 @@ declare namespace Resiliencehub { */ appVersion: EntityVersion; /** - * Maximum number of input sources to be displayed per AWS Resilience Hub application. + * Maximum number of input sources to be displayed per Resilience Hub application. */ maxResults?: MaxResults; /** @@ -1695,7 +1743,7 @@ declare namespace Resiliencehub { } export interface ListAppInputSourcesResponse { /** - * The list of AWS Resilience Hub application input sources. + * The list of Resilience Hub application input sources. */ appInputSources: AppInputSourceList; /** @@ -1847,7 +1895,7 @@ declare namespace Resiliencehub { } export interface ListAppsResponse { /** - * Summaries for the AWS Resilience Hub application. + * Summaries for the Resilience Hub application. */ appSummaries: AppSummaryList; /** @@ -1891,7 +1939,7 @@ declare namespace Resiliencehub { */ nextToken?: NextToken; /** - * The recommendation templates for the AWS Resilience Hub applications. + * The recommendation templates for the Resilience Hub applications. */ recommendationTemplates?: RecommendationTemplateList; } @@ -1915,7 +1963,7 @@ declare namespace Resiliencehub { */ nextToken?: NextToken; /** - * The resiliency policies for the AWS Resilience Hub applications. + * The resiliency policies for the Resilience Hub applications. */ resiliencyPolicies: ResiliencyPolicies; } @@ -1939,7 +1987,7 @@ declare namespace Resiliencehub { */ nextToken?: NextToken; /** - * The standard operating procedure (SOP) recommendations for the AWS Resilience Hub applications. + * The standard operating procedure (SOP) recommendations for the Resilience Hub applications. */ sopRecommendations: SopRecommendationList; } @@ -1959,13 +2007,13 @@ declare namespace Resiliencehub { */ nextToken?: NextToken; /** - * The suggested resiliency policies for the AWS Resilience Hub applications. + * The suggested resiliency policies for the Resilience Hub applications. */ resiliencyPolicies: ResiliencyPolicies; } export interface ListTagsForResourceRequest { /** - * The Amazon Resource Name (ARN) for a specific resource in your AWS Resilience Hub application. + * The Amazon Resource Name (ARN) for a specific resource in your Resilience Hub application. */ resourceArn: Arn; } @@ -1995,7 +2043,7 @@ declare namespace Resiliencehub { */ nextToken?: NextToken; /** - * The test recommendations for the AWS Resilience Hub application. + * The test recommendations for the Resilience Hub application. */ testRecommendations: TestRecommendationList; } @@ -2036,6 +2084,10 @@ declare namespace Resiliencehub { unsupportedResources: UnsupportedResourceList; } export interface LogicalResourceId { + /** + * The name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to. This parameter accepts values in "eks-cluster/namespace" format. + */ + eksSourceName?: String255; /** * The identifier of the resource. */ @@ -2100,7 +2152,7 @@ declare namespace Resiliencehub { */ identifier: String255; /** - * Specifies the type of physical resource identifier. Arn The resource identifier is an Amazon Resource Name (ARN) . Native The resource identifier is an AWS Resilience Hub-native identifier. + * Specifies the type of physical resource identifier. Arn The resource identifier is an Amazon Resource Name (ARN) . Native The resource identifier is an Resilience Hub-native identifier. */ type: PhysicalIdentifierType; } @@ -2127,7 +2179,7 @@ declare namespace Resiliencehub { */ appArn: Arn; /** - * A JSON string that provides information about your application structure. To learn more about the appTemplateBody template, see the sample template provided in the Examples section. The appTemplateBody JSON string has the following structure: resources The list of logical resources that needs to be included in the application. Type: Array Don't add the resources that you want to exclude. Each resources array item includes the following fields: logicalResourceId The logical identifier of the resource. Type: Object Each logicalResourceId object includes the following fields: identifier The identifier of the resource. Type: String logicalStackName The name of the CloudFormation stack this resource belongs to. Type: String resourceGroupName The name of the resource group this resource belongs to. Type: String terraformSourceName The name of the Terraform S3 state file this resource belongs to. Type: String type The type of resource. Type: string name The name of the resource. Type: String appComponents The list of Application Components that this resource belongs to. If an Application Component is not part of the AWS Resilience Hub application, it will be added. Type: Array Each appComponents array item includes the following fields: name The name of the Application Component. Type: String type The type of Application Component. For more information about the types of Application Component, see Grouping resources in an AppComponent. Type: String resourceNames The list of included resources that are assigned to the Application Component. Type: Array of strings additionalInfo Additional configuration parameters for an AWS Resilience Hub application. Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account. Key: "failover-regions" Value: "[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]" excludedResources The list of logical resource identifiers to be excluded from the application. Type: Array Don't add the resources that you want to include. Each excludedResources array item includes the following fields: logicalResourceIds The logical identifier of the resource. Type: Object You can configure only one of the following fields: logicalStackName resourceGroupName terraformSourceName Each logicalResourceIds object includes the following fields: identifier The identifier of the resource. Type: String logicalStackName The name of the CloudFormation stack this resource belongs to. Type: String resourceGroupName The name of the resource group this resource belongs to. Type: String terraformSourceName The name of the Terraform S3 state file this resource belongs to. Type: String + * A JSON string that provides information about your application structure. To learn more about the appTemplateBody template, see the sample template provided in the Examples section. The appTemplateBody JSON string has the following structure: resources The list of logical resources that needs to be included in the Resilience Hub application. Type: Array Don't add the resources that you want to exclude. Each resources array item includes the following fields: logicalResourceId The logical identifier of the resource. Type: Object Each logicalResourceId object includes the following fields: identifier The identifier of the resource. Type: String logicalStackName The name of the CloudFormation stack this resource belongs to. Type: String resourceGroupName The name of the resource group this resource belongs to. Type: String terraformSourceName The name of the Terraform S3 state file this resource belongs to. Type: String type The type of resource. Type: string name The name of the resource. Type: String additionalInfo Additional configuration parameters for an AWS Resilience Hub application. Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account. Key: "failover-regions" Value: "[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]" appComponents The list of Application Components that this resource belongs to. If an Application Component is not part of the AWS Resilience Hub application, it will be added. Type: Array Each appComponents array item includes the following fields: name The name of the Application Component. Type: String type The type of Application Component. For more information about the types of Application Component, see Grouping resources in an AppComponent. Type: String resourceNames The list of included resources that are assigned to the Application Component. Type: Array of strings additionalInfo Additional configuration parameters for an AWS Resilience Hub application. Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account. Key: "failover-regions" Value: "[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]" excludedResources The list of logical resource identifiers to be excluded from the application. Type: Array Don't add the resources that you want to include. Each excludedResources array item includes the following fields: logicalResourceIds The logical identifier of the resource. Type: Object You can configure only one of the following fields: logicalStackName resourceGroupName terraformSourceName Each logicalResourceIds object includes the following fields: identifier The identifier of the resource. Type: String logicalStackName The name of the CloudFormation stack this resource belongs to. Type: String resourceGroupName The name of the resource group this resource belongs to. Type: String terraformSourceName The name of the Terraform S3 state file this resource belongs to. Type: String version The AWS Resilience Hub application version. additionalInfo Additional configuration parameters for an AWS Resilience Hub application. Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account. Key: "failover-regions" Value: "[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]" */ appTemplateBody: AppTemplateBody; } @@ -2255,6 +2307,10 @@ declare namespace Resiliencehub { * The names of the registered applications you want to remove from the resource mappings. */ appRegistryAppNames?: EntityNameList; + /** + * The names of the Amazon Elastic Kubernetes Service clusters and namespaces you want to remove from the resource mappings. This parameter accepts values in "eks-cluster/namespace" format. + */ + eksSourceNames?: String255List; /** * The names of the CloudFormation stacks you want to remove from the resource mappings. */ @@ -2394,12 +2450,16 @@ declare namespace Resiliencehub { * The name of the application this resource is mapped to. */ appRegistryAppName?: EntityName; + /** + * The name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to. This parameter accepts values in "eks-cluster/namespace" format. + */ + eksSourceName?: String255; /** * The name of the CloudFormation stack this resource is mapped to. */ logicalStackName?: String255; /** - * Specifies the type of resource mapping. AppRegistryApp The resource is mapped to another application. The name of the application is contained in the appRegistryAppName property. CfnStack The resource is mapped to a CloudFormation stack. The name of the CloudFormation stack is contained in the logicalStackName property. Resource The resource is mapped to another resource. The name of the resource is contained in the resourceName property. ResourceGroup The resource is mapped to a resource group. The name of the resource group is contained in the resourceGroupName property. + * Specifies the type of resource mapping. AppRegistryApp The resource is mapped to another application. The name of the application is contained in the appRegistryAppName property. CfnStack The resource is mapped to a CloudFormation stack. The name of the CloudFormation stack is contained in the logicalStackName property. Resource The resource is mapped to another resource. The name of the resource is contained in the resourceName property. ResourceGroup The resource is mapped to an Resource Groups. The name of the resource group is contained in the resourceGroupName property. */ mappingType: ResourceMappingType; /** @@ -2420,7 +2480,7 @@ declare namespace Resiliencehub { terraformSourceName?: String255; } export type ResourceMappingList = ResourceMapping[]; - export type ResourceMappingType = "CfnStack"|"Resource"|"AppRegistryApp"|"ResourceGroup"|"Terraform"|string; + export type ResourceMappingType = "CfnStack"|"Resource"|"AppRegistryApp"|"ResourceGroup"|"Terraform"|"EKS"|string; export type ResourceResolutionStatusType = "Pending"|"InProgress"|"Failed"|"Success"|string; export interface S3Location { /** @@ -2525,7 +2585,7 @@ declare namespace Resiliencehub { export type TemplateFormat = "CfnYaml"|"CfnJson"|string; export interface TerraformSource { /** - * The Terraform s3 state file you need to import. + * The URL of the Terraform s3 state file you need to import. */ s3StateFileUrl: S3Url; } @@ -2593,6 +2653,10 @@ declare namespace Resiliencehub { * The type of resource. */ resourceType: String255; + /** + * The status of unsupported resource. + */ + unsupportedResourceStatus?: String255; } export type UnsupportedResourceList = UnsupportedResource[]; export interface UntagResourceRequest { @@ -2662,6 +2726,9 @@ declare namespace Resiliencehub { * The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. */ appArn: Arn; + /** + * The list of Application Components that belong to this resource. + */ appComponent?: AppComponent; /** * The AWS Resilience Hub application version. @@ -2700,7 +2767,7 @@ declare namespace Resiliencehub { */ awsRegion?: AwsRegion; /** - * Indicates if a resource is excluded from an AWS Resilience Hub application. You can exclude only imported resources from an AWS Resilience Hub application. + * Indicates if a resource is excluded from an Resilience Hub application. You can exclude only imported resources from an Resilience Hub application. */ excluded?: BooleanOptional; /** diff --git a/clients/ssm.d.ts b/clients/ssm.d.ts index a7f877517d..eff8b06eb6 100644 --- a/clients/ssm.d.ts +++ b/clients/ssm.d.ts @@ -7062,7 +7062,7 @@ declare namespace SSM { export type NotificationEvent = "All"|"InProgress"|"Success"|"TimedOut"|"Cancelled"|"Failed"|string; export type NotificationEventList = NotificationEvent[]; export type NotificationType = "Command"|"Invocation"|string; - export type OperatingSystem = "WINDOWS"|"AMAZON_LINUX"|"AMAZON_LINUX_2"|"AMAZON_LINUX_2022"|"UBUNTU"|"REDHAT_ENTERPRISE_LINUX"|"SUSE"|"CENTOS"|"ORACLE_LINUX"|"DEBIAN"|"MACOS"|"RASPBIAN"|"ROCKY_LINUX"|string; + export type OperatingSystem = "WINDOWS"|"AMAZON_LINUX"|"AMAZON_LINUX_2"|"AMAZON_LINUX_2022"|"UBUNTU"|"REDHAT_ENTERPRISE_LINUX"|"SUSE"|"CENTOS"|"ORACLE_LINUX"|"DEBIAN"|"MACOS"|"RASPBIAN"|"ROCKY_LINUX"|"ALMA_LINUX"|"AMAZON_LINUX_2023"|string; export interface OpsAggregator { /** * Either a Range or Count aggregator for limiting an OpsData summary. @@ -8390,7 +8390,7 @@ declare namespace SSM { export type RequireType = string; export interface ResetServiceSettingRequest { /** - * The Amazon Resource Name (ARN) of the service setting to reset. The setting ID can be one of the following. /ssm/automation/customer-script-log-destination /ssm/automation/customer-script-log-group-name /ssm/documents/console/public-sharing-permission /ssm/managed-instance/activation-tier /ssm/opsinsights/opscenter /ssm/parameter-store/default-parameter-tier /ssm/parameter-store/high-throughput-enabled + * The Amazon Resource Name (ARN) of the service setting to reset. The setting ID can be one of the following. /ssm/managed-instance/default-ec2-instance-management-role /ssm/automation/customer-script-log-destination /ssm/automation/customer-script-log-group-name /ssm/documents/console/public-sharing-permission /ssm/managed-instance/activation-tier /ssm/opsinsights/opscenter /ssm/parameter-store/default-parameter-tier /ssm/parameter-store/high-throughput-enabled */ SettingId: ServiceSettingId; } @@ -10049,11 +10049,11 @@ declare namespace SSM { } export interface UpdateServiceSettingRequest { /** - * The Amazon Resource Name (ARN) of the service setting to reset. For example, arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled. The setting ID can be one of the following. /ssm/managed-instance/default-ec2-instance-management-role /ssm/automation/customer-script-log-destination /ssm/automation/customer-script-log-group-name /ssm/documents/console/public-sharing-permission /ssm/managed-instance/activation-tier /ssm/opsinsights/opscenter /ssm/parameter-store/default-parameter-tier /ssm/parameter-store/high-throughput-enabled + * The Amazon Resource Name (ARN) of the service setting to update. For example, arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled. The setting ID can be one of the following. /ssm/managed-instance/default-ec2-instance-management-role /ssm/automation/customer-script-log-destination /ssm/automation/customer-script-log-group-name /ssm/documents/console/public-sharing-permission /ssm/managed-instance/activation-tier /ssm/opsinsights/opscenter /ssm/parameter-store/default-parameter-tier /ssm/parameter-store/high-throughput-enabled Permissions to update the /ssm/managed-instance/default-ec2-instance-management-role setting should only be provided to administrators. Implement least privilege access when allowing individuals to configure or modify the Default Host Management Configuration. */ SettingId: ServiceSettingId; /** - * The new value to specify for the service setting. The following list specifies the available values for each setting. /ssm/automation/customer-script-log-destination: CloudWatch /ssm/automation/customer-script-log-group-name: the name of an Amazon CloudWatch Logs log group /ssm/documents/console/public-sharing-permission: Enable or Disable /ssm/managed-instance/activation-tier: standard or advanced /ssm/opsinsights/opscenter: Enabled or Disabled /ssm/parameter-store/default-parameter-tier: Standard, Advanced, Intelligent-Tiering /ssm/parameter-store/high-throughput-enabled: true or false + * The new value to specify for the service setting. The following list specifies the available values for each setting. /ssm/managed-instance/default-ec2-instance-management-role: The name of an IAM role /ssm/automation/customer-script-log-destination: CloudWatch /ssm/automation/customer-script-log-group-name: The name of an Amazon CloudWatch Logs log group /ssm/documents/console/public-sharing-permission: Enable or Disable /ssm/managed-instance/activation-tier: standard or advanced /ssm/opsinsights/opscenter: Enabled or Disabled /ssm/parameter-store/default-parameter-tier: Standard, Advanced, Intelligent-Tiering /ssm/parameter-store/high-throughput-enabled: true or false */ SettingValue: ServiceSettingValue; } diff --git a/dist/aws-sdk-core-react-native.js b/dist/aws-sdk-core-react-native.js index 542bb74abf..86923f36f5 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.1340.0', + VERSION: '2.1341.0', /** * @api private diff --git a/dist/aws-sdk-react-native.js b/dist/aws-sdk-react-native.js index f22e3f51ac..bd073138cd 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.1340.0', + VERSION: '2.1341.0', /** * @api private @@ -59929,7 +59929,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 1112 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-04-30","endpointPrefix":"resiliencehub","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"AWS Resilience Hub","serviceId":"resiliencehub","signatureVersion":"v4","signingName":"resiliencehub","uid":"resiliencehub-2020-04-30"},"operations":{"AddDraftAppVersionResourceMappings":{"http":{"requestUri":"/add-draft-app-version-resource-mappings","responseCode":200},"input":{"type":"structure","required":["appArn","resourceMappings"],"members":{"appArn":{},"resourceMappings":{"shape":"S3"}}},"output":{"type":"structure","required":["appArn","appVersion","resourceMappings"],"members":{"appArn":{},"appVersion":{},"resourceMappings":{"shape":"S3"}}}},"CreateApp":{"http":{"requestUri":"/create-app","responseCode":200},"input":{"type":"structure","required":["name"],"members":{"assessmentSchedule":{},"clientToken":{"idempotencyToken":true},"description":{},"name":{},"policyArn":{},"tags":{"shape":"Si"}}},"output":{"type":"structure","required":["app"],"members":{"app":{"shape":"Sm"}}}},"CreateAppVersionAppComponent":{"http":{"requestUri":"/create-app-version-app-component","responseCode":200},"input":{"type":"structure","required":["appArn","name","type"],"members":{"additionalInfo":{"shape":"Ss"},"appArn":{},"clientToken":{"idempotencyToken":true},"id":{},"name":{},"type":{}}},"output":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appComponent":{"shape":"Sx"},"appVersion":{}}}},"CreateAppVersionResource":{"http":{"requestUri":"/create-app-version-resource","responseCode":200},"input":{"type":"structure","required":["appArn","appComponents","logicalResourceId","physicalResourceId","resourceName","resourceType"],"members":{"additionalInfo":{"shape":"Ss"},"appArn":{},"appComponents":{"shape":"Sz"},"awsAccountId":{},"awsRegion":{},"clientToken":{"idempotencyToken":true},"logicalResourceId":{"shape":"S10"},"physicalResourceId":{},"resourceName":{},"resourceType":{}}},"output":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appVersion":{},"physicalResource":{"shape":"S13"}}}},"CreateRecommendationTemplate":{"http":{"requestUri":"/create-recommendation-template","responseCode":200},"input":{"type":"structure","required":["assessmentArn","name"],"members":{"assessmentArn":{},"bucketName":{},"clientToken":{"idempotencyToken":true},"format":{},"name":{},"recommendationIds":{"shape":"S18"},"recommendationTypes":{"shape":"S1a"},"tags":{"shape":"Si"}}},"output":{"type":"structure","members":{"recommendationTemplate":{"shape":"S1d"}}}},"CreateResiliencyPolicy":{"http":{"requestUri":"/create-resiliency-policy","responseCode":200},"input":{"type":"structure","required":["policy","policyName","tier"],"members":{"clientToken":{"idempotencyToken":true},"dataLocationConstraint":{},"policy":{"shape":"S1j"},"policyDescription":{},"policyName":{},"tags":{"shape":"Si"},"tier":{}}},"output":{"type":"structure","required":["policy"],"members":{"policy":{"shape":"S1p"}}}},"DeleteApp":{"http":{"requestUri":"/delete-app","responseCode":200},"input":{"type":"structure","required":["appArn"],"members":{"appArn":{},"clientToken":{"idempotencyToken":true},"forceDelete":{"type":"boolean"}}},"output":{"type":"structure","required":["appArn"],"members":{"appArn":{}}}},"DeleteAppAssessment":{"http":{"requestUri":"/delete-app-assessment","responseCode":200},"input":{"type":"structure","required":["assessmentArn"],"members":{"assessmentArn":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","required":["assessmentArn","assessmentStatus"],"members":{"assessmentArn":{},"assessmentStatus":{}}}},"DeleteAppInputSource":{"http":{"requestUri":"/delete-app-input-source","responseCode":200},"input":{"type":"structure","required":["appArn"],"members":{"appArn":{},"clientToken":{"idempotencyToken":true},"sourceArn":{},"terraformSource":{"shape":"S1x"}}},"output":{"type":"structure","members":{"appArn":{},"appInputSource":{"shape":"S20"}}}},"DeleteAppVersionAppComponent":{"http":{"requestUri":"/delete-app-version-app-component","responseCode":200},"input":{"type":"structure","required":["appArn","id"],"members":{"appArn":{},"clientToken":{"idempotencyToken":true},"id":{}}},"output":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appComponent":{"shape":"Sx"},"appVersion":{}}}},"DeleteAppVersionResource":{"http":{"requestUri":"/delete-app-version-resource","responseCode":200},"input":{"type":"structure","required":["appArn"],"members":{"appArn":{},"awsAccountId":{},"awsRegion":{},"clientToken":{"idempotencyToken":true},"logicalResourceId":{"shape":"S10"},"physicalResourceId":{},"resourceName":{}}},"output":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appVersion":{},"physicalResource":{"shape":"S13"}}}},"DeleteRecommendationTemplate":{"http":{"requestUri":"/delete-recommendation-template","responseCode":200},"input":{"type":"structure","required":["recommendationTemplateArn"],"members":{"clientToken":{"idempotencyToken":true},"recommendationTemplateArn":{}}},"output":{"type":"structure","required":["recommendationTemplateArn","status"],"members":{"recommendationTemplateArn":{},"status":{}}}},"DeleteResiliencyPolicy":{"http":{"requestUri":"/delete-resiliency-policy","responseCode":200},"input":{"type":"structure","required":["policyArn"],"members":{"clientToken":{"idempotencyToken":true},"policyArn":{}}},"output":{"type":"structure","required":["policyArn"],"members":{"policyArn":{}}}},"DescribeApp":{"http":{"requestUri":"/describe-app","responseCode":200},"input":{"type":"structure","required":["appArn"],"members":{"appArn":{}}},"output":{"type":"structure","required":["app"],"members":{"app":{"shape":"Sm"}}}},"DescribeAppAssessment":{"http":{"requestUri":"/describe-app-assessment","responseCode":200},"input":{"type":"structure","required":["assessmentArn"],"members":{"assessmentArn":{}}},"output":{"type":"structure","required":["assessment"],"members":{"assessment":{"shape":"S2e"}}}},"DescribeAppVersion":{"http":{"requestUri":"/describe-app-version","responseCode":200},"input":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appVersion":{}}},"output":{"type":"structure","required":["appArn","appVersion"],"members":{"additionalInfo":{"shape":"Ss"},"appArn":{},"appVersion":{}}}},"DescribeAppVersionAppComponent":{"http":{"requestUri":"/describe-app-version-app-component","responseCode":200},"input":{"type":"structure","required":["appArn","appVersion","id"],"members":{"appArn":{},"appVersion":{},"id":{}}},"output":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appComponent":{"shape":"Sx"},"appVersion":{}}}},"DescribeAppVersionResource":{"http":{"requestUri":"/describe-app-version-resource","responseCode":200},"input":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appVersion":{},"awsAccountId":{},"awsRegion":{},"logicalResourceId":{"shape":"S10"},"physicalResourceId":{},"resourceName":{}}},"output":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appVersion":{},"physicalResource":{"shape":"S13"}}}},"DescribeAppVersionResourcesResolutionStatus":{"http":{"requestUri":"/describe-app-version-resources-resolution-status","responseCode":200},"input":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appVersion":{},"resolutionId":{}}},"output":{"type":"structure","required":["appArn","appVersion","resolutionId","status"],"members":{"appArn":{},"appVersion":{},"errorMessage":{},"resolutionId":{},"status":{}}}},"DescribeAppVersionTemplate":{"http":{"requestUri":"/describe-app-version-template","responseCode":200},"input":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appVersion":{}}},"output":{"type":"structure","required":["appArn","appTemplateBody","appVersion"],"members":{"appArn":{},"appTemplateBody":{},"appVersion":{}}}},"DescribeDraftAppVersionResourcesImportStatus":{"http":{"requestUri":"/describe-draft-app-version-resources-import-status","responseCode":200},"input":{"type":"structure","required":["appArn"],"members":{"appArn":{}}},"output":{"type":"structure","required":["appArn","appVersion","status","statusChangeTime"],"members":{"appArn":{},"appVersion":{},"errorMessage":{},"status":{},"statusChangeTime":{"type":"timestamp"}}}},"DescribeResiliencyPolicy":{"http":{"requestUri":"/describe-resiliency-policy","responseCode":200},"input":{"type":"structure","required":["policyArn"],"members":{"policyArn":{}}},"output":{"type":"structure","required":["policy"],"members":{"policy":{"shape":"S1p"}}}},"ImportResourcesToDraftAppVersion":{"http":{"requestUri":"/import-resources-to-draft-app-version","responseCode":200},"input":{"type":"structure","required":["appArn"],"members":{"appArn":{},"importStrategy":{},"sourceArns":{"shape":"S3b"},"terraformSources":{"shape":"S3c"}}},"output":{"type":"structure","required":["appArn","appVersion","status"],"members":{"appArn":{},"appVersion":{},"sourceArns":{"shape":"S3b"},"status":{},"terraformSources":{"shape":"S3c"}}}},"ListAlarmRecommendations":{"http":{"requestUri":"/list-alarm-recommendations","responseCode":200},"input":{"type":"structure","required":["assessmentArn"],"members":{"assessmentArn":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["alarmRecommendations"],"members":{"alarmRecommendations":{"type":"list","member":{"type":"structure","required":["name","recommendationId","referenceId","type"],"members":{"appComponentName":{},"description":{},"items":{"shape":"S3l"},"name":{},"prerequisite":{},"recommendationId":{},"referenceId":{},"type":{}}}},"nextToken":{}}}},"ListAppAssessments":{"http":{"method":"GET","requestUri":"/list-app-assessments","responseCode":200},"input":{"type":"structure","members":{"appArn":{"location":"querystring","locationName":"appArn"},"assessmentName":{"location":"querystring","locationName":"assessmentName"},"assessmentStatus":{"location":"querystring","locationName":"assessmentStatus","type":"list","member":{}},"complianceStatus":{"location":"querystring","locationName":"complianceStatus"},"invoker":{"location":"querystring","locationName":"invoker"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"},"reverseOrder":{"location":"querystring","locationName":"reverseOrder","type":"boolean"}}},"output":{"type":"structure","required":["assessmentSummaries"],"members":{"assessmentSummaries":{"type":"list","member":{"type":"structure","required":["assessmentArn","assessmentStatus"],"members":{"appArn":{},"appVersion":{},"assessmentArn":{},"assessmentName":{},"assessmentStatus":{},"complianceStatus":{},"cost":{"shape":"S2i"},"endTime":{"type":"timestamp"},"invoker":{},"message":{},"resiliencyScore":{"type":"double"},"startTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListAppComponentCompliances":{"http":{"requestUri":"/list-app-component-compliances","responseCode":200},"input":{"type":"structure","required":["assessmentArn"],"members":{"assessmentArn":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["componentCompliances"],"members":{"componentCompliances":{"type":"list","member":{"type":"structure","members":{"appComponentName":{},"compliance":{"shape":"S2f"},"cost":{"shape":"S2i"},"message":{},"resiliencyScore":{"shape":"S2m"},"status":{}}}},"nextToken":{}}}},"ListAppComponentRecommendations":{"http":{"requestUri":"/list-app-component-recommendations","responseCode":200},"input":{"type":"structure","required":["assessmentArn"],"members":{"assessmentArn":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["componentRecommendations"],"members":{"componentRecommendations":{"type":"list","member":{"type":"structure","required":["appComponentName","configRecommendations","recommendationStatus"],"members":{"appComponentName":{},"configRecommendations":{"type":"list","member":{"type":"structure","required":["name","optimizationType","referenceId"],"members":{"appComponentName":{},"compliance":{"shape":"S2f"},"cost":{"shape":"S2i"},"description":{},"haArchitecture":{},"name":{},"optimizationType":{},"recommendationCompliance":{"type":"map","key":{},"value":{"type":"structure","required":["expectedComplianceStatus"],"members":{"expectedComplianceStatus":{},"expectedRpoDescription":{},"expectedRpoInSecs":{"type":"integer"},"expectedRtoDescription":{},"expectedRtoInSecs":{"type":"integer"}}}},"referenceId":{},"suggestedChanges":{"type":"list","member":{}}}}},"recommendationStatus":{}}}},"nextToken":{}}}},"ListAppInputSources":{"http":{"requestUri":"/list-app-input-sources","responseCode":200},"input":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appVersion":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["appInputSources"],"members":{"appInputSources":{"type":"list","member":{"shape":"S20"}},"nextToken":{}}}},"ListAppVersionAppComponents":{"http":{"requestUri":"/list-app-version-app-components","responseCode":200},"input":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appVersion":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appComponents":{"shape":"S14"},"appVersion":{},"nextToken":{}}}},"ListAppVersionResourceMappings":{"http":{"requestUri":"/list-app-version-resource-mappings","responseCode":200},"input":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appVersion":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["resourceMappings"],"members":{"nextToken":{},"resourceMappings":{"shape":"S3"}}}},"ListAppVersionResources":{"http":{"requestUri":"/list-app-version-resources","responseCode":200},"input":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appVersion":{},"maxResults":{"type":"integer"},"nextToken":{},"resolutionId":{}}},"output":{"type":"structure","required":["physicalResources","resolutionId"],"members":{"nextToken":{},"physicalResources":{"type":"list","member":{"shape":"S13"}},"resolutionId":{}}}},"ListAppVersions":{"http":{"requestUri":"/list-app-versions","responseCode":200},"input":{"type":"structure","required":["appArn"],"members":{"appArn":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["appVersions"],"members":{"appVersions":{"type":"list","member":{"type":"structure","required":["appVersion"],"members":{"appVersion":{}}}},"nextToken":{}}}},"ListApps":{"http":{"method":"GET","requestUri":"/list-apps","responseCode":200},"input":{"type":"structure","members":{"appArn":{"location":"querystring","locationName":"appArn"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"name":{"location":"querystring","locationName":"name"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["appSummaries"],"members":{"appSummaries":{"type":"list","member":{"type":"structure","required":["appArn","creationTime","name"],"members":{"appArn":{},"assessmentSchedule":{},"complianceStatus":{},"creationTime":{"type":"timestamp"},"description":{},"name":{},"resiliencyScore":{"type":"double"},"status":{}}}},"nextToken":{}}}},"ListRecommendationTemplates":{"http":{"method":"GET","requestUri":"/list-recommendation-templates","responseCode":200},"input":{"type":"structure","required":["assessmentArn"],"members":{"assessmentArn":{"location":"querystring","locationName":"assessmentArn"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"name":{"location":"querystring","locationName":"name"},"nextToken":{"location":"querystring","locationName":"nextToken"},"recommendationTemplateArn":{"location":"querystring","locationName":"recommendationTemplateArn"},"reverseOrder":{"location":"querystring","locationName":"reverseOrder","type":"boolean"},"status":{"location":"querystring","locationName":"status","type":"list","member":{}}}},"output":{"type":"structure","members":{"nextToken":{},"recommendationTemplates":{"type":"list","member":{"shape":"S1d"}}}}},"ListResiliencyPolicies":{"http":{"method":"GET","requestUri":"/list-resiliency-policies","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"},"policyName":{"location":"querystring","locationName":"policyName"}}},"output":{"type":"structure","required":["resiliencyPolicies"],"members":{"nextToken":{},"resiliencyPolicies":{"shape":"S4y"}}}},"ListSopRecommendations":{"http":{"requestUri":"/list-sop-recommendations","responseCode":200},"input":{"type":"structure","required":["assessmentArn"],"members":{"assessmentArn":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["sopRecommendations"],"members":{"nextToken":{},"sopRecommendations":{"type":"list","member":{"type":"structure","required":["recommendationId","referenceId","serviceType"],"members":{"appComponentName":{},"description":{},"items":{"shape":"S3l"},"name":{},"prerequisite":{},"recommendationId":{},"referenceId":{},"serviceType":{}}}}}}},"ListSuggestedResiliencyPolicies":{"http":{"method":"GET","requestUri":"/list-suggested-resiliency-policies","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["resiliencyPolicies"],"members":{"nextToken":{},"resiliencyPolicies":{"shape":"S4y"}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"Si"}}}},"ListTestRecommendations":{"http":{"requestUri":"/list-test-recommendations","responseCode":200},"input":{"type":"structure","required":["assessmentArn"],"members":{"assessmentArn":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["testRecommendations"],"members":{"nextToken":{},"testRecommendations":{"type":"list","member":{"type":"structure","required":["referenceId"],"members":{"appComponentName":{},"dependsOnAlarms":{"type":"list","member":{}},"description":{},"intent":{},"items":{"shape":"S3l"},"name":{},"prerequisite":{},"recommendationId":{},"referenceId":{},"risk":{},"type":{}}}}}}},"ListUnsupportedAppVersionResources":{"http":{"requestUri":"/list-unsupported-app-version-resources","responseCode":200},"input":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appVersion":{},"maxResults":{"type":"integer"},"nextToken":{},"resolutionId":{}}},"output":{"type":"structure","required":["resolutionId","unsupportedResources"],"members":{"nextToken":{},"resolutionId":{},"unsupportedResources":{"type":"list","member":{"type":"structure","required":["logicalResourceId","physicalResourceId","resourceType"],"members":{"logicalResourceId":{"shape":"S10"},"physicalResourceId":{"shape":"S8"},"resourceType":{}}}}}}},"PublishAppVersion":{"http":{"requestUri":"/publish-app-version","responseCode":200},"input":{"type":"structure","required":["appArn"],"members":{"appArn":{}}},"output":{"type":"structure","required":["appArn"],"members":{"appArn":{},"appVersion":{}}}},"PutDraftAppVersionTemplate":{"http":{"requestUri":"/put-draft-app-version-template","responseCode":200},"input":{"type":"structure","required":["appArn","appTemplateBody"],"members":{"appArn":{},"appTemplateBody":{}}},"output":{"type":"structure","members":{"appArn":{},"appVersion":{}}}},"RemoveDraftAppVersionResourceMappings":{"http":{"requestUri":"/remove-draft-app-version-resource-mappings","responseCode":200},"input":{"type":"structure","required":["appArn"],"members":{"appArn":{},"appRegistryAppNames":{"shape":"S5p"},"logicalStackNames":{"shape":"S5q"},"resourceGroupNames":{"shape":"S5p"},"resourceNames":{"shape":"S5p"},"terraformSourceNames":{"shape":"S5q"}}},"output":{"type":"structure","members":{"appArn":{},"appVersion":{}}}},"ResolveAppVersionResources":{"http":{"requestUri":"/resolve-app-version-resources","responseCode":200},"input":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appVersion":{}}},"output":{"type":"structure","required":["appArn","appVersion","resolutionId","status"],"members":{"appArn":{},"appVersion":{},"resolutionId":{},"status":{}}}},"StartAppAssessment":{"http":{"requestUri":"/start-app-assessment","responseCode":200},"input":{"type":"structure","required":["appArn","appVersion","assessmentName"],"members":{"appArn":{},"appVersion":{},"assessmentName":{},"clientToken":{"idempotencyToken":true},"tags":{"shape":"Si"}}},"output":{"type":"structure","required":["assessment"],"members":{"assessment":{"shape":"S2e"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"Si"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{},"sensitive":true}}},"output":{"type":"structure","members":{}}},"UpdateApp":{"http":{"requestUri":"/update-app","responseCode":200},"input":{"type":"structure","required":["appArn"],"members":{"appArn":{},"assessmentSchedule":{},"clearResiliencyPolicyArn":{"type":"boolean"},"description":{},"policyArn":{}}},"output":{"type":"structure","required":["app"],"members":{"app":{"shape":"Sm"}}}},"UpdateAppVersion":{"http":{"requestUri":"/update-app-version","responseCode":200},"input":{"type":"structure","required":["appArn"],"members":{"additionalInfo":{"shape":"Ss"},"appArn":{}}},"output":{"type":"structure","required":["appArn","appVersion"],"members":{"additionalInfo":{"shape":"Ss"},"appArn":{},"appVersion":{}}}},"UpdateAppVersionAppComponent":{"http":{"requestUri":"/update-app-version-app-component","responseCode":200},"input":{"type":"structure","required":["appArn","id"],"members":{"additionalInfo":{"shape":"Ss"},"appArn":{},"id":{},"name":{},"type":{}}},"output":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appComponent":{"shape":"Sx"},"appVersion":{}}}},"UpdateAppVersionResource":{"http":{"requestUri":"/update-app-version-resource","responseCode":200},"input":{"type":"structure","required":["appArn"],"members":{"additionalInfo":{"shape":"Ss"},"appArn":{},"appComponents":{"shape":"Sz"},"awsAccountId":{},"awsRegion":{},"excluded":{"type":"boolean"},"logicalResourceId":{"shape":"S10"},"physicalResourceId":{},"resourceName":{},"resourceType":{}}},"output":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appVersion":{},"physicalResource":{"shape":"S13"}}}},"UpdateResiliencyPolicy":{"http":{"requestUri":"/update-resiliency-policy","responseCode":200},"input":{"type":"structure","required":["policyArn"],"members":{"dataLocationConstraint":{},"policy":{"shape":"S1j"},"policyArn":{},"policyDescription":{},"policyName":{},"tier":{}}},"output":{"type":"structure","required":["policy"],"members":{"policy":{"shape":"S1p"}}}}},"shapes":{"S3":{"type":"list","member":{"type":"structure","required":["mappingType","physicalResourceId"],"members":{"appRegistryAppName":{},"logicalStackName":{},"mappingType":{},"physicalResourceId":{"shape":"S8"},"resourceGroupName":{},"resourceName":{},"terraformSourceName":{}}}},"S8":{"type":"structure","required":["identifier","type"],"members":{"awsAccountId":{},"awsRegion":{},"identifier":{},"type":{}}},"Si":{"type":"map","key":{},"value":{},"sensitive":true},"Sm":{"type":"structure","required":["appArn","creationTime","name"],"members":{"appArn":{},"assessmentSchedule":{},"complianceStatus":{},"creationTime":{"type":"timestamp"},"description":{},"lastAppComplianceEvaluationTime":{"type":"timestamp"},"lastResiliencyScoreEvaluationTime":{"type":"timestamp"},"name":{},"policyArn":{},"resiliencyScore":{"type":"double"},"status":{},"tags":{"shape":"Si"}}},"Ss":{"type":"map","key":{},"value":{"type":"list","member":{}}},"Sx":{"type":"structure","required":["name","type"],"members":{"additionalInfo":{"shape":"Ss"},"id":{},"name":{},"type":{}}},"Sz":{"type":"list","member":{}},"S10":{"type":"structure","required":["identifier"],"members":{"identifier":{},"logicalStackName":{},"resourceGroupName":{},"terraformSourceName":{}}},"S13":{"type":"structure","required":["logicalResourceId","physicalResourceId","resourceType"],"members":{"additionalInfo":{"shape":"Ss"},"appComponents":{"shape":"S14"},"excluded":{"type":"boolean"},"logicalResourceId":{"shape":"S10"},"physicalResourceId":{"shape":"S8"},"resourceName":{},"resourceType":{}}},"S14":{"type":"list","member":{"shape":"Sx"}},"S18":{"type":"list","member":{}},"S1a":{"type":"list","member":{}},"S1d":{"type":"structure","required":["assessmentArn","format","name","recommendationTemplateArn","recommendationTypes","status"],"members":{"appArn":{},"assessmentArn":{},"endTime":{"type":"timestamp"},"format":{},"message":{},"name":{},"needsReplacements":{"type":"boolean"},"recommendationIds":{"shape":"S18"},"recommendationTemplateArn":{},"recommendationTypes":{"shape":"S1a"},"startTime":{"type":"timestamp"},"status":{},"tags":{"shape":"Si"},"templatesLocation":{"type":"structure","members":{"bucket":{},"prefix":{}}}}},"S1j":{"type":"map","key":{},"value":{"type":"structure","required":["rpoInSecs","rtoInSecs"],"members":{"rpoInSecs":{"type":"integer"},"rtoInSecs":{"type":"integer"}}}},"S1p":{"type":"structure","members":{"creationTime":{"type":"timestamp"},"dataLocationConstraint":{},"estimatedCostTier":{},"policy":{"shape":"S1j"},"policyArn":{},"policyDescription":{},"policyName":{},"tags":{"shape":"Si"},"tier":{}}},"S1x":{"type":"structure","required":["s3StateFileUrl"],"members":{"s3StateFileUrl":{}}},"S20":{"type":"structure","required":["importType"],"members":{"importType":{},"resourceCount":{"type":"integer"},"sourceArn":{},"sourceName":{},"terraformSource":{"shape":"S1x"}}},"S2e":{"type":"structure","required":["assessmentArn","assessmentStatus","invoker"],"members":{"appArn":{},"appVersion":{},"assessmentArn":{},"assessmentName":{},"assessmentStatus":{},"compliance":{"shape":"S2f"},"complianceStatus":{},"cost":{"shape":"S2i"},"endTime":{"type":"timestamp"},"invoker":{},"message":{},"policy":{"shape":"S1p"},"resiliencyScore":{"shape":"S2m"},"resourceErrorsDetails":{"type":"structure","members":{"hasMoreErrors":{"type":"boolean"},"resourceErrors":{"type":"list","member":{"type":"structure","members":{"logicalResourceId":{},"physicalResourceId":{},"reason":{}}}}}},"startTime":{"type":"timestamp"},"tags":{"shape":"Si"}}},"S2f":{"type":"map","key":{},"value":{"type":"structure","required":["complianceStatus"],"members":{"achievableRpoInSecs":{"type":"integer"},"achievableRtoInSecs":{"type":"integer"},"complianceStatus":{},"currentRpoInSecs":{"type":"integer"},"currentRtoInSecs":{"type":"integer"},"message":{},"rpoDescription":{},"rpoReferenceId":{},"rtoDescription":{},"rtoReferenceId":{}}}},"S2i":{"type":"structure","required":["amount","currency","frequency"],"members":{"amount":{"type":"double"},"currency":{},"frequency":{}}},"S2m":{"type":"structure","required":["disruptionScore","score"],"members":{"disruptionScore":{"type":"map","key":{},"value":{"type":"double"}},"score":{"type":"double"}}},"S3b":{"type":"list","member":{}},"S3c":{"type":"list","member":{"shape":"S1x"}},"S3l":{"type":"list","member":{"type":"structure","members":{"alreadyImplemented":{"type":"boolean"},"resourceId":{},"targetAccountId":{},"targetRegion":{}}}},"S4y":{"type":"list","member":{"shape":"S1p"}},"S5p":{"type":"list","member":{}},"S5q":{"type":"list","member":{}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-04-30","endpointPrefix":"resiliencehub","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"AWS Resilience Hub","serviceId":"resiliencehub","signatureVersion":"v4","signingName":"resiliencehub","uid":"resiliencehub-2020-04-30"},"operations":{"AddDraftAppVersionResourceMappings":{"http":{"requestUri":"/add-draft-app-version-resource-mappings","responseCode":200},"input":{"type":"structure","required":["appArn","resourceMappings"],"members":{"appArn":{},"resourceMappings":{"shape":"S3"}}},"output":{"type":"structure","required":["appArn","appVersion","resourceMappings"],"members":{"appArn":{},"appVersion":{},"resourceMappings":{"shape":"S3"}}}},"CreateApp":{"http":{"requestUri":"/create-app","responseCode":200},"input":{"type":"structure","required":["name"],"members":{"assessmentSchedule":{},"clientToken":{"idempotencyToken":true},"description":{},"name":{},"policyArn":{},"tags":{"shape":"Si"}}},"output":{"type":"structure","required":["app"],"members":{"app":{"shape":"Sm"}}}},"CreateAppVersionAppComponent":{"http":{"requestUri":"/create-app-version-app-component","responseCode":200},"input":{"type":"structure","required":["appArn","name","type"],"members":{"additionalInfo":{"shape":"Ss"},"appArn":{},"clientToken":{"idempotencyToken":true},"id":{},"name":{},"type":{}}},"output":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appComponent":{"shape":"Sx"},"appVersion":{}}}},"CreateAppVersionResource":{"http":{"requestUri":"/create-app-version-resource","responseCode":200},"input":{"type":"structure","required":["appArn","appComponents","logicalResourceId","physicalResourceId","resourceName","resourceType"],"members":{"additionalInfo":{"shape":"Ss"},"appArn":{},"appComponents":{"shape":"Sz"},"awsAccountId":{},"awsRegion":{},"clientToken":{"idempotencyToken":true},"logicalResourceId":{"shape":"S10"},"physicalResourceId":{},"resourceName":{},"resourceType":{}}},"output":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appVersion":{},"physicalResource":{"shape":"S13"}}}},"CreateRecommendationTemplate":{"http":{"requestUri":"/create-recommendation-template","responseCode":200},"input":{"type":"structure","required":["assessmentArn","name"],"members":{"assessmentArn":{},"bucketName":{},"clientToken":{"idempotencyToken":true},"format":{},"name":{},"recommendationIds":{"shape":"S18"},"recommendationTypes":{"shape":"S1a"},"tags":{"shape":"Si"}}},"output":{"type":"structure","members":{"recommendationTemplate":{"shape":"S1d"}}}},"CreateResiliencyPolicy":{"http":{"requestUri":"/create-resiliency-policy","responseCode":200},"input":{"type":"structure","required":["policy","policyName","tier"],"members":{"clientToken":{"idempotencyToken":true},"dataLocationConstraint":{},"policy":{"shape":"S1j"},"policyDescription":{},"policyName":{},"tags":{"shape":"Si"},"tier":{}}},"output":{"type":"structure","required":["policy"],"members":{"policy":{"shape":"S1p"}}}},"DeleteApp":{"http":{"requestUri":"/delete-app","responseCode":200},"input":{"type":"structure","required":["appArn"],"members":{"appArn":{},"clientToken":{"idempotencyToken":true},"forceDelete":{"type":"boolean"}}},"output":{"type":"structure","required":["appArn"],"members":{"appArn":{}}}},"DeleteAppAssessment":{"http":{"requestUri":"/delete-app-assessment","responseCode":200},"input":{"type":"structure","required":["assessmentArn"],"members":{"assessmentArn":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","required":["assessmentArn","assessmentStatus"],"members":{"assessmentArn":{},"assessmentStatus":{}}}},"DeleteAppInputSource":{"http":{"requestUri":"/delete-app-input-source","responseCode":200},"input":{"type":"structure","required":["appArn"],"members":{"appArn":{},"clientToken":{"idempotencyToken":true},"eksSourceClusterNamespace":{"shape":"S1x"},"sourceArn":{},"terraformSource":{"shape":"S1z"}}},"output":{"type":"structure","members":{"appArn":{},"appInputSource":{"shape":"S22"}}}},"DeleteAppVersionAppComponent":{"http":{"requestUri":"/delete-app-version-app-component","responseCode":200},"input":{"type":"structure","required":["appArn","id"],"members":{"appArn":{},"clientToken":{"idempotencyToken":true},"id":{}}},"output":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appComponent":{"shape":"Sx"},"appVersion":{}}}},"DeleteAppVersionResource":{"http":{"requestUri":"/delete-app-version-resource","responseCode":200},"input":{"type":"structure","required":["appArn"],"members":{"appArn":{},"awsAccountId":{},"awsRegion":{},"clientToken":{"idempotencyToken":true},"logicalResourceId":{"shape":"S10"},"physicalResourceId":{},"resourceName":{}}},"output":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appVersion":{},"physicalResource":{"shape":"S13"}}}},"DeleteRecommendationTemplate":{"http":{"requestUri":"/delete-recommendation-template","responseCode":200},"input":{"type":"structure","required":["recommendationTemplateArn"],"members":{"clientToken":{"idempotencyToken":true},"recommendationTemplateArn":{}}},"output":{"type":"structure","required":["recommendationTemplateArn","status"],"members":{"recommendationTemplateArn":{},"status":{}}}},"DeleteResiliencyPolicy":{"http":{"requestUri":"/delete-resiliency-policy","responseCode":200},"input":{"type":"structure","required":["policyArn"],"members":{"clientToken":{"idempotencyToken":true},"policyArn":{}}},"output":{"type":"structure","required":["policyArn"],"members":{"policyArn":{}}}},"DescribeApp":{"http":{"requestUri":"/describe-app","responseCode":200},"input":{"type":"structure","required":["appArn"],"members":{"appArn":{}}},"output":{"type":"structure","required":["app"],"members":{"app":{"shape":"Sm"}}}},"DescribeAppAssessment":{"http":{"requestUri":"/describe-app-assessment","responseCode":200},"input":{"type":"structure","required":["assessmentArn"],"members":{"assessmentArn":{}}},"output":{"type":"structure","required":["assessment"],"members":{"assessment":{"shape":"S2g"}}}},"DescribeAppVersion":{"http":{"requestUri":"/describe-app-version","responseCode":200},"input":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appVersion":{}}},"output":{"type":"structure","required":["appArn","appVersion"],"members":{"additionalInfo":{"shape":"Ss"},"appArn":{},"appVersion":{}}}},"DescribeAppVersionAppComponent":{"http":{"requestUri":"/describe-app-version-app-component","responseCode":200},"input":{"type":"structure","required":["appArn","appVersion","id"],"members":{"appArn":{},"appVersion":{},"id":{}}},"output":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appComponent":{"shape":"Sx"},"appVersion":{}}}},"DescribeAppVersionResource":{"http":{"requestUri":"/describe-app-version-resource","responseCode":200},"input":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appVersion":{},"awsAccountId":{},"awsRegion":{},"logicalResourceId":{"shape":"S10"},"physicalResourceId":{},"resourceName":{}}},"output":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appVersion":{},"physicalResource":{"shape":"S13"}}}},"DescribeAppVersionResourcesResolutionStatus":{"http":{"requestUri":"/describe-app-version-resources-resolution-status","responseCode":200},"input":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appVersion":{},"resolutionId":{}}},"output":{"type":"structure","required":["appArn","appVersion","resolutionId","status"],"members":{"appArn":{},"appVersion":{},"errorMessage":{},"resolutionId":{},"status":{}}}},"DescribeAppVersionTemplate":{"http":{"requestUri":"/describe-app-version-template","responseCode":200},"input":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appVersion":{}}},"output":{"type":"structure","required":["appArn","appTemplateBody","appVersion"],"members":{"appArn":{},"appTemplateBody":{},"appVersion":{}}}},"DescribeDraftAppVersionResourcesImportStatus":{"http":{"requestUri":"/describe-draft-app-version-resources-import-status","responseCode":200},"input":{"type":"structure","required":["appArn"],"members":{"appArn":{}}},"output":{"type":"structure","required":["appArn","appVersion","status","statusChangeTime"],"members":{"appArn":{},"appVersion":{},"errorMessage":{},"status":{},"statusChangeTime":{"type":"timestamp"}}}},"DescribeResiliencyPolicy":{"http":{"requestUri":"/describe-resiliency-policy","responseCode":200},"input":{"type":"structure","required":["policyArn"],"members":{"policyArn":{}}},"output":{"type":"structure","required":["policy"],"members":{"policy":{"shape":"S1p"}}}},"ImportResourcesToDraftAppVersion":{"http":{"requestUri":"/import-resources-to-draft-app-version","responseCode":200},"input":{"type":"structure","required":["appArn"],"members":{"appArn":{},"eksSources":{"shape":"S3c"},"importStrategy":{},"sourceArns":{"shape":"S3g"},"terraformSources":{"shape":"S3h"}}},"output":{"type":"structure","required":["appArn","appVersion","status"],"members":{"appArn":{},"appVersion":{},"eksSources":{"shape":"S3c"},"sourceArns":{"shape":"S3g"},"status":{},"terraformSources":{"shape":"S3h"}}}},"ListAlarmRecommendations":{"http":{"requestUri":"/list-alarm-recommendations","responseCode":200},"input":{"type":"structure","required":["assessmentArn"],"members":{"assessmentArn":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["alarmRecommendations"],"members":{"alarmRecommendations":{"type":"list","member":{"type":"structure","required":["name","recommendationId","referenceId","type"],"members":{"appComponentName":{},"description":{},"items":{"shape":"S3q"},"name":{},"prerequisite":{},"recommendationId":{},"referenceId":{},"type":{}}}},"nextToken":{}}}},"ListAppAssessments":{"http":{"method":"GET","requestUri":"/list-app-assessments","responseCode":200},"input":{"type":"structure","members":{"appArn":{"location":"querystring","locationName":"appArn"},"assessmentName":{"location":"querystring","locationName":"assessmentName"},"assessmentStatus":{"location":"querystring","locationName":"assessmentStatus","type":"list","member":{}},"complianceStatus":{"location":"querystring","locationName":"complianceStatus"},"invoker":{"location":"querystring","locationName":"invoker"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"},"reverseOrder":{"location":"querystring","locationName":"reverseOrder","type":"boolean"}}},"output":{"type":"structure","required":["assessmentSummaries"],"members":{"assessmentSummaries":{"type":"list","member":{"type":"structure","required":["assessmentArn","assessmentStatus"],"members":{"appArn":{},"appVersion":{},"assessmentArn":{},"assessmentName":{},"assessmentStatus":{},"complianceStatus":{},"cost":{"shape":"S2k"},"endTime":{"type":"timestamp"},"invoker":{},"message":{},"resiliencyScore":{"type":"double"},"startTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListAppComponentCompliances":{"http":{"requestUri":"/list-app-component-compliances","responseCode":200},"input":{"type":"structure","required":["assessmentArn"],"members":{"assessmentArn":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["componentCompliances"],"members":{"componentCompliances":{"type":"list","member":{"type":"structure","members":{"appComponentName":{},"compliance":{"shape":"S2h"},"cost":{"shape":"S2k"},"message":{},"resiliencyScore":{"shape":"S2o"},"status":{}}}},"nextToken":{}}}},"ListAppComponentRecommendations":{"http":{"requestUri":"/list-app-component-recommendations","responseCode":200},"input":{"type":"structure","required":["assessmentArn"],"members":{"assessmentArn":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["componentRecommendations"],"members":{"componentRecommendations":{"type":"list","member":{"type":"structure","required":["appComponentName","configRecommendations","recommendationStatus"],"members":{"appComponentName":{},"configRecommendations":{"type":"list","member":{"type":"structure","required":["name","optimizationType","referenceId"],"members":{"appComponentName":{},"compliance":{"shape":"S2h"},"cost":{"shape":"S2k"},"description":{},"haArchitecture":{},"name":{},"optimizationType":{},"recommendationCompliance":{"type":"map","key":{},"value":{"type":"structure","required":["expectedComplianceStatus"],"members":{"expectedComplianceStatus":{},"expectedRpoDescription":{},"expectedRpoInSecs":{"type":"integer"},"expectedRtoDescription":{},"expectedRtoInSecs":{"type":"integer"}}}},"referenceId":{},"suggestedChanges":{"type":"list","member":{}}}}},"recommendationStatus":{}}}},"nextToken":{}}}},"ListAppInputSources":{"http":{"requestUri":"/list-app-input-sources","responseCode":200},"input":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appVersion":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["appInputSources"],"members":{"appInputSources":{"type":"list","member":{"shape":"S22"}},"nextToken":{}}}},"ListAppVersionAppComponents":{"http":{"requestUri":"/list-app-version-app-components","responseCode":200},"input":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appVersion":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appComponents":{"shape":"S14"},"appVersion":{},"nextToken":{}}}},"ListAppVersionResourceMappings":{"http":{"requestUri":"/list-app-version-resource-mappings","responseCode":200},"input":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appVersion":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["resourceMappings"],"members":{"nextToken":{},"resourceMappings":{"shape":"S3"}}}},"ListAppVersionResources":{"http":{"requestUri":"/list-app-version-resources","responseCode":200},"input":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appVersion":{},"maxResults":{"type":"integer"},"nextToken":{},"resolutionId":{}}},"output":{"type":"structure","required":["physicalResources","resolutionId"],"members":{"nextToken":{},"physicalResources":{"type":"list","member":{"shape":"S13"}},"resolutionId":{}}}},"ListAppVersions":{"http":{"requestUri":"/list-app-versions","responseCode":200},"input":{"type":"structure","required":["appArn"],"members":{"appArn":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["appVersions"],"members":{"appVersions":{"type":"list","member":{"type":"structure","required":["appVersion"],"members":{"appVersion":{}}}},"nextToken":{}}}},"ListApps":{"http":{"method":"GET","requestUri":"/list-apps","responseCode":200},"input":{"type":"structure","members":{"appArn":{"location":"querystring","locationName":"appArn"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"name":{"location":"querystring","locationName":"name"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["appSummaries"],"members":{"appSummaries":{"type":"list","member":{"type":"structure","required":["appArn","creationTime","name"],"members":{"appArn":{},"assessmentSchedule":{},"complianceStatus":{},"creationTime":{"type":"timestamp"},"description":{},"name":{},"resiliencyScore":{"type":"double"},"status":{}}}},"nextToken":{}}}},"ListRecommendationTemplates":{"http":{"method":"GET","requestUri":"/list-recommendation-templates","responseCode":200},"input":{"type":"structure","required":["assessmentArn"],"members":{"assessmentArn":{"location":"querystring","locationName":"assessmentArn"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"name":{"location":"querystring","locationName":"name"},"nextToken":{"location":"querystring","locationName":"nextToken"},"recommendationTemplateArn":{"location":"querystring","locationName":"recommendationTemplateArn"},"reverseOrder":{"location":"querystring","locationName":"reverseOrder","type":"boolean"},"status":{"location":"querystring","locationName":"status","type":"list","member":{}}}},"output":{"type":"structure","members":{"nextToken":{},"recommendationTemplates":{"type":"list","member":{"shape":"S1d"}}}}},"ListResiliencyPolicies":{"http":{"method":"GET","requestUri":"/list-resiliency-policies","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"},"policyName":{"location":"querystring","locationName":"policyName"}}},"output":{"type":"structure","required":["resiliencyPolicies"],"members":{"nextToken":{},"resiliencyPolicies":{"shape":"S53"}}}},"ListSopRecommendations":{"http":{"requestUri":"/list-sop-recommendations","responseCode":200},"input":{"type":"structure","required":["assessmentArn"],"members":{"assessmentArn":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["sopRecommendations"],"members":{"nextToken":{},"sopRecommendations":{"type":"list","member":{"type":"structure","required":["recommendationId","referenceId","serviceType"],"members":{"appComponentName":{},"description":{},"items":{"shape":"S3q"},"name":{},"prerequisite":{},"recommendationId":{},"referenceId":{},"serviceType":{}}}}}}},"ListSuggestedResiliencyPolicies":{"http":{"method":"GET","requestUri":"/list-suggested-resiliency-policies","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","required":["resiliencyPolicies"],"members":{"nextToken":{},"resiliencyPolicies":{"shape":"S53"}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"Si"}}}},"ListTestRecommendations":{"http":{"requestUri":"/list-test-recommendations","responseCode":200},"input":{"type":"structure","required":["assessmentArn"],"members":{"assessmentArn":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","required":["testRecommendations"],"members":{"nextToken":{},"testRecommendations":{"type":"list","member":{"type":"structure","required":["referenceId"],"members":{"appComponentName":{},"dependsOnAlarms":{"type":"list","member":{}},"description":{},"intent":{},"items":{"shape":"S3q"},"name":{},"prerequisite":{},"recommendationId":{},"referenceId":{},"risk":{},"type":{}}}}}}},"ListUnsupportedAppVersionResources":{"http":{"requestUri":"/list-unsupported-app-version-resources","responseCode":200},"input":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appVersion":{},"maxResults":{"type":"integer"},"nextToken":{},"resolutionId":{}}},"output":{"type":"structure","required":["resolutionId","unsupportedResources"],"members":{"nextToken":{},"resolutionId":{},"unsupportedResources":{"type":"list","member":{"type":"structure","required":["logicalResourceId","physicalResourceId","resourceType"],"members":{"logicalResourceId":{"shape":"S10"},"physicalResourceId":{"shape":"S8"},"resourceType":{},"unsupportedResourceStatus":{}}}}}}},"PublishAppVersion":{"http":{"requestUri":"/publish-app-version","responseCode":200},"input":{"type":"structure","required":["appArn"],"members":{"appArn":{}}},"output":{"type":"structure","required":["appArn"],"members":{"appArn":{},"appVersion":{}}}},"PutDraftAppVersionTemplate":{"http":{"requestUri":"/put-draft-app-version-template","responseCode":200},"input":{"type":"structure","required":["appArn","appTemplateBody"],"members":{"appArn":{},"appTemplateBody":{}}},"output":{"type":"structure","members":{"appArn":{},"appVersion":{}}}},"RemoveDraftAppVersionResourceMappings":{"http":{"requestUri":"/remove-draft-app-version-resource-mappings","responseCode":200},"input":{"type":"structure","required":["appArn"],"members":{"appArn":{},"appRegistryAppNames":{"shape":"S5u"},"eksSourceNames":{"shape":"S5v"},"logicalStackNames":{"shape":"S5v"},"resourceGroupNames":{"shape":"S5u"},"resourceNames":{"shape":"S5u"},"terraformSourceNames":{"shape":"S5v"}}},"output":{"type":"structure","members":{"appArn":{},"appVersion":{}}}},"ResolveAppVersionResources":{"http":{"requestUri":"/resolve-app-version-resources","responseCode":200},"input":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appVersion":{}}},"output":{"type":"structure","required":["appArn","appVersion","resolutionId","status"],"members":{"appArn":{},"appVersion":{},"resolutionId":{},"status":{}}}},"StartAppAssessment":{"http":{"requestUri":"/start-app-assessment","responseCode":200},"input":{"type":"structure","required":["appArn","appVersion","assessmentName"],"members":{"appArn":{},"appVersion":{},"assessmentName":{},"clientToken":{"idempotencyToken":true},"tags":{"shape":"Si"}}},"output":{"type":"structure","required":["assessment"],"members":{"assessment":{"shape":"S2g"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"Si"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{},"sensitive":true}}},"output":{"type":"structure","members":{}}},"UpdateApp":{"http":{"requestUri":"/update-app","responseCode":200},"input":{"type":"structure","required":["appArn"],"members":{"appArn":{},"assessmentSchedule":{},"clearResiliencyPolicyArn":{"type":"boolean"},"description":{},"policyArn":{}}},"output":{"type":"structure","required":["app"],"members":{"app":{"shape":"Sm"}}}},"UpdateAppVersion":{"http":{"requestUri":"/update-app-version","responseCode":200},"input":{"type":"structure","required":["appArn"],"members":{"additionalInfo":{"shape":"Ss"},"appArn":{}}},"output":{"type":"structure","required":["appArn","appVersion"],"members":{"additionalInfo":{"shape":"Ss"},"appArn":{},"appVersion":{}}}},"UpdateAppVersionAppComponent":{"http":{"requestUri":"/update-app-version-app-component","responseCode":200},"input":{"type":"structure","required":["appArn","id"],"members":{"additionalInfo":{"shape":"Ss"},"appArn":{},"id":{},"name":{},"type":{}}},"output":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appComponent":{"shape":"Sx"},"appVersion":{}}}},"UpdateAppVersionResource":{"http":{"requestUri":"/update-app-version-resource","responseCode":200},"input":{"type":"structure","required":["appArn"],"members":{"additionalInfo":{"shape":"Ss"},"appArn":{},"appComponents":{"shape":"Sz"},"awsAccountId":{},"awsRegion":{},"excluded":{"type":"boolean"},"logicalResourceId":{"shape":"S10"},"physicalResourceId":{},"resourceName":{},"resourceType":{}}},"output":{"type":"structure","required":["appArn","appVersion"],"members":{"appArn":{},"appVersion":{},"physicalResource":{"shape":"S13"}}}},"UpdateResiliencyPolicy":{"http":{"requestUri":"/update-resiliency-policy","responseCode":200},"input":{"type":"structure","required":["policyArn"],"members":{"dataLocationConstraint":{},"policy":{"shape":"S1j"},"policyArn":{},"policyDescription":{},"policyName":{},"tier":{}}},"output":{"type":"structure","required":["policy"],"members":{"policy":{"shape":"S1p"}}}}},"shapes":{"S3":{"type":"list","member":{"type":"structure","required":["mappingType","physicalResourceId"],"members":{"appRegistryAppName":{},"eksSourceName":{},"logicalStackName":{},"mappingType":{},"physicalResourceId":{"shape":"S8"},"resourceGroupName":{},"resourceName":{},"terraformSourceName":{}}}},"S8":{"type":"structure","required":["identifier","type"],"members":{"awsAccountId":{},"awsRegion":{},"identifier":{},"type":{}}},"Si":{"type":"map","key":{},"value":{},"sensitive":true},"Sm":{"type":"structure","required":["appArn","creationTime","name"],"members":{"appArn":{},"assessmentSchedule":{},"complianceStatus":{},"creationTime":{"type":"timestamp"},"description":{},"lastAppComplianceEvaluationTime":{"type":"timestamp"},"lastResiliencyScoreEvaluationTime":{"type":"timestamp"},"name":{},"policyArn":{},"resiliencyScore":{"type":"double"},"status":{},"tags":{"shape":"Si"}}},"Ss":{"type":"map","key":{},"value":{"type":"list","member":{}}},"Sx":{"type":"structure","required":["name","type"],"members":{"additionalInfo":{"shape":"Ss"},"id":{},"name":{},"type":{}}},"Sz":{"type":"list","member":{}},"S10":{"type":"structure","required":["identifier"],"members":{"eksSourceName":{},"identifier":{},"logicalStackName":{},"resourceGroupName":{},"terraformSourceName":{}}},"S13":{"type":"structure","required":["logicalResourceId","physicalResourceId","resourceType"],"members":{"additionalInfo":{"shape":"Ss"},"appComponents":{"shape":"S14"},"excluded":{"type":"boolean"},"logicalResourceId":{"shape":"S10"},"physicalResourceId":{"shape":"S8"},"resourceName":{},"resourceType":{}}},"S14":{"type":"list","member":{"shape":"Sx"}},"S18":{"type":"list","member":{}},"S1a":{"type":"list","member":{}},"S1d":{"type":"structure","required":["assessmentArn","format","name","recommendationTemplateArn","recommendationTypes","status"],"members":{"appArn":{},"assessmentArn":{},"endTime":{"type":"timestamp"},"format":{},"message":{},"name":{},"needsReplacements":{"type":"boolean"},"recommendationIds":{"shape":"S18"},"recommendationTemplateArn":{},"recommendationTypes":{"shape":"S1a"},"startTime":{"type":"timestamp"},"status":{},"tags":{"shape":"Si"},"templatesLocation":{"type":"structure","members":{"bucket":{},"prefix":{}}}}},"S1j":{"type":"map","key":{},"value":{"type":"structure","required":["rpoInSecs","rtoInSecs"],"members":{"rpoInSecs":{"type":"integer"},"rtoInSecs":{"type":"integer"}}}},"S1p":{"type":"structure","members":{"creationTime":{"type":"timestamp"},"dataLocationConstraint":{},"estimatedCostTier":{},"policy":{"shape":"S1j"},"policyArn":{},"policyDescription":{},"policyName":{},"tags":{"shape":"Si"},"tier":{}}},"S1x":{"type":"structure","required":["eksClusterArn","namespace"],"members":{"eksClusterArn":{},"namespace":{}}},"S1z":{"type":"structure","required":["s3StateFileUrl"],"members":{"s3StateFileUrl":{}}},"S22":{"type":"structure","required":["importType"],"members":{"eksSourceClusterNamespace":{"shape":"S1x"},"importType":{},"resourceCount":{"type":"integer"},"sourceArn":{},"sourceName":{},"terraformSource":{"shape":"S1z"}}},"S2g":{"type":"structure","required":["assessmentArn","assessmentStatus","invoker"],"members":{"appArn":{},"appVersion":{},"assessmentArn":{},"assessmentName":{},"assessmentStatus":{},"compliance":{"shape":"S2h"},"complianceStatus":{},"cost":{"shape":"S2k"},"endTime":{"type":"timestamp"},"invoker":{},"message":{},"policy":{"shape":"S1p"},"resiliencyScore":{"shape":"S2o"},"resourceErrorsDetails":{"type":"structure","members":{"hasMoreErrors":{"type":"boolean"},"resourceErrors":{"type":"list","member":{"type":"structure","members":{"logicalResourceId":{},"physicalResourceId":{},"reason":{}}}}}},"startTime":{"type":"timestamp"},"tags":{"shape":"Si"}}},"S2h":{"type":"map","key":{},"value":{"type":"structure","required":["complianceStatus"],"members":{"achievableRpoInSecs":{"type":"integer"},"achievableRtoInSecs":{"type":"integer"},"complianceStatus":{},"currentRpoInSecs":{"type":"integer"},"currentRtoInSecs":{"type":"integer"},"message":{},"rpoDescription":{},"rpoReferenceId":{},"rtoDescription":{},"rtoReferenceId":{}}}},"S2k":{"type":"structure","required":["amount","currency","frequency"],"members":{"amount":{"type":"double"},"currency":{},"frequency":{}}},"S2o":{"type":"structure","required":["disruptionScore","score"],"members":{"disruptionScore":{"type":"map","key":{},"value":{"type":"double"}},"score":{"type":"double"}}},"S3c":{"type":"list","member":{"type":"structure","required":["eksClusterArn","namespaces"],"members":{"eksClusterArn":{},"namespaces":{"type":"list","member":{}}}}},"S3g":{"type":"list","member":{}},"S3h":{"type":"list","member":{"shape":"S1z"}},"S3q":{"type":"list","member":{"type":"structure","members":{"alreadyImplemented":{"type":"boolean"},"resourceId":{},"targetAccountId":{},"targetRegion":{}}}},"S53":{"type":"list","member":{"shape":"S1p"}},"S5u":{"type":"list","member":{}},"S5v":{"type":"list","member":{}}}} /***/ }), /* 1113 */ @@ -60290,7 +60290,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 1142 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2021-11-29","endpointPrefix":"iottwinmaker","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"AWS IoT TwinMaker","serviceId":"IoTTwinMaker","signatureVersion":"v4","signingName":"iottwinmaker","uid":"iottwinmaker-2021-11-29"},"operations":{"BatchPutPropertyValues":{"http":{"requestUri":"/workspaces/{workspaceId}/entity-properties","responseCode":200},"input":{"type":"structure","required":["workspaceId","entries"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"entries":{"type":"list","member":{"shape":"S4"}}}},"output":{"type":"structure","required":["errorEntries"],"members":{"errorEntries":{"type":"list","member":{"type":"structure","required":["errors"],"members":{"errors":{"type":"list","member":{"type":"structure","required":["errorCode","errorMessage","entry"],"members":{"errorCode":{},"errorMessage":{},"entry":{"shape":"S4"}}}}}}}}},"endpoint":{"hostPrefix":"data."}},"CreateComponentType":{"http":{"requestUri":"/workspaces/{workspaceId}/component-types/{componentTypeId}","responseCode":200},"input":{"type":"structure","required":["workspaceId","componentTypeId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"isSingleton":{"type":"boolean"},"componentTypeId":{"location":"uri","locationName":"componentTypeId"},"description":{},"propertyDefinitions":{"shape":"Sv"},"extendsFrom":{"shape":"S13"},"functions":{"shape":"S14"},"tags":{"shape":"S1b"},"propertyGroups":{"shape":"S1e"},"componentTypeName":{}}},"output":{"type":"structure","required":["arn","creationDateTime","state"],"members":{"arn":{},"creationDateTime":{"type":"timestamp"},"state":{}}},"endpoint":{"hostPrefix":"api."}},"CreateEntity":{"http":{"requestUri":"/workspaces/{workspaceId}/entities","responseCode":200},"input":{"type":"structure","required":["workspaceId","entityName"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"entityId":{},"entityName":{},"description":{},"components":{"type":"map","key":{},"value":{"type":"structure","members":{"description":{},"componentTypeId":{},"properties":{"shape":"S1q"},"propertyGroups":{"shape":"S1t"}}}},"parentEntityId":{},"tags":{"shape":"S1b"}}},"output":{"type":"structure","required":["entityId","arn","creationDateTime","state"],"members":{"entityId":{},"arn":{},"creationDateTime":{"type":"timestamp"},"state":{}}},"endpoint":{"hostPrefix":"api."}},"CreateScene":{"http":{"requestUri":"/workspaces/{workspaceId}/scenes","responseCode":200},"input":{"type":"structure","required":["workspaceId","sceneId","contentLocation"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"sceneId":{},"contentLocation":{},"description":{},"capabilities":{"shape":"S20"},"tags":{"shape":"S1b"}}},"output":{"type":"structure","required":["arn","creationDateTime"],"members":{"arn":{},"creationDateTime":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"api."}},"CreateSyncJob":{"http":{"requestUri":"/workspaces/{workspaceId}/sync-jobs/{syncSource}","responseCode":200},"input":{"type":"structure","required":["workspaceId","syncSource","syncRole"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"syncSource":{"location":"uri","locationName":"syncSource"},"syncRole":{},"tags":{"shape":"S1b"}}},"output":{"type":"structure","required":["arn","creationDateTime","state"],"members":{"arn":{},"creationDateTime":{"type":"timestamp"},"state":{}}},"endpoint":{"hostPrefix":"api."}},"CreateWorkspace":{"http":{"requestUri":"/workspaces/{workspaceId}","responseCode":200},"input":{"type":"structure","required":["workspaceId","s3Location","role"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"description":{},"s3Location":{},"role":{},"tags":{"shape":"S1b"}}},"output":{"type":"structure","required":["arn","creationDateTime"],"members":{"arn":{},"creationDateTime":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"api."}},"DeleteComponentType":{"http":{"method":"DELETE","requestUri":"/workspaces/{workspaceId}/component-types/{componentTypeId}","responseCode":200},"input":{"type":"structure","required":["workspaceId","componentTypeId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"componentTypeId":{"location":"uri","locationName":"componentTypeId"}}},"output":{"type":"structure","required":["state"],"members":{"state":{}}},"endpoint":{"hostPrefix":"api."}},"DeleteEntity":{"http":{"method":"DELETE","requestUri":"/workspaces/{workspaceId}/entities/{entityId}","responseCode":200},"input":{"type":"structure","required":["workspaceId","entityId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"entityId":{"location":"uri","locationName":"entityId"},"isRecursive":{"location":"querystring","locationName":"isRecursive","type":"boolean"}}},"output":{"type":"structure","required":["state"],"members":{"state":{}}},"endpoint":{"hostPrefix":"api."}},"DeleteScene":{"http":{"method":"DELETE","requestUri":"/workspaces/{workspaceId}/scenes/{sceneId}","responseCode":200},"input":{"type":"structure","required":["workspaceId","sceneId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"sceneId":{"location":"uri","locationName":"sceneId"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"api."}},"DeleteSyncJob":{"http":{"method":"DELETE","requestUri":"/workspaces/{workspaceId}/sync-jobs/{syncSource}","responseCode":200},"input":{"type":"structure","required":["workspaceId","syncSource"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"syncSource":{"location":"uri","locationName":"syncSource"}}},"output":{"type":"structure","required":["state"],"members":{"state":{}}},"endpoint":{"hostPrefix":"api."}},"DeleteWorkspace":{"http":{"method":"DELETE","requestUri":"/workspaces/{workspaceId}","responseCode":200},"input":{"type":"structure","required":["workspaceId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"api."}},"ExecuteQuery":{"http":{"requestUri":"/queries/execution","responseCode":200},"input":{"type":"structure","required":["workspaceId","queryStatement"],"members":{"workspaceId":{},"queryStatement":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"columnDescriptions":{"type":"list","member":{"type":"structure","members":{"name":{},"type":{}}}},"rows":{"type":"list","member":{"type":"structure","members":{"rowData":{"type":"list","member":{"type":"structure","members":{},"document":true}}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"GetComponentType":{"http":{"method":"GET","requestUri":"/workspaces/{workspaceId}/component-types/{componentTypeId}","responseCode":200},"input":{"type":"structure","required":["workspaceId","componentTypeId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"componentTypeId":{"location":"uri","locationName":"componentTypeId"}}},"output":{"type":"structure","required":["workspaceId","componentTypeId","creationDateTime","updateDateTime","arn"],"members":{"workspaceId":{},"isSingleton":{"type":"boolean"},"componentTypeId":{},"description":{},"propertyDefinitions":{"type":"map","key":{},"value":{"shape":"S31"}},"extendsFrom":{"shape":"S13"},"functions":{"type":"map","key":{},"value":{"type":"structure","members":{"requiredProperties":{"shape":"S16"},"scope":{},"implementedBy":{"shape":"S18"},"isInherited":{"type":"boolean"}}}},"creationDateTime":{"type":"timestamp"},"updateDateTime":{"type":"timestamp"},"arn":{},"isAbstract":{"type":"boolean"},"isSchemaInitialized":{"type":"boolean"},"status":{"shape":"S34"},"propertyGroups":{"type":"map","key":{},"value":{"type":"structure","required":["groupType","propertyNames","isInherited"],"members":{"groupType":{},"propertyNames":{"shape":"S1h"},"isInherited":{"type":"boolean"}}}},"syncSource":{},"componentTypeName":{}}},"endpoint":{"hostPrefix":"api."}},"GetEntity":{"http":{"method":"GET","requestUri":"/workspaces/{workspaceId}/entities/{entityId}","responseCode":200},"input":{"type":"structure","required":["workspaceId","entityId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"entityId":{"location":"uri","locationName":"entityId"}}},"output":{"type":"structure","required":["entityId","entityName","arn","status","workspaceId","parentEntityId","hasChildEntities","creationDateTime","updateDateTime"],"members":{"entityId":{},"entityName":{},"arn":{},"status":{"shape":"S34"},"workspaceId":{},"description":{},"components":{"type":"map","key":{},"value":{"type":"structure","members":{"componentName":{},"description":{},"componentTypeId":{},"status":{"shape":"S34"},"definedIn":{},"properties":{"type":"map","key":{},"value":{"type":"structure","members":{"definition":{"shape":"S31"},"value":{"shape":"Sd"}}}},"propertyGroups":{"type":"map","key":{},"value":{"type":"structure","required":["groupType","propertyNames","isInherited"],"members":{"groupType":{},"propertyNames":{"shape":"S1h"},"isInherited":{"type":"boolean"}}}},"syncSource":{}}}},"parentEntityId":{},"hasChildEntities":{"type":"boolean"},"creationDateTime":{"type":"timestamp"},"updateDateTime":{"type":"timestamp"},"syncSource":{}}},"endpoint":{"hostPrefix":"api."}},"GetPricingPlan":{"http":{"method":"GET","requestUri":"/pricingplan","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","required":["currentPricingPlan"],"members":{"currentPricingPlan":{"shape":"S3k"},"pendingPricingPlan":{"shape":"S3k"}}},"endpoint":{"hostPrefix":"api."}},"GetPropertyValue":{"http":{"requestUri":"/workspaces/{workspaceId}/entity-properties/value","responseCode":200},"input":{"type":"structure","required":["selectedProperties","workspaceId"],"members":{"componentName":{},"componentTypeId":{},"entityId":{},"selectedProperties":{"shape":"S3s"},"workspaceId":{"location":"uri","locationName":"workspaceId"},"maxResults":{"type":"integer"},"nextToken":{},"propertyGroupName":{},"tabularConditions":{"type":"structure","members":{"orderBy":{"type":"list","member":{"type":"structure","required":["propertyName"],"members":{"order":{},"propertyName":{}}}},"propertyFilters":{"shape":"S3y"}}}}},"output":{"type":"structure","members":{"propertyValues":{"type":"map","key":{},"value":{"type":"structure","required":["propertyReference"],"members":{"propertyReference":{"shape":"S5"},"propertyValue":{"shape":"Sd"}}}},"nextToken":{},"tabularPropertyValues":{"type":"list","member":{"type":"list","member":{"type":"map","key":{},"value":{"shape":"Sd"}}}}}},"endpoint":{"hostPrefix":"data."}},"GetPropertyValueHistory":{"http":{"requestUri":"/workspaces/{workspaceId}/entity-properties/history","responseCode":200},"input":{"type":"structure","required":["workspaceId","selectedProperties"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"entityId":{},"componentName":{},"componentTypeId":{},"selectedProperties":{"shape":"S3s"},"propertyFilters":{"shape":"S3y"},"startDateTime":{"deprecated":true,"deprecatedMessage":"This field is deprecated and will throw an error in the future. Use startTime instead.","type":"timestamp"},"endDateTime":{"deprecated":true,"deprecatedMessage":"This field is deprecated and will throw an error in the future. Use endTime instead.","type":"timestamp"},"interpolation":{"type":"structure","members":{"interpolationType":{},"intervalInSeconds":{"type":"long"}}},"nextToken":{},"maxResults":{"type":"integer"},"orderByTime":{},"startTime":{},"endTime":{}}},"output":{"type":"structure","required":["propertyValues"],"members":{"propertyValues":{"type":"list","member":{"type":"structure","required":["entityPropertyReference"],"members":{"entityPropertyReference":{"shape":"S5"},"values":{"type":"list","member":{"shape":"Sb"}}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"data."}},"GetScene":{"http":{"method":"GET","requestUri":"/workspaces/{workspaceId}/scenes/{sceneId}","responseCode":200},"input":{"type":"structure","required":["workspaceId","sceneId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"sceneId":{"location":"uri","locationName":"sceneId"}}},"output":{"type":"structure","required":["workspaceId","sceneId","contentLocation","arn","creationDateTime","updateDateTime"],"members":{"workspaceId":{},"sceneId":{},"contentLocation":{},"arn":{},"creationDateTime":{"type":"timestamp"},"updateDateTime":{"type":"timestamp"},"description":{},"capabilities":{"shape":"S20"}}},"endpoint":{"hostPrefix":"api."}},"GetSyncJob":{"http":{"method":"GET","requestUri":"/sync-jobs/{syncSource}","responseCode":200},"input":{"type":"structure","required":["syncSource"],"members":{"syncSource":{"location":"uri","locationName":"syncSource"},"workspaceId":{"location":"querystring","locationName":"workspace"}}},"output":{"type":"structure","required":["arn","workspaceId","syncSource","syncRole","status","creationDateTime","updateDateTime"],"members":{"arn":{},"workspaceId":{},"syncSource":{},"syncRole":{},"status":{"shape":"S4j"},"creationDateTime":{"type":"timestamp"},"updateDateTime":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"api."}},"GetWorkspace":{"http":{"method":"GET","requestUri":"/workspaces/{workspaceId}","responseCode":200},"input":{"type":"structure","required":["workspaceId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"}}},"output":{"type":"structure","required":["workspaceId","arn","s3Location","role","creationDateTime","updateDateTime"],"members":{"workspaceId":{},"arn":{},"description":{},"s3Location":{},"role":{},"creationDateTime":{"type":"timestamp"},"updateDateTime":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"api."}},"ListComponentTypes":{"http":{"requestUri":"/workspaces/{workspaceId}/component-types-list","responseCode":200},"input":{"type":"structure","required":["workspaceId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"filters":{"type":"list","member":{"type":"structure","members":{"extendsFrom":{},"namespace":{},"isAbstract":{"type":"boolean"}},"union":true}},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","required":["workspaceId","componentTypeSummaries"],"members":{"workspaceId":{},"componentTypeSummaries":{"type":"list","member":{"type":"structure","required":["arn","componentTypeId","creationDateTime","updateDateTime"],"members":{"arn":{},"componentTypeId":{},"creationDateTime":{"type":"timestamp"},"updateDateTime":{"type":"timestamp"},"description":{},"status":{"shape":"S34"},"componentTypeName":{}}}},"nextToken":{},"maxResults":{"type":"integer"}}},"endpoint":{"hostPrefix":"api."}},"ListEntities":{"http":{"requestUri":"/workspaces/{workspaceId}/entities-list","responseCode":200},"input":{"type":"structure","required":["workspaceId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"filters":{"type":"list","member":{"type":"structure","members":{"parentEntityId":{},"componentTypeId":{},"externalId":{}},"union":true}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"entitySummaries":{"type":"list","member":{"type":"structure","required":["entityId","entityName","arn","status","creationDateTime","updateDateTime"],"members":{"entityId":{},"entityName":{},"arn":{},"parentEntityId":{},"status":{"shape":"S34"},"description":{},"hasChildEntities":{"type":"boolean"},"creationDateTime":{"type":"timestamp"},"updateDateTime":{"type":"timestamp"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListScenes":{"http":{"requestUri":"/workspaces/{workspaceId}/scenes-list","responseCode":200},"input":{"type":"structure","required":["workspaceId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"sceneSummaries":{"type":"list","member":{"type":"structure","required":["sceneId","contentLocation","arn","creationDateTime","updateDateTime"],"members":{"sceneId":{},"contentLocation":{},"arn":{},"creationDateTime":{"type":"timestamp"},"updateDateTime":{"type":"timestamp"},"description":{}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListSyncJobs":{"http":{"requestUri":"/workspaces/{workspaceId}/sync-jobs-list","responseCode":200},"input":{"type":"structure","required":["workspaceId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"syncJobSummaries":{"type":"list","member":{"type":"structure","members":{"arn":{},"workspaceId":{},"syncSource":{},"status":{"shape":"S4j"},"creationDateTime":{"type":"timestamp"},"updateDateTime":{"type":"timestamp"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListSyncResources":{"http":{"requestUri":"/workspaces/{workspaceId}/sync-jobs/{syncSource}/resources-list","responseCode":200},"input":{"type":"structure","required":["workspaceId","syncSource"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"syncSource":{"location":"uri","locationName":"syncSource"},"filters":{"type":"list","member":{"type":"structure","members":{"state":{},"resourceType":{},"resourceId":{},"externalId":{}},"union":true}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"syncResources":{"type":"list","member":{"type":"structure","members":{"resourceType":{},"externalId":{},"resourceId":{},"status":{"type":"structure","members":{"state":{},"error":{"shape":"S35"}}},"updateDateTime":{"type":"timestamp"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListTagsForResource":{"http":{"requestUri":"/tags-list","responseCode":200},"input":{"type":"structure","required":["resourceARN"],"members":{"resourceARN":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"tags":{"shape":"S1b"},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListWorkspaces":{"http":{"requestUri":"/workspaces-list","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"workspaceSummaries":{"type":"list","member":{"type":"structure","required":["workspaceId","arn","creationDateTime","updateDateTime"],"members":{"workspaceId":{},"arn":{},"description":{},"creationDateTime":{"type":"timestamp"},"updateDateTime":{"type":"timestamp"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"TagResource":{"http":{"requestUri":"/tags","responseCode":200},"input":{"type":"structure","required":["resourceARN","tags"],"members":{"resourceARN":{},"tags":{"shape":"S1b"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"api."}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags","responseCode":200},"input":{"type":"structure","required":["resourceARN","tagKeys"],"members":{"resourceARN":{"location":"querystring","locationName":"resourceARN"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"api."}},"UpdateComponentType":{"http":{"method":"PUT","requestUri":"/workspaces/{workspaceId}/component-types/{componentTypeId}","responseCode":200},"input":{"type":"structure","required":["workspaceId","componentTypeId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"isSingleton":{"type":"boolean"},"componentTypeId":{"location":"uri","locationName":"componentTypeId"},"description":{},"propertyDefinitions":{"shape":"Sv"},"extendsFrom":{"shape":"S13"},"functions":{"shape":"S14"},"propertyGroups":{"shape":"S1e"},"componentTypeName":{}}},"output":{"type":"structure","required":["workspaceId","arn","componentTypeId","state"],"members":{"workspaceId":{},"arn":{},"componentTypeId":{},"state":{}}},"endpoint":{"hostPrefix":"api."}},"UpdateEntity":{"http":{"method":"PUT","requestUri":"/workspaces/{workspaceId}/entities/{entityId}","responseCode":200},"input":{"type":"structure","required":["workspaceId","entityId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"entityId":{"location":"uri","locationName":"entityId"},"entityName":{},"description":{},"componentUpdates":{"type":"map","key":{},"value":{"type":"structure","members":{"updateType":{},"description":{},"componentTypeId":{},"propertyUpdates":{"shape":"S1q"},"propertyGroupUpdates":{"shape":"S1t"}}}},"parentEntityUpdate":{"type":"structure","required":["updateType"],"members":{"updateType":{},"parentEntityId":{}}}}},"output":{"type":"structure","required":["updateDateTime","state"],"members":{"updateDateTime":{"type":"timestamp"},"state":{}}},"endpoint":{"hostPrefix":"api."}},"UpdatePricingPlan":{"http":{"requestUri":"/pricingplan","responseCode":200},"input":{"type":"structure","required":["pricingMode"],"members":{"pricingMode":{},"bundleNames":{"shape":"S3m"}}},"output":{"type":"structure","required":["currentPricingPlan"],"members":{"currentPricingPlan":{"shape":"S3k"},"pendingPricingPlan":{"shape":"S3k"}}},"endpoint":{"hostPrefix":"api."}},"UpdateScene":{"http":{"method":"PUT","requestUri":"/workspaces/{workspaceId}/scenes/{sceneId}","responseCode":200},"input":{"type":"structure","required":["workspaceId","sceneId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"sceneId":{"location":"uri","locationName":"sceneId"},"contentLocation":{},"description":{},"capabilities":{"shape":"S20"}}},"output":{"type":"structure","required":["updateDateTime"],"members":{"updateDateTime":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"api."}},"UpdateWorkspace":{"http":{"method":"PUT","requestUri":"/workspaces/{workspaceId}","responseCode":200},"input":{"type":"structure","required":["workspaceId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"description":{},"role":{}}},"output":{"type":"structure","required":["updateDateTime"],"members":{"updateDateTime":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"api."}}},"shapes":{"S4":{"type":"structure","required":["entityPropertyReference"],"members":{"entityPropertyReference":{"shape":"S5"},"propertyValues":{"type":"list","member":{"shape":"Sb"}}}},"S5":{"type":"structure","required":["propertyName"],"members":{"componentName":{},"externalIdProperty":{"type":"map","key":{},"value":{}},"entityId":{},"propertyName":{}}},"Sb":{"type":"structure","required":["value"],"members":{"timestamp":{"deprecated":true,"deprecatedMessage":"This field is deprecated and will throw an error in the future. Use time instead.","type":"timestamp"},"value":{"shape":"Sd"},"time":{}}},"Sd":{"type":"structure","members":{"booleanValue":{"type":"boolean"},"doubleValue":{"type":"double"},"integerValue":{"type":"integer"},"longValue":{"type":"long"},"stringValue":{},"listValue":{"shape":"Si"},"mapValue":{"type":"map","key":{},"value":{"shape":"Sd"}},"relationshipValue":{"type":"structure","members":{"targetEntityId":{},"targetComponentName":{}}},"expression":{}}},"Si":{"type":"list","member":{"shape":"Sd"}},"Sv":{"type":"map","key":{},"value":{"shape":"Sw"}},"Sw":{"type":"structure","members":{"dataType":{"shape":"Sx"},"isRequiredInEntity":{"type":"boolean"},"isExternalId":{"type":"boolean"},"isStoredExternally":{"type":"boolean"},"isTimeSeries":{"type":"boolean"},"defaultValue":{"shape":"Sd"},"configuration":{"shape":"S10"},"displayName":{}}},"Sx":{"type":"structure","required":["type"],"members":{"type":{},"nestedType":{"shape":"Sx"},"allowedValues":{"shape":"Si"},"unitOfMeasure":{},"relationship":{"type":"structure","members":{"targetComponentTypeId":{},"relationshipType":{}}}}},"S10":{"type":"map","key":{},"value":{}},"S13":{"type":"list","member":{}},"S14":{"type":"map","key":{},"value":{"type":"structure","members":{"requiredProperties":{"shape":"S16"},"scope":{},"implementedBy":{"shape":"S18"}}}},"S16":{"type":"list","member":{}},"S18":{"type":"structure","members":{"lambda":{"type":"structure","required":["arn"],"members":{"arn":{}}},"isNative":{"type":"boolean"}}},"S1b":{"type":"map","key":{},"value":{}},"S1e":{"type":"map","key":{},"value":{"type":"structure","members":{"groupType":{},"propertyNames":{"shape":"S1h"}}}},"S1h":{"type":"list","member":{}},"S1q":{"type":"map","key":{},"value":{"type":"structure","members":{"definition":{"shape":"Sw"},"value":{"shape":"Sd"},"updateType":{}}}},"S1t":{"type":"map","key":{},"value":{"type":"structure","members":{"groupType":{},"propertyNames":{"shape":"S1h"},"updateType":{}}}},"S20":{"type":"list","member":{}},"S31":{"type":"structure","required":["dataType","isTimeSeries","isRequiredInEntity","isExternalId","isStoredExternally","isImported","isFinal","isInherited"],"members":{"dataType":{"shape":"Sx"},"isTimeSeries":{"type":"boolean"},"isRequiredInEntity":{"type":"boolean"},"isExternalId":{"type":"boolean"},"isStoredExternally":{"type":"boolean"},"isImported":{"type":"boolean"},"isFinal":{"type":"boolean"},"isInherited":{"type":"boolean"},"defaultValue":{"shape":"Sd"},"configuration":{"shape":"S10"},"displayName":{}}},"S34":{"type":"structure","members":{"state":{},"error":{"shape":"S35"}}},"S35":{"type":"structure","members":{"code":{},"message":{}}},"S3k":{"type":"structure","required":["effectiveDateTime","pricingMode","updateDateTime","updateReason"],"members":{"billableEntityCount":{"type":"long"},"bundleInformation":{"type":"structure","required":["bundleNames"],"members":{"bundleNames":{"shape":"S3m"},"pricingTier":{}}},"effectiveDateTime":{"type":"timestamp"},"pricingMode":{},"updateDateTime":{"type":"timestamp"},"updateReason":{}}},"S3m":{"type":"list","member":{}},"S3s":{"type":"list","member":{}},"S3y":{"type":"list","member":{"type":"structure","members":{"propertyName":{},"operator":{},"value":{"shape":"Sd"}}}},"S4j":{"type":"structure","members":{"state":{},"error":{"shape":"S35"}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2021-11-29","endpointPrefix":"iottwinmaker","jsonVersion":"1.1","protocol":"rest-json","serviceFullName":"AWS IoT TwinMaker","serviceId":"IoTTwinMaker","signatureVersion":"v4","signingName":"iottwinmaker","uid":"iottwinmaker-2021-11-29"},"operations":{"BatchPutPropertyValues":{"http":{"requestUri":"/workspaces/{workspaceId}/entity-properties","responseCode":200},"input":{"type":"structure","required":["workspaceId","entries"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"entries":{"type":"list","member":{"shape":"S4"}}}},"output":{"type":"structure","required":["errorEntries"],"members":{"errorEntries":{"type":"list","member":{"type":"structure","required":["errors"],"members":{"errors":{"type":"list","member":{"type":"structure","required":["errorCode","errorMessage","entry"],"members":{"errorCode":{},"errorMessage":{},"entry":{"shape":"S4"}}}}}}}}},"endpoint":{"hostPrefix":"data."}},"CreateComponentType":{"http":{"requestUri":"/workspaces/{workspaceId}/component-types/{componentTypeId}","responseCode":200},"input":{"type":"structure","required":["workspaceId","componentTypeId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"isSingleton":{"type":"boolean"},"componentTypeId":{"location":"uri","locationName":"componentTypeId"},"description":{},"propertyDefinitions":{"shape":"Sv"},"extendsFrom":{"shape":"S13"},"functions":{"shape":"S14"},"tags":{"shape":"S1b"},"propertyGroups":{"shape":"S1e"},"componentTypeName":{}}},"output":{"type":"structure","required":["arn","creationDateTime","state"],"members":{"arn":{},"creationDateTime":{"type":"timestamp"},"state":{}}},"endpoint":{"hostPrefix":"api."}},"CreateEntity":{"http":{"requestUri":"/workspaces/{workspaceId}/entities","responseCode":200},"input":{"type":"structure","required":["workspaceId","entityName"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"entityId":{},"entityName":{},"description":{},"components":{"type":"map","key":{},"value":{"type":"structure","members":{"description":{},"componentTypeId":{},"properties":{"shape":"S1q"},"propertyGroups":{"shape":"S1t"}}}},"parentEntityId":{},"tags":{"shape":"S1b"}}},"output":{"type":"structure","required":["entityId","arn","creationDateTime","state"],"members":{"entityId":{},"arn":{},"creationDateTime":{"type":"timestamp"},"state":{}}},"endpoint":{"hostPrefix":"api."}},"CreateScene":{"http":{"requestUri":"/workspaces/{workspaceId}/scenes","responseCode":200},"input":{"type":"structure","required":["workspaceId","sceneId","contentLocation"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"sceneId":{},"contentLocation":{},"description":{},"capabilities":{"shape":"S20"},"tags":{"shape":"S1b"},"sceneMetadata":{"shape":"S22"}}},"output":{"type":"structure","required":["arn","creationDateTime"],"members":{"arn":{},"creationDateTime":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"api."}},"CreateSyncJob":{"http":{"requestUri":"/workspaces/{workspaceId}/sync-jobs/{syncSource}","responseCode":200},"input":{"type":"structure","required":["workspaceId","syncSource","syncRole"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"syncSource":{"location":"uri","locationName":"syncSource"},"syncRole":{},"tags":{"shape":"S1b"}}},"output":{"type":"structure","required":["arn","creationDateTime","state"],"members":{"arn":{},"creationDateTime":{"type":"timestamp"},"state":{}}},"endpoint":{"hostPrefix":"api."}},"CreateWorkspace":{"http":{"requestUri":"/workspaces/{workspaceId}","responseCode":200},"input":{"type":"structure","required":["workspaceId","s3Location","role"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"description":{},"s3Location":{},"role":{},"tags":{"shape":"S1b"}}},"output":{"type":"structure","required":["arn","creationDateTime"],"members":{"arn":{},"creationDateTime":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"api."}},"DeleteComponentType":{"http":{"method":"DELETE","requestUri":"/workspaces/{workspaceId}/component-types/{componentTypeId}","responseCode":200},"input":{"type":"structure","required":["workspaceId","componentTypeId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"componentTypeId":{"location":"uri","locationName":"componentTypeId"}}},"output":{"type":"structure","required":["state"],"members":{"state":{}}},"endpoint":{"hostPrefix":"api."}},"DeleteEntity":{"http":{"method":"DELETE","requestUri":"/workspaces/{workspaceId}/entities/{entityId}","responseCode":200},"input":{"type":"structure","required":["workspaceId","entityId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"entityId":{"location":"uri","locationName":"entityId"},"isRecursive":{"location":"querystring","locationName":"isRecursive","type":"boolean"}}},"output":{"type":"structure","required":["state"],"members":{"state":{}}},"endpoint":{"hostPrefix":"api."}},"DeleteScene":{"http":{"method":"DELETE","requestUri":"/workspaces/{workspaceId}/scenes/{sceneId}","responseCode":200},"input":{"type":"structure","required":["workspaceId","sceneId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"sceneId":{"location":"uri","locationName":"sceneId"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"api."}},"DeleteSyncJob":{"http":{"method":"DELETE","requestUri":"/workspaces/{workspaceId}/sync-jobs/{syncSource}","responseCode":200},"input":{"type":"structure","required":["workspaceId","syncSource"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"syncSource":{"location":"uri","locationName":"syncSource"}}},"output":{"type":"structure","required":["state"],"members":{"state":{}}},"endpoint":{"hostPrefix":"api."}},"DeleteWorkspace":{"http":{"method":"DELETE","requestUri":"/workspaces/{workspaceId}","responseCode":200},"input":{"type":"structure","required":["workspaceId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"api."}},"ExecuteQuery":{"http":{"requestUri":"/queries/execution","responseCode":200},"input":{"type":"structure","required":["workspaceId","queryStatement"],"members":{"workspaceId":{},"queryStatement":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"columnDescriptions":{"type":"list","member":{"type":"structure","members":{"name":{},"type":{}}}},"rows":{"type":"list","member":{"type":"structure","members":{"rowData":{"type":"list","member":{"type":"structure","members":{},"document":true}}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"GetComponentType":{"http":{"method":"GET","requestUri":"/workspaces/{workspaceId}/component-types/{componentTypeId}","responseCode":200},"input":{"type":"structure","required":["workspaceId","componentTypeId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"componentTypeId":{"location":"uri","locationName":"componentTypeId"}}},"output":{"type":"structure","required":["workspaceId","componentTypeId","creationDateTime","updateDateTime","arn"],"members":{"workspaceId":{},"isSingleton":{"type":"boolean"},"componentTypeId":{},"description":{},"propertyDefinitions":{"type":"map","key":{},"value":{"shape":"S33"}},"extendsFrom":{"shape":"S13"},"functions":{"type":"map","key":{},"value":{"type":"structure","members":{"requiredProperties":{"shape":"S16"},"scope":{},"implementedBy":{"shape":"S18"},"isInherited":{"type":"boolean"}}}},"creationDateTime":{"type":"timestamp"},"updateDateTime":{"type":"timestamp"},"arn":{},"isAbstract":{"type":"boolean"},"isSchemaInitialized":{"type":"boolean"},"status":{"shape":"S36"},"propertyGroups":{"type":"map","key":{},"value":{"type":"structure","required":["groupType","propertyNames","isInherited"],"members":{"groupType":{},"propertyNames":{"shape":"S1h"},"isInherited":{"type":"boolean"}}}},"syncSource":{},"componentTypeName":{}}},"endpoint":{"hostPrefix":"api."}},"GetEntity":{"http":{"method":"GET","requestUri":"/workspaces/{workspaceId}/entities/{entityId}","responseCode":200},"input":{"type":"structure","required":["workspaceId","entityId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"entityId":{"location":"uri","locationName":"entityId"}}},"output":{"type":"structure","required":["entityId","entityName","arn","status","workspaceId","parentEntityId","hasChildEntities","creationDateTime","updateDateTime"],"members":{"entityId":{},"entityName":{},"arn":{},"status":{"shape":"S36"},"workspaceId":{},"description":{},"components":{"type":"map","key":{},"value":{"type":"structure","members":{"componentName":{},"description":{},"componentTypeId":{},"status":{"shape":"S36"},"definedIn":{},"properties":{"type":"map","key":{},"value":{"type":"structure","members":{"definition":{"shape":"S33"},"value":{"shape":"Sd"}}}},"propertyGroups":{"type":"map","key":{},"value":{"type":"structure","required":["groupType","propertyNames","isInherited"],"members":{"groupType":{},"propertyNames":{"shape":"S1h"},"isInherited":{"type":"boolean"}}}},"syncSource":{}}}},"parentEntityId":{},"hasChildEntities":{"type":"boolean"},"creationDateTime":{"type":"timestamp"},"updateDateTime":{"type":"timestamp"},"syncSource":{}}},"endpoint":{"hostPrefix":"api."}},"GetPricingPlan":{"http":{"method":"GET","requestUri":"/pricingplan","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","required":["currentPricingPlan"],"members":{"currentPricingPlan":{"shape":"S3m"},"pendingPricingPlan":{"shape":"S3m"}}},"endpoint":{"hostPrefix":"api."}},"GetPropertyValue":{"http":{"requestUri":"/workspaces/{workspaceId}/entity-properties/value","responseCode":200},"input":{"type":"structure","required":["selectedProperties","workspaceId"],"members":{"componentName":{},"componentTypeId":{},"entityId":{},"selectedProperties":{"shape":"S3u"},"workspaceId":{"location":"uri","locationName":"workspaceId"},"maxResults":{"type":"integer"},"nextToken":{},"propertyGroupName":{},"tabularConditions":{"type":"structure","members":{"orderBy":{"type":"list","member":{"type":"structure","required":["propertyName"],"members":{"order":{},"propertyName":{}}}},"propertyFilters":{"shape":"S40"}}}}},"output":{"type":"structure","members":{"propertyValues":{"type":"map","key":{},"value":{"type":"structure","required":["propertyReference"],"members":{"propertyReference":{"shape":"S5"},"propertyValue":{"shape":"Sd"}}}},"nextToken":{},"tabularPropertyValues":{"type":"list","member":{"type":"list","member":{"type":"map","key":{},"value":{"shape":"Sd"}}}}}},"endpoint":{"hostPrefix":"data."}},"GetPropertyValueHistory":{"http":{"requestUri":"/workspaces/{workspaceId}/entity-properties/history","responseCode":200},"input":{"type":"structure","required":["workspaceId","selectedProperties"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"entityId":{},"componentName":{},"componentTypeId":{},"selectedProperties":{"shape":"S3u"},"propertyFilters":{"shape":"S40"},"startDateTime":{"deprecated":true,"deprecatedMessage":"This field is deprecated and will throw an error in the future. Use startTime instead.","type":"timestamp"},"endDateTime":{"deprecated":true,"deprecatedMessage":"This field is deprecated and will throw an error in the future. Use endTime instead.","type":"timestamp"},"interpolation":{"type":"structure","members":{"interpolationType":{},"intervalInSeconds":{"type":"long"}}},"nextToken":{},"maxResults":{"type":"integer"},"orderByTime":{},"startTime":{},"endTime":{}}},"output":{"type":"structure","required":["propertyValues"],"members":{"propertyValues":{"type":"list","member":{"type":"structure","required":["entityPropertyReference"],"members":{"entityPropertyReference":{"shape":"S5"},"values":{"type":"list","member":{"shape":"Sb"}}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"data."}},"GetScene":{"http":{"method":"GET","requestUri":"/workspaces/{workspaceId}/scenes/{sceneId}","responseCode":200},"input":{"type":"structure","required":["workspaceId","sceneId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"sceneId":{"location":"uri","locationName":"sceneId"}}},"output":{"type":"structure","required":["workspaceId","sceneId","contentLocation","arn","creationDateTime","updateDateTime"],"members":{"workspaceId":{},"sceneId":{},"contentLocation":{},"arn":{},"creationDateTime":{"type":"timestamp"},"updateDateTime":{"type":"timestamp"},"description":{},"capabilities":{"shape":"S20"},"sceneMetadata":{"shape":"S22"},"generatedSceneMetadata":{"type":"map","key":{},"value":{}}}},"endpoint":{"hostPrefix":"api."}},"GetSyncJob":{"http":{"method":"GET","requestUri":"/sync-jobs/{syncSource}","responseCode":200},"input":{"type":"structure","required":["syncSource"],"members":{"syncSource":{"location":"uri","locationName":"syncSource"},"workspaceId":{"location":"querystring","locationName":"workspace"}}},"output":{"type":"structure","required":["arn","workspaceId","syncSource","syncRole","status","creationDateTime","updateDateTime"],"members":{"arn":{},"workspaceId":{},"syncSource":{},"syncRole":{},"status":{"shape":"S4m"},"creationDateTime":{"type":"timestamp"},"updateDateTime":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"api."}},"GetWorkspace":{"http":{"method":"GET","requestUri":"/workspaces/{workspaceId}","responseCode":200},"input":{"type":"structure","required":["workspaceId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"}}},"output":{"type":"structure","required":["workspaceId","arn","s3Location","role","creationDateTime","updateDateTime"],"members":{"workspaceId":{},"arn":{},"description":{},"s3Location":{},"role":{},"creationDateTime":{"type":"timestamp"},"updateDateTime":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"api."}},"ListComponentTypes":{"http":{"requestUri":"/workspaces/{workspaceId}/component-types-list","responseCode":200},"input":{"type":"structure","required":["workspaceId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"filters":{"type":"list","member":{"type":"structure","members":{"extendsFrom":{},"namespace":{},"isAbstract":{"type":"boolean"}},"union":true}},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","required":["workspaceId","componentTypeSummaries"],"members":{"workspaceId":{},"componentTypeSummaries":{"type":"list","member":{"type":"structure","required":["arn","componentTypeId","creationDateTime","updateDateTime"],"members":{"arn":{},"componentTypeId":{},"creationDateTime":{"type":"timestamp"},"updateDateTime":{"type":"timestamp"},"description":{},"status":{"shape":"S36"},"componentTypeName":{}}}},"nextToken":{},"maxResults":{"type":"integer"}}},"endpoint":{"hostPrefix":"api."}},"ListEntities":{"http":{"requestUri":"/workspaces/{workspaceId}/entities-list","responseCode":200},"input":{"type":"structure","required":["workspaceId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"filters":{"type":"list","member":{"type":"structure","members":{"parentEntityId":{},"componentTypeId":{},"externalId":{}},"union":true}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"entitySummaries":{"type":"list","member":{"type":"structure","required":["entityId","entityName","arn","status","creationDateTime","updateDateTime"],"members":{"entityId":{},"entityName":{},"arn":{},"parentEntityId":{},"status":{"shape":"S36"},"description":{},"hasChildEntities":{"type":"boolean"},"creationDateTime":{"type":"timestamp"},"updateDateTime":{"type":"timestamp"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListScenes":{"http":{"requestUri":"/workspaces/{workspaceId}/scenes-list","responseCode":200},"input":{"type":"structure","required":["workspaceId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"sceneSummaries":{"type":"list","member":{"type":"structure","required":["sceneId","contentLocation","arn","creationDateTime","updateDateTime"],"members":{"sceneId":{},"contentLocation":{},"arn":{},"creationDateTime":{"type":"timestamp"},"updateDateTime":{"type":"timestamp"},"description":{}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListSyncJobs":{"http":{"requestUri":"/workspaces/{workspaceId}/sync-jobs-list","responseCode":200},"input":{"type":"structure","required":["workspaceId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"syncJobSummaries":{"type":"list","member":{"type":"structure","members":{"arn":{},"workspaceId":{},"syncSource":{},"status":{"shape":"S4m"},"creationDateTime":{"type":"timestamp"},"updateDateTime":{"type":"timestamp"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListSyncResources":{"http":{"requestUri":"/workspaces/{workspaceId}/sync-jobs/{syncSource}/resources-list","responseCode":200},"input":{"type":"structure","required":["workspaceId","syncSource"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"syncSource":{"location":"uri","locationName":"syncSource"},"filters":{"type":"list","member":{"type":"structure","members":{"state":{},"resourceType":{},"resourceId":{},"externalId":{}},"union":true}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"syncResources":{"type":"list","member":{"type":"structure","members":{"resourceType":{},"externalId":{},"resourceId":{},"status":{"type":"structure","members":{"state":{},"error":{"shape":"S37"}}},"updateDateTime":{"type":"timestamp"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListTagsForResource":{"http":{"requestUri":"/tags-list","responseCode":200},"input":{"type":"structure","required":["resourceARN"],"members":{"resourceARN":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"tags":{"shape":"S1b"},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListWorkspaces":{"http":{"requestUri":"/workspaces-list","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"workspaceSummaries":{"type":"list","member":{"type":"structure","required":["workspaceId","arn","creationDateTime","updateDateTime"],"members":{"workspaceId":{},"arn":{},"description":{},"creationDateTime":{"type":"timestamp"},"updateDateTime":{"type":"timestamp"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"TagResource":{"http":{"requestUri":"/tags","responseCode":200},"input":{"type":"structure","required":["resourceARN","tags"],"members":{"resourceARN":{},"tags":{"shape":"S1b"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"api."}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags","responseCode":200},"input":{"type":"structure","required":["resourceARN","tagKeys"],"members":{"resourceARN":{"location":"querystring","locationName":"resourceARN"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"api."}},"UpdateComponentType":{"http":{"method":"PUT","requestUri":"/workspaces/{workspaceId}/component-types/{componentTypeId}","responseCode":200},"input":{"type":"structure","required":["workspaceId","componentTypeId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"isSingleton":{"type":"boolean"},"componentTypeId":{"location":"uri","locationName":"componentTypeId"},"description":{},"propertyDefinitions":{"shape":"Sv"},"extendsFrom":{"shape":"S13"},"functions":{"shape":"S14"},"propertyGroups":{"shape":"S1e"},"componentTypeName":{}}},"output":{"type":"structure","required":["workspaceId","arn","componentTypeId","state"],"members":{"workspaceId":{},"arn":{},"componentTypeId":{},"state":{}}},"endpoint":{"hostPrefix":"api."}},"UpdateEntity":{"http":{"method":"PUT","requestUri":"/workspaces/{workspaceId}/entities/{entityId}","responseCode":200},"input":{"type":"structure","required":["workspaceId","entityId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"entityId":{"location":"uri","locationName":"entityId"},"entityName":{},"description":{},"componentUpdates":{"type":"map","key":{},"value":{"type":"structure","members":{"updateType":{},"description":{},"componentTypeId":{},"propertyUpdates":{"shape":"S1q"},"propertyGroupUpdates":{"shape":"S1t"}}}},"parentEntityUpdate":{"type":"structure","required":["updateType"],"members":{"updateType":{},"parentEntityId":{}}}}},"output":{"type":"structure","required":["updateDateTime","state"],"members":{"updateDateTime":{"type":"timestamp"},"state":{}}},"endpoint":{"hostPrefix":"api."}},"UpdatePricingPlan":{"http":{"requestUri":"/pricingplan","responseCode":200},"input":{"type":"structure","required":["pricingMode"],"members":{"pricingMode":{},"bundleNames":{"shape":"S3o"}}},"output":{"type":"structure","required":["currentPricingPlan"],"members":{"currentPricingPlan":{"shape":"S3m"},"pendingPricingPlan":{"shape":"S3m"}}},"endpoint":{"hostPrefix":"api."}},"UpdateScene":{"http":{"method":"PUT","requestUri":"/workspaces/{workspaceId}/scenes/{sceneId}","responseCode":200},"input":{"type":"structure","required":["workspaceId","sceneId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"sceneId":{"location":"uri","locationName":"sceneId"},"contentLocation":{},"description":{},"capabilities":{"shape":"S20"},"sceneMetadata":{"shape":"S22"}}},"output":{"type":"structure","required":["updateDateTime"],"members":{"updateDateTime":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"api."}},"UpdateWorkspace":{"http":{"method":"PUT","requestUri":"/workspaces/{workspaceId}","responseCode":200},"input":{"type":"structure","required":["workspaceId"],"members":{"workspaceId":{"location":"uri","locationName":"workspaceId"},"description":{},"role":{}}},"output":{"type":"structure","required":["updateDateTime"],"members":{"updateDateTime":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"api."}}},"shapes":{"S4":{"type":"structure","required":["entityPropertyReference"],"members":{"entityPropertyReference":{"shape":"S5"},"propertyValues":{"type":"list","member":{"shape":"Sb"}}}},"S5":{"type":"structure","required":["propertyName"],"members":{"componentName":{},"externalIdProperty":{"type":"map","key":{},"value":{}},"entityId":{},"propertyName":{}}},"Sb":{"type":"structure","required":["value"],"members":{"timestamp":{"deprecated":true,"deprecatedMessage":"This field is deprecated and will throw an error in the future. Use time instead.","type":"timestamp"},"value":{"shape":"Sd"},"time":{}}},"Sd":{"type":"structure","members":{"booleanValue":{"type":"boolean"},"doubleValue":{"type":"double"},"integerValue":{"type":"integer"},"longValue":{"type":"long"},"stringValue":{},"listValue":{"shape":"Si"},"mapValue":{"type":"map","key":{},"value":{"shape":"Sd"}},"relationshipValue":{"type":"structure","members":{"targetEntityId":{},"targetComponentName":{}}},"expression":{}}},"Si":{"type":"list","member":{"shape":"Sd"}},"Sv":{"type":"map","key":{},"value":{"shape":"Sw"}},"Sw":{"type":"structure","members":{"dataType":{"shape":"Sx"},"isRequiredInEntity":{"type":"boolean"},"isExternalId":{"type":"boolean"},"isStoredExternally":{"type":"boolean"},"isTimeSeries":{"type":"boolean"},"defaultValue":{"shape":"Sd"},"configuration":{"shape":"S10"},"displayName":{}}},"Sx":{"type":"structure","required":["type"],"members":{"type":{},"nestedType":{"shape":"Sx"},"allowedValues":{"shape":"Si"},"unitOfMeasure":{},"relationship":{"type":"structure","members":{"targetComponentTypeId":{},"relationshipType":{}}}}},"S10":{"type":"map","key":{},"value":{}},"S13":{"type":"list","member":{}},"S14":{"type":"map","key":{},"value":{"type":"structure","members":{"requiredProperties":{"shape":"S16"},"scope":{},"implementedBy":{"shape":"S18"}}}},"S16":{"type":"list","member":{}},"S18":{"type":"structure","members":{"lambda":{"type":"structure","required":["arn"],"members":{"arn":{}}},"isNative":{"type":"boolean"}}},"S1b":{"type":"map","key":{},"value":{}},"S1e":{"type":"map","key":{},"value":{"type":"structure","members":{"groupType":{},"propertyNames":{"shape":"S1h"}}}},"S1h":{"type":"list","member":{}},"S1q":{"type":"map","key":{},"value":{"type":"structure","members":{"definition":{"shape":"Sw"},"value":{"shape":"Sd"},"updateType":{}}}},"S1t":{"type":"map","key":{},"value":{"type":"structure","members":{"groupType":{},"propertyNames":{"shape":"S1h"},"updateType":{}}}},"S20":{"type":"list","member":{}},"S22":{"type":"map","key":{},"value":{}},"S33":{"type":"structure","required":["dataType","isTimeSeries","isRequiredInEntity","isExternalId","isStoredExternally","isImported","isFinal","isInherited"],"members":{"dataType":{"shape":"Sx"},"isTimeSeries":{"type":"boolean"},"isRequiredInEntity":{"type":"boolean"},"isExternalId":{"type":"boolean"},"isStoredExternally":{"type":"boolean"},"isImported":{"type":"boolean"},"isFinal":{"type":"boolean"},"isInherited":{"type":"boolean"},"defaultValue":{"shape":"Sd"},"configuration":{"shape":"S10"},"displayName":{}}},"S36":{"type":"structure","members":{"state":{},"error":{"shape":"S37"}}},"S37":{"type":"structure","members":{"code":{},"message":{}}},"S3m":{"type":"structure","required":["effectiveDateTime","pricingMode","updateDateTime","updateReason"],"members":{"billableEntityCount":{"type":"long"},"bundleInformation":{"type":"structure","required":["bundleNames"],"members":{"bundleNames":{"shape":"S3o"},"pricingTier":{}}},"effectiveDateTime":{"type":"timestamp"},"pricingMode":{},"updateDateTime":{"type":"timestamp"},"updateReason":{}}},"S3o":{"type":"list","member":{}},"S3u":{"type":"list","member":{}},"S40":{"type":"list","member":{"type":"structure","members":{"propertyName":{},"operator":{},"value":{"shape":"Sd"}}}},"S4m":{"type":"structure","members":{"state":{},"error":{"shape":"S37"}}}}} /***/ }), /* 1143 */ diff --git a/dist/aws-sdk.js b/dist/aws-sdk.js index 11f41c0c43..03c22f18a9 100644 --- a/dist/aws-sdk.js +++ b/dist/aws-sdk.js @@ -1,4 +1,4 @@ -// AWS SDK for JavaScript v2.1340.0 +// AWS SDK for JavaScript v2.1341.0 // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i-1});var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]","[object DataView]"];t.exports={isEmptyData:a,convertToBuffer:i}},{"buffer/":435}],337:[function(e,t,r){function a(e,t){this.hash=new e,this.outer=new e;var r=i(e,t),a=new Uint8Array(e.BLOCK_SIZE);a.set(r);for(var s=0;se.BLOCK_SIZE){var a=new e;a.update(r),r=a.digest()}var i=new Uint8Array(e.BLOCK_SIZE);return i.set(r),i}var s=e("./browserHashUtils");t.exports=a,a.prototype.update=function(e){if(s.isEmptyData(e)||this.error)return this;try{this.hash.update(s.convertToBuffer(e))}catch(e){this.error=e}return this},a.prototype.digest=function(e){return this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest(e)}},{"./browserHashUtils":336}],338:[function(e,t,r){function a(){this.state=[1732584193,4023233417,2562383102,271733878],this.buffer=new DataView(new ArrayBuffer(c)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}function i(e,t,r,a,i,s){return((t=(t+e&4294967295)+(a+s&4294967295)&4294967295)<>>32-i)+r&4294967295}function s(e,t,r,a,s,o,n){return i(t&r|~t&a,e,t,s,o,n)}function o(e,t,r,a,s,o,n){return i(t&a|r&~a,e,t,s,o,n)}function n(e,t,r,a,s,o,n){return i(t^r^a,e,t,s,o,n)}function u(e,t,r,a,s,o,n){return i(r^(t|~a),e,t,s,o,n)}var p=e("./browserHashUtils"),m=e("buffer/").Buffer,c=64;t.exports=a,a.BLOCK_SIZE=c,a.prototype.update=function(e){if(p.isEmptyData(e))return this;if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=p.convertToBuffer(e),r=0,a=t.byteLength;for(this.bytesHashed+=a;a>0;)this.buffer.setUint8(this.bufferLength++,t[r++]),a--,this.bufferLength===c&&(this.hashBuffer(),this.bufferLength=0);return this},a.prototype.digest=function(e){if(!this.finished){var t=this,r=t.buffer,a=t.bufferLength,i=t.bytesHashed,s=8*i;if(r.setUint8(this.bufferLength++,128),a%c>=c-8){for(var o=this.bufferLength;o>>0,!0),r.setUint32(c-4,Math.floor(s/4294967296),!0),this.hashBuffer(),this.finished=!0}for(var n=new DataView(new ArrayBuffer(16)),o=0;o<4;o++)n.setUint32(4*o,this.state[o],!0);var u=new m(n.buffer,n.byteOffset,n.byteLength);return e?u.toString(e):u},a.prototype.hashBuffer=function(){var e=this,t=e.buffer,r=e.state,a=r[0],i=r[1],p=r[2],m=r[3];a=s(a,i,p,m,t.getUint32(0,!0),7,3614090360),m=s(m,a,i,p,t.getUint32(4,!0),12,3905402710),p=s(p,m,a,i,t.getUint32(8,!0),17,606105819),i=s(i,p,m,a,t.getUint32(12,!0),22,3250441966),a=s(a,i,p,m,t.getUint32(16,!0),7,4118548399),m=s(m,a,i,p,t.getUint32(20,!0),12,1200080426),p=s(p,m,a,i,t.getUint32(24,!0),17,2821735955),i=s(i,p,m,a,t.getUint32(28,!0),22,4249261313),a=s(a,i,p,m,t.getUint32(32,!0),7,1770035416),m=s(m,a,i,p,t.getUint32(36,!0),12,2336552879),p=s(p,m,a,i,t.getUint32(40,!0),17,4294925233),i=s(i,p,m,a,t.getUint32(44,!0),22,2304563134),a=s(a,i,p,m,t.getUint32(48,!0),7,1804603682),m=s(m,a,i,p,t.getUint32(52,!0),12,4254626195),p=s(p,m,a,i,t.getUint32(56,!0),17,2792965006),i=s(i,p,m,a,t.getUint32(60,!0),22,1236535329),a=o(a,i,p,m,t.getUint32(4,!0),5,4129170786),m=o(m,a,i,p,t.getUint32(24,!0),9,3225465664),p=o(p,m,a,i,t.getUint32(44,!0),14,643717713),i=o(i,p,m,a,t.getUint32(0,!0),20,3921069994),a=o(a,i,p,m,t.getUint32(20,!0),5,3593408605),m=o(m,a,i,p,t.getUint32(40,!0),9,38016083),p=o(p,m,a,i,t.getUint32(60,!0),14,3634488961),i=o(i,p,m,a,t.getUint32(16,!0),20,3889429448),a=o(a,i,p,m,t.getUint32(36,!0),5,568446438),m=o(m,a,i,p,t.getUint32(56,!0),9,3275163606),p=o(p,m,a,i,t.getUint32(12,!0),14,4107603335),i=o(i,p,m,a,t.getUint32(32,!0),20,1163531501),a=o(a,i,p,m,t.getUint32(52,!0),5,2850285829),m=o(m,a,i,p,t.getUint32(8,!0),9,4243563512),p=o(p,m,a,i,t.getUint32(28,!0),14,1735328473),i=o(i,p,m,a,t.getUint32(48,!0),20,2368359562),a=n(a,i,p,m,t.getUint32(20,!0),4,4294588738),m=n(m,a,i,p,t.getUint32(32,!0),11,2272392833),p=n(p,m,a,i,t.getUint32(44,!0),16,1839030562),i=n(i,p,m,a,t.getUint32(56,!0),23,4259657740),a=n(a,i,p,m,t.getUint32(4,!0),4,2763975236),m=n(m,a,i,p,t.getUint32(16,!0),11,1272893353),p=n(p,m,a,i,t.getUint32(28,!0),16,4139469664),i=n(i,p,m,a,t.getUint32(40,!0),23,3200236656),a=n(a,i,p,m,t.getUint32(52,!0),4,681279174),m=n(m,a,i,p,t.getUint32(0,!0),11,3936430074),p=n(p,m,a,i,t.getUint32(12,!0),16,3572445317),i=n(i,p,m,a,t.getUint32(24,!0),23,76029189),a=n(a,i,p,m,t.getUint32(36,!0),4,3654602809),m=n(m,a,i,p,t.getUint32(48,!0),11,3873151461),p=n(p,m,a,i,t.getUint32(60,!0),16,530742520),i=n(i,p,m,a,t.getUint32(8,!0),23,3299628645),a=u(a,i,p,m,t.getUint32(0,!0),6,4096336452),m=u(m,a,i,p,t.getUint32(28,!0),10,1126891415),p=u(p,m,a,i,t.getUint32(56,!0),15,2878612391),i=u(i,p,m,a,t.getUint32(20,!0),21,4237533241),a=u(a,i,p,m,t.getUint32(48,!0),6,1700485571),m=u(m,a,i,p,t.getUint32(12,!0),10,2399980690),p=u(p,m,a,i,t.getUint32(40,!0),15,4293915773),i=u(i,p,m,a,t.getUint32(4,!0),21,2240044497),a=u(a,i,p,m,t.getUint32(32,!0),6,1873313359),m=u(m,a,i,p,t.getUint32(60,!0),10,4264355552),p=u(p,m,a,i,t.getUint32(24,!0),15,2734768916),i=u(i,p,m,a,t.getUint32(52,!0),21,1309151649),a=u(a,i,p,m,t.getUint32(16,!0),6,4149444226),m=u(m,a,i,p,t.getUint32(44,!0),10,3174756917),p=u(p,m,a,i,t.getUint32(8,!0),15,718787259),i=u(i,p,m,a,t.getUint32(36,!0),21,3951481745),r[0]=a+r[0]&4294967295,r[1]=i+r[1]&4294967295,r[2]=p+r[2]&4294967295,r[3]=m+r[3]&4294967295}},{"./browserHashUtils":336,"buffer/":435}],339:[function(e,t,r){function a(){this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=new Uint32Array(80),this.offset=0,this.shift=24,this.totalLength=0}var i=e("buffer/").Buffer,s=e("./browserHashUtils");new Uint32Array([1518500249,1859775393,-1894007588,-899497514]),Math.pow(2,53);t.exports=a,a.BLOCK_SIZE=64,a.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(s.isEmptyData(e))return this;e=s.convertToBuffer(e);var t=e.length;this.totalLength+=8*t;for(var r=0;r14||14===this.offset&&this.shift<24)&&this.processBlock(),this.offset=14,this.shift=24,this.write(0),this.write(0),this.write(this.totalLength>0xffffffffff?this.totalLength/1099511627776:0),this.write(this.totalLength>4294967295?this.totalLength/4294967296:0);for(var t=24;t>=0;t-=8)this.write(this.totalLength>>t);var r=new i(20),a=new DataView(r.buffer);return a.setUint32(0,this.h0,!1),a.setUint32(4,this.h1,!1),a.setUint32(8,this.h2,!1),a.setUint32(12,this.h3,!1),a.setUint32(16,this.h4,!1),e?r.toString(e):r},a.prototype.processBlock=function(){for(var e=16;e<80;e++){var t=this.block[e-3]^this.block[e-8]^this.block[e-14]^this.block[e-16];this.block[e]=t<<1|t>>>31}var r,a,i=this.h0,s=this.h1,o=this.h2,n=this.h3,u=this.h4;for(e=0;e<80;e++){e<20?(r=n^s&(o^n),a=1518500249):e<40?(r=s^o^n,a=1859775393):e<60?(r=s&o|n&(s|o),a=2400959708):(r=s^o^n,a=3395469782);var p=(i<<5|i>>>27)+r+u+a+(0|this.block[e]);u=n,n=o,o=s<<30|s>>>2,s=i,i=p}for(this.h0=this.h0+i|0,this.h1=this.h1+s|0,this.h2=this.h2+o|0,this.h3=this.h3+n|0,this.h4=this.h4+u|0,this.offset=0,e=0;e<16;e++)this.block[e]=0}},{"./browserHashUtils":336,"buffer/":435}],340:[function(e,t,r){function a(){this.state=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}var i=e("buffer/").Buffer,s=e("./browserHashUtils"),o=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),n=Math.pow(2,53)-1;t.exports=a,a.BLOCK_SIZE=64,a.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(s.isEmptyData(e))return this;e=s.convertToBuffer(e);var t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>n)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0);return this},a.prototype.digest=function(e){if(!this.finished){var t=8*this.bytesHashed,r=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),a=this.bufferLength;if(r.setUint8(this.bufferLength++,128),a%64>=56){for(var s=this.bufferLength;s<64;s++)r.setUint8(s,0);this.hashBuffer(),this.bufferLength=0}for(var s=this.bufferLength;s<56;s++)r.setUint8(s,0);r.setUint32(56,Math.floor(t/4294967296),!0),r.setUint32(60,t),this.hashBuffer(),this.finished=!0}for(var o=new i(32),s=0;s<8;s++)o[4*s]=this.state[s]>>>24&255,o[4*s+1]=this.state[s]>>>16&255,o[4*s+2]=this.state[s]>>>8&255,o[4*s+3]=this.state[s]>>>0&255;return e?o.toString(e):o},a.prototype.hashBuffer=function(){for(var e=this,t=e.buffer,r=e.state,a=r[0],i=r[1],s=r[2],n=r[3],u=r[4],p=r[5],m=r[6],c=r[7],l=0;l<64;l++){if(l<16)this.temp[l]=(255&t[4*l])<<24|(255&t[4*l+1])<<16|(255&t[4*l+2])<<8|255&t[4*l+3];else{var d=this.temp[l-2],y=(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10;d=this.temp[l-15];var b=(d>>>7|d<<25)^(d>>>18|d<<14)^d>>>3;this.temp[l]=(y+this.temp[l-7]|0)+(b+this.temp[l-16]|0)}var S=(((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&p^~u&m)|0)+(c+(o[l]+this.temp[l]|0)|0)|0,g=((a>>>2|a<<30)^(a>>>13|a<<19)^(a>>>22|a<<10))+(a&i^a&s^i&s)|0;c=m,m=p,p=u,u=n+S|0,n=s,s=i,i=a,a=S+g|0}r[0]+=a,r[1]+=i,r[2]+=s,r[3]+=n,r[4]+=u,r[5]+=p,r[6]+=m,r[7]+=c}},{"./browserHashUtils":336,"buffer/":435}],341:[function(e,t,r){(function(r){(function(){var r=e("./util");r.crypto.lib=e("./browserCryptoLib"),r.Buffer=e("buffer/").Buffer,r.url=e("url/"),r.querystring=e("querystring/"),r.realClock=e("./realclock/browserClock"),r.environment="js",r.createEventStream=e("./event-stream/buffered-create-event-stream").createEventStream,r.isBrowser=function(){return!0},r.isNode=function(){return!1};var a=e("./core");if(t.exports=a,e("./credentials"),e("./credentials/credential_provider_chain"),e("./credentials/temporary_credentials"),e("./credentials/chainable_temporary_credentials"),e("./credentials/web_identity_credentials"),e("./credentials/cognito_identity_credentials"),e("./credentials/saml_credentials"),a.XML.Parser=e("./xml/browser_parser"),e("./http/xhr"),void 0===i)var i={browser:!0}}).call(this)}).call(this,e("_process"))},{"./browserCryptoLib":335,"./core":345,"./credentials":346,"./credentials/chainable_temporary_credentials":347,"./credentials/cognito_identity_credentials":348,"./credentials/credential_provider_chain":349,"./credentials/saml_credentials":350,"./credentials/temporary_credentials":351,"./credentials/web_identity_credentials":352,"./event-stream/buffered-create-event-stream":360,"./http/xhr":368,"./realclock/browserClock":388,"./util":423,"./xml/browser_parser":424,_process:440,"buffer/":435,"querystring/":447,"url/":449}],342:[function(e,t,r){var a=e("../core"),i=a.util.url,s=a.util.crypto.lib,o=a.util.base64.encode,n=a.util.inherit,u=function(e){var t={"+":"-","=":"_","/":"~"};return e.replace(/[\+=\/]/g,function(e){return t[e]})},p=function(e,t){var r=s.createSign("RSA-SHA1");return r.write(e),u(r.sign(t,"base64"))},m=function(e,t,r,a){var i=JSON.stringify({Statement:[{Resource:e,Condition:{DateLessThan:{"AWS:EpochTime":t}}}]});return{Expires:t,"Key-Pair-Id":r,Signature:p(i.toString(),a)}},c=function(e,t,r){return e=e.replace(/\s/gm,""),{Policy:u(o(e)),"Key-Pair-Id":t,Signature:p(e,r)}},l=function(e){var t=e.split("://");if(t.length<2)throw new Error("Invalid URL.");return t[0].replace("*","")},d=function(e){var t=i.parse(e);return t.path.replace(/^\//,"")+(t.hash||"")},y=function(e){switch(l(e)){case"http":case"https":return e;case"rtmp":return d(e);default:throw new Error("Invalid URI scheme. Scheme must be one of http, https, or rtmp")}},b=function(e,t){if(!t||"function"!=typeof t)throw e;t(e)},S=function(e,t){if(!t||"function"!=typeof t)return e;t(null,e)};a.CloudFront.Signer=n({constructor:function(e,t){if(void 0===e||void 0===t)throw new Error("A key pair ID and private key are required");this.keyPairId=e,this.privateKey=t},getSignedCookie:function(e,t){var r="policy"in e?c(e.policy,this.keyPairId,this.privateKey):m(e.url,e.expires,this.keyPairId,this.privateKey),a={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a["CloudFront-"+i]=r[i]);return S(a,t)},getSignedUrl:function(e,t){try{var r=y(e.url)}catch(e){return b(e,t)}var a=i.parse(e.url,!0),s=Object.prototype.hasOwnProperty.call(e,"policy")?c(e.policy,this.keyPairId,this.privateKey):m(r,e.expires,this.keyPairId,this.privateKey);a.search=null;for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(a.query[o]=s[o]);try{var n="rtmp"===l(e.url)?d(i.format(a)):i.format(a)}catch(e){return b(e,t)}return S(n,t)}}),t.exports=a.CloudFront.Signer},{"../core":345}],343:[function(e,t,r){var a=e("./core");e("./credentials"),e("./credentials/credential_provider_chain");var i;a.Config=a.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),a.util.each.call(this,this.keys,function(t,r){this.set(t,e[t],r)})},getCredentials:function(e){function t(t){e(t,t?null:i.credentials)}function r(e,t){return new a.util.error(t||new Error,{code:"CredentialsError",message:e,name:"CredentialsError"})}var i=this;i.credentials?"function"==typeof i.credentials.get?function(){i.credentials.get(function(e){e&&(e=r("Could not load credentials from "+i.credentials.constructor.name,e)),t(e)})}():function(){var e=null;i.credentials.accessKeyId&&i.credentials.secretAccessKey||(e=r("Missing credentials")),t(e)}():i.credentialProvider?i.credentialProvider.resolve(function(e,a){e&&(e=r("Could not load credentials from any providers",e)),i.credentials=a,t(e)}):t(r("No credentials to load"))},getToken:function(e){function t(t){e(t,t?null:i.token)}function r(e,t){return new a.util.error(t||new Error,{code:"TokenError",message:e,name:"TokenError"})}var i=this;i.token?"function"==typeof i.token.get?function(){i.token.get(function(e){e&&(e=r("Could not load token from "+i.token.constructor.name,e)),t(e)})}():function(){var e=null;i.token.token||(e=r("Missing token")),t(e)}():i.tokenProvider?i.tokenProvider.resolve(function(e,a){e&&(e=r("Could not load token from any providers",e)),i.token=a,t(e)}):t(r("No token to load"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),a.util.each.call(this,e,function(e,r){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||a.Service.hasService(e))&&this.set(e,r)})},loadFromPath:function(e){this.clear();var t=JSON.parse(a.util.readFileSync(e)),r=new a.FileSystemCredentials(e),i=new a.CredentialProviderChain;return i.providers.unshift(r),i.resolve(function(e,r){if(e)throw e;t.credentials=r}),this.constructor(t),this},clear:function(){a.util.each.call(this,this.keys,function(e){delete this[e]}),this.set("credentials",void 0),this.set("credentialProvider",void 0)},set:function(e,t,r){void 0===t?(void 0===r&&(r=this.keys[e]),this[e]="function"==typeof r?r.call(this):r):"httpOptions"===e&&this[e]?this[e]=a.util.merge(this[e],t):this[e]=t},keys:{credentials:null,credentialProvider:null,region:null,logger:null,apiVersions:{},apiVersion:null,endpoint:void 0,httpOptions:{timeout:12e4},maxRetries:void 0,maxRedirects:10,paramValidation:!0,sslEnabled:!0,s3ForcePathStyle:!1,s3BucketEndpoint:!1,s3DisableBodySigning:!0,s3UsEast1RegionalEndpoint:"legacy",s3UseArnRegion:void 0,computeChecksums:!0,convertResponseTypes:!0,correctClockSkew:!1,customUserAgent:null,dynamoDbCrc32:!0,systemClockOffset:0,signatureVersion:null,signatureCache:!0,retryDelayOptions:{},useAccelerateEndpoint:!1,clientSideMonitoring:!1,endpointDiscoveryEnabled:void 0,endpointCacheSize:1e3,hostPrefixEnabled:!0,stsRegionalEndpoints:"legacy",useFipsEndpoint:!1,useDualstackEndpoint:!1,token:null},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&(e=a.util.copy(e),e.credentials=new a.Credentials(e)),e},setPromisesDependency:function(e){i=e,null===e&&"function"==typeof Promise&&(i=Promise);var t=[a.Request,a.Credentials,a.CredentialProviderChain];a.S3&&(t.push(a.S3),a.S3.ManagedUpload&&t.push(a.S3.ManagedUpload)),a.util.addPromises(t,i)},getPromisesDependency:function(){return i}}),a.config=new a.Config},{"./core":345,"./credentials":346,"./credentials/credential_provider_chain":349}],344:[function(e,t,r){(function(r){(function(){function a(e,t){if("string"==typeof e){if(["legacy","regional"].indexOf(e.toLowerCase())>=0)return e.toLowerCase();throw s.util.error(new Error,t)}}function i(e,t){e=e||{};var i;if(e[t.clientConfig]&&(i=a(e[t.clientConfig],{code:"InvalidConfiguration",message:'invalid "'+t.clientConfig+'" configuration. Expect "legacy" or "regional". Got "'+e[t.clientConfig]+'".'})))return i;if(!s.util.isNode())return i;if(Object.prototype.hasOwnProperty.call(r.env,t.env)){if(i=a(r.env[t.env],{code:"InvalidEnvironmentalVariable",message:"invalid "+t.env+' environmental variable. Expect "legacy" or "regional". Got "'+r.env[t.env]+'".'}))return i}var o={};try{o=s.util.getProfilesFromSharedConfig(s.util.iniLoader)[r.env.AWS_PROFILE||s.util.defaultProfile]}catch(e){}if(o&&Object.prototype.hasOwnProperty.call(o,t.sharedConfig)){if(i=a(o[t.sharedConfig],{code:"InvalidConfiguration",message:"invalid "+t.sharedConfig+' profile config. Expect "legacy" or "regional". Got "'+o[t.sharedConfig]+'".'}))return i}return i}var s=e("./core");t.exports=i}).call(this)}).call(this,e("_process"))},{"./core":345,_process:440}],345:[function(e,t,r){var a={util:e("./util")};({}).toString(),t.exports=a,a.util.update(a,{VERSION:"2.1340.0",Signers:{},Protocol:{Json:e("./protocol/json"),Query:e("./protocol/query"),Rest:e("./protocol/rest"),RestJson:e("./protocol/rest_json"),RestXml:e("./protocol/rest_xml")},XML:{Builder:e("./xml/builder"),Parser:null},JSON:{Builder:e("./json/builder"),Parser:e("./json/parser")},Model:{Api:e("./model/api"),Operation:e("./model/operation"),Shape:e("./model/shape"),Paginator:e("./model/paginator"),ResourceWaiter:e("./model/resource_waiter")},apiLoader:e("./api_loader"),EndpointCache:e("../vendor/endpoint-cache").EndpointCache}),e("./sequential_executor"),e("./service"),e("./config"),e("./http"),e("./event_listeners"),e("./request"),e("./response"),e("./resource_waiter"),e("./signers/request_signer"),e("./param_validator"),e("./maintenance_mode_message"),a.events=new a.SequentialExecutor,a.util.memoizedProperty(a,"endpointCache",function(){return new a.EndpointCache(a.config.endpointCacheSize)},!0)},{"../vendor/endpoint-cache":460,"./api_loader":334,"./config":343,"./event_listeners":366,"./http":367,"./json/builder":369,"./json/parser":370,"./maintenance_mode_message":371,"./model/api":372,"./model/operation":374,"./model/paginator":375,"./model/resource_waiter":376,"./model/shape":377,"./param_validator":378,"./protocol/json":381,"./protocol/query":382,"./protocol/rest":383,"./protocol/rest_json":384,"./protocol/rest_xml":385,"./request":392,"./resource_waiter":393,"./response":394,"./sequential_executor":396,"./service":397,"./signers/request_signer":415,"./util":423,"./xml/builder":425}],346:[function(e,t,r){var a=e("./core");a.Credentials=a.util.inherit({constructor:function(){if(a.util.hideProperties(this,["secretAccessKey"]),this.expired=!1,this.expireTime=null,this.refreshCallbacks=[],1===arguments.length&&"object"==typeof arguments[0]){var e=arguments[0].credentials||arguments[0];this.accessKeyId=e.accessKeyId,this.secretAccessKey=e.secretAccessKey,this.sessionToken=e.sessionToken}else this.accessKeyId=arguments[0],this.secretAccessKey=arguments[1],this.sessionToken=arguments[2]},expiryWindow:15,needsRefresh:function(){var e=a.util.date.getDate().getTime(),t=new Date(e+1e3*this.expiryWindow);return!!(this.expireTime&&t>this.expireTime)||(this.expired||!this.accessKeyId||!this.secretAccessKey)},get:function(e){var t=this;this.needsRefresh()?this.refresh(function(r){r||(t.expired=!1),e&&e(r)}):e&&e()},refresh:function(e){this.expired=!1,e()},coalesceRefresh:function(e,t){var r=this;1===r.refreshCallbacks.push(e)&&r.load(function(e){a.util.arrayEach(r.refreshCallbacks,function(r){t?r(e):a.util.defer(function(){r(e)})}),r.refreshCallbacks.length=0})},load:function(e){e()}}),a.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=a.util.promisifyMethod("get",e),this.prototype.refreshPromise=a.util.promisifyMethod("refresh",e)},a.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},a.util.addPromises(a.Credentials)},{"./core":345}],347:[function(e,t,r){var a=e("../core"),i=e("../../clients/sts");a.ChainableTemporaryCredentials=a.util.inherit(a.Credentials,{constructor:function(e){a.Credentials.call(this),e=e||{},this.errorCode="ChainableTemporaryCredentialsProviderFailure",this.expired=!0,this.tokenCodeFn=null;var t=a.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||"temporary-credentials"),t.SerialNumber){if(!e.tokenCodeFn||"function"!=typeof e.tokenCodeFn)throw new a.util.error(new Error("tokenCodeFn must be a function when params.SerialNumber is given"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var r=a.util.merge({params:t,credentials:e.masterCredentials||a.config.credentials},e.stsConfig||{});this.service=new i(r)},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this,r=t.service.config.params.RoleArn?"assumeRole":"getSessionToken";this.getTokenCode(function(a,i){var s={};if(a)return void e(a);i&&(s.TokenCode=i),t.service[r](s,function(r,a){r||t.service.credentialsFrom(a,t),e(r)})})},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,function(r,i){if(r){var s=r;return r instanceof Error&&(s=r.message),void e(a.util.error(new Error("Error fetching MFA token: "+s),{code:t.errorCode}))}e(null,i)}):e(null)}})},{"../../clients/sts":329,"../core":345}],348:[function(e,t,r){var a=e("../core"),i=e("../../clients/cognitoidentity"),s=e("../../clients/sts");a.CognitoIdentityCredentials=a.util.inherit(a.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e,t){a.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=a.util.copy(t||{}),this.loadCachedId();var r=this;Object.defineProperty(this,"identityId",{get:function(){return r.loadCachedId(),r._identityId||r.params.IdentityId},set:function(e){r._identityId=e}})},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.data=null,t._identityId=null,t.getId(function(r){r?(t.clearIdOnNotAuthorized(r),e(r)):t.params.RoleArn?t.getCredentialsFromSTS(e):t.getCredentialsForIdentity(e)})},clearCachedId:function(){this._identityId=null,delete this.params.IdentityId;var e=this.params.IdentityPoolId,t=this.params.LoginId||"";delete this.storage[this.localStorageKey.id+e+t],delete this.storage[this.localStorageKey.providers+e+t]},clearIdOnNotAuthorized:function(e){var t=this;"NotAuthorizedException"==e.code&&t.clearCachedId()},getId:function(e){var t=this;if("string"==typeof t.params.IdentityId)return e(null,t.params.IdentityId);t.cognito.getId(function(r,a){!r&&a.IdentityId?(t.params.IdentityId=a.IdentityId,e(null,a.IdentityId)):e(r)})},loadCredentials:function(e,t){e&&t&&(t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration)},getCredentialsForIdentity:function(e){var t=this;t.cognito.getCredentialsForIdentity(function(r,a){r?t.clearIdOnNotAuthorized(r):(t.cacheId(a),t.data=a,t.loadCredentials(t.data,t)),e(r)})},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken(function(r,a){r?(t.clearIdOnNotAuthorized(r),e(r)):(t.cacheId(a),t.params.WebIdentityToken=a.Token,t.webIdentityCredentials.refresh(function(r){r||(t.data=t.webIdentityCredentials.data,t.sts.credentialsFrom(t.data,t)),e(r)}))})},loadCachedId:function(){var e=this;if(a.util.isBrowser()&&!e.params.IdentityId){var t=e.getStorage("id");if(t&&e.params.Logins){var r=Object.keys(e.params.Logins);0!==(e.getStorage("providers")||"").split(",").filter(function(e){return-1!==r.indexOf(e)}).length&&(e.params.IdentityId=t)}else t&&(e.params.IdentityId=t)}},createClients:function(){var e=this._clientConfig;if(this.webIdentityCredentials=this.webIdentityCredentials||new a.WebIdentityCredentials(this.params,e),!this.cognito){var t=a.util.merge({},e);t.params=this.params,this.cognito=new i(t)}this.sts=this.sts||new s(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,a.util.isBrowser()&&(this.setStorage("id",e.IdentityId),this.params.Logins&&this.setStorage("providers",Object.keys(this.params.Logins).join(",")))},getStorage:function(e){return this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]},setStorage:function(e,t){try{this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]=t}catch(e){}},storage:function(){try{var e=a.util.isBrowser()&&null!==window.localStorage&&"object"==typeof window.localStorage?window.localStorage:{};return e["aws.test-storage"]="foobar",delete e["aws.test-storage"],e}catch(e){return{}}}()})},{"../../clients/cognitoidentity":260,"../../clients/sts":329,"../core":345}],349:[function(e,t,r){var a=e("../core");a.CredentialProviderChain=a.util.inherit(a.Credentials,{constructor:function(e){this.providers=e||a.CredentialProviderChain.defaultProviders.slice(0),this.resolveCallbacks=[]},resolve:function(e){function t(e,o){if(!e&&o||i===s.length)return a.util.arrayEach(r.resolveCallbacks,function(t){t(e,o)}),void(r.resolveCallbacks.length=0);var n=s[i++];o="function"==typeof n?n.call():n,o.get?o.get(function(e){t(e,e?null:o)}):t(null,o)}var r=this;if(0===r.providers.length)return e(new Error("No providers")),r;if(1===r.resolveCallbacks.push(e)){var i=0,s=r.providers.slice(0);t()}return r}}),a.CredentialProviderChain.defaultProviders=[],a.CredentialProviderChain.addPromisesToClass=function(e){this.prototype.resolvePromise=a.util.promisifyMethod("resolve",e)},a.CredentialProviderChain.deletePromisesFromClass=function(){delete this.prototype.resolvePromise},a.util.addPromises(a.CredentialProviderChain)},{"../core":345}],350:[function(e,t,r){var a=e("../core"),i=e("../../clients/sts");a.SAMLCredentials=a.util.inherit(a.Credentials,{constructor:function(e){a.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithSAML(function(r,a){r||t.service.credentialsFrom(a,t),e(r)})},createClients:function(){this.service=this.service||new i({params:this.params})}})},{"../../clients/sts":329,"../core":345}],351:[function(e,t,r){var a=e("../core"),i=e("../../clients/sts");a.TemporaryCredentials=a.util.inherit(a.Credentials,{constructor:function(e,t){a.Credentials.call(this),this.loadMasterCredentials(t),this.expired=!0,this.params=e||{},this.params.RoleArn&&(this.params.RoleSessionName=this.params.RoleSessionName||"temporary-credentials")},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.masterCredentials.get(function(){t.service.config.credentials=t.masterCredentials,(t.params.RoleArn?t.service.assumeRole:t.service.getSessionToken).call(t.service,function(r,a){r||t.service.credentialsFrom(a,t),e(r)})})},loadMasterCredentials:function(e){for(this.masterCredentials=e||a.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials;"function"!=typeof this.masterCredentials.get&&(this.masterCredentials=new a.Credentials(this.masterCredentials))},createClients:function(){this.service=this.service||new i({params:this.params})}})},{"../../clients/sts":329,"../core":345}],352:[function(e,t,r){var a=e("../core"),i=e("../../clients/sts");a.WebIdentityCredentials=a.util.inherit(a.Credentials,{constructor:function(e,t){a.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null,this._clientConfig=a.util.copy(t||{})},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithWebIdentity(function(r,a){t.data=null,r||(t.data=a,t.service.credentialsFrom(a,t)),e(r)})},createClients:function(){if(!this.service){var e=a.util.merge({},this._clientConfig);e.params=this.params,this.service=new i(e)}}})},{ +Object.defineProperty(s.services.workdocs,"2016-05-01",{get:function(){var t=e("../apis/workdocs-2016-05-01.min.json");return t.paginators=e("../apis/workdocs-2016-05-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.WorkDocs},{"../apis/workdocs-2016-05-01.min.json":238,"../apis/workdocs-2016-05-01.paginators.json":239,"../lib/core":345,"../lib/node_loader":341}],333:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),i=a.Service,s=a.apiLoader;s.services.xray={},a.XRay=i.defineService("xray",["2016-04-12"]),Object.defineProperty(s.services.xray,"2016-04-12",{get:function(){var t=e("../apis/xray-2016-04-12.min.json");return t.paginators=e("../apis/xray-2016-04-12.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.XRay},{"../apis/xray-2016-04-12.min.json":240,"../apis/xray-2016-04-12.paginators.json":241,"../lib/core":345,"../lib/node_loader":341}],334:[function(e,t,r){function a(e,t){if(!a.services.hasOwnProperty(e))throw new Error("InvalidService: Failed to load api for "+e);return a.services[e][t]}a.services={},t.exports=a},{}],335:[function(e,t,r){var a=e("./browserHmac"),i=e("./browserMd5"),s=e("./browserSha1"),o=e("./browserSha256");t.exports={createHash:function(e){if("md5"===(e=e.toLowerCase()))return new i;if("sha256"===e)return new o;if("sha1"===e)return new s;throw new Error("Hash algorithm "+e+" is not supported in the browser SDK")},createHmac:function(e,t){if("md5"===(e=e.toLowerCase()))return new a(i,t);if("sha256"===e)return new a(o,t);if("sha1"===e)return new a(s,t);throw new Error("HMAC algorithm "+e+" is not supported in the browser SDK")},createSign:function(){throw new Error("createSign is not implemented in the browser")}}},{"./browserHmac":337,"./browserMd5":338,"./browserSha1":339,"./browserSha256":340}],336:[function(e,t,r){function a(e){return"string"==typeof e?0===e.length:0===e.byteLength}function i(e){return"string"==typeof e&&(e=new s(e,"utf8")),ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}var s=e("buffer/").Buffer;"undefined"!=typeof ArrayBuffer&&void 0===ArrayBuffer.isView&&(ArrayBuffer.isView=function(e){return o.indexOf(Object.prototype.toString.call(e))>-1});var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]","[object DataView]"];t.exports={isEmptyData:a,convertToBuffer:i}},{"buffer/":435}],337:[function(e,t,r){function a(e,t){this.hash=new e,this.outer=new e;var r=i(e,t),a=new Uint8Array(e.BLOCK_SIZE);a.set(r);for(var s=0;se.BLOCK_SIZE){var a=new e;a.update(r),r=a.digest()}var i=new Uint8Array(e.BLOCK_SIZE);return i.set(r),i}var s=e("./browserHashUtils");t.exports=a,a.prototype.update=function(e){if(s.isEmptyData(e)||this.error)return this;try{this.hash.update(s.convertToBuffer(e))}catch(e){this.error=e}return this},a.prototype.digest=function(e){return this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest(e)}},{"./browserHashUtils":336}],338:[function(e,t,r){function a(){this.state=[1732584193,4023233417,2562383102,271733878],this.buffer=new DataView(new ArrayBuffer(c)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}function i(e,t,r,a,i,s){return((t=(t+e&4294967295)+(a+s&4294967295)&4294967295)<>>32-i)+r&4294967295}function s(e,t,r,a,s,o,n){return i(t&r|~t&a,e,t,s,o,n)}function o(e,t,r,a,s,o,n){return i(t&a|r&~a,e,t,s,o,n)}function n(e,t,r,a,s,o,n){return i(t^r^a,e,t,s,o,n)}function u(e,t,r,a,s,o,n){return i(r^(t|~a),e,t,s,o,n)}var p=e("./browserHashUtils"),m=e("buffer/").Buffer,c=64;t.exports=a,a.BLOCK_SIZE=c,a.prototype.update=function(e){if(p.isEmptyData(e))return this;if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=p.convertToBuffer(e),r=0,a=t.byteLength;for(this.bytesHashed+=a;a>0;)this.buffer.setUint8(this.bufferLength++,t[r++]),a--,this.bufferLength===c&&(this.hashBuffer(),this.bufferLength=0);return this},a.prototype.digest=function(e){if(!this.finished){var t=this,r=t.buffer,a=t.bufferLength,i=t.bytesHashed,s=8*i;if(r.setUint8(this.bufferLength++,128),a%c>=c-8){for(var o=this.bufferLength;o>>0,!0),r.setUint32(c-4,Math.floor(s/4294967296),!0),this.hashBuffer(),this.finished=!0}for(var n=new DataView(new ArrayBuffer(16)),o=0;o<4;o++)n.setUint32(4*o,this.state[o],!0);var u=new m(n.buffer,n.byteOffset,n.byteLength);return e?u.toString(e):u},a.prototype.hashBuffer=function(){var e=this,t=e.buffer,r=e.state,a=r[0],i=r[1],p=r[2],m=r[3];a=s(a,i,p,m,t.getUint32(0,!0),7,3614090360),m=s(m,a,i,p,t.getUint32(4,!0),12,3905402710),p=s(p,m,a,i,t.getUint32(8,!0),17,606105819),i=s(i,p,m,a,t.getUint32(12,!0),22,3250441966),a=s(a,i,p,m,t.getUint32(16,!0),7,4118548399),m=s(m,a,i,p,t.getUint32(20,!0),12,1200080426),p=s(p,m,a,i,t.getUint32(24,!0),17,2821735955),i=s(i,p,m,a,t.getUint32(28,!0),22,4249261313),a=s(a,i,p,m,t.getUint32(32,!0),7,1770035416),m=s(m,a,i,p,t.getUint32(36,!0),12,2336552879),p=s(p,m,a,i,t.getUint32(40,!0),17,4294925233),i=s(i,p,m,a,t.getUint32(44,!0),22,2304563134),a=s(a,i,p,m,t.getUint32(48,!0),7,1804603682),m=s(m,a,i,p,t.getUint32(52,!0),12,4254626195),p=s(p,m,a,i,t.getUint32(56,!0),17,2792965006),i=s(i,p,m,a,t.getUint32(60,!0),22,1236535329),a=o(a,i,p,m,t.getUint32(4,!0),5,4129170786),m=o(m,a,i,p,t.getUint32(24,!0),9,3225465664),p=o(p,m,a,i,t.getUint32(44,!0),14,643717713),i=o(i,p,m,a,t.getUint32(0,!0),20,3921069994),a=o(a,i,p,m,t.getUint32(20,!0),5,3593408605),m=o(m,a,i,p,t.getUint32(40,!0),9,38016083),p=o(p,m,a,i,t.getUint32(60,!0),14,3634488961),i=o(i,p,m,a,t.getUint32(16,!0),20,3889429448),a=o(a,i,p,m,t.getUint32(36,!0),5,568446438),m=o(m,a,i,p,t.getUint32(56,!0),9,3275163606),p=o(p,m,a,i,t.getUint32(12,!0),14,4107603335),i=o(i,p,m,a,t.getUint32(32,!0),20,1163531501),a=o(a,i,p,m,t.getUint32(52,!0),5,2850285829),m=o(m,a,i,p,t.getUint32(8,!0),9,4243563512),p=o(p,m,a,i,t.getUint32(28,!0),14,1735328473),i=o(i,p,m,a,t.getUint32(48,!0),20,2368359562),a=n(a,i,p,m,t.getUint32(20,!0),4,4294588738),m=n(m,a,i,p,t.getUint32(32,!0),11,2272392833),p=n(p,m,a,i,t.getUint32(44,!0),16,1839030562),i=n(i,p,m,a,t.getUint32(56,!0),23,4259657740),a=n(a,i,p,m,t.getUint32(4,!0),4,2763975236),m=n(m,a,i,p,t.getUint32(16,!0),11,1272893353),p=n(p,m,a,i,t.getUint32(28,!0),16,4139469664),i=n(i,p,m,a,t.getUint32(40,!0),23,3200236656),a=n(a,i,p,m,t.getUint32(52,!0),4,681279174),m=n(m,a,i,p,t.getUint32(0,!0),11,3936430074),p=n(p,m,a,i,t.getUint32(12,!0),16,3572445317),i=n(i,p,m,a,t.getUint32(24,!0),23,76029189),a=n(a,i,p,m,t.getUint32(36,!0),4,3654602809),m=n(m,a,i,p,t.getUint32(48,!0),11,3873151461),p=n(p,m,a,i,t.getUint32(60,!0),16,530742520),i=n(i,p,m,a,t.getUint32(8,!0),23,3299628645),a=u(a,i,p,m,t.getUint32(0,!0),6,4096336452),m=u(m,a,i,p,t.getUint32(28,!0),10,1126891415),p=u(p,m,a,i,t.getUint32(56,!0),15,2878612391),i=u(i,p,m,a,t.getUint32(20,!0),21,4237533241),a=u(a,i,p,m,t.getUint32(48,!0),6,1700485571),m=u(m,a,i,p,t.getUint32(12,!0),10,2399980690),p=u(p,m,a,i,t.getUint32(40,!0),15,4293915773),i=u(i,p,m,a,t.getUint32(4,!0),21,2240044497),a=u(a,i,p,m,t.getUint32(32,!0),6,1873313359),m=u(m,a,i,p,t.getUint32(60,!0),10,4264355552),p=u(p,m,a,i,t.getUint32(24,!0),15,2734768916),i=u(i,p,m,a,t.getUint32(52,!0),21,1309151649),a=u(a,i,p,m,t.getUint32(16,!0),6,4149444226),m=u(m,a,i,p,t.getUint32(44,!0),10,3174756917),p=u(p,m,a,i,t.getUint32(8,!0),15,718787259),i=u(i,p,m,a,t.getUint32(36,!0),21,3951481745),r[0]=a+r[0]&4294967295,r[1]=i+r[1]&4294967295,r[2]=p+r[2]&4294967295,r[3]=m+r[3]&4294967295}},{"./browserHashUtils":336,"buffer/":435}],339:[function(e,t,r){function a(){this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=new Uint32Array(80),this.offset=0,this.shift=24,this.totalLength=0}var i=e("buffer/").Buffer,s=e("./browserHashUtils");new Uint32Array([1518500249,1859775393,-1894007588,-899497514]),Math.pow(2,53);t.exports=a,a.BLOCK_SIZE=64,a.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(s.isEmptyData(e))return this;e=s.convertToBuffer(e);var t=e.length;this.totalLength+=8*t;for(var r=0;r14||14===this.offset&&this.shift<24)&&this.processBlock(),this.offset=14,this.shift=24,this.write(0),this.write(0),this.write(this.totalLength>0xffffffffff?this.totalLength/1099511627776:0),this.write(this.totalLength>4294967295?this.totalLength/4294967296:0);for(var t=24;t>=0;t-=8)this.write(this.totalLength>>t);var r=new i(20),a=new DataView(r.buffer);return a.setUint32(0,this.h0,!1),a.setUint32(4,this.h1,!1),a.setUint32(8,this.h2,!1),a.setUint32(12,this.h3,!1),a.setUint32(16,this.h4,!1),e?r.toString(e):r},a.prototype.processBlock=function(){for(var e=16;e<80;e++){var t=this.block[e-3]^this.block[e-8]^this.block[e-14]^this.block[e-16];this.block[e]=t<<1|t>>>31}var r,a,i=this.h0,s=this.h1,o=this.h2,n=this.h3,u=this.h4;for(e=0;e<80;e++){e<20?(r=n^s&(o^n),a=1518500249):e<40?(r=s^o^n,a=1859775393):e<60?(r=s&o|n&(s|o),a=2400959708):(r=s^o^n,a=3395469782);var p=(i<<5|i>>>27)+r+u+a+(0|this.block[e]);u=n,n=o,o=s<<30|s>>>2,s=i,i=p}for(this.h0=this.h0+i|0,this.h1=this.h1+s|0,this.h2=this.h2+o|0,this.h3=this.h3+n|0,this.h4=this.h4+u|0,this.offset=0,e=0;e<16;e++)this.block[e]=0}},{"./browserHashUtils":336,"buffer/":435}],340:[function(e,t,r){function a(){this.state=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}var i=e("buffer/").Buffer,s=e("./browserHashUtils"),o=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),n=Math.pow(2,53)-1;t.exports=a,a.BLOCK_SIZE=64,a.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(s.isEmptyData(e))return this;e=s.convertToBuffer(e);var t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>n)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0);return this},a.prototype.digest=function(e){if(!this.finished){var t=8*this.bytesHashed,r=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),a=this.bufferLength;if(r.setUint8(this.bufferLength++,128),a%64>=56){for(var s=this.bufferLength;s<64;s++)r.setUint8(s,0);this.hashBuffer(),this.bufferLength=0}for(var s=this.bufferLength;s<56;s++)r.setUint8(s,0);r.setUint32(56,Math.floor(t/4294967296),!0),r.setUint32(60,t),this.hashBuffer(),this.finished=!0}for(var o=new i(32),s=0;s<8;s++)o[4*s]=this.state[s]>>>24&255,o[4*s+1]=this.state[s]>>>16&255,o[4*s+2]=this.state[s]>>>8&255,o[4*s+3]=this.state[s]>>>0&255;return e?o.toString(e):o},a.prototype.hashBuffer=function(){for(var e=this,t=e.buffer,r=e.state,a=r[0],i=r[1],s=r[2],n=r[3],u=r[4],p=r[5],m=r[6],c=r[7],l=0;l<64;l++){if(l<16)this.temp[l]=(255&t[4*l])<<24|(255&t[4*l+1])<<16|(255&t[4*l+2])<<8|255&t[4*l+3];else{var d=this.temp[l-2],y=(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10;d=this.temp[l-15];var b=(d>>>7|d<<25)^(d>>>18|d<<14)^d>>>3;this.temp[l]=(y+this.temp[l-7]|0)+(b+this.temp[l-16]|0)}var S=(((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&p^~u&m)|0)+(c+(o[l]+this.temp[l]|0)|0)|0,g=((a>>>2|a<<30)^(a>>>13|a<<19)^(a>>>22|a<<10))+(a&i^a&s^i&s)|0;c=m,m=p,p=u,u=n+S|0,n=s,s=i,i=a,a=S+g|0}r[0]+=a,r[1]+=i,r[2]+=s,r[3]+=n,r[4]+=u,r[5]+=p,r[6]+=m,r[7]+=c}},{"./browserHashUtils":336,"buffer/":435}],341:[function(e,t,r){(function(r){(function(){var r=e("./util");r.crypto.lib=e("./browserCryptoLib"),r.Buffer=e("buffer/").Buffer,r.url=e("url/"),r.querystring=e("querystring/"),r.realClock=e("./realclock/browserClock"),r.environment="js",r.createEventStream=e("./event-stream/buffered-create-event-stream").createEventStream,r.isBrowser=function(){return!0},r.isNode=function(){return!1};var a=e("./core");if(t.exports=a,e("./credentials"),e("./credentials/credential_provider_chain"),e("./credentials/temporary_credentials"),e("./credentials/chainable_temporary_credentials"),e("./credentials/web_identity_credentials"),e("./credentials/cognito_identity_credentials"),e("./credentials/saml_credentials"),a.XML.Parser=e("./xml/browser_parser"),e("./http/xhr"),void 0===i)var i={browser:!0}}).call(this)}).call(this,e("_process"))},{"./browserCryptoLib":335,"./core":345,"./credentials":346,"./credentials/chainable_temporary_credentials":347,"./credentials/cognito_identity_credentials":348,"./credentials/credential_provider_chain":349,"./credentials/saml_credentials":350,"./credentials/temporary_credentials":351,"./credentials/web_identity_credentials":352,"./event-stream/buffered-create-event-stream":360,"./http/xhr":368,"./realclock/browserClock":388,"./util":423,"./xml/browser_parser":424,_process:440,"buffer/":435,"querystring/":447,"url/":449}],342:[function(e,t,r){var a=e("../core"),i=a.util.url,s=a.util.crypto.lib,o=a.util.base64.encode,n=a.util.inherit,u=function(e){var t={"+":"-","=":"_","/":"~"};return e.replace(/[\+=\/]/g,function(e){return t[e]})},p=function(e,t){var r=s.createSign("RSA-SHA1");return r.write(e),u(r.sign(t,"base64"))},m=function(e,t,r,a){var i=JSON.stringify({Statement:[{Resource:e,Condition:{DateLessThan:{"AWS:EpochTime":t}}}]});return{Expires:t,"Key-Pair-Id":r,Signature:p(i.toString(),a)}},c=function(e,t,r){return e=e.replace(/\s/gm,""),{Policy:u(o(e)),"Key-Pair-Id":t,Signature:p(e,r)}},l=function(e){var t=e.split("://");if(t.length<2)throw new Error("Invalid URL.");return t[0].replace("*","")},d=function(e){var t=i.parse(e);return t.path.replace(/^\//,"")+(t.hash||"")},y=function(e){switch(l(e)){case"http":case"https":return e;case"rtmp":return d(e);default:throw new Error("Invalid URI scheme. Scheme must be one of http, https, or rtmp")}},b=function(e,t){if(!t||"function"!=typeof t)throw e;t(e)},S=function(e,t){if(!t||"function"!=typeof t)return e;t(null,e)};a.CloudFront.Signer=n({constructor:function(e,t){if(void 0===e||void 0===t)throw new Error("A key pair ID and private key are required");this.keyPairId=e,this.privateKey=t},getSignedCookie:function(e,t){var r="policy"in e?c(e.policy,this.keyPairId,this.privateKey):m(e.url,e.expires,this.keyPairId,this.privateKey),a={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(a["CloudFront-"+i]=r[i]);return S(a,t)},getSignedUrl:function(e,t){try{var r=y(e.url)}catch(e){return b(e,t)}var a=i.parse(e.url,!0),s=Object.prototype.hasOwnProperty.call(e,"policy")?c(e.policy,this.keyPairId,this.privateKey):m(r,e.expires,this.keyPairId,this.privateKey);a.search=null;for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(a.query[o]=s[o]);try{var n="rtmp"===l(e.url)?d(i.format(a)):i.format(a)}catch(e){return b(e,t)}return S(n,t)}}),t.exports=a.CloudFront.Signer},{"../core":345}],343:[function(e,t,r){var a=e("./core");e("./credentials"),e("./credentials/credential_provider_chain");var i;a.Config=a.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),a.util.each.call(this,this.keys,function(t,r){this.set(t,e[t],r)})},getCredentials:function(e){function t(t){e(t,t?null:i.credentials)}function r(e,t){return new a.util.error(t||new Error,{code:"CredentialsError",message:e,name:"CredentialsError"})}var i=this;i.credentials?"function"==typeof i.credentials.get?function(){i.credentials.get(function(e){e&&(e=r("Could not load credentials from "+i.credentials.constructor.name,e)),t(e)})}():function(){var e=null;i.credentials.accessKeyId&&i.credentials.secretAccessKey||(e=r("Missing credentials")),t(e)}():i.credentialProvider?i.credentialProvider.resolve(function(e,a){e&&(e=r("Could not load credentials from any providers",e)),i.credentials=a,t(e)}):t(r("No credentials to load"))},getToken:function(e){function t(t){e(t,t?null:i.token)}function r(e,t){return new a.util.error(t||new Error,{code:"TokenError",message:e,name:"TokenError"})}var i=this;i.token?"function"==typeof i.token.get?function(){i.token.get(function(e){e&&(e=r("Could not load token from "+i.token.constructor.name,e)),t(e)})}():function(){var e=null;i.token.token||(e=r("Missing token")),t(e)}():i.tokenProvider?i.tokenProvider.resolve(function(e,a){e&&(e=r("Could not load token from any providers",e)),i.token=a,t(e)}):t(r("No token to load"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),a.util.each.call(this,e,function(e,r){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||a.Service.hasService(e))&&this.set(e,r)})},loadFromPath:function(e){this.clear();var t=JSON.parse(a.util.readFileSync(e)),r=new a.FileSystemCredentials(e),i=new a.CredentialProviderChain;return i.providers.unshift(r),i.resolve(function(e,r){if(e)throw e;t.credentials=r}),this.constructor(t),this},clear:function(){a.util.each.call(this,this.keys,function(e){delete this[e]}),this.set("credentials",void 0),this.set("credentialProvider",void 0)},set:function(e,t,r){void 0===t?(void 0===r&&(r=this.keys[e]),this[e]="function"==typeof r?r.call(this):r):"httpOptions"===e&&this[e]?this[e]=a.util.merge(this[e],t):this[e]=t},keys:{credentials:null,credentialProvider:null,region:null,logger:null,apiVersions:{},apiVersion:null,endpoint:void 0,httpOptions:{timeout:12e4},maxRetries:void 0,maxRedirects:10,paramValidation:!0,sslEnabled:!0,s3ForcePathStyle:!1,s3BucketEndpoint:!1,s3DisableBodySigning:!0,s3UsEast1RegionalEndpoint:"legacy",s3UseArnRegion:void 0,computeChecksums:!0,convertResponseTypes:!0,correctClockSkew:!1,customUserAgent:null,dynamoDbCrc32:!0,systemClockOffset:0,signatureVersion:null,signatureCache:!0,retryDelayOptions:{},useAccelerateEndpoint:!1,clientSideMonitoring:!1,endpointDiscoveryEnabled:void 0,endpointCacheSize:1e3,hostPrefixEnabled:!0,stsRegionalEndpoints:"legacy",useFipsEndpoint:!1,useDualstackEndpoint:!1,token:null},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&(e=a.util.copy(e),e.credentials=new a.Credentials(e)),e},setPromisesDependency:function(e){i=e,null===e&&"function"==typeof Promise&&(i=Promise);var t=[a.Request,a.Credentials,a.CredentialProviderChain];a.S3&&(t.push(a.S3),a.S3.ManagedUpload&&t.push(a.S3.ManagedUpload)),a.util.addPromises(t,i)},getPromisesDependency:function(){return i}}),a.config=new a.Config},{"./core":345,"./credentials":346,"./credentials/credential_provider_chain":349}],344:[function(e,t,r){(function(r){(function(){function a(e,t){if("string"==typeof e){if(["legacy","regional"].indexOf(e.toLowerCase())>=0)return e.toLowerCase();throw s.util.error(new Error,t)}}function i(e,t){e=e||{};var i;if(e[t.clientConfig]&&(i=a(e[t.clientConfig],{code:"InvalidConfiguration",message:'invalid "'+t.clientConfig+'" configuration. Expect "legacy" or "regional". Got "'+e[t.clientConfig]+'".'})))return i;if(!s.util.isNode())return i;if(Object.prototype.hasOwnProperty.call(r.env,t.env)){if(i=a(r.env[t.env],{code:"InvalidEnvironmentalVariable",message:"invalid "+t.env+' environmental variable. Expect "legacy" or "regional". Got "'+r.env[t.env]+'".'}))return i}var o={};try{o=s.util.getProfilesFromSharedConfig(s.util.iniLoader)[r.env.AWS_PROFILE||s.util.defaultProfile]}catch(e){}if(o&&Object.prototype.hasOwnProperty.call(o,t.sharedConfig)){if(i=a(o[t.sharedConfig],{code:"InvalidConfiguration",message:"invalid "+t.sharedConfig+' profile config. Expect "legacy" or "regional". Got "'+o[t.sharedConfig]+'".'}))return i}return i}var s=e("./core");t.exports=i}).call(this)}).call(this,e("_process"))},{"./core":345,_process:440}],345:[function(e,t,r){var a={util:e("./util")};({}).toString(),t.exports=a,a.util.update(a,{VERSION:"2.1341.0",Signers:{},Protocol:{Json:e("./protocol/json"),Query:e("./protocol/query"),Rest:e("./protocol/rest"),RestJson:e("./protocol/rest_json"),RestXml:e("./protocol/rest_xml")},XML:{Builder:e("./xml/builder"),Parser:null},JSON:{Builder:e("./json/builder"),Parser:e("./json/parser")},Model:{Api:e("./model/api"),Operation:e("./model/operation"),Shape:e("./model/shape"),Paginator:e("./model/paginator"),ResourceWaiter:e("./model/resource_waiter")},apiLoader:e("./api_loader"),EndpointCache:e("../vendor/endpoint-cache").EndpointCache}),e("./sequential_executor"),e("./service"),e("./config"),e("./http"),e("./event_listeners"),e("./request"),e("./response"),e("./resource_waiter"),e("./signers/request_signer"),e("./param_validator"),e("./maintenance_mode_message"),a.events=new a.SequentialExecutor,a.util.memoizedProperty(a,"endpointCache",function(){return new a.EndpointCache(a.config.endpointCacheSize)},!0)},{"../vendor/endpoint-cache":460,"./api_loader":334,"./config":343,"./event_listeners":366,"./http":367,"./json/builder":369,"./json/parser":370,"./maintenance_mode_message":371,"./model/api":372,"./model/operation":374,"./model/paginator":375,"./model/resource_waiter":376,"./model/shape":377,"./param_validator":378,"./protocol/json":381,"./protocol/query":382,"./protocol/rest":383,"./protocol/rest_json":384,"./protocol/rest_xml":385,"./request":392,"./resource_waiter":393,"./response":394,"./sequential_executor":396,"./service":397,"./signers/request_signer":415,"./util":423,"./xml/builder":425}],346:[function(e,t,r){var a=e("./core");a.Credentials=a.util.inherit({constructor:function(){if(a.util.hideProperties(this,["secretAccessKey"]),this.expired=!1,this.expireTime=null,this.refreshCallbacks=[],1===arguments.length&&"object"==typeof arguments[0]){var e=arguments[0].credentials||arguments[0];this.accessKeyId=e.accessKeyId,this.secretAccessKey=e.secretAccessKey,this.sessionToken=e.sessionToken}else this.accessKeyId=arguments[0],this.secretAccessKey=arguments[1],this.sessionToken=arguments[2]},expiryWindow:15,needsRefresh:function(){var e=a.util.date.getDate().getTime(),t=new Date(e+1e3*this.expiryWindow);return!!(this.expireTime&&t>this.expireTime)||(this.expired||!this.accessKeyId||!this.secretAccessKey)},get:function(e){var t=this;this.needsRefresh()?this.refresh(function(r){r||(t.expired=!1),e&&e(r)}):e&&e()},refresh:function(e){this.expired=!1,e()},coalesceRefresh:function(e,t){var r=this;1===r.refreshCallbacks.push(e)&&r.load(function(e){a.util.arrayEach(r.refreshCallbacks,function(r){t?r(e):a.util.defer(function(){r(e)})}),r.refreshCallbacks.length=0})},load:function(e){e()}}),a.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=a.util.promisifyMethod("get",e),this.prototype.refreshPromise=a.util.promisifyMethod("refresh",e)},a.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},a.util.addPromises(a.Credentials)},{"./core":345}],347:[function(e,t,r){var a=e("../core"),i=e("../../clients/sts");a.ChainableTemporaryCredentials=a.util.inherit(a.Credentials,{constructor:function(e){a.Credentials.call(this),e=e||{},this.errorCode="ChainableTemporaryCredentialsProviderFailure",this.expired=!0,this.tokenCodeFn=null;var t=a.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||"temporary-credentials"),t.SerialNumber){if(!e.tokenCodeFn||"function"!=typeof e.tokenCodeFn)throw new a.util.error(new Error("tokenCodeFn must be a function when params.SerialNumber is given"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var r=a.util.merge({params:t,credentials:e.masterCredentials||a.config.credentials},e.stsConfig||{});this.service=new i(r)},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this,r=t.service.config.params.RoleArn?"assumeRole":"getSessionToken";this.getTokenCode(function(a,i){var s={};if(a)return void e(a);i&&(s.TokenCode=i),t.service[r](s,function(r,a){r||t.service.credentialsFrom(a,t),e(r)})})},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,function(r,i){if(r){var s=r;return r instanceof Error&&(s=r.message),void e(a.util.error(new Error("Error fetching MFA token: "+s),{code:t.errorCode}))}e(null,i)}):e(null)}})},{"../../clients/sts":329,"../core":345}],348:[function(e,t,r){var a=e("../core"),i=e("../../clients/cognitoidentity"),s=e("../../clients/sts");a.CognitoIdentityCredentials=a.util.inherit(a.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e,t){a.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=a.util.copy(t||{}),this.loadCachedId();var r=this;Object.defineProperty(this,"identityId",{get:function(){return r.loadCachedId(),r._identityId||r.params.IdentityId},set:function(e){r._identityId=e}})},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.data=null,t._identityId=null,t.getId(function(r){r?(t.clearIdOnNotAuthorized(r),e(r)):t.params.RoleArn?t.getCredentialsFromSTS(e):t.getCredentialsForIdentity(e)})},clearCachedId:function(){this._identityId=null,delete this.params.IdentityId;var e=this.params.IdentityPoolId,t=this.params.LoginId||"";delete this.storage[this.localStorageKey.id+e+t],delete this.storage[this.localStorageKey.providers+e+t]},clearIdOnNotAuthorized:function(e){var t=this;"NotAuthorizedException"==e.code&&t.clearCachedId()},getId:function(e){var t=this;if("string"==typeof t.params.IdentityId)return e(null,t.params.IdentityId);t.cognito.getId(function(r,a){!r&&a.IdentityId?(t.params.IdentityId=a.IdentityId,e(null,a.IdentityId)):e(r)})},loadCredentials:function(e,t){e&&t&&(t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration)},getCredentialsForIdentity:function(e){var t=this;t.cognito.getCredentialsForIdentity(function(r,a){r?t.clearIdOnNotAuthorized(r):(t.cacheId(a),t.data=a,t.loadCredentials(t.data,t)),e(r)})},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken(function(r,a){r?(t.clearIdOnNotAuthorized(r),e(r)):(t.cacheId(a),t.params.WebIdentityToken=a.Token,t.webIdentityCredentials.refresh(function(r){r||(t.data=t.webIdentityCredentials.data,t.sts.credentialsFrom(t.data,t)),e(r)}))})},loadCachedId:function(){var e=this;if(a.util.isBrowser()&&!e.params.IdentityId){var t=e.getStorage("id");if(t&&e.params.Logins){var r=Object.keys(e.params.Logins);0!==(e.getStorage("providers")||"").split(",").filter(function(e){return-1!==r.indexOf(e)}).length&&(e.params.IdentityId=t)}else t&&(e.params.IdentityId=t)}},createClients:function(){var e=this._clientConfig;if(this.webIdentityCredentials=this.webIdentityCredentials||new a.WebIdentityCredentials(this.params,e),!this.cognito){var t=a.util.merge({},e);t.params=this.params,this.cognito=new i(t)}this.sts=this.sts||new s(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,a.util.isBrowser()&&(this.setStorage("id",e.IdentityId),this.params.Logins&&this.setStorage("providers",Object.keys(this.params.Logins).join(",")))},getStorage:function(e){return this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]},setStorage:function(e,t){try{this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]=t}catch(e){}},storage:function(){try{var e=a.util.isBrowser()&&null!==window.localStorage&&"object"==typeof window.localStorage?window.localStorage:{};return e["aws.test-storage"]="foobar",delete e["aws.test-storage"],e}catch(e){return{}}}()})},{"../../clients/cognitoidentity":260,"../../clients/sts":329,"../core":345}],349:[function(e,t,r){var a=e("../core");a.CredentialProviderChain=a.util.inherit(a.Credentials,{constructor:function(e){this.providers=e||a.CredentialProviderChain.defaultProviders.slice(0),this.resolveCallbacks=[]},resolve:function(e){function t(e,o){if(!e&&o||i===s.length)return a.util.arrayEach(r.resolveCallbacks,function(t){t(e,o)}),void(r.resolveCallbacks.length=0);var n=s[i++];o="function"==typeof n?n.call():n,o.get?o.get(function(e){t(e,e?null:o)}):t(null,o)}var r=this;if(0===r.providers.length)return e(new Error("No providers")),r;if(1===r.resolveCallbacks.push(e)){var i=0,s=r.providers.slice(0);t()}return r}}),a.CredentialProviderChain.defaultProviders=[],a.CredentialProviderChain.addPromisesToClass=function(e){this.prototype.resolvePromise=a.util.promisifyMethod("resolve",e)},a.CredentialProviderChain.deletePromisesFromClass=function(){delete this.prototype.resolvePromise},a.util.addPromises(a.CredentialProviderChain)},{"../core":345}],350:[function(e,t,r){var a=e("../core"),i=e("../../clients/sts");a.SAMLCredentials=a.util.inherit(a.Credentials,{constructor:function(e){a.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithSAML(function(r,a){r||t.service.credentialsFrom(a,t),e(r)})},createClients:function(){this.service=this.service||new i({params:this.params})}})},{"../../clients/sts":329,"../core":345}],351:[function(e,t,r){var a=e("../core"),i=e("../../clients/sts");a.TemporaryCredentials=a.util.inherit(a.Credentials,{constructor:function(e,t){a.Credentials.call(this),this.loadMasterCredentials(t),this.expired=!0,this.params=e||{},this.params.RoleArn&&(this.params.RoleSessionName=this.params.RoleSessionName||"temporary-credentials")},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.masterCredentials.get(function(){t.service.config.credentials=t.masterCredentials,(t.params.RoleArn?t.service.assumeRole:t.service.getSessionToken).call(t.service,function(r,a){r||t.service.credentialsFrom(a,t),e(r)})})},loadMasterCredentials:function(e){for(this.masterCredentials=e||a.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials;"function"!=typeof this.masterCredentials.get&&(this.masterCredentials=new a.Credentials(this.masterCredentials))},createClients:function(){this.service=this.service||new i({params:this.params})}})},{"../../clients/sts":329,"../core":345}],352:[function(e,t,r){var a=e("../core"),i=e("../../clients/sts");a.WebIdentityCredentials=a.util.inherit(a.Credentials,{constructor:function(e,t){a.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null,this._clientConfig=a.util.copy(t||{})},refresh:function(e){this.coalesceRefresh(e||a.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithWebIdentity(function(r,a){t.data=null,r||(t.data=a,t.service.credentialsFrom(a,t)),e(r)})},createClients:function(){if(!this.service){var e=a.util.merge({},this._clientConfig);e.params=this.params,this.service=new i(e)}}})},{ "../../clients/sts":329,"../core":345}],353:[function(e,t,r){(function(r){(function(){function a(e){var t=e.service,r=t.api||{},a={};return t.config.region&&(a.region=t.config.region),r.serviceId&&(a.serviceId=r.serviceId),t.config.credentials.accessKeyId&&(a.accessKeyId=t.config.credentials.accessKeyId),a}function i(e,t,r){r&&void 0!==t&&null!==t&&"structure"===r.type&&r.required&&r.required.length>0&&b.arrayEach(r.required,function(a){var s=r.members[a];if(!0===s.endpointDiscoveryId){var o=s.isLocationName?s.name:a;e[o]=String(t[a])}else i(e,t[a],s)})}function s(e,t){var r={};return i(r,e.params,t),r}function o(e){var t=e.service,r=t.api,i=r.operations?r.operations[e.operation]:void 0,o=i?i.input:void 0,n=s(e,o),p=a(e);Object.keys(n).length>0&&(p=b.update(p,n),i&&(p.operation=i.name));var m=y.endpointCache.get(p);if(!m||1!==m.length||""!==m[0].Address)if(m&&m.length>0)e.httpRequest.updateEndpoint(m[0].Address);else{var c=t.makeRequest(r.endpointOperation,{Operation:i.name,Identifiers:n});u(c),c.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),c.removeListener("retry",y.EventListeners.Core.RETRY_CHECK),y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}]),c.send(function(e,t){t&&t.Endpoints?y.endpointCache.put(p,t.Endpoints):e&&y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}])})}}function n(e,t){var r=e.service,i=r.api,o=i.operations?i.operations[e.operation]:void 0,n=o?o.input:void 0,p=s(e,n),m=a(e);Object.keys(p).length>0&&(m=b.update(m,p),o&&(m.operation=o.name));var c=y.EndpointCache.getKeyString(m),l=y.endpointCache.get(c);if(l&&1===l.length&&""===l[0].Address)return g[c]||(g[c]=[]),void g[c].push({request:e,callback:t});if(l&&l.length>0)e.httpRequest.updateEndpoint(l[0].Address),t();else{var d=r.makeRequest(i.endpointOperation,{Operation:o.name,Identifiers:p});d.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),u(d),y.endpointCache.put(c,[{Address:"",CachePeriodInMinutes:60}]),d.send(function(r,a){if(r){if(e.response.error=b.error(r,{retryable:!1}),y.endpointCache.remove(m),g[c]){var i=g[c];b.arrayEach(i,function(e){e.request.response.error=b.error(r,{retryable:!1}),e.callback()}),delete g[c]}}else if(a&&(y.endpointCache.put(c,a.Endpoints),e.httpRequest.updateEndpoint(a.Endpoints[0].Address),g[c])){var i=g[c];b.arrayEach(i,function(e){e.request.httpRequest.updateEndpoint(a.Endpoints[0].Address),e.callback()}),delete g[c]}t()})}}function u(e){var t=e.service.api,r=t.apiVersion;r&&!e.httpRequest.headers["x-amz-api-version"]&&(e.httpRequest.headers["x-amz-api-version"]=r)}function p(e){var t=e.error,r=e.httpResponse;if(t&&("InvalidEndpointException"===t.code||421===r.statusCode)){var i=e.request,o=i.service.api.operations||{},n=o[i.operation]?o[i.operation].input:void 0,u=s(i,n),p=a(i);Object.keys(u).length>0&&(p=b.update(p,u),o[i.operation]&&(p.operation=o[i.operation].name)),y.endpointCache.remove(p)}}function m(e){if(e._originalConfig&&e._originalConfig.endpoint&&!0===e._originalConfig.endpointDiscoveryEnabled)throw b.error(new Error,{code:"ConfigurationException",message:"Custom endpoint is supplied; endpointDiscoveryEnabled must not be true."});var t=y.config[e.serviceIdentifier]||{};return Boolean(y.config.endpoint||t.endpoint||e._originalConfig&&e._originalConfig.endpoint)}function c(e){return["false","0"].indexOf(e)>=0}function l(e){var t=e.service||{};if(void 0!==t.config.endpointDiscoveryEnabled)return t.config.endpointDiscoveryEnabled;if(!b.isBrowser()){for(var a=0;a-1&&0===++e[t];t--);}var s=e("../core").util,o=s.buffer.toBuffer;a.fromNumber=function(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(e+" is too large (or, if negative, too small) to represent as an Int64");for(var t=new Uint8Array(8),r=7,s=Math.abs(Math.round(e));r>-1&&s>0;r--,s/=256)t[r]=s;return e<0&&i(t),new a(t)},a.prototype.valueOf=function(){var e=this.bytes.slice(0),t=128&e[0];return t&&i(e),parseInt(e.toString("hex"),16)*(t?-1:1)},a.prototype.toString=function(){return String(this.valueOf())},t.exports={Int64:a}},{"../core":345}],363:[function(e,t,r){function a(e,t,r){var a=s(t),o=a.headers[":message-type"];if(o){if("error"===o.value)throw i(a);if("event"!==o.value)return}var n=a.headers[":event-type"],u=r.members[n.value];if(u){var p={},m=u.eventPayloadMemberName;if(m){var c=u.members[m];"binary"===c.type?p[m]=a.body:p[m]=e.parse(a.body.toString(),c)}for(var l=u.eventHeaderMemberNames,d=0;d=0)return e.httpRequest.headers["X-Amz-Content-Sha256"]="UNSIGNED-PAYLOAD",t();i.util.computeSha256(s,function(r,a){r?t(r):(e.httpRequest.headers["X-Amz-Content-Sha256"]=a,t())})}else t()}}),e("SET_CONTENT_LENGTH","afterBuild",function(e){var t=r(e),a=i.util.getRequestPayloadShape(e);if(void 0===e.httpRequest.headers["Content-Length"])try{var s=i.util.string.byteLength(e.httpRequest.body);e.httpRequest.headers["Content-Length"]=s}catch(r){if(a&&a.isStreaming){if(a.requiresLength)throw r;if(t.indexOf("unsigned-body")>=0)return void(e.httpRequest.headers["Transfer-Encoding"]="chunked");throw r}throw r}}),e("SET_HTTP_HOST","afterBuild",function(e){e.httpRequest.headers.Host=e.httpRequest.endpoint.host}),e("SET_TRACE_ID","afterBuild",function(e){if(i.util.isNode()&&!Object.hasOwnProperty.call(e.httpRequest.headers,"X-Amzn-Trace-Id")){var r=t.env.AWS_LAMBDA_FUNCTION_NAME,a=t.env._X_AMZN_TRACE_ID;"string"==typeof r&&r.length>0&&"string"==typeof a&&a.length>0&&(e.httpRequest.headers["X-Amzn-Trace-Id"]=a)}}),e("RESTART","restart",function(){var e=this.response.error;e&&e.retryable&&(this.httpRequest=new i.HttpRequest(this.service.endpoint,this.service.region),this.response.retryCount=600?this.emit("sign",[this],function(e){e?t(e):o()}):o()}),e("HTTP_HEADERS","httpHeaders",function(e,t,r,a){r.httpResponse.statusCode=e,r.httpResponse.statusMessage=a,r.httpResponse.headers=t,r.httpResponse.body=i.util.buffer.toBuffer(""),r.httpResponse.buffers=[],r.httpResponse.numBytes=0;var s=t.date||t.Date,o=r.request.service;if(s){var n=Date.parse(s);o.config.correctClockSkew&&o.isClockSkewed(n)&&o.applyClockOffset(n)}}),e("HTTP_DATA","httpData",function(e,t){if(e){if(i.util.isNode()){t.httpResponse.numBytes+=e.length;var r=t.httpResponse.headers["content-length"],a={loaded:t.httpResponse.numBytes,total:r};t.request.emit("httpDownloadProgress",[a,t])}t.httpResponse.buffers.push(i.util.buffer.toBuffer(e))}}),e("HTTP_DONE","httpDone",function(e){if(e.httpResponse.buffers&&e.httpResponse.buffers.length>0){var t=i.util.buffer.concat(e.httpResponse.buffers);e.httpResponse.body=t}delete e.httpResponse.numBytes,delete e.httpResponse.buffers}),e("FINALIZE_ERROR","retry",function(e){e.httpResponse.statusCode&&(e.error.statusCode=e.httpResponse.statusCode,void 0===e.error.retryable&&(e.error.retryable=this.service.retryableError(e.error,this)))}),e("INVALIDATE_CREDENTIALS","retry",function(e){if(e.error)switch(e.error.code){case"RequestExpired":case"ExpiredTokenException":case"ExpiredToken":e.error.retryable=!0,e.request.service.config.credentials.expired=!0}}),e("EXPIRED_SIGNATURE","retry",function(e){var t=e.error;t&&"string"==typeof t.code&&"string"==typeof t.message&&t.code.match(/Signature/)&&t.message.match(/expired/)&&(e.error.retryable=!0)}),e("CLOCK_SKEWED","retry",function(e){e.error&&this.service.clockSkewError(e.error)&&this.service.config.correctClockSkew&&(e.error.retryable=!0)}),e("REDIRECT","retry",function(e){e.error&&e.error.statusCode>=300&&e.error.statusCode<400&&e.httpResponse.headers.location&&(this.httpRequest.endpoint=new i.Endpoint(e.httpResponse.headers.location),this.httpRequest.headers.Host=this.httpRequest.endpoint.host,e.error.redirect=!0,e.error.retryable=!0)}),e("RETRY_CHECK","retry",function(e){e.error&&(e.error.redirect&&e.redirectCount=0?(e.error=null,setTimeout(t,r)):t()})}),CorePost:(new s).addNamedListeners(function(e){e("EXTRACT_REQUEST_ID","extractData",i.util.extractRequestId),e("EXTRACT_REQUEST_ID","extractError",i.util.extractRequestId),e("ENOTFOUND_ERROR","httpError",function(e){if("NetworkingError"===e.code&&function(e){return"ENOTFOUND"===e.errno||"number"==typeof e.errno&&"function"==typeof i.util.getSystemErrorName&&["EAI_NONAME","EAI_NODATA"].indexOf(i.util.getSystemErrorName(e.errno)>=0)}(e)){var t="Inaccessible host: `"+e.hostname+"' at port `"+e.port+"'. This service may not be available in the `"+e.region+"' region.";this.response.error=i.util.error(new Error(t),{code:"UnknownEndpoint",region:e.region,hostname:e.hostname,retryable:!0,originalError:e})}})}),Logger:(new s).addNamedListeners(function(t){t("LOG_REQUEST","complete",function(t){function r(e,t){if(!t)return t;if(e.isSensitive)return"***SensitiveInformation***";switch(e.type){case"structure":var a={};return i.util.each(t,function(t,i){Object.prototype.hasOwnProperty.call(e.members,t)?a[t]=r(e.members[t],i):a[t]=i}),a;case"list":var s=[];return i.util.arrayEach(t,function(t,a){s.push(r(e.member,t))}),s;case"map":var o={};return i.util.each(t,function(t,a){o[t]=r(e.value,a)}),o;default:return t}}var a=t.request,s=a.service.config.logger;if(s){var o=function(){var o=t.request.service.getSkewCorrectedDate().getTime(),n=(o-a.startTime.getTime())/1e3,u=!!s.isTTY,p=t.httpResponse.statusCode,m=a.params;if(a.service.api.operations&&a.service.api.operations[a.operation]&&a.service.api.operations[a.operation].input){m=r(a.service.api.operations[a.operation].input,a.params)}var c=e("util").inspect(m,!0,null),l="";return u&&(l+=""),l+="[AWS "+a.service.serviceIdentifier+" "+p,l+=" "+n.toString()+"s "+t.retryCount+" retries]",u&&(l+=""),l+=" "+i.util.string.lowerFirst(a.operation),l+="("+c+")",u&&(l+=""),l}();"function"==typeof s.log?s.log(o):"function"==typeof s.write&&s.write(o+"\n")}})}),Json:(new s).addNamedListeners(function(t){var r=e("./protocol/json");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),Rest:(new s).addNamedListeners(function(t){var r=e("./protocol/rest");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),RestJson:(new s).addNamedListeners(function(t){var r=e("./protocol/rest_json");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError),t("UNSET_CONTENT_LENGTH","afterBuild",r.unsetContentLength)}),RestXml:(new s).addNamedListeners(function(t){var r=e("./protocol/rest_xml");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),Query:(new s).addNamedListeners(function(t){var r=e("./protocol/query");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)})}}).call(this)}).call(this,e("_process"))},{"./core":345,"./discover_endpoint":353,"./protocol/json":381,"./protocol/query":382,"./protocol/rest":383,"./protocol/rest_json":384,"./protocol/rest_xml":385,"./sequential_executor":396,_process:440,util:434}],367:[function(e,t,r){var a=e("./core"),i=a.util.inherit;a.Endpoint=i({constructor:function(e,t){if(a.util.hideProperties(this,["slashes","auth","hash","search","query"]),void 0===e||null===e)throw new Error("Invalid endpoint: "+e);if("string"!=typeof e)return a.util.copy(e);if(!e.match(/^http/)){e=((t&&void 0!==t.sslEnabled?t.sslEnabled:a.config.sslEnabled)?"https":"http")+"://"+e}a.util.update(this,a.util.urlParse(e)),this.port?this.port=parseInt(this.port,10):this.port="https:"===this.protocol?443:80}}),a.HttpRequest=i({constructor:function(e,t){e=new a.Endpoint(e),this.method="POST",this.path=e.path||"/",this.headers={},this.body="",this.endpoint=e,this.region=t,this._userAgent="",this.setUserAgent()},setUserAgent:function(){this._userAgent=this.headers[this.getUserAgentHeaderName()]=a.util.userAgent()},getUserAgentHeaderName:function(){return(a.util.isBrowser()?"X-Amz-":"")+"User-Agent"},appendToUserAgent:function(e){"string"==typeof e&&e&&(this._userAgent+=" "+e),this.headers[this.getUserAgentHeaderName()]=this._userAgent},getUserAgent:function(){return this._userAgent},pathname:function(){return this.path.split("?",1)[0]},search:function(){var e=this.path.split("?",2)[1];return e?(e=a.util.queryStringParse(e),a.util.queryParamsToString(e)):""},updateEndpoint:function(e){var t=new a.Endpoint(e);this.endpoint=t,this.path=t.path||"/",this.headers.Host&&(this.headers.Host=t.host)}}),a.HttpResponse=i({constructor:function(){this.statusCode=void 0,this.headers={},this.body=void 0,this.streaming=!1,this.stream=null},createUnbufferedStream:function(){return this.streaming=!0,this.stream}}),a.HttpClient=i({}),a.HttpClient.getInstance=function(){return void 0===this.singleton&&(this.singleton=new this),this.singleton}},{"./core":345}],368:[function(e,t,r){var a=e("../core"),i=e("events").EventEmitter;e("../http"),a.XHRClient=a.util.inherit({handleRequest:function(e,t,r,s){var o=this,n=e.endpoint,u=new i,p=n.protocol+"//"+n.hostname;80!==n.port&&443!==n.port&&(p+=":"+n.port),p+=e.path;var m=new XMLHttpRequest,c=!1 ;e.stream=m,m.addEventListener("readystatechange",function(){try{if(0===m.status)return}catch(e){return}this.readyState>=this.HEADERS_RECEIVED&&!c&&(u.statusCode=m.status,u.headers=o.parseHeaders(m.getAllResponseHeaders()),u.emit("headers",u.statusCode,u.headers,m.statusText),c=!0),this.readyState===this.DONE&&o.finishRequest(m,u)},!1),m.upload.addEventListener("progress",function(e){u.emit("sendProgress",e)}),m.addEventListener("progress",function(e){u.emit("receiveProgress",e)},!1),m.addEventListener("timeout",function(){s(a.util.error(new Error("Timeout"),{code:"TimeoutError"}))},!1),m.addEventListener("error",function(){s(a.util.error(new Error("Network Failure"),{code:"NetworkingError"}))},!1),m.addEventListener("abort",function(){s(a.util.error(new Error("Request aborted"),{code:"RequestAbortedError"}))},!1),r(u),m.open(e.method,p,!1!==t.xhrAsync),a.util.each(e.headers,function(e,t){"Content-Length"!==e&&"User-Agent"!==e&&"Host"!==e&&m.setRequestHeader(e,t)}),t.timeout&&!1!==t.xhrAsync&&(m.timeout=t.timeout),t.xhrWithCredentials&&(m.withCredentials=!0);try{m.responseType="arraybuffer"}catch(e){}try{e.body?m.send(e.body):m.send()}catch(t){if(!e.body||"object"!=typeof e.body.buffer)throw t;m.send(e.body.buffer)}return u},parseHeaders:function(e){var t={};return a.util.arrayEach(e.split(/\r?\n/),function(e){var r=e.split(":",1)[0],a=e.substring(r.length+2);r.length>0&&(t[r.toLowerCase()]=a)}),t},finishRequest:function(e,t){var r;if("arraybuffer"===e.responseType&&e.response){var i=e.response;r=new a.util.Buffer(i.byteLength);for(var s=new Uint8Array(i),o=0;o-1?t||"":t,this.isJsonValue?JSON.parse(t):t&&"function"==typeof t.toString?t.toString():t},this.toWireFormat=function(e){return this.isJsonValue?JSON.stringify(e):e}}function l(){s.apply(this,arguments),this.toType=function(e){return null===e||void 0===e?null:parseFloat(e)},this.toWireFormat=this.toType}function d(){s.apply(this,arguments),this.toType=function(e){return null===e||void 0===e?null:parseInt(e,10)},this.toWireFormat=this.toType}function y(){s.apply(this,arguments),this.toType=function(e){var t=h.base64.decode(e);if(this.isSensitive&&h.isNode()&&"function"==typeof h.Buffer.alloc){var r=h.Buffer.alloc(t.length,t);t.fill(0),t=r}return t},this.toWireFormat=h.base64.encode}function b(){y.apply(this,arguments)}function S(){s.apply(this,arguments),this.toType=function(e){return"boolean"==typeof e?e:null===e||void 0===e?null:"true"===e}}var g=e("./collection"),h=e("../util");s.normalizedTypes={character:"string",double:"float",long:"integer",short:"integer",biginteger:"integer",bigdecimal:"float",blob:"binary"},s.types={structure:n,list:u,map:p,boolean:S,timestamp:m,float:l,integer:d,string:c,base64:b,binary:y},s.resolve=function(e,t){if(e.shape){var r=t.api.shapes[e.shape];if(!r)throw new Error("Cannot find shape reference: "+e.shape);return r}return null},s.create=function(e,t,r){if(e.isShape)return e;var a=s.resolve(e,t);if(a){var i=Object.keys(e);t.documentation||(i=i.filter(function(e){return!e.match(/documentation/)}));var o=function(){a.constructor.call(this,e,t,r)};return o.prototype=a,new o}e.type||(e.members?e.type="structure":e.member?e.type="list":e.key?e.type="map":e.type="string");var n=e.type;if(s.normalizedTypes[e.type]&&(e.type=s.normalizedTypes[e.type]),s.types[e.type])return new s.types[e.type](e,t,r);throw new Error("Unrecognized shape type: "+n)},s.shapes={StructureShape:n,ListShape:u,MapShape:p,StringShape:c,BooleanShape:S,Base64Shape:b},t.exports=s},{"../util":423,"./collection":373}],378:[function(e,t,r){var a=e("./core");a.ParamValidator=a.util.inherit({constructor:function(e){!0!==e&&void 0!==e||(e={min:!0}),this.validation=e},validate:function(e,t,r){if(this.errors=[],this.validateMember(e,t||{},r||"params"),this.errors.length>1){var i=this.errors.join("\n* ");throw i="There were "+this.errors.length+" validation errors:\n* "+i,a.util.error(new Error(i),{code:"MultipleValidationErrors",errors:this.errors})}if(1===this.errors.length)throw this.errors[0];return!0},fail:function(e,t){this.errors.push(a.util.error(new Error(t),{code:e}))},validateStructure:function(e,t,r){if(e.isDocument)return!0;this.validateType(t,r,["object"],"structure");for(var a,i=0;e.required&&i= 1, but found "'+t+'" for '+r)},validatePattern:function(e,t,r){this.validation.pattern&&void 0!==e.pattern&&(new RegExp(e.pattern).test(t)||this.fail("PatternMatchError",'Provided value "'+t+'" does not match regex pattern /'+e.pattern+"/ for "+r))},validateRange:function(e,t,r,a){this.validation.min&&void 0!==e.min&&t= "+e.min+", but found "+t+" for "+r),this.validation.max&&void 0!==e.max&&t>e.max&&this.fail("MaxRangeError","Expected "+a+" <= "+e.max+", but found "+t+" for "+r)},validateEnum:function(e,t,r){this.validation.enum&&void 0!==e.enum&&-1===e.enum.indexOf(t)&&this.fail("EnumError","Found string value of "+t+", but expected "+e.enum.join("|")+" for "+r)},validateType:function(e,t,r,i){if(null===e||void 0===e)return!1;for(var s=!1,o=0;o63)throw u.error(new Error,{code:"ValidationError",message:"Hostname label length should be between 1 to 63 characters, inclusive."});if(!r.test(e))throw p.util.error(new Error,{code:"ValidationError",message:e+" is not hostname compatible."})})}var u=e("../util"),p=e("../core");t.exports={populateHostPrefix:a}},{"../core":345,"../util":423}],381:[function(e,t,r){function a(e){var t=e.httpRequest,r=e.service.api,a=r.targetPrefix+"."+r.operations[e.operation].name,i=r.jsonVersion||"1.0",s=r.operations[e.operation].input,o=new n;1===i&&(i="1.0"),t.body=o.build(e.params||{},s),t.headers["Content-Type"]="application/x-amz-json-"+i,t.headers["X-Amz-Target"]=a,p(e)}function i(e){var t={},r=e.httpResponse;if(t.code=r.headers["x-amzn-errortype"]||"UnknownError","string"==typeof t.code&&(t.code=t.code.split(":")[0]),r.body.length>0)try{var a=JSON.parse(r.body.toString()),i=a.__type||a.code||a.Code;i&&(t.code=i.split("#").pop()),"RequestEntityTooLarge"===t.code?t.message="Request body must be less than 1 MB":t.message=a.message||a.Message||null}catch(a){t.statusCode=r.statusCode,t.message=r.statusMessage}else t.statusCode=r.statusCode,t.message=r.statusCode.toString();e.error=o.error(new Error,t)}function s(e){var t=e.httpResponse.body.toString()||"{}";if(!1===e.request.service.config.convertResponseTypes)e.data=JSON.parse(t);else{var r=e.request.service.api.operations[e.request.operation],a=r.output||{},i=new u;e.data=i.parse(t,a)}}var o=e("../util"),n=e("../json/builder"),u=e("../json/parser"),p=e("./helpers").populateHostPrefix;t.exports={buildRequest:a,extractError:i,extractData:s}},{"../json/builder":369,"../json/parser":370,"../util":423,"./helpers":380}],382:[function(e,t,r){function a(e){var t=e.service.api.operations[e.operation],r=e.httpRequest;r.headers["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8",r.params={Version:e.service.api.apiVersion,Action:t.name},(new u).serialize(e.params,t.input,function(e,t){r.params[e]=t}),r.body=n.queryParamsToString(r.params),m(e)}function i(e){var t,r=e.httpResponse.body.toString();if(r.match("=0?"&":"?";var n=[];m.arrayEach(Object.keys(s).sort(),function(e){Array.isArray(s[e])||(s[e]=[s[e]]);for(var t=0;t=0&&delete e.httpRequest.headers["Content-Length"]}function i(e){var t=new l,r=e.service.api.operations[e.operation].input;if(r.payload){var a={},i=r.members[r.payload];a=e.params[r.payload],"structure"===i.type?(e.httpRequest.body=t.build(a||{},i),s(e)):void 0!==a&&(e.httpRequest.body=a,("binary"===i.type||i.isStreaming)&&s(e,!0))}else e.httpRequest.body=t.build(e.params,r),s(e)}function s(e,t){if(!e.httpRequest.headers["Content-Type"]){var r=t?"binary/octet-stream":"application/json";e.httpRequest.headers["Content-Type"]=r}}function o(e){m.buildRequest(e),y.indexOf(e.httpRequest.method)<0&&i(e)}function n(e){c.extractError(e)}function u(e){m.extractData(e);var t,r=e.request,a=r.service.api.operations[r.operation],i=r.service.api.operations[r.operation].output||{};a.hasEventOutput;if(i.payload){var s=i.members[i.payload],o=e.httpResponse.body;if(s.isEventStream)t=new d,e.data[payload]=p.createEventStream(2===AWS.HttpClient.streamsApiVersion?e.httpResponse.stream:o,t,s);else if("structure"===s.type||"list"===s.type){var t=new d;e.data[i.payload]=t.parse(o,s)}else"binary"===s.type||s.isStreaming?e.data[i.payload]=o:e.data[i.payload]=s.toType(o)}else{var n=e.data;c.extractData(e),e.data=p.merge(n,e.data)}}var p=e("../util"),m=e("./rest"),c=e("./json"),l=e("../json/builder"),d=e("../json/parser"),y=["GET","HEAD","DELETE"];t.exports={buildRequest:o,extractError:n,extractData:u,unsetContentLength:a}},{"../json/builder":369,"../json/parser":370,"../util":423,"./json":381,"./rest":383}],385:[function(e,t,r){function a(e){var t=e.service.api.operations[e.operation].input,r=new n.XML.Builder,a=e.params,i=t.payload;if(i){var s=t.members[i];if(void 0===(a=a[i]))return;if("structure"===s.type){var o=s.name;e.httpRequest.body=r.toXML(a,s,o,!0)}else e.httpRequest.body=a}else e.httpRequest.body=r.toXML(a,t,t.name||t.shape||u.string.upperFirst(e.operation)+"Request")}function i(e){p.buildRequest(e),["GET","HEAD"].indexOf(e.httpRequest.method)<0&&a(e)}function s(e){p.extractError(e);var t;try{t=(new n.XML.Parser).parse(e.httpResponse.body.toString())}catch(r){t={Code:e.httpResponse.statusCode,Message:e.httpResponse.statusMessage}}t.Errors&&(t=t.Errors),t.Error&&(t=t.Error),t.Code?e.error=u.error(new Error,{code:t.Code,message:t.Message}):e.error=u.error(new Error,{code:e.httpResponse.statusCode,message:null})}function o(e){p.extractData(e);var t,r=e.request,a=e.httpResponse.body,i=r.service.api.operations[r.operation],s=i.output,o=(i.hasEventOutput,s.payload);if(o){var m=s.members[o];m.isEventStream?(t=new n.XML.Parser,e.data[o]=u.createEventStream(2===n.HttpClient.streamsApiVersion?e.httpResponse.stream:e.httpResponse.body,t,m)):"structure"===m.type?(t=new n.XML.Parser,e.data[o]=t.parse(a.toString(),m)):"binary"===m.type||m.isStreaming?e.data[o]=a:e.data[o]=m.toType(a)}else if(a.length>0){t=new n.XML.Parser;var c=t.parse(a.toString(),s);u.update(e.data,c)}}var n=e("../core"),u=e("../util"),p=e("./rest");t.exports={buildRequest:i,extractError:s,extractData:o}},{"../core":345,"../util":423,"./rest":383}],386:[function(e,t,r){function a(){}function i(e){return e.isQueryName||"ec2"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function s(e,t,r,a){p.each(r.members,function(r,s){var o=t[r];if(null!==o&&void 0!==o){var n=i(s);n=e?e+"."+n:n,u(n,o,s,a)}})}function o(e,t,r,a){var i=1;p.each(t,function(t,s){var o=r.flattened?".":".entry.",n=o+i+++".",p=n+(r.key.name||"key"),m=n+(r.value.name||"value");u(e+p,t,r.key,a),u(e+m,s,r.value,a)})}function n(e,t,r,a){var s=r.member||{};if(0===t.length)return void a.call(this,e,null);p.arrayEach(t,function(t,o){var n="."+(o+1);if("ec2"===r.api.protocol)n+="";else if(r.flattened){if(s.name){var p=e.split(".");p.pop(),p.push(i(s)),e=p.join(".")}}else n="."+(s.name?s.name:"member")+n;u(e+n,t,s,a)})}function u(e,t,r,a){null!==t&&void 0!==t&&("structure"===r.type?s(e,t,r,a):"list"===r.type?n(e,t,r,a):"map"===r.type?o(e,t,r,a):a(e,r.toWireFormat(t).toString()))} var p=e("../util");a.prototype.serialize=function(e,t,r){s("",e,t,r)},t.exports=a},{"../util":423}],387:[function(e,t,r){var a=e("../core"),i=null,s={signatureVersion:"v4",signingName:"rds-db",operations:{}},o={region:"string",hostname:"string",port:"number",username:"string"};a.RDS.Signer=a.util.inherit({constructor:function(e){this.options=e||{}},convertUrlToAuthToken:function(e){if(0===e.indexOf("https://"))return e.substring("https://".length)},getAuthToken:function(e,t){"function"==typeof e&&void 0===t&&(t=e,e={});var r=this,o="function"==typeof t;e=a.util.merge(this.options,e);var n=this.validateAuthTokenOptions(e);if(!0!==n){if(o)return t(n,null);throw n}var u={region:e.region,endpoint:new a.Endpoint(e.hostname+":"+e.port),paramValidation:!1,signatureVersion:"v4"};e.credentials&&(u.credentials=e.credentials),i=new a.Service(u),i.api=s;var p=i.makeRequest();if(this.modifyRequestForAuthToken(p,e),!o){var m=p.presign(900);return this.convertUrlToAuthToken(m)}p.presign(900,function(e,a){a&&(a=r.convertUrlToAuthToken(a)),t(e,a)})},modifyRequestForAuthToken:function(e,t){e.on("build",e.buildAsGet),e.httpRequest.body=a.util.queryParamsToString({Action:"connect",DBUser:t.username})},validateAuthTokenOptions:function(e){var t="";e=e||{};for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&typeof e[r]!==o[r]&&(t+="option '"+r+"' should have been type '"+o[r]+"', was '"+typeof e[r]+"'.\n");return!t.length||a.util.error(new Error,{code:"InvalidParameter",message:t})}})},{"../core":345}],388:[function(e,t,r){t.exports={now:function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}}},{}],389:[function(e,t,r){function a(e){return"string"==typeof e&&(e.startsWith("fips-")||e.endsWith("-fips"))}function i(e){return"string"==typeof e&&["aws-global","aws-us-gov-global"].includes(e)}function s(e){return["fips-aws-global","aws-fips","aws-global"].includes(e)?"us-east-1":["fips-aws-us-gov-global","aws-us-gov-global"].includes(e)?"us-gov-west-1":e.replace(/fips-(dkr-|prod-)?|-fips/,"")}t.exports={isFipsRegion:a,isGlobalRegion:i,getRealRegion:s}},{}],390:[function(e,t,r){function a(e){if(!e)return null;var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}function i(e){var t=e.config.region,r=a(t),i=e.api.endpointPrefix;return[[t,i],[r,i],[t,"*"],[r,"*"],["*",i],["*","*"]].map(function(e){return e[0]&&e[1]?e.join("/"):null})}function s(e,t){u.each(t,function(t,r){"globalEndpoint"!==t&&(void 0!==e.config[t]&&null!==e.config[t]||(e.config[t]=r))})}function o(e){for(var t=i(e),r=e.config.useFipsEndpoint,a=e.config.useDualstackEndpoint,o=0;o=0){u=!0;var p=0}var m=function(){u&&p!==n?i.emit("error",a.util.error(new Error("Stream content length mismatch. Received "+p+" of "+n+" bytes."),{code:"StreamContentLengthMismatch"})):2===a.HttpClient.streamsApiVersion?i.end():i.emit("end")},c=o.httpResponse.createUnbufferedStream();if(2===a.HttpClient.streamsApiVersion)if(u){var l=new e.PassThrough;l._write=function(t){return t&&t.length&&(p+=t.length),e.PassThrough.prototype._write.apply(this,arguments)},l.on("end",m),i.on("error",function(e){u=!1,c.unpipe(l),l.emit("end"),l.end()}),c.pipe(l).pipe(i,{end:!1})}else c.pipe(i);else u&&c.on("data",function(e){e&&e.length&&(p+=e.length)}),c.on("data",function(e){i.emit("data",e)}),c.on("end",m);c.on("error",function(e){u=!1,i.emit("error",e)})}}),i},emitEvent:function(e,t,r){"function"==typeof t&&(r=t,t=null),r||(r=function(){}),t||(t=this.eventParameters(e,this.response)),a.SequentialExecutor.prototype.emit.call(this,e,t,function(e){e&&(this.response.error=e),r.call(this,e)})},eventParameters:function(e){switch(e){case"restart":case"validate":case"sign":case"build":case"afterValidate":case"afterBuild":return[this];case"error":return[this.response.error,this.response];default:return[this.response]}},presign:function(e,t){return t||"function"!=typeof e||(t=e,e=null),(new a.Signers.Presign).sign(this.toGet(),e,t)},isPresigned:function(){return Object.prototype.hasOwnProperty.call(this.httpRequest.headers,"presigned-expires")},toUnauthenticated:function(){return this._unAuthenticated=!0,this.removeListener("validate",a.EventListeners.Core.VALIDATE_CREDENTIALS),this.removeListener("sign",a.EventListeners.Core.SIGN),this},toGet:function(){return"query"!==this.service.api.protocol&&"ec2"!==this.service.api.protocol||(this.removeListener("build",this.buildAsGet),this.addListener("build",this.buildAsGet)),this},buildAsGet:function(e){e.httpRequest.method="GET",e.httpRequest.path=e.service.endpoint.path+"?"+e.httpRequest.body,e.httpRequest.body="",delete e.httpRequest.headers["Content-Length"],delete e.httpRequest.headers["Content-Type"]},haltHandlersOnError:function(){this._haltHandlersOnError=!0}}),a.Request.addPromisesToClass=function(e){this.prototype.promise=function(){var t=this;return this.httpRequest.appendToUserAgent("promise"),new e(function(e,r){t.on("complete",function(t){t.error?r(t.error):e(Object.defineProperty(t.data||{},"$response",{value:t}))}),t.runTo()})}},a.Request.deletePromisesFromClass=function(){delete this.prototype.promise},a.util.addPromises(a.Request),a.util.mixin(a.Request,a.SequentialExecutor)}).call(this)}).call(this,e("_process"))},{"./core":345,"./state_machine":422,_process:440,jmespath:439}],393:[function(e,t,r){function a(e){var t=e.request._waiter,r=t.config.acceptors,a=!1,i="retry";r.forEach(function(r){if(!a){var s=t.matchers[r.matcher];s&&s(e,r.expected,r.argument)&&(a=!0,i=r.state)}}),!a&&e.error&&(i="failure"),"success"===i?t.setSuccess(e):t.setError(e,"retry"===i)}var i=e("./core"),s=i.util.inherit,o=e("jmespath");i.ResourceWaiter=s({constructor:function(e,t){this.service=e,this.state=t,this.loadWaiterConfig(this.state)},service:null,state:null,config:null,matchers:{path:function(e,t,r){try{var a=o.search(e.data,r)}catch(e){return!1}return o.strictDeepEqual(a,t)},pathAll:function(e,t,r){try{var a=o.search(e.data,r)}catch(e){return!1}Array.isArray(a)||(a=[a]);var i=a.length;if(!i)return!1;for(var s=0;s=1&&t.doneParts===t.numParts&&t.finishMultiPart()}))}r&&t.fillQueue.call(t)},abort:function(){var e=this;!0===e.isDoneChunking&&1===e.totalPartNumbers&&e.singlePart?e.singlePart.abort():e.cleanup(a.util.error(new Error("Request aborted by user"),{code:"RequestAbortedError",retryable:!1}))},validateBody:function(){var e=this;if(e.body=e.service.config.params.Body,"string"==typeof e.body)e.body=a.util.buffer.toBuffer(e.body);else if(!e.body)throw new Error("params.Body is required");e.sliceFn=a.util.arraySliceFn(e.body)},bindServiceObject:function(e){e=e||{};var t=this;if(t.service){var r=t.service,i=a.util.copy(r.config);i.signatureVersion=r.getSignatureVersion(),t.service=new r.constructor.__super__(i),t.service.config.params=a.util.merge(t.service.config.params||{},e),Object.defineProperty(t.service,"_originalConfig",{get:function(){return r._originalConfig},enumerable:!1,configurable:!0})}else t.service=new a.S3({params:e})},adjustTotalBytes:function(){var e=this;try{e.totalBytes=i(e.body)}catch(e){}if(e.totalBytes){var t=Math.ceil(e.totalBytes/e.maxTotalParts);t>e.partSize&&(e.partSize=t)}else e.totalBytes=void 0},isDoneChunking:!1,partPos:0,totalChunkedBytes:0,totalUploadedBytes:0,totalBytes:void 0,numParts:0,totalPartNumbers:0,activeParts:0,doneParts:0,parts:null,completeInfo:null,failed:!1,multipartReq:null,partBuffers:null,partBufferLength:0,fillBuffer:function(){var e=this,t=i(e.body);if(0===t)return e.isDoneChunking=!0,e.numParts=1,void e.nextChunk(e.body);for(;e.activeParts=e.queueSize)){var t=e.body.read(e.partSize-e.partBufferLength)||e.body.read();if(t&&(e.partBuffers.push(t),e.partBufferLength+=t.length,e.totalChunkedBytes+=t.length),e.partBufferLength>=e.partSize){var r=1===e.partBuffers.length?e.partBuffers[0]:s.concat(e.partBuffers);if(e.partBuffers=[],e.partBufferLength=0,r.length>e.partSize){var a=r.slice(e.partSize);e.partBuffers.push(a),e.partBufferLength+=a.length,r=r.slice(0,e.partSize)}e.nextChunk(r)}e.isDoneChunking&&!e.isDoneSending&&(r=1===e.partBuffers.length?e.partBuffers[0]:s.concat(e.partBuffers),e.partBuffers=[],e.partBufferLength=0,e.totalBytes=e.totalChunkedBytes,e.isDoneSending=!0,(0===e.numParts||r.length>0)&&(e.numParts++,e.nextChunk(r))),e.body.read(0)}},nextChunk:function(e){var t=this;if(t.failed)return null;var r=++t.totalPartNumbers;if(t.isDoneChunking&&1===r){var i={Body:e};this.tags&&(i.Tagging=this.getTaggingHeader());var s=t.service.putObject(i);return s._managedUpload=t,s.on("httpUploadProgress",t.progress).send(t.finishSinglePart),t.singlePart=s,null}if(t.service.config.params.ContentMD5){var o=a.util.error(new Error("The Content-MD5 you specified is invalid for multi-part uploads."),{code:"InvalidDigest",retryable:!1});return t.cleanup(o),null}if(t.completeInfo[r]&&null!==t.completeInfo[r].ETag)return null;t.activeParts++,t.service.config.params.UploadId?t.uploadPart(e,r):t.multipartReq?t.queueChunks(e,r):(t.multipartReq=t.service.createMultipartUpload(),t.multipartReq.on("success",function(e){t.service.config.params.UploadId=e.data.UploadId,t.multipartReq=null}),t.queueChunks(e,r),t.multipartReq.on("error",function(e){t.cleanup(e)}),t.multipartReq.send())},getTaggingHeader:function(){for(var e=[],t=0;t-1&&r.splice(i,1)}return this},removeAllListeners:function(e){return e?delete this._events[e]:this._events={},this},emit:function(e,t,r){r||(r=function(){});var a=this.listeners(e),i=a.length;return this.callListeners(a,t,r),i>0},callListeners:function(e,t,r,i){function s(i){if(i&&(n=a.util.error(n||new Error,i),o._haltHandlersOnError))return r.call(o,n);o.callListeners(e,t,r,n)}for(var o=this,n=i||null;e.length>0;){var u=e.shift();if(u._isAsync)return void u.apply(o,t.concat([s]));try{u.apply(o,t)}catch(e){n=a.util.error(n||new Error,e)}if(n&&o._haltHandlersOnError)return void r.call(o,n)}r.call(o,n)},addListeners:function(e){var t=this;return e._events&&(e=e._events),a.util.each(e,function(e,r){"function"==typeof r&&(r=[r]),a.util.arrayEach(r,function(r){t.on(e,r)})}),t},addNamedListener:function(e,t,r,a){return this[e]=r,this.addListener(t,r,a),this},addNamedAsyncListener:function(e,t,r,a){return r._isAsync=!0,this.addNamedListener(e,t,r,a)},addNamedListeners:function(e){var t=this;return e(function(){t.addNamedListener.apply(t,arguments)},function(){t.addNamedAsyncListener.apply(t,arguments)}),this}}),a.SequentialExecutor.prototype.addListener=a.SequentialExecutor.prototype.on,t.exports=a.SequentialExecutor},{"./core":345}],397:[function(e,t,r){(function(r){(function(){var a=e("./core"),i=e("./model/api"),s=e("./region_config"),o=a.util.inherit,n=0,u=e("./region/utils");a.Service=o({constructor:function(e){if(!this.loadServiceClass)throw a.util.error(new Error,"Service must be constructed with `new' operator");if(e){if(e.region){var t=e.region;u.isFipsRegion(t)&&(e.region=u.getRealRegion(t),e.useFipsEndpoint=!0),u.isGlobalRegion(t)&&(e.region=u.getRealRegion(t))}"boolean"==typeof e.useDualstack&&"boolean"!=typeof e.useDualstackEndpoint&&(e.useDualstackEndpoint=e.useDualstack)}var r=this.loadServiceClass(e||{});if(r){var i=a.util.copy(e),s=new r(e);return Object.defineProperty(s,"_originalConfig",{get:function(){return i},enumerable:!1,configurable:!0}),s._clientId=++n,s}this.initialize(e)},initialize:function(e){var t=a.config[this.serviceIdentifier];if(this.config=new a.Config(a.config),t&&this.config.update(t,!0),e&&this.config.update(e,!0),this.validateService(),this.config.endpoint||s.configureEndpoint(this),this.config.endpoint=this.endpointFromTemplate(this.config.endpoint),this.setEndpoint(this.config.endpoint),a.SequentialExecutor.call(this),a.Service.addDefaultMonitoringListeners(this),(this.config.clientSideMonitoring||a.Service._clientSideMonitoring)&&this.publisher){var i=this.publisher;this.addNamedListener("PUBLISH_API_CALL","apiCall",function(e){r.nextTick(function(){i.eventHandler(e)})}),this.addNamedListener("PUBLISH_API_ATTEMPT","apiCallAttempt",function(e){r.nextTick(function(){i.eventHandler(e)})})}},validateService:function(){},loadServiceClass:function(e){var t=e;if(a.util.isEmpty(this.api)){if(t.apiConfig)return a.Service.defineServiceApi(this.constructor,t.apiConfig);if(this.constructor.services){t=new a.Config(a.config),t.update(e,!0);var r=t.apiVersions[this.constructor.serviceIdentifier];return r=r||t.apiVersion,this.getLatestServiceClass(r)}return null}return null},getLatestServiceClass:function(e){return e=this.getLatestServiceVersion(e),null===this.constructor.services[e]&&a.Service.defineServiceApi(this.constructor,e),this.constructor.services[e]},getLatestServiceVersion:function(e){ diff --git a/lib/core.js b/lib/core.js index d8a0b52e5c..9336a11adf 100644 --- a/lib/core.js +++ b/lib/core.js @@ -20,7 +20,7 @@ AWS.util.update(AWS, { /** * @constant */ - VERSION: '2.1340.0', + VERSION: '2.1341.0', /** * @api private diff --git a/package.json b/package.json index c5c43deaa7..ec74f8c12c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "aws-sdk", "description": "AWS SDK for JavaScript", - "version": "2.1340.0", + "version": "2.1341.0", "author": { "name": "Amazon Web Services", "email": "",