From afef987f8536a3114326ef151fe97e0080fff044 Mon Sep 17 00:00:00 2001 From: awstools Date: Mon, 26 Aug 2024 18:26:36 +0000 Subject: [PATCH] Updates SDK to v2.1683.0 --- .changes/2.1683.0.json | 12 + CHANGELOG.md | 6 +- README.md | 2 +- apis/iotsitewise-2019-12-02.min.json | 408 ++++++++++++++---------- apis/iotsitewise-2019-12-02.normal.json | 332 ++++++++++++++----- apis/workspaces-2015-04-08.min.json | 118 ++++--- apis/workspaces-2015-04-08.normal.json | 103 +++++- clients/iotsitewise.d.ts | 241 +++++++++----- clients/workspaces.d.ts | 59 +++- 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 +- 15 files changed, 934 insertions(+), 369 deletions(-) create mode 100644 .changes/2.1683.0.json diff --git a/.changes/2.1683.0.json b/.changes/2.1683.0.json new file mode 100644 index 0000000000..77f0fe774f --- /dev/null +++ b/.changes/2.1683.0.json @@ -0,0 +1,12 @@ +[ + { + "type": "feature", + "category": "IoTSiteWise", + "description": "AWS IoT SiteWise now supports versioning for asset models. It enables users to retrieve active version of their asset model and perform asset model writes with optimistic lock." + }, + { + "type": "feature", + "category": "WorkSpaces", + "description": "This release adds support for creating and managing directories that use AWS IAM Identity Center as user identity source. Such directories can be used to create non-Active Directory domain joined WorkSpaces Personal.Updated RegisterWorkspaceDirectory and DescribeWorkspaceDirectories APIs." + } +] \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 812a4da61c..76219e4185 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,11 @@ # Changelog for AWS SDK for JavaScript - + +## 2.1683.0 +* feature: IoTSiteWise: AWS IoT SiteWise now supports versioning for asset models. It enables users to retrieve active version of their asset model and perform asset model writes with optimistic lock. +* feature: WorkSpaces: This release adds support for creating and managing directories that use AWS IAM Identity Center as user identity source. Such directories can be used to create non-Active Directory domain joined WorkSpaces Personal.Updated RegisterWorkspaceDirectory and DescribeWorkspaceDirectories APIs. + ## 2.1682.0 * feature: BedrockAgent: Releasing the support for Action User Confirmation. * feature: BedrockAgentRuntime: Releasing the support for Action User Confirmation. diff --git a/README.md b/README.md index 7b7eb29e1a..ca43d48a02 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,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/iotsitewise-2019-12-02.min.json b/apis/iotsitewise-2019-12-02.min.json index 9bb4f9a665..0334f6c48f 100644 --- a/apis/iotsitewise-2019-12-02.min.json +++ b/apis/iotsitewise-2019-12-02.min.json @@ -674,9 +674,12 @@ ], "members": { "assetModelName": {}, + "assetModelType": {}, + "assetModelId": {}, + "assetModelExternalId": {}, "assetModelDescription": {}, "assetModelProperties": { - "shape": "S3e" + "shape": "S3f" }, "assetModelHierarchies": { "type": "list", @@ -687,10 +690,10 @@ "childAssetModelId" ], "members": { - "name": {}, - "childAssetModelId": {}, "id": {}, - "externalId": {} + "externalId": {}, + "name": {}, + "childAssetModelId": {} } } }, @@ -703,14 +706,14 @@ "type" ], "members": { + "id": {}, + "externalId": {}, "name": {}, "description": {}, "type": {}, "properties": { - "shape": "S3e" - }, - "id": {}, - "externalId": {} + "shape": "S3f" + } } } }, @@ -719,10 +722,7 @@ }, "tags": { "shape": "S2w" - }, - "assetModelId": {}, - "assetModelExternalId": {}, - "assetModelType": {} + } } }, "output": { @@ -761,8 +761,8 @@ "location": "uri", "locationName": "assetModelId" }, - "parentAssetModelCompositeModelId": {}, "assetModelCompositeModelExternalId": {}, + "parentAssetModelCompositeModelId": {}, "assetModelCompositeModelId": {}, "assetModelCompositeModelDescription": {}, "assetModelCompositeModelName": {}, @@ -772,7 +772,19 @@ }, "composedAssetModelId": {}, "assetModelCompositeModelProperties": { - "shape": "S3e" + "shape": "S3f" + }, + "ifMatch": { + "location": "header", + "locationName": "If-Match" + }, + "ifNoneMatch": { + "location": "header", + "locationName": "If-None-Match" + }, + "matchForVersionType": { + "location": "header", + "locationName": "Match-For-Version-Type" } } }, @@ -786,7 +798,7 @@ "members": { "assetModelCompositeModelId": {}, "assetModelCompositeModelPath": { - "shape": "S4g" + "shape": "S4j" }, "assetModelStatus": { "shape": "S4c" @@ -815,13 +827,13 @@ "jobName": {}, "jobRoleArn": {}, "files": { - "shape": "S4j" + "shape": "S4m" }, "errorReportLocation": { - "shape": "S4n" + "shape": "S4q" }, "jobConfiguration": { - "shape": "S4o" + "shape": "S4r" }, "adaptiveIngestion": { "type": "boolean" @@ -902,7 +914,7 @@ "members": { "gatewayName": {}, "gatewayPlatform": { - "shape": "S53" + "shape": "S56" }, "tags": { "shape": "S2w" @@ -944,7 +956,7 @@ "idempotencyToken": true }, "portalLogoImageFile": { - "shape": "S5c" + "shape": "S5f" }, "roleArn": {}, "tags": { @@ -953,7 +965,7 @@ "portalAuthMode": {}, "notificationSenderEmail": {}, "alarms": { - "shape": "S5g" + "shape": "S5j" } } }, @@ -971,7 +983,7 @@ "portalArn": {}, "portalStartUrl": {}, "portalStatus": { - "shape": "S5j" + "shape": "S5m" }, "ssoApplicationId": {} } @@ -1107,6 +1119,18 @@ "idempotencyToken": true, "location": "querystring", "locationName": "clientToken" + }, + "ifMatch": { + "location": "header", + "locationName": "If-Match" + }, + "ifNoneMatch": { + "location": "header", + "locationName": "If-None-Match" + }, + "matchForVersionType": { + "location": "header", + "locationName": "Match-For-Version-Type" } } }, @@ -1150,6 +1174,18 @@ "idempotencyToken": true, "location": "querystring", "locationName": "clientToken" + }, + "ifMatch": { + "location": "header", + "locationName": "If-Match" + }, + "ifNoneMatch": { + "location": "header", + "locationName": "If-None-Match" + }, + "matchForVersionType": { + "location": "header", + "locationName": "Match-For-Version-Type" } } }, @@ -1250,7 +1286,7 @@ ], "members": { "portalStatus": { - "shape": "S5j" + "shape": "S5m" } } }, @@ -1397,11 +1433,11 @@ "members": { "actionId": {}, "targetResource": { - "shape": "S6b" + "shape": "S6e" }, "actionDefinitionId": {}, "actionPayload": { - "shape": "S6c" + "shape": "S6f" }, "executionTime": { "type": "timestamp" @@ -1453,10 +1489,10 @@ "assetName": {}, "assetModelId": {}, "assetProperties": { - "shape": "S6h" + "shape": "S6k" }, "assetHierarchies": { - "shape": "S6o" + "shape": "S6r" }, "assetCompositeModels": { "type": "list", @@ -1472,7 +1508,7 @@ "description": {}, "type": {}, "properties": { - "shape": "S6h" + "shape": "S6k" }, "id": {}, "externalId": {} @@ -1490,7 +1526,7 @@ }, "assetDescription": {}, "assetCompositeModelSummaries": { - "shape": "S6s" + "shape": "S6v" }, "assetExternalId": {} } @@ -1538,19 +1574,19 @@ "assetCompositeModelId": {}, "assetCompositeModelExternalId": {}, "assetCompositeModelPath": { - "shape": "S6u" + "shape": "S6x" }, "assetCompositeModelName": {}, "assetCompositeModelDescription": {}, "assetCompositeModelType": {}, "assetCompositeModelProperties": { - "shape": "S6h" + "shape": "S6k" }, "assetCompositeModelSummaries": { - "shape": "S6s" + "shape": "S6v" }, "actionDefinitions": { - "shape": "S6y" + "shape": "S71" } } }, @@ -1577,6 +1613,10 @@ "location": "querystring", "locationName": "excludeProperties", "type": "boolean" + }, + "assetModelVersion": { + "location": "querystring", + "locationName": "assetModelVersion" } } }, @@ -1595,17 +1635,22 @@ ], "members": { "assetModelId": {}, + "assetModelExternalId": {}, "assetModelArn": {}, "assetModelName": {}, + "assetModelType": {}, "assetModelDescription": {}, "assetModelProperties": { - "shape": "S72" + "shape": "S76" }, "assetModelHierarchies": { - "shape": "S74" + "shape": "S78" }, "assetModelCompositeModels": { - "shape": "S76" + "shape": "S7a" + }, + "assetModelCompositeModelSummaries": { + "shape": "S7c" }, "assetModelCreationDate": { "type": "timestamp" @@ -1616,11 +1661,11 @@ "assetModelStatus": { "shape": "S4c" }, - "assetModelType": {}, - "assetModelCompositeModelSummaries": { - "shape": "S78" - }, - "assetModelExternalId": {} + "assetModelVersion": {}, + "eTag": { + "location": "header", + "locationName": "ETag" + } } }, "endpoint": { @@ -1646,6 +1691,10 @@ "assetModelCompositeModelId": { "location": "uri", "locationName": "assetModelCompositeModelId" + }, + "assetModelVersion": { + "location": "querystring", + "locationName": "assetModelVersion" } } }, @@ -1666,13 +1715,13 @@ "assetModelCompositeModelId": {}, "assetModelCompositeModelExternalId": {}, "assetModelCompositeModelPath": { - "shape": "S4g" + "shape": "S4j" }, "assetModelCompositeModelName": {}, "assetModelCompositeModelDescription": {}, "assetModelCompositeModelType": {}, "assetModelCompositeModelProperties": { - "shape": "S72" + "shape": "S76" }, "compositionDetails": { "type": "structure", @@ -1689,10 +1738,10 @@ } }, "assetModelCompositeModelSummaries": { - "shape": "S78" + "shape": "S7c" }, "actionDefinitions": { - "shape": "S6y" + "shape": "S71" } } }, @@ -1734,7 +1783,7 @@ "assetName": {}, "assetModelId": {}, "assetProperty": { - "shape": "S7h" + "shape": "S7m" }, "compositeModel": { "type": "structure", @@ -1747,7 +1796,7 @@ "name": {}, "type": {}, "assetProperty": { - "shape": "S7h" + "shape": "S7m" }, "id": {}, "externalId": {} @@ -1796,13 +1845,13 @@ "jobStatus": {}, "jobRoleArn": {}, "files": { - "shape": "S4j" + "shape": "S4m" }, "errorReportLocation": { - "shape": "S4n" + "shape": "S4q" }, "jobConfiguration": { - "shape": "S4o" + "shape": "S4r" }, "jobCreationDate": { "type": "timestamp" @@ -1889,7 +1938,7 @@ "encryptionType": {}, "kmsKeyArn": {}, "configurationStatus": { - "shape": "S7q" + "shape": "S7v" } } }, @@ -1929,10 +1978,10 @@ "gatewayName": {}, "gatewayArn": {}, "gatewayPlatform": { - "shape": "S53" + "shape": "S56" }, "gatewayCapabilitySummaries": { - "shape": "S7v" + "shape": "S80" }, "creationDate": { "type": "timestamp" @@ -2003,7 +2052,7 @@ ], "members": { "loggingOptions": { - "shape": "S84" + "shape": "S89" } } }, @@ -2051,7 +2100,7 @@ "portalStartUrl": {}, "portalContactEmail": {}, "portalStatus": { - "shape": "S5j" + "shape": "S5m" }, "portalCreationDate": { "type": "timestamp" @@ -2074,7 +2123,7 @@ "portalAuthMode": {}, "notificationSenderEmail": {}, "alarms": { - "shape": "S5g" + "shape": "S5j" } } }, @@ -2146,21 +2195,21 @@ "members": { "storageType": {}, "multiLayerStorage": { - "shape": "S8f" + "shape": "S8k" }, "disassociatedDataStorage": {}, "retentionPeriod": { - "shape": "S8i" + "shape": "S8n" }, "configurationStatus": { - "shape": "S7q" + "shape": "S7v" }, "lastUpdateDate": { "type": "timestamp" }, "warmTier": {}, "warmTierRetentionPeriod": { - "shape": "S8m" + "shape": "S8r" } } }, @@ -2293,11 +2342,11 @@ ], "members": { "targetResource": { - "shape": "S6b" + "shape": "S6e" }, "actionDefinitionId": {}, "actionPayload": { - "shape": "S6c" + "shape": "S6f" }, "clientToken": {} } @@ -2353,7 +2402,7 @@ "rows": { "type": "list", "member": { - "shape": "S94" + "shape": "S99" } }, "nextToken": {} @@ -2778,7 +2827,7 @@ "actionId": {}, "actionDefinitionId": {}, "targetResource": { - "shape": "S6b" + "shape": "S6e" } } } @@ -2813,6 +2862,10 @@ "location": "querystring", "locationName": "maxResults", "type": "integer" + }, + "assetModelVersion": { + "location": "querystring", + "locationName": "assetModelVersion" } } }, @@ -2823,7 +2876,7 @@ ], "members": { "assetModelCompositeModelSummaries": { - "shape": "S78" + "shape": "S7c" }, "nextToken": {} } @@ -2859,6 +2912,10 @@ "filter": { "location": "querystring", "locationName": "filter" + }, + "assetModelVersion": { + "location": "querystring", + "locationName": "assetModelVersion" } } }, @@ -2879,18 +2936,18 @@ ], "members": { "id": {}, + "externalId": {}, "name": {}, "dataType": {}, "dataTypeSpec": {}, "unit": {}, "type": { - "shape": "S3i" + "shape": "S3j" }, "assetModelCompositeModelId": {}, "path": { - "shape": "S3w" - }, - "externalId": {} + "shape": "S3x" + } } } }, @@ -2909,6 +2966,12 @@ "input": { "type": "structure", "members": { + "assetModelTypes": { + "location": "querystring", + "locationName": "assetModelTypes", + "type": "list", + "member": {} + }, "nextToken": { "location": "querystring", "locationName": "nextToken" @@ -2918,11 +2981,9 @@ "locationName": "maxResults", "type": "integer" }, - "assetModelTypes": { + "assetModelVersion": { "location": "querystring", - "locationName": "assetModelTypes", - "type": "list", - "member": {} + "locationName": "assetModelVersion" } } }, @@ -2947,8 +3008,10 @@ ], "members": { "id": {}, + "externalId": {}, "arn": {}, "name": {}, + "assetModelType": {}, "description": {}, "creationDate": { "type": "timestamp" @@ -2959,8 +3022,7 @@ "status": { "shape": "S4c" }, - "assetModelType": {}, - "externalId": {} + "version": {} } } }, @@ -3019,11 +3081,11 @@ "alias": {}, "unit": {}, "notification": { - "shape": "S6j" + "shape": "S6m" }, "assetCompositeModelId": {}, "path": { - "shape": "S6m" + "shape": "S6p" }, "externalId": {} } @@ -3161,7 +3223,7 @@ "shape": "S35" }, "hierarchies": { - "shape": "S6o" + "shape": "S6r" }, "description": {}, "externalId": {} @@ -3244,7 +3306,7 @@ "shape": "S35" }, "hierarchies": { - "shape": "S6o" + "shape": "S6r" }, "description": {}, "externalId": {} @@ -3465,10 +3527,10 @@ "gatewayId": {}, "gatewayName": {}, "gatewayPlatform": { - "shape": "S53" + "shape": "S56" }, "gatewayCapabilitySummaries": { - "shape": "S7v" + "shape": "S80" }, "creationDate": { "type": "timestamp" @@ -3532,7 +3594,7 @@ }, "roleArn": {}, "status": { - "shape": "S5j" + "shape": "S5m" } } } @@ -3774,7 +3836,7 @@ "encryptionType": {}, "kmsKeyArn": {}, "configurationStatus": { - "shape": "S7q" + "shape": "S7v" } } }, @@ -3794,7 +3856,7 @@ ], "members": { "loggingOptions": { - "shape": "S84" + "shape": "S89" } } }, @@ -3818,15 +3880,15 @@ "members": { "storageType": {}, "multiLayerStorage": { - "shape": "S8f" + "shape": "S8k" }, "disassociatedDataStorage": {}, "retentionPeriod": { - "shape": "S8i" + "shape": "S8n" }, "warmTier": {}, "warmTierRetentionPeriod": { - "shape": "S8m" + "shape": "S8r" } } }, @@ -3839,18 +3901,18 @@ "members": { "storageType": {}, "multiLayerStorage": { - "shape": "S8f" + "shape": "S8k" }, "disassociatedDataStorage": {}, "retentionPeriod": { - "shape": "S8i" + "shape": "S8n" }, "configurationStatus": { - "shape": "S7q" + "shape": "S7v" }, "warmTier": {}, "warmTierRetentionPeriod": { - "shape": "S8m" + "shape": "S8r" } } }, @@ -4014,21 +4076,33 @@ "location": "uri", "locationName": "assetModelId" }, + "assetModelExternalId": {}, "assetModelName": {}, "assetModelDescription": {}, "assetModelProperties": { - "shape": "S72" + "shape": "S76" }, "assetModelHierarchies": { - "shape": "S74" + "shape": "S78" }, "assetModelCompositeModels": { - "shape": "S76" + "shape": "S7a" }, "clientToken": { "idempotencyToken": true }, - "assetModelExternalId": {} + "ifMatch": { + "location": "header", + "locationName": "If-Match" + }, + "ifNoneMatch": { + "location": "header", + "locationName": "If-None-Match" + }, + "matchForVersionType": { + "location": "header", + "locationName": "Match-For-Version-Type" + } } }, "output": { @@ -4075,7 +4149,19 @@ "idempotencyToken": true }, "assetModelCompositeModelProperties": { - "shape": "S72" + "shape": "S76" + }, + "ifMatch": { + "location": "header", + "locationName": "If-Match" + }, + "ifNoneMatch": { + "location": "header", + "locationName": "If-None-Match" + }, + "matchForVersionType": { + "location": "header", + "locationName": "Match-For-Version-Type" } } }, @@ -4087,7 +4173,7 @@ ], "members": { "assetModelCompositeModelPath": { - "shape": "S4g" + "shape": "S4j" }, "assetModelStatus": { "shape": "S4c" @@ -4250,7 +4336,7 @@ "members": { "id": {}, "file": { - "shape": "S5c" + "shape": "S5f" } } }, @@ -4260,7 +4346,7 @@ }, "notificationSenderEmail": {}, "alarms": { - "shape": "S5g" + "shape": "S5j" } } }, @@ -4271,7 +4357,7 @@ ], "members": { "portalStatus": { - "shape": "S5j" + "shape": "S5m" } } }, @@ -4534,7 +4620,7 @@ } } }, - "S3e": { + "S3f": { "type": "list", "member": { "type": "structure", @@ -4544,19 +4630,19 @@ "type" ], "members": { + "id": {}, + "externalId": {}, "name": {}, "dataType": {}, "dataTypeSpec": {}, "unit": {}, "type": { - "shape": "S3i" - }, - "id": {}, - "externalId": {} + "shape": "S3j" + } } } }, - "S3i": { + "S3j": { "type": "structure", "members": { "attribute": { @@ -4575,7 +4661,7 @@ ], "members": { "forwardingConfig": { - "shape": "S3n" + "shape": "S3o" } } } @@ -4590,7 +4676,7 @@ "members": { "expression": {}, "variables": { - "shape": "S3r" + "shape": "S3s" }, "processingConfig": { "type": "structure", @@ -4600,7 +4686,7 @@ "members": { "computeLocation": {}, "forwardingConfig": { - "shape": "S3n" + "shape": "S3o" } } } @@ -4616,7 +4702,7 @@ "members": { "expression": {}, "variables": { - "shape": "S3r" + "shape": "S3s" }, "window": { "type": "structure", @@ -4646,7 +4732,7 @@ } } }, - "S3n": { + "S3o": { "type": "structure", "required": [ "state" @@ -4655,7 +4741,7 @@ "state": {} } }, - "S3r": { + "S3s": { "type": "list", "member": { "type": "structure", @@ -4671,14 +4757,14 @@ "propertyId": {}, "hierarchyId": {}, "propertyPath": { - "shape": "S3w" + "shape": "S3x" } } } } } }, - "S3w": { + "S3x": { "type": "list", "member": { "type": "structure", @@ -4700,7 +4786,7 @@ } } }, - "S4g": { + "S4j": { "type": "list", "member": { "type": "structure", @@ -4710,7 +4796,7 @@ } } }, - "S4j": { + "S4m": { "type": "list", "member": { "type": "structure", @@ -4725,7 +4811,7 @@ } } }, - "S4n": { + "S4q": { "type": "structure", "required": [ "bucket", @@ -4736,7 +4822,7 @@ "prefix": {} } }, - "S4o": { + "S4r": { "type": "structure", "required": [ "fileFormat" @@ -4765,7 +4851,7 @@ } } }, - "S53": { + "S56": { "type": "structure", "members": { "greengrass": { @@ -4797,7 +4883,7 @@ } } }, - "S5c": { + "S5f": { "type": "structure", "required": [ "data", @@ -4810,7 +4896,7 @@ "type": {} } }, - "S5g": { + "S5j": { "type": "structure", "required": [ "alarmRoleArn" @@ -4820,7 +4906,7 @@ "notificationLambdaArn": {} } }, - "S5j": { + "S5m": { "type": "structure", "required": [ "state" @@ -4836,7 +4922,7 @@ } } }, - "S6b": { + "S6e": { "type": "structure", "required": [ "assetId" @@ -4845,7 +4931,7 @@ "assetId": {} } }, - "S6c": { + "S6f": { "type": "structure", "required": [ "stringValue" @@ -4854,7 +4940,7 @@ "stringValue": {} } }, - "S6h": { + "S6k": { "type": "list", "member": { "type": "structure", @@ -4868,19 +4954,19 @@ "name": {}, "alias": {}, "notification": { - "shape": "S6j" + "shape": "S6m" }, "dataType": {}, "dataTypeSpec": {}, "unit": {}, "path": { - "shape": "S6m" + "shape": "S6p" }, "externalId": {} } } }, - "S6j": { + "S6m": { "type": "structure", "required": [ "topic", @@ -4891,7 +4977,7 @@ "state": {} } }, - "S6m": { + "S6p": { "type": "list", "member": { "type": "structure", @@ -4901,7 +4987,7 @@ } } }, - "S6o": { + "S6r": { "type": "list", "member": { "type": "structure", @@ -4915,7 +5001,7 @@ } } }, - "S6s": { + "S6v": { "type": "list", "member": { "type": "structure", @@ -4933,12 +5019,12 @@ "type": {}, "description": {}, "path": { - "shape": "S6u" + "shape": "S6x" } } } }, - "S6u": { + "S6x": { "type": "list", "member": { "type": "structure", @@ -4948,7 +5034,7 @@ } } }, - "S6y": { + "S71": { "type": "list", "member": { "type": "structure", @@ -4964,7 +5050,7 @@ } } }, - "S72": { + "S76": { "type": "list", "member": { "type": "structure", @@ -4975,21 +5061,21 @@ ], "members": { "id": {}, + "externalId": {}, "name": {}, "dataType": {}, "dataTypeSpec": {}, "unit": {}, "type": { - "shape": "S3i" + "shape": "S3j" }, "path": { - "shape": "S3w" - }, - "externalId": {} + "shape": "S3x" + } } } }, - "S74": { + "S78": { "type": "list", "member": { "type": "structure", @@ -4999,13 +5085,13 @@ ], "members": { "id": {}, + "externalId": {}, "name": {}, - "childAssetModelId": {}, - "externalId": {} + "childAssetModelId": {} } } }, - "S76": { + "S7a": { "type": "list", "member": { "type": "structure", @@ -5018,14 +5104,14 @@ "description": {}, "type": {}, "properties": { - "shape": "S72" + "shape": "S76" }, "id": {}, "externalId": {} } } }, - "S78": { + "S7c": { "type": "list", "member": { "type": "structure", @@ -5041,12 +5127,12 @@ "type": {}, "description": {}, "path": { - "shape": "S4g" + "shape": "S4j" } } } }, - "S7h": { + "S7m": { "type": "structure", "required": [ "id", @@ -5058,20 +5144,20 @@ "name": {}, "alias": {}, "notification": { - "shape": "S6j" + "shape": "S6m" }, "dataType": {}, "unit": {}, "type": { - "shape": "S3i" + "shape": "S3j" }, "path": { - "shape": "S6m" + "shape": "S6p" }, "externalId": {} } }, - "S7q": { + "S7v": { "type": "structure", "required": [ "state" @@ -5091,7 +5177,7 @@ } } }, - "S7v": { + "S80": { "type": "list", "member": { "type": "structure", @@ -5105,7 +5191,7 @@ } } }, - "S84": { + "S89": { "type": "structure", "required": [ "level" @@ -5114,7 +5200,7 @@ "level": {} } }, - "S8f": { + "S8k": { "type": "structure", "required": [ "customerManagedS3Storage" @@ -5133,7 +5219,7 @@ } } }, - "S8i": { + "S8n": { "type": "structure", "members": { "numberOfDays": { @@ -5144,7 +5230,7 @@ } } }, - "S8m": { + "S8r": { "type": "structure", "members": { "numberOfDays": { @@ -5155,28 +5241,28 @@ } } }, - "S94": { + "S99": { "type": "structure", "required": [ "data" ], "members": { "data": { - "shape": "S95" + "shape": "S9a" } } }, - "S95": { + "S9a": { "type": "list", "member": { "type": "structure", "members": { "scalarValue": {}, "arrayValue": { - "shape": "S95" + "shape": "S9a" }, "rowValue": { - "shape": "S94" + "shape": "S99" }, "nullValue": { "type": "boolean" diff --git a/apis/iotsitewise-2019-12-02.normal.json b/apis/iotsitewise-2019-12-02.normal.json index 52290868ef..97612d89a2 100644 --- a/apis/iotsitewise-2019-12-02.normal.json +++ b/apis/iotsitewise-2019-12-02.normal.json @@ -420,6 +420,9 @@ { "shape": "ConflictingOperationException" }, + { + "shape": "PreconditionFailedException" + }, { "shape": "InternalFailureException" }, @@ -720,6 +723,9 @@ }, { "shape": "ConflictingOperationException" + }, + { + "shape": "PreconditionFailedException" } ], "documentation": "

Deletes an asset model. This action can't be undone. You must delete all assets created from an asset model before you can delete the model. Also, you can't delete an asset model if a parent asset model exists that contains a property formula expression that depends on the asset model that you want to delete. For more information, see Deleting assets and models in the IoT SiteWise User Guide.

", @@ -755,6 +761,9 @@ }, { "shape": "ConflictingOperationException" + }, + { + "shape": "PreconditionFailedException" } ], "documentation": "

Deletes a composite model. This action can't be undone. You must delete all assets created from a composite model before you can delete the model. Also, you can't delete a composite model if a parent asset model exists that contains a property formula expression that depends on the asset model that you want to delete. For more information, see Deleting assets and models in the IoT SiteWise User Guide.

", @@ -2002,7 +2011,7 @@ "shape": "ThrottlingException" } ], - "documentation": "

Retrieves a paginated list of associated assets.

You can use this operation to do the following:

", + "documentation": "

Retrieves a paginated list of associated assets.

You can use this operation to do the following:

", "endpoint": { "hostPrefix": "api." } @@ -2579,6 +2588,9 @@ }, { "shape": "ConflictingOperationException" + }, + { + "shape": "PreconditionFailedException" } ], "documentation": "

Updates an asset model and all of the assets that were created from the model. Each asset created from the model inherits the updated asset model's property and hierarchy definitions. For more information, see Updating assets and models in the IoT SiteWise User Guide.

If you remove a property from an asset model, IoT SiteWise deletes all previous data for that property. You can’t change the type or data type of an existing property.

To replace an existing asset model property with a new one with the same name, do the following:

  1. Submit an UpdateAssetModel request with the entire existing property removed.

  2. Submit a second UpdateAssetModel request that includes the new property. The new asset property will have the same name as the previous one and IoT SiteWise will generate a new unique id.

", @@ -2603,6 +2615,9 @@ { "shape": "ConflictingOperationException" }, + { + "shape": "PreconditionFailedException" + }, { "shape": "InternalFailureException" }, @@ -3274,6 +3289,14 @@ "type" ], "members": { + "id": { + "shape": "ID", + "documentation": "

The ID to assign to the composite model, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.

" + }, + "externalId": { + "shape": "ExternalId", + "documentation": "

An external ID to assign to the composite model. The external ID must be unique among composite models within this asset model. For more information, see Using external IDs in the IoT SiteWise User Guide.

" + }, "name": { "shape": "Name", "documentation": "

The name of the composite model.

" @@ -3289,14 +3312,6 @@ "properties": { "shape": "AssetModelPropertyDefinitions", "documentation": "

The asset property definitions for this composite model.

" - }, - "id": { - "shape": "ID", - "documentation": "

The ID to assign to the composite model, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.

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

An external ID to assign to the composite model. The external ID must be unique among composite models within this asset model. For more information, see Using external IDs in the IoT SiteWise User Guide.

" } }, "documentation": "

Contains a composite model definition in an asset model. This composite model definition is applied to all assets created from the asset model.

" @@ -3391,6 +3406,10 @@ "shape": "CustomID", "documentation": "

The ID of the asset model hierarchy. This ID is a hierarchyId.

" }, + "externalId": { + "shape": "ExternalId", + "documentation": "

The external ID (if any) provided in the CreateAssetModel or UpdateAssetModel operation. You can assign an external ID by specifying this value as part of a call to UpdateAssetModel. However, you can't change the external ID if one is already assigned. For more information, see Using external IDs in the IoT SiteWise User Guide.

" + }, "name": { "shape": "Name", "documentation": "

The name of the asset model hierarchy that you specify by using the CreateAssetModel or UpdateAssetModel API operation.

" @@ -3398,10 +3417,6 @@ "childAssetModelId": { "shape": "CustomID", "documentation": "

The ID of the asset model, in UUID format. All assets in this hierarchy must be instances of the childAssetModelId asset model. IoT SiteWise will always return the actual asset model ID for this value. However, when you are specifying this value as part of a call to UpdateAssetModel, you may provide either the asset model ID or else externalId: followed by the asset model's external ID. For more information, see Using external IDs in the IoT SiteWise User Guide.

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

The external ID (if any) provided in the CreateAssetModel or UpdateAssetModel operation. You can assign an external ID by specifying this value as part of a call to UpdateAssetModel. However, you can't change the external ID if one is already assigned. For more information, see Using external IDs in the IoT SiteWise User Guide.

" } }, "documentation": "

Describes an asset hierarchy that contains a hierarchy's name, ID, and child asset model ID that specifies the type of asset that can be in this hierarchy.

" @@ -3413,14 +3428,6 @@ "childAssetModelId" ], "members": { - "name": { - "shape": "Name", - "documentation": "

The name of the asset model hierarchy definition (as specified in the CreateAssetModel or UpdateAssetModel API operation).

" - }, - "childAssetModelId": { - "shape": "CustomID", - "documentation": "

The ID of an asset model for this hierarchy. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.

" - }, "id": { "shape": "ID", "documentation": "

The ID to assign to the asset model hierarchy, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.

" @@ -3428,6 +3435,14 @@ "externalId": { "shape": "ExternalId", "documentation": "

An external ID to assign to the asset model hierarchy. The external ID must be unique among asset model hierarchies within this asset model. For more information, see Using external IDs in the IoT SiteWise User Guide.

" + }, + "name": { + "shape": "Name", + "documentation": "

The name of the asset model hierarchy definition (as specified in the CreateAssetModel or UpdateAssetModel API operation).

" + }, + "childAssetModelId": { + "shape": "CustomID", + "documentation": "

The ID of an asset model for this hierarchy. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.

" } }, "documentation": "

Contains an asset model hierarchy used in asset model creation. An asset model hierarchy determines the kind (or type) of asset that can belong to a hierarchy.

" @@ -3456,6 +3471,10 @@ "shape": "CustomID", "documentation": "

The ID of the asset model property.

" }, + "externalId": { + "shape": "ExternalId", + "documentation": "

The external ID (if any) provided in the CreateAssetModel or UpdateAssetModel operation. You can assign an external ID by specifying this value as part of a call to UpdateAssetModel. However, you can't change the external ID if one is already assigned. For more information, see Using external IDs in the IoT SiteWise User Guide.

" + }, "name": { "shape": "Name", "documentation": "

The name of the asset model property.

" @@ -3479,10 +3498,6 @@ "path": { "shape": "AssetModelPropertyPath", "documentation": "

The structured path to the property from the root of the asset model.

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

The external ID (if any) provided in the CreateAssetModel or UpdateAssetModel operation. You can assign an external ID by specifying this value as part of a call to UpdateAssetModel. However, you can't change the external ID if one is already assigned. For more information, see Using external IDs in the IoT SiteWise User Guide.

" } }, "documentation": "

Contains information about an asset model property.

" @@ -3495,6 +3510,14 @@ "type" ], "members": { + "id": { + "shape": "ID", + "documentation": "

The ID to assign to the asset model property, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.

" + }, + "externalId": { + "shape": "ExternalId", + "documentation": "

An external ID to assign to the property definition. The external ID must be unique among property definitions within this asset model. For more information, see Using external IDs in the IoT SiteWise User Guide.

" + }, "name": { "shape": "Name", "documentation": "

The name of the property definition.

" @@ -3514,14 +3537,6 @@ "type": { "shape": "PropertyType", "documentation": "

The property definition type (see PropertyType). You can only specify one type in a property definition.

" - }, - "id": { - "shape": "ID", - "documentation": "

The ID to assign to the asset model property, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.

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

An external ID to assign to the property definition. The external ID must be unique among property definitions within this asset model. For more information, see Using external IDs in the IoT SiteWise User Guide.

" } }, "documentation": "

Contains an asset model property definition. This property definition is applied to all assets created from the asset model.

" @@ -3570,6 +3585,10 @@ "shape": "ID", "documentation": "

The ID of the property.

" }, + "externalId": { + "shape": "ExternalId", + "documentation": "

The external ID of the property. For more information, see Using external IDs in the IoT SiteWise User Guide.

" + }, "name": { "shape": "Name", "documentation": "

The name of the property.

" @@ -3596,10 +3615,6 @@ "path": { "shape": "AssetModelPropertyPath", "documentation": "

The structured path to the property from the root of the asset model.

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

The external ID of the property. For more information, see Using external IDs in the IoT SiteWise User Guide.

" } }, "documentation": "

Contains a summary of a property associated with a model.

" @@ -3654,6 +3669,10 @@ "shape": "ID", "documentation": "

The ID of the asset model (used with IoT SiteWise API operations).

" }, + "externalId": { + "shape": "ExternalId", + "documentation": "

The external ID of the asset model. For more information, see Using external IDs in the IoT SiteWise User Guide.

" + }, "arn": { "shape": "ARN", "documentation": "

The ARN of the asset model, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}

" @@ -3662,6 +3681,10 @@ "shape": "Name", "documentation": "

The name of the asset model.

" }, + "assetModelType": { + "shape": "AssetModelType", + "documentation": "

The type of asset model.

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

The asset model description.

" @@ -3678,13 +3701,9 @@ "shape": "AssetModelStatus", "documentation": "

The current status of the asset model.

" }, - "assetModelType": { - "shape": "AssetModelType", - "documentation": "

The type of asset model.

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

The external ID of the asset model. For more information, see Using external IDs in the IoT SiteWise User Guide.

" + "version": { + "shape": "Version", + "documentation": "

The version number of the asset model.

" } }, "documentation": "

Contains a summary of an asset model.

" @@ -3696,6 +3715,17 @@ "COMPONENT_MODEL" ] }, + "AssetModelVersionFilter": { + "type": "string", + "pattern": "^(LATEST|ACTIVE)$" + }, + "AssetModelVersionType": { + "type": "string", + "enum": [ + "LATEST", + "ACTIVE" + ] + }, "AssetProperties": { "type": "list", "member": { @@ -5168,14 +5198,14 @@ "location": "uri", "locationName": "assetModelId" }, - "parentAssetModelCompositeModelId": { - "shape": "CustomID", - "documentation": "

The ID of the parent composite model in this asset model relationship.

" - }, "assetModelCompositeModelExternalId": { "shape": "ExternalId", "documentation": "

An external ID to assign to the composite model.

If the composite model is a derived composite model, or one nested inside a component model, you can only set the external ID using UpdateAssetModelCompositeModel and specifying the derived ID of the model or property from the created model it's a part of.

" }, + "parentAssetModelCompositeModelId": { + "shape": "CustomID", + "documentation": "

The ID of the parent composite model in this asset model relationship.

" + }, "assetModelCompositeModelId": { "shape": "ID", "documentation": "

The ID of the composite model. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.

" @@ -5204,6 +5234,24 @@ "assetModelCompositeModelProperties": { "shape": "AssetModelPropertyDefinitions", "documentation": "

The property definitions of the composite model. For more information, see Inline custom composite models in the IoT SiteWise User Guide.

You can specify up to 200 properties per composite model. For more information, see Quotas in the IoT SiteWise User Guide.

" + }, + "ifMatch": { + "shape": "ETag", + "documentation": "

The expected current entity tag (ETag) for the asset model’s latest or active version (specified using matchForVersionType). The create request is rejected if the tag does not match the latest or active version's current entity tag. See Optimistic locking for asset model writes in the IoT SiteWise User Guide.

", + "location": "header", + "locationName": "If-Match" + }, + "ifNoneMatch": { + "shape": "SelectAll", + "documentation": "

Accepts * to reject the create request if an active version (specified using matchForVersionType as ACTIVE) already exists for the asset model.

", + "location": "header", + "locationName": "If-None-Match" + }, + "matchForVersionType": { + "shape": "AssetModelVersionType", + "documentation": "

Specifies the asset model version type (LATEST or ACTIVE) used in conjunction with If-Match or If-None-Match headers to determine the target ETag for the create operation.

", + "location": "header", + "locationName": "Match-For-Version-Type" } } }, @@ -5238,6 +5286,18 @@ "shape": "Name", "documentation": "

A unique name for the asset model.

" }, + "assetModelType": { + "shape": "AssetModelType", + "documentation": "

The type of asset model.

" + }, + "assetModelId": { + "shape": "ID", + "documentation": "

The ID to assign to the asset model, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.

" + }, + "assetModelExternalId": { + "shape": "ExternalId", + "documentation": "

An external ID to assign to the asset model. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide.

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

A description for the asset model.

" @@ -5262,18 +5322,6 @@ "tags": { "shape": "TagMap", "documentation": "

A list of key-value pairs that contain metadata for the asset model. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.

" - }, - "assetModelId": { - "shape": "ID", - "documentation": "

The ID to assign to the asset model, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.

" - }, - "assetModelExternalId": { - "shape": "ExternalId", - "documentation": "

An external ID to assign to the asset model. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide.

" - }, - "assetModelType": { - "shape": "AssetModelType", - "documentation": "

The type of asset model.

" } } }, @@ -5802,6 +5850,24 @@ "idempotencyToken": true, "location": "querystring", "locationName": "clientToken" + }, + "ifMatch": { + "shape": "ETag", + "documentation": "

The expected current entity tag (ETag) for the asset model’s latest or active version (specified using matchForVersionType). The delete request is rejected if the tag does not match the latest or active version's current entity tag. See Optimistic locking for asset model writes in the IoT SiteWise User Guide.

", + "location": "header", + "locationName": "If-Match" + }, + "ifNoneMatch": { + "shape": "SelectAll", + "documentation": "

Accepts * to reject the delete request if an active version (specified using matchForVersionType as ACTIVE) already exists for the asset model.

", + "location": "header", + "locationName": "If-None-Match" + }, + "matchForVersionType": { + "shape": "AssetModelVersionType", + "documentation": "

Specifies the asset model version type (LATEST or ACTIVE) used in conjunction with If-Match or If-None-Match headers to determine the target ETag for the delete operation.

", + "location": "header", + "locationName": "Match-For-Version-Type" } } }, @@ -5834,6 +5900,24 @@ "idempotencyToken": true, "location": "querystring", "locationName": "clientToken" + }, + "ifMatch": { + "shape": "ETag", + "documentation": "

The expected current entity tag (ETag) for the asset model’s latest or active version (specified using matchForVersionType). The delete request is rejected if the tag does not match the latest or active version's current entity tag. See Optimistic locking for asset model writes in the IoT SiteWise User Guide.

", + "location": "header", + "locationName": "If-Match" + }, + "ifNoneMatch": { + "shape": "SelectAll", + "documentation": "

Accepts * to reject the delete request if an active version (specified using matchForVersionType as ACTIVE) already exists for the asset model.

", + "location": "header", + "locationName": "If-None-Match" + }, + "matchForVersionType": { + "shape": "AssetModelVersionType", + "documentation": "

Specifies the asset model version type (LATEST or ACTIVE) used in conjunction with If-Match or If-None-Match headers to determine the target ETag for the delete operation.

", + "location": "header", + "locationName": "Match-For-Version-Type" } } }, @@ -6206,6 +6290,12 @@ "documentation": "

The ID of a composite model on this asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.

", "location": "uri", "locationName": "assetModelCompositeModelId" + }, + "assetModelVersion": { + "shape": "AssetModelVersionFilter", + "documentation": "

The version alias that specifies the latest or active version of the asset model. The details are returned in the response. The default value is LATEST. See Asset model versions in the IoT SiteWise User Guide.

", + "location": "querystring", + "locationName": "assetModelVersion" } } }, @@ -6285,6 +6375,12 @@ "documentation": "

Whether or not to exclude asset model properties from the response.

", "location": "querystring", "locationName": "excludeProperties" + }, + "assetModelVersion": { + "shape": "AssetModelVersionFilter", + "documentation": "

The version alias that specifies the latest or active version of the asset model. The details are returned in the response. The default value is LATEST. See Asset model versions in the IoT SiteWise User Guide.

", + "location": "querystring", + "locationName": "assetModelVersion" } } }, @@ -6306,6 +6402,10 @@ "shape": "ID", "documentation": "

The ID of the asset model, in UUID format.

" }, + "assetModelExternalId": { + "shape": "ExternalId", + "documentation": "

The external ID of the asset model, if any.

" + }, "assetModelArn": { "shape": "ARN", "documentation": "

The ARN of the asset model, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}

" @@ -6314,6 +6414,10 @@ "shape": "Name", "documentation": "

The name of the asset model.

" }, + "assetModelType": { + "shape": "AssetModelType", + "documentation": "

The type of asset model.

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

The asset model's description.

" @@ -6330,6 +6434,10 @@ "shape": "AssetModelCompositeModels", "documentation": "

The list of built-in composite models for the asset model, such as those with those of type AWS/ALARMS.

" }, + "assetModelCompositeModelSummaries": { + "shape": "AssetModelCompositeModelSummaries", + "documentation": "

The list of the immediate child custom composite model summaries for the asset model.

" + }, "assetModelCreationDate": { "shape": "Timestamp", "documentation": "

The date the asset model was created, in Unix epoch time.

" @@ -6342,17 +6450,15 @@ "shape": "AssetModelStatus", "documentation": "

The current status of the asset model, which contains a state and any error message.

" }, - "assetModelType": { - "shape": "AssetModelType", - "documentation": "

The type of asset model.

" + "assetModelVersion": { + "shape": "Version", + "documentation": "

The version of the asset model. See Asset model versions in the IoT SiteWise User Guide.

" }, - "assetModelCompositeModelSummaries": { - "shape": "AssetModelCompositeModelSummaries", - "documentation": "

The list of the immediate child custom composite model summaries for the asset model.

" - }, - "assetModelExternalId": { - "shape": "ExternalId", - "documentation": "

The external ID of the asset model, if any.

" + "eTag": { + "shape": "ETag", + "documentation": "

The entity tag (ETag) is a hash of the retrieved version of the asset model. It's used to make concurrent updates safely to the resource. See Optimistic locking for asset model writes in the IoT SiteWise User Guide.

See Optimistic locking for asset model writes in the IoT SiteWise User Guide.

", + "location": "header", + "locationName": "ETag" } } }, @@ -7146,6 +7252,10 @@ "DISABLED" ] }, + "ETag": { + "type": "string", + "pattern": "^[\\w-]{43}$" + }, "Email": { "type": "string", "max": 255, @@ -8219,6 +8329,12 @@ "documentation": "

The maximum number of results to return for each paginated request.

Default: 50

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

The version alias that specifies the latest or active version of the asset model. The details are returned in the response. The default value is LATEST. See Asset model versions in the IoT SiteWise User Guide.

", + "location": "querystring", + "locationName": "assetModelVersion" } } }, @@ -8274,6 +8390,12 @@ "documentation": "

Filters the requested list of asset model properties. You can choose one of the following options:

Default: BASE

", "location": "querystring", "locationName": "filter" + }, + "assetModelVersion": { + "shape": "AssetModelVersionFilter", + "documentation": "

The version alias that specifies the latest or active version of the asset model. The details are returned in the response. The default value is LATEST. See Asset model versions in the IoT SiteWise User Guide.

", + "location": "querystring", + "locationName": "assetModelVersion" } } }, @@ -8296,6 +8418,12 @@ "ListAssetModelsRequest": { "type": "structure", "members": { + "assetModelTypes": { + "shape": "ListAssetModelsTypeFilter", + "documentation": "

The type of asset model. If you don't provide an assetModelTypes, all types of asset models are returned.

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

The token to be used for the next set of paginated results.

", @@ -8308,11 +8436,11 @@ "location": "querystring", "locationName": "maxResults" }, - "assetModelTypes": { - "shape": "ListAssetModelsTypeFilter", - "documentation": "

The type of asset model.

", + "assetModelVersion": { + "shape": "AssetModelVersionFilter", + "documentation": "

The version alias that specifies the latest or active version of the asset model. The details are returned in the response. The default value is LATEST. See Asset model versions in the IoT SiteWise User Guide.

", "location": "querystring", - "locationName": "assetModelTypes" + "locationName": "assetModelVersion" } } }, @@ -8508,13 +8636,13 @@ }, "hierarchyId": { "shape": "CustomID", - "documentation": "

The ID of the hierarchy by which child assets are associated to the asset. (This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.) To find a hierarchy ID, use the DescribeAsset or DescribeAssetModel operations. This parameter is required if you choose CHILD for traversalDirection.

For more information, see Asset hierarchies in the IoT SiteWise User Guide.

", + "documentation": "

(Optional) If you don't provide a hierarchyId, all the immediate assets in the traversalDirection will be returned.

The ID of the hierarchy by which child assets are associated to the asset. (This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.)

For more information, see Asset hierarchies in the IoT SiteWise User Guide.

", "location": "querystring", "locationName": "hierarchyId" }, "traversalDirection": { "shape": "TraversalDirection", - "documentation": "

The direction to list associated assets. Choose one of the following options:

Default: CHILD

", + "documentation": "

The direction to list associated assets. Choose one of the following options:

Default: CHILD

", "location": "querystring", "locationName": "traversalDirection" }, @@ -9629,6 +9757,10 @@ "ScalarValue": { "type": "string" }, + "SelectAll": { + "type": "string", + "pattern": "\\*" + }, "SiemensIE": { "type": "structure", "required": [ @@ -9995,6 +10127,24 @@ "assetModelCompositeModelProperties": { "shape": "AssetModelProperties", "documentation": "

The property definitions of the composite model. For more information, see Inline custom composite models in the IoT SiteWise User Guide.

You can specify up to 200 properties per composite model. For more information, see Quotas in the IoT SiteWise User Guide.

" + }, + "ifMatch": { + "shape": "ETag", + "documentation": "

The expected current entity tag (ETag) for the asset model’s latest or active version (specified using matchForVersionType). The update request is rejected if the tag does not match the latest or active version's current entity tag. See Optimistic locking for asset model writes in the IoT SiteWise User Guide.

", + "location": "header", + "locationName": "If-Match" + }, + "ifNoneMatch": { + "shape": "SelectAll", + "documentation": "

Accepts * to reject the update request if an active version (specified using matchForVersionType as ACTIVE) already exists for the asset model.

", + "location": "header", + "locationName": "If-None-Match" + }, + "matchForVersionType": { + "shape": "AssetModelVersionType", + "documentation": "

Specifies the asset model version type (LATEST or ACTIVE) used in conjunction with If-Match or If-None-Match headers to determine the target ETag for the update operation.

", + "location": "header", + "locationName": "Match-For-Version-Type" } } }, @@ -10027,6 +10177,10 @@ "location": "uri", "locationName": "assetModelId" }, + "assetModelExternalId": { + "shape": "ExternalId", + "documentation": "

An external ID to assign to the asset model. The asset model must not already have an external ID. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide.

" + }, "assetModelName": { "shape": "Name", "documentation": "

A unique name for the asset model.

" @@ -10052,9 +10206,23 @@ "documentation": "

A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.

", "idempotencyToken": true }, - "assetModelExternalId": { - "shape": "ExternalId", - "documentation": "

An external ID to assign to the asset model. The asset model must not already have an external ID. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide.

" + "ifMatch": { + "shape": "ETag", + "documentation": "

The expected current entity tag (ETag) for the asset model’s latest or active version (specified using matchForVersionType). The update request is rejected if the tag does not match the latest or active version's current entity tag. See Optimistic locking for asset model writes in the IoT SiteWise User Guide.

", + "location": "header", + "locationName": "If-Match" + }, + "ifNoneMatch": { + "shape": "SelectAll", + "documentation": "

Accepts * to reject the update request if an active version (specified using matchForVersionType as ACTIVE) already exists for the asset model.

", + "location": "header", + "locationName": "If-None-Match" + }, + "matchForVersionType": { + "shape": "AssetModelVersionType", + "documentation": "

Specifies the asset model version type (LATEST or ACTIVE) used in conjunction with If-Match or If-None-Match headers to determine the target ETag for the update operation.

", + "location": "header", + "locationName": "Match-For-Version-Type" } } }, @@ -10407,6 +10575,12 @@ }, "documentation": "

Contains an asset property value (of a single type only).

" }, + "Version": { + "type": "string", + "max": 10, + "min": 1, + "pattern": "^(0|([1-9]{1}\\d*))$" + }, "WarmTierRetentionPeriod": { "type": "structure", "members": { diff --git a/apis/workspaces-2015-04-08.min.json b/apis/workspaces-2015-04-08.min.json index b61f1bfac5..66a08d2282 100644 --- a/apis/workspaces-2015-04-08.min.json +++ b/apis/workspaces-2015-04-08.min.json @@ -1156,7 +1156,24 @@ "Limit": { "type": "integer" }, - "NextToken": {} + "NextToken": {}, + "Filters": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "Name", + "Values" + ], + "members": { + "Name": {}, + "Values": { + "type": "list", + "member": {} + } + } + } + } } }, "output": { @@ -1172,7 +1189,7 @@ "DirectoryName": {}, "RegistrationCode": {}, "SubnetIds": { - "shape": "S7p" + "shape": "S7u" }, "DnsIpAddresses": { "type": "list", @@ -1207,27 +1224,37 @@ "shape": "Sf" }, "WorkspaceAccessProperties": { - "shape": "S7w" + "shape": "S81" }, "Tenancy": {}, "SelfservicePermissions": { - "shape": "S7z" + "shape": "S84" }, "SamlProperties": { - "shape": "S80" + "shape": "S85" }, "CertificateBasedAuthProperties": { - "shape": "S83" + "shape": "S88" + }, + "MicrosoftEntraConfig": { + "shape": "S8b" }, "WorkspaceDirectoryName": {}, "WorkspaceDirectoryDescription": {}, "UserIdentityType": {}, "WorkspaceType": {}, + "IDCConfig": { + "type": "structure", + "members": { + "InstanceArn": {}, + "ApplicationArn": {} + } + }, "ActiveDirectoryConfig": { - "shape": "S89" + "shape": "S8i" }, "StreamingProperties": { - "shape": "S8c" + "shape": "S8k" }, "ErrorMessage": {} } @@ -1345,10 +1372,10 @@ "type": "structure", "members": { "RebuildSnapshots": { - "shape": "S94" + "shape": "S9c" }, "RestoreSnapshots": { - "shape": "S94" + "shape": "S9c" } } } @@ -1358,7 +1385,7 @@ "type": "structure", "members": { "WorkspaceIds": { - "shape": "S97" + "shape": "S9f" }, "DirectoryId": {}, "UserName": {}, @@ -1385,7 +1412,7 @@ "type": "structure", "members": { "WorkspaceIds": { - "shape": "S97" + "shape": "S9f" }, "NextToken": {} } @@ -1594,13 +1621,13 @@ "members": { "ResourceId": {}, "DeviceTypeWindows": { - "shape": "Sa7" + "shape": "Saf" }, "DeviceTypeOsx": { - "shape": "Sa7" + "shape": "Saf" }, "DeviceTypeAndroid": { - "shape": "Sa7" + "shape": "Saf" }, "DeviceTypeIos": { "type": "structure", @@ -1623,10 +1650,10 @@ } }, "DeviceTypeLinux": { - "shape": "Sa7" + "shape": "Saf" }, "DeviceTypeWeb": { - "shape": "Sa7" + "shape": "Saf" } } }, @@ -1778,7 +1805,7 @@ "members": { "ResourceId": {}, "CertificateBasedAuthProperties": { - "shape": "S83" + "shape": "S88" }, "PropertiesToDelete": { "type": "list", @@ -1819,7 +1846,7 @@ "members": { "ResourceId": {}, "SamlProperties": { - "shape": "S80" + "shape": "S85" }, "PropertiesToDelete": { "type": "list", @@ -1842,7 +1869,7 @@ "members": { "ResourceId": {}, "SelfservicePermissions": { - "shape": "S7z" + "shape": "S84" } } }, @@ -1860,7 +1887,7 @@ "members": { "ResourceId": {}, "StreamingProperties": { - "shape": "S8c" + "shape": "S8k" } } }, @@ -1879,7 +1906,7 @@ "members": { "ResourceId": {}, "WorkspaceAccessProperties": { - "shape": "S7w" + "shape": "S81" } } }, @@ -1987,7 +2014,7 @@ "FailedRequests": { "type": "list", "member": { - "shape": "Sbr" + "shape": "Sbz" } } } @@ -2020,7 +2047,7 @@ "FailedRequests": { "type": "list", "member": { - "shape": "Sbr" + "shape": "Sbz" } } } @@ -2032,7 +2059,7 @@ "members": { "DirectoryId": {}, "SubnetIds": { - "shape": "S7p" + "shape": "S7u" }, "EnableWorkDocs": { "type": "boolean" @@ -2047,9 +2074,13 @@ "WorkspaceDirectoryName": {}, "WorkspaceDirectoryDescription": {}, "UserIdentityType": {}, + "IdcInstanceArn": {}, + "MicrosoftEntraConfig": { + "shape": "S8b" + }, "WorkspaceType": {}, "ActiveDirectoryConfig": { - "shape": "S89" + "shape": "S8i" } } }, @@ -2140,7 +2171,7 @@ "FailedRequests": { "type": "list", "member": { - "shape": "Sbr" + "shape": "Sbz" } } } @@ -2185,7 +2216,7 @@ "FailedRequests": { "type": "list", "member": { - "shape": "Sbr" + "shape": "Sbz" } } } @@ -2233,7 +2264,7 @@ "FailedRequests": { "type": "list", "member": { - "shape": "Sbr" + "shape": "Sbz" } } } @@ -2820,11 +2851,11 @@ } } }, - "S7p": { + "S7u": { "type": "list", "member": {} }, - "S7w": { + "S81": { "type": "structure", "members": { "DeviceTypeWindows": {}, @@ -2837,7 +2868,7 @@ "DeviceTypeLinux": {} } }, - "S7z": { + "S84": { "type": "structure", "members": { "RestartWorkspace": {}, @@ -2847,7 +2878,7 @@ "RebuildWorkspace": {} } }, - "S80": { + "S85": { "type": "structure", "members": { "Status": {}, @@ -2855,14 +2886,21 @@ "RelayStateParameterName": {} } }, - "S83": { + "S88": { "type": "structure", "members": { "Status": {}, "CertificateAuthorityArn": {} } }, - "S89": { + "S8b": { + "type": "structure", + "members": { + "TenantId": {}, + "ApplicationConfigSecretArn": {} + } + }, + "S8i": { "type": "structure", "required": [ "DomainName", @@ -2873,7 +2911,7 @@ "ServiceAccountSecretArn": {} } }, - "S8c": { + "S8k": { "type": "structure", "members": { "StreamingExperiencePreferredProtocol": {}, @@ -2910,7 +2948,7 @@ } } }, - "S94": { + "S9c": { "type": "list", "member": { "type": "structure", @@ -2921,11 +2959,11 @@ } } }, - "S97": { + "S9f": { "type": "list", "member": {} }, - "Sa7": { + "Saf": { "type": "structure", "members": { "Logo": { @@ -2939,7 +2977,7 @@ } } }, - "Sbr": { + "Sbz": { "type": "structure", "members": { "WorkspaceId": {}, diff --git a/apis/workspaces-2015-04-08.normal.json b/apis/workspaces-2015-04-08.normal.json index 9a2005063e..8fd42857c3 100644 --- a/apis/workspaces-2015-04-08.normal.json +++ b/apis/workspaces-2015-04-08.normal.json @@ -4584,6 +4584,51 @@ } } }, + "DescribeWorkspaceDirectoriesFilter": { + "type": "structure", + "required": [ + "Name", + "Values" + ], + "members": { + "Name": { + "shape": "DescribeWorkspaceDirectoriesFilterName", + "documentation": "

The name of the WorkSpaces to filter.

" + }, + "Values": { + "shape": "DescribeWorkspaceDirectoriesFilterValues", + "documentation": "

The values for filtering WorkSpaces

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

Describes the filter conditions for the WorkSpaces to return.

" + }, + "DescribeWorkspaceDirectoriesFilterList": { + "type": "list", + "member": { + "shape": "DescribeWorkspaceDirectoriesFilter" + }, + "max": 25, + "min": 1 + }, + "DescribeWorkspaceDirectoriesFilterName": { + "type": "string", + "enum": [ + "USER_IDENTITY_TYPE", + "WORKSPACE_TYPE" + ] + }, + "DescribeWorkspaceDirectoriesFilterValue": { + "type": "string", + "pattern": "^[0-9a-zA-Z\\*\\.\\\\/\\?-_]{0,64}$" + }, + "DescribeWorkspaceDirectoriesFilterValues": { + "type": "list", + "member": { + "shape": "DescribeWorkspaceDirectoriesFilterValue" + }, + "max": 25, + "min": 1 + }, "DescribeWorkspaceDirectoriesRequest": { "type": "structure", "members": { @@ -4602,6 +4647,10 @@ "NextToken": { "shape": "PaginationToken", "documentation": "

If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results.

" + }, + "Filters": { + "shape": "DescribeWorkspaceDirectoriesFilterList", + "documentation": "

The filter condition for the WorkSpaces.

" } } }, @@ -5173,6 +5222,20 @@ } } }, + "IDCConfig": { + "type": "structure", + "members": { + "InstanceArn": { + "shape": "ARN", + "documentation": "

The Amazon Resource Name (ARN) of the identity center instance.

" + }, + "ApplicationArn": { + "shape": "ARN", + "documentation": "

The Amazon Resource Name (ARN) of the application.

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

Specifies the configurations of the identity center.

" + }, "IdleDisconnectTimeoutInSeconds": { "type": "integer", "max": 36000, @@ -5613,6 +5676,24 @@ "type": "integer", "min": 0 }, + "MicrosoftEntraConfig": { + "type": "structure", + "members": { + "TenantId": { + "shape": "MicrosoftEntraConfigTenantId", + "documentation": "

The identifier of the tenant.

" + }, + "ApplicationConfigSecretArn": { + "shape": "SecretsManagerArn", + "documentation": "

The Amazon Resource Name (ARN) of the application config.

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

Specifies the configurations of the Microsoft Entra.

" + }, + "MicrosoftEntraConfigTenantId": { + "type": "string", + "pattern": "^[a-zA-Z0-9-]{1,100}$" + }, "MigrateWorkspaceRequest": { "type": "structure", "required": [ @@ -6132,6 +6213,14 @@ "shape": "UserIdentityType", "documentation": "

The type of identity management the user is using.

" }, + "IdcInstanceArn": { + "shape": "ARN", + "documentation": "

The Amazon Resource Name (ARN) of the identity center instance.

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

The details about Microsoft Entra config.

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

Indicates whether the directory's WorkSpace type is personal or pools.

" @@ -6979,7 +7068,8 @@ "type": "string", "enum": [ "CUSTOMER_MANAGED", - "AWS_DIRECTORY_SERVICE" + "AWS_DIRECTORY_SERVICE", + "AWS_IAM_IDENTITY_CENTER" ] }, "UserName": { @@ -7484,6 +7574,10 @@ "shape": "CertificateBasedAuthProperties", "documentation": "

The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory for WorkSpaces login.

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

Specifies details about Microsoft Entra configurations.

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

The name fo the WorkSpace directory.

" @@ -7500,6 +7594,10 @@ "shape": "WorkspaceType", "documentation": "

Indicates whether the directory's WorkSpace type is personal or pools.

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

Specifies details about identity center configurations.

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

Information about the Active Directory config.

" @@ -7546,7 +7644,8 @@ "enum": [ "SIMPLE_AD", "AD_CONNECTOR", - "CUSTOMER_MANAGED" + "CUSTOMER_MANAGED", + "AWS_IAM_IDENTITY_CENTER" ] }, "WorkspaceErrorCode": { diff --git a/clients/iotsitewise.d.ts b/clients/iotsitewise.d.ts index f7f9f1550e..ace658931c 100644 --- a/clients/iotsitewise.d.ts +++ b/clients/iotsitewise.d.ts @@ -485,11 +485,11 @@ declare class IoTSiteWise extends Service { */ listAssets(callback?: (err: AWSError, data: IoTSiteWise.Types.ListAssetsResponse) => void): Request; /** - * Retrieves a paginated list of associated assets. You can use this operation to do the following: List child assets associated to a parent asset by a hierarchy that you specify. List an asset's parent asset. + * Retrieves a paginated list of associated assets. You can use this operation to do the following: CHILD - List all child assets associated to the asset. PARENT - List the asset's parent asset. */ listAssociatedAssets(params: IoTSiteWise.Types.ListAssociatedAssetsRequest, callback?: (err: AWSError, data: IoTSiteWise.Types.ListAssociatedAssetsResponse) => void): Request; /** - * Retrieves a paginated list of associated assets. You can use this operation to do the following: List child assets associated to a parent asset by a hierarchy that you specify. List an asset's parent asset. + * Retrieves a paginated list of associated assets. You can use this operation to do the following: CHILD - List all child assets associated to the asset. PARENT - List the asset's parent asset. */ listAssociatedAssets(callback?: (err: AWSError, data: IoTSiteWise.Types.ListAssociatedAssetsResponse) => void): Request; /** @@ -989,6 +989,14 @@ declare namespace IoTSiteWise { externalId?: ExternalId; } export interface AssetModelCompositeModelDefinition { + /** + * The ID to assign to the composite model, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique. + */ + id?: ID; + /** + * An external ID to assign to the composite model. The external ID must be unique among composite models within this asset model. For more information, see Using external IDs in the IoT SiteWise User Guide. + */ + externalId?: ExternalId; /** * The name of the composite model. */ @@ -1005,14 +1013,6 @@ declare namespace IoTSiteWise { * The asset property definitions for this composite model. */ properties?: AssetModelPropertyDefinitions; - /** - * The ID to assign to the composite model, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique. - */ - id?: ID; - /** - * An external ID to assign to the composite model. The external ID must be unique among composite models within this asset model. For more information, see Using external IDs in the IoT SiteWise User Guide. - */ - externalId?: ExternalId; } export type AssetModelCompositeModelDefinitions = AssetModelCompositeModelDefinition[]; export type AssetModelCompositeModelPath = AssetModelCompositeModelPathSegment[]; @@ -1060,6 +1060,10 @@ declare namespace IoTSiteWise { * The ID of the asset model hierarchy. This ID is a hierarchyId. If you are callling UpdateAssetModel to create a new hierarchy: You can specify its ID here, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique. If you are calling UpdateAssetModel to modify an existing hierarchy: This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide. */ id?: CustomID; + /** + * The external ID (if any) provided in the CreateAssetModel or UpdateAssetModel operation. You can assign an external ID by specifying this value as part of a call to UpdateAssetModel. However, you can't change the external ID if one is already assigned. For more information, see Using external IDs in the IoT SiteWise User Guide. + */ + externalId?: ExternalId; /** * The name of the asset model hierarchy that you specify by using the CreateAssetModel or UpdateAssetModel API operation. */ @@ -1068,12 +1072,16 @@ declare namespace IoTSiteWise { * The ID of the asset model, in UUID format. All assets in this hierarchy must be instances of the childAssetModelId asset model. IoT SiteWise will always return the actual asset model ID for this value. However, when you are specifying this value as part of a call to UpdateAssetModel, you may provide either the asset model ID or else externalId: followed by the asset model's external ID. For more information, see Using external IDs in the IoT SiteWise User Guide. */ childAssetModelId: CustomID; + } + export interface AssetModelHierarchyDefinition { /** - * The external ID (if any) provided in the CreateAssetModel or UpdateAssetModel operation. You can assign an external ID by specifying this value as part of a call to UpdateAssetModel. However, you can't change the external ID if one is already assigned. For more information, see Using external IDs in the IoT SiteWise User Guide. + * The ID to assign to the asset model hierarchy, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique. + */ + id?: ID; + /** + * An external ID to assign to the asset model hierarchy. The external ID must be unique among asset model hierarchies within this asset model. For more information, see Using external IDs in the IoT SiteWise User Guide. */ externalId?: ExternalId; - } - export interface AssetModelHierarchyDefinition { /** * The name of the asset model hierarchy definition (as specified in the CreateAssetModel or UpdateAssetModel API operation). */ @@ -1082,14 +1090,6 @@ declare namespace IoTSiteWise { * The ID of an asset model for this hierarchy. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide. */ childAssetModelId: CustomID; - /** - * The ID to assign to the asset model hierarchy, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique. - */ - id?: ID; - /** - * An external ID to assign to the asset model hierarchy. The external ID must be unique among asset model hierarchies within this asset model. For more information, see Using external IDs in the IoT SiteWise User Guide. - */ - externalId?: ExternalId; } export type AssetModelHierarchyDefinitions = AssetModelHierarchyDefinition[]; export type AssetModelProperties = AssetModelProperty[]; @@ -1098,6 +1098,10 @@ declare namespace IoTSiteWise { * The ID of the asset model property. If you are callling UpdateAssetModel to create a new property: You can specify its ID here, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique. If you are calling UpdateAssetModel to modify an existing property: This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide. */ id?: CustomID; + /** + * The external ID (if any) provided in the CreateAssetModel or UpdateAssetModel operation. You can assign an external ID by specifying this value as part of a call to UpdateAssetModel. However, you can't change the external ID if one is already assigned. For more information, see Using external IDs in the IoT SiteWise User Guide. + */ + externalId?: ExternalId; /** * The name of the asset model property. */ @@ -1122,12 +1126,16 @@ declare namespace IoTSiteWise { * The structured path to the property from the root of the asset model. */ path?: AssetModelPropertyPath; + } + export interface AssetModelPropertyDefinition { /** - * The external ID (if any) provided in the CreateAssetModel or UpdateAssetModel operation. You can assign an external ID by specifying this value as part of a call to UpdateAssetModel. However, you can't change the external ID if one is already assigned. For more information, see Using external IDs in the IoT SiteWise User Guide. + * The ID to assign to the asset model property, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique. + */ + id?: ID; + /** + * An external ID to assign to the property definition. The external ID must be unique among property definitions within this asset model. For more information, see Using external IDs in the IoT SiteWise User Guide. */ externalId?: ExternalId; - } - export interface AssetModelPropertyDefinition { /** * The name of the property definition. */ @@ -1148,14 +1156,6 @@ declare namespace IoTSiteWise { * The property definition type (see PropertyType). You can only specify one type in a property definition. */ type: PropertyType; - /** - * The ID to assign to the asset model property, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique. - */ - id?: ID; - /** - * An external ID to assign to the property definition. The external ID must be unique among property definitions within this asset model. For more information, see Using external IDs in the IoT SiteWise User Guide. - */ - externalId?: ExternalId; } export type AssetModelPropertyDefinitions = AssetModelPropertyDefinition[]; export type AssetModelPropertyPath = AssetModelPropertyPathSegment[]; @@ -1175,6 +1175,10 @@ declare namespace IoTSiteWise { * The ID of the property. */ id?: ID; + /** + * The external ID of the property. For more information, see Using external IDs in the IoT SiteWise User Guide. + */ + externalId?: ExternalId; /** * The name of the property. */ @@ -1200,10 +1204,6 @@ declare namespace IoTSiteWise { * The structured path to the property from the root of the asset model. */ path?: AssetModelPropertyPath; - /** - * The external ID of the property. For more information, see Using external IDs in the IoT SiteWise User Guide. - */ - externalId?: ExternalId; } export type AssetModelState = "CREATING"|"ACTIVE"|"UPDATING"|"PROPAGATING"|"DELETING"|"FAILED"|string; export interface AssetModelStatus { @@ -1222,6 +1222,10 @@ declare namespace IoTSiteWise { * The ID of the asset model (used with IoT SiteWise API operations). */ id: ID; + /** + * The external ID of the asset model. For more information, see Using external IDs in the IoT SiteWise User Guide. + */ + externalId?: ExternalId; /** * The ARN of the asset model, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId} */ @@ -1230,6 +1234,10 @@ declare namespace IoTSiteWise { * The name of the asset model. */ name: Name; + /** + * The type of asset model. ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model. COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model. + */ + assetModelType?: AssetModelType; /** * The asset model description. */ @@ -1247,15 +1255,13 @@ declare namespace IoTSiteWise { */ status: AssetModelStatus; /** - * The type of asset model. ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model. COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model. - */ - assetModelType?: AssetModelType; - /** - * The external ID of the asset model. For more information, see Using external IDs in the IoT SiteWise User Guide. + * The version number of the asset model. */ - externalId?: ExternalId; + version?: Version; } export type AssetModelType = "ASSET_MODEL"|"COMPONENT_MODEL"|string; + export type AssetModelVersionFilter = string; + export type AssetModelVersionType = "LATEST"|"ACTIVE"|string; export type AssetProperties = AssetProperty[]; export interface AssetProperty { /** @@ -2060,14 +2066,14 @@ declare namespace IoTSiteWise { * The ID of the asset model this composite model is a part of. */ assetModelId: CustomID; - /** - * The ID of the parent composite model in this asset model relationship. - */ - parentAssetModelCompositeModelId?: CustomID; /** * An external ID to assign to the composite model. If the composite model is a derived composite model, or one nested inside a component model, you can only set the external ID using UpdateAssetModelCompositeModel and specifying the derived ID of the model or property from the created model it's a part of. */ assetModelCompositeModelExternalId?: ExternalId; + /** + * The ID of the parent composite model in this asset model relationship. + */ + parentAssetModelCompositeModelId?: CustomID; /** * The ID of the composite model. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique. */ @@ -2096,6 +2102,18 @@ declare namespace IoTSiteWise { * The property definitions of the composite model. For more information, see Inline custom composite models in the IoT SiteWise User Guide. You can specify up to 200 properties per composite model. For more information, see Quotas in the IoT SiteWise User Guide. */ assetModelCompositeModelProperties?: AssetModelPropertyDefinitions; + /** + * The expected current entity tag (ETag) for the asset model’s latest or active version (specified using matchForVersionType). The create request is rejected if the tag does not match the latest or active version's current entity tag. See Optimistic locking for asset model writes in the IoT SiteWise User Guide. + */ + ifMatch?: ETag; + /** + * Accepts * to reject the create request if an active version (specified using matchForVersionType as ACTIVE) already exists for the asset model. + */ + ifNoneMatch?: SelectAll; + /** + * Specifies the asset model version type (LATEST or ACTIVE) used in conjunction with If-Match or If-None-Match headers to determine the target ETag for the create operation. + */ + matchForVersionType?: AssetModelVersionType; } export interface CreateAssetModelCompositeModelResponse { /** @@ -2113,6 +2131,18 @@ declare namespace IoTSiteWise { * A unique name for the asset model. */ assetModelName: Name; + /** + * The type of asset model. ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model. COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model. + */ + assetModelType?: AssetModelType; + /** + * The ID to assign to the asset model, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique. + */ + assetModelId?: ID; + /** + * An external ID to assign to the asset model. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide. + */ + assetModelExternalId?: ExternalId; /** * A description for the asset model. */ @@ -2137,18 +2167,6 @@ declare namespace IoTSiteWise { * A list of key-value pairs that contain metadata for the asset model. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide. */ tags?: TagMap; - /** - * The ID to assign to the asset model, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique. - */ - assetModelId?: ID; - /** - * An external ID to assign to the asset model. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide. - */ - assetModelExternalId?: ExternalId; - /** - * The type of asset model. ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model. COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model. - */ - assetModelType?: AssetModelType; } export interface CreateAssetModelResponse { /** @@ -2494,6 +2512,18 @@ declare namespace IoTSiteWise { * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required. */ clientToken?: ClientToken; + /** + * The expected current entity tag (ETag) for the asset model’s latest or active version (specified using matchForVersionType). The delete request is rejected if the tag does not match the latest or active version's current entity tag. See Optimistic locking for asset model writes in the IoT SiteWise User Guide. + */ + ifMatch?: ETag; + /** + * Accepts * to reject the delete request if an active version (specified using matchForVersionType as ACTIVE) already exists for the asset model. + */ + ifNoneMatch?: SelectAll; + /** + * Specifies the asset model version type (LATEST or ACTIVE) used in conjunction with If-Match or If-None-Match headers to determine the target ETag for the delete operation. + */ + matchForVersionType?: AssetModelVersionType; } export interface DeleteAssetModelCompositeModelResponse { assetModelStatus: AssetModelStatus; @@ -2507,6 +2537,18 @@ declare namespace IoTSiteWise { * A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required. */ clientToken?: ClientToken; + /** + * The expected current entity tag (ETag) for the asset model’s latest or active version (specified using matchForVersionType). The delete request is rejected if the tag does not match the latest or active version's current entity tag. See Optimistic locking for asset model writes in the IoT SiteWise User Guide. + */ + ifMatch?: ETag; + /** + * Accepts * to reject the delete request if an active version (specified using matchForVersionType as ACTIVE) already exists for the asset model. + */ + ifNoneMatch?: SelectAll; + /** + * Specifies the asset model version type (LATEST or ACTIVE) used in conjunction with If-Match or If-None-Match headers to determine the target ETag for the delete operation. + */ + matchForVersionType?: AssetModelVersionType; } export interface DeleteAssetModelResponse { /** @@ -2720,6 +2762,10 @@ declare namespace IoTSiteWise { * The ID of a composite model on this asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide. */ assetModelCompositeModelId: CustomID; + /** + * The version alias that specifies the latest or active version of the asset model. The details are returned in the response. The default value is LATEST. See Asset model versions in the IoT SiteWise User Guide. + */ + assetModelVersion?: AssetModelVersionFilter; } export interface DescribeAssetModelCompositeModelResponse { /** @@ -2776,12 +2822,20 @@ declare namespace IoTSiteWise { * Whether or not to exclude asset model properties from the response. */ excludeProperties?: ExcludeProperties; + /** + * The version alias that specifies the latest or active version of the asset model. The details are returned in the response. The default value is LATEST. See Asset model versions in the IoT SiteWise User Guide. + */ + assetModelVersion?: AssetModelVersionFilter; } export interface DescribeAssetModelResponse { /** * The ID of the asset model, in UUID format. */ assetModelId: ID; + /** + * The external ID of the asset model, if any. + */ + assetModelExternalId?: ExternalId; /** * The ARN of the asset model, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId} */ @@ -2790,6 +2844,10 @@ declare namespace IoTSiteWise { * The name of the asset model. */ assetModelName: Name; + /** + * The type of asset model. ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model. COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model. + */ + assetModelType?: AssetModelType; /** * The asset model's description. */ @@ -2806,6 +2864,10 @@ declare namespace IoTSiteWise { * The list of built-in composite models for the asset model, such as those with those of type AWS/ALARMS. */ assetModelCompositeModels?: AssetModelCompositeModels; + /** + * The list of the immediate child custom composite model summaries for the asset model. + */ + assetModelCompositeModelSummaries?: AssetModelCompositeModelSummaries; /** * The date the asset model was created, in Unix epoch time. */ @@ -2819,17 +2881,13 @@ declare namespace IoTSiteWise { */ assetModelStatus: AssetModelStatus; /** - * The type of asset model. ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model. COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model. + * The version of the asset model. See Asset model versions in the IoT SiteWise User Guide. */ - assetModelType?: AssetModelType; + assetModelVersion?: Version; /** - * The list of the immediate child custom composite model summaries for the asset model. + * The entity tag (ETag) is a hash of the retrieved version of the asset model. It's used to make concurrent updates safely to the resource. See Optimistic locking for asset model writes in the IoT SiteWise User Guide. See Optimistic locking for asset model writes in the IoT SiteWise User Guide. */ - assetModelCompositeModelSummaries?: AssetModelCompositeModelSummaries; - /** - * The external ID of the asset model, if any. - */ - assetModelExternalId?: ExternalId; + eTag?: ETag; } export interface DescribeAssetPropertyRequest { /** @@ -3351,6 +3409,7 @@ declare namespace IoTSiteWise { clientToken?: ClientToken; } export type DisassociatedDataStorageState = "ENABLED"|"DISABLED"|string; + export type ETag = string; export type Email = string; export type EncryptionType = "SITEWISE_DEFAULT_ENCRYPTION"|"KMS_BASED_ENCRYPTION"|string; export type EntryId = string; @@ -3915,6 +3974,10 @@ declare namespace IoTSiteWise { * The maximum number of results to return for each paginated request. Default: 50 */ maxResults?: MaxResults; + /** + * The version alias that specifies the latest or active version of the asset model. The details are returned in the response. The default value is LATEST. See Asset model versions in the IoT SiteWise User Guide. + */ + assetModelVersion?: AssetModelVersionFilter; } export interface ListAssetModelCompositeModelsResponse { /** @@ -3944,6 +4007,10 @@ declare namespace IoTSiteWise { * Filters the requested list of asset model properties. You can choose one of the following options: ALL – The list includes all asset model properties for a given asset model ID. BASE – The list includes only base asset model properties for a given asset model ID. Default: BASE */ filter?: ListAssetModelPropertiesFilter; + /** + * The version alias that specifies the latest or active version of the asset model. The details are returned in the response. The default value is LATEST. See Asset model versions in the IoT SiteWise User Guide. + */ + assetModelVersion?: AssetModelVersionFilter; } export interface ListAssetModelPropertiesResponse { /** @@ -3956,6 +4023,10 @@ declare namespace IoTSiteWise { nextToken?: NextToken; } export interface ListAssetModelsRequest { + /** + * The type of asset model. If you don't provide an assetModelTypes, all types of asset models are returned. ASSET_MODEL – An asset model that you can use to create assets. Can't be included as a component in another asset model. COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model. + */ + assetModelTypes?: ListAssetModelsTypeFilter; /** * The token to be used for the next set of paginated results. */ @@ -3965,9 +4036,9 @@ declare namespace IoTSiteWise { */ maxResults?: MaxResults; /** - * The type of asset model. ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model. COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model. + * The version alias that specifies the latest or active version of the asset model. The details are returned in the response. The default value is LATEST. See Asset model versions in the IoT SiteWise User Guide. */ - assetModelTypes?: ListAssetModelsTypeFilter; + assetModelVersion?: AssetModelVersionFilter; } export interface ListAssetModelsResponse { /** @@ -4072,11 +4143,11 @@ declare namespace IoTSiteWise { */ assetId: CustomID; /** - * The ID of the hierarchy by which child assets are associated to the asset. (This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.) To find a hierarchy ID, use the DescribeAsset or DescribeAssetModel operations. This parameter is required if you choose CHILD for traversalDirection. For more information, see Asset hierarchies in the IoT SiteWise User Guide. + * (Optional) If you don't provide a hierarchyId, all the immediate assets in the traversalDirection will be returned. The ID of the hierarchy by which child assets are associated to the asset. (This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.) For more information, see Asset hierarchies in the IoT SiteWise User Guide. */ hierarchyId?: CustomID; /** - * The direction to list associated assets. Choose one of the following options: CHILD – The list includes all child assets associated to the asset. The hierarchyId parameter is required if you choose CHILD. PARENT – The list includes the asset's parent asset. Default: CHILD + * The direction to list associated assets. Choose one of the following options: CHILD – The list includes all child assets associated to the asset. PARENT – The list includes the asset's parent asset. Default: CHILD */ traversalDirection?: TraversalDirection; /** @@ -4674,6 +4745,7 @@ declare namespace IoTSiteWise { export type SSOApplicationId = string; export type ScalarType = "BOOLEAN"|"INT"|"DOUBLE"|"TIMESTAMP"|"STRING"|string; export type ScalarValue = string; + export type SelectAll = string; export interface SiemensIE { /** * The name of the IoT Thing for your SiteWise Edge gateway. @@ -4858,6 +4930,18 @@ declare namespace IoTSiteWise { * The property definitions of the composite model. For more information, see Inline custom composite models in the IoT SiteWise User Guide. You can specify up to 200 properties per composite model. For more information, see Quotas in the IoT SiteWise User Guide. */ assetModelCompositeModelProperties?: AssetModelProperties; + /** + * The expected current entity tag (ETag) for the asset model’s latest or active version (specified using matchForVersionType). The update request is rejected if the tag does not match the latest or active version's current entity tag. See Optimistic locking for asset model writes in the IoT SiteWise User Guide. + */ + ifMatch?: ETag; + /** + * Accepts * to reject the update request if an active version (specified using matchForVersionType as ACTIVE) already exists for the asset model. + */ + ifNoneMatch?: SelectAll; + /** + * Specifies the asset model version type (LATEST or ACTIVE) used in conjunction with If-Match or If-None-Match headers to determine the target ETag for the update operation. + */ + matchForVersionType?: AssetModelVersionType; } export interface UpdateAssetModelCompositeModelResponse { /** @@ -4871,6 +4955,10 @@ declare namespace IoTSiteWise { * The ID of the asset model to update. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide. */ assetModelId: CustomID; + /** + * An external ID to assign to the asset model. The asset model must not already have an external ID. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide. + */ + assetModelExternalId?: ExternalId; /** * A unique name for the asset model. */ @@ -4896,9 +4984,17 @@ declare namespace IoTSiteWise { */ clientToken?: ClientToken; /** - * An external ID to assign to the asset model. The asset model must not already have an external ID. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide. + * The expected current entity tag (ETag) for the asset model’s latest or active version (specified using matchForVersionType). The update request is rejected if the tag does not match the latest or active version's current entity tag. See Optimistic locking for asset model writes in the IoT SiteWise User Guide. */ - assetModelExternalId?: ExternalId; + ifMatch?: ETag; + /** + * Accepts * to reject the update request if an active version (specified using matchForVersionType as ACTIVE) already exists for the asset model. + */ + ifNoneMatch?: SelectAll; + /** + * Specifies the asset model version type (LATEST or ACTIVE) used in conjunction with If-Match or If-None-Match headers to determine the target ETag for the update operation. + */ + matchForVersionType?: AssetModelVersionType; } export interface UpdateAssetModelResponse { /** @@ -5119,6 +5215,7 @@ declare namespace IoTSiteWise { */ booleanValue?: PropertyValueBooleanValue; } + export type Version = string; export interface WarmTierRetentionPeriod { /** * The number of days the data is stored in the warm tier. diff --git a/clients/workspaces.d.ts b/clients/workspaces.d.ts index 726c339746..3025f3c38b 100644 --- a/clients/workspaces.d.ts +++ b/clients/workspaces.d.ts @@ -1949,6 +1949,20 @@ declare namespace WorkSpaces { */ NextToken?: PaginationToken; } + export interface DescribeWorkspaceDirectoriesFilter { + /** + * The name of the WorkSpaces to filter. + */ + Name: DescribeWorkspaceDirectoriesFilterName; + /** + * The values for filtering WorkSpaces + */ + Values: DescribeWorkspaceDirectoriesFilterValues; + } + export type DescribeWorkspaceDirectoriesFilterList = DescribeWorkspaceDirectoriesFilter[]; + export type DescribeWorkspaceDirectoriesFilterName = "USER_IDENTITY_TYPE"|"WORKSPACE_TYPE"|string; + export type DescribeWorkspaceDirectoriesFilterValue = string; + export type DescribeWorkspaceDirectoriesFilterValues = DescribeWorkspaceDirectoriesFilterValue[]; export interface DescribeWorkspaceDirectoriesRequest { /** * The identifiers of the directories. If the value is null, all directories are retrieved. @@ -1966,6 +1980,10 @@ declare namespace WorkSpaces { * If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results. */ NextToken?: PaginationToken; + /** + * The filter condition for the WorkSpaces. + */ + Filters?: DescribeWorkspaceDirectoriesFilterList; } export interface DescribeWorkspaceDirectoriesResult { /** @@ -2308,6 +2326,16 @@ declare namespace WorkSpaces { */ AccountLink?: AccountLink; } + export interface IDCConfig { + /** + * The Amazon Resource Name (ARN) of the identity center instance. + */ + InstanceArn?: ARN; + /** + * The Amazon Resource Name (ARN) of the application. + */ + ApplicationArn?: ARN; + } export type IdleDisconnectTimeoutInSeconds = number; export type ImageAssociatedResourceType = "APPLICATION"|string; export type ImageAssociatedResourceTypeList = ImageAssociatedResourceType[]; @@ -2578,6 +2606,17 @@ declare namespace WorkSpaces { export type ManagementCidrRangeMaxResults = number; export type MaxUserDurationInSeconds = number; export type MaximumLength = number; + export interface MicrosoftEntraConfig { + /** + * The identifier of the tenant. + */ + TenantId?: MicrosoftEntraConfigTenantId; + /** + * The Amazon Resource Name (ARN) of the application config. + */ + ApplicationConfigSecretArn?: SecretsManagerArn; + } + export type MicrosoftEntraConfigTenantId = string; export interface MigrateWorkspaceRequest { /** * The identifier of the WorkSpace to migrate from. @@ -2862,6 +2901,14 @@ declare namespace WorkSpaces { * The type of identity management the user is using. */ UserIdentityType?: UserIdentityType; + /** + * The Amazon Resource Name (ARN) of the identity center instance. + */ + IdcInstanceArn?: ARN; + /** + * The details about Microsoft Entra config. + */ + MicrosoftEntraConfig?: MicrosoftEntraConfig; /** * Indicates whether the directory's WorkSpace type is personal or pools. */ @@ -3307,7 +3354,7 @@ declare namespace WorkSpaces { */ WorkspacesPool?: WorkspacesPool; } - export type UserIdentityType = "CUSTOMER_MANAGED"|"AWS_DIRECTORY_SERVICE"|string; + export type UserIdentityType = "CUSTOMER_MANAGED"|"AWS_DIRECTORY_SERVICE"|"AWS_IAM_IDENTITY_CENTER"|string; export type UserName = string; export interface UserSetting { /** @@ -3673,6 +3720,10 @@ declare namespace WorkSpaces { * The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory for WorkSpaces login. */ CertificateBasedAuthProperties?: CertificateBasedAuthProperties; + /** + * Specifies details about Microsoft Entra configurations. + */ + MicrosoftEntraConfig?: MicrosoftEntraConfig; /** * The name fo the WorkSpace directory. */ @@ -3689,6 +3740,10 @@ declare namespace WorkSpaces { * Indicates whether the directory's WorkSpace type is personal or pools. */ WorkspaceType?: WorkspaceType; + /** + * Specifies details about identity center configurations. + */ + IDCConfig?: IDCConfig; /** * Information about the Active Directory config. */ @@ -3706,7 +3761,7 @@ declare namespace WorkSpaces { export type WorkspaceDirectoryName = string; export type WorkspaceDirectoryNameList = WorkspaceDirectoryName[]; export type WorkspaceDirectoryState = "REGISTERING"|"REGISTERED"|"DEREGISTERING"|"DEREGISTERED"|"ERROR"|string; - export type WorkspaceDirectoryType = "SIMPLE_AD"|"AD_CONNECTOR"|"CUSTOMER_MANAGED"|string; + export type WorkspaceDirectoryType = "SIMPLE_AD"|"AD_CONNECTOR"|"CUSTOMER_MANAGED"|"AWS_IAM_IDENTITY_CENTER"|string; export type WorkspaceErrorCode = string; export type WorkspaceId = string; export type WorkspaceIdList = WorkspaceId[]; diff --git a/dist/aws-sdk-core-react-native.js b/dist/aws-sdk-core-react-native.js index a053d5041d..20e87b0a67 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.1682.0', + VERSION: '2.1683.0', /** * @api private diff --git a/dist/aws-sdk-react-native.js b/dist/aws-sdk-react-native.js index 706d3c5ff4..0e26d8114c 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.1682.0', + VERSION: '2.1683.0', /** * @api private @@ -55276,7 +55276,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 527 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2015-04-08","endpointPrefix":"workspaces","jsonVersion":"1.1","protocol":"json","protocols":["json"],"serviceFullName":"Amazon WorkSpaces","serviceId":"WorkSpaces","signatureVersion":"v4","targetPrefix":"WorkspacesService","uid":"workspaces-2015-04-08","auth":["aws.auth#sigv4"]},"operations":{"AcceptAccountLinkInvitation":{"input":{"type":"structure","required":["LinkId"],"members":{"LinkId":{},"ClientToken":{}}},"output":{"type":"structure","members":{"AccountLink":{"shape":"S5"}}}},"AssociateConnectionAlias":{"input":{"type":"structure","required":["AliasId","ResourceId"],"members":{"AliasId":{},"ResourceId":{}}},"output":{"type":"structure","members":{"ConnectionIdentifier":{}}}},"AssociateIpGroups":{"input":{"type":"structure","required":["DirectoryId","GroupIds"],"members":{"DirectoryId":{},"GroupIds":{"shape":"Sf"}}},"output":{"type":"structure","members":{}}},"AssociateWorkspaceApplication":{"input":{"type":"structure","required":["WorkspaceId","ApplicationId"],"members":{"WorkspaceId":{},"ApplicationId":{}}},"output":{"type":"structure","members":{"Association":{"shape":"Sm"}}}},"AuthorizeIpRules":{"input":{"type":"structure","required":["GroupId","UserRules"],"members":{"GroupId":{},"UserRules":{"shape":"Su"}}},"output":{"type":"structure","members":{}}},"CopyWorkspaceImage":{"input":{"type":"structure","required":["Name","SourceImageId","SourceRegion"],"members":{"Name":{},"Description":{},"SourceImageId":{},"SourceRegion":{},"Tags":{"shape":"S14"}}},"output":{"type":"structure","members":{"ImageId":{}}}},"CreateAccountLinkInvitation":{"input":{"type":"structure","required":["TargetAccountId"],"members":{"TargetAccountId":{},"ClientToken":{}}},"output":{"type":"structure","members":{"AccountLink":{"shape":"S5"}}}},"CreateConnectClientAddIn":{"input":{"type":"structure","required":["ResourceId","Name","URL"],"members":{"ResourceId":{},"Name":{},"URL":{}}},"output":{"type":"structure","members":{"AddInId":{}}}},"CreateConnectionAlias":{"input":{"type":"structure","required":["ConnectionString"],"members":{"ConnectionString":{},"Tags":{"shape":"S14"}}},"output":{"type":"structure","members":{"AliasId":{}}}},"CreateIpGroup":{"input":{"type":"structure","required":["GroupName"],"members":{"GroupName":{},"GroupDesc":{},"UserRules":{"shape":"Su"},"Tags":{"shape":"S14"}}},"output":{"type":"structure","members":{"GroupId":{}}}},"CreateStandbyWorkspaces":{"input":{"type":"structure","required":["PrimaryRegion","StandbyWorkspaces"],"members":{"PrimaryRegion":{},"StandbyWorkspaces":{"type":"list","member":{"shape":"S1p"}}}},"output":{"type":"structure","members":{"FailedStandbyRequests":{"type":"list","member":{"type":"structure","members":{"StandbyWorkspaceRequest":{"shape":"S1p"},"ErrorCode":{},"ErrorMessage":{}}}},"PendingStandbyRequests":{"type":"list","member":{"type":"structure","members":{"UserName":{},"DirectoryId":{},"State":{},"WorkspaceId":{}}}}}}},"CreateTags":{"input":{"type":"structure","required":["ResourceId","Tags"],"members":{"ResourceId":{},"Tags":{"shape":"S14"}}},"output":{"type":"structure","members":{}}},"CreateUpdatedWorkspaceImage":{"input":{"type":"structure","required":["Name","Description","SourceImageId"],"members":{"Name":{},"Description":{},"SourceImageId":{},"Tags":{"shape":"S14"}}},"output":{"type":"structure","members":{"ImageId":{}}}},"CreateWorkspaceBundle":{"input":{"type":"structure","required":["BundleName","BundleDescription","ImageId","ComputeType","UserStorage"],"members":{"BundleName":{},"BundleDescription":{},"ImageId":{},"ComputeType":{"shape":"S28"},"UserStorage":{"shape":"S2a"},"RootStorage":{"shape":"S2b"},"Tags":{"shape":"S14"}}},"output":{"type":"structure","members":{"WorkspaceBundle":{"shape":"S2d"}}}},"CreateWorkspaceImage":{"input":{"type":"structure","required":["Name","Description","WorkspaceId"],"members":{"Name":{},"Description":{},"WorkspaceId":{},"Tags":{"shape":"S14"}}},"output":{"type":"structure","members":{"ImageId":{},"Name":{},"Description":{},"OperatingSystem":{"shape":"S2k"},"State":{},"RequiredTenancy":{},"Created":{"type":"timestamp"},"OwnerAccountId":{}}}},"CreateWorkspaces":{"input":{"type":"structure","required":["Workspaces"],"members":{"Workspaces":{"type":"list","member":{"shape":"S2q"}}}},"output":{"type":"structure","members":{"FailedRequests":{"type":"list","member":{"type":"structure","members":{"WorkspaceRequest":{"shape":"S2q"},"ErrorCode":{},"ErrorMessage":{}}}},"PendingRequests":{"shape":"S35"}}}},"CreateWorkspacesPool":{"input":{"type":"structure","required":["PoolName","Description","BundleId","DirectoryId","Capacity"],"members":{"PoolName":{},"Description":{},"BundleId":{},"DirectoryId":{},"Capacity":{"shape":"S3n"},"Tags":{"shape":"S14"},"ApplicationSettings":{"shape":"S3p"},"TimeoutSettings":{"shape":"S3s"}}},"output":{"type":"structure","members":{"WorkspacesPool":{"shape":"S3x"}}}},"DeleteAccountLinkInvitation":{"input":{"type":"structure","required":["LinkId"],"members":{"LinkId":{},"ClientToken":{}}},"output":{"type":"structure","members":{"AccountLink":{"shape":"S5"}}}},"DeleteClientBranding":{"input":{"type":"structure","required":["ResourceId","Platforms"],"members":{"ResourceId":{},"Platforms":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"DeleteConnectClientAddIn":{"input":{"type":"structure","required":["AddInId","ResourceId"],"members":{"AddInId":{},"ResourceId":{}}},"output":{"type":"structure","members":{}}},"DeleteConnectionAlias":{"input":{"type":"structure","required":["AliasId"],"members":{"AliasId":{}}},"output":{"type":"structure","members":{}}},"DeleteIpGroup":{"input":{"type":"structure","required":["GroupId"],"members":{"GroupId":{}}},"output":{"type":"structure","members":{}}},"DeleteTags":{"input":{"type":"structure","required":["ResourceId","TagKeys"],"members":{"ResourceId":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"DeleteWorkspaceBundle":{"input":{"type":"structure","members":{"BundleId":{}}},"output":{"type":"structure","members":{}}},"DeleteWorkspaceImage":{"input":{"type":"structure","required":["ImageId"],"members":{"ImageId":{}}},"output":{"type":"structure","members":{}}},"DeployWorkspaceApplications":{"input":{"type":"structure","required":["WorkspaceId"],"members":{"WorkspaceId":{},"Force":{"type":"boolean"}}},"output":{"type":"structure","members":{"Deployment":{"type":"structure","members":{"Associations":{"shape":"S4x"}}}}}},"DeregisterWorkspaceDirectory":{"input":{"type":"structure","required":["DirectoryId"],"members":{"DirectoryId":{}}},"output":{"type":"structure","members":{}}},"DescribeAccount":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"DedicatedTenancySupport":{},"DedicatedTenancyManagementCidrRange":{},"DedicatedTenancyAccountType":{}}}},"DescribeAccountModifications":{"input":{"type":"structure","members":{"NextToken":{}}},"output":{"type":"structure","members":{"AccountModifications":{"type":"list","member":{"type":"structure","members":{"ModificationState":{},"DedicatedTenancySupport":{},"DedicatedTenancyManagementCidrRange":{},"StartTime":{"type":"timestamp"},"ErrorCode":{},"ErrorMessage":{}}}},"NextToken":{}}}},"DescribeApplicationAssociations":{"input":{"type":"structure","required":["ApplicationId","AssociatedResourceTypes"],"members":{"MaxResults":{"type":"integer"},"NextToken":{},"ApplicationId":{},"AssociatedResourceTypes":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"Associations":{"type":"list","member":{"type":"structure","members":{"ApplicationId":{},"AssociatedResourceId":{},"AssociatedResourceType":{},"Created":{"type":"timestamp"},"LastUpdatedTime":{"type":"timestamp"},"State":{},"StateReason":{"shape":"Sq"}}}},"NextToken":{}}}},"DescribeApplications":{"input":{"type":"structure","members":{"ApplicationIds":{"type":"list","member":{}},"ComputeTypeNames":{"shape":"S5k"},"LicenseType":{},"OperatingSystemNames":{"shape":"S5m"},"Owner":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Applications":{"type":"list","member":{"type":"structure","members":{"ApplicationId":{},"Created":{"type":"timestamp"},"Description":{},"LicenseType":{},"Name":{},"Owner":{},"State":{},"SupportedComputeTypeNames":{"shape":"S5k"},"SupportedOperatingSystemNames":{"shape":"S5m"}}}},"NextToken":{}}}},"DescribeBundleAssociations":{"input":{"type":"structure","required":["BundleId","AssociatedResourceTypes"],"members":{"BundleId":{},"AssociatedResourceTypes":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"Associations":{"type":"list","member":{"type":"structure","members":{"AssociatedResourceId":{},"AssociatedResourceType":{},"BundleId":{},"Created":{"type":"timestamp"},"LastUpdatedTime":{"type":"timestamp"},"State":{},"StateReason":{"shape":"Sq"}}}}}}},"DescribeClientBranding":{"input":{"type":"structure","required":["ResourceId"],"members":{"ResourceId":{}}},"output":{"type":"structure","members":{"DeviceTypeWindows":{"shape":"S60"},"DeviceTypeOsx":{"shape":"S60"},"DeviceTypeAndroid":{"shape":"S60"},"DeviceTypeIos":{"shape":"S66"},"DeviceTypeLinux":{"shape":"S60"},"DeviceTypeWeb":{"shape":"S60"}}}},"DescribeClientProperties":{"input":{"type":"structure","required":["ResourceIds"],"members":{"ResourceIds":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"ClientPropertiesList":{"type":"list","member":{"type":"structure","members":{"ResourceId":{},"ClientProperties":{"shape":"S6c"}}}}}}},"DescribeConnectClientAddIns":{"input":{"type":"structure","required":["ResourceId"],"members":{"ResourceId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"AddIns":{"type":"list","member":{"type":"structure","members":{"AddInId":{},"ResourceId":{},"Name":{},"URL":{}}}},"NextToken":{}}}},"DescribeConnectionAliasPermissions":{"input":{"type":"structure","required":["AliasId"],"members":{"AliasId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"AliasId":{},"ConnectionAliasPermissions":{"type":"list","member":{"shape":"S6m"}},"NextToken":{}}}},"DescribeConnectionAliases":{"input":{"type":"structure","members":{"AliasIds":{"type":"list","member":{}},"ResourceId":{},"Limit":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ConnectionAliases":{"type":"list","member":{"type":"structure","members":{"ConnectionString":{},"AliasId":{},"State":{},"OwnerAccountId":{},"Associations":{"type":"list","member":{"type":"structure","members":{"AssociationStatus":{},"AssociatedAccountId":{},"ResourceId":{},"ConnectionIdentifier":{}}}}}}},"NextToken":{}}}},"DescribeImageAssociations":{"input":{"type":"structure","required":["ImageId","AssociatedResourceTypes"],"members":{"ImageId":{},"AssociatedResourceTypes":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"Associations":{"type":"list","member":{"type":"structure","members":{"AssociatedResourceId":{},"AssociatedResourceType":{},"Created":{"type":"timestamp"},"LastUpdatedTime":{"type":"timestamp"},"ImageId":{},"State":{},"StateReason":{"shape":"Sq"}}}}}}},"DescribeIpGroups":{"input":{"type":"structure","members":{"GroupIds":{"shape":"Sf"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Result":{"type":"list","member":{"type":"structure","members":{"groupId":{},"groupName":{},"groupDesc":{},"userRules":{"shape":"Su"}}}},"NextToken":{}}}},"DescribeTags":{"input":{"type":"structure","required":["ResourceId"],"members":{"ResourceId":{}}},"output":{"type":"structure","members":{"TagList":{"shape":"S14"}}}},"DescribeWorkspaceAssociations":{"input":{"type":"structure","required":["WorkspaceId","AssociatedResourceTypes"],"members":{"WorkspaceId":{},"AssociatedResourceTypes":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"Associations":{"shape":"S4x"}}}},"DescribeWorkspaceBundles":{"input":{"type":"structure","members":{"BundleIds":{"type":"list","member":{}},"Owner":{},"NextToken":{}}},"output":{"type":"structure","members":{"Bundles":{"type":"list","member":{"shape":"S2d"}},"NextToken":{}}}},"DescribeWorkspaceDirectories":{"input":{"type":"structure","members":{"DirectoryIds":{"type":"list","member":{}},"WorkspaceDirectoryNames":{"type":"list","member":{}},"Limit":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Directories":{"type":"list","member":{"type":"structure","members":{"DirectoryId":{},"Alias":{},"DirectoryName":{},"RegistrationCode":{},"SubnetIds":{"shape":"S7p"},"DnsIpAddresses":{"type":"list","member":{}},"CustomerUserName":{},"IamRoleId":{},"DirectoryType":{},"WorkspaceSecurityGroupId":{},"State":{},"WorkspaceCreationProperties":{"type":"structure","members":{"EnableWorkDocs":{"type":"boolean"},"EnableInternetAccess":{"type":"boolean"},"DefaultOu":{},"CustomSecurityGroupId":{},"UserEnabledAsLocalAdministrator":{"type":"boolean"},"EnableMaintenanceMode":{"type":"boolean"},"InstanceIamRoleArn":{}}},"ipGroupIds":{"shape":"Sf"},"WorkspaceAccessProperties":{"shape":"S7w"},"Tenancy":{},"SelfservicePermissions":{"shape":"S7z"},"SamlProperties":{"shape":"S80"},"CertificateBasedAuthProperties":{"shape":"S83"},"WorkspaceDirectoryName":{},"WorkspaceDirectoryDescription":{},"UserIdentityType":{},"WorkspaceType":{},"ActiveDirectoryConfig":{"shape":"S89"},"StreamingProperties":{"shape":"S8c"},"ErrorMessage":{}}}},"NextToken":{}}}},"DescribeWorkspaceImagePermissions":{"input":{"type":"structure","required":["ImageId"],"members":{"ImageId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"ImageId":{},"ImagePermissions":{"type":"list","member":{"type":"structure","members":{"SharedAccountId":{}}}},"NextToken":{}}}},"DescribeWorkspaceImages":{"input":{"type":"structure","members":{"ImageIds":{"type":"list","member":{}},"ImageType":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Images":{"type":"list","member":{"type":"structure","members":{"ImageId":{},"Name":{},"Description":{},"OperatingSystem":{"shape":"S2k"},"State":{},"RequiredTenancy":{},"ErrorCode":{},"ErrorMessage":{},"Created":{"type":"timestamp"},"OwnerAccountId":{},"Updates":{"type":"structure","members":{"UpdateAvailable":{"type":"boolean"},"Description":{}}},"ErrorDetails":{"type":"list","member":{"type":"structure","members":{"ErrorCode":{},"ErrorMessage":{}}}}}}},"NextToken":{}}}},"DescribeWorkspaceSnapshots":{"input":{"type":"structure","required":["WorkspaceId"],"members":{"WorkspaceId":{}}},"output":{"type":"structure","members":{"RebuildSnapshots":{"shape":"S94"},"RestoreSnapshots":{"shape":"S94"}}}},"DescribeWorkspaces":{"input":{"type":"structure","members":{"WorkspaceIds":{"shape":"S97"},"DirectoryId":{},"UserName":{},"BundleId":{},"Limit":{"type":"integer"},"NextToken":{},"WorkspaceName":{}}},"output":{"type":"structure","members":{"Workspaces":{"shape":"S35"},"NextToken":{}}}},"DescribeWorkspacesConnectionStatus":{"input":{"type":"structure","members":{"WorkspaceIds":{"shape":"S97"},"NextToken":{}}},"output":{"type":"structure","members":{"WorkspacesConnectionStatus":{"type":"list","member":{"type":"structure","members":{"WorkspaceId":{},"ConnectionState":{},"ConnectionStateCheckTimestamp":{"type":"timestamp"},"LastKnownUserConnectionTimestamp":{"type":"timestamp"}}}},"NextToken":{}}}},"DescribeWorkspacesPoolSessions":{"input":{"type":"structure","required":["PoolId"],"members":{"PoolId":{},"UserId":{},"Limit":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Sessions":{"type":"list","member":{"type":"structure","required":["SessionId","PoolId","UserId"],"members":{"AuthenticationType":{},"ConnectionState":{},"SessionId":{},"InstanceId":{},"PoolId":{},"ExpirationTime":{"type":"timestamp"},"NetworkAccessConfiguration":{"type":"structure","members":{"EniPrivateIpAddress":{},"EniId":{}}},"StartTime":{"type":"timestamp"},"UserId":{}}}},"NextToken":{}}}},"DescribeWorkspacesPools":{"input":{"type":"structure","members":{"PoolIds":{"type":"list","member":{}},"Filters":{"type":"list","member":{"type":"structure","required":["Name","Values","Operator"],"members":{"Name":{},"Values":{"type":"list","member":{}},"Operator":{}}}},"Limit":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"WorkspacesPools":{"type":"list","member":{"shape":"S3x"}},"NextToken":{}}}},"DisassociateConnectionAlias":{"input":{"type":"structure","required":["AliasId"],"members":{"AliasId":{}}},"output":{"type":"structure","members":{}}},"DisassociateIpGroups":{"input":{"type":"structure","required":["DirectoryId","GroupIds"],"members":{"DirectoryId":{},"GroupIds":{"shape":"Sf"}}},"output":{"type":"structure","members":{}}},"DisassociateWorkspaceApplication":{"input":{"type":"structure","required":["WorkspaceId","ApplicationId"],"members":{"WorkspaceId":{},"ApplicationId":{}}},"output":{"type":"structure","members":{"Association":{"shape":"Sm"}}}},"GetAccountLink":{"input":{"type":"structure","members":{"LinkId":{},"LinkedAccountId":{}}},"output":{"type":"structure","members":{"AccountLink":{"shape":"S5"}}}},"ImportClientBranding":{"input":{"type":"structure","required":["ResourceId"],"members":{"ResourceId":{},"DeviceTypeWindows":{"shape":"Sa7"},"DeviceTypeOsx":{"shape":"Sa7"},"DeviceTypeAndroid":{"shape":"Sa7"},"DeviceTypeIos":{"type":"structure","members":{"Logo":{"type":"blob"},"Logo2x":{"type":"blob"},"Logo3x":{"type":"blob"},"SupportEmail":{},"SupportLink":{},"ForgotPasswordLink":{},"LoginMessage":{"shape":"S63"}}},"DeviceTypeLinux":{"shape":"Sa7"},"DeviceTypeWeb":{"shape":"Sa7"}}},"output":{"type":"structure","members":{"DeviceTypeWindows":{"shape":"S60"},"DeviceTypeOsx":{"shape":"S60"},"DeviceTypeAndroid":{"shape":"S60"},"DeviceTypeIos":{"shape":"S66"},"DeviceTypeLinux":{"shape":"S60"},"DeviceTypeWeb":{"shape":"S60"}}}},"ImportWorkspaceImage":{"input":{"type":"structure","required":["Ec2ImageId","IngestionProcess","ImageName","ImageDescription"],"members":{"Ec2ImageId":{},"IngestionProcess":{},"ImageName":{},"ImageDescription":{},"Tags":{"shape":"S14"},"Applications":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"ImageId":{}}}},"ListAccountLinks":{"input":{"type":"structure","members":{"LinkStatusFilter":{"type":"list","member":{}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"AccountLinks":{"type":"list","member":{"shape":"S5"}},"NextToken":{}}}},"ListAvailableManagementCidrRanges":{"input":{"type":"structure","required":["ManagementCidrRangeConstraint"],"members":{"ManagementCidrRangeConstraint":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ManagementCidrRanges":{"type":"list","member":{}},"NextToken":{}}}},"MigrateWorkspace":{"input":{"type":"structure","required":["SourceWorkspaceId","BundleId"],"members":{"SourceWorkspaceId":{},"BundleId":{}}},"output":{"type":"structure","members":{"SourceWorkspaceId":{},"TargetWorkspaceId":{}}}},"ModifyAccount":{"input":{"type":"structure","members":{"DedicatedTenancySupport":{},"DedicatedTenancyManagementCidrRange":{}}},"output":{"type":"structure","members":{}}},"ModifyCertificateBasedAuthProperties":{"input":{"type":"structure","required":["ResourceId"],"members":{"ResourceId":{},"CertificateBasedAuthProperties":{"shape":"S83"},"PropertiesToDelete":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"ModifyClientProperties":{"input":{"type":"structure","required":["ResourceId","ClientProperties"],"members":{"ResourceId":{},"ClientProperties":{"shape":"S6c"}}},"output":{"type":"structure","members":{}}},"ModifySamlProperties":{"input":{"type":"structure","required":["ResourceId"],"members":{"ResourceId":{},"SamlProperties":{"shape":"S80"},"PropertiesToDelete":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"ModifySelfservicePermissions":{"input":{"type":"structure","required":["ResourceId","SelfservicePermissions"],"members":{"ResourceId":{},"SelfservicePermissions":{"shape":"S7z"}}},"output":{"type":"structure","members":{}}},"ModifyStreamingProperties":{"input":{"type":"structure","required":["ResourceId"],"members":{"ResourceId":{},"StreamingProperties":{"shape":"S8c"}}},"output":{"type":"structure","members":{}}},"ModifyWorkspaceAccessProperties":{"input":{"type":"structure","required":["ResourceId","WorkspaceAccessProperties"],"members":{"ResourceId":{},"WorkspaceAccessProperties":{"shape":"S7w"}}},"output":{"type":"structure","members":{}}},"ModifyWorkspaceCreationProperties":{"input":{"type":"structure","required":["ResourceId","WorkspaceCreationProperties"],"members":{"ResourceId":{},"WorkspaceCreationProperties":{"type":"structure","members":{"EnableWorkDocs":{"type":"boolean"},"EnableInternetAccess":{"type":"boolean"},"DefaultOu":{},"CustomSecurityGroupId":{},"UserEnabledAsLocalAdministrator":{"type":"boolean"},"EnableMaintenanceMode":{"type":"boolean"},"InstanceIamRoleArn":{}}}}},"output":{"type":"structure","members":{}}},"ModifyWorkspaceProperties":{"input":{"type":"structure","required":["WorkspaceId"],"members":{"WorkspaceId":{},"WorkspaceProperties":{"shape":"S2s"},"DataReplication":{}}},"output":{"type":"structure","members":{}}},"ModifyWorkspaceState":{"input":{"type":"structure","required":["WorkspaceId","WorkspaceState"],"members":{"WorkspaceId":{},"WorkspaceState":{}}},"output":{"type":"structure","members":{}}},"RebootWorkspaces":{"input":{"type":"structure","required":["RebootWorkspaceRequests"],"members":{"RebootWorkspaceRequests":{"type":"list","member":{"type":"structure","required":["WorkspaceId"],"members":{"WorkspaceId":{}}}}}},"output":{"type":"structure","members":{"FailedRequests":{"type":"list","member":{"shape":"Sbr"}}}}},"RebuildWorkspaces":{"input":{"type":"structure","required":["RebuildWorkspaceRequests"],"members":{"RebuildWorkspaceRequests":{"type":"list","member":{"type":"structure","required":["WorkspaceId"],"members":{"WorkspaceId":{}}}}}},"output":{"type":"structure","members":{"FailedRequests":{"type":"list","member":{"shape":"Sbr"}}}}},"RegisterWorkspaceDirectory":{"input":{"type":"structure","members":{"DirectoryId":{},"SubnetIds":{"shape":"S7p"},"EnableWorkDocs":{"type":"boolean"},"EnableSelfService":{"type":"boolean"},"Tenancy":{},"Tags":{"shape":"S14"},"WorkspaceDirectoryName":{},"WorkspaceDirectoryDescription":{},"UserIdentityType":{},"WorkspaceType":{},"ActiveDirectoryConfig":{"shape":"S89"}}},"output":{"type":"structure","members":{"DirectoryId":{},"State":{}}}},"RejectAccountLinkInvitation":{"input":{"type":"structure","required":["LinkId"],"members":{"LinkId":{},"ClientToken":{}}},"output":{"type":"structure","members":{"AccountLink":{"shape":"S5"}}}},"RestoreWorkspace":{"input":{"type":"structure","required":["WorkspaceId"],"members":{"WorkspaceId":{}}},"output":{"type":"structure","members":{}}},"RevokeIpRules":{"input":{"type":"structure","required":["GroupId","UserRules"],"members":{"GroupId":{},"UserRules":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"StartWorkspaces":{"input":{"type":"structure","required":["StartWorkspaceRequests"],"members":{"StartWorkspaceRequests":{"type":"list","member":{"type":"structure","members":{"WorkspaceId":{}}}}}},"output":{"type":"structure","members":{"FailedRequests":{"type":"list","member":{"shape":"Sbr"}}}}},"StartWorkspacesPool":{"input":{"type":"structure","required":["PoolId"],"members":{"PoolId":{}}},"output":{"type":"structure","members":{}}},"StopWorkspaces":{"input":{"type":"structure","required":["StopWorkspaceRequests"],"members":{"StopWorkspaceRequests":{"type":"list","member":{"type":"structure","members":{"WorkspaceId":{}}}}}},"output":{"type":"structure","members":{"FailedRequests":{"type":"list","member":{"shape":"Sbr"}}}}},"StopWorkspacesPool":{"input":{"type":"structure","required":["PoolId"],"members":{"PoolId":{}}},"output":{"type":"structure","members":{}}},"TerminateWorkspaces":{"input":{"type":"structure","required":["TerminateWorkspaceRequests"],"members":{"TerminateWorkspaceRequests":{"type":"list","member":{"type":"structure","required":["WorkspaceId"],"members":{"WorkspaceId":{}}}}}},"output":{"type":"structure","members":{"FailedRequests":{"type":"list","member":{"shape":"Sbr"}}}}},"TerminateWorkspacesPool":{"input":{"type":"structure","required":["PoolId"],"members":{"PoolId":{}}},"output":{"type":"structure","members":{}}},"TerminateWorkspacesPoolSession":{"input":{"type":"structure","required":["SessionId"],"members":{"SessionId":{}}},"output":{"type":"structure","members":{}}},"UpdateConnectClientAddIn":{"input":{"type":"structure","required":["AddInId","ResourceId"],"members":{"AddInId":{},"ResourceId":{},"Name":{},"URL":{}}},"output":{"type":"structure","members":{}}},"UpdateConnectionAliasPermission":{"input":{"type":"structure","required":["AliasId","ConnectionAliasPermission"],"members":{"AliasId":{},"ConnectionAliasPermission":{"shape":"S6m"}}},"output":{"type":"structure","members":{}}},"UpdateRulesOfIpGroup":{"input":{"type":"structure","required":["GroupId","UserRules"],"members":{"GroupId":{},"UserRules":{"shape":"Su"}}},"output":{"type":"structure","members":{}}},"UpdateWorkspaceBundle":{"input":{"type":"structure","members":{"BundleId":{},"ImageId":{}}},"output":{"type":"structure","members":{}}},"UpdateWorkspaceImagePermission":{"input":{"type":"structure","required":["ImageId","AllowCopyImage","SharedAccountId"],"members":{"ImageId":{},"AllowCopyImage":{"type":"boolean"},"SharedAccountId":{}}},"output":{"type":"structure","members":{}}},"UpdateWorkspacesPool":{"input":{"type":"structure","required":["PoolId"],"members":{"PoolId":{},"Description":{},"BundleId":{},"DirectoryId":{},"Capacity":{"shape":"S3n"},"ApplicationSettings":{"shape":"S3p"},"TimeoutSettings":{"shape":"S3s"}}},"output":{"type":"structure","members":{"WorkspacesPool":{"shape":"S3x"}}}}},"shapes":{"S5":{"type":"structure","members":{"AccountLinkId":{},"AccountLinkStatus":{},"SourceAccountId":{},"TargetAccountId":{}}},"Sf":{"type":"list","member":{}},"Sm":{"type":"structure","members":{"AssociatedResourceId":{},"AssociatedResourceType":{},"Created":{"type":"timestamp"},"LastUpdatedTime":{"type":"timestamp"},"State":{},"StateReason":{"shape":"Sq"},"WorkspaceId":{}}},"Sq":{"type":"structure","members":{"ErrorCode":{},"ErrorMessage":{}}},"Su":{"type":"list","member":{"type":"structure","members":{"ipRule":{},"ruleDesc":{}}}},"S14":{"type":"list","member":{"type":"structure","required":["Key"],"members":{"Key":{},"Value":{}}}},"S1p":{"type":"structure","required":["PrimaryWorkspaceId","DirectoryId"],"members":{"PrimaryWorkspaceId":{},"VolumeEncryptionKey":{},"DirectoryId":{},"Tags":{"shape":"S14"},"DataReplication":{}}},"S28":{"type":"structure","members":{"Name":{}}},"S2a":{"type":"structure","required":["Capacity"],"members":{"Capacity":{}}},"S2b":{"type":"structure","required":["Capacity"],"members":{"Capacity":{}}},"S2d":{"type":"structure","members":{"BundleId":{},"Name":{},"Owner":{},"Description":{},"ImageId":{},"RootStorage":{"shape":"S2b"},"UserStorage":{"shape":"S2a"},"ComputeType":{"shape":"S28"},"LastUpdatedTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"State":{},"BundleType":{}}},"S2k":{"type":"structure","members":{"Type":{}}},"S2q":{"type":"structure","required":["DirectoryId","UserName","BundleId"],"members":{"DirectoryId":{},"UserName":{},"BundleId":{},"VolumeEncryptionKey":{},"UserVolumeEncryptionEnabled":{"type":"boolean"},"RootVolumeEncryptionEnabled":{"type":"boolean"},"WorkspaceProperties":{"shape":"S2s"},"Tags":{"shape":"S14"},"WorkspaceName":{}}},"S2s":{"type":"structure","members":{"RunningMode":{},"RunningModeAutoStopTimeoutInMinutes":{"type":"integer"},"RootVolumeSizeGib":{"type":"integer"},"UserVolumeSizeGib":{"type":"integer"},"ComputeTypeName":{},"Protocols":{"type":"list","member":{}},"OperatingSystemName":{}}},"S35":{"type":"list","member":{"type":"structure","members":{"WorkspaceId":{},"DirectoryId":{},"UserName":{},"IpAddress":{},"State":{},"BundleId":{},"SubnetId":{},"ErrorMessage":{},"ErrorCode":{},"ComputerName":{},"VolumeEncryptionKey":{},"UserVolumeEncryptionEnabled":{"type":"boolean"},"RootVolumeEncryptionEnabled":{"type":"boolean"},"WorkspaceName":{},"WorkspaceProperties":{"shape":"S2s"},"ModificationStates":{"type":"list","member":{"type":"structure","members":{"Resource":{},"State":{}}}},"RelatedWorkspaces":{"type":"list","member":{"type":"structure","members":{"WorkspaceId":{},"Region":{},"State":{},"Type":{}}}},"DataReplicationSettings":{"type":"structure","members":{"DataReplication":{},"RecoverySnapshotTime":{"type":"timestamp"}}},"StandbyWorkspacesProperties":{"type":"list","member":{"type":"structure","members":{"StandbyWorkspaceId":{},"DataReplication":{},"RecoverySnapshotTime":{"type":"timestamp"}}}}}}},"S3n":{"type":"structure","required":["DesiredUserSessions"],"members":{"DesiredUserSessions":{"type":"integer"}}},"S3p":{"type":"structure","required":["Status"],"members":{"Status":{},"SettingsGroup":{}}},"S3s":{"type":"structure","members":{"DisconnectTimeoutInSeconds":{"type":"integer"},"IdleDisconnectTimeoutInSeconds":{"type":"integer"},"MaxUserDurationInSeconds":{"type":"integer"}}},"S3x":{"type":"structure","required":["PoolId","PoolArn","CapacityStatus","PoolName","State","CreatedAt","BundleId","DirectoryId"],"members":{"PoolId":{},"PoolArn":{},"CapacityStatus":{"type":"structure","required":["AvailableUserSessions","DesiredUserSessions","ActualUserSessions","ActiveUserSessions"],"members":{"AvailableUserSessions":{"type":"integer"},"DesiredUserSessions":{"type":"integer"},"ActualUserSessions":{"type":"integer"},"ActiveUserSessions":{"type":"integer"}}},"PoolName":{},"Description":{},"State":{},"CreatedAt":{"type":"timestamp"},"BundleId":{},"DirectoryId":{},"Errors":{"type":"list","member":{"type":"structure","members":{"ErrorCode":{},"ErrorMessage":{}}}},"ApplicationSettings":{"type":"structure","required":["Status"],"members":{"Status":{},"SettingsGroup":{},"S3BucketName":{}}},"TimeoutSettings":{"shape":"S3s"}}},"S4x":{"type":"list","member":{"shape":"Sm"}},"S5k":{"type":"list","member":{}},"S5m":{"type":"list","member":{}},"S60":{"type":"structure","members":{"LogoUrl":{},"SupportEmail":{},"SupportLink":{},"ForgotPasswordLink":{},"LoginMessage":{"shape":"S63"}}},"S63":{"type":"map","key":{},"value":{}},"S66":{"type":"structure","members":{"LogoUrl":{},"Logo2xUrl":{},"Logo3xUrl":{},"SupportEmail":{},"SupportLink":{},"ForgotPasswordLink":{},"LoginMessage":{"shape":"S63"}}},"S6c":{"type":"structure","members":{"ReconnectEnabled":{},"LogUploadEnabled":{}}},"S6m":{"type":"structure","required":["SharedAccountId","AllowAssociation"],"members":{"SharedAccountId":{},"AllowAssociation":{"type":"boolean"}}},"S7p":{"type":"list","member":{}},"S7w":{"type":"structure","members":{"DeviceTypeWindows":{},"DeviceTypeOsx":{},"DeviceTypeWeb":{},"DeviceTypeIos":{},"DeviceTypeAndroid":{},"DeviceTypeChromeOs":{},"DeviceTypeZeroClient":{},"DeviceTypeLinux":{}}},"S7z":{"type":"structure","members":{"RestartWorkspace":{},"IncreaseVolumeSize":{},"ChangeComputeType":{},"SwitchRunningMode":{},"RebuildWorkspace":{}}},"S80":{"type":"structure","members":{"Status":{},"UserAccessUrl":{},"RelayStateParameterName":{}}},"S83":{"type":"structure","members":{"Status":{},"CertificateAuthorityArn":{}}},"S89":{"type":"structure","required":["DomainName","ServiceAccountSecretArn"],"members":{"DomainName":{},"ServiceAccountSecretArn":{}}},"S8c":{"type":"structure","members":{"StreamingExperiencePreferredProtocol":{},"UserSettings":{"type":"list","member":{"type":"structure","required":["Action","Permission"],"members":{"Action":{},"Permission":{},"MaximumLength":{"type":"integer"}}}},"StorageConnectors":{"type":"list","member":{"type":"structure","required":["ConnectorType","Status"],"members":{"ConnectorType":{},"Status":{}}}}}},"S94":{"type":"list","member":{"type":"structure","members":{"SnapshotTime":{"type":"timestamp"}}}},"S97":{"type":"list","member":{}},"Sa7":{"type":"structure","members":{"Logo":{"type":"blob"},"SupportEmail":{},"SupportLink":{},"ForgotPasswordLink":{},"LoginMessage":{"shape":"S63"}}},"Sbr":{"type":"structure","members":{"WorkspaceId":{},"ErrorCode":{},"ErrorMessage":{}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2015-04-08","endpointPrefix":"workspaces","jsonVersion":"1.1","protocol":"json","protocols":["json"],"serviceFullName":"Amazon WorkSpaces","serviceId":"WorkSpaces","signatureVersion":"v4","targetPrefix":"WorkspacesService","uid":"workspaces-2015-04-08","auth":["aws.auth#sigv4"]},"operations":{"AcceptAccountLinkInvitation":{"input":{"type":"structure","required":["LinkId"],"members":{"LinkId":{},"ClientToken":{}}},"output":{"type":"structure","members":{"AccountLink":{"shape":"S5"}}}},"AssociateConnectionAlias":{"input":{"type":"structure","required":["AliasId","ResourceId"],"members":{"AliasId":{},"ResourceId":{}}},"output":{"type":"structure","members":{"ConnectionIdentifier":{}}}},"AssociateIpGroups":{"input":{"type":"structure","required":["DirectoryId","GroupIds"],"members":{"DirectoryId":{},"GroupIds":{"shape":"Sf"}}},"output":{"type":"structure","members":{}}},"AssociateWorkspaceApplication":{"input":{"type":"structure","required":["WorkspaceId","ApplicationId"],"members":{"WorkspaceId":{},"ApplicationId":{}}},"output":{"type":"structure","members":{"Association":{"shape":"Sm"}}}},"AuthorizeIpRules":{"input":{"type":"structure","required":["GroupId","UserRules"],"members":{"GroupId":{},"UserRules":{"shape":"Su"}}},"output":{"type":"structure","members":{}}},"CopyWorkspaceImage":{"input":{"type":"structure","required":["Name","SourceImageId","SourceRegion"],"members":{"Name":{},"Description":{},"SourceImageId":{},"SourceRegion":{},"Tags":{"shape":"S14"}}},"output":{"type":"structure","members":{"ImageId":{}}}},"CreateAccountLinkInvitation":{"input":{"type":"structure","required":["TargetAccountId"],"members":{"TargetAccountId":{},"ClientToken":{}}},"output":{"type":"structure","members":{"AccountLink":{"shape":"S5"}}}},"CreateConnectClientAddIn":{"input":{"type":"structure","required":["ResourceId","Name","URL"],"members":{"ResourceId":{},"Name":{},"URL":{}}},"output":{"type":"structure","members":{"AddInId":{}}}},"CreateConnectionAlias":{"input":{"type":"structure","required":["ConnectionString"],"members":{"ConnectionString":{},"Tags":{"shape":"S14"}}},"output":{"type":"structure","members":{"AliasId":{}}}},"CreateIpGroup":{"input":{"type":"structure","required":["GroupName"],"members":{"GroupName":{},"GroupDesc":{},"UserRules":{"shape":"Su"},"Tags":{"shape":"S14"}}},"output":{"type":"structure","members":{"GroupId":{}}}},"CreateStandbyWorkspaces":{"input":{"type":"structure","required":["PrimaryRegion","StandbyWorkspaces"],"members":{"PrimaryRegion":{},"StandbyWorkspaces":{"type":"list","member":{"shape":"S1p"}}}},"output":{"type":"structure","members":{"FailedStandbyRequests":{"type":"list","member":{"type":"structure","members":{"StandbyWorkspaceRequest":{"shape":"S1p"},"ErrorCode":{},"ErrorMessage":{}}}},"PendingStandbyRequests":{"type":"list","member":{"type":"structure","members":{"UserName":{},"DirectoryId":{},"State":{},"WorkspaceId":{}}}}}}},"CreateTags":{"input":{"type":"structure","required":["ResourceId","Tags"],"members":{"ResourceId":{},"Tags":{"shape":"S14"}}},"output":{"type":"structure","members":{}}},"CreateUpdatedWorkspaceImage":{"input":{"type":"structure","required":["Name","Description","SourceImageId"],"members":{"Name":{},"Description":{},"SourceImageId":{},"Tags":{"shape":"S14"}}},"output":{"type":"structure","members":{"ImageId":{}}}},"CreateWorkspaceBundle":{"input":{"type":"structure","required":["BundleName","BundleDescription","ImageId","ComputeType","UserStorage"],"members":{"BundleName":{},"BundleDescription":{},"ImageId":{},"ComputeType":{"shape":"S28"},"UserStorage":{"shape":"S2a"},"RootStorage":{"shape":"S2b"},"Tags":{"shape":"S14"}}},"output":{"type":"structure","members":{"WorkspaceBundle":{"shape":"S2d"}}}},"CreateWorkspaceImage":{"input":{"type":"structure","required":["Name","Description","WorkspaceId"],"members":{"Name":{},"Description":{},"WorkspaceId":{},"Tags":{"shape":"S14"}}},"output":{"type":"structure","members":{"ImageId":{},"Name":{},"Description":{},"OperatingSystem":{"shape":"S2k"},"State":{},"RequiredTenancy":{},"Created":{"type":"timestamp"},"OwnerAccountId":{}}}},"CreateWorkspaces":{"input":{"type":"structure","required":["Workspaces"],"members":{"Workspaces":{"type":"list","member":{"shape":"S2q"}}}},"output":{"type":"structure","members":{"FailedRequests":{"type":"list","member":{"type":"structure","members":{"WorkspaceRequest":{"shape":"S2q"},"ErrorCode":{},"ErrorMessage":{}}}},"PendingRequests":{"shape":"S35"}}}},"CreateWorkspacesPool":{"input":{"type":"structure","required":["PoolName","Description","BundleId","DirectoryId","Capacity"],"members":{"PoolName":{},"Description":{},"BundleId":{},"DirectoryId":{},"Capacity":{"shape":"S3n"},"Tags":{"shape":"S14"},"ApplicationSettings":{"shape":"S3p"},"TimeoutSettings":{"shape":"S3s"}}},"output":{"type":"structure","members":{"WorkspacesPool":{"shape":"S3x"}}}},"DeleteAccountLinkInvitation":{"input":{"type":"structure","required":["LinkId"],"members":{"LinkId":{},"ClientToken":{}}},"output":{"type":"structure","members":{"AccountLink":{"shape":"S5"}}}},"DeleteClientBranding":{"input":{"type":"structure","required":["ResourceId","Platforms"],"members":{"ResourceId":{},"Platforms":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"DeleteConnectClientAddIn":{"input":{"type":"structure","required":["AddInId","ResourceId"],"members":{"AddInId":{},"ResourceId":{}}},"output":{"type":"structure","members":{}}},"DeleteConnectionAlias":{"input":{"type":"structure","required":["AliasId"],"members":{"AliasId":{}}},"output":{"type":"structure","members":{}}},"DeleteIpGroup":{"input":{"type":"structure","required":["GroupId"],"members":{"GroupId":{}}},"output":{"type":"structure","members":{}}},"DeleteTags":{"input":{"type":"structure","required":["ResourceId","TagKeys"],"members":{"ResourceId":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"DeleteWorkspaceBundle":{"input":{"type":"structure","members":{"BundleId":{}}},"output":{"type":"structure","members":{}}},"DeleteWorkspaceImage":{"input":{"type":"structure","required":["ImageId"],"members":{"ImageId":{}}},"output":{"type":"structure","members":{}}},"DeployWorkspaceApplications":{"input":{"type":"structure","required":["WorkspaceId"],"members":{"WorkspaceId":{},"Force":{"type":"boolean"}}},"output":{"type":"structure","members":{"Deployment":{"type":"structure","members":{"Associations":{"shape":"S4x"}}}}}},"DeregisterWorkspaceDirectory":{"input":{"type":"structure","required":["DirectoryId"],"members":{"DirectoryId":{}}},"output":{"type":"structure","members":{}}},"DescribeAccount":{"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"DedicatedTenancySupport":{},"DedicatedTenancyManagementCidrRange":{},"DedicatedTenancyAccountType":{}}}},"DescribeAccountModifications":{"input":{"type":"structure","members":{"NextToken":{}}},"output":{"type":"structure","members":{"AccountModifications":{"type":"list","member":{"type":"structure","members":{"ModificationState":{},"DedicatedTenancySupport":{},"DedicatedTenancyManagementCidrRange":{},"StartTime":{"type":"timestamp"},"ErrorCode":{},"ErrorMessage":{}}}},"NextToken":{}}}},"DescribeApplicationAssociations":{"input":{"type":"structure","required":["ApplicationId","AssociatedResourceTypes"],"members":{"MaxResults":{"type":"integer"},"NextToken":{},"ApplicationId":{},"AssociatedResourceTypes":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"Associations":{"type":"list","member":{"type":"structure","members":{"ApplicationId":{},"AssociatedResourceId":{},"AssociatedResourceType":{},"Created":{"type":"timestamp"},"LastUpdatedTime":{"type":"timestamp"},"State":{},"StateReason":{"shape":"Sq"}}}},"NextToken":{}}}},"DescribeApplications":{"input":{"type":"structure","members":{"ApplicationIds":{"type":"list","member":{}},"ComputeTypeNames":{"shape":"S5k"},"LicenseType":{},"OperatingSystemNames":{"shape":"S5m"},"Owner":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Applications":{"type":"list","member":{"type":"structure","members":{"ApplicationId":{},"Created":{"type":"timestamp"},"Description":{},"LicenseType":{},"Name":{},"Owner":{},"State":{},"SupportedComputeTypeNames":{"shape":"S5k"},"SupportedOperatingSystemNames":{"shape":"S5m"}}}},"NextToken":{}}}},"DescribeBundleAssociations":{"input":{"type":"structure","required":["BundleId","AssociatedResourceTypes"],"members":{"BundleId":{},"AssociatedResourceTypes":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"Associations":{"type":"list","member":{"type":"structure","members":{"AssociatedResourceId":{},"AssociatedResourceType":{},"BundleId":{},"Created":{"type":"timestamp"},"LastUpdatedTime":{"type":"timestamp"},"State":{},"StateReason":{"shape":"Sq"}}}}}}},"DescribeClientBranding":{"input":{"type":"structure","required":["ResourceId"],"members":{"ResourceId":{}}},"output":{"type":"structure","members":{"DeviceTypeWindows":{"shape":"S60"},"DeviceTypeOsx":{"shape":"S60"},"DeviceTypeAndroid":{"shape":"S60"},"DeviceTypeIos":{"shape":"S66"},"DeviceTypeLinux":{"shape":"S60"},"DeviceTypeWeb":{"shape":"S60"}}}},"DescribeClientProperties":{"input":{"type":"structure","required":["ResourceIds"],"members":{"ResourceIds":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"ClientPropertiesList":{"type":"list","member":{"type":"structure","members":{"ResourceId":{},"ClientProperties":{"shape":"S6c"}}}}}}},"DescribeConnectClientAddIns":{"input":{"type":"structure","required":["ResourceId"],"members":{"ResourceId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"AddIns":{"type":"list","member":{"type":"structure","members":{"AddInId":{},"ResourceId":{},"Name":{},"URL":{}}}},"NextToken":{}}}},"DescribeConnectionAliasPermissions":{"input":{"type":"structure","required":["AliasId"],"members":{"AliasId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"AliasId":{},"ConnectionAliasPermissions":{"type":"list","member":{"shape":"S6m"}},"NextToken":{}}}},"DescribeConnectionAliases":{"input":{"type":"structure","members":{"AliasIds":{"type":"list","member":{}},"ResourceId":{},"Limit":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ConnectionAliases":{"type":"list","member":{"type":"structure","members":{"ConnectionString":{},"AliasId":{},"State":{},"OwnerAccountId":{},"Associations":{"type":"list","member":{"type":"structure","members":{"AssociationStatus":{},"AssociatedAccountId":{},"ResourceId":{},"ConnectionIdentifier":{}}}}}}},"NextToken":{}}}},"DescribeImageAssociations":{"input":{"type":"structure","required":["ImageId","AssociatedResourceTypes"],"members":{"ImageId":{},"AssociatedResourceTypes":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"Associations":{"type":"list","member":{"type":"structure","members":{"AssociatedResourceId":{},"AssociatedResourceType":{},"Created":{"type":"timestamp"},"LastUpdatedTime":{"type":"timestamp"},"ImageId":{},"State":{},"StateReason":{"shape":"Sq"}}}}}}},"DescribeIpGroups":{"input":{"type":"structure","members":{"GroupIds":{"shape":"Sf"},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Result":{"type":"list","member":{"type":"structure","members":{"groupId":{},"groupName":{},"groupDesc":{},"userRules":{"shape":"Su"}}}},"NextToken":{}}}},"DescribeTags":{"input":{"type":"structure","required":["ResourceId"],"members":{"ResourceId":{}}},"output":{"type":"structure","members":{"TagList":{"shape":"S14"}}}},"DescribeWorkspaceAssociations":{"input":{"type":"structure","required":["WorkspaceId","AssociatedResourceTypes"],"members":{"WorkspaceId":{},"AssociatedResourceTypes":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"Associations":{"shape":"S4x"}}}},"DescribeWorkspaceBundles":{"input":{"type":"structure","members":{"BundleIds":{"type":"list","member":{}},"Owner":{},"NextToken":{}}},"output":{"type":"structure","members":{"Bundles":{"type":"list","member":{"shape":"S2d"}},"NextToken":{}}}},"DescribeWorkspaceDirectories":{"input":{"type":"structure","members":{"DirectoryIds":{"type":"list","member":{}},"WorkspaceDirectoryNames":{"type":"list","member":{}},"Limit":{"type":"integer"},"NextToken":{},"Filters":{"type":"list","member":{"type":"structure","required":["Name","Values"],"members":{"Name":{},"Values":{"type":"list","member":{}}}}}}},"output":{"type":"structure","members":{"Directories":{"type":"list","member":{"type":"structure","members":{"DirectoryId":{},"Alias":{},"DirectoryName":{},"RegistrationCode":{},"SubnetIds":{"shape":"S7u"},"DnsIpAddresses":{"type":"list","member":{}},"CustomerUserName":{},"IamRoleId":{},"DirectoryType":{},"WorkspaceSecurityGroupId":{},"State":{},"WorkspaceCreationProperties":{"type":"structure","members":{"EnableWorkDocs":{"type":"boolean"},"EnableInternetAccess":{"type":"boolean"},"DefaultOu":{},"CustomSecurityGroupId":{},"UserEnabledAsLocalAdministrator":{"type":"boolean"},"EnableMaintenanceMode":{"type":"boolean"},"InstanceIamRoleArn":{}}},"ipGroupIds":{"shape":"Sf"},"WorkspaceAccessProperties":{"shape":"S81"},"Tenancy":{},"SelfservicePermissions":{"shape":"S84"},"SamlProperties":{"shape":"S85"},"CertificateBasedAuthProperties":{"shape":"S88"},"MicrosoftEntraConfig":{"shape":"S8b"},"WorkspaceDirectoryName":{},"WorkspaceDirectoryDescription":{},"UserIdentityType":{},"WorkspaceType":{},"IDCConfig":{"type":"structure","members":{"InstanceArn":{},"ApplicationArn":{}}},"ActiveDirectoryConfig":{"shape":"S8i"},"StreamingProperties":{"shape":"S8k"},"ErrorMessage":{}}}},"NextToken":{}}}},"DescribeWorkspaceImagePermissions":{"input":{"type":"structure","required":["ImageId"],"members":{"ImageId":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"ImageId":{},"ImagePermissions":{"type":"list","member":{"type":"structure","members":{"SharedAccountId":{}}}},"NextToken":{}}}},"DescribeWorkspaceImages":{"input":{"type":"structure","members":{"ImageIds":{"type":"list","member":{}},"ImageType":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Images":{"type":"list","member":{"type":"structure","members":{"ImageId":{},"Name":{},"Description":{},"OperatingSystem":{"shape":"S2k"},"State":{},"RequiredTenancy":{},"ErrorCode":{},"ErrorMessage":{},"Created":{"type":"timestamp"},"OwnerAccountId":{},"Updates":{"type":"structure","members":{"UpdateAvailable":{"type":"boolean"},"Description":{}}},"ErrorDetails":{"type":"list","member":{"type":"structure","members":{"ErrorCode":{},"ErrorMessage":{}}}}}}},"NextToken":{}}}},"DescribeWorkspaceSnapshots":{"input":{"type":"structure","required":["WorkspaceId"],"members":{"WorkspaceId":{}}},"output":{"type":"structure","members":{"RebuildSnapshots":{"shape":"S9c"},"RestoreSnapshots":{"shape":"S9c"}}}},"DescribeWorkspaces":{"input":{"type":"structure","members":{"WorkspaceIds":{"shape":"S9f"},"DirectoryId":{},"UserName":{},"BundleId":{},"Limit":{"type":"integer"},"NextToken":{},"WorkspaceName":{}}},"output":{"type":"structure","members":{"Workspaces":{"shape":"S35"},"NextToken":{}}}},"DescribeWorkspacesConnectionStatus":{"input":{"type":"structure","members":{"WorkspaceIds":{"shape":"S9f"},"NextToken":{}}},"output":{"type":"structure","members":{"WorkspacesConnectionStatus":{"type":"list","member":{"type":"structure","members":{"WorkspaceId":{},"ConnectionState":{},"ConnectionStateCheckTimestamp":{"type":"timestamp"},"LastKnownUserConnectionTimestamp":{"type":"timestamp"}}}},"NextToken":{}}}},"DescribeWorkspacesPoolSessions":{"input":{"type":"structure","required":["PoolId"],"members":{"PoolId":{},"UserId":{},"Limit":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Sessions":{"type":"list","member":{"type":"structure","required":["SessionId","PoolId","UserId"],"members":{"AuthenticationType":{},"ConnectionState":{},"SessionId":{},"InstanceId":{},"PoolId":{},"ExpirationTime":{"type":"timestamp"},"NetworkAccessConfiguration":{"type":"structure","members":{"EniPrivateIpAddress":{},"EniId":{}}},"StartTime":{"type":"timestamp"},"UserId":{}}}},"NextToken":{}}}},"DescribeWorkspacesPools":{"input":{"type":"structure","members":{"PoolIds":{"type":"list","member":{}},"Filters":{"type":"list","member":{"type":"structure","required":["Name","Values","Operator"],"members":{"Name":{},"Values":{"type":"list","member":{}},"Operator":{}}}},"Limit":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"WorkspacesPools":{"type":"list","member":{"shape":"S3x"}},"NextToken":{}}}},"DisassociateConnectionAlias":{"input":{"type":"structure","required":["AliasId"],"members":{"AliasId":{}}},"output":{"type":"structure","members":{}}},"DisassociateIpGroups":{"input":{"type":"structure","required":["DirectoryId","GroupIds"],"members":{"DirectoryId":{},"GroupIds":{"shape":"Sf"}}},"output":{"type":"structure","members":{}}},"DisassociateWorkspaceApplication":{"input":{"type":"structure","required":["WorkspaceId","ApplicationId"],"members":{"WorkspaceId":{},"ApplicationId":{}}},"output":{"type":"structure","members":{"Association":{"shape":"Sm"}}}},"GetAccountLink":{"input":{"type":"structure","members":{"LinkId":{},"LinkedAccountId":{}}},"output":{"type":"structure","members":{"AccountLink":{"shape":"S5"}}}},"ImportClientBranding":{"input":{"type":"structure","required":["ResourceId"],"members":{"ResourceId":{},"DeviceTypeWindows":{"shape":"Saf"},"DeviceTypeOsx":{"shape":"Saf"},"DeviceTypeAndroid":{"shape":"Saf"},"DeviceTypeIos":{"type":"structure","members":{"Logo":{"type":"blob"},"Logo2x":{"type":"blob"},"Logo3x":{"type":"blob"},"SupportEmail":{},"SupportLink":{},"ForgotPasswordLink":{},"LoginMessage":{"shape":"S63"}}},"DeviceTypeLinux":{"shape":"Saf"},"DeviceTypeWeb":{"shape":"Saf"}}},"output":{"type":"structure","members":{"DeviceTypeWindows":{"shape":"S60"},"DeviceTypeOsx":{"shape":"S60"},"DeviceTypeAndroid":{"shape":"S60"},"DeviceTypeIos":{"shape":"S66"},"DeviceTypeLinux":{"shape":"S60"},"DeviceTypeWeb":{"shape":"S60"}}}},"ImportWorkspaceImage":{"input":{"type":"structure","required":["Ec2ImageId","IngestionProcess","ImageName","ImageDescription"],"members":{"Ec2ImageId":{},"IngestionProcess":{},"ImageName":{},"ImageDescription":{},"Tags":{"shape":"S14"},"Applications":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"ImageId":{}}}},"ListAccountLinks":{"input":{"type":"structure","members":{"LinkStatusFilter":{"type":"list","member":{}},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"AccountLinks":{"type":"list","member":{"shape":"S5"}},"NextToken":{}}}},"ListAvailableManagementCidrRanges":{"input":{"type":"structure","required":["ManagementCidrRangeConstraint"],"members":{"ManagementCidrRangeConstraint":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"ManagementCidrRanges":{"type":"list","member":{}},"NextToken":{}}}},"MigrateWorkspace":{"input":{"type":"structure","required":["SourceWorkspaceId","BundleId"],"members":{"SourceWorkspaceId":{},"BundleId":{}}},"output":{"type":"structure","members":{"SourceWorkspaceId":{},"TargetWorkspaceId":{}}}},"ModifyAccount":{"input":{"type":"structure","members":{"DedicatedTenancySupport":{},"DedicatedTenancyManagementCidrRange":{}}},"output":{"type":"structure","members":{}}},"ModifyCertificateBasedAuthProperties":{"input":{"type":"structure","required":["ResourceId"],"members":{"ResourceId":{},"CertificateBasedAuthProperties":{"shape":"S88"},"PropertiesToDelete":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"ModifyClientProperties":{"input":{"type":"structure","required":["ResourceId","ClientProperties"],"members":{"ResourceId":{},"ClientProperties":{"shape":"S6c"}}},"output":{"type":"structure","members":{}}},"ModifySamlProperties":{"input":{"type":"structure","required":["ResourceId"],"members":{"ResourceId":{},"SamlProperties":{"shape":"S85"},"PropertiesToDelete":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"ModifySelfservicePermissions":{"input":{"type":"structure","required":["ResourceId","SelfservicePermissions"],"members":{"ResourceId":{},"SelfservicePermissions":{"shape":"S84"}}},"output":{"type":"structure","members":{}}},"ModifyStreamingProperties":{"input":{"type":"structure","required":["ResourceId"],"members":{"ResourceId":{},"StreamingProperties":{"shape":"S8k"}}},"output":{"type":"structure","members":{}}},"ModifyWorkspaceAccessProperties":{"input":{"type":"structure","required":["ResourceId","WorkspaceAccessProperties"],"members":{"ResourceId":{},"WorkspaceAccessProperties":{"shape":"S81"}}},"output":{"type":"structure","members":{}}},"ModifyWorkspaceCreationProperties":{"input":{"type":"structure","required":["ResourceId","WorkspaceCreationProperties"],"members":{"ResourceId":{},"WorkspaceCreationProperties":{"type":"structure","members":{"EnableWorkDocs":{"type":"boolean"},"EnableInternetAccess":{"type":"boolean"},"DefaultOu":{},"CustomSecurityGroupId":{},"UserEnabledAsLocalAdministrator":{"type":"boolean"},"EnableMaintenanceMode":{"type":"boolean"},"InstanceIamRoleArn":{}}}}},"output":{"type":"structure","members":{}}},"ModifyWorkspaceProperties":{"input":{"type":"structure","required":["WorkspaceId"],"members":{"WorkspaceId":{},"WorkspaceProperties":{"shape":"S2s"},"DataReplication":{}}},"output":{"type":"structure","members":{}}},"ModifyWorkspaceState":{"input":{"type":"structure","required":["WorkspaceId","WorkspaceState"],"members":{"WorkspaceId":{},"WorkspaceState":{}}},"output":{"type":"structure","members":{}}},"RebootWorkspaces":{"input":{"type":"structure","required":["RebootWorkspaceRequests"],"members":{"RebootWorkspaceRequests":{"type":"list","member":{"type":"structure","required":["WorkspaceId"],"members":{"WorkspaceId":{}}}}}},"output":{"type":"structure","members":{"FailedRequests":{"type":"list","member":{"shape":"Sbz"}}}}},"RebuildWorkspaces":{"input":{"type":"structure","required":["RebuildWorkspaceRequests"],"members":{"RebuildWorkspaceRequests":{"type":"list","member":{"type":"structure","required":["WorkspaceId"],"members":{"WorkspaceId":{}}}}}},"output":{"type":"structure","members":{"FailedRequests":{"type":"list","member":{"shape":"Sbz"}}}}},"RegisterWorkspaceDirectory":{"input":{"type":"structure","members":{"DirectoryId":{},"SubnetIds":{"shape":"S7u"},"EnableWorkDocs":{"type":"boolean"},"EnableSelfService":{"type":"boolean"},"Tenancy":{},"Tags":{"shape":"S14"},"WorkspaceDirectoryName":{},"WorkspaceDirectoryDescription":{},"UserIdentityType":{},"IdcInstanceArn":{},"MicrosoftEntraConfig":{"shape":"S8b"},"WorkspaceType":{},"ActiveDirectoryConfig":{"shape":"S8i"}}},"output":{"type":"structure","members":{"DirectoryId":{},"State":{}}}},"RejectAccountLinkInvitation":{"input":{"type":"structure","required":["LinkId"],"members":{"LinkId":{},"ClientToken":{}}},"output":{"type":"structure","members":{"AccountLink":{"shape":"S5"}}}},"RestoreWorkspace":{"input":{"type":"structure","required":["WorkspaceId"],"members":{"WorkspaceId":{}}},"output":{"type":"structure","members":{}}},"RevokeIpRules":{"input":{"type":"structure","required":["GroupId","UserRules"],"members":{"GroupId":{},"UserRules":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"StartWorkspaces":{"input":{"type":"structure","required":["StartWorkspaceRequests"],"members":{"StartWorkspaceRequests":{"type":"list","member":{"type":"structure","members":{"WorkspaceId":{}}}}}},"output":{"type":"structure","members":{"FailedRequests":{"type":"list","member":{"shape":"Sbz"}}}}},"StartWorkspacesPool":{"input":{"type":"structure","required":["PoolId"],"members":{"PoolId":{}}},"output":{"type":"structure","members":{}}},"StopWorkspaces":{"input":{"type":"structure","required":["StopWorkspaceRequests"],"members":{"StopWorkspaceRequests":{"type":"list","member":{"type":"structure","members":{"WorkspaceId":{}}}}}},"output":{"type":"structure","members":{"FailedRequests":{"type":"list","member":{"shape":"Sbz"}}}}},"StopWorkspacesPool":{"input":{"type":"structure","required":["PoolId"],"members":{"PoolId":{}}},"output":{"type":"structure","members":{}}},"TerminateWorkspaces":{"input":{"type":"structure","required":["TerminateWorkspaceRequests"],"members":{"TerminateWorkspaceRequests":{"type":"list","member":{"type":"structure","required":["WorkspaceId"],"members":{"WorkspaceId":{}}}}}},"output":{"type":"structure","members":{"FailedRequests":{"type":"list","member":{"shape":"Sbz"}}}}},"TerminateWorkspacesPool":{"input":{"type":"structure","required":["PoolId"],"members":{"PoolId":{}}},"output":{"type":"structure","members":{}}},"TerminateWorkspacesPoolSession":{"input":{"type":"structure","required":["SessionId"],"members":{"SessionId":{}}},"output":{"type":"structure","members":{}}},"UpdateConnectClientAddIn":{"input":{"type":"structure","required":["AddInId","ResourceId"],"members":{"AddInId":{},"ResourceId":{},"Name":{},"URL":{}}},"output":{"type":"structure","members":{}}},"UpdateConnectionAliasPermission":{"input":{"type":"structure","required":["AliasId","ConnectionAliasPermission"],"members":{"AliasId":{},"ConnectionAliasPermission":{"shape":"S6m"}}},"output":{"type":"structure","members":{}}},"UpdateRulesOfIpGroup":{"input":{"type":"structure","required":["GroupId","UserRules"],"members":{"GroupId":{},"UserRules":{"shape":"Su"}}},"output":{"type":"structure","members":{}}},"UpdateWorkspaceBundle":{"input":{"type":"structure","members":{"BundleId":{},"ImageId":{}}},"output":{"type":"structure","members":{}}},"UpdateWorkspaceImagePermission":{"input":{"type":"structure","required":["ImageId","AllowCopyImage","SharedAccountId"],"members":{"ImageId":{},"AllowCopyImage":{"type":"boolean"},"SharedAccountId":{}}},"output":{"type":"structure","members":{}}},"UpdateWorkspacesPool":{"input":{"type":"structure","required":["PoolId"],"members":{"PoolId":{},"Description":{},"BundleId":{},"DirectoryId":{},"Capacity":{"shape":"S3n"},"ApplicationSettings":{"shape":"S3p"},"TimeoutSettings":{"shape":"S3s"}}},"output":{"type":"structure","members":{"WorkspacesPool":{"shape":"S3x"}}}}},"shapes":{"S5":{"type":"structure","members":{"AccountLinkId":{},"AccountLinkStatus":{},"SourceAccountId":{},"TargetAccountId":{}}},"Sf":{"type":"list","member":{}},"Sm":{"type":"structure","members":{"AssociatedResourceId":{},"AssociatedResourceType":{},"Created":{"type":"timestamp"},"LastUpdatedTime":{"type":"timestamp"},"State":{},"StateReason":{"shape":"Sq"},"WorkspaceId":{}}},"Sq":{"type":"structure","members":{"ErrorCode":{},"ErrorMessage":{}}},"Su":{"type":"list","member":{"type":"structure","members":{"ipRule":{},"ruleDesc":{}}}},"S14":{"type":"list","member":{"type":"structure","required":["Key"],"members":{"Key":{},"Value":{}}}},"S1p":{"type":"structure","required":["PrimaryWorkspaceId","DirectoryId"],"members":{"PrimaryWorkspaceId":{},"VolumeEncryptionKey":{},"DirectoryId":{},"Tags":{"shape":"S14"},"DataReplication":{}}},"S28":{"type":"structure","members":{"Name":{}}},"S2a":{"type":"structure","required":["Capacity"],"members":{"Capacity":{}}},"S2b":{"type":"structure","required":["Capacity"],"members":{"Capacity":{}}},"S2d":{"type":"structure","members":{"BundleId":{},"Name":{},"Owner":{},"Description":{},"ImageId":{},"RootStorage":{"shape":"S2b"},"UserStorage":{"shape":"S2a"},"ComputeType":{"shape":"S28"},"LastUpdatedTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"State":{},"BundleType":{}}},"S2k":{"type":"structure","members":{"Type":{}}},"S2q":{"type":"structure","required":["DirectoryId","UserName","BundleId"],"members":{"DirectoryId":{},"UserName":{},"BundleId":{},"VolumeEncryptionKey":{},"UserVolumeEncryptionEnabled":{"type":"boolean"},"RootVolumeEncryptionEnabled":{"type":"boolean"},"WorkspaceProperties":{"shape":"S2s"},"Tags":{"shape":"S14"},"WorkspaceName":{}}},"S2s":{"type":"structure","members":{"RunningMode":{},"RunningModeAutoStopTimeoutInMinutes":{"type":"integer"},"RootVolumeSizeGib":{"type":"integer"},"UserVolumeSizeGib":{"type":"integer"},"ComputeTypeName":{},"Protocols":{"type":"list","member":{}},"OperatingSystemName":{}}},"S35":{"type":"list","member":{"type":"structure","members":{"WorkspaceId":{},"DirectoryId":{},"UserName":{},"IpAddress":{},"State":{},"BundleId":{},"SubnetId":{},"ErrorMessage":{},"ErrorCode":{},"ComputerName":{},"VolumeEncryptionKey":{},"UserVolumeEncryptionEnabled":{"type":"boolean"},"RootVolumeEncryptionEnabled":{"type":"boolean"},"WorkspaceName":{},"WorkspaceProperties":{"shape":"S2s"},"ModificationStates":{"type":"list","member":{"type":"structure","members":{"Resource":{},"State":{}}}},"RelatedWorkspaces":{"type":"list","member":{"type":"structure","members":{"WorkspaceId":{},"Region":{},"State":{},"Type":{}}}},"DataReplicationSettings":{"type":"structure","members":{"DataReplication":{},"RecoverySnapshotTime":{"type":"timestamp"}}},"StandbyWorkspacesProperties":{"type":"list","member":{"type":"structure","members":{"StandbyWorkspaceId":{},"DataReplication":{},"RecoverySnapshotTime":{"type":"timestamp"}}}}}}},"S3n":{"type":"structure","required":["DesiredUserSessions"],"members":{"DesiredUserSessions":{"type":"integer"}}},"S3p":{"type":"structure","required":["Status"],"members":{"Status":{},"SettingsGroup":{}}},"S3s":{"type":"structure","members":{"DisconnectTimeoutInSeconds":{"type":"integer"},"IdleDisconnectTimeoutInSeconds":{"type":"integer"},"MaxUserDurationInSeconds":{"type":"integer"}}},"S3x":{"type":"structure","required":["PoolId","PoolArn","CapacityStatus","PoolName","State","CreatedAt","BundleId","DirectoryId"],"members":{"PoolId":{},"PoolArn":{},"CapacityStatus":{"type":"structure","required":["AvailableUserSessions","DesiredUserSessions","ActualUserSessions","ActiveUserSessions"],"members":{"AvailableUserSessions":{"type":"integer"},"DesiredUserSessions":{"type":"integer"},"ActualUserSessions":{"type":"integer"},"ActiveUserSessions":{"type":"integer"}}},"PoolName":{},"Description":{},"State":{},"CreatedAt":{"type":"timestamp"},"BundleId":{},"DirectoryId":{},"Errors":{"type":"list","member":{"type":"structure","members":{"ErrorCode":{},"ErrorMessage":{}}}},"ApplicationSettings":{"type":"structure","required":["Status"],"members":{"Status":{},"SettingsGroup":{},"S3BucketName":{}}},"TimeoutSettings":{"shape":"S3s"}}},"S4x":{"type":"list","member":{"shape":"Sm"}},"S5k":{"type":"list","member":{}},"S5m":{"type":"list","member":{}},"S60":{"type":"structure","members":{"LogoUrl":{},"SupportEmail":{},"SupportLink":{},"ForgotPasswordLink":{},"LoginMessage":{"shape":"S63"}}},"S63":{"type":"map","key":{},"value":{}},"S66":{"type":"structure","members":{"LogoUrl":{},"Logo2xUrl":{},"Logo3xUrl":{},"SupportEmail":{},"SupportLink":{},"ForgotPasswordLink":{},"LoginMessage":{"shape":"S63"}}},"S6c":{"type":"structure","members":{"ReconnectEnabled":{},"LogUploadEnabled":{}}},"S6m":{"type":"structure","required":["SharedAccountId","AllowAssociation"],"members":{"SharedAccountId":{},"AllowAssociation":{"type":"boolean"}}},"S7u":{"type":"list","member":{}},"S81":{"type":"structure","members":{"DeviceTypeWindows":{},"DeviceTypeOsx":{},"DeviceTypeWeb":{},"DeviceTypeIos":{},"DeviceTypeAndroid":{},"DeviceTypeChromeOs":{},"DeviceTypeZeroClient":{},"DeviceTypeLinux":{}}},"S84":{"type":"structure","members":{"RestartWorkspace":{},"IncreaseVolumeSize":{},"ChangeComputeType":{},"SwitchRunningMode":{},"RebuildWorkspace":{}}},"S85":{"type":"structure","members":{"Status":{},"UserAccessUrl":{},"RelayStateParameterName":{}}},"S88":{"type":"structure","members":{"Status":{},"CertificateAuthorityArn":{}}},"S8b":{"type":"structure","members":{"TenantId":{},"ApplicationConfigSecretArn":{}}},"S8i":{"type":"structure","required":["DomainName","ServiceAccountSecretArn"],"members":{"DomainName":{},"ServiceAccountSecretArn":{}}},"S8k":{"type":"structure","members":{"StreamingExperiencePreferredProtocol":{},"UserSettings":{"type":"list","member":{"type":"structure","required":["Action","Permission"],"members":{"Action":{},"Permission":{},"MaximumLength":{"type":"integer"}}}},"StorageConnectors":{"type":"list","member":{"type":"structure","required":["ConnectorType","Status"],"members":{"ConnectorType":{},"Status":{}}}}}},"S9c":{"type":"list","member":{"type":"structure","members":{"SnapshotTime":{"type":"timestamp"}}}},"S9f":{"type":"list","member":{}},"Saf":{"type":"structure","members":{"Logo":{"type":"blob"},"SupportEmail":{},"SupportLink":{},"ForgotPasswordLink":{},"LoginMessage":{"shape":"S63"}}},"Sbz":{"type":"structure","members":{"WorkspaceId":{},"ErrorCode":{},"ErrorMessage":{}}}}} /***/ }), /* 528 */ @@ -59847,7 +59847,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 907 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2019-12-02","endpointPrefix":"iotsitewise","jsonVersion":"1.1","protocol":"rest-json","protocols":["rest-json"],"serviceFullName":"AWS IoT SiteWise","serviceId":"IoTSiteWise","signatureVersion":"v4","signingName":"iotsitewise","uid":"iotsitewise-2019-12-02","auth":["aws.auth#sigv4"]},"operations":{"AssociateAssets":{"http":{"requestUri":"/assets/{assetId}/associate"},"input":{"type":"structure","required":["assetId","hierarchyId","childAssetId"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"hierarchyId":{},"childAssetId":{},"clientToken":{"idempotencyToken":true}}},"endpoint":{"hostPrefix":"api."}},"AssociateTimeSeriesToAssetProperty":{"http":{"requestUri":"/timeseries/associate/"},"input":{"type":"structure","required":["alias","assetId","propertyId"],"members":{"alias":{"location":"querystring","locationName":"alias"},"assetId":{"location":"querystring","locationName":"assetId"},"propertyId":{"location":"querystring","locationName":"propertyId"},"clientToken":{"idempotencyToken":true}}},"endpoint":{"hostPrefix":"api."}},"BatchAssociateProjectAssets":{"http":{"requestUri":"/projects/{projectId}/assets/associate","responseCode":200},"input":{"type":"structure","required":["projectId","assetIds"],"members":{"projectId":{"location":"uri","locationName":"projectId"},"assetIds":{"shape":"S8"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"errors":{"type":"list","member":{"shape":"Sb"}}}},"endpoint":{"hostPrefix":"monitor."}},"BatchDisassociateProjectAssets":{"http":{"requestUri":"/projects/{projectId}/assets/disassociate","responseCode":200},"input":{"type":"structure","required":["projectId","assetIds"],"members":{"projectId":{"location":"uri","locationName":"projectId"},"assetIds":{"shape":"S8"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"errors":{"type":"list","member":{"shape":"Sb"}}}},"endpoint":{"hostPrefix":"monitor."}},"BatchGetAssetPropertyAggregates":{"http":{"requestUri":"/properties/batch/aggregates"},"input":{"type":"structure","required":["entries"],"members":{"entries":{"type":"list","member":{"type":"structure","required":["entryId","aggregateTypes","resolution","startDate","endDate"],"members":{"entryId":{},"assetId":{},"propertyId":{},"propertyAlias":{},"aggregateTypes":{"shape":"Sm"},"resolution":{},"startDate":{"type":"timestamp"},"endDate":{"type":"timestamp"},"qualities":{"shape":"Sq"},"timeOrdering":{}}}},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","required":["errorEntries","successEntries","skippedEntries"],"members":{"errorEntries":{"type":"list","member":{"type":"structure","required":["errorCode","errorMessage","entryId"],"members":{"errorCode":{},"errorMessage":{},"entryId":{}}}},"successEntries":{"type":"list","member":{"type":"structure","required":["entryId","aggregatedValues"],"members":{"entryId":{},"aggregatedValues":{"shape":"S12"}}}},"skippedEntries":{"type":"list","member":{"type":"structure","required":["entryId","completionStatus"],"members":{"entryId":{},"completionStatus":{},"errorInfo":{"type":"structure","required":["errorCode","errorTimestamp"],"members":{"errorCode":{},"errorTimestamp":{"type":"timestamp"}}}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"data."}},"BatchGetAssetPropertyValue":{"http":{"requestUri":"/properties/batch/latest"},"input":{"type":"structure","required":["entries"],"members":{"entries":{"type":"list","member":{"type":"structure","required":["entryId"],"members":{"entryId":{},"assetId":{},"propertyId":{},"propertyAlias":{}}}},"nextToken":{}}},"output":{"type":"structure","required":["errorEntries","successEntries","skippedEntries"],"members":{"errorEntries":{"type":"list","member":{"type":"structure","required":["errorCode","errorMessage","entryId"],"members":{"errorCode":{},"errorMessage":{},"entryId":{}}}},"successEntries":{"type":"list","member":{"type":"structure","required":["entryId"],"members":{"entryId":{},"assetPropertyValue":{"shape":"S1j"}}}},"skippedEntries":{"type":"list","member":{"type":"structure","required":["entryId","completionStatus"],"members":{"entryId":{},"completionStatus":{},"errorInfo":{"type":"structure","required":["errorCode","errorTimestamp"],"members":{"errorCode":{},"errorTimestamp":{"type":"timestamp"}}}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"data."}},"BatchGetAssetPropertyValueHistory":{"http":{"requestUri":"/properties/batch/history"},"input":{"type":"structure","required":["entries"],"members":{"entries":{"type":"list","member":{"type":"structure","required":["entryId"],"members":{"entryId":{},"assetId":{},"propertyId":{},"propertyAlias":{},"startDate":{"type":"timestamp"},"endDate":{"type":"timestamp"},"qualities":{"shape":"Sq"},"timeOrdering":{}}}},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","required":["errorEntries","successEntries","skippedEntries"],"members":{"errorEntries":{"type":"list","member":{"type":"structure","required":["errorCode","errorMessage","entryId"],"members":{"errorCode":{},"errorMessage":{},"entryId":{}}}},"successEntries":{"type":"list","member":{"type":"structure","required":["entryId","assetPropertyValueHistory"],"members":{"entryId":{},"assetPropertyValueHistory":{"shape":"S25"}}}},"skippedEntries":{"type":"list","member":{"type":"structure","required":["entryId","completionStatus"],"members":{"entryId":{},"completionStatus":{},"errorInfo":{"type":"structure","required":["errorCode","errorTimestamp"],"members":{"errorCode":{},"errorTimestamp":{"type":"timestamp"}}}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"data."}},"BatchPutAssetPropertyValue":{"http":{"requestUri":"/properties"},"input":{"type":"structure","required":["entries"],"members":{"entries":{"type":"list","member":{"type":"structure","required":["entryId","propertyValues"],"members":{"entryId":{},"assetId":{},"propertyId":{},"propertyAlias":{},"propertyValues":{"type":"list","member":{"shape":"S1j"}}}}}}},"output":{"type":"structure","required":["errorEntries"],"members":{"errorEntries":{"type":"list","member":{"type":"structure","required":["entryId","errors"],"members":{"entryId":{},"errors":{"type":"list","member":{"type":"structure","required":["errorCode","errorMessage","timestamps"],"members":{"errorCode":{},"errorMessage":{},"timestamps":{"type":"list","member":{"shape":"S1p"}}}}}}}}}},"endpoint":{"hostPrefix":"data."}},"CreateAccessPolicy":{"http":{"requestUri":"/access-policies","responseCode":201},"input":{"type":"structure","required":["accessPolicyIdentity","accessPolicyResource","accessPolicyPermission"],"members":{"accessPolicyIdentity":{"shape":"S2l"},"accessPolicyResource":{"shape":"S2s"},"accessPolicyPermission":{},"clientToken":{"idempotencyToken":true},"tags":{"shape":"S2w"}}},"output":{"type":"structure","required":["accessPolicyId","accessPolicyArn"],"members":{"accessPolicyId":{},"accessPolicyArn":{}}},"endpoint":{"hostPrefix":"monitor."}},"CreateAsset":{"http":{"requestUri":"/assets","responseCode":202},"input":{"type":"structure","required":["assetName","assetModelId"],"members":{"assetName":{},"assetModelId":{},"clientToken":{"idempotencyToken":true},"tags":{"shape":"S2w"},"assetDescription":{},"assetId":{},"assetExternalId":{}}},"output":{"type":"structure","required":["assetId","assetArn","assetStatus"],"members":{"assetId":{},"assetArn":{},"assetStatus":{"shape":"S35"}}},"endpoint":{"hostPrefix":"api."}},"CreateAssetModel":{"http":{"requestUri":"/asset-models","responseCode":202},"input":{"type":"structure","required":["assetModelName"],"members":{"assetModelName":{},"assetModelDescription":{},"assetModelProperties":{"shape":"S3e"},"assetModelHierarchies":{"type":"list","member":{"type":"structure","required":["name","childAssetModelId"],"members":{"name":{},"childAssetModelId":{},"id":{},"externalId":{}}}},"assetModelCompositeModels":{"type":"list","member":{"type":"structure","required":["name","type"],"members":{"name":{},"description":{},"type":{},"properties":{"shape":"S3e"},"id":{},"externalId":{}}}},"clientToken":{"idempotencyToken":true},"tags":{"shape":"S2w"},"assetModelId":{},"assetModelExternalId":{},"assetModelType":{}}},"output":{"type":"structure","required":["assetModelId","assetModelArn","assetModelStatus"],"members":{"assetModelId":{},"assetModelArn":{},"assetModelStatus":{"shape":"S4c"}}},"endpoint":{"hostPrefix":"api."}},"CreateAssetModelCompositeModel":{"http":{"requestUri":"/asset-models/{assetModelId}/composite-models","responseCode":202},"input":{"type":"structure","required":["assetModelId","assetModelCompositeModelName","assetModelCompositeModelType"],"members":{"assetModelId":{"location":"uri","locationName":"assetModelId"},"parentAssetModelCompositeModelId":{},"assetModelCompositeModelExternalId":{},"assetModelCompositeModelId":{},"assetModelCompositeModelDescription":{},"assetModelCompositeModelName":{},"assetModelCompositeModelType":{},"clientToken":{"idempotencyToken":true},"composedAssetModelId":{},"assetModelCompositeModelProperties":{"shape":"S3e"}}},"output":{"type":"structure","required":["assetModelCompositeModelId","assetModelCompositeModelPath","assetModelStatus"],"members":{"assetModelCompositeModelId":{},"assetModelCompositeModelPath":{"shape":"S4g"},"assetModelStatus":{"shape":"S4c"}}},"endpoint":{"hostPrefix":"api."}},"CreateBulkImportJob":{"http":{"requestUri":"/jobs","responseCode":202},"input":{"type":"structure","required":["jobName","jobRoleArn","files","errorReportLocation","jobConfiguration"],"members":{"jobName":{},"jobRoleArn":{},"files":{"shape":"S4j"},"errorReportLocation":{"shape":"S4n"},"jobConfiguration":{"shape":"S4o"},"adaptiveIngestion":{"type":"boolean"},"deleteFilesAfterImport":{"type":"boolean"}}},"output":{"type":"structure","required":["jobId","jobName","jobStatus"],"members":{"jobId":{},"jobName":{},"jobStatus":{}}},"endpoint":{"hostPrefix":"data."}},"CreateDashboard":{"http":{"requestUri":"/dashboards","responseCode":201},"input":{"type":"structure","required":["projectId","dashboardName","dashboardDefinition"],"members":{"projectId":{},"dashboardName":{},"dashboardDescription":{},"dashboardDefinition":{},"clientToken":{"idempotencyToken":true},"tags":{"shape":"S2w"}}},"output":{"type":"structure","required":["dashboardId","dashboardArn"],"members":{"dashboardId":{},"dashboardArn":{}}},"endpoint":{"hostPrefix":"monitor."}},"CreateGateway":{"http":{"requestUri":"/20200301/gateways","responseCode":201},"input":{"type":"structure","required":["gatewayName","gatewayPlatform"],"members":{"gatewayName":{},"gatewayPlatform":{"shape":"S53"},"tags":{"shape":"S2w"}}},"output":{"type":"structure","required":["gatewayId","gatewayArn"],"members":{"gatewayId":{},"gatewayArn":{}}},"endpoint":{"hostPrefix":"api."}},"CreatePortal":{"http":{"requestUri":"/portals","responseCode":202},"input":{"type":"structure","required":["portalName","portalContactEmail","roleArn"],"members":{"portalName":{},"portalDescription":{},"portalContactEmail":{},"clientToken":{"idempotencyToken":true},"portalLogoImageFile":{"shape":"S5c"},"roleArn":{},"tags":{"shape":"S2w"},"portalAuthMode":{},"notificationSenderEmail":{},"alarms":{"shape":"S5g"}}},"output":{"type":"structure","required":["portalId","portalArn","portalStartUrl","portalStatus","ssoApplicationId"],"members":{"portalId":{},"portalArn":{},"portalStartUrl":{},"portalStatus":{"shape":"S5j"},"ssoApplicationId":{}}},"endpoint":{"hostPrefix":"monitor."}},"CreateProject":{"http":{"requestUri":"/projects","responseCode":201},"input":{"type":"structure","required":["portalId","projectName"],"members":{"portalId":{},"projectName":{},"projectDescription":{},"clientToken":{"idempotencyToken":true},"tags":{"shape":"S2w"}}},"output":{"type":"structure","required":["projectId","projectArn"],"members":{"projectId":{},"projectArn":{}}},"endpoint":{"hostPrefix":"monitor."}},"DeleteAccessPolicy":{"http":{"method":"DELETE","requestUri":"/access-policies/{accessPolicyId}","responseCode":204},"input":{"type":"structure","required":["accessPolicyId"],"members":{"accessPolicyId":{"location":"uri","locationName":"accessPolicyId"},"clientToken":{"idempotencyToken":true,"location":"querystring","locationName":"clientToken"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"monitor."}},"DeleteAsset":{"http":{"method":"DELETE","requestUri":"/assets/{assetId}","responseCode":202},"input":{"type":"structure","required":["assetId"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"clientToken":{"idempotencyToken":true,"location":"querystring","locationName":"clientToken"}}},"output":{"type":"structure","required":["assetStatus"],"members":{"assetStatus":{"shape":"S35"}}},"endpoint":{"hostPrefix":"api."}},"DeleteAssetModel":{"http":{"method":"DELETE","requestUri":"/asset-models/{assetModelId}","responseCode":202},"input":{"type":"structure","required":["assetModelId"],"members":{"assetModelId":{"location":"uri","locationName":"assetModelId"},"clientToken":{"idempotencyToken":true,"location":"querystring","locationName":"clientToken"}}},"output":{"type":"structure","required":["assetModelStatus"],"members":{"assetModelStatus":{"shape":"S4c"}}},"endpoint":{"hostPrefix":"api."}},"DeleteAssetModelCompositeModel":{"http":{"method":"DELETE","requestUri":"/asset-models/{assetModelId}/composite-models/{assetModelCompositeModelId}","responseCode":202},"input":{"type":"structure","required":["assetModelId","assetModelCompositeModelId"],"members":{"assetModelId":{"location":"uri","locationName":"assetModelId"},"assetModelCompositeModelId":{"location":"uri","locationName":"assetModelCompositeModelId"},"clientToken":{"idempotencyToken":true,"location":"querystring","locationName":"clientToken"}}},"output":{"type":"structure","required":["assetModelStatus"],"members":{"assetModelStatus":{"shape":"S4c"}}},"endpoint":{"hostPrefix":"api."}},"DeleteDashboard":{"http":{"method":"DELETE","requestUri":"/dashboards/{dashboardId}","responseCode":204},"input":{"type":"structure","required":["dashboardId"],"members":{"dashboardId":{"location":"uri","locationName":"dashboardId"},"clientToken":{"idempotencyToken":true,"location":"querystring","locationName":"clientToken"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"monitor."}},"DeleteGateway":{"http":{"method":"DELETE","requestUri":"/20200301/gateways/{gatewayId}"},"input":{"type":"structure","required":["gatewayId"],"members":{"gatewayId":{"location":"uri","locationName":"gatewayId"}}},"endpoint":{"hostPrefix":"api."}},"DeletePortal":{"http":{"method":"DELETE","requestUri":"/portals/{portalId}","responseCode":202},"input":{"type":"structure","required":["portalId"],"members":{"portalId":{"location":"uri","locationName":"portalId"},"clientToken":{"idempotencyToken":true,"location":"querystring","locationName":"clientToken"}}},"output":{"type":"structure","required":["portalStatus"],"members":{"portalStatus":{"shape":"S5j"}}},"endpoint":{"hostPrefix":"monitor."}},"DeleteProject":{"http":{"method":"DELETE","requestUri":"/projects/{projectId}","responseCode":204},"input":{"type":"structure","required":["projectId"],"members":{"projectId":{"location":"uri","locationName":"projectId"},"clientToken":{"idempotencyToken":true,"location":"querystring","locationName":"clientToken"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"monitor."}},"DeleteTimeSeries":{"http":{"requestUri":"/timeseries/delete/"},"input":{"type":"structure","members":{"alias":{"location":"querystring","locationName":"alias"},"assetId":{"location":"querystring","locationName":"assetId"},"propertyId":{"location":"querystring","locationName":"propertyId"},"clientToken":{"idempotencyToken":true}}},"endpoint":{"hostPrefix":"api."}},"DescribeAccessPolicy":{"http":{"method":"GET","requestUri":"/access-policies/{accessPolicyId}","responseCode":200},"input":{"type":"structure","required":["accessPolicyId"],"members":{"accessPolicyId":{"location":"uri","locationName":"accessPolicyId"}}},"output":{"type":"structure","required":["accessPolicyId","accessPolicyArn","accessPolicyIdentity","accessPolicyResource","accessPolicyPermission","accessPolicyCreationDate","accessPolicyLastUpdateDate"],"members":{"accessPolicyId":{},"accessPolicyArn":{},"accessPolicyIdentity":{"shape":"S2l"},"accessPolicyResource":{"shape":"S2s"},"accessPolicyPermission":{},"accessPolicyCreationDate":{"type":"timestamp"},"accessPolicyLastUpdateDate":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"monitor."}},"DescribeAction":{"http":{"method":"GET","requestUri":"/actions/{actionId}"},"input":{"type":"structure","required":["actionId"],"members":{"actionId":{"location":"uri","locationName":"actionId"}}},"output":{"type":"structure","required":["actionId","targetResource","actionDefinitionId","actionPayload","executionTime"],"members":{"actionId":{},"targetResource":{"shape":"S6b"},"actionDefinitionId":{},"actionPayload":{"shape":"S6c"},"executionTime":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"api."}},"DescribeAsset":{"http":{"method":"GET","requestUri":"/assets/{assetId}"},"input":{"type":"structure","required":["assetId"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"excludeProperties":{"location":"querystring","locationName":"excludeProperties","type":"boolean"}}},"output":{"type":"structure","required":["assetId","assetArn","assetName","assetModelId","assetProperties","assetHierarchies","assetCreationDate","assetLastUpdateDate","assetStatus"],"members":{"assetId":{},"assetArn":{},"assetName":{},"assetModelId":{},"assetProperties":{"shape":"S6h"},"assetHierarchies":{"shape":"S6o"},"assetCompositeModels":{"type":"list","member":{"type":"structure","required":["name","type","properties"],"members":{"name":{},"description":{},"type":{},"properties":{"shape":"S6h"},"id":{},"externalId":{}}}},"assetCreationDate":{"type":"timestamp"},"assetLastUpdateDate":{"type":"timestamp"},"assetStatus":{"shape":"S35"},"assetDescription":{},"assetCompositeModelSummaries":{"shape":"S6s"},"assetExternalId":{}}},"endpoint":{"hostPrefix":"api."}},"DescribeAssetCompositeModel":{"http":{"method":"GET","requestUri":"/assets/{assetId}/composite-models/{assetCompositeModelId}"},"input":{"type":"structure","required":["assetId","assetCompositeModelId"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"assetCompositeModelId":{"location":"uri","locationName":"assetCompositeModelId"}}},"output":{"type":"structure","required":["assetId","assetCompositeModelId","assetCompositeModelPath","assetCompositeModelName","assetCompositeModelDescription","assetCompositeModelType","assetCompositeModelProperties","assetCompositeModelSummaries"],"members":{"assetId":{},"assetCompositeModelId":{},"assetCompositeModelExternalId":{},"assetCompositeModelPath":{"shape":"S6u"},"assetCompositeModelName":{},"assetCompositeModelDescription":{},"assetCompositeModelType":{},"assetCompositeModelProperties":{"shape":"S6h"},"assetCompositeModelSummaries":{"shape":"S6s"},"actionDefinitions":{"shape":"S6y"}}},"endpoint":{"hostPrefix":"api."}},"DescribeAssetModel":{"http":{"method":"GET","requestUri":"/asset-models/{assetModelId}"},"input":{"type":"structure","required":["assetModelId"],"members":{"assetModelId":{"location":"uri","locationName":"assetModelId"},"excludeProperties":{"location":"querystring","locationName":"excludeProperties","type":"boolean"}}},"output":{"type":"structure","required":["assetModelId","assetModelArn","assetModelName","assetModelDescription","assetModelProperties","assetModelHierarchies","assetModelCreationDate","assetModelLastUpdateDate","assetModelStatus"],"members":{"assetModelId":{},"assetModelArn":{},"assetModelName":{},"assetModelDescription":{},"assetModelProperties":{"shape":"S72"},"assetModelHierarchies":{"shape":"S74"},"assetModelCompositeModels":{"shape":"S76"},"assetModelCreationDate":{"type":"timestamp"},"assetModelLastUpdateDate":{"type":"timestamp"},"assetModelStatus":{"shape":"S4c"},"assetModelType":{},"assetModelCompositeModelSummaries":{"shape":"S78"},"assetModelExternalId":{}}},"endpoint":{"hostPrefix":"api."}},"DescribeAssetModelCompositeModel":{"http":{"method":"GET","requestUri":"/asset-models/{assetModelId}/composite-models/{assetModelCompositeModelId}"},"input":{"type":"structure","required":["assetModelId","assetModelCompositeModelId"],"members":{"assetModelId":{"location":"uri","locationName":"assetModelId"},"assetModelCompositeModelId":{"location":"uri","locationName":"assetModelCompositeModelId"}}},"output":{"type":"structure","required":["assetModelId","assetModelCompositeModelId","assetModelCompositeModelPath","assetModelCompositeModelName","assetModelCompositeModelDescription","assetModelCompositeModelType","assetModelCompositeModelProperties","assetModelCompositeModelSummaries"],"members":{"assetModelId":{},"assetModelCompositeModelId":{},"assetModelCompositeModelExternalId":{},"assetModelCompositeModelPath":{"shape":"S4g"},"assetModelCompositeModelName":{},"assetModelCompositeModelDescription":{},"assetModelCompositeModelType":{},"assetModelCompositeModelProperties":{"shape":"S72"},"compositionDetails":{"type":"structure","members":{"compositionRelationship":{"type":"list","member":{"type":"structure","members":{"id":{}}}}}},"assetModelCompositeModelSummaries":{"shape":"S78"},"actionDefinitions":{"shape":"S6y"}}},"endpoint":{"hostPrefix":"api."}},"DescribeAssetProperty":{"http":{"method":"GET","requestUri":"/assets/{assetId}/properties/{propertyId}"},"input":{"type":"structure","required":["assetId","propertyId"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"propertyId":{"location":"uri","locationName":"propertyId"}}},"output":{"type":"structure","required":["assetId","assetName","assetModelId"],"members":{"assetId":{},"assetName":{},"assetModelId":{},"assetProperty":{"shape":"S7h"},"compositeModel":{"type":"structure","required":["name","type","assetProperty"],"members":{"name":{},"type":{},"assetProperty":{"shape":"S7h"},"id":{},"externalId":{}}},"assetExternalId":{}}},"endpoint":{"hostPrefix":"api."}},"DescribeBulkImportJob":{"http":{"method":"GET","requestUri":"/jobs/{jobId}"},"input":{"type":"structure","required":["jobId"],"members":{"jobId":{"location":"uri","locationName":"jobId"}}},"output":{"type":"structure","required":["jobId","jobName","jobStatus","jobRoleArn","files","errorReportLocation","jobConfiguration","jobCreationDate","jobLastUpdateDate"],"members":{"jobId":{},"jobName":{},"jobStatus":{},"jobRoleArn":{},"files":{"shape":"S4j"},"errorReportLocation":{"shape":"S4n"},"jobConfiguration":{"shape":"S4o"},"jobCreationDate":{"type":"timestamp"},"jobLastUpdateDate":{"type":"timestamp"},"adaptiveIngestion":{"type":"boolean"},"deleteFilesAfterImport":{"type":"boolean"}}},"endpoint":{"hostPrefix":"data."}},"DescribeDashboard":{"http":{"method":"GET","requestUri":"/dashboards/{dashboardId}","responseCode":200},"input":{"type":"structure","required":["dashboardId"],"members":{"dashboardId":{"location":"uri","locationName":"dashboardId"}}},"output":{"type":"structure","required":["dashboardId","dashboardArn","dashboardName","projectId","dashboardDefinition","dashboardCreationDate","dashboardLastUpdateDate"],"members":{"dashboardId":{},"dashboardArn":{},"dashboardName":{},"projectId":{},"dashboardDescription":{},"dashboardDefinition":{},"dashboardCreationDate":{"type":"timestamp"},"dashboardLastUpdateDate":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"monitor."}},"DescribeDefaultEncryptionConfiguration":{"http":{"method":"GET","requestUri":"/configuration/account/encryption"},"input":{"type":"structure","members":{}},"output":{"type":"structure","required":["encryptionType","configurationStatus"],"members":{"encryptionType":{},"kmsKeyArn":{},"configurationStatus":{"shape":"S7q"}}},"endpoint":{"hostPrefix":"api."}},"DescribeGateway":{"http":{"method":"GET","requestUri":"/20200301/gateways/{gatewayId}"},"input":{"type":"structure","required":["gatewayId"],"members":{"gatewayId":{"location":"uri","locationName":"gatewayId"}}},"output":{"type":"structure","required":["gatewayId","gatewayName","gatewayArn","gatewayCapabilitySummaries","creationDate","lastUpdateDate"],"members":{"gatewayId":{},"gatewayName":{},"gatewayArn":{},"gatewayPlatform":{"shape":"S53"},"gatewayCapabilitySummaries":{"shape":"S7v"},"creationDate":{"type":"timestamp"},"lastUpdateDate":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"api."}},"DescribeGatewayCapabilityConfiguration":{"http":{"method":"GET","requestUri":"/20200301/gateways/{gatewayId}/capability/{capabilityNamespace}"},"input":{"type":"structure","required":["gatewayId","capabilityNamespace"],"members":{"gatewayId":{"location":"uri","locationName":"gatewayId"},"capabilityNamespace":{"location":"uri","locationName":"capabilityNamespace"}}},"output":{"type":"structure","required":["gatewayId","capabilityNamespace","capabilityConfiguration","capabilitySyncStatus"],"members":{"gatewayId":{},"capabilityNamespace":{},"capabilityConfiguration":{},"capabilitySyncStatus":{}}},"endpoint":{"hostPrefix":"api."}},"DescribeLoggingOptions":{"http":{"method":"GET","requestUri":"/logging"},"input":{"type":"structure","members":{}},"output":{"type":"structure","required":["loggingOptions"],"members":{"loggingOptions":{"shape":"S84"}}},"endpoint":{"hostPrefix":"api."}},"DescribePortal":{"http":{"method":"GET","requestUri":"/portals/{portalId}","responseCode":200},"input":{"type":"structure","required":["portalId"],"members":{"portalId":{"location":"uri","locationName":"portalId"}}},"output":{"type":"structure","required":["portalId","portalArn","portalName","portalClientId","portalStartUrl","portalContactEmail","portalStatus","portalCreationDate","portalLastUpdateDate"],"members":{"portalId":{},"portalArn":{},"portalName":{},"portalDescription":{},"portalClientId":{},"portalStartUrl":{},"portalContactEmail":{},"portalStatus":{"shape":"S5j"},"portalCreationDate":{"type":"timestamp"},"portalLastUpdateDate":{"type":"timestamp"},"portalLogoImageLocation":{"type":"structure","required":["id","url"],"members":{"id":{},"url":{}}},"roleArn":{},"portalAuthMode":{},"notificationSenderEmail":{},"alarms":{"shape":"S5g"}}},"endpoint":{"hostPrefix":"monitor."}},"DescribeProject":{"http":{"method":"GET","requestUri":"/projects/{projectId}","responseCode":200},"input":{"type":"structure","required":["projectId"],"members":{"projectId":{"location":"uri","locationName":"projectId"}}},"output":{"type":"structure","required":["projectId","projectArn","projectName","portalId","projectCreationDate","projectLastUpdateDate"],"members":{"projectId":{},"projectArn":{},"projectName":{},"portalId":{},"projectDescription":{},"projectCreationDate":{"type":"timestamp"},"projectLastUpdateDate":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"monitor."}},"DescribeStorageConfiguration":{"http":{"method":"GET","requestUri":"/configuration/account/storage"},"input":{"type":"structure","members":{}},"output":{"type":"structure","required":["storageType","configurationStatus"],"members":{"storageType":{},"multiLayerStorage":{"shape":"S8f"},"disassociatedDataStorage":{},"retentionPeriod":{"shape":"S8i"},"configurationStatus":{"shape":"S7q"},"lastUpdateDate":{"type":"timestamp"},"warmTier":{},"warmTierRetentionPeriod":{"shape":"S8m"}}},"endpoint":{"hostPrefix":"api."}},"DescribeTimeSeries":{"http":{"method":"GET","requestUri":"/timeseries/describe/"},"input":{"type":"structure","members":{"alias":{"location":"querystring","locationName":"alias"},"assetId":{"location":"querystring","locationName":"assetId"},"propertyId":{"location":"querystring","locationName":"propertyId"}}},"output":{"type":"structure","required":["timeSeriesId","dataType","timeSeriesCreationDate","timeSeriesLastUpdateDate","timeSeriesArn"],"members":{"assetId":{},"propertyId":{},"alias":{},"timeSeriesId":{},"dataType":{},"dataTypeSpec":{},"timeSeriesCreationDate":{"type":"timestamp"},"timeSeriesLastUpdateDate":{"type":"timestamp"},"timeSeriesArn":{}}},"endpoint":{"hostPrefix":"api."}},"DisassociateAssets":{"http":{"requestUri":"/assets/{assetId}/disassociate"},"input":{"type":"structure","required":["assetId","hierarchyId","childAssetId"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"hierarchyId":{},"childAssetId":{},"clientToken":{"idempotencyToken":true}}},"endpoint":{"hostPrefix":"api."}},"DisassociateTimeSeriesFromAssetProperty":{"http":{"requestUri":"/timeseries/disassociate/"},"input":{"type":"structure","required":["alias","assetId","propertyId"],"members":{"alias":{"location":"querystring","locationName":"alias"},"assetId":{"location":"querystring","locationName":"assetId"},"propertyId":{"location":"querystring","locationName":"propertyId"},"clientToken":{"idempotencyToken":true}}},"endpoint":{"hostPrefix":"api."}},"ExecuteAction":{"http":{"requestUri":"/actions","responseCode":202},"input":{"type":"structure","required":["targetResource","actionDefinitionId","actionPayload"],"members":{"targetResource":{"shape":"S6b"},"actionDefinitionId":{},"actionPayload":{"shape":"S6c"},"clientToken":{}}},"output":{"type":"structure","required":["actionId"],"members":{"actionId":{}}},"endpoint":{"hostPrefix":"api."}},"ExecuteQuery":{"http":{"requestUri":"/queries/execution"},"input":{"type":"structure","required":["queryStatement"],"members":{"queryStatement":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"columns":{"type":"list","member":{"type":"structure","members":{"name":{},"type":{"type":"structure","members":{"scalarType":{}}}}}},"rows":{"type":"list","member":{"shape":"S94"}},"nextToken":{}}},"endpoint":{"hostPrefix":"data."}},"GetAssetPropertyAggregates":{"http":{"method":"GET","requestUri":"/properties/aggregates"},"input":{"type":"structure","required":["aggregateTypes","resolution","startDate","endDate"],"members":{"assetId":{"location":"querystring","locationName":"assetId"},"propertyId":{"location":"querystring","locationName":"propertyId"},"propertyAlias":{"location":"querystring","locationName":"propertyAlias"},"aggregateTypes":{"shape":"Sm","location":"querystring","locationName":"aggregateTypes"},"resolution":{"location":"querystring","locationName":"resolution"},"qualities":{"shape":"Sq","location":"querystring","locationName":"qualities"},"startDate":{"location":"querystring","locationName":"startDate","type":"timestamp"},"endDate":{"location":"querystring","locationName":"endDate","type":"timestamp"},"timeOrdering":{"location":"querystring","locationName":"timeOrdering"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["aggregatedValues"],"members":{"aggregatedValues":{"shape":"S12"},"nextToken":{}}},"endpoint":{"hostPrefix":"data."}},"GetAssetPropertyValue":{"http":{"method":"GET","requestUri":"/properties/latest"},"input":{"type":"structure","members":{"assetId":{"location":"querystring","locationName":"assetId"},"propertyId":{"location":"querystring","locationName":"propertyId"},"propertyAlias":{"location":"querystring","locationName":"propertyAlias"}}},"output":{"type":"structure","members":{"propertyValue":{"shape":"S1j"}}},"endpoint":{"hostPrefix":"data."}},"GetAssetPropertyValueHistory":{"http":{"method":"GET","requestUri":"/properties/history"},"input":{"type":"structure","members":{"assetId":{"location":"querystring","locationName":"assetId"},"propertyId":{"location":"querystring","locationName":"propertyId"},"propertyAlias":{"location":"querystring","locationName":"propertyAlias"},"startDate":{"location":"querystring","locationName":"startDate","type":"timestamp"},"endDate":{"location":"querystring","locationName":"endDate","type":"timestamp"},"qualities":{"shape":"Sq","location":"querystring","locationName":"qualities"},"timeOrdering":{"location":"querystring","locationName":"timeOrdering"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["assetPropertyValueHistory"],"members":{"assetPropertyValueHistory":{"shape":"S25"},"nextToken":{}}},"endpoint":{"hostPrefix":"data."}},"GetInterpolatedAssetPropertyValues":{"http":{"method":"GET","requestUri":"/properties/interpolated"},"input":{"type":"structure","required":["startTimeInSeconds","endTimeInSeconds","quality","intervalInSeconds","type"],"members":{"assetId":{"location":"querystring","locationName":"assetId"},"propertyId":{"location":"querystring","locationName":"propertyId"},"propertyAlias":{"location":"querystring","locationName":"propertyAlias"},"startTimeInSeconds":{"location":"querystring","locationName":"startTimeInSeconds","type":"long"},"startTimeOffsetInNanos":{"location":"querystring","locationName":"startTimeOffsetInNanos","type":"integer"},"endTimeInSeconds":{"location":"querystring","locationName":"endTimeInSeconds","type":"long"},"endTimeOffsetInNanos":{"location":"querystring","locationName":"endTimeOffsetInNanos","type":"integer"},"quality":{"location":"querystring","locationName":"quality"},"intervalInSeconds":{"location":"querystring","locationName":"intervalInSeconds","type":"long"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"type":{"location":"querystring","locationName":"type"},"intervalWindowInSeconds":{"location":"querystring","locationName":"intervalWindowInSeconds","type":"long"}}},"output":{"type":"structure","required":["interpolatedAssetPropertyValues"],"members":{"interpolatedAssetPropertyValues":{"type":"list","member":{"type":"structure","required":["timestamp","value"],"members":{"timestamp":{"shape":"S1p"},"value":{"shape":"S1k"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"data."}},"ListAccessPolicies":{"http":{"method":"GET","requestUri":"/access-policies","responseCode":200},"input":{"type":"structure","members":{"identityType":{"location":"querystring","locationName":"identityType"},"identityId":{"location":"querystring","locationName":"identityId"},"resourceType":{"location":"querystring","locationName":"resourceType"},"resourceId":{"location":"querystring","locationName":"resourceId"},"iamArn":{"location":"querystring","locationName":"iamArn"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["accessPolicySummaries"],"members":{"accessPolicySummaries":{"type":"list","member":{"type":"structure","required":["id","identity","resource","permission"],"members":{"id":{},"identity":{"shape":"S2l"},"resource":{"shape":"S2s"},"permission":{},"creationDate":{"type":"timestamp"},"lastUpdateDate":{"type":"timestamp"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"monitor."}},"ListActions":{"http":{"method":"GET","requestUri":"/actions"},"input":{"type":"structure","required":["targetResourceType","targetResourceId"],"members":{"targetResourceType":{"location":"querystring","locationName":"targetResourceType"},"targetResourceId":{"location":"querystring","locationName":"targetResourceId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["actionSummaries","nextToken"],"members":{"actionSummaries":{"type":"list","member":{"type":"structure","members":{"actionId":{},"actionDefinitionId":{},"targetResource":{"shape":"S6b"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListAssetModelCompositeModels":{"http":{"method":"GET","requestUri":"/asset-models/{assetModelId}/composite-models"},"input":{"type":"structure","required":["assetModelId"],"members":{"assetModelId":{"location":"uri","locationName":"assetModelId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["assetModelCompositeModelSummaries"],"members":{"assetModelCompositeModelSummaries":{"shape":"S78"},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListAssetModelProperties":{"http":{"method":"GET","requestUri":"/asset-models/{assetModelId}/properties"},"input":{"type":"structure","required":["assetModelId"],"members":{"assetModelId":{"location":"uri","locationName":"assetModelId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"filter":{"location":"querystring","locationName":"filter"}}},"output":{"type":"structure","required":["assetModelPropertySummaries"],"members":{"assetModelPropertySummaries":{"type":"list","member":{"type":"structure","required":["name","dataType","type"],"members":{"id":{},"name":{},"dataType":{},"dataTypeSpec":{},"unit":{},"type":{"shape":"S3i"},"assetModelCompositeModelId":{},"path":{"shape":"S3w"},"externalId":{}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListAssetModels":{"http":{"method":"GET","requestUri":"/asset-models"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"assetModelTypes":{"location":"querystring","locationName":"assetModelTypes","type":"list","member":{}}}},"output":{"type":"structure","required":["assetModelSummaries"],"members":{"assetModelSummaries":{"type":"list","member":{"type":"structure","required":["id","arn","name","description","creationDate","lastUpdateDate","status"],"members":{"id":{},"arn":{},"name":{},"description":{},"creationDate":{"type":"timestamp"},"lastUpdateDate":{"type":"timestamp"},"status":{"shape":"S4c"},"assetModelType":{},"externalId":{}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListAssetProperties":{"http":{"method":"GET","requestUri":"/assets/{assetId}/properties"},"input":{"type":"structure","required":["assetId"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"filter":{"location":"querystring","locationName":"filter"}}},"output":{"type":"structure","required":["assetPropertySummaries"],"members":{"assetPropertySummaries":{"type":"list","member":{"type":"structure","required":["id"],"members":{"id":{},"alias":{},"unit":{},"notification":{"shape":"S6j"},"assetCompositeModelId":{},"path":{"shape":"S6m"},"externalId":{}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListAssetRelationships":{"http":{"method":"GET","requestUri":"/assets/{assetId}/assetRelationships"},"input":{"type":"structure","required":["assetId","traversalType"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"traversalType":{"location":"querystring","locationName":"traversalType"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["assetRelationshipSummaries"],"members":{"assetRelationshipSummaries":{"type":"list","member":{"type":"structure","required":["relationshipType"],"members":{"hierarchyInfo":{"type":"structure","members":{"parentAssetId":{},"childAssetId":{}}},"relationshipType":{}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListAssets":{"http":{"method":"GET","requestUri":"/assets"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"assetModelId":{"location":"querystring","locationName":"assetModelId"},"filter":{"location":"querystring","locationName":"filter"}}},"output":{"type":"structure","required":["assetSummaries"],"members":{"assetSummaries":{"type":"list","member":{"type":"structure","required":["id","arn","name","assetModelId","creationDate","lastUpdateDate","status","hierarchies"],"members":{"id":{},"arn":{},"name":{},"assetModelId":{},"creationDate":{"type":"timestamp"},"lastUpdateDate":{"type":"timestamp"},"status":{"shape":"S35"},"hierarchies":{"shape":"S6o"},"description":{},"externalId":{}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListAssociatedAssets":{"http":{"method":"GET","requestUri":"/assets/{assetId}/hierarchies"},"input":{"type":"structure","required":["assetId"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"hierarchyId":{"location":"querystring","locationName":"hierarchyId"},"traversalDirection":{"location":"querystring","locationName":"traversalDirection"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["assetSummaries"],"members":{"assetSummaries":{"type":"list","member":{"type":"structure","required":["id","arn","name","assetModelId","creationDate","lastUpdateDate","status","hierarchies"],"members":{"id":{},"arn":{},"name":{},"assetModelId":{},"creationDate":{"type":"timestamp"},"lastUpdateDate":{"type":"timestamp"},"status":{"shape":"S35"},"hierarchies":{"shape":"S6o"},"description":{},"externalId":{}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListBulkImportJobs":{"http":{"method":"GET","requestUri":"/jobs"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"filter":{"location":"querystring","locationName":"filter"}}},"output":{"type":"structure","required":["jobSummaries"],"members":{"jobSummaries":{"type":"list","member":{"type":"structure","required":["id","name","status"],"members":{"id":{},"name":{},"status":{}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"data."}},"ListCompositionRelationships":{"http":{"method":"GET","requestUri":"/asset-models/{assetModelId}/composition-relationships"},"input":{"type":"structure","required":["assetModelId"],"members":{"assetModelId":{"location":"uri","locationName":"assetModelId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["compositionRelationshipSummaries"],"members":{"compositionRelationshipSummaries":{"type":"list","member":{"type":"structure","required":["assetModelId","assetModelCompositeModelId","assetModelCompositeModelType"],"members":{"assetModelId":{},"assetModelCompositeModelId":{},"assetModelCompositeModelType":{}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListDashboards":{"http":{"method":"GET","requestUri":"/dashboards","responseCode":200},"input":{"type":"structure","required":["projectId"],"members":{"projectId":{"location":"querystring","locationName":"projectId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["dashboardSummaries"],"members":{"dashboardSummaries":{"type":"list","member":{"type":"structure","required":["id","name"],"members":{"id":{},"name":{},"description":{},"creationDate":{"type":"timestamp"},"lastUpdateDate":{"type":"timestamp"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"monitor."}},"ListGateways":{"http":{"method":"GET","requestUri":"/20200301/gateways"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["gatewaySummaries"],"members":{"gatewaySummaries":{"type":"list","member":{"type":"structure","required":["gatewayId","gatewayName","creationDate","lastUpdateDate"],"members":{"gatewayId":{},"gatewayName":{},"gatewayPlatform":{"shape":"S53"},"gatewayCapabilitySummaries":{"shape":"S7v"},"creationDate":{"type":"timestamp"},"lastUpdateDate":{"type":"timestamp"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListPortals":{"http":{"method":"GET","requestUri":"/portals","responseCode":200},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"portalSummaries":{"type":"list","member":{"type":"structure","required":["id","name","startUrl","status"],"members":{"id":{},"name":{},"description":{},"startUrl":{},"creationDate":{"type":"timestamp"},"lastUpdateDate":{"type":"timestamp"},"roleArn":{},"status":{"shape":"S5j"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"monitor."}},"ListProjectAssets":{"http":{"method":"GET","requestUri":"/projects/{projectId}/assets","responseCode":200},"input":{"type":"structure","required":["projectId"],"members":{"projectId":{"location":"uri","locationName":"projectId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["assetIds"],"members":{"assetIds":{"type":"list","member":{}},"nextToken":{}}},"endpoint":{"hostPrefix":"monitor."}},"ListProjects":{"http":{"method":"GET","requestUri":"/projects","responseCode":200},"input":{"type":"structure","required":["portalId"],"members":{"portalId":{"location":"querystring","locationName":"portalId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["projectSummaries"],"members":{"projectSummaries":{"type":"list","member":{"type":"structure","required":["id","name"],"members":{"id":{},"name":{},"description":{},"creationDate":{"type":"timestamp"},"lastUpdateDate":{"type":"timestamp"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"monitor."}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags"},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"querystring","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"S2w"}}},"endpoint":{"hostPrefix":"api."}},"ListTimeSeries":{"http":{"method":"GET","requestUri":"/timeseries/"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"assetId":{"location":"querystring","locationName":"assetId"},"aliasPrefix":{"location":"querystring","locationName":"aliasPrefix"},"timeSeriesType":{"location":"querystring","locationName":"timeSeriesType"}}},"output":{"type":"structure","required":["TimeSeriesSummaries"],"members":{"TimeSeriesSummaries":{"type":"list","member":{"type":"structure","required":["timeSeriesId","dataType","timeSeriesCreationDate","timeSeriesLastUpdateDate","timeSeriesArn"],"members":{"assetId":{},"propertyId":{},"alias":{},"timeSeriesId":{},"dataType":{},"dataTypeSpec":{},"timeSeriesCreationDate":{"type":"timestamp"},"timeSeriesLastUpdateDate":{"type":"timestamp"},"timeSeriesArn":{}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"PutDefaultEncryptionConfiguration":{"http":{"requestUri":"/configuration/account/encryption"},"input":{"type":"structure","required":["encryptionType"],"members":{"encryptionType":{},"kmsKeyId":{}}},"output":{"type":"structure","required":["encryptionType","configurationStatus"],"members":{"encryptionType":{},"kmsKeyArn":{},"configurationStatus":{"shape":"S7q"}}},"endpoint":{"hostPrefix":"api."}},"PutLoggingOptions":{"http":{"method":"PUT","requestUri":"/logging"},"input":{"type":"structure","required":["loggingOptions"],"members":{"loggingOptions":{"shape":"S84"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"api."}},"PutStorageConfiguration":{"http":{"requestUri":"/configuration/account/storage"},"input":{"type":"structure","required":["storageType"],"members":{"storageType":{},"multiLayerStorage":{"shape":"S8f"},"disassociatedDataStorage":{},"retentionPeriod":{"shape":"S8i"},"warmTier":{},"warmTierRetentionPeriod":{"shape":"S8m"}}},"output":{"type":"structure","required":["storageType","configurationStatus"],"members":{"storageType":{},"multiLayerStorage":{"shape":"S8f"},"disassociatedDataStorage":{},"retentionPeriod":{"shape":"S8i"},"configurationStatus":{"shape":"S7q"},"warmTier":{},"warmTierRetentionPeriod":{"shape":"S8m"}}},"endpoint":{"hostPrefix":"api."}},"TagResource":{"http":{"requestUri":"/tags"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"querystring","locationName":"resourceArn"},"tags":{"shape":"S2w"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"api."}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags"},"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."}},"UpdateAccessPolicy":{"http":{"method":"PUT","requestUri":"/access-policies/{accessPolicyId}","responseCode":200},"input":{"type":"structure","required":["accessPolicyId","accessPolicyIdentity","accessPolicyResource","accessPolicyPermission"],"members":{"accessPolicyId":{"location":"uri","locationName":"accessPolicyId"},"accessPolicyIdentity":{"shape":"S2l"},"accessPolicyResource":{"shape":"S2s"},"accessPolicyPermission":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"monitor."}},"UpdateAsset":{"http":{"method":"PUT","requestUri":"/assets/{assetId}","responseCode":202},"input":{"type":"structure","required":["assetId","assetName"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"assetName":{},"clientToken":{"idempotencyToken":true},"assetDescription":{},"assetExternalId":{}}},"output":{"type":"structure","required":["assetStatus"],"members":{"assetStatus":{"shape":"S35"}}},"endpoint":{"hostPrefix":"api."}},"UpdateAssetModel":{"http":{"method":"PUT","requestUri":"/asset-models/{assetModelId}","responseCode":202},"input":{"type":"structure","required":["assetModelId","assetModelName"],"members":{"assetModelId":{"location":"uri","locationName":"assetModelId"},"assetModelName":{},"assetModelDescription":{},"assetModelProperties":{"shape":"S72"},"assetModelHierarchies":{"shape":"S74"},"assetModelCompositeModels":{"shape":"S76"},"clientToken":{"idempotencyToken":true},"assetModelExternalId":{}}},"output":{"type":"structure","required":["assetModelStatus"],"members":{"assetModelStatus":{"shape":"S4c"}}},"endpoint":{"hostPrefix":"api."}},"UpdateAssetModelCompositeModel":{"http":{"method":"PUT","requestUri":"/asset-models/{assetModelId}/composite-models/{assetModelCompositeModelId}","responseCode":202},"input":{"type":"structure","required":["assetModelId","assetModelCompositeModelId","assetModelCompositeModelName"],"members":{"assetModelId":{"location":"uri","locationName":"assetModelId"},"assetModelCompositeModelId":{"location":"uri","locationName":"assetModelCompositeModelId"},"assetModelCompositeModelExternalId":{},"assetModelCompositeModelDescription":{},"assetModelCompositeModelName":{},"clientToken":{"idempotencyToken":true},"assetModelCompositeModelProperties":{"shape":"S72"}}},"output":{"type":"structure","required":["assetModelCompositeModelPath","assetModelStatus"],"members":{"assetModelCompositeModelPath":{"shape":"S4g"},"assetModelStatus":{"shape":"S4c"}}},"endpoint":{"hostPrefix":"api."}},"UpdateAssetProperty":{"http":{"method":"PUT","requestUri":"/assets/{assetId}/properties/{propertyId}"},"input":{"type":"structure","required":["assetId","propertyId"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"propertyId":{"location":"uri","locationName":"propertyId"},"propertyAlias":{},"propertyNotificationState":{},"clientToken":{"idempotencyToken":true},"propertyUnit":{}}},"endpoint":{"hostPrefix":"api."}},"UpdateDashboard":{"http":{"method":"PUT","requestUri":"/dashboards/{dashboardId}","responseCode":200},"input":{"type":"structure","required":["dashboardId","dashboardName","dashboardDefinition"],"members":{"dashboardId":{"location":"uri","locationName":"dashboardId"},"dashboardName":{},"dashboardDescription":{},"dashboardDefinition":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"monitor."}},"UpdateGateway":{"http":{"method":"PUT","requestUri":"/20200301/gateways/{gatewayId}"},"input":{"type":"structure","required":["gatewayId","gatewayName"],"members":{"gatewayId":{"location":"uri","locationName":"gatewayId"},"gatewayName":{}}},"endpoint":{"hostPrefix":"api."}},"UpdateGatewayCapabilityConfiguration":{"http":{"requestUri":"/20200301/gateways/{gatewayId}/capability","responseCode":201},"input":{"type":"structure","required":["gatewayId","capabilityNamespace","capabilityConfiguration"],"members":{"gatewayId":{"location":"uri","locationName":"gatewayId"},"capabilityNamespace":{},"capabilityConfiguration":{}}},"output":{"type":"structure","required":["capabilityNamespace","capabilitySyncStatus"],"members":{"capabilityNamespace":{},"capabilitySyncStatus":{}}},"endpoint":{"hostPrefix":"api."}},"UpdatePortal":{"http":{"method":"PUT","requestUri":"/portals/{portalId}","responseCode":202},"input":{"type":"structure","required":["portalId","portalName","portalContactEmail","roleArn"],"members":{"portalId":{"location":"uri","locationName":"portalId"},"portalName":{},"portalDescription":{},"portalContactEmail":{},"portalLogoImage":{"type":"structure","members":{"id":{},"file":{"shape":"S5c"}}},"roleArn":{},"clientToken":{"idempotencyToken":true},"notificationSenderEmail":{},"alarms":{"shape":"S5g"}}},"output":{"type":"structure","required":["portalStatus"],"members":{"portalStatus":{"shape":"S5j"}}},"endpoint":{"hostPrefix":"monitor."}},"UpdateProject":{"http":{"method":"PUT","requestUri":"/projects/{projectId}","responseCode":200},"input":{"type":"structure","required":["projectId","projectName"],"members":{"projectId":{"location":"uri","locationName":"projectId"},"projectName":{},"projectDescription":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"monitor."}}},"shapes":{"S8":{"type":"list","member":{}},"Sb":{"type":"structure","required":["assetId","code","message"],"members":{"assetId":{},"code":{},"message":{}}},"Sm":{"type":"list","member":{}},"Sq":{"type":"list","member":{}},"S12":{"type":"list","member":{"type":"structure","required":["timestamp","value"],"members":{"timestamp":{"type":"timestamp"},"quality":{},"value":{"type":"structure","members":{"average":{"type":"double"},"count":{"type":"double"},"maximum":{"type":"double"},"minimum":{"type":"double"},"sum":{"type":"double"},"standardDeviation":{"type":"double"}}}}}},"S1j":{"type":"structure","required":["value","timestamp"],"members":{"value":{"shape":"S1k"},"timestamp":{"shape":"S1p"},"quality":{}}},"S1k":{"type":"structure","members":{"stringValue":{},"integerValue":{"type":"integer"},"doubleValue":{"type":"double"},"booleanValue":{"type":"boolean"}}},"S1p":{"type":"structure","required":["timeInSeconds"],"members":{"timeInSeconds":{"type":"long"},"offsetInNanos":{"type":"integer"}}},"S25":{"type":"list","member":{"shape":"S1j"}},"S2l":{"type":"structure","members":{"user":{"type":"structure","required":["id"],"members":{"id":{}}},"group":{"type":"structure","required":["id"],"members":{"id":{}}},"iamUser":{"type":"structure","required":["arn"],"members":{"arn":{}}},"iamRole":{"type":"structure","required":["arn"],"members":{"arn":{}}}}},"S2s":{"type":"structure","members":{"portal":{"type":"structure","required":["id"],"members":{"id":{}}},"project":{"type":"structure","required":["id"],"members":{"id":{}}}}},"S2w":{"type":"map","key":{},"value":{}},"S35":{"type":"structure","required":["state"],"members":{"state":{},"error":{"shape":"S37"}}},"S37":{"type":"structure","required":["code","message"],"members":{"code":{},"message":{},"details":{"type":"list","member":{"type":"structure","required":["code","message"],"members":{"code":{},"message":{}}}}}},"S3e":{"type":"list","member":{"type":"structure","required":["name","dataType","type"],"members":{"name":{},"dataType":{},"dataTypeSpec":{},"unit":{},"type":{"shape":"S3i"},"id":{},"externalId":{}}}},"S3i":{"type":"structure","members":{"attribute":{"type":"structure","members":{"defaultValue":{}}},"measurement":{"type":"structure","members":{"processingConfig":{"type":"structure","required":["forwardingConfig"],"members":{"forwardingConfig":{"shape":"S3n"}}}}},"transform":{"type":"structure","required":["expression","variables"],"members":{"expression":{},"variables":{"shape":"S3r"},"processingConfig":{"type":"structure","required":["computeLocation"],"members":{"computeLocation":{},"forwardingConfig":{"shape":"S3n"}}}}},"metric":{"type":"structure","required":["expression","variables","window"],"members":{"expression":{},"variables":{"shape":"S3r"},"window":{"type":"structure","members":{"tumbling":{"type":"structure","required":["interval"],"members":{"interval":{},"offset":{}}}}},"processingConfig":{"type":"structure","required":["computeLocation"],"members":{"computeLocation":{}}}}}}},"S3n":{"type":"structure","required":["state"],"members":{"state":{}}},"S3r":{"type":"list","member":{"type":"structure","required":["name","value"],"members":{"name":{},"value":{"type":"structure","members":{"propertyId":{},"hierarchyId":{},"propertyPath":{"shape":"S3w"}}}}}},"S3w":{"type":"list","member":{"type":"structure","members":{"id":{},"name":{}}}},"S4c":{"type":"structure","required":["state"],"members":{"state":{},"error":{"shape":"S37"}}},"S4g":{"type":"list","member":{"type":"structure","members":{"id":{},"name":{}}}},"S4j":{"type":"list","member":{"type":"structure","required":["bucket","key"],"members":{"bucket":{},"key":{},"versionId":{}}}},"S4n":{"type":"structure","required":["bucket","prefix"],"members":{"bucket":{},"prefix":{}}},"S4o":{"type":"structure","required":["fileFormat"],"members":{"fileFormat":{"type":"structure","members":{"csv":{"type":"structure","required":["columnNames"],"members":{"columnNames":{"type":"list","member":{}}}},"parquet":{"type":"structure","members":{}}}}}},"S53":{"type":"structure","members":{"greengrass":{"type":"structure","required":["groupArn"],"members":{"groupArn":{}}},"greengrassV2":{"type":"structure","required":["coreDeviceThingName"],"members":{"coreDeviceThingName":{}}},"siemensIE":{"type":"structure","required":["iotCoreThingName"],"members":{"iotCoreThingName":{}}}}},"S5c":{"type":"structure","required":["data","type"],"members":{"data":{"type":"blob"},"type":{}}},"S5g":{"type":"structure","required":["alarmRoleArn"],"members":{"alarmRoleArn":{},"notificationLambdaArn":{}}},"S5j":{"type":"structure","required":["state"],"members":{"state":{},"error":{"type":"structure","members":{"code":{},"message":{}}}}},"S6b":{"type":"structure","required":["assetId"],"members":{"assetId":{}}},"S6c":{"type":"structure","required":["stringValue"],"members":{"stringValue":{}}},"S6h":{"type":"list","member":{"type":"structure","required":["id","name","dataType"],"members":{"id":{},"name":{},"alias":{},"notification":{"shape":"S6j"},"dataType":{},"dataTypeSpec":{},"unit":{},"path":{"shape":"S6m"},"externalId":{}}}},"S6j":{"type":"structure","required":["topic","state"],"members":{"topic":{},"state":{}}},"S6m":{"type":"list","member":{"type":"structure","members":{"id":{},"name":{}}}},"S6o":{"type":"list","member":{"type":"structure","required":["name"],"members":{"id":{},"name":{},"externalId":{}}}},"S6s":{"type":"list","member":{"type":"structure","required":["id","name","type","description","path"],"members":{"id":{},"externalId":{},"name":{},"type":{},"description":{},"path":{"shape":"S6u"}}}},"S6u":{"type":"list","member":{"type":"structure","members":{"id":{},"name":{}}}},"S6y":{"type":"list","member":{"type":"structure","required":["actionDefinitionId","actionName","actionType"],"members":{"actionDefinitionId":{},"actionName":{},"actionType":{}}}},"S72":{"type":"list","member":{"type":"structure","required":["name","dataType","type"],"members":{"id":{},"name":{},"dataType":{},"dataTypeSpec":{},"unit":{},"type":{"shape":"S3i"},"path":{"shape":"S3w"},"externalId":{}}}},"S74":{"type":"list","member":{"type":"structure","required":["name","childAssetModelId"],"members":{"id":{},"name":{},"childAssetModelId":{},"externalId":{}}}},"S76":{"type":"list","member":{"type":"structure","required":["name","type"],"members":{"name":{},"description":{},"type":{},"properties":{"shape":"S72"},"id":{},"externalId":{}}}},"S78":{"type":"list","member":{"type":"structure","required":["id","name","type"],"members":{"id":{},"externalId":{},"name":{},"type":{},"description":{},"path":{"shape":"S4g"}}}},"S7h":{"type":"structure","required":["id","name","dataType"],"members":{"id":{},"name":{},"alias":{},"notification":{"shape":"S6j"},"dataType":{},"unit":{},"type":{"shape":"S3i"},"path":{"shape":"S6m"},"externalId":{}}},"S7q":{"type":"structure","required":["state"],"members":{"state":{},"error":{"type":"structure","required":["code","message"],"members":{"code":{},"message":{}}}}},"S7v":{"type":"list","member":{"type":"structure","required":["capabilityNamespace","capabilitySyncStatus"],"members":{"capabilityNamespace":{},"capabilitySyncStatus":{}}}},"S84":{"type":"structure","required":["level"],"members":{"level":{}}},"S8f":{"type":"structure","required":["customerManagedS3Storage"],"members":{"customerManagedS3Storage":{"type":"structure","required":["s3ResourceArn","roleArn"],"members":{"s3ResourceArn":{},"roleArn":{}}}}},"S8i":{"type":"structure","members":{"numberOfDays":{"type":"integer"},"unlimited":{"type":"boolean"}}},"S8m":{"type":"structure","members":{"numberOfDays":{"type":"integer"},"unlimited":{"type":"boolean"}}},"S94":{"type":"structure","required":["data"],"members":{"data":{"shape":"S95"}}},"S95":{"type":"list","member":{"type":"structure","members":{"scalarValue":{},"arrayValue":{"shape":"S95"},"rowValue":{"shape":"S94"},"nullValue":{"type":"boolean"}}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2019-12-02","endpointPrefix":"iotsitewise","jsonVersion":"1.1","protocol":"rest-json","protocols":["rest-json"],"serviceFullName":"AWS IoT SiteWise","serviceId":"IoTSiteWise","signatureVersion":"v4","signingName":"iotsitewise","uid":"iotsitewise-2019-12-02","auth":["aws.auth#sigv4"]},"operations":{"AssociateAssets":{"http":{"requestUri":"/assets/{assetId}/associate"},"input":{"type":"structure","required":["assetId","hierarchyId","childAssetId"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"hierarchyId":{},"childAssetId":{},"clientToken":{"idempotencyToken":true}}},"endpoint":{"hostPrefix":"api."}},"AssociateTimeSeriesToAssetProperty":{"http":{"requestUri":"/timeseries/associate/"},"input":{"type":"structure","required":["alias","assetId","propertyId"],"members":{"alias":{"location":"querystring","locationName":"alias"},"assetId":{"location":"querystring","locationName":"assetId"},"propertyId":{"location":"querystring","locationName":"propertyId"},"clientToken":{"idempotencyToken":true}}},"endpoint":{"hostPrefix":"api."}},"BatchAssociateProjectAssets":{"http":{"requestUri":"/projects/{projectId}/assets/associate","responseCode":200},"input":{"type":"structure","required":["projectId","assetIds"],"members":{"projectId":{"location":"uri","locationName":"projectId"},"assetIds":{"shape":"S8"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"errors":{"type":"list","member":{"shape":"Sb"}}}},"endpoint":{"hostPrefix":"monitor."}},"BatchDisassociateProjectAssets":{"http":{"requestUri":"/projects/{projectId}/assets/disassociate","responseCode":200},"input":{"type":"structure","required":["projectId","assetIds"],"members":{"projectId":{"location":"uri","locationName":"projectId"},"assetIds":{"shape":"S8"},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"errors":{"type":"list","member":{"shape":"Sb"}}}},"endpoint":{"hostPrefix":"monitor."}},"BatchGetAssetPropertyAggregates":{"http":{"requestUri":"/properties/batch/aggregates"},"input":{"type":"structure","required":["entries"],"members":{"entries":{"type":"list","member":{"type":"structure","required":["entryId","aggregateTypes","resolution","startDate","endDate"],"members":{"entryId":{},"assetId":{},"propertyId":{},"propertyAlias":{},"aggregateTypes":{"shape":"Sm"},"resolution":{},"startDate":{"type":"timestamp"},"endDate":{"type":"timestamp"},"qualities":{"shape":"Sq"},"timeOrdering":{}}}},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","required":["errorEntries","successEntries","skippedEntries"],"members":{"errorEntries":{"type":"list","member":{"type":"structure","required":["errorCode","errorMessage","entryId"],"members":{"errorCode":{},"errorMessage":{},"entryId":{}}}},"successEntries":{"type":"list","member":{"type":"structure","required":["entryId","aggregatedValues"],"members":{"entryId":{},"aggregatedValues":{"shape":"S12"}}}},"skippedEntries":{"type":"list","member":{"type":"structure","required":["entryId","completionStatus"],"members":{"entryId":{},"completionStatus":{},"errorInfo":{"type":"structure","required":["errorCode","errorTimestamp"],"members":{"errorCode":{},"errorTimestamp":{"type":"timestamp"}}}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"data."}},"BatchGetAssetPropertyValue":{"http":{"requestUri":"/properties/batch/latest"},"input":{"type":"structure","required":["entries"],"members":{"entries":{"type":"list","member":{"type":"structure","required":["entryId"],"members":{"entryId":{},"assetId":{},"propertyId":{},"propertyAlias":{}}}},"nextToken":{}}},"output":{"type":"structure","required":["errorEntries","successEntries","skippedEntries"],"members":{"errorEntries":{"type":"list","member":{"type":"structure","required":["errorCode","errorMessage","entryId"],"members":{"errorCode":{},"errorMessage":{},"entryId":{}}}},"successEntries":{"type":"list","member":{"type":"structure","required":["entryId"],"members":{"entryId":{},"assetPropertyValue":{"shape":"S1j"}}}},"skippedEntries":{"type":"list","member":{"type":"structure","required":["entryId","completionStatus"],"members":{"entryId":{},"completionStatus":{},"errorInfo":{"type":"structure","required":["errorCode","errorTimestamp"],"members":{"errorCode":{},"errorTimestamp":{"type":"timestamp"}}}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"data."}},"BatchGetAssetPropertyValueHistory":{"http":{"requestUri":"/properties/batch/history"},"input":{"type":"structure","required":["entries"],"members":{"entries":{"type":"list","member":{"type":"structure","required":["entryId"],"members":{"entryId":{},"assetId":{},"propertyId":{},"propertyAlias":{},"startDate":{"type":"timestamp"},"endDate":{"type":"timestamp"},"qualities":{"shape":"Sq"},"timeOrdering":{}}}},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","required":["errorEntries","successEntries","skippedEntries"],"members":{"errorEntries":{"type":"list","member":{"type":"structure","required":["errorCode","errorMessage","entryId"],"members":{"errorCode":{},"errorMessage":{},"entryId":{}}}},"successEntries":{"type":"list","member":{"type":"structure","required":["entryId","assetPropertyValueHistory"],"members":{"entryId":{},"assetPropertyValueHistory":{"shape":"S25"}}}},"skippedEntries":{"type":"list","member":{"type":"structure","required":["entryId","completionStatus"],"members":{"entryId":{},"completionStatus":{},"errorInfo":{"type":"structure","required":["errorCode","errorTimestamp"],"members":{"errorCode":{},"errorTimestamp":{"type":"timestamp"}}}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"data."}},"BatchPutAssetPropertyValue":{"http":{"requestUri":"/properties"},"input":{"type":"structure","required":["entries"],"members":{"entries":{"type":"list","member":{"type":"structure","required":["entryId","propertyValues"],"members":{"entryId":{},"assetId":{},"propertyId":{},"propertyAlias":{},"propertyValues":{"type":"list","member":{"shape":"S1j"}}}}}}},"output":{"type":"structure","required":["errorEntries"],"members":{"errorEntries":{"type":"list","member":{"type":"structure","required":["entryId","errors"],"members":{"entryId":{},"errors":{"type":"list","member":{"type":"structure","required":["errorCode","errorMessage","timestamps"],"members":{"errorCode":{},"errorMessage":{},"timestamps":{"type":"list","member":{"shape":"S1p"}}}}}}}}}},"endpoint":{"hostPrefix":"data."}},"CreateAccessPolicy":{"http":{"requestUri":"/access-policies","responseCode":201},"input":{"type":"structure","required":["accessPolicyIdentity","accessPolicyResource","accessPolicyPermission"],"members":{"accessPolicyIdentity":{"shape":"S2l"},"accessPolicyResource":{"shape":"S2s"},"accessPolicyPermission":{},"clientToken":{"idempotencyToken":true},"tags":{"shape":"S2w"}}},"output":{"type":"structure","required":["accessPolicyId","accessPolicyArn"],"members":{"accessPolicyId":{},"accessPolicyArn":{}}},"endpoint":{"hostPrefix":"monitor."}},"CreateAsset":{"http":{"requestUri":"/assets","responseCode":202},"input":{"type":"structure","required":["assetName","assetModelId"],"members":{"assetName":{},"assetModelId":{},"clientToken":{"idempotencyToken":true},"tags":{"shape":"S2w"},"assetDescription":{},"assetId":{},"assetExternalId":{}}},"output":{"type":"structure","required":["assetId","assetArn","assetStatus"],"members":{"assetId":{},"assetArn":{},"assetStatus":{"shape":"S35"}}},"endpoint":{"hostPrefix":"api."}},"CreateAssetModel":{"http":{"requestUri":"/asset-models","responseCode":202},"input":{"type":"structure","required":["assetModelName"],"members":{"assetModelName":{},"assetModelType":{},"assetModelId":{},"assetModelExternalId":{},"assetModelDescription":{},"assetModelProperties":{"shape":"S3f"},"assetModelHierarchies":{"type":"list","member":{"type":"structure","required":["name","childAssetModelId"],"members":{"id":{},"externalId":{},"name":{},"childAssetModelId":{}}}},"assetModelCompositeModels":{"type":"list","member":{"type":"structure","required":["name","type"],"members":{"id":{},"externalId":{},"name":{},"description":{},"type":{},"properties":{"shape":"S3f"}}}},"clientToken":{"idempotencyToken":true},"tags":{"shape":"S2w"}}},"output":{"type":"structure","required":["assetModelId","assetModelArn","assetModelStatus"],"members":{"assetModelId":{},"assetModelArn":{},"assetModelStatus":{"shape":"S4c"}}},"endpoint":{"hostPrefix":"api."}},"CreateAssetModelCompositeModel":{"http":{"requestUri":"/asset-models/{assetModelId}/composite-models","responseCode":202},"input":{"type":"structure","required":["assetModelId","assetModelCompositeModelName","assetModelCompositeModelType"],"members":{"assetModelId":{"location":"uri","locationName":"assetModelId"},"assetModelCompositeModelExternalId":{},"parentAssetModelCompositeModelId":{},"assetModelCompositeModelId":{},"assetModelCompositeModelDescription":{},"assetModelCompositeModelName":{},"assetModelCompositeModelType":{},"clientToken":{"idempotencyToken":true},"composedAssetModelId":{},"assetModelCompositeModelProperties":{"shape":"S3f"},"ifMatch":{"location":"header","locationName":"If-Match"},"ifNoneMatch":{"location":"header","locationName":"If-None-Match"},"matchForVersionType":{"location":"header","locationName":"Match-For-Version-Type"}}},"output":{"type":"structure","required":["assetModelCompositeModelId","assetModelCompositeModelPath","assetModelStatus"],"members":{"assetModelCompositeModelId":{},"assetModelCompositeModelPath":{"shape":"S4j"},"assetModelStatus":{"shape":"S4c"}}},"endpoint":{"hostPrefix":"api."}},"CreateBulkImportJob":{"http":{"requestUri":"/jobs","responseCode":202},"input":{"type":"structure","required":["jobName","jobRoleArn","files","errorReportLocation","jobConfiguration"],"members":{"jobName":{},"jobRoleArn":{},"files":{"shape":"S4m"},"errorReportLocation":{"shape":"S4q"},"jobConfiguration":{"shape":"S4r"},"adaptiveIngestion":{"type":"boolean"},"deleteFilesAfterImport":{"type":"boolean"}}},"output":{"type":"structure","required":["jobId","jobName","jobStatus"],"members":{"jobId":{},"jobName":{},"jobStatus":{}}},"endpoint":{"hostPrefix":"data."}},"CreateDashboard":{"http":{"requestUri":"/dashboards","responseCode":201},"input":{"type":"structure","required":["projectId","dashboardName","dashboardDefinition"],"members":{"projectId":{},"dashboardName":{},"dashboardDescription":{},"dashboardDefinition":{},"clientToken":{"idempotencyToken":true},"tags":{"shape":"S2w"}}},"output":{"type":"structure","required":["dashboardId","dashboardArn"],"members":{"dashboardId":{},"dashboardArn":{}}},"endpoint":{"hostPrefix":"monitor."}},"CreateGateway":{"http":{"requestUri":"/20200301/gateways","responseCode":201},"input":{"type":"structure","required":["gatewayName","gatewayPlatform"],"members":{"gatewayName":{},"gatewayPlatform":{"shape":"S56"},"tags":{"shape":"S2w"}}},"output":{"type":"structure","required":["gatewayId","gatewayArn"],"members":{"gatewayId":{},"gatewayArn":{}}},"endpoint":{"hostPrefix":"api."}},"CreatePortal":{"http":{"requestUri":"/portals","responseCode":202},"input":{"type":"structure","required":["portalName","portalContactEmail","roleArn"],"members":{"portalName":{},"portalDescription":{},"portalContactEmail":{},"clientToken":{"idempotencyToken":true},"portalLogoImageFile":{"shape":"S5f"},"roleArn":{},"tags":{"shape":"S2w"},"portalAuthMode":{},"notificationSenderEmail":{},"alarms":{"shape":"S5j"}}},"output":{"type":"structure","required":["portalId","portalArn","portalStartUrl","portalStatus","ssoApplicationId"],"members":{"portalId":{},"portalArn":{},"portalStartUrl":{},"portalStatus":{"shape":"S5m"},"ssoApplicationId":{}}},"endpoint":{"hostPrefix":"monitor."}},"CreateProject":{"http":{"requestUri":"/projects","responseCode":201},"input":{"type":"structure","required":["portalId","projectName"],"members":{"portalId":{},"projectName":{},"projectDescription":{},"clientToken":{"idempotencyToken":true},"tags":{"shape":"S2w"}}},"output":{"type":"structure","required":["projectId","projectArn"],"members":{"projectId":{},"projectArn":{}}},"endpoint":{"hostPrefix":"monitor."}},"DeleteAccessPolicy":{"http":{"method":"DELETE","requestUri":"/access-policies/{accessPolicyId}","responseCode":204},"input":{"type":"structure","required":["accessPolicyId"],"members":{"accessPolicyId":{"location":"uri","locationName":"accessPolicyId"},"clientToken":{"idempotencyToken":true,"location":"querystring","locationName":"clientToken"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"monitor."}},"DeleteAsset":{"http":{"method":"DELETE","requestUri":"/assets/{assetId}","responseCode":202},"input":{"type":"structure","required":["assetId"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"clientToken":{"idempotencyToken":true,"location":"querystring","locationName":"clientToken"}}},"output":{"type":"structure","required":["assetStatus"],"members":{"assetStatus":{"shape":"S35"}}},"endpoint":{"hostPrefix":"api."}},"DeleteAssetModel":{"http":{"method":"DELETE","requestUri":"/asset-models/{assetModelId}","responseCode":202},"input":{"type":"structure","required":["assetModelId"],"members":{"assetModelId":{"location":"uri","locationName":"assetModelId"},"clientToken":{"idempotencyToken":true,"location":"querystring","locationName":"clientToken"},"ifMatch":{"location":"header","locationName":"If-Match"},"ifNoneMatch":{"location":"header","locationName":"If-None-Match"},"matchForVersionType":{"location":"header","locationName":"Match-For-Version-Type"}}},"output":{"type":"structure","required":["assetModelStatus"],"members":{"assetModelStatus":{"shape":"S4c"}}},"endpoint":{"hostPrefix":"api."}},"DeleteAssetModelCompositeModel":{"http":{"method":"DELETE","requestUri":"/asset-models/{assetModelId}/composite-models/{assetModelCompositeModelId}","responseCode":202},"input":{"type":"structure","required":["assetModelId","assetModelCompositeModelId"],"members":{"assetModelId":{"location":"uri","locationName":"assetModelId"},"assetModelCompositeModelId":{"location":"uri","locationName":"assetModelCompositeModelId"},"clientToken":{"idempotencyToken":true,"location":"querystring","locationName":"clientToken"},"ifMatch":{"location":"header","locationName":"If-Match"},"ifNoneMatch":{"location":"header","locationName":"If-None-Match"},"matchForVersionType":{"location":"header","locationName":"Match-For-Version-Type"}}},"output":{"type":"structure","required":["assetModelStatus"],"members":{"assetModelStatus":{"shape":"S4c"}}},"endpoint":{"hostPrefix":"api."}},"DeleteDashboard":{"http":{"method":"DELETE","requestUri":"/dashboards/{dashboardId}","responseCode":204},"input":{"type":"structure","required":["dashboardId"],"members":{"dashboardId":{"location":"uri","locationName":"dashboardId"},"clientToken":{"idempotencyToken":true,"location":"querystring","locationName":"clientToken"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"monitor."}},"DeleteGateway":{"http":{"method":"DELETE","requestUri":"/20200301/gateways/{gatewayId}"},"input":{"type":"structure","required":["gatewayId"],"members":{"gatewayId":{"location":"uri","locationName":"gatewayId"}}},"endpoint":{"hostPrefix":"api."}},"DeletePortal":{"http":{"method":"DELETE","requestUri":"/portals/{portalId}","responseCode":202},"input":{"type":"structure","required":["portalId"],"members":{"portalId":{"location":"uri","locationName":"portalId"},"clientToken":{"idempotencyToken":true,"location":"querystring","locationName":"clientToken"}}},"output":{"type":"structure","required":["portalStatus"],"members":{"portalStatus":{"shape":"S5m"}}},"endpoint":{"hostPrefix":"monitor."}},"DeleteProject":{"http":{"method":"DELETE","requestUri":"/projects/{projectId}","responseCode":204},"input":{"type":"structure","required":["projectId"],"members":{"projectId":{"location":"uri","locationName":"projectId"},"clientToken":{"idempotencyToken":true,"location":"querystring","locationName":"clientToken"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"monitor."}},"DeleteTimeSeries":{"http":{"requestUri":"/timeseries/delete/"},"input":{"type":"structure","members":{"alias":{"location":"querystring","locationName":"alias"},"assetId":{"location":"querystring","locationName":"assetId"},"propertyId":{"location":"querystring","locationName":"propertyId"},"clientToken":{"idempotencyToken":true}}},"endpoint":{"hostPrefix":"api."}},"DescribeAccessPolicy":{"http":{"method":"GET","requestUri":"/access-policies/{accessPolicyId}","responseCode":200},"input":{"type":"structure","required":["accessPolicyId"],"members":{"accessPolicyId":{"location":"uri","locationName":"accessPolicyId"}}},"output":{"type":"structure","required":["accessPolicyId","accessPolicyArn","accessPolicyIdentity","accessPolicyResource","accessPolicyPermission","accessPolicyCreationDate","accessPolicyLastUpdateDate"],"members":{"accessPolicyId":{},"accessPolicyArn":{},"accessPolicyIdentity":{"shape":"S2l"},"accessPolicyResource":{"shape":"S2s"},"accessPolicyPermission":{},"accessPolicyCreationDate":{"type":"timestamp"},"accessPolicyLastUpdateDate":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"monitor."}},"DescribeAction":{"http":{"method":"GET","requestUri":"/actions/{actionId}"},"input":{"type":"structure","required":["actionId"],"members":{"actionId":{"location":"uri","locationName":"actionId"}}},"output":{"type":"structure","required":["actionId","targetResource","actionDefinitionId","actionPayload","executionTime"],"members":{"actionId":{},"targetResource":{"shape":"S6e"},"actionDefinitionId":{},"actionPayload":{"shape":"S6f"},"executionTime":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"api."}},"DescribeAsset":{"http":{"method":"GET","requestUri":"/assets/{assetId}"},"input":{"type":"structure","required":["assetId"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"excludeProperties":{"location":"querystring","locationName":"excludeProperties","type":"boolean"}}},"output":{"type":"structure","required":["assetId","assetArn","assetName","assetModelId","assetProperties","assetHierarchies","assetCreationDate","assetLastUpdateDate","assetStatus"],"members":{"assetId":{},"assetArn":{},"assetName":{},"assetModelId":{},"assetProperties":{"shape":"S6k"},"assetHierarchies":{"shape":"S6r"},"assetCompositeModels":{"type":"list","member":{"type":"structure","required":["name","type","properties"],"members":{"name":{},"description":{},"type":{},"properties":{"shape":"S6k"},"id":{},"externalId":{}}}},"assetCreationDate":{"type":"timestamp"},"assetLastUpdateDate":{"type":"timestamp"},"assetStatus":{"shape":"S35"},"assetDescription":{},"assetCompositeModelSummaries":{"shape":"S6v"},"assetExternalId":{}}},"endpoint":{"hostPrefix":"api."}},"DescribeAssetCompositeModel":{"http":{"method":"GET","requestUri":"/assets/{assetId}/composite-models/{assetCompositeModelId}"},"input":{"type":"structure","required":["assetId","assetCompositeModelId"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"assetCompositeModelId":{"location":"uri","locationName":"assetCompositeModelId"}}},"output":{"type":"structure","required":["assetId","assetCompositeModelId","assetCompositeModelPath","assetCompositeModelName","assetCompositeModelDescription","assetCompositeModelType","assetCompositeModelProperties","assetCompositeModelSummaries"],"members":{"assetId":{},"assetCompositeModelId":{},"assetCompositeModelExternalId":{},"assetCompositeModelPath":{"shape":"S6x"},"assetCompositeModelName":{},"assetCompositeModelDescription":{},"assetCompositeModelType":{},"assetCompositeModelProperties":{"shape":"S6k"},"assetCompositeModelSummaries":{"shape":"S6v"},"actionDefinitions":{"shape":"S71"}}},"endpoint":{"hostPrefix":"api."}},"DescribeAssetModel":{"http":{"method":"GET","requestUri":"/asset-models/{assetModelId}"},"input":{"type":"structure","required":["assetModelId"],"members":{"assetModelId":{"location":"uri","locationName":"assetModelId"},"excludeProperties":{"location":"querystring","locationName":"excludeProperties","type":"boolean"},"assetModelVersion":{"location":"querystring","locationName":"assetModelVersion"}}},"output":{"type":"structure","required":["assetModelId","assetModelArn","assetModelName","assetModelDescription","assetModelProperties","assetModelHierarchies","assetModelCreationDate","assetModelLastUpdateDate","assetModelStatus"],"members":{"assetModelId":{},"assetModelExternalId":{},"assetModelArn":{},"assetModelName":{},"assetModelType":{},"assetModelDescription":{},"assetModelProperties":{"shape":"S76"},"assetModelHierarchies":{"shape":"S78"},"assetModelCompositeModels":{"shape":"S7a"},"assetModelCompositeModelSummaries":{"shape":"S7c"},"assetModelCreationDate":{"type":"timestamp"},"assetModelLastUpdateDate":{"type":"timestamp"},"assetModelStatus":{"shape":"S4c"},"assetModelVersion":{},"eTag":{"location":"header","locationName":"ETag"}}},"endpoint":{"hostPrefix":"api."}},"DescribeAssetModelCompositeModel":{"http":{"method":"GET","requestUri":"/asset-models/{assetModelId}/composite-models/{assetModelCompositeModelId}"},"input":{"type":"structure","required":["assetModelId","assetModelCompositeModelId"],"members":{"assetModelId":{"location":"uri","locationName":"assetModelId"},"assetModelCompositeModelId":{"location":"uri","locationName":"assetModelCompositeModelId"},"assetModelVersion":{"location":"querystring","locationName":"assetModelVersion"}}},"output":{"type":"structure","required":["assetModelId","assetModelCompositeModelId","assetModelCompositeModelPath","assetModelCompositeModelName","assetModelCompositeModelDescription","assetModelCompositeModelType","assetModelCompositeModelProperties","assetModelCompositeModelSummaries"],"members":{"assetModelId":{},"assetModelCompositeModelId":{},"assetModelCompositeModelExternalId":{},"assetModelCompositeModelPath":{"shape":"S4j"},"assetModelCompositeModelName":{},"assetModelCompositeModelDescription":{},"assetModelCompositeModelType":{},"assetModelCompositeModelProperties":{"shape":"S76"},"compositionDetails":{"type":"structure","members":{"compositionRelationship":{"type":"list","member":{"type":"structure","members":{"id":{}}}}}},"assetModelCompositeModelSummaries":{"shape":"S7c"},"actionDefinitions":{"shape":"S71"}}},"endpoint":{"hostPrefix":"api."}},"DescribeAssetProperty":{"http":{"method":"GET","requestUri":"/assets/{assetId}/properties/{propertyId}"},"input":{"type":"structure","required":["assetId","propertyId"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"propertyId":{"location":"uri","locationName":"propertyId"}}},"output":{"type":"structure","required":["assetId","assetName","assetModelId"],"members":{"assetId":{},"assetName":{},"assetModelId":{},"assetProperty":{"shape":"S7m"},"compositeModel":{"type":"structure","required":["name","type","assetProperty"],"members":{"name":{},"type":{},"assetProperty":{"shape":"S7m"},"id":{},"externalId":{}}},"assetExternalId":{}}},"endpoint":{"hostPrefix":"api."}},"DescribeBulkImportJob":{"http":{"method":"GET","requestUri":"/jobs/{jobId}"},"input":{"type":"structure","required":["jobId"],"members":{"jobId":{"location":"uri","locationName":"jobId"}}},"output":{"type":"structure","required":["jobId","jobName","jobStatus","jobRoleArn","files","errorReportLocation","jobConfiguration","jobCreationDate","jobLastUpdateDate"],"members":{"jobId":{},"jobName":{},"jobStatus":{},"jobRoleArn":{},"files":{"shape":"S4m"},"errorReportLocation":{"shape":"S4q"},"jobConfiguration":{"shape":"S4r"},"jobCreationDate":{"type":"timestamp"},"jobLastUpdateDate":{"type":"timestamp"},"adaptiveIngestion":{"type":"boolean"},"deleteFilesAfterImport":{"type":"boolean"}}},"endpoint":{"hostPrefix":"data."}},"DescribeDashboard":{"http":{"method":"GET","requestUri":"/dashboards/{dashboardId}","responseCode":200},"input":{"type":"structure","required":["dashboardId"],"members":{"dashboardId":{"location":"uri","locationName":"dashboardId"}}},"output":{"type":"structure","required":["dashboardId","dashboardArn","dashboardName","projectId","dashboardDefinition","dashboardCreationDate","dashboardLastUpdateDate"],"members":{"dashboardId":{},"dashboardArn":{},"dashboardName":{},"projectId":{},"dashboardDescription":{},"dashboardDefinition":{},"dashboardCreationDate":{"type":"timestamp"},"dashboardLastUpdateDate":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"monitor."}},"DescribeDefaultEncryptionConfiguration":{"http":{"method":"GET","requestUri":"/configuration/account/encryption"},"input":{"type":"structure","members":{}},"output":{"type":"structure","required":["encryptionType","configurationStatus"],"members":{"encryptionType":{},"kmsKeyArn":{},"configurationStatus":{"shape":"S7v"}}},"endpoint":{"hostPrefix":"api."}},"DescribeGateway":{"http":{"method":"GET","requestUri":"/20200301/gateways/{gatewayId}"},"input":{"type":"structure","required":["gatewayId"],"members":{"gatewayId":{"location":"uri","locationName":"gatewayId"}}},"output":{"type":"structure","required":["gatewayId","gatewayName","gatewayArn","gatewayCapabilitySummaries","creationDate","lastUpdateDate"],"members":{"gatewayId":{},"gatewayName":{},"gatewayArn":{},"gatewayPlatform":{"shape":"S56"},"gatewayCapabilitySummaries":{"shape":"S80"},"creationDate":{"type":"timestamp"},"lastUpdateDate":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"api."}},"DescribeGatewayCapabilityConfiguration":{"http":{"method":"GET","requestUri":"/20200301/gateways/{gatewayId}/capability/{capabilityNamespace}"},"input":{"type":"structure","required":["gatewayId","capabilityNamespace"],"members":{"gatewayId":{"location":"uri","locationName":"gatewayId"},"capabilityNamespace":{"location":"uri","locationName":"capabilityNamespace"}}},"output":{"type":"structure","required":["gatewayId","capabilityNamespace","capabilityConfiguration","capabilitySyncStatus"],"members":{"gatewayId":{},"capabilityNamespace":{},"capabilityConfiguration":{},"capabilitySyncStatus":{}}},"endpoint":{"hostPrefix":"api."}},"DescribeLoggingOptions":{"http":{"method":"GET","requestUri":"/logging"},"input":{"type":"structure","members":{}},"output":{"type":"structure","required":["loggingOptions"],"members":{"loggingOptions":{"shape":"S89"}}},"endpoint":{"hostPrefix":"api."}},"DescribePortal":{"http":{"method":"GET","requestUri":"/portals/{portalId}","responseCode":200},"input":{"type":"structure","required":["portalId"],"members":{"portalId":{"location":"uri","locationName":"portalId"}}},"output":{"type":"structure","required":["portalId","portalArn","portalName","portalClientId","portalStartUrl","portalContactEmail","portalStatus","portalCreationDate","portalLastUpdateDate"],"members":{"portalId":{},"portalArn":{},"portalName":{},"portalDescription":{},"portalClientId":{},"portalStartUrl":{},"portalContactEmail":{},"portalStatus":{"shape":"S5m"},"portalCreationDate":{"type":"timestamp"},"portalLastUpdateDate":{"type":"timestamp"},"portalLogoImageLocation":{"type":"structure","required":["id","url"],"members":{"id":{},"url":{}}},"roleArn":{},"portalAuthMode":{},"notificationSenderEmail":{},"alarms":{"shape":"S5j"}}},"endpoint":{"hostPrefix":"monitor."}},"DescribeProject":{"http":{"method":"GET","requestUri":"/projects/{projectId}","responseCode":200},"input":{"type":"structure","required":["projectId"],"members":{"projectId":{"location":"uri","locationName":"projectId"}}},"output":{"type":"structure","required":["projectId","projectArn","projectName","portalId","projectCreationDate","projectLastUpdateDate"],"members":{"projectId":{},"projectArn":{},"projectName":{},"portalId":{},"projectDescription":{},"projectCreationDate":{"type":"timestamp"},"projectLastUpdateDate":{"type":"timestamp"}}},"endpoint":{"hostPrefix":"monitor."}},"DescribeStorageConfiguration":{"http":{"method":"GET","requestUri":"/configuration/account/storage"},"input":{"type":"structure","members":{}},"output":{"type":"structure","required":["storageType","configurationStatus"],"members":{"storageType":{},"multiLayerStorage":{"shape":"S8k"},"disassociatedDataStorage":{},"retentionPeriod":{"shape":"S8n"},"configurationStatus":{"shape":"S7v"},"lastUpdateDate":{"type":"timestamp"},"warmTier":{},"warmTierRetentionPeriod":{"shape":"S8r"}}},"endpoint":{"hostPrefix":"api."}},"DescribeTimeSeries":{"http":{"method":"GET","requestUri":"/timeseries/describe/"},"input":{"type":"structure","members":{"alias":{"location":"querystring","locationName":"alias"},"assetId":{"location":"querystring","locationName":"assetId"},"propertyId":{"location":"querystring","locationName":"propertyId"}}},"output":{"type":"structure","required":["timeSeriesId","dataType","timeSeriesCreationDate","timeSeriesLastUpdateDate","timeSeriesArn"],"members":{"assetId":{},"propertyId":{},"alias":{},"timeSeriesId":{},"dataType":{},"dataTypeSpec":{},"timeSeriesCreationDate":{"type":"timestamp"},"timeSeriesLastUpdateDate":{"type":"timestamp"},"timeSeriesArn":{}}},"endpoint":{"hostPrefix":"api."}},"DisassociateAssets":{"http":{"requestUri":"/assets/{assetId}/disassociate"},"input":{"type":"structure","required":["assetId","hierarchyId","childAssetId"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"hierarchyId":{},"childAssetId":{},"clientToken":{"idempotencyToken":true}}},"endpoint":{"hostPrefix":"api."}},"DisassociateTimeSeriesFromAssetProperty":{"http":{"requestUri":"/timeseries/disassociate/"},"input":{"type":"structure","required":["alias","assetId","propertyId"],"members":{"alias":{"location":"querystring","locationName":"alias"},"assetId":{"location":"querystring","locationName":"assetId"},"propertyId":{"location":"querystring","locationName":"propertyId"},"clientToken":{"idempotencyToken":true}}},"endpoint":{"hostPrefix":"api."}},"ExecuteAction":{"http":{"requestUri":"/actions","responseCode":202},"input":{"type":"structure","required":["targetResource","actionDefinitionId","actionPayload"],"members":{"targetResource":{"shape":"S6e"},"actionDefinitionId":{},"actionPayload":{"shape":"S6f"},"clientToken":{}}},"output":{"type":"structure","required":["actionId"],"members":{"actionId":{}}},"endpoint":{"hostPrefix":"api."}},"ExecuteQuery":{"http":{"requestUri":"/queries/execution"},"input":{"type":"structure","required":["queryStatement"],"members":{"queryStatement":{},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"columns":{"type":"list","member":{"type":"structure","members":{"name":{},"type":{"type":"structure","members":{"scalarType":{}}}}}},"rows":{"type":"list","member":{"shape":"S99"}},"nextToken":{}}},"endpoint":{"hostPrefix":"data."}},"GetAssetPropertyAggregates":{"http":{"method":"GET","requestUri":"/properties/aggregates"},"input":{"type":"structure","required":["aggregateTypes","resolution","startDate","endDate"],"members":{"assetId":{"location":"querystring","locationName":"assetId"},"propertyId":{"location":"querystring","locationName":"propertyId"},"propertyAlias":{"location":"querystring","locationName":"propertyAlias"},"aggregateTypes":{"shape":"Sm","location":"querystring","locationName":"aggregateTypes"},"resolution":{"location":"querystring","locationName":"resolution"},"qualities":{"shape":"Sq","location":"querystring","locationName":"qualities"},"startDate":{"location":"querystring","locationName":"startDate","type":"timestamp"},"endDate":{"location":"querystring","locationName":"endDate","type":"timestamp"},"timeOrdering":{"location":"querystring","locationName":"timeOrdering"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["aggregatedValues"],"members":{"aggregatedValues":{"shape":"S12"},"nextToken":{}}},"endpoint":{"hostPrefix":"data."}},"GetAssetPropertyValue":{"http":{"method":"GET","requestUri":"/properties/latest"},"input":{"type":"structure","members":{"assetId":{"location":"querystring","locationName":"assetId"},"propertyId":{"location":"querystring","locationName":"propertyId"},"propertyAlias":{"location":"querystring","locationName":"propertyAlias"}}},"output":{"type":"structure","members":{"propertyValue":{"shape":"S1j"}}},"endpoint":{"hostPrefix":"data."}},"GetAssetPropertyValueHistory":{"http":{"method":"GET","requestUri":"/properties/history"},"input":{"type":"structure","members":{"assetId":{"location":"querystring","locationName":"assetId"},"propertyId":{"location":"querystring","locationName":"propertyId"},"propertyAlias":{"location":"querystring","locationName":"propertyAlias"},"startDate":{"location":"querystring","locationName":"startDate","type":"timestamp"},"endDate":{"location":"querystring","locationName":"endDate","type":"timestamp"},"qualities":{"shape":"Sq","location":"querystring","locationName":"qualities"},"timeOrdering":{"location":"querystring","locationName":"timeOrdering"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["assetPropertyValueHistory"],"members":{"assetPropertyValueHistory":{"shape":"S25"},"nextToken":{}}},"endpoint":{"hostPrefix":"data."}},"GetInterpolatedAssetPropertyValues":{"http":{"method":"GET","requestUri":"/properties/interpolated"},"input":{"type":"structure","required":["startTimeInSeconds","endTimeInSeconds","quality","intervalInSeconds","type"],"members":{"assetId":{"location":"querystring","locationName":"assetId"},"propertyId":{"location":"querystring","locationName":"propertyId"},"propertyAlias":{"location":"querystring","locationName":"propertyAlias"},"startTimeInSeconds":{"location":"querystring","locationName":"startTimeInSeconds","type":"long"},"startTimeOffsetInNanos":{"location":"querystring","locationName":"startTimeOffsetInNanos","type":"integer"},"endTimeInSeconds":{"location":"querystring","locationName":"endTimeInSeconds","type":"long"},"endTimeOffsetInNanos":{"location":"querystring","locationName":"endTimeOffsetInNanos","type":"integer"},"quality":{"location":"querystring","locationName":"quality"},"intervalInSeconds":{"location":"querystring","locationName":"intervalInSeconds","type":"long"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"type":{"location":"querystring","locationName":"type"},"intervalWindowInSeconds":{"location":"querystring","locationName":"intervalWindowInSeconds","type":"long"}}},"output":{"type":"structure","required":["interpolatedAssetPropertyValues"],"members":{"interpolatedAssetPropertyValues":{"type":"list","member":{"type":"structure","required":["timestamp","value"],"members":{"timestamp":{"shape":"S1p"},"value":{"shape":"S1k"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"data."}},"ListAccessPolicies":{"http":{"method":"GET","requestUri":"/access-policies","responseCode":200},"input":{"type":"structure","members":{"identityType":{"location":"querystring","locationName":"identityType"},"identityId":{"location":"querystring","locationName":"identityId"},"resourceType":{"location":"querystring","locationName":"resourceType"},"resourceId":{"location":"querystring","locationName":"resourceId"},"iamArn":{"location":"querystring","locationName":"iamArn"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["accessPolicySummaries"],"members":{"accessPolicySummaries":{"type":"list","member":{"type":"structure","required":["id","identity","resource","permission"],"members":{"id":{},"identity":{"shape":"S2l"},"resource":{"shape":"S2s"},"permission":{},"creationDate":{"type":"timestamp"},"lastUpdateDate":{"type":"timestamp"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"monitor."}},"ListActions":{"http":{"method":"GET","requestUri":"/actions"},"input":{"type":"structure","required":["targetResourceType","targetResourceId"],"members":{"targetResourceType":{"location":"querystring","locationName":"targetResourceType"},"targetResourceId":{"location":"querystring","locationName":"targetResourceId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["actionSummaries","nextToken"],"members":{"actionSummaries":{"type":"list","member":{"type":"structure","members":{"actionId":{},"actionDefinitionId":{},"targetResource":{"shape":"S6e"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListAssetModelCompositeModels":{"http":{"method":"GET","requestUri":"/asset-models/{assetModelId}/composite-models"},"input":{"type":"structure","required":["assetModelId"],"members":{"assetModelId":{"location":"uri","locationName":"assetModelId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"assetModelVersion":{"location":"querystring","locationName":"assetModelVersion"}}},"output":{"type":"structure","required":["assetModelCompositeModelSummaries"],"members":{"assetModelCompositeModelSummaries":{"shape":"S7c"},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListAssetModelProperties":{"http":{"method":"GET","requestUri":"/asset-models/{assetModelId}/properties"},"input":{"type":"structure","required":["assetModelId"],"members":{"assetModelId":{"location":"uri","locationName":"assetModelId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"filter":{"location":"querystring","locationName":"filter"},"assetModelVersion":{"location":"querystring","locationName":"assetModelVersion"}}},"output":{"type":"structure","required":["assetModelPropertySummaries"],"members":{"assetModelPropertySummaries":{"type":"list","member":{"type":"structure","required":["name","dataType","type"],"members":{"id":{},"externalId":{},"name":{},"dataType":{},"dataTypeSpec":{},"unit":{},"type":{"shape":"S3j"},"assetModelCompositeModelId":{},"path":{"shape":"S3x"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListAssetModels":{"http":{"method":"GET","requestUri":"/asset-models"},"input":{"type":"structure","members":{"assetModelTypes":{"location":"querystring","locationName":"assetModelTypes","type":"list","member":{}},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"assetModelVersion":{"location":"querystring","locationName":"assetModelVersion"}}},"output":{"type":"structure","required":["assetModelSummaries"],"members":{"assetModelSummaries":{"type":"list","member":{"type":"structure","required":["id","arn","name","description","creationDate","lastUpdateDate","status"],"members":{"id":{},"externalId":{},"arn":{},"name":{},"assetModelType":{},"description":{},"creationDate":{"type":"timestamp"},"lastUpdateDate":{"type":"timestamp"},"status":{"shape":"S4c"},"version":{}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListAssetProperties":{"http":{"method":"GET","requestUri":"/assets/{assetId}/properties"},"input":{"type":"structure","required":["assetId"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"filter":{"location":"querystring","locationName":"filter"}}},"output":{"type":"structure","required":["assetPropertySummaries"],"members":{"assetPropertySummaries":{"type":"list","member":{"type":"structure","required":["id"],"members":{"id":{},"alias":{},"unit":{},"notification":{"shape":"S6m"},"assetCompositeModelId":{},"path":{"shape":"S6p"},"externalId":{}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListAssetRelationships":{"http":{"method":"GET","requestUri":"/assets/{assetId}/assetRelationships"},"input":{"type":"structure","required":["assetId","traversalType"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"traversalType":{"location":"querystring","locationName":"traversalType"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["assetRelationshipSummaries"],"members":{"assetRelationshipSummaries":{"type":"list","member":{"type":"structure","required":["relationshipType"],"members":{"hierarchyInfo":{"type":"structure","members":{"parentAssetId":{},"childAssetId":{}}},"relationshipType":{}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListAssets":{"http":{"method":"GET","requestUri":"/assets"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"assetModelId":{"location":"querystring","locationName":"assetModelId"},"filter":{"location":"querystring","locationName":"filter"}}},"output":{"type":"structure","required":["assetSummaries"],"members":{"assetSummaries":{"type":"list","member":{"type":"structure","required":["id","arn","name","assetModelId","creationDate","lastUpdateDate","status","hierarchies"],"members":{"id":{},"arn":{},"name":{},"assetModelId":{},"creationDate":{"type":"timestamp"},"lastUpdateDate":{"type":"timestamp"},"status":{"shape":"S35"},"hierarchies":{"shape":"S6r"},"description":{},"externalId":{}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListAssociatedAssets":{"http":{"method":"GET","requestUri":"/assets/{assetId}/hierarchies"},"input":{"type":"structure","required":["assetId"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"hierarchyId":{"location":"querystring","locationName":"hierarchyId"},"traversalDirection":{"location":"querystring","locationName":"traversalDirection"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["assetSummaries"],"members":{"assetSummaries":{"type":"list","member":{"type":"structure","required":["id","arn","name","assetModelId","creationDate","lastUpdateDate","status","hierarchies"],"members":{"id":{},"arn":{},"name":{},"assetModelId":{},"creationDate":{"type":"timestamp"},"lastUpdateDate":{"type":"timestamp"},"status":{"shape":"S35"},"hierarchies":{"shape":"S6r"},"description":{},"externalId":{}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListBulkImportJobs":{"http":{"method":"GET","requestUri":"/jobs"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"filter":{"location":"querystring","locationName":"filter"}}},"output":{"type":"structure","required":["jobSummaries"],"members":{"jobSummaries":{"type":"list","member":{"type":"structure","required":["id","name","status"],"members":{"id":{},"name":{},"status":{}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"data."}},"ListCompositionRelationships":{"http":{"method":"GET","requestUri":"/asset-models/{assetModelId}/composition-relationships"},"input":{"type":"structure","required":["assetModelId"],"members":{"assetModelId":{"location":"uri","locationName":"assetModelId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["compositionRelationshipSummaries"],"members":{"compositionRelationshipSummaries":{"type":"list","member":{"type":"structure","required":["assetModelId","assetModelCompositeModelId","assetModelCompositeModelType"],"members":{"assetModelId":{},"assetModelCompositeModelId":{},"assetModelCompositeModelType":{}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListDashboards":{"http":{"method":"GET","requestUri":"/dashboards","responseCode":200},"input":{"type":"structure","required":["projectId"],"members":{"projectId":{"location":"querystring","locationName":"projectId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["dashboardSummaries"],"members":{"dashboardSummaries":{"type":"list","member":{"type":"structure","required":["id","name"],"members":{"id":{},"name":{},"description":{},"creationDate":{"type":"timestamp"},"lastUpdateDate":{"type":"timestamp"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"monitor."}},"ListGateways":{"http":{"method":"GET","requestUri":"/20200301/gateways"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["gatewaySummaries"],"members":{"gatewaySummaries":{"type":"list","member":{"type":"structure","required":["gatewayId","gatewayName","creationDate","lastUpdateDate"],"members":{"gatewayId":{},"gatewayName":{},"gatewayPlatform":{"shape":"S56"},"gatewayCapabilitySummaries":{"shape":"S80"},"creationDate":{"type":"timestamp"},"lastUpdateDate":{"type":"timestamp"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"ListPortals":{"http":{"method":"GET","requestUri":"/portals","responseCode":200},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"portalSummaries":{"type":"list","member":{"type":"structure","required":["id","name","startUrl","status"],"members":{"id":{},"name":{},"description":{},"startUrl":{},"creationDate":{"type":"timestamp"},"lastUpdateDate":{"type":"timestamp"},"roleArn":{},"status":{"shape":"S5m"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"monitor."}},"ListProjectAssets":{"http":{"method":"GET","requestUri":"/projects/{projectId}/assets","responseCode":200},"input":{"type":"structure","required":["projectId"],"members":{"projectId":{"location":"uri","locationName":"projectId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["assetIds"],"members":{"assetIds":{"type":"list","member":{}},"nextToken":{}}},"endpoint":{"hostPrefix":"monitor."}},"ListProjects":{"http":{"method":"GET","requestUri":"/projects","responseCode":200},"input":{"type":"structure","required":["portalId"],"members":{"portalId":{"location":"querystring","locationName":"portalId"},"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","required":["projectSummaries"],"members":{"projectSummaries":{"type":"list","member":{"type":"structure","required":["id","name"],"members":{"id":{},"name":{},"description":{},"creationDate":{"type":"timestamp"},"lastUpdateDate":{"type":"timestamp"}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"monitor."}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags"},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"querystring","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"S2w"}}},"endpoint":{"hostPrefix":"api."}},"ListTimeSeries":{"http":{"method":"GET","requestUri":"/timeseries/"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"assetId":{"location":"querystring","locationName":"assetId"},"aliasPrefix":{"location":"querystring","locationName":"aliasPrefix"},"timeSeriesType":{"location":"querystring","locationName":"timeSeriesType"}}},"output":{"type":"structure","required":["TimeSeriesSummaries"],"members":{"TimeSeriesSummaries":{"type":"list","member":{"type":"structure","required":["timeSeriesId","dataType","timeSeriesCreationDate","timeSeriesLastUpdateDate","timeSeriesArn"],"members":{"assetId":{},"propertyId":{},"alias":{},"timeSeriesId":{},"dataType":{},"dataTypeSpec":{},"timeSeriesCreationDate":{"type":"timestamp"},"timeSeriesLastUpdateDate":{"type":"timestamp"},"timeSeriesArn":{}}}},"nextToken":{}}},"endpoint":{"hostPrefix":"api."}},"PutDefaultEncryptionConfiguration":{"http":{"requestUri":"/configuration/account/encryption"},"input":{"type":"structure","required":["encryptionType"],"members":{"encryptionType":{},"kmsKeyId":{}}},"output":{"type":"structure","required":["encryptionType","configurationStatus"],"members":{"encryptionType":{},"kmsKeyArn":{},"configurationStatus":{"shape":"S7v"}}},"endpoint":{"hostPrefix":"api."}},"PutLoggingOptions":{"http":{"method":"PUT","requestUri":"/logging"},"input":{"type":"structure","required":["loggingOptions"],"members":{"loggingOptions":{"shape":"S89"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"api."}},"PutStorageConfiguration":{"http":{"requestUri":"/configuration/account/storage"},"input":{"type":"structure","required":["storageType"],"members":{"storageType":{},"multiLayerStorage":{"shape":"S8k"},"disassociatedDataStorage":{},"retentionPeriod":{"shape":"S8n"},"warmTier":{},"warmTierRetentionPeriod":{"shape":"S8r"}}},"output":{"type":"structure","required":["storageType","configurationStatus"],"members":{"storageType":{},"multiLayerStorage":{"shape":"S8k"},"disassociatedDataStorage":{},"retentionPeriod":{"shape":"S8n"},"configurationStatus":{"shape":"S7v"},"warmTier":{},"warmTierRetentionPeriod":{"shape":"S8r"}}},"endpoint":{"hostPrefix":"api."}},"TagResource":{"http":{"requestUri":"/tags"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"querystring","locationName":"resourceArn"},"tags":{"shape":"S2w"}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"api."}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags"},"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."}},"UpdateAccessPolicy":{"http":{"method":"PUT","requestUri":"/access-policies/{accessPolicyId}","responseCode":200},"input":{"type":"structure","required":["accessPolicyId","accessPolicyIdentity","accessPolicyResource","accessPolicyPermission"],"members":{"accessPolicyId":{"location":"uri","locationName":"accessPolicyId"},"accessPolicyIdentity":{"shape":"S2l"},"accessPolicyResource":{"shape":"S2s"},"accessPolicyPermission":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"monitor."}},"UpdateAsset":{"http":{"method":"PUT","requestUri":"/assets/{assetId}","responseCode":202},"input":{"type":"structure","required":["assetId","assetName"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"assetName":{},"clientToken":{"idempotencyToken":true},"assetDescription":{},"assetExternalId":{}}},"output":{"type":"structure","required":["assetStatus"],"members":{"assetStatus":{"shape":"S35"}}},"endpoint":{"hostPrefix":"api."}},"UpdateAssetModel":{"http":{"method":"PUT","requestUri":"/asset-models/{assetModelId}","responseCode":202},"input":{"type":"structure","required":["assetModelId","assetModelName"],"members":{"assetModelId":{"location":"uri","locationName":"assetModelId"},"assetModelExternalId":{},"assetModelName":{},"assetModelDescription":{},"assetModelProperties":{"shape":"S76"},"assetModelHierarchies":{"shape":"S78"},"assetModelCompositeModels":{"shape":"S7a"},"clientToken":{"idempotencyToken":true},"ifMatch":{"location":"header","locationName":"If-Match"},"ifNoneMatch":{"location":"header","locationName":"If-None-Match"},"matchForVersionType":{"location":"header","locationName":"Match-For-Version-Type"}}},"output":{"type":"structure","required":["assetModelStatus"],"members":{"assetModelStatus":{"shape":"S4c"}}},"endpoint":{"hostPrefix":"api."}},"UpdateAssetModelCompositeModel":{"http":{"method":"PUT","requestUri":"/asset-models/{assetModelId}/composite-models/{assetModelCompositeModelId}","responseCode":202},"input":{"type":"structure","required":["assetModelId","assetModelCompositeModelId","assetModelCompositeModelName"],"members":{"assetModelId":{"location":"uri","locationName":"assetModelId"},"assetModelCompositeModelId":{"location":"uri","locationName":"assetModelCompositeModelId"},"assetModelCompositeModelExternalId":{},"assetModelCompositeModelDescription":{},"assetModelCompositeModelName":{},"clientToken":{"idempotencyToken":true},"assetModelCompositeModelProperties":{"shape":"S76"},"ifMatch":{"location":"header","locationName":"If-Match"},"ifNoneMatch":{"location":"header","locationName":"If-None-Match"},"matchForVersionType":{"location":"header","locationName":"Match-For-Version-Type"}}},"output":{"type":"structure","required":["assetModelCompositeModelPath","assetModelStatus"],"members":{"assetModelCompositeModelPath":{"shape":"S4j"},"assetModelStatus":{"shape":"S4c"}}},"endpoint":{"hostPrefix":"api."}},"UpdateAssetProperty":{"http":{"method":"PUT","requestUri":"/assets/{assetId}/properties/{propertyId}"},"input":{"type":"structure","required":["assetId","propertyId"],"members":{"assetId":{"location":"uri","locationName":"assetId"},"propertyId":{"location":"uri","locationName":"propertyId"},"propertyAlias":{},"propertyNotificationState":{},"clientToken":{"idempotencyToken":true},"propertyUnit":{}}},"endpoint":{"hostPrefix":"api."}},"UpdateDashboard":{"http":{"method":"PUT","requestUri":"/dashboards/{dashboardId}","responseCode":200},"input":{"type":"structure","required":["dashboardId","dashboardName","dashboardDefinition"],"members":{"dashboardId":{"location":"uri","locationName":"dashboardId"},"dashboardName":{},"dashboardDescription":{},"dashboardDefinition":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"monitor."}},"UpdateGateway":{"http":{"method":"PUT","requestUri":"/20200301/gateways/{gatewayId}"},"input":{"type":"structure","required":["gatewayId","gatewayName"],"members":{"gatewayId":{"location":"uri","locationName":"gatewayId"},"gatewayName":{}}},"endpoint":{"hostPrefix":"api."}},"UpdateGatewayCapabilityConfiguration":{"http":{"requestUri":"/20200301/gateways/{gatewayId}/capability","responseCode":201},"input":{"type":"structure","required":["gatewayId","capabilityNamespace","capabilityConfiguration"],"members":{"gatewayId":{"location":"uri","locationName":"gatewayId"},"capabilityNamespace":{},"capabilityConfiguration":{}}},"output":{"type":"structure","required":["capabilityNamespace","capabilitySyncStatus"],"members":{"capabilityNamespace":{},"capabilitySyncStatus":{}}},"endpoint":{"hostPrefix":"api."}},"UpdatePortal":{"http":{"method":"PUT","requestUri":"/portals/{portalId}","responseCode":202},"input":{"type":"structure","required":["portalId","portalName","portalContactEmail","roleArn"],"members":{"portalId":{"location":"uri","locationName":"portalId"},"portalName":{},"portalDescription":{},"portalContactEmail":{},"portalLogoImage":{"type":"structure","members":{"id":{},"file":{"shape":"S5f"}}},"roleArn":{},"clientToken":{"idempotencyToken":true},"notificationSenderEmail":{},"alarms":{"shape":"S5j"}}},"output":{"type":"structure","required":["portalStatus"],"members":{"portalStatus":{"shape":"S5m"}}},"endpoint":{"hostPrefix":"monitor."}},"UpdateProject":{"http":{"method":"PUT","requestUri":"/projects/{projectId}","responseCode":200},"input":{"type":"structure","required":["projectId","projectName"],"members":{"projectId":{"location":"uri","locationName":"projectId"},"projectName":{},"projectDescription":{},"clientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{}},"endpoint":{"hostPrefix":"monitor."}}},"shapes":{"S8":{"type":"list","member":{}},"Sb":{"type":"structure","required":["assetId","code","message"],"members":{"assetId":{},"code":{},"message":{}}},"Sm":{"type":"list","member":{}},"Sq":{"type":"list","member":{}},"S12":{"type":"list","member":{"type":"structure","required":["timestamp","value"],"members":{"timestamp":{"type":"timestamp"},"quality":{},"value":{"type":"structure","members":{"average":{"type":"double"},"count":{"type":"double"},"maximum":{"type":"double"},"minimum":{"type":"double"},"sum":{"type":"double"},"standardDeviation":{"type":"double"}}}}}},"S1j":{"type":"structure","required":["value","timestamp"],"members":{"value":{"shape":"S1k"},"timestamp":{"shape":"S1p"},"quality":{}}},"S1k":{"type":"structure","members":{"stringValue":{},"integerValue":{"type":"integer"},"doubleValue":{"type":"double"},"booleanValue":{"type":"boolean"}}},"S1p":{"type":"structure","required":["timeInSeconds"],"members":{"timeInSeconds":{"type":"long"},"offsetInNanos":{"type":"integer"}}},"S25":{"type":"list","member":{"shape":"S1j"}},"S2l":{"type":"structure","members":{"user":{"type":"structure","required":["id"],"members":{"id":{}}},"group":{"type":"structure","required":["id"],"members":{"id":{}}},"iamUser":{"type":"structure","required":["arn"],"members":{"arn":{}}},"iamRole":{"type":"structure","required":["arn"],"members":{"arn":{}}}}},"S2s":{"type":"structure","members":{"portal":{"type":"structure","required":["id"],"members":{"id":{}}},"project":{"type":"structure","required":["id"],"members":{"id":{}}}}},"S2w":{"type":"map","key":{},"value":{}},"S35":{"type":"structure","required":["state"],"members":{"state":{},"error":{"shape":"S37"}}},"S37":{"type":"structure","required":["code","message"],"members":{"code":{},"message":{},"details":{"type":"list","member":{"type":"structure","required":["code","message"],"members":{"code":{},"message":{}}}}}},"S3f":{"type":"list","member":{"type":"structure","required":["name","dataType","type"],"members":{"id":{},"externalId":{},"name":{},"dataType":{},"dataTypeSpec":{},"unit":{},"type":{"shape":"S3j"}}}},"S3j":{"type":"structure","members":{"attribute":{"type":"structure","members":{"defaultValue":{}}},"measurement":{"type":"structure","members":{"processingConfig":{"type":"structure","required":["forwardingConfig"],"members":{"forwardingConfig":{"shape":"S3o"}}}}},"transform":{"type":"structure","required":["expression","variables"],"members":{"expression":{},"variables":{"shape":"S3s"},"processingConfig":{"type":"structure","required":["computeLocation"],"members":{"computeLocation":{},"forwardingConfig":{"shape":"S3o"}}}}},"metric":{"type":"structure","required":["expression","variables","window"],"members":{"expression":{},"variables":{"shape":"S3s"},"window":{"type":"structure","members":{"tumbling":{"type":"structure","required":["interval"],"members":{"interval":{},"offset":{}}}}},"processingConfig":{"type":"structure","required":["computeLocation"],"members":{"computeLocation":{}}}}}}},"S3o":{"type":"structure","required":["state"],"members":{"state":{}}},"S3s":{"type":"list","member":{"type":"structure","required":["name","value"],"members":{"name":{},"value":{"type":"structure","members":{"propertyId":{},"hierarchyId":{},"propertyPath":{"shape":"S3x"}}}}}},"S3x":{"type":"list","member":{"type":"structure","members":{"id":{},"name":{}}}},"S4c":{"type":"structure","required":["state"],"members":{"state":{},"error":{"shape":"S37"}}},"S4j":{"type":"list","member":{"type":"structure","members":{"id":{},"name":{}}}},"S4m":{"type":"list","member":{"type":"structure","required":["bucket","key"],"members":{"bucket":{},"key":{},"versionId":{}}}},"S4q":{"type":"structure","required":["bucket","prefix"],"members":{"bucket":{},"prefix":{}}},"S4r":{"type":"structure","required":["fileFormat"],"members":{"fileFormat":{"type":"structure","members":{"csv":{"type":"structure","required":["columnNames"],"members":{"columnNames":{"type":"list","member":{}}}},"parquet":{"type":"structure","members":{}}}}}},"S56":{"type":"structure","members":{"greengrass":{"type":"structure","required":["groupArn"],"members":{"groupArn":{}}},"greengrassV2":{"type":"structure","required":["coreDeviceThingName"],"members":{"coreDeviceThingName":{}}},"siemensIE":{"type":"structure","required":["iotCoreThingName"],"members":{"iotCoreThingName":{}}}}},"S5f":{"type":"structure","required":["data","type"],"members":{"data":{"type":"blob"},"type":{}}},"S5j":{"type":"structure","required":["alarmRoleArn"],"members":{"alarmRoleArn":{},"notificationLambdaArn":{}}},"S5m":{"type":"structure","required":["state"],"members":{"state":{},"error":{"type":"structure","members":{"code":{},"message":{}}}}},"S6e":{"type":"structure","required":["assetId"],"members":{"assetId":{}}},"S6f":{"type":"structure","required":["stringValue"],"members":{"stringValue":{}}},"S6k":{"type":"list","member":{"type":"structure","required":["id","name","dataType"],"members":{"id":{},"name":{},"alias":{},"notification":{"shape":"S6m"},"dataType":{},"dataTypeSpec":{},"unit":{},"path":{"shape":"S6p"},"externalId":{}}}},"S6m":{"type":"structure","required":["topic","state"],"members":{"topic":{},"state":{}}},"S6p":{"type":"list","member":{"type":"structure","members":{"id":{},"name":{}}}},"S6r":{"type":"list","member":{"type":"structure","required":["name"],"members":{"id":{},"name":{},"externalId":{}}}},"S6v":{"type":"list","member":{"type":"structure","required":["id","name","type","description","path"],"members":{"id":{},"externalId":{},"name":{},"type":{},"description":{},"path":{"shape":"S6x"}}}},"S6x":{"type":"list","member":{"type":"structure","members":{"id":{},"name":{}}}},"S71":{"type":"list","member":{"type":"structure","required":["actionDefinitionId","actionName","actionType"],"members":{"actionDefinitionId":{},"actionName":{},"actionType":{}}}},"S76":{"type":"list","member":{"type":"structure","required":["name","dataType","type"],"members":{"id":{},"externalId":{},"name":{},"dataType":{},"dataTypeSpec":{},"unit":{},"type":{"shape":"S3j"},"path":{"shape":"S3x"}}}},"S78":{"type":"list","member":{"type":"structure","required":["name","childAssetModelId"],"members":{"id":{},"externalId":{},"name":{},"childAssetModelId":{}}}},"S7a":{"type":"list","member":{"type":"structure","required":["name","type"],"members":{"name":{},"description":{},"type":{},"properties":{"shape":"S76"},"id":{},"externalId":{}}}},"S7c":{"type":"list","member":{"type":"structure","required":["id","name","type"],"members":{"id":{},"externalId":{},"name":{},"type":{},"description":{},"path":{"shape":"S4j"}}}},"S7m":{"type":"structure","required":["id","name","dataType"],"members":{"id":{},"name":{},"alias":{},"notification":{"shape":"S6m"},"dataType":{},"unit":{},"type":{"shape":"S3j"},"path":{"shape":"S6p"},"externalId":{}}},"S7v":{"type":"structure","required":["state"],"members":{"state":{},"error":{"type":"structure","required":["code","message"],"members":{"code":{},"message":{}}}}},"S80":{"type":"list","member":{"type":"structure","required":["capabilityNamespace","capabilitySyncStatus"],"members":{"capabilityNamespace":{},"capabilitySyncStatus":{}}}},"S89":{"type":"structure","required":["level"],"members":{"level":{}}},"S8k":{"type":"structure","required":["customerManagedS3Storage"],"members":{"customerManagedS3Storage":{"type":"structure","required":["s3ResourceArn","roleArn"],"members":{"s3ResourceArn":{},"roleArn":{}}}}},"S8n":{"type":"structure","members":{"numberOfDays":{"type":"integer"},"unlimited":{"type":"boolean"}}},"S8r":{"type":"structure","members":{"numberOfDays":{"type":"integer"},"unlimited":{"type":"boolean"}}},"S99":{"type":"structure","required":["data"],"members":{"data":{"shape":"S9a"}}},"S9a":{"type":"list","member":{"type":"structure","members":{"scalarValue":{},"arrayValue":{"shape":"S9a"},"rowValue":{"shape":"S99"},"nullValue":{"type":"boolean"}}}}}} /***/ }), /* 908 */ diff --git a/dist/aws-sdk.js b/dist/aws-sdk.js index 6cc7341ccb..36c9675d33 100644 --- a/dist/aws-sdk.js +++ b/dist/aws-sdk.js @@ -1,4 +1,4 @@ -// AWS SDK for JavaScript v2.1682.0 +// AWS SDK for JavaScript v2.1683.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/":440}],342:[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":341}],343:[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":341,"buffer/":440}],344:[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":341,"buffer/":440}],345:[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":341,"buffer/":440}],346:[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":340,"./core":350,"./credentials":351,"./credentials/chainable_temporary_credentials":352,"./credentials/cognito_identity_credentials":353,"./credentials/credential_provider_chain":354,"./credentials/saml_credentials":355,"./credentials/temporary_credentials":356,"./credentials/web_identity_credentials":357,"./event-stream/buffered-create-event-stream":365,"./http/xhr":373,"./realclock/browserClock":393,"./util":428,"./xml/browser_parser":429,_process:445,"buffer/":440,"querystring/":452,"url/":454}],347:[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":350}],348:[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":350,"./credentials":351,"./credentials/credential_provider_chain":354}],349:[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":350,_process:445}],350:[function(e,t,r){var a={util:e("./util")};({}).toString(),t.exports=a,a.util.update(a,{VERSION:"2.1682.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":465,"./api_loader":339,"./config":348,"./event_listeners":371,"./http":372,"./json/builder":374,"./json/parser":375,"./maintenance_mode_message":376,"./model/api":377,"./model/operation":379,"./model/paginator":380,"./model/resource_waiter":381,"./model/shape":382,"./param_validator":383,"./protocol/json":386,"./protocol/query":387,"./protocol/rest":388,"./protocol/rest_json":389,"./protocol/rest_xml":390,"./request":397,"./resource_waiter":398,"./response":399,"./sequential_executor":401,"./service":402,"./signers/request_signer":420,"./util":428,"./xml/builder":430}],351:[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":350}],352:[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":334,"../core":350}],353:[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":265,"../../clients/sts":334,"../core":350}],354:[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":350}],355:[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":334,"../core":350}],356:[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){ +"../apis/sts-2011-06-15.min.json":236,"../apis/sts-2011-06-15.paginators.json":237,"../lib/core":350,"../lib/node_loader":346,"../lib/services/sts":417}],335:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),i=a.Service,s=a.apiLoader;s.services.translate={},a.Translate=i.defineService("translate",["2017-07-01"]),Object.defineProperty(s.services.translate,"2017-07-01",{get:function(){var t=e("../apis/translate-2017-07-01.min.json");return t.paginators=e("../apis/translate-2017-07-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.Translate},{"../apis/translate-2017-07-01.min.json":238,"../apis/translate-2017-07-01.paginators.json":239,"../lib/core":350,"../lib/node_loader":346}],336:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),i=a.Service,s=a.apiLoader;s.services.waf={},a.WAF=i.defineService("waf",["2015-08-24"]),Object.defineProperty(s.services.waf,"2015-08-24",{get:function(){var t=e("../apis/waf-2015-08-24.min.json");return t.paginators=e("../apis/waf-2015-08-24.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.WAF},{"../apis/waf-2015-08-24.min.json":240,"../apis/waf-2015-08-24.paginators.json":241,"../lib/core":350,"../lib/node_loader":346}],337:[function(e,t,r){e("../lib/node_loader");var a=e("../lib/core"),i=a.Service,s=a.apiLoader;s.services.workdocs={},a.WorkDocs=i.defineService("workdocs",["2016-05-01"]),Object.defineProperty(s.services.workdocs,"2016-05-01",{get:function(){var t=e("../apis/workdocs-2016-05-01.min.json");return t.paginators=e("../apis/workdocs-2016-05-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=a.WorkDocs},{"../apis/workdocs-2016-05-01.min.json":242,"../apis/workdocs-2016-05-01.paginators.json":243,"../lib/core":350,"../lib/node_loader":346}],338:[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":244,"../apis/xray-2016-04-12.paginators.json":245,"../lib/core":350,"../lib/node_loader":346}],339:[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},{}],340:[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":342,"./browserMd5":343,"./browserSha1":344,"./browserSha256":345}],341:[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/":440}],342:[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":341}],343:[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":341,"buffer/":440}],344:[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":341,"buffer/":440}],345:[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":341,"buffer/":440}],346:[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":340,"./core":350,"./credentials":351,"./credentials/chainable_temporary_credentials":352,"./credentials/cognito_identity_credentials":353,"./credentials/credential_provider_chain":354,"./credentials/saml_credentials":355,"./credentials/temporary_credentials":356,"./credentials/web_identity_credentials":357,"./event-stream/buffered-create-event-stream":365,"./http/xhr":373,"./realclock/browserClock":393,"./util":428,"./xml/browser_parser":429,_process:445,"buffer/":440,"querystring/":452,"url/":454}],347:[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":350}],348:[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":350,"./credentials":351,"./credentials/credential_provider_chain":354}],349:[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":350,_process:445}],350:[function(e,t,r){var a={util:e("./util")};({}).toString(),t.exports=a,a.util.update(a,{VERSION:"2.1683.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":465,"./api_loader":339,"./config":348,"./event_listeners":371,"./http":372,"./json/builder":374,"./json/parser":375,"./maintenance_mode_message":376,"./model/api":377,"./model/operation":379,"./model/paginator":380,"./model/resource_waiter":381,"./model/shape":382,"./param_validator":383,"./protocol/json":386,"./protocol/query":387,"./protocol/rest":388,"./protocol/rest_json":389,"./protocol/rest_xml":390,"./request":397,"./resource_waiter":398,"./response":399,"./sequential_executor":401,"./service":402,"./signers/request_signer":420,"./util":428,"./xml/builder":430}],351:[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":350}],352:[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":334,"../core":350}],353:[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":265,"../../clients/sts":334,"../core":350}],354:[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":350}],355:[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":334,"../core":350}],356:[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":334,"../core":350}],357:[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":334,"../core":350}],358:[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":350}],368:[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,this.httpRequest.path=this.httpRequest.endpoint.path,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":350,"./discover_endpoint":358,"./protocol/json":386,"./protocol/query":387,"./protocol/rest":388,"./protocol/rest_json":389,"./protocol/rest_xml":390,"./sequential_executor":401,_process:445,util:439}],372:[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":350}],373:[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":428,"./collection":378}],383:[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":350,"../util":428}],386:[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"),r.awsQueryCompatible&&(t.params||(t.params={}),Object.assign(t.params,e.params)),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;for(var s in a||{})"code"!==s&&"message"!==s&&(t["["+s+"]"]="See error."+s+" for details.",Object.defineProperty(t,s,{value:a[s],enumerable:!1,writable:!0}))}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":374,"../json/parser":375,"../util":428,"./helpers":385}],387:[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 d,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){c.buildRequest(e),b.indexOf(e.httpRequest.method)<0&&i(e)}function n(e){l.extractError(e)}function u(e){c.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 y,e.data[i.payload]=m.createEventStream(2===p.HttpClient.streamsApiVersion?e.httpResponse.stream:o,t,s);else if("structure"===s.type||"list"===s.type){var t=new y;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;l.extractData(e),e.data=m.merge(n,e.data)}}var p=e("../core"),m=e("../util"),c=e("./rest"),l=e("./json"),d=e("../json/builder"),y=e("../json/parser"),b=["GET","HEAD","DELETE"];t.exports={buildRequest:o,extractError:n,extractData:u,unsetContentLength:a}},{"../core":350,"../json/builder":374,"../json/parser":375,"../util":428,"./json":386,"./rest":388}],390:[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":350,"../util":428,"./rest":388}],391:[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("ec2"!==r.api.protocol&&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":428}],392:[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":350}],393:[function(e,t,r){t.exports={now:function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}}},{}],394:[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}},{}],395:[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],[t,"internal-*"],["*","*"]].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":350,"./state_machine":427,_process:445,jmespath:444}],398:[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