@aws-sdk/client-iotsitewise 3.180.0 → 3.183.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/dist-cjs/protocols/Aws_restJson1.js +77 -71
- package/dist-es/IoTSiteWise.js +286 -293
- package/dist-es/IoTSiteWiseClient.js +22 -28
- package/dist-es/commands/AssociateAssetsCommand.js +22 -29
- package/dist-es/commands/AssociateTimeSeriesToAssetPropertyCommand.js +22 -29
- package/dist-es/commands/BatchAssociateProjectAssetsCommand.js +21 -28
- package/dist-es/commands/BatchDisassociateProjectAssetsCommand.js +21 -28
- package/dist-es/commands/BatchGetAssetPropertyAggregatesCommand.js +21 -28
- package/dist-es/commands/BatchGetAssetPropertyValueCommand.js +21 -28
- package/dist-es/commands/BatchGetAssetPropertyValueHistoryCommand.js +21 -28
- package/dist-es/commands/BatchPutAssetPropertyValueCommand.js +21 -28
- package/dist-es/commands/CreateAccessPolicyCommand.js +21 -28
- package/dist-es/commands/CreateAssetCommand.js +21 -28
- package/dist-es/commands/CreateAssetModelCommand.js +21 -28
- package/dist-es/commands/CreateBulkImportJobCommand.js +21 -28
- package/dist-es/commands/CreateDashboardCommand.js +21 -28
- package/dist-es/commands/CreateGatewayCommand.js +21 -28
- package/dist-es/commands/CreatePortalCommand.js +21 -28
- package/dist-es/commands/CreateProjectCommand.js +21 -28
- package/dist-es/commands/DeleteAccessPolicyCommand.js +21 -28
- package/dist-es/commands/DeleteAssetCommand.js +21 -28
- package/dist-es/commands/DeleteAssetModelCommand.js +21 -28
- package/dist-es/commands/DeleteDashboardCommand.js +21 -28
- package/dist-es/commands/DeleteGatewayCommand.js +22 -29
- package/dist-es/commands/DeletePortalCommand.js +21 -28
- package/dist-es/commands/DeleteProjectCommand.js +21 -28
- package/dist-es/commands/DeleteTimeSeriesCommand.js +22 -29
- package/dist-es/commands/DescribeAccessPolicyCommand.js +21 -28
- package/dist-es/commands/DescribeAssetCommand.js +21 -28
- package/dist-es/commands/DescribeAssetModelCommand.js +21 -28
- package/dist-es/commands/DescribeAssetPropertyCommand.js +21 -28
- package/dist-es/commands/DescribeBulkImportJobCommand.js +21 -28
- package/dist-es/commands/DescribeDashboardCommand.js +21 -28
- package/dist-es/commands/DescribeDefaultEncryptionConfigurationCommand.js +21 -28
- package/dist-es/commands/DescribeGatewayCapabilityConfigurationCommand.js +21 -28
- package/dist-es/commands/DescribeGatewayCommand.js +21 -28
- package/dist-es/commands/DescribeLoggingOptionsCommand.js +21 -28
- package/dist-es/commands/DescribePortalCommand.js +21 -28
- package/dist-es/commands/DescribeProjectCommand.js +21 -28
- package/dist-es/commands/DescribeStorageConfigurationCommand.js +21 -28
- package/dist-es/commands/DescribeTimeSeriesCommand.js +21 -28
- package/dist-es/commands/DisassociateAssetsCommand.js +22 -29
- package/dist-es/commands/DisassociateTimeSeriesFromAssetPropertyCommand.js +22 -29
- package/dist-es/commands/GetAssetPropertyAggregatesCommand.js +21 -28
- package/dist-es/commands/GetAssetPropertyValueCommand.js +21 -28
- package/dist-es/commands/GetAssetPropertyValueHistoryCommand.js +21 -28
- package/dist-es/commands/GetInterpolatedAssetPropertyValuesCommand.js +21 -28
- package/dist-es/commands/ListAccessPoliciesCommand.js +21 -28
- package/dist-es/commands/ListAssetModelsCommand.js +21 -28
- package/dist-es/commands/ListAssetRelationshipsCommand.js +21 -28
- package/dist-es/commands/ListAssetsCommand.js +21 -28
- package/dist-es/commands/ListAssociatedAssetsCommand.js +21 -28
- package/dist-es/commands/ListBulkImportJobsCommand.js +21 -28
- package/dist-es/commands/ListDashboardsCommand.js +21 -28
- package/dist-es/commands/ListGatewaysCommand.js +21 -28
- package/dist-es/commands/ListPortalsCommand.js +21 -28
- package/dist-es/commands/ListProjectAssetsCommand.js +21 -28
- package/dist-es/commands/ListProjectsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/ListTimeSeriesCommand.js +21 -28
- package/dist-es/commands/PutDefaultEncryptionConfigurationCommand.js +21 -28
- package/dist-es/commands/PutLoggingOptionsCommand.js +21 -28
- package/dist-es/commands/PutStorageConfigurationCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateAccessPolicyCommand.js +21 -28
- package/dist-es/commands/UpdateAssetCommand.js +21 -28
- package/dist-es/commands/UpdateAssetModelCommand.js +21 -28
- package/dist-es/commands/UpdateAssetPropertyCommand.js +22 -29
- package/dist-es/commands/UpdateDashboardCommand.js +21 -28
- package/dist-es/commands/UpdateGatewayCapabilityConfigurationCommand.js +21 -28
- package/dist-es/commands/UpdateGatewayCommand.js +22 -29
- package/dist-es/commands/UpdatePortalCommand.js +21 -28
- package/dist-es/commands/UpdateProjectCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/IoTSiteWiseServiceException.js +5 -10
- package/dist-es/models/models_0.js +802 -345
- package/dist-es/pagination/BatchGetAssetPropertyAggregatesPaginator.js +25 -68
- package/dist-es/pagination/BatchGetAssetPropertyValueHistoryPaginator.js +25 -68
- package/dist-es/pagination/BatchGetAssetPropertyValuePaginator.js +24 -67
- package/dist-es/pagination/GetAssetPropertyAggregatesPaginator.js +25 -68
- package/dist-es/pagination/GetAssetPropertyValueHistoryPaginator.js +25 -68
- package/dist-es/pagination/GetInterpolatedAssetPropertyValuesPaginator.js +25 -68
- package/dist-es/pagination/ListAccessPoliciesPaginator.js +25 -68
- package/dist-es/pagination/ListAssetModelsPaginator.js +25 -68
- package/dist-es/pagination/ListAssetRelationshipsPaginator.js +25 -68
- package/dist-es/pagination/ListAssetsPaginator.js +25 -68
- package/dist-es/pagination/ListAssociatedAssetsPaginator.js +25 -68
- package/dist-es/pagination/ListBulkImportJobsPaginator.js +25 -68
- package/dist-es/pagination/ListDashboardsPaginator.js +25 -68
- package/dist-es/pagination/ListGatewaysPaginator.js +25 -68
- package/dist-es/pagination/ListPortalsPaginator.js +25 -68
- package/dist-es/pagination/ListProjectAssetsPaginator.js +25 -68
- package/dist-es/pagination/ListProjectsPaginator.js +25 -68
- package/dist-es/pagination/ListTimeSeriesPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +6181 -8329
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/dist-es/waiters/waitForAssetActive.js +36 -56
- package/dist-es/waiters/waitForAssetModelActive.js +36 -56
- package/dist-es/waiters/waitForAssetModelNotExists.js +22 -42
- package/dist-es/waiters/waitForAssetNotExists.js +22 -42
- package/dist-es/waiters/waitForPortalActive.js +28 -48
- package/dist-es/waiters/waitForPortalNotExists.js +22 -42
- package/package.json +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,26 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-iotsitewise
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.181.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.180.0...v3.181.0) (2022-09-29)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **clients:** make parseErrorBody async ([#3999](https://github.com/aws/aws-sdk-js-v3/issues/3999)) ([2558c93](https://github.com/aws/aws-sdk-js-v3/commit/2558c93c050357ac6dc47aa0452b15b12ebfd676))
|
|
20
|
+
* **clients:** populate message field when parsing errors ([#3995](https://github.com/aws/aws-sdk-js-v3/issues/3995)) ([02e47f1](https://github.com/aws/aws-sdk-js-v3/commit/02e47f14397ae0a5d2e2883350d038b307fdcdb4))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
6
26
|
# [3.180.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.179.0...v3.180.0) (2022-09-27)
|
|
7
27
|
|
|
8
28
|
**Note:** Version bump only for package @aws-sdk/client-iotsitewise
|
|
@@ -2204,7 +2204,7 @@ exports.deserializeAws_restJson1AssociateAssetsCommand = deserializeAws_restJson
|
|
|
2204
2204
|
const deserializeAws_restJson1AssociateAssetsCommandError = async (output, context) => {
|
|
2205
2205
|
const parsedOutput = {
|
|
2206
2206
|
...output,
|
|
2207
|
-
body: await
|
|
2207
|
+
body: await parseErrorBody(output.body, context),
|
|
2208
2208
|
};
|
|
2209
2209
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2210
2210
|
switch (errorCode) {
|
|
@@ -2253,7 +2253,7 @@ exports.deserializeAws_restJson1AssociateTimeSeriesToAssetPropertyCommand = dese
|
|
|
2253
2253
|
const deserializeAws_restJson1AssociateTimeSeriesToAssetPropertyCommandError = async (output, context) => {
|
|
2254
2254
|
const parsedOutput = {
|
|
2255
2255
|
...output,
|
|
2256
|
-
body: await
|
|
2256
|
+
body: await parseErrorBody(output.body, context),
|
|
2257
2257
|
};
|
|
2258
2258
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2259
2259
|
switch (errorCode) {
|
|
@@ -2299,7 +2299,7 @@ exports.deserializeAws_restJson1BatchAssociateProjectAssetsCommand = deserialize
|
|
|
2299
2299
|
const deserializeAws_restJson1BatchAssociateProjectAssetsCommandError = async (output, context) => {
|
|
2300
2300
|
const parsedOutput = {
|
|
2301
2301
|
...output,
|
|
2302
|
-
body: await
|
|
2302
|
+
body: await parseErrorBody(output.body, context),
|
|
2303
2303
|
};
|
|
2304
2304
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2305
2305
|
switch (errorCode) {
|
|
@@ -2345,7 +2345,7 @@ exports.deserializeAws_restJson1BatchDisassociateProjectAssetsCommand = deserial
|
|
|
2345
2345
|
const deserializeAws_restJson1BatchDisassociateProjectAssetsCommandError = async (output, context) => {
|
|
2346
2346
|
const parsedOutput = {
|
|
2347
2347
|
...output,
|
|
2348
|
-
body: await
|
|
2348
|
+
body: await parseErrorBody(output.body, context),
|
|
2349
2349
|
};
|
|
2350
2350
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2351
2351
|
switch (errorCode) {
|
|
@@ -2397,7 +2397,7 @@ exports.deserializeAws_restJson1BatchGetAssetPropertyAggregatesCommand = deseria
|
|
|
2397
2397
|
const deserializeAws_restJson1BatchGetAssetPropertyAggregatesCommandError = async (output, context) => {
|
|
2398
2398
|
const parsedOutput = {
|
|
2399
2399
|
...output,
|
|
2400
|
-
body: await
|
|
2400
|
+
body: await parseErrorBody(output.body, context),
|
|
2401
2401
|
};
|
|
2402
2402
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2403
2403
|
switch (errorCode) {
|
|
@@ -2449,7 +2449,7 @@ exports.deserializeAws_restJson1BatchGetAssetPropertyValueCommand = deserializeA
|
|
|
2449
2449
|
const deserializeAws_restJson1BatchGetAssetPropertyValueCommandError = async (output, context) => {
|
|
2450
2450
|
const parsedOutput = {
|
|
2451
2451
|
...output,
|
|
2452
|
-
body: await
|
|
2452
|
+
body: await parseErrorBody(output.body, context),
|
|
2453
2453
|
};
|
|
2454
2454
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2455
2455
|
switch (errorCode) {
|
|
@@ -2501,7 +2501,7 @@ exports.deserializeAws_restJson1BatchGetAssetPropertyValueHistoryCommand = deser
|
|
|
2501
2501
|
const deserializeAws_restJson1BatchGetAssetPropertyValueHistoryCommandError = async (output, context) => {
|
|
2502
2502
|
const parsedOutput = {
|
|
2503
2503
|
...output,
|
|
2504
|
-
body: await
|
|
2504
|
+
body: await parseErrorBody(output.body, context),
|
|
2505
2505
|
};
|
|
2506
2506
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2507
2507
|
switch (errorCode) {
|
|
@@ -2544,7 +2544,7 @@ exports.deserializeAws_restJson1BatchPutAssetPropertyValueCommand = deserializeA
|
|
|
2544
2544
|
const deserializeAws_restJson1BatchPutAssetPropertyValueCommandError = async (output, context) => {
|
|
2545
2545
|
const parsedOutput = {
|
|
2546
2546
|
...output,
|
|
2547
|
-
body: await
|
|
2547
|
+
body: await parseErrorBody(output.body, context),
|
|
2548
2548
|
};
|
|
2549
2549
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2550
2550
|
switch (errorCode) {
|
|
@@ -2599,7 +2599,7 @@ exports.deserializeAws_restJson1CreateAccessPolicyCommand = deserializeAws_restJ
|
|
|
2599
2599
|
const deserializeAws_restJson1CreateAccessPolicyCommandError = async (output, context) => {
|
|
2600
2600
|
const parsedOutput = {
|
|
2601
2601
|
...output,
|
|
2602
|
-
body: await
|
|
2602
|
+
body: await parseErrorBody(output.body, context),
|
|
2603
2603
|
};
|
|
2604
2604
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2605
2605
|
switch (errorCode) {
|
|
@@ -2651,7 +2651,7 @@ exports.deserializeAws_restJson1CreateAssetCommand = deserializeAws_restJson1Cre
|
|
|
2651
2651
|
const deserializeAws_restJson1CreateAssetCommandError = async (output, context) => {
|
|
2652
2652
|
const parsedOutput = {
|
|
2653
2653
|
...output,
|
|
2654
|
-
body: await
|
|
2654
|
+
body: await parseErrorBody(output.body, context),
|
|
2655
2655
|
};
|
|
2656
2656
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2657
2657
|
switch (errorCode) {
|
|
@@ -2709,7 +2709,7 @@ exports.deserializeAws_restJson1CreateAssetModelCommand = deserializeAws_restJso
|
|
|
2709
2709
|
const deserializeAws_restJson1CreateAssetModelCommandError = async (output, context) => {
|
|
2710
2710
|
const parsedOutput = {
|
|
2711
2711
|
...output,
|
|
2712
|
-
body: await
|
|
2712
|
+
body: await parseErrorBody(output.body, context),
|
|
2713
2713
|
};
|
|
2714
2714
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2715
2715
|
switch (errorCode) {
|
|
@@ -2767,7 +2767,7 @@ exports.deserializeAws_restJson1CreateBulkImportJobCommand = deserializeAws_rest
|
|
|
2767
2767
|
const deserializeAws_restJson1CreateBulkImportJobCommandError = async (output, context) => {
|
|
2768
2768
|
const parsedOutput = {
|
|
2769
2769
|
...output,
|
|
2770
|
-
body: await
|
|
2770
|
+
body: await parseErrorBody(output.body, context),
|
|
2771
2771
|
};
|
|
2772
2772
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2773
2773
|
switch (errorCode) {
|
|
@@ -2822,7 +2822,7 @@ exports.deserializeAws_restJson1CreateDashboardCommand = deserializeAws_restJson
|
|
|
2822
2822
|
const deserializeAws_restJson1CreateDashboardCommandError = async (output, context) => {
|
|
2823
2823
|
const parsedOutput = {
|
|
2824
2824
|
...output,
|
|
2825
|
-
body: await
|
|
2825
|
+
body: await parseErrorBody(output.body, context),
|
|
2826
2826
|
};
|
|
2827
2827
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2828
2828
|
switch (errorCode) {
|
|
@@ -2871,7 +2871,7 @@ exports.deserializeAws_restJson1CreateGatewayCommand = deserializeAws_restJson1C
|
|
|
2871
2871
|
const deserializeAws_restJson1CreateGatewayCommandError = async (output, context) => {
|
|
2872
2872
|
const parsedOutput = {
|
|
2873
2873
|
...output,
|
|
2874
|
-
body: await
|
|
2874
|
+
body: await parseErrorBody(output.body, context),
|
|
2875
2875
|
};
|
|
2876
2876
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2877
2877
|
switch (errorCode) {
|
|
@@ -2929,7 +2929,7 @@ exports.deserializeAws_restJson1CreatePortalCommand = deserializeAws_restJson1Cr
|
|
|
2929
2929
|
const deserializeAws_restJson1CreatePortalCommandError = async (output, context) => {
|
|
2930
2930
|
const parsedOutput = {
|
|
2931
2931
|
...output,
|
|
2932
|
-
body: await
|
|
2932
|
+
body: await parseErrorBody(output.body, context),
|
|
2933
2933
|
};
|
|
2934
2934
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2935
2935
|
switch (errorCode) {
|
|
@@ -2978,7 +2978,7 @@ exports.deserializeAws_restJson1CreateProjectCommand = deserializeAws_restJson1C
|
|
|
2978
2978
|
const deserializeAws_restJson1CreateProjectCommandError = async (output, context) => {
|
|
2979
2979
|
const parsedOutput = {
|
|
2980
2980
|
...output,
|
|
2981
|
-
body: await
|
|
2981
|
+
body: await parseErrorBody(output.body, context),
|
|
2982
2982
|
};
|
|
2983
2983
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2984
2984
|
switch (errorCode) {
|
|
@@ -3021,7 +3021,7 @@ exports.deserializeAws_restJson1DeleteAccessPolicyCommand = deserializeAws_restJ
|
|
|
3021
3021
|
const deserializeAws_restJson1DeleteAccessPolicyCommandError = async (output, context) => {
|
|
3022
3022
|
const parsedOutput = {
|
|
3023
3023
|
...output,
|
|
3024
|
-
body: await
|
|
3024
|
+
body: await parseErrorBody(output.body, context),
|
|
3025
3025
|
};
|
|
3026
3026
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3027
3027
|
switch (errorCode) {
|
|
@@ -3064,7 +3064,7 @@ exports.deserializeAws_restJson1DeleteAssetCommand = deserializeAws_restJson1Del
|
|
|
3064
3064
|
const deserializeAws_restJson1DeleteAssetCommandError = async (output, context) => {
|
|
3065
3065
|
const parsedOutput = {
|
|
3066
3066
|
...output,
|
|
3067
|
-
body: await
|
|
3067
|
+
body: await parseErrorBody(output.body, context),
|
|
3068
3068
|
};
|
|
3069
3069
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3070
3070
|
switch (errorCode) {
|
|
@@ -3110,7 +3110,7 @@ exports.deserializeAws_restJson1DeleteAssetModelCommand = deserializeAws_restJso
|
|
|
3110
3110
|
const deserializeAws_restJson1DeleteAssetModelCommandError = async (output, context) => {
|
|
3111
3111
|
const parsedOutput = {
|
|
3112
3112
|
...output,
|
|
3113
|
-
body: await
|
|
3113
|
+
body: await parseErrorBody(output.body, context),
|
|
3114
3114
|
};
|
|
3115
3115
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3116
3116
|
switch (errorCode) {
|
|
@@ -3153,7 +3153,7 @@ exports.deserializeAws_restJson1DeleteDashboardCommand = deserializeAws_restJson
|
|
|
3153
3153
|
const deserializeAws_restJson1DeleteDashboardCommandError = async (output, context) => {
|
|
3154
3154
|
const parsedOutput = {
|
|
3155
3155
|
...output,
|
|
3156
|
-
body: await
|
|
3156
|
+
body: await parseErrorBody(output.body, context),
|
|
3157
3157
|
};
|
|
3158
3158
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3159
3159
|
switch (errorCode) {
|
|
@@ -3193,7 +3193,7 @@ exports.deserializeAws_restJson1DeleteGatewayCommand = deserializeAws_restJson1D
|
|
|
3193
3193
|
const deserializeAws_restJson1DeleteGatewayCommandError = async (output, context) => {
|
|
3194
3194
|
const parsedOutput = {
|
|
3195
3195
|
...output,
|
|
3196
|
-
body: await
|
|
3196
|
+
body: await parseErrorBody(output.body, context),
|
|
3197
3197
|
};
|
|
3198
3198
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3199
3199
|
switch (errorCode) {
|
|
@@ -3236,7 +3236,7 @@ exports.deserializeAws_restJson1DeletePortalCommand = deserializeAws_restJson1De
|
|
|
3236
3236
|
const deserializeAws_restJson1DeletePortalCommandError = async (output, context) => {
|
|
3237
3237
|
const parsedOutput = {
|
|
3238
3238
|
...output,
|
|
3239
|
-
body: await
|
|
3239
|
+
body: await parseErrorBody(output.body, context),
|
|
3240
3240
|
};
|
|
3241
3241
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3242
3242
|
switch (errorCode) {
|
|
@@ -3279,7 +3279,7 @@ exports.deserializeAws_restJson1DeleteProjectCommand = deserializeAws_restJson1D
|
|
|
3279
3279
|
const deserializeAws_restJson1DeleteProjectCommandError = async (output, context) => {
|
|
3280
3280
|
const parsedOutput = {
|
|
3281
3281
|
...output,
|
|
3282
|
-
body: await
|
|
3282
|
+
body: await parseErrorBody(output.body, context),
|
|
3283
3283
|
};
|
|
3284
3284
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3285
3285
|
switch (errorCode) {
|
|
@@ -3319,7 +3319,7 @@ exports.deserializeAws_restJson1DeleteTimeSeriesCommand = deserializeAws_restJso
|
|
|
3319
3319
|
const deserializeAws_restJson1DeleteTimeSeriesCommandError = async (output, context) => {
|
|
3320
3320
|
const parsedOutput = {
|
|
3321
3321
|
...output,
|
|
3322
|
-
body: await
|
|
3322
|
+
body: await parseErrorBody(output.body, context),
|
|
3323
3323
|
};
|
|
3324
3324
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3325
3325
|
switch (errorCode) {
|
|
@@ -3383,7 +3383,7 @@ exports.deserializeAws_restJson1DescribeAccessPolicyCommand = deserializeAws_res
|
|
|
3383
3383
|
const deserializeAws_restJson1DescribeAccessPolicyCommandError = async (output, context) => {
|
|
3384
3384
|
const parsedOutput = {
|
|
3385
3385
|
...output,
|
|
3386
|
-
body: await
|
|
3386
|
+
body: await parseErrorBody(output.body, context),
|
|
3387
3387
|
};
|
|
3388
3388
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3389
3389
|
switch (errorCode) {
|
|
@@ -3456,7 +3456,7 @@ exports.deserializeAws_restJson1DescribeAssetCommand = deserializeAws_restJson1D
|
|
|
3456
3456
|
const deserializeAws_restJson1DescribeAssetCommandError = async (output, context) => {
|
|
3457
3457
|
const parsedOutput = {
|
|
3458
3458
|
...output,
|
|
3459
|
-
body: await
|
|
3459
|
+
body: await parseErrorBody(output.body, context),
|
|
3460
3460
|
};
|
|
3461
3461
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3462
3462
|
switch (errorCode) {
|
|
@@ -3526,7 +3526,7 @@ exports.deserializeAws_restJson1DescribeAssetModelCommand = deserializeAws_restJ
|
|
|
3526
3526
|
const deserializeAws_restJson1DescribeAssetModelCommandError = async (output, context) => {
|
|
3527
3527
|
const parsedOutput = {
|
|
3528
3528
|
...output,
|
|
3529
|
-
body: await
|
|
3529
|
+
body: await parseErrorBody(output.body, context),
|
|
3530
3530
|
};
|
|
3531
3531
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3532
3532
|
switch (errorCode) {
|
|
@@ -3581,7 +3581,7 @@ exports.deserializeAws_restJson1DescribeAssetPropertyCommand = deserializeAws_re
|
|
|
3581
3581
|
const deserializeAws_restJson1DescribeAssetPropertyCommandError = async (output, context) => {
|
|
3582
3582
|
const parsedOutput = {
|
|
3583
3583
|
...output,
|
|
3584
|
-
body: await
|
|
3584
|
+
body: await parseErrorBody(output.body, context),
|
|
3585
3585
|
};
|
|
3586
3586
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3587
3587
|
switch (errorCode) {
|
|
@@ -3648,7 +3648,7 @@ exports.deserializeAws_restJson1DescribeBulkImportJobCommand = deserializeAws_re
|
|
|
3648
3648
|
const deserializeAws_restJson1DescribeBulkImportJobCommandError = async (output, context) => {
|
|
3649
3649
|
const parsedOutput = {
|
|
3650
3650
|
...output,
|
|
3651
|
-
body: await
|
|
3651
|
+
body: await parseErrorBody(output.body, context),
|
|
3652
3652
|
};
|
|
3653
3653
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3654
3654
|
switch (errorCode) {
|
|
@@ -3712,7 +3712,7 @@ exports.deserializeAws_restJson1DescribeDashboardCommand = deserializeAws_restJs
|
|
|
3712
3712
|
const deserializeAws_restJson1DescribeDashboardCommandError = async (output, context) => {
|
|
3713
3713
|
const parsedOutput = {
|
|
3714
3714
|
...output,
|
|
3715
|
-
body: await
|
|
3715
|
+
body: await parseErrorBody(output.body, context),
|
|
3716
3716
|
};
|
|
3717
3717
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3718
3718
|
switch (errorCode) {
|
|
@@ -3761,7 +3761,7 @@ exports.deserializeAws_restJson1DescribeDefaultEncryptionConfigurationCommand =
|
|
|
3761
3761
|
const deserializeAws_restJson1DescribeDefaultEncryptionConfigurationCommandError = async (output, context) => {
|
|
3762
3762
|
const parsedOutput = {
|
|
3763
3763
|
...output,
|
|
3764
|
-
body: await
|
|
3764
|
+
body: await parseErrorBody(output.body, context),
|
|
3765
3765
|
};
|
|
3766
3766
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3767
3767
|
switch (errorCode) {
|
|
@@ -3819,7 +3819,7 @@ exports.deserializeAws_restJson1DescribeGatewayCommand = deserializeAws_restJson
|
|
|
3819
3819
|
const deserializeAws_restJson1DescribeGatewayCommandError = async (output, context) => {
|
|
3820
3820
|
const parsedOutput = {
|
|
3821
3821
|
...output,
|
|
3822
|
-
body: await
|
|
3822
|
+
body: await parseErrorBody(output.body, context),
|
|
3823
3823
|
};
|
|
3824
3824
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3825
3825
|
switch (errorCode) {
|
|
@@ -3871,7 +3871,7 @@ exports.deserializeAws_restJson1DescribeGatewayCapabilityConfigurationCommand =
|
|
|
3871
3871
|
const deserializeAws_restJson1DescribeGatewayCapabilityConfigurationCommandError = async (output, context) => {
|
|
3872
3872
|
const parsedOutput = {
|
|
3873
3873
|
...output,
|
|
3874
|
-
body: await
|
|
3874
|
+
body: await parseErrorBody(output.body, context),
|
|
3875
3875
|
};
|
|
3876
3876
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3877
3877
|
switch (errorCode) {
|
|
@@ -3914,7 +3914,7 @@ exports.deserializeAws_restJson1DescribeLoggingOptionsCommand = deserializeAws_r
|
|
|
3914
3914
|
const deserializeAws_restJson1DescribeLoggingOptionsCommandError = async (output, context) => {
|
|
3915
3915
|
const parsedOutput = {
|
|
3916
3916
|
...output,
|
|
3917
|
-
body: await
|
|
3917
|
+
body: await parseErrorBody(output.body, context),
|
|
3918
3918
|
};
|
|
3919
3919
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3920
3920
|
switch (errorCode) {
|
|
@@ -3999,7 +3999,7 @@ exports.deserializeAws_restJson1DescribePortalCommand = deserializeAws_restJson1
|
|
|
3999
3999
|
const deserializeAws_restJson1DescribePortalCommandError = async (output, context) => {
|
|
4000
4000
|
const parsedOutput = {
|
|
4001
4001
|
...output,
|
|
4002
|
-
body: await
|
|
4002
|
+
body: await parseErrorBody(output.body, context),
|
|
4003
4003
|
};
|
|
4004
4004
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4005
4005
|
switch (errorCode) {
|
|
@@ -4060,7 +4060,7 @@ exports.deserializeAws_restJson1DescribeProjectCommand = deserializeAws_restJson
|
|
|
4060
4060
|
const deserializeAws_restJson1DescribeProjectCommandError = async (output, context) => {
|
|
4061
4061
|
const parsedOutput = {
|
|
4062
4062
|
...output,
|
|
4063
|
-
body: await
|
|
4063
|
+
body: await parseErrorBody(output.body, context),
|
|
4064
4064
|
};
|
|
4065
4065
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4066
4066
|
switch (errorCode) {
|
|
@@ -4118,7 +4118,7 @@ exports.deserializeAws_restJson1DescribeStorageConfigurationCommand = deserializ
|
|
|
4118
4118
|
const deserializeAws_restJson1DescribeStorageConfigurationCommandError = async (output, context) => {
|
|
4119
4119
|
const parsedOutput = {
|
|
4120
4120
|
...output,
|
|
4121
|
-
body: await
|
|
4121
|
+
body: await parseErrorBody(output.body, context),
|
|
4122
4122
|
};
|
|
4123
4123
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4124
4124
|
switch (errorCode) {
|
|
@@ -4188,7 +4188,7 @@ exports.deserializeAws_restJson1DescribeTimeSeriesCommand = deserializeAws_restJ
|
|
|
4188
4188
|
const deserializeAws_restJson1DescribeTimeSeriesCommandError = async (output, context) => {
|
|
4189
4189
|
const parsedOutput = {
|
|
4190
4190
|
...output,
|
|
4191
|
-
body: await
|
|
4191
|
+
body: await parseErrorBody(output.body, context),
|
|
4192
4192
|
};
|
|
4193
4193
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4194
4194
|
switch (errorCode) {
|
|
@@ -4228,7 +4228,7 @@ exports.deserializeAws_restJson1DisassociateAssetsCommand = deserializeAws_restJ
|
|
|
4228
4228
|
const deserializeAws_restJson1DisassociateAssetsCommandError = async (output, context) => {
|
|
4229
4229
|
const parsedOutput = {
|
|
4230
4230
|
...output,
|
|
4231
|
-
body: await
|
|
4231
|
+
body: await parseErrorBody(output.body, context),
|
|
4232
4232
|
};
|
|
4233
4233
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4234
4234
|
switch (errorCode) {
|
|
@@ -4271,7 +4271,7 @@ exports.deserializeAws_restJson1DisassociateTimeSeriesFromAssetPropertyCommand =
|
|
|
4271
4271
|
const deserializeAws_restJson1DisassociateTimeSeriesFromAssetPropertyCommandError = async (output, context) => {
|
|
4272
4272
|
const parsedOutput = {
|
|
4273
4273
|
...output,
|
|
4274
|
-
body: await
|
|
4274
|
+
body: await parseErrorBody(output.body, context),
|
|
4275
4275
|
};
|
|
4276
4276
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4277
4277
|
switch (errorCode) {
|
|
@@ -4320,7 +4320,7 @@ exports.deserializeAws_restJson1GetAssetPropertyAggregatesCommand = deserializeA
|
|
|
4320
4320
|
const deserializeAws_restJson1GetAssetPropertyAggregatesCommandError = async (output, context) => {
|
|
4321
4321
|
const parsedOutput = {
|
|
4322
4322
|
...output,
|
|
4323
|
-
body: await
|
|
4323
|
+
body: await parseErrorBody(output.body, context),
|
|
4324
4324
|
};
|
|
4325
4325
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4326
4326
|
switch (errorCode) {
|
|
@@ -4366,7 +4366,7 @@ exports.deserializeAws_restJson1GetAssetPropertyValueCommand = deserializeAws_re
|
|
|
4366
4366
|
const deserializeAws_restJson1GetAssetPropertyValueCommandError = async (output, context) => {
|
|
4367
4367
|
const parsedOutput = {
|
|
4368
4368
|
...output,
|
|
4369
|
-
body: await
|
|
4369
|
+
body: await parseErrorBody(output.body, context),
|
|
4370
4370
|
};
|
|
4371
4371
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4372
4372
|
switch (errorCode) {
|
|
@@ -4415,7 +4415,7 @@ exports.deserializeAws_restJson1GetAssetPropertyValueHistoryCommand = deserializ
|
|
|
4415
4415
|
const deserializeAws_restJson1GetAssetPropertyValueHistoryCommandError = async (output, context) => {
|
|
4416
4416
|
const parsedOutput = {
|
|
4417
4417
|
...output,
|
|
4418
|
-
body: await
|
|
4418
|
+
body: await parseErrorBody(output.body, context),
|
|
4419
4419
|
};
|
|
4420
4420
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4421
4421
|
switch (errorCode) {
|
|
@@ -4464,7 +4464,7 @@ exports.deserializeAws_restJson1GetInterpolatedAssetPropertyValuesCommand = dese
|
|
|
4464
4464
|
const deserializeAws_restJson1GetInterpolatedAssetPropertyValuesCommandError = async (output, context) => {
|
|
4465
4465
|
const parsedOutput = {
|
|
4466
4466
|
...output,
|
|
4467
|
-
body: await
|
|
4467
|
+
body: await parseErrorBody(output.body, context),
|
|
4468
4468
|
};
|
|
4469
4469
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4470
4470
|
switch (errorCode) {
|
|
@@ -4513,7 +4513,7 @@ exports.deserializeAws_restJson1ListAccessPoliciesCommand = deserializeAws_restJ
|
|
|
4513
4513
|
const deserializeAws_restJson1ListAccessPoliciesCommandError = async (output, context) => {
|
|
4514
4514
|
const parsedOutput = {
|
|
4515
4515
|
...output,
|
|
4516
|
-
body: await
|
|
4516
|
+
body: await parseErrorBody(output.body, context),
|
|
4517
4517
|
};
|
|
4518
4518
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4519
4519
|
switch (errorCode) {
|
|
@@ -4556,7 +4556,7 @@ exports.deserializeAws_restJson1ListAssetModelsCommand = deserializeAws_restJson
|
|
|
4556
4556
|
const deserializeAws_restJson1ListAssetModelsCommandError = async (output, context) => {
|
|
4557
4557
|
const parsedOutput = {
|
|
4558
4558
|
...output,
|
|
4559
|
-
body: await
|
|
4559
|
+
body: await parseErrorBody(output.body, context),
|
|
4560
4560
|
};
|
|
4561
4561
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4562
4562
|
switch (errorCode) {
|
|
@@ -4599,7 +4599,7 @@ exports.deserializeAws_restJson1ListAssetRelationshipsCommand = deserializeAws_r
|
|
|
4599
4599
|
const deserializeAws_restJson1ListAssetRelationshipsCommandError = async (output, context) => {
|
|
4600
4600
|
const parsedOutput = {
|
|
4601
4601
|
...output,
|
|
4602
|
-
body: await
|
|
4602
|
+
body: await parseErrorBody(output.body, context),
|
|
4603
4603
|
};
|
|
4604
4604
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4605
4605
|
switch (errorCode) {
|
|
@@ -4645,7 +4645,7 @@ exports.deserializeAws_restJson1ListAssetsCommand = deserializeAws_restJson1List
|
|
|
4645
4645
|
const deserializeAws_restJson1ListAssetsCommandError = async (output, context) => {
|
|
4646
4646
|
const parsedOutput = {
|
|
4647
4647
|
...output,
|
|
4648
|
-
body: await
|
|
4648
|
+
body: await parseErrorBody(output.body, context),
|
|
4649
4649
|
};
|
|
4650
4650
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4651
4651
|
switch (errorCode) {
|
|
@@ -4691,7 +4691,7 @@ exports.deserializeAws_restJson1ListAssociatedAssetsCommand = deserializeAws_res
|
|
|
4691
4691
|
const deserializeAws_restJson1ListAssociatedAssetsCommandError = async (output, context) => {
|
|
4692
4692
|
const parsedOutput = {
|
|
4693
4693
|
...output,
|
|
4694
|
-
body: await
|
|
4694
|
+
body: await parseErrorBody(output.body, context),
|
|
4695
4695
|
};
|
|
4696
4696
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4697
4697
|
switch (errorCode) {
|
|
@@ -4737,7 +4737,7 @@ exports.deserializeAws_restJson1ListBulkImportJobsCommand = deserializeAws_restJ
|
|
|
4737
4737
|
const deserializeAws_restJson1ListBulkImportJobsCommandError = async (output, context) => {
|
|
4738
4738
|
const parsedOutput = {
|
|
4739
4739
|
...output,
|
|
4740
|
-
body: await
|
|
4740
|
+
body: await parseErrorBody(output.body, context),
|
|
4741
4741
|
};
|
|
4742
4742
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4743
4743
|
switch (errorCode) {
|
|
@@ -4783,7 +4783,7 @@ exports.deserializeAws_restJson1ListDashboardsCommand = deserializeAws_restJson1
|
|
|
4783
4783
|
const deserializeAws_restJson1ListDashboardsCommandError = async (output, context) => {
|
|
4784
4784
|
const parsedOutput = {
|
|
4785
4785
|
...output,
|
|
4786
|
-
body: await
|
|
4786
|
+
body: await parseErrorBody(output.body, context),
|
|
4787
4787
|
};
|
|
4788
4788
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4789
4789
|
switch (errorCode) {
|
|
@@ -4826,7 +4826,7 @@ exports.deserializeAws_restJson1ListGatewaysCommand = deserializeAws_restJson1Li
|
|
|
4826
4826
|
const deserializeAws_restJson1ListGatewaysCommandError = async (output, context) => {
|
|
4827
4827
|
const parsedOutput = {
|
|
4828
4828
|
...output,
|
|
4829
|
-
body: await
|
|
4829
|
+
body: await parseErrorBody(output.body, context),
|
|
4830
4830
|
};
|
|
4831
4831
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4832
4832
|
switch (errorCode) {
|
|
@@ -4869,7 +4869,7 @@ exports.deserializeAws_restJson1ListPortalsCommand = deserializeAws_restJson1Lis
|
|
|
4869
4869
|
const deserializeAws_restJson1ListPortalsCommandError = async (output, context) => {
|
|
4870
4870
|
const parsedOutput = {
|
|
4871
4871
|
...output,
|
|
4872
|
-
body: await
|
|
4872
|
+
body: await parseErrorBody(output.body, context),
|
|
4873
4873
|
};
|
|
4874
4874
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4875
4875
|
switch (errorCode) {
|
|
@@ -4912,7 +4912,7 @@ exports.deserializeAws_restJson1ListProjectAssetsCommand = deserializeAws_restJs
|
|
|
4912
4912
|
const deserializeAws_restJson1ListProjectAssetsCommandError = async (output, context) => {
|
|
4913
4913
|
const parsedOutput = {
|
|
4914
4914
|
...output,
|
|
4915
|
-
body: await
|
|
4915
|
+
body: await parseErrorBody(output.body, context),
|
|
4916
4916
|
};
|
|
4917
4917
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4918
4918
|
switch (errorCode) {
|
|
@@ -4955,7 +4955,7 @@ exports.deserializeAws_restJson1ListProjectsCommand = deserializeAws_restJson1Li
|
|
|
4955
4955
|
const deserializeAws_restJson1ListProjectsCommandError = async (output, context) => {
|
|
4956
4956
|
const parsedOutput = {
|
|
4957
4957
|
...output,
|
|
4958
|
-
body: await
|
|
4958
|
+
body: await parseErrorBody(output.body, context),
|
|
4959
4959
|
};
|
|
4960
4960
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4961
4961
|
switch (errorCode) {
|
|
@@ -4995,7 +4995,7 @@ exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_rest
|
|
|
4995
4995
|
const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
|
|
4996
4996
|
const parsedOutput = {
|
|
4997
4997
|
...output,
|
|
4998
|
-
body: await
|
|
4998
|
+
body: await parseErrorBody(output.body, context),
|
|
4999
4999
|
};
|
|
5000
5000
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5001
5001
|
switch (errorCode) {
|
|
@@ -5050,7 +5050,7 @@ exports.deserializeAws_restJson1ListTimeSeriesCommand = deserializeAws_restJson1
|
|
|
5050
5050
|
const deserializeAws_restJson1ListTimeSeriesCommandError = async (output, context) => {
|
|
5051
5051
|
const parsedOutput = {
|
|
5052
5052
|
...output,
|
|
5053
|
-
body: await
|
|
5053
|
+
body: await parseErrorBody(output.body, context),
|
|
5054
5054
|
};
|
|
5055
5055
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5056
5056
|
switch (errorCode) {
|
|
@@ -5099,7 +5099,7 @@ exports.deserializeAws_restJson1PutDefaultEncryptionConfigurationCommand = deser
|
|
|
5099
5099
|
const deserializeAws_restJson1PutDefaultEncryptionConfigurationCommandError = async (output, context) => {
|
|
5100
5100
|
const parsedOutput = {
|
|
5101
5101
|
...output,
|
|
5102
|
-
body: await
|
|
5102
|
+
body: await parseErrorBody(output.body, context),
|
|
5103
5103
|
};
|
|
5104
5104
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5105
5105
|
switch (errorCode) {
|
|
@@ -5142,7 +5142,7 @@ exports.deserializeAws_restJson1PutLoggingOptionsCommand = deserializeAws_restJs
|
|
|
5142
5142
|
const deserializeAws_restJson1PutLoggingOptionsCommandError = async (output, context) => {
|
|
5143
5143
|
const parsedOutput = {
|
|
5144
5144
|
...output,
|
|
5145
|
-
body: await
|
|
5145
|
+
body: await parseErrorBody(output.body, context),
|
|
5146
5146
|
};
|
|
5147
5147
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5148
5148
|
switch (errorCode) {
|
|
@@ -5200,7 +5200,7 @@ exports.deserializeAws_restJson1PutStorageConfigurationCommand = deserializeAws_
|
|
|
5200
5200
|
const deserializeAws_restJson1PutStorageConfigurationCommandError = async (output, context) => {
|
|
5201
5201
|
const parsedOutput = {
|
|
5202
5202
|
...output,
|
|
5203
|
-
body: await
|
|
5203
|
+
body: await parseErrorBody(output.body, context),
|
|
5204
5204
|
};
|
|
5205
5205
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5206
5206
|
switch (errorCode) {
|
|
@@ -5249,7 +5249,7 @@ exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1Tag
|
|
|
5249
5249
|
const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
|
|
5250
5250
|
const parsedOutput = {
|
|
5251
5251
|
...output,
|
|
5252
|
-
body: await
|
|
5252
|
+
body: await parseErrorBody(output.body, context),
|
|
5253
5253
|
};
|
|
5254
5254
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5255
5255
|
switch (errorCode) {
|
|
@@ -5301,7 +5301,7 @@ exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1U
|
|
|
5301
5301
|
const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
|
|
5302
5302
|
const parsedOutput = {
|
|
5303
5303
|
...output,
|
|
5304
|
-
body: await
|
|
5304
|
+
body: await parseErrorBody(output.body, context),
|
|
5305
5305
|
};
|
|
5306
5306
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5307
5307
|
switch (errorCode) {
|
|
@@ -5350,7 +5350,7 @@ exports.deserializeAws_restJson1UpdateAccessPolicyCommand = deserializeAws_restJ
|
|
|
5350
5350
|
const deserializeAws_restJson1UpdateAccessPolicyCommandError = async (output, context) => {
|
|
5351
5351
|
const parsedOutput = {
|
|
5352
5352
|
...output,
|
|
5353
|
-
body: await
|
|
5353
|
+
body: await parseErrorBody(output.body, context),
|
|
5354
5354
|
};
|
|
5355
5355
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5356
5356
|
switch (errorCode) {
|
|
@@ -5393,7 +5393,7 @@ exports.deserializeAws_restJson1UpdateAssetCommand = deserializeAws_restJson1Upd
|
|
|
5393
5393
|
const deserializeAws_restJson1UpdateAssetCommandError = async (output, context) => {
|
|
5394
5394
|
const parsedOutput = {
|
|
5395
5395
|
...output,
|
|
5396
|
-
body: await
|
|
5396
|
+
body: await parseErrorBody(output.body, context),
|
|
5397
5397
|
};
|
|
5398
5398
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5399
5399
|
switch (errorCode) {
|
|
@@ -5442,7 +5442,7 @@ exports.deserializeAws_restJson1UpdateAssetModelCommand = deserializeAws_restJso
|
|
|
5442
5442
|
const deserializeAws_restJson1UpdateAssetModelCommandError = async (output, context) => {
|
|
5443
5443
|
const parsedOutput = {
|
|
5444
5444
|
...output,
|
|
5445
|
-
body: await
|
|
5445
|
+
body: await parseErrorBody(output.body, context),
|
|
5446
5446
|
};
|
|
5447
5447
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5448
5448
|
switch (errorCode) {
|
|
@@ -5491,7 +5491,7 @@ exports.deserializeAws_restJson1UpdateAssetPropertyCommand = deserializeAws_rest
|
|
|
5491
5491
|
const deserializeAws_restJson1UpdateAssetPropertyCommandError = async (output, context) => {
|
|
5492
5492
|
const parsedOutput = {
|
|
5493
5493
|
...output,
|
|
5494
|
-
body: await
|
|
5494
|
+
body: await parseErrorBody(output.body, context),
|
|
5495
5495
|
};
|
|
5496
5496
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5497
5497
|
switch (errorCode) {
|
|
@@ -5534,7 +5534,7 @@ exports.deserializeAws_restJson1UpdateDashboardCommand = deserializeAws_restJson
|
|
|
5534
5534
|
const deserializeAws_restJson1UpdateDashboardCommandError = async (output, context) => {
|
|
5535
5535
|
const parsedOutput = {
|
|
5536
5536
|
...output,
|
|
5537
|
-
body: await
|
|
5537
|
+
body: await parseErrorBody(output.body, context),
|
|
5538
5538
|
};
|
|
5539
5539
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5540
5540
|
switch (errorCode) {
|
|
@@ -5574,7 +5574,7 @@ exports.deserializeAws_restJson1UpdateGatewayCommand = deserializeAws_restJson1U
|
|
|
5574
5574
|
const deserializeAws_restJson1UpdateGatewayCommandError = async (output, context) => {
|
|
5575
5575
|
const parsedOutput = {
|
|
5576
5576
|
...output,
|
|
5577
|
-
body: await
|
|
5577
|
+
body: await parseErrorBody(output.body, context),
|
|
5578
5578
|
};
|
|
5579
5579
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5580
5580
|
switch (errorCode) {
|
|
@@ -5623,7 +5623,7 @@ exports.deserializeAws_restJson1UpdateGatewayCapabilityConfigurationCommand = de
|
|
|
5623
5623
|
const deserializeAws_restJson1UpdateGatewayCapabilityConfigurationCommandError = async (output, context) => {
|
|
5624
5624
|
const parsedOutput = {
|
|
5625
5625
|
...output,
|
|
5626
|
-
body: await
|
|
5626
|
+
body: await parseErrorBody(output.body, context),
|
|
5627
5627
|
};
|
|
5628
5628
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5629
5629
|
switch (errorCode) {
|
|
@@ -5672,7 +5672,7 @@ exports.deserializeAws_restJson1UpdatePortalCommand = deserializeAws_restJson1Up
|
|
|
5672
5672
|
const deserializeAws_restJson1UpdatePortalCommandError = async (output, context) => {
|
|
5673
5673
|
const parsedOutput = {
|
|
5674
5674
|
...output,
|
|
5675
|
-
body: await
|
|
5675
|
+
body: await parseErrorBody(output.body, context),
|
|
5676
5676
|
};
|
|
5677
5677
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5678
5678
|
switch (errorCode) {
|
|
@@ -5715,7 +5715,7 @@ exports.deserializeAws_restJson1UpdateProjectCommand = deserializeAws_restJson1U
|
|
|
5715
5715
|
const deserializeAws_restJson1UpdateProjectCommandError = async (output, context) => {
|
|
5716
5716
|
const parsedOutput = {
|
|
5717
5717
|
...output,
|
|
5718
|
-
body: await
|
|
5718
|
+
body: await parseErrorBody(output.body, context),
|
|
5719
5719
|
};
|
|
5720
5720
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5721
5721
|
switch (errorCode) {
|
|
@@ -7488,6 +7488,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
7488
7488
|
}
|
|
7489
7489
|
return {};
|
|
7490
7490
|
});
|
|
7491
|
+
const parseErrorBody = async (errorBody, context) => {
|
|
7492
|
+
var _a;
|
|
7493
|
+
const value = await parseBody(errorBody, context);
|
|
7494
|
+
value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
|
|
7495
|
+
return value;
|
|
7496
|
+
};
|
|
7491
7497
|
const loadRestJsonErrorCode = (output, data) => {
|
|
7492
7498
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
7493
7499
|
const sanitizeErrorCode = (rawValue) => {
|