@aws-sdk/client-iotsitewise 3.180.0 → 3.181.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 +12 -0
- package/dist-cjs/protocols/Aws_restJson1.js +77 -71
- package/dist-es/protocols/Aws_restJson1.js +84 -71
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
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.181.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.180.0...v3.181.0) (2022-09-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **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))
|
|
12
|
+
* **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))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
# [3.180.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.179.0...v3.180.0) (2022-09-27)
|
|
7
19
|
|
|
8
20
|
**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) => {
|
|
@@ -2572,7 +2572,7 @@ var deserializeAws_restJson1AssociateAssetsCommandError = function (output, cont
|
|
|
2572
2572
|
case 0:
|
|
2573
2573
|
_a = [__assign({}, output)];
|
|
2574
2574
|
_c = {};
|
|
2575
|
-
return [4,
|
|
2575
|
+
return [4, parseErrorBody(output.body, context)];
|
|
2576
2576
|
case 1:
|
|
2577
2577
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2578
2578
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -2647,7 +2647,7 @@ var deserializeAws_restJson1AssociateTimeSeriesToAssetPropertyCommandError = fun
|
|
|
2647
2647
|
case 0:
|
|
2648
2648
|
_a = [__assign({}, output)];
|
|
2649
2649
|
_c = {};
|
|
2650
|
-
return [4,
|
|
2650
|
+
return [4, parseErrorBody(output.body, context)];
|
|
2651
2651
|
case 1:
|
|
2652
2652
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2653
2653
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -2719,7 +2719,7 @@ var deserializeAws_restJson1BatchAssociateProjectAssetsCommandError = function (
|
|
|
2719
2719
|
case 0:
|
|
2720
2720
|
_a = [__assign({}, output)];
|
|
2721
2721
|
_c = {};
|
|
2722
|
-
return [4,
|
|
2722
|
+
return [4, parseErrorBody(output.body, context)];
|
|
2723
2723
|
case 1:
|
|
2724
2724
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2725
2725
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -2791,7 +2791,7 @@ var deserializeAws_restJson1BatchDisassociateProjectAssetsCommandError = functio
|
|
|
2791
2791
|
case 0:
|
|
2792
2792
|
_a = [__assign({}, output)];
|
|
2793
2793
|
_c = {};
|
|
2794
|
-
return [4,
|
|
2794
|
+
return [4, parseErrorBody(output.body, context)];
|
|
2795
2795
|
case 1:
|
|
2796
2796
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2797
2797
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -2868,7 +2868,7 @@ var deserializeAws_restJson1BatchGetAssetPropertyAggregatesCommandError = functi
|
|
|
2868
2868
|
case 0:
|
|
2869
2869
|
_a = [__assign({}, output)];
|
|
2870
2870
|
_c = {};
|
|
2871
|
-
return [4,
|
|
2871
|
+
return [4, parseErrorBody(output.body, context)];
|
|
2872
2872
|
case 1:
|
|
2873
2873
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2874
2874
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -2945,7 +2945,7 @@ var deserializeAws_restJson1BatchGetAssetPropertyValueCommandError = function (o
|
|
|
2945
2945
|
case 0:
|
|
2946
2946
|
_a = [__assign({}, output)];
|
|
2947
2947
|
_c = {};
|
|
2948
|
-
return [4,
|
|
2948
|
+
return [4, parseErrorBody(output.body, context)];
|
|
2949
2949
|
case 1:
|
|
2950
2950
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2951
2951
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -3022,7 +3022,7 @@ var deserializeAws_restJson1BatchGetAssetPropertyValueHistoryCommandError = func
|
|
|
3022
3022
|
case 0:
|
|
3023
3023
|
_a = [__assign({}, output)];
|
|
3024
3024
|
_c = {};
|
|
3025
|
-
return [4,
|
|
3025
|
+
return [4, parseErrorBody(output.body, context)];
|
|
3026
3026
|
case 1:
|
|
3027
3027
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3028
3028
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -3090,7 +3090,7 @@ var deserializeAws_restJson1BatchPutAssetPropertyValueCommandError = function (o
|
|
|
3090
3090
|
case 0:
|
|
3091
3091
|
_a = [__assign({}, output)];
|
|
3092
3092
|
_c = {};
|
|
3093
|
-
return [4,
|
|
3093
|
+
return [4, parseErrorBody(output.body, context)];
|
|
3094
3094
|
case 1:
|
|
3095
3095
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3096
3096
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -3173,7 +3173,7 @@ var deserializeAws_restJson1CreateAccessPolicyCommandError = function (output, c
|
|
|
3173
3173
|
case 0:
|
|
3174
3174
|
_a = [__assign({}, output)];
|
|
3175
3175
|
_c = {};
|
|
3176
|
-
return [4,
|
|
3176
|
+
return [4, parseErrorBody(output.body, context)];
|
|
3177
3177
|
case 1:
|
|
3178
3178
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3179
3179
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -3251,7 +3251,7 @@ var deserializeAws_restJson1CreateAssetCommandError = function (output, context)
|
|
|
3251
3251
|
case 0:
|
|
3252
3252
|
_a = [__assign({}, output)];
|
|
3253
3253
|
_c = {};
|
|
3254
|
-
return [4,
|
|
3254
|
+
return [4, parseErrorBody(output.body, context)];
|
|
3255
3255
|
case 1:
|
|
3256
3256
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3257
3257
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -3337,7 +3337,7 @@ var deserializeAws_restJson1CreateAssetModelCommandError = function (output, con
|
|
|
3337
3337
|
case 0:
|
|
3338
3338
|
_a = [__assign({}, output)];
|
|
3339
3339
|
_c = {};
|
|
3340
|
-
return [4,
|
|
3340
|
+
return [4, parseErrorBody(output.body, context)];
|
|
3341
3341
|
case 1:
|
|
3342
3342
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3343
3343
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -3423,7 +3423,7 @@ var deserializeAws_restJson1CreateBulkImportJobCommandError = function (output,
|
|
|
3423
3423
|
case 0:
|
|
3424
3424
|
_a = [__assign({}, output)];
|
|
3425
3425
|
_c = {};
|
|
3426
|
-
return [4,
|
|
3426
|
+
return [4, parseErrorBody(output.body, context)];
|
|
3427
3427
|
case 1:
|
|
3428
3428
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3429
3429
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -3506,7 +3506,7 @@ var deserializeAws_restJson1CreateDashboardCommandError = function (output, cont
|
|
|
3506
3506
|
case 0:
|
|
3507
3507
|
_a = [__assign({}, output)];
|
|
3508
3508
|
_c = {};
|
|
3509
|
-
return [4,
|
|
3509
|
+
return [4, parseErrorBody(output.body, context)];
|
|
3510
3510
|
case 1:
|
|
3511
3511
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3512
3512
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -3581,7 +3581,7 @@ var deserializeAws_restJson1CreateGatewayCommandError = function (output, contex
|
|
|
3581
3581
|
case 0:
|
|
3582
3582
|
_a = [__assign({}, output)];
|
|
3583
3583
|
_c = {};
|
|
3584
|
-
return [4,
|
|
3584
|
+
return [4, parseErrorBody(output.body, context)];
|
|
3585
3585
|
case 1:
|
|
3586
3586
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3587
3587
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -3665,7 +3665,7 @@ var deserializeAws_restJson1CreatePortalCommandError = function (output, context
|
|
|
3665
3665
|
case 0:
|
|
3666
3666
|
_a = [__assign({}, output)];
|
|
3667
3667
|
_c = {};
|
|
3668
|
-
return [4,
|
|
3668
|
+
return [4, parseErrorBody(output.body, context)];
|
|
3669
3669
|
case 1:
|
|
3670
3670
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3671
3671
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -3740,7 +3740,7 @@ var deserializeAws_restJson1CreateProjectCommandError = function (output, contex
|
|
|
3740
3740
|
case 0:
|
|
3741
3741
|
_a = [__assign({}, output)];
|
|
3742
3742
|
_c = {};
|
|
3743
|
-
return [4,
|
|
3743
|
+
return [4, parseErrorBody(output.body, context)];
|
|
3744
3744
|
case 1:
|
|
3745
3745
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3746
3746
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -3807,7 +3807,7 @@ var deserializeAws_restJson1DeleteAccessPolicyCommandError = function (output, c
|
|
|
3807
3807
|
case 0:
|
|
3808
3808
|
_a = [__assign({}, output)];
|
|
3809
3809
|
_c = {};
|
|
3810
|
-
return [4,
|
|
3810
|
+
return [4, parseErrorBody(output.body, context)];
|
|
3811
3811
|
case 1:
|
|
3812
3812
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3813
3813
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -3875,7 +3875,7 @@ var deserializeAws_restJson1DeleteAssetCommandError = function (output, context)
|
|
|
3875
3875
|
case 0:
|
|
3876
3876
|
_a = [__assign({}, output)];
|
|
3877
3877
|
_c = {};
|
|
3878
|
-
return [4,
|
|
3878
|
+
return [4, parseErrorBody(output.body, context)];
|
|
3879
3879
|
case 1:
|
|
3880
3880
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3881
3881
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -3947,7 +3947,7 @@ var deserializeAws_restJson1DeleteAssetModelCommandError = function (output, con
|
|
|
3947
3947
|
case 0:
|
|
3948
3948
|
_a = [__assign({}, output)];
|
|
3949
3949
|
_c = {};
|
|
3950
|
-
return [4,
|
|
3950
|
+
return [4, parseErrorBody(output.body, context)];
|
|
3951
3951
|
case 1:
|
|
3952
3952
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3953
3953
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -4014,7 +4014,7 @@ var deserializeAws_restJson1DeleteDashboardCommandError = function (output, cont
|
|
|
4014
4014
|
case 0:
|
|
4015
4015
|
_a = [__assign({}, output)];
|
|
4016
4016
|
_c = {};
|
|
4017
|
-
return [4,
|
|
4017
|
+
return [4, parseErrorBody(output.body, context)];
|
|
4018
4018
|
case 1:
|
|
4019
4019
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4020
4020
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -4077,7 +4077,7 @@ var deserializeAws_restJson1DeleteGatewayCommandError = function (output, contex
|
|
|
4077
4077
|
case 0:
|
|
4078
4078
|
_a = [__assign({}, output)];
|
|
4079
4079
|
_c = {};
|
|
4080
|
-
return [4,
|
|
4080
|
+
return [4, parseErrorBody(output.body, context)];
|
|
4081
4081
|
case 1:
|
|
4082
4082
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4083
4083
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -4145,7 +4145,7 @@ var deserializeAws_restJson1DeletePortalCommandError = function (output, context
|
|
|
4145
4145
|
case 0:
|
|
4146
4146
|
_a = [__assign({}, output)];
|
|
4147
4147
|
_c = {};
|
|
4148
|
-
return [4,
|
|
4148
|
+
return [4, parseErrorBody(output.body, context)];
|
|
4149
4149
|
case 1:
|
|
4150
4150
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4151
4151
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -4212,7 +4212,7 @@ var deserializeAws_restJson1DeleteProjectCommandError = function (output, contex
|
|
|
4212
4212
|
case 0:
|
|
4213
4213
|
_a = [__assign({}, output)];
|
|
4214
4214
|
_c = {};
|
|
4215
|
-
return [4,
|
|
4215
|
+
return [4, parseErrorBody(output.body, context)];
|
|
4216
4216
|
case 1:
|
|
4217
4217
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4218
4218
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -4275,7 +4275,7 @@ var deserializeAws_restJson1DeleteTimeSeriesCommandError = function (output, con
|
|
|
4275
4275
|
case 0:
|
|
4276
4276
|
_a = [__assign({}, output)];
|
|
4277
4277
|
_c = {};
|
|
4278
|
-
return [4,
|
|
4278
|
+
return [4, parseErrorBody(output.body, context)];
|
|
4279
4279
|
case 1:
|
|
4280
4280
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4281
4281
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -4365,7 +4365,7 @@ var deserializeAws_restJson1DescribeAccessPolicyCommandError = function (output,
|
|
|
4365
4365
|
case 0:
|
|
4366
4366
|
_a = [__assign({}, output)];
|
|
4367
4367
|
_c = {};
|
|
4368
|
-
return [4,
|
|
4368
|
+
return [4, parseErrorBody(output.body, context)];
|
|
4369
4369
|
case 1:
|
|
4370
4370
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4371
4371
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -4463,7 +4463,7 @@ var deserializeAws_restJson1DescribeAssetCommandError = function (output, contex
|
|
|
4463
4463
|
case 0:
|
|
4464
4464
|
_a = [__assign({}, output)];
|
|
4465
4465
|
_c = {};
|
|
4466
|
-
return [4,
|
|
4466
|
+
return [4, parseErrorBody(output.body, context)];
|
|
4467
4467
|
case 1:
|
|
4468
4468
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4469
4469
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -4558,7 +4558,7 @@ var deserializeAws_restJson1DescribeAssetModelCommandError = function (output, c
|
|
|
4558
4558
|
case 0:
|
|
4559
4559
|
_a = [__assign({}, output)];
|
|
4560
4560
|
_c = {};
|
|
4561
|
-
return [4,
|
|
4561
|
+
return [4, parseErrorBody(output.body, context)];
|
|
4562
4562
|
case 1:
|
|
4563
4563
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4564
4564
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -4638,7 +4638,7 @@ var deserializeAws_restJson1DescribeAssetPropertyCommandError = function (output
|
|
|
4638
4638
|
case 0:
|
|
4639
4639
|
_a = [__assign({}, output)];
|
|
4640
4640
|
_c = {};
|
|
4641
|
-
return [4,
|
|
4641
|
+
return [4, parseErrorBody(output.body, context)];
|
|
4642
4642
|
case 1:
|
|
4643
4643
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4644
4644
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -4730,7 +4730,7 @@ var deserializeAws_restJson1DescribeBulkImportJobCommandError = function (output
|
|
|
4730
4730
|
case 0:
|
|
4731
4731
|
_a = [__assign({}, output)];
|
|
4732
4732
|
_c = {};
|
|
4733
|
-
return [4,
|
|
4733
|
+
return [4, parseErrorBody(output.body, context)];
|
|
4734
4734
|
case 1:
|
|
4735
4735
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4736
4736
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -4819,7 +4819,7 @@ var deserializeAws_restJson1DescribeDashboardCommandError = function (output, co
|
|
|
4819
4819
|
case 0:
|
|
4820
4820
|
_a = [__assign({}, output)];
|
|
4821
4821
|
_c = {};
|
|
4822
|
-
return [4,
|
|
4822
|
+
return [4, parseErrorBody(output.body, context)];
|
|
4823
4823
|
case 1:
|
|
4824
4824
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4825
4825
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -4893,7 +4893,7 @@ var deserializeAws_restJson1DescribeDefaultEncryptionConfigurationCommandError =
|
|
|
4893
4893
|
case 0:
|
|
4894
4894
|
_a = [__assign({}, output)];
|
|
4895
4895
|
_c = {};
|
|
4896
|
-
return [4,
|
|
4896
|
+
return [4, parseErrorBody(output.body, context)];
|
|
4897
4897
|
case 1:
|
|
4898
4898
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4899
4899
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -4975,7 +4975,7 @@ var deserializeAws_restJson1DescribeGatewayCommandError = function (output, cont
|
|
|
4975
4975
|
case 0:
|
|
4976
4976
|
_a = [__assign({}, output)];
|
|
4977
4977
|
_c = {};
|
|
4978
|
-
return [4,
|
|
4978
|
+
return [4, parseErrorBody(output.body, context)];
|
|
4979
4979
|
case 1:
|
|
4980
4980
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4981
4981
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -5052,7 +5052,7 @@ var deserializeAws_restJson1DescribeGatewayCapabilityConfigurationCommandError =
|
|
|
5052
5052
|
case 0:
|
|
5053
5053
|
_a = [__assign({}, output)];
|
|
5054
5054
|
_c = {};
|
|
5055
|
-
return [4,
|
|
5055
|
+
return [4, parseErrorBody(output.body, context)];
|
|
5056
5056
|
case 1:
|
|
5057
5057
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
5058
5058
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -5120,7 +5120,7 @@ var deserializeAws_restJson1DescribeLoggingOptionsCommandError = function (outpu
|
|
|
5120
5120
|
case 0:
|
|
5121
5121
|
_a = [__assign({}, output)];
|
|
5122
5122
|
_c = {};
|
|
5123
|
-
return [4,
|
|
5123
|
+
return [4, parseErrorBody(output.body, context)];
|
|
5124
5124
|
case 1:
|
|
5125
5125
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
5126
5126
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -5230,7 +5230,7 @@ var deserializeAws_restJson1DescribePortalCommandError = function (output, conte
|
|
|
5230
5230
|
case 0:
|
|
5231
5231
|
_a = [__assign({}, output)];
|
|
5232
5232
|
_c = {};
|
|
5233
|
-
return [4,
|
|
5233
|
+
return [4, parseErrorBody(output.body, context)];
|
|
5234
5234
|
case 1:
|
|
5235
5235
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
5236
5236
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -5316,7 +5316,7 @@ var deserializeAws_restJson1DescribeProjectCommandError = function (output, cont
|
|
|
5316
5316
|
case 0:
|
|
5317
5317
|
_a = [__assign({}, output)];
|
|
5318
5318
|
_c = {};
|
|
5319
|
-
return [4,
|
|
5319
|
+
return [4, parseErrorBody(output.body, context)];
|
|
5320
5320
|
case 1:
|
|
5321
5321
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
5322
5322
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -5399,7 +5399,7 @@ var deserializeAws_restJson1DescribeStorageConfigurationCommandError = function
|
|
|
5399
5399
|
case 0:
|
|
5400
5400
|
_a = [__assign({}, output)];
|
|
5401
5401
|
_c = {};
|
|
5402
|
-
return [4,
|
|
5402
|
+
return [4, parseErrorBody(output.body, context)];
|
|
5403
5403
|
case 1:
|
|
5404
5404
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
5405
5405
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -5496,7 +5496,7 @@ var deserializeAws_restJson1DescribeTimeSeriesCommandError = function (output, c
|
|
|
5496
5496
|
case 0:
|
|
5497
5497
|
_a = [__assign({}, output)];
|
|
5498
5498
|
_c = {};
|
|
5499
|
-
return [4,
|
|
5499
|
+
return [4, parseErrorBody(output.body, context)];
|
|
5500
5500
|
case 1:
|
|
5501
5501
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
5502
5502
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -5559,7 +5559,7 @@ var deserializeAws_restJson1DisassociateAssetsCommandError = function (output, c
|
|
|
5559
5559
|
case 0:
|
|
5560
5560
|
_a = [__assign({}, output)];
|
|
5561
5561
|
_c = {};
|
|
5562
|
-
return [4,
|
|
5562
|
+
return [4, parseErrorBody(output.body, context)];
|
|
5563
5563
|
case 1:
|
|
5564
5564
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
5565
5565
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -5626,7 +5626,7 @@ var deserializeAws_restJson1DisassociateTimeSeriesFromAssetPropertyCommandError
|
|
|
5626
5626
|
case 0:
|
|
5627
5627
|
_a = [__assign({}, output)];
|
|
5628
5628
|
_c = {};
|
|
5629
|
-
return [4,
|
|
5629
|
+
return [4, parseErrorBody(output.body, context)];
|
|
5630
5630
|
case 1:
|
|
5631
5631
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
5632
5632
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -5701,7 +5701,7 @@ var deserializeAws_restJson1GetAssetPropertyAggregatesCommandError = function (o
|
|
|
5701
5701
|
case 0:
|
|
5702
5702
|
_a = [__assign({}, output)];
|
|
5703
5703
|
_c = {};
|
|
5704
|
-
return [4,
|
|
5704
|
+
return [4, parseErrorBody(output.body, context)];
|
|
5705
5705
|
case 1:
|
|
5706
5706
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
5707
5707
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -5773,7 +5773,7 @@ var deserializeAws_restJson1GetAssetPropertyValueCommandError = function (output
|
|
|
5773
5773
|
case 0:
|
|
5774
5774
|
_a = [__assign({}, output)];
|
|
5775
5775
|
_c = {};
|
|
5776
|
-
return [4,
|
|
5776
|
+
return [4, parseErrorBody(output.body, context)];
|
|
5777
5777
|
case 1:
|
|
5778
5778
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
5779
5779
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -5848,7 +5848,7 @@ var deserializeAws_restJson1GetAssetPropertyValueHistoryCommandError = function
|
|
|
5848
5848
|
case 0:
|
|
5849
5849
|
_a = [__assign({}, output)];
|
|
5850
5850
|
_c = {};
|
|
5851
|
-
return [4,
|
|
5851
|
+
return [4, parseErrorBody(output.body, context)];
|
|
5852
5852
|
case 1:
|
|
5853
5853
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
5854
5854
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -5923,7 +5923,7 @@ var deserializeAws_restJson1GetInterpolatedAssetPropertyValuesCommandError = fun
|
|
|
5923
5923
|
case 0:
|
|
5924
5924
|
_a = [__assign({}, output)];
|
|
5925
5925
|
_c = {};
|
|
5926
|
-
return [4,
|
|
5926
|
+
return [4, parseErrorBody(output.body, context)];
|
|
5927
5927
|
case 1:
|
|
5928
5928
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
5929
5929
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -5998,7 +5998,7 @@ var deserializeAws_restJson1ListAccessPoliciesCommandError = function (output, c
|
|
|
5998
5998
|
case 0:
|
|
5999
5999
|
_a = [__assign({}, output)];
|
|
6000
6000
|
_c = {};
|
|
6001
|
-
return [4,
|
|
6001
|
+
return [4, parseErrorBody(output.body, context)];
|
|
6002
6002
|
case 1:
|
|
6003
6003
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
6004
6004
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -6065,7 +6065,7 @@ var deserializeAws_restJson1ListAssetModelsCommandError = function (output, cont
|
|
|
6065
6065
|
case 0:
|
|
6066
6066
|
_a = [__assign({}, output)];
|
|
6067
6067
|
_c = {};
|
|
6068
|
-
return [4,
|
|
6068
|
+
return [4, parseErrorBody(output.body, context)];
|
|
6069
6069
|
case 1:
|
|
6070
6070
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
6071
6071
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -6132,7 +6132,7 @@ var deserializeAws_restJson1ListAssetRelationshipsCommandError = function (outpu
|
|
|
6132
6132
|
case 0:
|
|
6133
6133
|
_a = [__assign({}, output)];
|
|
6134
6134
|
_c = {};
|
|
6135
|
-
return [4,
|
|
6135
|
+
return [4, parseErrorBody(output.body, context)];
|
|
6136
6136
|
case 1:
|
|
6137
6137
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
6138
6138
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -6203,7 +6203,7 @@ var deserializeAws_restJson1ListAssetsCommandError = function (output, context)
|
|
|
6203
6203
|
case 0:
|
|
6204
6204
|
_a = [__assign({}, output)];
|
|
6205
6205
|
_c = {};
|
|
6206
|
-
return [4,
|
|
6206
|
+
return [4, parseErrorBody(output.body, context)];
|
|
6207
6207
|
case 1:
|
|
6208
6208
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
6209
6209
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -6274,7 +6274,7 @@ var deserializeAws_restJson1ListAssociatedAssetsCommandError = function (output,
|
|
|
6274
6274
|
case 0:
|
|
6275
6275
|
_a = [__assign({}, output)];
|
|
6276
6276
|
_c = {};
|
|
6277
|
-
return [4,
|
|
6277
|
+
return [4, parseErrorBody(output.body, context)];
|
|
6278
6278
|
case 1:
|
|
6279
6279
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
6280
6280
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -6345,7 +6345,7 @@ var deserializeAws_restJson1ListBulkImportJobsCommandError = function (output, c
|
|
|
6345
6345
|
case 0:
|
|
6346
6346
|
_a = [__assign({}, output)];
|
|
6347
6347
|
_c = {};
|
|
6348
|
-
return [4,
|
|
6348
|
+
return [4, parseErrorBody(output.body, context)];
|
|
6349
6349
|
case 1:
|
|
6350
6350
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
6351
6351
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -6416,7 +6416,7 @@ var deserializeAws_restJson1ListDashboardsCommandError = function (output, conte
|
|
|
6416
6416
|
case 0:
|
|
6417
6417
|
_a = [__assign({}, output)];
|
|
6418
6418
|
_c = {};
|
|
6419
|
-
return [4,
|
|
6419
|
+
return [4, parseErrorBody(output.body, context)];
|
|
6420
6420
|
case 1:
|
|
6421
6421
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
6422
6422
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -6483,7 +6483,7 @@ var deserializeAws_restJson1ListGatewaysCommandError = function (output, context
|
|
|
6483
6483
|
case 0:
|
|
6484
6484
|
_a = [__assign({}, output)];
|
|
6485
6485
|
_c = {};
|
|
6486
|
-
return [4,
|
|
6486
|
+
return [4, parseErrorBody(output.body, context)];
|
|
6487
6487
|
case 1:
|
|
6488
6488
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
6489
6489
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -6550,7 +6550,7 @@ var deserializeAws_restJson1ListPortalsCommandError = function (output, context)
|
|
|
6550
6550
|
case 0:
|
|
6551
6551
|
_a = [__assign({}, output)];
|
|
6552
6552
|
_c = {};
|
|
6553
|
-
return [4,
|
|
6553
|
+
return [4, parseErrorBody(output.body, context)];
|
|
6554
6554
|
case 1:
|
|
6555
6555
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
6556
6556
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -6617,7 +6617,7 @@ var deserializeAws_restJson1ListProjectAssetsCommandError = function (output, co
|
|
|
6617
6617
|
case 0:
|
|
6618
6618
|
_a = [__assign({}, output)];
|
|
6619
6619
|
_c = {};
|
|
6620
|
-
return [4,
|
|
6620
|
+
return [4, parseErrorBody(output.body, context)];
|
|
6621
6621
|
case 1:
|
|
6622
6622
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
6623
6623
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -6684,7 +6684,7 @@ var deserializeAws_restJson1ListProjectsCommandError = function (output, context
|
|
|
6684
6684
|
case 0:
|
|
6685
6685
|
_a = [__assign({}, output)];
|
|
6686
6686
|
_c = {};
|
|
6687
|
-
return [4,
|
|
6687
|
+
return [4, parseErrorBody(output.body, context)];
|
|
6688
6688
|
case 1:
|
|
6689
6689
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
6690
6690
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -6748,7 +6748,7 @@ var deserializeAws_restJson1ListTagsForResourceCommandError = function (output,
|
|
|
6748
6748
|
case 0:
|
|
6749
6749
|
_a = [__assign({}, output)];
|
|
6750
6750
|
_c = {};
|
|
6751
|
-
return [4,
|
|
6751
|
+
return [4, parseErrorBody(output.body, context)];
|
|
6752
6752
|
case 1:
|
|
6753
6753
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
6754
6754
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -6831,7 +6831,7 @@ var deserializeAws_restJson1ListTimeSeriesCommandError = function (output, conte
|
|
|
6831
6831
|
case 0:
|
|
6832
6832
|
_a = [__assign({}, output)];
|
|
6833
6833
|
_c = {};
|
|
6834
|
-
return [4,
|
|
6834
|
+
return [4, parseErrorBody(output.body, context)];
|
|
6835
6835
|
case 1:
|
|
6836
6836
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
6837
6837
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -6905,7 +6905,7 @@ var deserializeAws_restJson1PutDefaultEncryptionConfigurationCommandError = func
|
|
|
6905
6905
|
case 0:
|
|
6906
6906
|
_a = [__assign({}, output)];
|
|
6907
6907
|
_c = {};
|
|
6908
|
-
return [4,
|
|
6908
|
+
return [4, parseErrorBody(output.body, context)];
|
|
6909
6909
|
case 1:
|
|
6910
6910
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
6911
6911
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -6972,7 +6972,7 @@ var deserializeAws_restJson1PutLoggingOptionsCommandError = function (output, co
|
|
|
6972
6972
|
case 0:
|
|
6973
6973
|
_a = [__assign({}, output)];
|
|
6974
6974
|
_c = {};
|
|
6975
|
-
return [4,
|
|
6975
|
+
return [4, parseErrorBody(output.body, context)];
|
|
6976
6976
|
case 1:
|
|
6977
6977
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
6978
6978
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -7056,7 +7056,7 @@ var deserializeAws_restJson1PutStorageConfigurationCommandError = function (outp
|
|
|
7056
7056
|
case 0:
|
|
7057
7057
|
_a = [__assign({}, output)];
|
|
7058
7058
|
_c = {};
|
|
7059
|
-
return [4,
|
|
7059
|
+
return [4, parseErrorBody(output.body, context)];
|
|
7060
7060
|
case 1:
|
|
7061
7061
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
7062
7062
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -7131,7 +7131,7 @@ var deserializeAws_restJson1TagResourceCommandError = function (output, context)
|
|
|
7131
7131
|
case 0:
|
|
7132
7132
|
_a = [__assign({}, output)];
|
|
7133
7133
|
_c = {};
|
|
7134
|
-
return [4,
|
|
7134
|
+
return [4, parseErrorBody(output.body, context)];
|
|
7135
7135
|
case 1:
|
|
7136
7136
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
7137
7137
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -7210,7 +7210,7 @@ var deserializeAws_restJson1UntagResourceCommandError = function (output, contex
|
|
|
7210
7210
|
case 0:
|
|
7211
7211
|
_a = [__assign({}, output)];
|
|
7212
7212
|
_c = {};
|
|
7213
|
-
return [4,
|
|
7213
|
+
return [4, parseErrorBody(output.body, context)];
|
|
7214
7214
|
case 1:
|
|
7215
7215
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
7216
7216
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -7285,7 +7285,7 @@ var deserializeAws_restJson1UpdateAccessPolicyCommandError = function (output, c
|
|
|
7285
7285
|
case 0:
|
|
7286
7286
|
_a = [__assign({}, output)];
|
|
7287
7287
|
_c = {};
|
|
7288
|
-
return [4,
|
|
7288
|
+
return [4, parseErrorBody(output.body, context)];
|
|
7289
7289
|
case 1:
|
|
7290
7290
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
7291
7291
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -7353,7 +7353,7 @@ var deserializeAws_restJson1UpdateAssetCommandError = function (output, context)
|
|
|
7353
7353
|
case 0:
|
|
7354
7354
|
_a = [__assign({}, output)];
|
|
7355
7355
|
_c = {};
|
|
7356
|
-
return [4,
|
|
7356
|
+
return [4, parseErrorBody(output.body, context)];
|
|
7357
7357
|
case 1:
|
|
7358
7358
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
7359
7359
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -7429,7 +7429,7 @@ var deserializeAws_restJson1UpdateAssetModelCommandError = function (output, con
|
|
|
7429
7429
|
case 0:
|
|
7430
7430
|
_a = [__assign({}, output)];
|
|
7431
7431
|
_c = {};
|
|
7432
|
-
return [4,
|
|
7432
|
+
return [4, parseErrorBody(output.body, context)];
|
|
7433
7433
|
case 1:
|
|
7434
7434
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
7435
7435
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -7504,7 +7504,7 @@ var deserializeAws_restJson1UpdateAssetPropertyCommandError = function (output,
|
|
|
7504
7504
|
case 0:
|
|
7505
7505
|
_a = [__assign({}, output)];
|
|
7506
7506
|
_c = {};
|
|
7507
|
-
return [4,
|
|
7507
|
+
return [4, parseErrorBody(output.body, context)];
|
|
7508
7508
|
case 1:
|
|
7509
7509
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
7510
7510
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -7571,7 +7571,7 @@ var deserializeAws_restJson1UpdateDashboardCommandError = function (output, cont
|
|
|
7571
7571
|
case 0:
|
|
7572
7572
|
_a = [__assign({}, output)];
|
|
7573
7573
|
_c = {};
|
|
7574
|
-
return [4,
|
|
7574
|
+
return [4, parseErrorBody(output.body, context)];
|
|
7575
7575
|
case 1:
|
|
7576
7576
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
7577
7577
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -7634,7 +7634,7 @@ var deserializeAws_restJson1UpdateGatewayCommandError = function (output, contex
|
|
|
7634
7634
|
case 0:
|
|
7635
7635
|
_a = [__assign({}, output)];
|
|
7636
7636
|
_c = {};
|
|
7637
|
-
return [4,
|
|
7637
|
+
return [4, parseErrorBody(output.body, context)];
|
|
7638
7638
|
case 1:
|
|
7639
7639
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
7640
7640
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -7709,7 +7709,7 @@ var deserializeAws_restJson1UpdateGatewayCapabilityConfigurationCommandError = f
|
|
|
7709
7709
|
case 0:
|
|
7710
7710
|
_a = [__assign({}, output)];
|
|
7711
7711
|
_c = {};
|
|
7712
|
-
return [4,
|
|
7712
|
+
return [4, parseErrorBody(output.body, context)];
|
|
7713
7713
|
case 1:
|
|
7714
7714
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
7715
7715
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -7785,7 +7785,7 @@ var deserializeAws_restJson1UpdatePortalCommandError = function (output, context
|
|
|
7785
7785
|
case 0:
|
|
7786
7786
|
_a = [__assign({}, output)];
|
|
7787
7787
|
_c = {};
|
|
7788
|
-
return [4,
|
|
7788
|
+
return [4, parseErrorBody(output.body, context)];
|
|
7789
7789
|
case 1:
|
|
7790
7790
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
7791
7791
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -7852,7 +7852,7 @@ var deserializeAws_restJson1UpdateProjectCommandError = function (output, contex
|
|
|
7852
7852
|
case 0:
|
|
7853
7853
|
_a = [__assign({}, output)];
|
|
7854
7854
|
_c = {};
|
|
7855
|
-
return [4,
|
|
7855
|
+
return [4, parseErrorBody(output.body, context)];
|
|
7856
7856
|
case 1:
|
|
7857
7857
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
7858
7858
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
@@ -9471,6 +9471,19 @@ var parseBody = function (streamBody, context) {
|
|
|
9471
9471
|
return {};
|
|
9472
9472
|
});
|
|
9473
9473
|
};
|
|
9474
|
+
var parseErrorBody = function (errorBody, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
9475
|
+
var value;
|
|
9476
|
+
var _a;
|
|
9477
|
+
return __generator(this, function (_b) {
|
|
9478
|
+
switch (_b.label) {
|
|
9479
|
+
case 0: return [4, parseBody(errorBody, context)];
|
|
9480
|
+
case 1:
|
|
9481
|
+
value = _b.sent();
|
|
9482
|
+
value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
|
|
9483
|
+
return [2, value];
|
|
9484
|
+
}
|
|
9485
|
+
});
|
|
9486
|
+
}); };
|
|
9474
9487
|
var loadRestJsonErrorCode = function (output, data) {
|
|
9475
9488
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
9476
9489
|
var sanitizeErrorCode = function (rawValue) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iotsitewise",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iotsitewise Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.181.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.181.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.178.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.181.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.178.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.178.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.178.0",
|