@aws-sdk/client-quicksight 3.179.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 +20 -0
- package/dist-cjs/protocols/Aws_restJson1.js +126 -120
- package/dist-es/protocols/Aws_restJson1.js +133 -120
- package/package.json +6 -6
|
@@ -2995,7 +2995,7 @@ exports.deserializeAws_restJson1CancelIngestionCommand = deserializeAws_restJson
|
|
|
2995
2995
|
const deserializeAws_restJson1CancelIngestionCommandError = async (output, context) => {
|
|
2996
2996
|
const parsedOutput = {
|
|
2997
2997
|
...output,
|
|
2998
|
-
body: await
|
|
2998
|
+
body: await parseErrorBody(output.body, context),
|
|
2999
2999
|
};
|
|
3000
3000
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3001
3001
|
switch (errorCode) {
|
|
@@ -3059,7 +3059,7 @@ exports.deserializeAws_restJson1CreateAccountCustomizationCommand = deserializeA
|
|
|
3059
3059
|
const deserializeAws_restJson1CreateAccountCustomizationCommandError = async (output, context) => {
|
|
3060
3060
|
const parsedOutput = {
|
|
3061
3061
|
...output,
|
|
3062
|
-
body: await
|
|
3062
|
+
body: await parseErrorBody(output.body, context),
|
|
3063
3063
|
};
|
|
3064
3064
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3065
3065
|
switch (errorCode) {
|
|
@@ -3120,7 +3120,7 @@ exports.deserializeAws_restJson1CreateAccountSubscriptionCommand = deserializeAw
|
|
|
3120
3120
|
const deserializeAws_restJson1CreateAccountSubscriptionCommandError = async (output, context) => {
|
|
3121
3121
|
const parsedOutput = {
|
|
3122
3122
|
...output,
|
|
3123
|
-
body: await
|
|
3123
|
+
body: await parseErrorBody(output.body, context),
|
|
3124
3124
|
};
|
|
3125
3125
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3126
3126
|
switch (errorCode) {
|
|
@@ -3190,7 +3190,7 @@ exports.deserializeAws_restJson1CreateAnalysisCommand = deserializeAws_restJson1
|
|
|
3190
3190
|
const deserializeAws_restJson1CreateAnalysisCommandError = async (output, context) => {
|
|
3191
3191
|
const parsedOutput = {
|
|
3192
3192
|
...output,
|
|
3193
|
-
body: await
|
|
3193
|
+
body: await parseErrorBody(output.body, context),
|
|
3194
3194
|
};
|
|
3195
3195
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3196
3196
|
switch (errorCode) {
|
|
@@ -3257,7 +3257,7 @@ exports.deserializeAws_restJson1CreateDashboardCommand = deserializeAws_restJson
|
|
|
3257
3257
|
const deserializeAws_restJson1CreateDashboardCommandError = async (output, context) => {
|
|
3258
3258
|
const parsedOutput = {
|
|
3259
3259
|
...output,
|
|
3260
|
-
body: await
|
|
3260
|
+
body: await parseErrorBody(output.body, context),
|
|
3261
3261
|
};
|
|
3262
3262
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3263
3263
|
switch (errorCode) {
|
|
@@ -3324,7 +3324,7 @@ exports.deserializeAws_restJson1CreateDataSetCommand = deserializeAws_restJson1C
|
|
|
3324
3324
|
const deserializeAws_restJson1CreateDataSetCommandError = async (output, context) => {
|
|
3325
3325
|
const parsedOutput = {
|
|
3326
3326
|
...output,
|
|
3327
|
-
body: await
|
|
3327
|
+
body: await parseErrorBody(output.body, context),
|
|
3328
3328
|
};
|
|
3329
3329
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3330
3330
|
switch (errorCode) {
|
|
@@ -3394,7 +3394,7 @@ exports.deserializeAws_restJson1CreateDataSourceCommand = deserializeAws_restJso
|
|
|
3394
3394
|
const deserializeAws_restJson1CreateDataSourceCommandError = async (output, context) => {
|
|
3395
3395
|
const parsedOutput = {
|
|
3396
3396
|
...output,
|
|
3397
|
-
body: await
|
|
3397
|
+
body: await parseErrorBody(output.body, context),
|
|
3398
3398
|
};
|
|
3399
3399
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3400
3400
|
switch (errorCode) {
|
|
@@ -3458,7 +3458,7 @@ exports.deserializeAws_restJson1CreateFolderCommand = deserializeAws_restJson1Cr
|
|
|
3458
3458
|
const deserializeAws_restJson1CreateFolderCommandError = async (output, context) => {
|
|
3459
3459
|
const parsedOutput = {
|
|
3460
3460
|
...output,
|
|
3461
|
-
body: await
|
|
3461
|
+
body: await parseErrorBody(output.body, context),
|
|
3462
3462
|
};
|
|
3463
3463
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3464
3464
|
switch (errorCode) {
|
|
@@ -3522,7 +3522,7 @@ exports.deserializeAws_restJson1CreateFolderMembershipCommand = deserializeAws_r
|
|
|
3522
3522
|
const deserializeAws_restJson1CreateFolderMembershipCommandError = async (output, context) => {
|
|
3523
3523
|
const parsedOutput = {
|
|
3524
3524
|
...output,
|
|
3525
|
-
body: await
|
|
3525
|
+
body: await parseErrorBody(output.body, context),
|
|
3526
3526
|
};
|
|
3527
3527
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3528
3528
|
switch (errorCode) {
|
|
@@ -3583,7 +3583,7 @@ exports.deserializeAws_restJson1CreateGroupCommand = deserializeAws_restJson1Cre
|
|
|
3583
3583
|
const deserializeAws_restJson1CreateGroupCommandError = async (output, context) => {
|
|
3584
3584
|
const parsedOutput = {
|
|
3585
3585
|
...output,
|
|
3586
|
-
body: await
|
|
3586
|
+
body: await parseErrorBody(output.body, context),
|
|
3587
3587
|
};
|
|
3588
3588
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3589
3589
|
switch (errorCode) {
|
|
@@ -3647,7 +3647,7 @@ exports.deserializeAws_restJson1CreateGroupMembershipCommand = deserializeAws_re
|
|
|
3647
3647
|
const deserializeAws_restJson1CreateGroupMembershipCommandError = async (output, context) => {
|
|
3648
3648
|
const parsedOutput = {
|
|
3649
3649
|
...output,
|
|
3650
|
-
body: await
|
|
3650
|
+
body: await parseErrorBody(output.body, context),
|
|
3651
3651
|
};
|
|
3652
3652
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3653
3653
|
switch (errorCode) {
|
|
@@ -3717,7 +3717,7 @@ exports.deserializeAws_restJson1CreateIAMPolicyAssignmentCommand = deserializeAw
|
|
|
3717
3717
|
const deserializeAws_restJson1CreateIAMPolicyAssignmentCommandError = async (output, context) => {
|
|
3718
3718
|
const parsedOutput = {
|
|
3719
3719
|
...output,
|
|
3720
|
-
body: await
|
|
3720
|
+
body: await parseErrorBody(output.body, context),
|
|
3721
3721
|
};
|
|
3722
3722
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3723
3723
|
switch (errorCode) {
|
|
@@ -3781,7 +3781,7 @@ exports.deserializeAws_restJson1CreateIngestionCommand = deserializeAws_restJson
|
|
|
3781
3781
|
const deserializeAws_restJson1CreateIngestionCommandError = async (output, context) => {
|
|
3782
3782
|
const parsedOutput = {
|
|
3783
3783
|
...output,
|
|
3784
|
-
body: await
|
|
3784
|
+
body: await parseErrorBody(output.body, context),
|
|
3785
3785
|
};
|
|
3786
3786
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3787
3787
|
switch (errorCode) {
|
|
@@ -3851,7 +3851,7 @@ exports.deserializeAws_restJson1CreateNamespaceCommand = deserializeAws_restJson
|
|
|
3851
3851
|
const deserializeAws_restJson1CreateNamespaceCommandError = async (output, context) => {
|
|
3852
3852
|
const parsedOutput = {
|
|
3853
3853
|
...output,
|
|
3854
|
-
body: await
|
|
3854
|
+
body: await parseErrorBody(output.body, context),
|
|
3855
3855
|
};
|
|
3856
3856
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3857
3857
|
switch (errorCode) {
|
|
@@ -3927,7 +3927,7 @@ exports.deserializeAws_restJson1CreateTemplateCommand = deserializeAws_restJson1
|
|
|
3927
3927
|
const deserializeAws_restJson1CreateTemplateCommandError = async (output, context) => {
|
|
3928
3928
|
const parsedOutput = {
|
|
3929
3929
|
...output,
|
|
3930
|
-
body: await
|
|
3930
|
+
body: await parseErrorBody(output.body, context),
|
|
3931
3931
|
};
|
|
3932
3932
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3933
3933
|
switch (errorCode) {
|
|
@@ -3991,7 +3991,7 @@ exports.deserializeAws_restJson1CreateTemplateAliasCommand = deserializeAws_rest
|
|
|
3991
3991
|
const deserializeAws_restJson1CreateTemplateAliasCommandError = async (output, context) => {
|
|
3992
3992
|
const parsedOutput = {
|
|
3993
3993
|
...output,
|
|
3994
|
-
body: await
|
|
3994
|
+
body: await parseErrorBody(output.body, context),
|
|
3995
3995
|
};
|
|
3996
3996
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3997
3997
|
switch (errorCode) {
|
|
@@ -4058,7 +4058,7 @@ exports.deserializeAws_restJson1CreateThemeCommand = deserializeAws_restJson1Cre
|
|
|
4058
4058
|
const deserializeAws_restJson1CreateThemeCommandError = async (output, context) => {
|
|
4059
4059
|
const parsedOutput = {
|
|
4060
4060
|
...output,
|
|
4061
|
-
body: await
|
|
4061
|
+
body: await parseErrorBody(output.body, context),
|
|
4062
4062
|
};
|
|
4063
4063
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4064
4064
|
switch (errorCode) {
|
|
@@ -4119,7 +4119,7 @@ exports.deserializeAws_restJson1CreateThemeAliasCommand = deserializeAws_restJso
|
|
|
4119
4119
|
const deserializeAws_restJson1CreateThemeAliasCommandError = async (output, context) => {
|
|
4120
4120
|
const parsedOutput = {
|
|
4121
4121
|
...output,
|
|
4122
|
-
body: await
|
|
4122
|
+
body: await parseErrorBody(output.body, context),
|
|
4123
4123
|
};
|
|
4124
4124
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4125
4125
|
switch (errorCode) {
|
|
@@ -4177,7 +4177,7 @@ exports.deserializeAws_restJson1DeleteAccountCustomizationCommand = deserializeA
|
|
|
4177
4177
|
const deserializeAws_restJson1DeleteAccountCustomizationCommandError = async (output, context) => {
|
|
4178
4178
|
const parsedOutput = {
|
|
4179
4179
|
...output,
|
|
4180
|
-
body: await
|
|
4180
|
+
body: await parseErrorBody(output.body, context),
|
|
4181
4181
|
};
|
|
4182
4182
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4183
4183
|
switch (errorCode) {
|
|
@@ -4241,7 +4241,7 @@ exports.deserializeAws_restJson1DeleteAnalysisCommand = deserializeAws_restJson1
|
|
|
4241
4241
|
const deserializeAws_restJson1DeleteAnalysisCommandError = async (output, context) => {
|
|
4242
4242
|
const parsedOutput = {
|
|
4243
4243
|
...output,
|
|
4244
|
-
body: await
|
|
4244
|
+
body: await parseErrorBody(output.body, context),
|
|
4245
4245
|
};
|
|
4246
4246
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4247
4247
|
switch (errorCode) {
|
|
@@ -4299,7 +4299,7 @@ exports.deserializeAws_restJson1DeleteDashboardCommand = deserializeAws_restJson
|
|
|
4299
4299
|
const deserializeAws_restJson1DeleteDashboardCommandError = async (output, context) => {
|
|
4300
4300
|
const parsedOutput = {
|
|
4301
4301
|
...output,
|
|
4302
|
-
body: await
|
|
4302
|
+
body: await parseErrorBody(output.body, context),
|
|
4303
4303
|
};
|
|
4304
4304
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4305
4305
|
switch (errorCode) {
|
|
@@ -4357,7 +4357,7 @@ exports.deserializeAws_restJson1DeleteDataSetCommand = deserializeAws_restJson1D
|
|
|
4357
4357
|
const deserializeAws_restJson1DeleteDataSetCommandError = async (output, context) => {
|
|
4358
4358
|
const parsedOutput = {
|
|
4359
4359
|
...output,
|
|
4360
|
-
body: await
|
|
4360
|
+
body: await parseErrorBody(output.body, context),
|
|
4361
4361
|
};
|
|
4362
4362
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4363
4363
|
switch (errorCode) {
|
|
@@ -4412,7 +4412,7 @@ exports.deserializeAws_restJson1DeleteDataSourceCommand = deserializeAws_restJso
|
|
|
4412
4412
|
const deserializeAws_restJson1DeleteDataSourceCommandError = async (output, context) => {
|
|
4413
4413
|
const parsedOutput = {
|
|
4414
4414
|
...output,
|
|
4415
|
-
body: await
|
|
4415
|
+
body: await parseErrorBody(output.body, context),
|
|
4416
4416
|
};
|
|
4417
4417
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4418
4418
|
switch (errorCode) {
|
|
@@ -4467,7 +4467,7 @@ exports.deserializeAws_restJson1DeleteFolderCommand = deserializeAws_restJson1De
|
|
|
4467
4467
|
const deserializeAws_restJson1DeleteFolderCommandError = async (output, context) => {
|
|
4468
4468
|
const parsedOutput = {
|
|
4469
4469
|
...output,
|
|
4470
|
-
body: await
|
|
4470
|
+
body: await parseErrorBody(output.body, context),
|
|
4471
4471
|
};
|
|
4472
4472
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4473
4473
|
switch (errorCode) {
|
|
@@ -4525,7 +4525,7 @@ exports.deserializeAws_restJson1DeleteFolderMembershipCommand = deserializeAws_r
|
|
|
4525
4525
|
const deserializeAws_restJson1DeleteFolderMembershipCommandError = async (output, context) => {
|
|
4526
4526
|
const parsedOutput = {
|
|
4527
4527
|
...output,
|
|
4528
|
-
body: await
|
|
4528
|
+
body: await parseErrorBody(output.body, context),
|
|
4529
4529
|
};
|
|
4530
4530
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4531
4531
|
switch (errorCode) {
|
|
@@ -4577,7 +4577,7 @@ exports.deserializeAws_restJson1DeleteGroupCommand = deserializeAws_restJson1Del
|
|
|
4577
4577
|
const deserializeAws_restJson1DeleteGroupCommandError = async (output, context) => {
|
|
4578
4578
|
const parsedOutput = {
|
|
4579
4579
|
...output,
|
|
4580
|
-
body: await
|
|
4580
|
+
body: await parseErrorBody(output.body, context),
|
|
4581
4581
|
};
|
|
4582
4582
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4583
4583
|
switch (errorCode) {
|
|
@@ -4632,7 +4632,7 @@ exports.deserializeAws_restJson1DeleteGroupMembershipCommand = deserializeAws_re
|
|
|
4632
4632
|
const deserializeAws_restJson1DeleteGroupMembershipCommandError = async (output, context) => {
|
|
4633
4633
|
const parsedOutput = {
|
|
4634
4634
|
...output,
|
|
4635
|
-
body: await
|
|
4635
|
+
body: await parseErrorBody(output.body, context),
|
|
4636
4636
|
};
|
|
4637
4637
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4638
4638
|
switch (errorCode) {
|
|
@@ -4690,7 +4690,7 @@ exports.deserializeAws_restJson1DeleteIAMPolicyAssignmentCommand = deserializeAw
|
|
|
4690
4690
|
const deserializeAws_restJson1DeleteIAMPolicyAssignmentCommandError = async (output, context) => {
|
|
4691
4691
|
const parsedOutput = {
|
|
4692
4692
|
...output,
|
|
4693
|
-
body: await
|
|
4693
|
+
body: await parseErrorBody(output.body, context),
|
|
4694
4694
|
};
|
|
4695
4695
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4696
4696
|
switch (errorCode) {
|
|
@@ -4745,7 +4745,7 @@ exports.deserializeAws_restJson1DeleteNamespaceCommand = deserializeAws_restJson
|
|
|
4745
4745
|
const deserializeAws_restJson1DeleteNamespaceCommandError = async (output, context) => {
|
|
4746
4746
|
const parsedOutput = {
|
|
4747
4747
|
...output,
|
|
4748
|
-
body: await
|
|
4748
|
+
body: await parseErrorBody(output.body, context),
|
|
4749
4749
|
};
|
|
4750
4750
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4751
4751
|
switch (errorCode) {
|
|
@@ -4806,7 +4806,7 @@ exports.deserializeAws_restJson1DeleteTemplateCommand = deserializeAws_restJson1
|
|
|
4806
4806
|
const deserializeAws_restJson1DeleteTemplateCommandError = async (output, context) => {
|
|
4807
4807
|
const parsedOutput = {
|
|
4808
4808
|
...output,
|
|
4809
|
-
body: await
|
|
4809
|
+
body: await parseErrorBody(output.body, context),
|
|
4810
4810
|
};
|
|
4811
4811
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4812
4812
|
switch (errorCode) {
|
|
@@ -4870,7 +4870,7 @@ exports.deserializeAws_restJson1DeleteTemplateAliasCommand = deserializeAws_rest
|
|
|
4870
4870
|
const deserializeAws_restJson1DeleteTemplateAliasCommandError = async (output, context) => {
|
|
4871
4871
|
const parsedOutput = {
|
|
4872
4872
|
...output,
|
|
4873
|
-
body: await
|
|
4873
|
+
body: await parseErrorBody(output.body, context),
|
|
4874
4874
|
};
|
|
4875
4875
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4876
4876
|
switch (errorCode) {
|
|
@@ -4925,7 +4925,7 @@ exports.deserializeAws_restJson1DeleteThemeCommand = deserializeAws_restJson1Del
|
|
|
4925
4925
|
const deserializeAws_restJson1DeleteThemeCommandError = async (output, context) => {
|
|
4926
4926
|
const parsedOutput = {
|
|
4927
4927
|
...output,
|
|
4928
|
-
body: await
|
|
4928
|
+
body: await parseErrorBody(output.body, context),
|
|
4929
4929
|
};
|
|
4930
4930
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4931
4931
|
switch (errorCode) {
|
|
@@ -4989,7 +4989,7 @@ exports.deserializeAws_restJson1DeleteThemeAliasCommand = deserializeAws_restJso
|
|
|
4989
4989
|
const deserializeAws_restJson1DeleteThemeAliasCommandError = async (output, context) => {
|
|
4990
4990
|
const parsedOutput = {
|
|
4991
4991
|
...output,
|
|
4992
|
-
body: await
|
|
4992
|
+
body: await parseErrorBody(output.body, context),
|
|
4993
4993
|
};
|
|
4994
4994
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4995
4995
|
switch (errorCode) {
|
|
@@ -5041,7 +5041,7 @@ exports.deserializeAws_restJson1DeleteUserCommand = deserializeAws_restJson1Dele
|
|
|
5041
5041
|
const deserializeAws_restJson1DeleteUserCommandError = async (output, context) => {
|
|
5042
5042
|
const parsedOutput = {
|
|
5043
5043
|
...output,
|
|
5044
|
-
body: await
|
|
5044
|
+
body: await parseErrorBody(output.body, context),
|
|
5045
5045
|
};
|
|
5046
5046
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5047
5047
|
switch (errorCode) {
|
|
@@ -5096,7 +5096,7 @@ exports.deserializeAws_restJson1DeleteUserByPrincipalIdCommand = deserializeAws_
|
|
|
5096
5096
|
const deserializeAws_restJson1DeleteUserByPrincipalIdCommandError = async (output, context) => {
|
|
5097
5097
|
const parsedOutput = {
|
|
5098
5098
|
...output,
|
|
5099
|
-
body: await
|
|
5099
|
+
body: await parseErrorBody(output.body, context),
|
|
5100
5100
|
};
|
|
5101
5101
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5102
5102
|
switch (errorCode) {
|
|
@@ -5163,7 +5163,7 @@ exports.deserializeAws_restJson1DescribeAccountCustomizationCommand = deserializ
|
|
|
5163
5163
|
const deserializeAws_restJson1DescribeAccountCustomizationCommandError = async (output, context) => {
|
|
5164
5164
|
const parsedOutput = {
|
|
5165
5165
|
...output,
|
|
5166
|
-
body: await
|
|
5166
|
+
body: await parseErrorBody(output.body, context),
|
|
5167
5167
|
};
|
|
5168
5168
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5169
5169
|
switch (errorCode) {
|
|
@@ -5218,7 +5218,7 @@ exports.deserializeAws_restJson1DescribeAccountSettingsCommand = deserializeAws_
|
|
|
5218
5218
|
const deserializeAws_restJson1DescribeAccountSettingsCommandError = async (output, context) => {
|
|
5219
5219
|
const parsedOutput = {
|
|
5220
5220
|
...output,
|
|
5221
|
-
body: await
|
|
5221
|
+
body: await parseErrorBody(output.body, context),
|
|
5222
5222
|
};
|
|
5223
5223
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5224
5224
|
switch (errorCode) {
|
|
@@ -5273,7 +5273,7 @@ exports.deserializeAws_restJson1DescribeAccountSubscriptionCommand = deserialize
|
|
|
5273
5273
|
const deserializeAws_restJson1DescribeAccountSubscriptionCommandError = async (output, context) => {
|
|
5274
5274
|
const parsedOutput = {
|
|
5275
5275
|
...output,
|
|
5276
|
-
body: await
|
|
5276
|
+
body: await parseErrorBody(output.body, context),
|
|
5277
5277
|
};
|
|
5278
5278
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5279
5279
|
switch (errorCode) {
|
|
@@ -5328,7 +5328,7 @@ exports.deserializeAws_restJson1DescribeAnalysisCommand = deserializeAws_restJso
|
|
|
5328
5328
|
const deserializeAws_restJson1DescribeAnalysisCommandError = async (output, context) => {
|
|
5329
5329
|
const parsedOutput = {
|
|
5330
5330
|
...output,
|
|
5331
|
-
body: await
|
|
5331
|
+
body: await parseErrorBody(output.body, context),
|
|
5332
5332
|
};
|
|
5333
5333
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5334
5334
|
switch (errorCode) {
|
|
@@ -5389,7 +5389,7 @@ exports.deserializeAws_restJson1DescribeAnalysisPermissionsCommand = deserialize
|
|
|
5389
5389
|
const deserializeAws_restJson1DescribeAnalysisPermissionsCommandError = async (output, context) => {
|
|
5390
5390
|
const parsedOutput = {
|
|
5391
5391
|
...output,
|
|
5392
|
-
body: await
|
|
5392
|
+
body: await parseErrorBody(output.body, context),
|
|
5393
5393
|
};
|
|
5394
5394
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5395
5395
|
switch (errorCode) {
|
|
@@ -5441,7 +5441,7 @@ exports.deserializeAws_restJson1DescribeDashboardCommand = deserializeAws_restJs
|
|
|
5441
5441
|
const deserializeAws_restJson1DescribeDashboardCommandError = async (output, context) => {
|
|
5442
5442
|
const parsedOutput = {
|
|
5443
5443
|
...output,
|
|
5444
|
-
body: await
|
|
5444
|
+
body: await parseErrorBody(output.body, context),
|
|
5445
5445
|
};
|
|
5446
5446
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5447
5447
|
switch (errorCode) {
|
|
@@ -5505,7 +5505,7 @@ exports.deserializeAws_restJson1DescribeDashboardPermissionsCommand = deserializ
|
|
|
5505
5505
|
const deserializeAws_restJson1DescribeDashboardPermissionsCommandError = async (output, context) => {
|
|
5506
5506
|
const parsedOutput = {
|
|
5507
5507
|
...output,
|
|
5508
|
-
body: await
|
|
5508
|
+
body: await parseErrorBody(output.body, context),
|
|
5509
5509
|
};
|
|
5510
5510
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5511
5511
|
switch (errorCode) {
|
|
@@ -5557,7 +5557,7 @@ exports.deserializeAws_restJson1DescribeDataSetCommand = deserializeAws_restJson
|
|
|
5557
5557
|
const deserializeAws_restJson1DescribeDataSetCommandError = async (output, context) => {
|
|
5558
5558
|
const parsedOutput = {
|
|
5559
5559
|
...output,
|
|
5560
|
-
body: await
|
|
5560
|
+
body: await parseErrorBody(output.body, context),
|
|
5561
5561
|
};
|
|
5562
5562
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5563
5563
|
switch (errorCode) {
|
|
@@ -5615,7 +5615,7 @@ exports.deserializeAws_restJson1DescribeDataSetPermissionsCommand = deserializeA
|
|
|
5615
5615
|
const deserializeAws_restJson1DescribeDataSetPermissionsCommandError = async (output, context) => {
|
|
5616
5616
|
const parsedOutput = {
|
|
5617
5617
|
...output,
|
|
5618
|
-
body: await
|
|
5618
|
+
body: await parseErrorBody(output.body, context),
|
|
5619
5619
|
};
|
|
5620
5620
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5621
5621
|
switch (errorCode) {
|
|
@@ -5667,7 +5667,7 @@ exports.deserializeAws_restJson1DescribeDataSourceCommand = deserializeAws_restJ
|
|
|
5667
5667
|
const deserializeAws_restJson1DescribeDataSourceCommandError = async (output, context) => {
|
|
5668
5668
|
const parsedOutput = {
|
|
5669
5669
|
...output,
|
|
5670
|
-
body: await
|
|
5670
|
+
body: await parseErrorBody(output.body, context),
|
|
5671
5671
|
};
|
|
5672
5672
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5673
5673
|
switch (errorCode) {
|
|
@@ -5725,7 +5725,7 @@ exports.deserializeAws_restJson1DescribeDataSourcePermissionsCommand = deseriali
|
|
|
5725
5725
|
const deserializeAws_restJson1DescribeDataSourcePermissionsCommandError = async (output, context) => {
|
|
5726
5726
|
const parsedOutput = {
|
|
5727
5727
|
...output,
|
|
5728
|
-
body: await
|
|
5728
|
+
body: await parseErrorBody(output.body, context),
|
|
5729
5729
|
};
|
|
5730
5730
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5731
5731
|
switch (errorCode) {
|
|
@@ -5777,7 +5777,7 @@ exports.deserializeAws_restJson1DescribeFolderCommand = deserializeAws_restJson1
|
|
|
5777
5777
|
const deserializeAws_restJson1DescribeFolderCommandError = async (output, context) => {
|
|
5778
5778
|
const parsedOutput = {
|
|
5779
5779
|
...output,
|
|
5780
|
-
body: await
|
|
5780
|
+
body: await parseErrorBody(output.body, context),
|
|
5781
5781
|
};
|
|
5782
5782
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5783
5783
|
switch (errorCode) {
|
|
@@ -5838,7 +5838,7 @@ exports.deserializeAws_restJson1DescribeFolderPermissionsCommand = deserializeAw
|
|
|
5838
5838
|
const deserializeAws_restJson1DescribeFolderPermissionsCommandError = async (output, context) => {
|
|
5839
5839
|
const parsedOutput = {
|
|
5840
5840
|
...output,
|
|
5841
|
-
body: await
|
|
5841
|
+
body: await parseErrorBody(output.body, context),
|
|
5842
5842
|
};
|
|
5843
5843
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5844
5844
|
switch (errorCode) {
|
|
@@ -5899,7 +5899,7 @@ exports.deserializeAws_restJson1DescribeFolderResolvedPermissionsCommand = deser
|
|
|
5899
5899
|
const deserializeAws_restJson1DescribeFolderResolvedPermissionsCommandError = async (output, context) => {
|
|
5900
5900
|
const parsedOutput = {
|
|
5901
5901
|
...output,
|
|
5902
|
-
body: await
|
|
5902
|
+
body: await parseErrorBody(output.body, context),
|
|
5903
5903
|
};
|
|
5904
5904
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5905
5905
|
switch (errorCode) {
|
|
@@ -5954,7 +5954,7 @@ exports.deserializeAws_restJson1DescribeGroupCommand = deserializeAws_restJson1D
|
|
|
5954
5954
|
const deserializeAws_restJson1DescribeGroupCommandError = async (output, context) => {
|
|
5955
5955
|
const parsedOutput = {
|
|
5956
5956
|
...output,
|
|
5957
|
-
body: await
|
|
5957
|
+
body: await parseErrorBody(output.body, context),
|
|
5958
5958
|
};
|
|
5959
5959
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5960
5960
|
switch (errorCode) {
|
|
@@ -6012,7 +6012,7 @@ exports.deserializeAws_restJson1DescribeGroupMembershipCommand = deserializeAws_
|
|
|
6012
6012
|
const deserializeAws_restJson1DescribeGroupMembershipCommandError = async (output, context) => {
|
|
6013
6013
|
const parsedOutput = {
|
|
6014
6014
|
...output,
|
|
6015
|
-
body: await
|
|
6015
|
+
body: await parseErrorBody(output.body, context),
|
|
6016
6016
|
};
|
|
6017
6017
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6018
6018
|
switch (errorCode) {
|
|
@@ -6070,7 +6070,7 @@ exports.deserializeAws_restJson1DescribeIAMPolicyAssignmentCommand = deserialize
|
|
|
6070
6070
|
const deserializeAws_restJson1DescribeIAMPolicyAssignmentCommandError = async (output, context) => {
|
|
6071
6071
|
const parsedOutput = {
|
|
6072
6072
|
...output,
|
|
6073
|
-
body: await
|
|
6073
|
+
body: await parseErrorBody(output.body, context),
|
|
6074
6074
|
};
|
|
6075
6075
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6076
6076
|
switch (errorCode) {
|
|
@@ -6125,7 +6125,7 @@ exports.deserializeAws_restJson1DescribeIngestionCommand = deserializeAws_restJs
|
|
|
6125
6125
|
const deserializeAws_restJson1DescribeIngestionCommandError = async (output, context) => {
|
|
6126
6126
|
const parsedOutput = {
|
|
6127
6127
|
...output,
|
|
6128
|
-
body: await
|
|
6128
|
+
body: await parseErrorBody(output.body, context),
|
|
6129
6129
|
};
|
|
6130
6130
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6131
6131
|
switch (errorCode) {
|
|
@@ -6186,7 +6186,7 @@ exports.deserializeAws_restJson1DescribeIpRestrictionCommand = deserializeAws_re
|
|
|
6186
6186
|
const deserializeAws_restJson1DescribeIpRestrictionCommandError = async (output, context) => {
|
|
6187
6187
|
const parsedOutput = {
|
|
6188
6188
|
...output,
|
|
6189
|
-
body: await
|
|
6189
|
+
body: await parseErrorBody(output.body, context),
|
|
6190
6190
|
};
|
|
6191
6191
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6192
6192
|
switch (errorCode) {
|
|
@@ -6238,7 +6238,7 @@ exports.deserializeAws_restJson1DescribeNamespaceCommand = deserializeAws_restJs
|
|
|
6238
6238
|
const deserializeAws_restJson1DescribeNamespaceCommandError = async (output, context) => {
|
|
6239
6239
|
const parsedOutput = {
|
|
6240
6240
|
...output,
|
|
6241
|
-
body: await
|
|
6241
|
+
body: await parseErrorBody(output.body, context),
|
|
6242
6242
|
};
|
|
6243
6243
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6244
6244
|
switch (errorCode) {
|
|
@@ -6293,7 +6293,7 @@ exports.deserializeAws_restJson1DescribeTemplateCommand = deserializeAws_restJso
|
|
|
6293
6293
|
const deserializeAws_restJson1DescribeTemplateCommandError = async (output, context) => {
|
|
6294
6294
|
const parsedOutput = {
|
|
6295
6295
|
...output,
|
|
6296
|
-
body: await
|
|
6296
|
+
body: await parseErrorBody(output.body, context),
|
|
6297
6297
|
};
|
|
6298
6298
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6299
6299
|
switch (errorCode) {
|
|
@@ -6354,7 +6354,7 @@ exports.deserializeAws_restJson1DescribeTemplateAliasCommand = deserializeAws_re
|
|
|
6354
6354
|
const deserializeAws_restJson1DescribeTemplateAliasCommandError = async (output, context) => {
|
|
6355
6355
|
const parsedOutput = {
|
|
6356
6356
|
...output,
|
|
6357
|
-
body: await
|
|
6357
|
+
body: await parseErrorBody(output.body, context),
|
|
6358
6358
|
};
|
|
6359
6359
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6360
6360
|
switch (errorCode) {
|
|
@@ -6409,7 +6409,7 @@ exports.deserializeAws_restJson1DescribeTemplatePermissionsCommand = deserialize
|
|
|
6409
6409
|
const deserializeAws_restJson1DescribeTemplatePermissionsCommandError = async (output, context) => {
|
|
6410
6410
|
const parsedOutput = {
|
|
6411
6411
|
...output,
|
|
6412
|
-
body: await
|
|
6412
|
+
body: await parseErrorBody(output.body, context),
|
|
6413
6413
|
};
|
|
6414
6414
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6415
6415
|
switch (errorCode) {
|
|
@@ -6464,7 +6464,7 @@ exports.deserializeAws_restJson1DescribeThemeCommand = deserializeAws_restJson1D
|
|
|
6464
6464
|
const deserializeAws_restJson1DescribeThemeCommandError = async (output, context) => {
|
|
6465
6465
|
const parsedOutput = {
|
|
6466
6466
|
...output,
|
|
6467
|
-
body: await
|
|
6467
|
+
body: await parseErrorBody(output.body, context),
|
|
6468
6468
|
};
|
|
6469
6469
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6470
6470
|
switch (errorCode) {
|
|
@@ -6522,7 +6522,7 @@ exports.deserializeAws_restJson1DescribeThemeAliasCommand = deserializeAws_restJ
|
|
|
6522
6522
|
const deserializeAws_restJson1DescribeThemeAliasCommandError = async (output, context) => {
|
|
6523
6523
|
const parsedOutput = {
|
|
6524
6524
|
...output,
|
|
6525
|
-
body: await
|
|
6525
|
+
body: await parseErrorBody(output.body, context),
|
|
6526
6526
|
};
|
|
6527
6527
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6528
6528
|
switch (errorCode) {
|
|
@@ -6583,7 +6583,7 @@ exports.deserializeAws_restJson1DescribeThemePermissionsCommand = deserializeAws
|
|
|
6583
6583
|
const deserializeAws_restJson1DescribeThemePermissionsCommandError = async (output, context) => {
|
|
6584
6584
|
const parsedOutput = {
|
|
6585
6585
|
...output,
|
|
6586
|
-
body: await
|
|
6586
|
+
body: await parseErrorBody(output.body, context),
|
|
6587
6587
|
};
|
|
6588
6588
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6589
6589
|
switch (errorCode) {
|
|
@@ -6638,7 +6638,7 @@ exports.deserializeAws_restJson1DescribeUserCommand = deserializeAws_restJson1De
|
|
|
6638
6638
|
const deserializeAws_restJson1DescribeUserCommandError = async (output, context) => {
|
|
6639
6639
|
const parsedOutput = {
|
|
6640
6640
|
...output,
|
|
6641
|
-
body: await
|
|
6641
|
+
body: await parseErrorBody(output.body, context),
|
|
6642
6642
|
};
|
|
6643
6643
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6644
6644
|
switch (errorCode) {
|
|
@@ -6696,7 +6696,7 @@ exports.deserializeAws_restJson1GenerateEmbedUrlForAnonymousUserCommand = deseri
|
|
|
6696
6696
|
const deserializeAws_restJson1GenerateEmbedUrlForAnonymousUserCommandError = async (output, context) => {
|
|
6697
6697
|
const parsedOutput = {
|
|
6698
6698
|
...output,
|
|
6699
|
-
body: await
|
|
6699
|
+
body: await parseErrorBody(output.body, context),
|
|
6700
6700
|
};
|
|
6701
6701
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6702
6702
|
switch (errorCode) {
|
|
@@ -6757,7 +6757,7 @@ exports.deserializeAws_restJson1GenerateEmbedUrlForRegisteredUserCommand = deser
|
|
|
6757
6757
|
const deserializeAws_restJson1GenerateEmbedUrlForRegisteredUserCommandError = async (output, context) => {
|
|
6758
6758
|
const parsedOutput = {
|
|
6759
6759
|
...output,
|
|
6760
|
-
body: await
|
|
6760
|
+
body: await parseErrorBody(output.body, context),
|
|
6761
6761
|
};
|
|
6762
6762
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6763
6763
|
switch (errorCode) {
|
|
@@ -6821,7 +6821,7 @@ exports.deserializeAws_restJson1GetDashboardEmbedUrlCommand = deserializeAws_res
|
|
|
6821
6821
|
const deserializeAws_restJson1GetDashboardEmbedUrlCommandError = async (output, context) => {
|
|
6822
6822
|
const parsedOutput = {
|
|
6823
6823
|
...output,
|
|
6824
|
-
body: await
|
|
6824
|
+
body: await parseErrorBody(output.body, context),
|
|
6825
6825
|
};
|
|
6826
6826
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6827
6827
|
switch (errorCode) {
|
|
@@ -6894,7 +6894,7 @@ exports.deserializeAws_restJson1GetSessionEmbedUrlCommand = deserializeAws_restJ
|
|
|
6894
6894
|
const deserializeAws_restJson1GetSessionEmbedUrlCommandError = async (output, context) => {
|
|
6895
6895
|
const parsedOutput = {
|
|
6896
6896
|
...output,
|
|
6897
|
-
body: await
|
|
6897
|
+
body: await parseErrorBody(output.body, context),
|
|
6898
6898
|
};
|
|
6899
6899
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6900
6900
|
switch (errorCode) {
|
|
@@ -6961,7 +6961,7 @@ exports.deserializeAws_restJson1ListAnalysesCommand = deserializeAws_restJson1Li
|
|
|
6961
6961
|
const deserializeAws_restJson1ListAnalysesCommandError = async (output, context) => {
|
|
6962
6962
|
const parsedOutput = {
|
|
6963
6963
|
...output,
|
|
6964
|
-
body: await
|
|
6964
|
+
body: await parseErrorBody(output.body, context),
|
|
6965
6965
|
};
|
|
6966
6966
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6967
6967
|
switch (errorCode) {
|
|
@@ -7013,7 +7013,7 @@ exports.deserializeAws_restJson1ListDashboardsCommand = deserializeAws_restJson1
|
|
|
7013
7013
|
const deserializeAws_restJson1ListDashboardsCommandError = async (output, context) => {
|
|
7014
7014
|
const parsedOutput = {
|
|
7015
7015
|
...output,
|
|
7016
|
-
body: await
|
|
7016
|
+
body: await parseErrorBody(output.body, context),
|
|
7017
7017
|
};
|
|
7018
7018
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7019
7019
|
switch (errorCode) {
|
|
@@ -7065,7 +7065,7 @@ exports.deserializeAws_restJson1ListDashboardVersionsCommand = deserializeAws_re
|
|
|
7065
7065
|
const deserializeAws_restJson1ListDashboardVersionsCommandError = async (output, context) => {
|
|
7066
7066
|
const parsedOutput = {
|
|
7067
7067
|
...output,
|
|
7068
|
-
body: await
|
|
7068
|
+
body: await parseErrorBody(output.body, context),
|
|
7069
7069
|
};
|
|
7070
7070
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7071
7071
|
switch (errorCode) {
|
|
@@ -7123,7 +7123,7 @@ exports.deserializeAws_restJson1ListDataSetsCommand = deserializeAws_restJson1Li
|
|
|
7123
7123
|
const deserializeAws_restJson1ListDataSetsCommandError = async (output, context) => {
|
|
7124
7124
|
const parsedOutput = {
|
|
7125
7125
|
...output,
|
|
7126
|
-
body: await
|
|
7126
|
+
body: await parseErrorBody(output.body, context),
|
|
7127
7127
|
};
|
|
7128
7128
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7129
7129
|
switch (errorCode) {
|
|
@@ -7178,7 +7178,7 @@ exports.deserializeAws_restJson1ListDataSourcesCommand = deserializeAws_restJson
|
|
|
7178
7178
|
const deserializeAws_restJson1ListDataSourcesCommandError = async (output, context) => {
|
|
7179
7179
|
const parsedOutput = {
|
|
7180
7180
|
...output,
|
|
7181
|
-
body: await
|
|
7181
|
+
body: await parseErrorBody(output.body, context),
|
|
7182
7182
|
};
|
|
7183
7183
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7184
7184
|
switch (errorCode) {
|
|
@@ -7233,7 +7233,7 @@ exports.deserializeAws_restJson1ListFolderMembersCommand = deserializeAws_restJs
|
|
|
7233
7233
|
const deserializeAws_restJson1ListFolderMembersCommandError = async (output, context) => {
|
|
7234
7234
|
const parsedOutput = {
|
|
7235
7235
|
...output,
|
|
7236
|
-
body: await
|
|
7236
|
+
body: await parseErrorBody(output.body, context),
|
|
7237
7237
|
};
|
|
7238
7238
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7239
7239
|
switch (errorCode) {
|
|
@@ -7294,7 +7294,7 @@ exports.deserializeAws_restJson1ListFoldersCommand = deserializeAws_restJson1Lis
|
|
|
7294
7294
|
const deserializeAws_restJson1ListFoldersCommandError = async (output, context) => {
|
|
7295
7295
|
const parsedOutput = {
|
|
7296
7296
|
...output,
|
|
7297
|
-
body: await
|
|
7297
|
+
body: await parseErrorBody(output.body, context),
|
|
7298
7298
|
};
|
|
7299
7299
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7300
7300
|
switch (errorCode) {
|
|
@@ -7355,7 +7355,7 @@ exports.deserializeAws_restJson1ListGroupMembershipsCommand = deserializeAws_res
|
|
|
7355
7355
|
const deserializeAws_restJson1ListGroupMembershipsCommandError = async (output, context) => {
|
|
7356
7356
|
const parsedOutput = {
|
|
7357
7357
|
...output,
|
|
7358
|
-
body: await
|
|
7358
|
+
body: await parseErrorBody(output.body, context),
|
|
7359
7359
|
};
|
|
7360
7360
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7361
7361
|
switch (errorCode) {
|
|
@@ -7419,7 +7419,7 @@ exports.deserializeAws_restJson1ListGroupsCommand = deserializeAws_restJson1List
|
|
|
7419
7419
|
const deserializeAws_restJson1ListGroupsCommandError = async (output, context) => {
|
|
7420
7420
|
const parsedOutput = {
|
|
7421
7421
|
...output,
|
|
7422
|
-
body: await
|
|
7422
|
+
body: await parseErrorBody(output.body, context),
|
|
7423
7423
|
};
|
|
7424
7424
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7425
7425
|
switch (errorCode) {
|
|
@@ -7483,7 +7483,7 @@ exports.deserializeAws_restJson1ListIAMPolicyAssignmentsCommand = deserializeAws
|
|
|
7483
7483
|
const deserializeAws_restJson1ListIAMPolicyAssignmentsCommandError = async (output, context) => {
|
|
7484
7484
|
const parsedOutput = {
|
|
7485
7485
|
...output,
|
|
7486
|
-
body: await
|
|
7486
|
+
body: await parseErrorBody(output.body, context),
|
|
7487
7487
|
};
|
|
7488
7488
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7489
7489
|
switch (errorCode) {
|
|
@@ -7541,7 +7541,7 @@ exports.deserializeAws_restJson1ListIAMPolicyAssignmentsForUserCommand = deseria
|
|
|
7541
7541
|
const deserializeAws_restJson1ListIAMPolicyAssignmentsForUserCommandError = async (output, context) => {
|
|
7542
7542
|
const parsedOutput = {
|
|
7543
7543
|
...output,
|
|
7544
|
-
body: await
|
|
7544
|
+
body: await parseErrorBody(output.body, context),
|
|
7545
7545
|
};
|
|
7546
7546
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7547
7547
|
switch (errorCode) {
|
|
@@ -7602,7 +7602,7 @@ exports.deserializeAws_restJson1ListIngestionsCommand = deserializeAws_restJson1
|
|
|
7602
7602
|
const deserializeAws_restJson1ListIngestionsCommandError = async (output, context) => {
|
|
7603
7603
|
const parsedOutput = {
|
|
7604
7604
|
...output,
|
|
7605
|
-
body: await
|
|
7605
|
+
body: await parseErrorBody(output.body, context),
|
|
7606
7606
|
};
|
|
7607
7607
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7608
7608
|
switch (errorCode) {
|
|
@@ -7663,7 +7663,7 @@ exports.deserializeAws_restJson1ListNamespacesCommand = deserializeAws_restJson1
|
|
|
7663
7663
|
const deserializeAws_restJson1ListNamespacesCommandError = async (output, context) => {
|
|
7664
7664
|
const parsedOutput = {
|
|
7665
7665
|
...output,
|
|
7666
|
-
body: await
|
|
7666
|
+
body: await parseErrorBody(output.body, context),
|
|
7667
7667
|
};
|
|
7668
7668
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7669
7669
|
switch (errorCode) {
|
|
@@ -7724,7 +7724,7 @@ exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_rest
|
|
|
7724
7724
|
const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
|
|
7725
7725
|
const parsedOutput = {
|
|
7726
7726
|
...output,
|
|
7727
|
-
body: await
|
|
7727
|
+
body: await parseErrorBody(output.body, context),
|
|
7728
7728
|
};
|
|
7729
7729
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7730
7730
|
switch (errorCode) {
|
|
@@ -7779,7 +7779,7 @@ exports.deserializeAws_restJson1ListTemplateAliasesCommand = deserializeAws_rest
|
|
|
7779
7779
|
const deserializeAws_restJson1ListTemplateAliasesCommandError = async (output, context) => {
|
|
7780
7780
|
const parsedOutput = {
|
|
7781
7781
|
...output,
|
|
7782
|
-
body: await
|
|
7782
|
+
body: await parseErrorBody(output.body, context),
|
|
7783
7783
|
};
|
|
7784
7784
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7785
7785
|
switch (errorCode) {
|
|
@@ -7834,7 +7834,7 @@ exports.deserializeAws_restJson1ListTemplatesCommand = deserializeAws_restJson1L
|
|
|
7834
7834
|
const deserializeAws_restJson1ListTemplatesCommandError = async (output, context) => {
|
|
7835
7835
|
const parsedOutput = {
|
|
7836
7836
|
...output,
|
|
7837
|
-
body: await
|
|
7837
|
+
body: await parseErrorBody(output.body, context),
|
|
7838
7838
|
};
|
|
7839
7839
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7840
7840
|
switch (errorCode) {
|
|
@@ -7892,7 +7892,7 @@ exports.deserializeAws_restJson1ListTemplateVersionsCommand = deserializeAws_res
|
|
|
7892
7892
|
const deserializeAws_restJson1ListTemplateVersionsCommandError = async (output, context) => {
|
|
7893
7893
|
const parsedOutput = {
|
|
7894
7894
|
...output,
|
|
7895
|
-
body: await
|
|
7895
|
+
body: await parseErrorBody(output.body, context),
|
|
7896
7896
|
};
|
|
7897
7897
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7898
7898
|
switch (errorCode) {
|
|
@@ -7950,7 +7950,7 @@ exports.deserializeAws_restJson1ListThemeAliasesCommand = deserializeAws_restJso
|
|
|
7950
7950
|
const deserializeAws_restJson1ListThemeAliasesCommandError = async (output, context) => {
|
|
7951
7951
|
const parsedOutput = {
|
|
7952
7952
|
...output,
|
|
7953
|
-
body: await
|
|
7953
|
+
body: await parseErrorBody(output.body, context),
|
|
7954
7954
|
};
|
|
7955
7955
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7956
7956
|
switch (errorCode) {
|
|
@@ -8011,7 +8011,7 @@ exports.deserializeAws_restJson1ListThemesCommand = deserializeAws_restJson1List
|
|
|
8011
8011
|
const deserializeAws_restJson1ListThemesCommandError = async (output, context) => {
|
|
8012
8012
|
const parsedOutput = {
|
|
8013
8013
|
...output,
|
|
8014
|
-
body: await
|
|
8014
|
+
body: await parseErrorBody(output.body, context),
|
|
8015
8015
|
};
|
|
8016
8016
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8017
8017
|
switch (errorCode) {
|
|
@@ -8072,7 +8072,7 @@ exports.deserializeAws_restJson1ListThemeVersionsCommand = deserializeAws_restJs
|
|
|
8072
8072
|
const deserializeAws_restJson1ListThemeVersionsCommandError = async (output, context) => {
|
|
8073
8073
|
const parsedOutput = {
|
|
8074
8074
|
...output,
|
|
8075
|
-
body: await
|
|
8075
|
+
body: await parseErrorBody(output.body, context),
|
|
8076
8076
|
};
|
|
8077
8077
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8078
8078
|
switch (errorCode) {
|
|
@@ -8133,7 +8133,7 @@ exports.deserializeAws_restJson1ListUserGroupsCommand = deserializeAws_restJson1
|
|
|
8133
8133
|
const deserializeAws_restJson1ListUserGroupsCommandError = async (output, context) => {
|
|
8134
8134
|
const parsedOutput = {
|
|
8135
8135
|
...output,
|
|
8136
|
-
body: await
|
|
8136
|
+
body: await parseErrorBody(output.body, context),
|
|
8137
8137
|
};
|
|
8138
8138
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8139
8139
|
switch (errorCode) {
|
|
@@ -8194,7 +8194,7 @@ exports.deserializeAws_restJson1ListUsersCommand = deserializeAws_restJson1ListU
|
|
|
8194
8194
|
const deserializeAws_restJson1ListUsersCommandError = async (output, context) => {
|
|
8195
8195
|
const parsedOutput = {
|
|
8196
8196
|
...output,
|
|
8197
|
-
body: await
|
|
8197
|
+
body: await parseErrorBody(output.body, context),
|
|
8198
8198
|
};
|
|
8199
8199
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8200
8200
|
switch (errorCode) {
|
|
@@ -8258,7 +8258,7 @@ exports.deserializeAws_restJson1RegisterUserCommand = deserializeAws_restJson1Re
|
|
|
8258
8258
|
const deserializeAws_restJson1RegisterUserCommandError = async (output, context) => {
|
|
8259
8259
|
const parsedOutput = {
|
|
8260
8260
|
...output,
|
|
8261
|
-
body: await
|
|
8261
|
+
body: await parseErrorBody(output.body, context),
|
|
8262
8262
|
};
|
|
8263
8263
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8264
8264
|
switch (errorCode) {
|
|
@@ -8325,7 +8325,7 @@ exports.deserializeAws_restJson1RestoreAnalysisCommand = deserializeAws_restJson
|
|
|
8325
8325
|
const deserializeAws_restJson1RestoreAnalysisCommandError = async (output, context) => {
|
|
8326
8326
|
const parsedOutput = {
|
|
8327
8327
|
...output,
|
|
8328
|
-
body: await
|
|
8328
|
+
body: await parseErrorBody(output.body, context),
|
|
8329
8329
|
};
|
|
8330
8330
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8331
8331
|
switch (errorCode) {
|
|
@@ -8383,7 +8383,7 @@ exports.deserializeAws_restJson1SearchAnalysesCommand = deserializeAws_restJson1
|
|
|
8383
8383
|
const deserializeAws_restJson1SearchAnalysesCommandError = async (output, context) => {
|
|
8384
8384
|
const parsedOutput = {
|
|
8385
8385
|
...output,
|
|
8386
|
-
body: await
|
|
8386
|
+
body: await parseErrorBody(output.body, context),
|
|
8387
8387
|
};
|
|
8388
8388
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8389
8389
|
switch (errorCode) {
|
|
@@ -8441,7 +8441,7 @@ exports.deserializeAws_restJson1SearchDashboardsCommand = deserializeAws_restJso
|
|
|
8441
8441
|
const deserializeAws_restJson1SearchDashboardsCommandError = async (output, context) => {
|
|
8442
8442
|
const parsedOutput = {
|
|
8443
8443
|
...output,
|
|
8444
|
-
body: await
|
|
8444
|
+
body: await parseErrorBody(output.body, context),
|
|
8445
8445
|
};
|
|
8446
8446
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8447
8447
|
switch (errorCode) {
|
|
@@ -8499,7 +8499,7 @@ exports.deserializeAws_restJson1SearchFoldersCommand = deserializeAws_restJson1S
|
|
|
8499
8499
|
const deserializeAws_restJson1SearchFoldersCommandError = async (output, context) => {
|
|
8500
8500
|
const parsedOutput = {
|
|
8501
8501
|
...output,
|
|
8502
|
-
body: await
|
|
8502
|
+
body: await parseErrorBody(output.body, context),
|
|
8503
8503
|
};
|
|
8504
8504
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8505
8505
|
switch (errorCode) {
|
|
@@ -8560,7 +8560,7 @@ exports.deserializeAws_restJson1SearchGroupsCommand = deserializeAws_restJson1Se
|
|
|
8560
8560
|
const deserializeAws_restJson1SearchGroupsCommandError = async (output, context) => {
|
|
8561
8561
|
const parsedOutput = {
|
|
8562
8562
|
...output,
|
|
8563
|
-
body: await
|
|
8563
|
+
body: await parseErrorBody(output.body, context),
|
|
8564
8564
|
};
|
|
8565
8565
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8566
8566
|
switch (errorCode) {
|
|
@@ -8618,7 +8618,7 @@ exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1Tag
|
|
|
8618
8618
|
const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
|
|
8619
8619
|
const parsedOutput = {
|
|
8620
8620
|
...output,
|
|
8621
|
-
body: await
|
|
8621
|
+
body: await parseErrorBody(output.body, context),
|
|
8622
8622
|
};
|
|
8623
8623
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8624
8624
|
switch (errorCode) {
|
|
@@ -8670,7 +8670,7 @@ exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1U
|
|
|
8670
8670
|
const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
|
|
8671
8671
|
const parsedOutput = {
|
|
8672
8672
|
...output,
|
|
8673
|
-
body: await
|
|
8673
|
+
body: await parseErrorBody(output.body, context),
|
|
8674
8674
|
};
|
|
8675
8675
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8676
8676
|
switch (errorCode) {
|
|
@@ -8731,7 +8731,7 @@ exports.deserializeAws_restJson1UpdateAccountCustomizationCommand = deserializeA
|
|
|
8731
8731
|
const deserializeAws_restJson1UpdateAccountCustomizationCommandError = async (output, context) => {
|
|
8732
8732
|
const parsedOutput = {
|
|
8733
8733
|
...output,
|
|
8734
|
-
body: await
|
|
8734
|
+
body: await parseErrorBody(output.body, context),
|
|
8735
8735
|
};
|
|
8736
8736
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8737
8737
|
switch (errorCode) {
|
|
@@ -8786,7 +8786,7 @@ exports.deserializeAws_restJson1UpdateAccountSettingsCommand = deserializeAws_re
|
|
|
8786
8786
|
const deserializeAws_restJson1UpdateAccountSettingsCommandError = async (output, context) => {
|
|
8787
8787
|
const parsedOutput = {
|
|
8788
8788
|
...output,
|
|
8789
|
-
body: await
|
|
8789
|
+
body: await parseErrorBody(output.body, context),
|
|
8790
8790
|
};
|
|
8791
8791
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8792
8792
|
switch (errorCode) {
|
|
@@ -8847,7 +8847,7 @@ exports.deserializeAws_restJson1UpdateAnalysisCommand = deserializeAws_restJson1
|
|
|
8847
8847
|
const deserializeAws_restJson1UpdateAnalysisCommandError = async (output, context) => {
|
|
8848
8848
|
const parsedOutput = {
|
|
8849
8849
|
...output,
|
|
8850
|
-
body: await
|
|
8850
|
+
body: await parseErrorBody(output.body, context),
|
|
8851
8851
|
};
|
|
8852
8852
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8853
8853
|
switch (errorCode) {
|
|
@@ -8911,7 +8911,7 @@ exports.deserializeAws_restJson1UpdateAnalysisPermissionsCommand = deserializeAw
|
|
|
8911
8911
|
const deserializeAws_restJson1UpdateAnalysisPermissionsCommandError = async (output, context) => {
|
|
8912
8912
|
const parsedOutput = {
|
|
8913
8913
|
...output,
|
|
8914
|
-
body: await
|
|
8914
|
+
body: await parseErrorBody(output.body, context),
|
|
8915
8915
|
};
|
|
8916
8916
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8917
8917
|
switch (errorCode) {
|
|
@@ -8975,7 +8975,7 @@ exports.deserializeAws_restJson1UpdateDashboardCommand = deserializeAws_restJson
|
|
|
8975
8975
|
const deserializeAws_restJson1UpdateDashboardCommandError = async (output, context) => {
|
|
8976
8976
|
const parsedOutput = {
|
|
8977
8977
|
...output,
|
|
8978
|
-
body: await
|
|
8978
|
+
body: await parseErrorBody(output.body, context),
|
|
8979
8979
|
};
|
|
8980
8980
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8981
8981
|
switch (errorCode) {
|
|
@@ -9042,7 +9042,7 @@ exports.deserializeAws_restJson1UpdateDashboardPermissionsCommand = deserializeA
|
|
|
9042
9042
|
const deserializeAws_restJson1UpdateDashboardPermissionsCommandError = async (output, context) => {
|
|
9043
9043
|
const parsedOutput = {
|
|
9044
9044
|
...output,
|
|
9045
|
-
body: await
|
|
9045
|
+
body: await parseErrorBody(output.body, context),
|
|
9046
9046
|
};
|
|
9047
9047
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9048
9048
|
switch (errorCode) {
|
|
@@ -9100,7 +9100,7 @@ exports.deserializeAws_restJson1UpdateDashboardPublishedVersionCommand = deseria
|
|
|
9100
9100
|
const deserializeAws_restJson1UpdateDashboardPublishedVersionCommandError = async (output, context) => {
|
|
9101
9101
|
const parsedOutput = {
|
|
9102
9102
|
...output,
|
|
9103
|
-
body: await
|
|
9103
|
+
body: await parseErrorBody(output.body, context),
|
|
9104
9104
|
};
|
|
9105
9105
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9106
9106
|
switch (errorCode) {
|
|
@@ -9164,7 +9164,7 @@ exports.deserializeAws_restJson1UpdateDataSetCommand = deserializeAws_restJson1U
|
|
|
9164
9164
|
const deserializeAws_restJson1UpdateDataSetCommandError = async (output, context) => {
|
|
9165
9165
|
const parsedOutput = {
|
|
9166
9166
|
...output,
|
|
9167
|
-
body: await
|
|
9167
|
+
body: await parseErrorBody(output.body, context),
|
|
9168
9168
|
};
|
|
9169
9169
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9170
9170
|
switch (errorCode) {
|
|
@@ -9228,7 +9228,7 @@ exports.deserializeAws_restJson1UpdateDataSetPermissionsCommand = deserializeAws
|
|
|
9228
9228
|
const deserializeAws_restJson1UpdateDataSetPermissionsCommandError = async (output, context) => {
|
|
9229
9229
|
const parsedOutput = {
|
|
9230
9230
|
...output,
|
|
9231
|
-
body: await
|
|
9231
|
+
body: await parseErrorBody(output.body, context),
|
|
9232
9232
|
};
|
|
9233
9233
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9234
9234
|
switch (errorCode) {
|
|
@@ -9289,7 +9289,7 @@ exports.deserializeAws_restJson1UpdateDataSourceCommand = deserializeAws_restJso
|
|
|
9289
9289
|
const deserializeAws_restJson1UpdateDataSourceCommandError = async (output, context) => {
|
|
9290
9290
|
const parsedOutput = {
|
|
9291
9291
|
...output,
|
|
9292
|
-
body: await
|
|
9292
|
+
body: await parseErrorBody(output.body, context),
|
|
9293
9293
|
};
|
|
9294
9294
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9295
9295
|
switch (errorCode) {
|
|
@@ -9347,7 +9347,7 @@ exports.deserializeAws_restJson1UpdateDataSourcePermissionsCommand = deserialize
|
|
|
9347
9347
|
const deserializeAws_restJson1UpdateDataSourcePermissionsCommandError = async (output, context) => {
|
|
9348
9348
|
const parsedOutput = {
|
|
9349
9349
|
...output,
|
|
9350
|
-
body: await
|
|
9350
|
+
body: await parseErrorBody(output.body, context),
|
|
9351
9351
|
};
|
|
9352
9352
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9353
9353
|
switch (errorCode) {
|
|
@@ -9405,7 +9405,7 @@ exports.deserializeAws_restJson1UpdateFolderCommand = deserializeAws_restJson1Up
|
|
|
9405
9405
|
const deserializeAws_restJson1UpdateFolderCommandError = async (output, context) => {
|
|
9406
9406
|
const parsedOutput = {
|
|
9407
9407
|
...output,
|
|
9408
|
-
body: await
|
|
9408
|
+
body: await parseErrorBody(output.body, context),
|
|
9409
9409
|
};
|
|
9410
9410
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9411
9411
|
switch (errorCode) {
|
|
@@ -9472,7 +9472,7 @@ exports.deserializeAws_restJson1UpdateFolderPermissionsCommand = deserializeAws_
|
|
|
9472
9472
|
const deserializeAws_restJson1UpdateFolderPermissionsCommandError = async (output, context) => {
|
|
9473
9473
|
const parsedOutput = {
|
|
9474
9474
|
...output,
|
|
9475
|
-
body: await
|
|
9475
|
+
body: await parseErrorBody(output.body, context),
|
|
9476
9476
|
};
|
|
9477
9477
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9478
9478
|
switch (errorCode) {
|
|
@@ -9530,7 +9530,7 @@ exports.deserializeAws_restJson1UpdateGroupCommand = deserializeAws_restJson1Upd
|
|
|
9530
9530
|
const deserializeAws_restJson1UpdateGroupCommandError = async (output, context) => {
|
|
9531
9531
|
const parsedOutput = {
|
|
9532
9532
|
...output,
|
|
9533
|
-
body: await
|
|
9533
|
+
body: await parseErrorBody(output.body, context),
|
|
9534
9534
|
};
|
|
9535
9535
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9536
9536
|
switch (errorCode) {
|
|
@@ -9600,7 +9600,7 @@ exports.deserializeAws_restJson1UpdateIAMPolicyAssignmentCommand = deserializeAw
|
|
|
9600
9600
|
const deserializeAws_restJson1UpdateIAMPolicyAssignmentCommandError = async (output, context) => {
|
|
9601
9601
|
const parsedOutput = {
|
|
9602
9602
|
...output,
|
|
9603
|
-
body: await
|
|
9603
|
+
body: await parseErrorBody(output.body, context),
|
|
9604
9604
|
};
|
|
9605
9605
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9606
9606
|
switch (errorCode) {
|
|
@@ -9658,7 +9658,7 @@ exports.deserializeAws_restJson1UpdateIpRestrictionCommand = deserializeAws_rest
|
|
|
9658
9658
|
const deserializeAws_restJson1UpdateIpRestrictionCommandError = async (output, context) => {
|
|
9659
9659
|
const parsedOutput = {
|
|
9660
9660
|
...output,
|
|
9661
|
-
body: await
|
|
9661
|
+
body: await parseErrorBody(output.body, context),
|
|
9662
9662
|
};
|
|
9663
9663
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9664
9664
|
switch (errorCode) {
|
|
@@ -9710,7 +9710,7 @@ exports.deserializeAws_restJson1UpdatePublicSharingSettingsCommand = deserialize
|
|
|
9710
9710
|
const deserializeAws_restJson1UpdatePublicSharingSettingsCommandError = async (output, context) => {
|
|
9711
9711
|
const parsedOutput = {
|
|
9712
9712
|
...output,
|
|
9713
|
-
body: await
|
|
9713
|
+
body: await parseErrorBody(output.body, context),
|
|
9714
9714
|
};
|
|
9715
9715
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9716
9716
|
switch (errorCode) {
|
|
@@ -9774,7 +9774,7 @@ exports.deserializeAws_restJson1UpdateTemplateCommand = deserializeAws_restJson1
|
|
|
9774
9774
|
const deserializeAws_restJson1UpdateTemplateCommandError = async (output, context) => {
|
|
9775
9775
|
const parsedOutput = {
|
|
9776
9776
|
...output,
|
|
9777
|
-
body: await
|
|
9777
|
+
body: await parseErrorBody(output.body, context),
|
|
9778
9778
|
};
|
|
9779
9779
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9780
9780
|
switch (errorCode) {
|
|
@@ -9835,7 +9835,7 @@ exports.deserializeAws_restJson1UpdateTemplateAliasCommand = deserializeAws_rest
|
|
|
9835
9835
|
const deserializeAws_restJson1UpdateTemplateAliasCommandError = async (output, context) => {
|
|
9836
9836
|
const parsedOutput = {
|
|
9837
9837
|
...output,
|
|
9838
|
-
body: await
|
|
9838
|
+
body: await parseErrorBody(output.body, context),
|
|
9839
9839
|
};
|
|
9840
9840
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9841
9841
|
switch (errorCode) {
|
|
@@ -9893,7 +9893,7 @@ exports.deserializeAws_restJson1UpdateTemplatePermissionsCommand = deserializeAw
|
|
|
9893
9893
|
const deserializeAws_restJson1UpdateTemplatePermissionsCommandError = async (output, context) => {
|
|
9894
9894
|
const parsedOutput = {
|
|
9895
9895
|
...output,
|
|
9896
|
-
body: await
|
|
9896
|
+
body: await parseErrorBody(output.body, context),
|
|
9897
9897
|
};
|
|
9898
9898
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9899
9899
|
switch (errorCode) {
|
|
@@ -9957,7 +9957,7 @@ exports.deserializeAws_restJson1UpdateThemeCommand = deserializeAws_restJson1Upd
|
|
|
9957
9957
|
const deserializeAws_restJson1UpdateThemeCommandError = async (output, context) => {
|
|
9958
9958
|
const parsedOutput = {
|
|
9959
9959
|
...output,
|
|
9960
|
-
body: await
|
|
9960
|
+
body: await parseErrorBody(output.body, context),
|
|
9961
9961
|
};
|
|
9962
9962
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9963
9963
|
switch (errorCode) {
|
|
@@ -10018,7 +10018,7 @@ exports.deserializeAws_restJson1UpdateThemeAliasCommand = deserializeAws_restJso
|
|
|
10018
10018
|
const deserializeAws_restJson1UpdateThemeAliasCommandError = async (output, context) => {
|
|
10019
10019
|
const parsedOutput = {
|
|
10020
10020
|
...output,
|
|
10021
|
-
body: await
|
|
10021
|
+
body: await parseErrorBody(output.body, context),
|
|
10022
10022
|
};
|
|
10023
10023
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10024
10024
|
switch (errorCode) {
|
|
@@ -10082,7 +10082,7 @@ exports.deserializeAws_restJson1UpdateThemePermissionsCommand = deserializeAws_r
|
|
|
10082
10082
|
const deserializeAws_restJson1UpdateThemePermissionsCommandError = async (output, context) => {
|
|
10083
10083
|
const parsedOutput = {
|
|
10084
10084
|
...output,
|
|
10085
|
-
body: await
|
|
10085
|
+
body: await parseErrorBody(output.body, context),
|
|
10086
10086
|
};
|
|
10087
10087
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10088
10088
|
switch (errorCode) {
|
|
@@ -10137,7 +10137,7 @@ exports.deserializeAws_restJson1UpdateUserCommand = deserializeAws_restJson1Upda
|
|
|
10137
10137
|
const deserializeAws_restJson1UpdateUserCommandError = async (output, context) => {
|
|
10138
10138
|
const parsedOutput = {
|
|
10139
10139
|
...output,
|
|
10140
|
-
body: await
|
|
10140
|
+
body: await parseErrorBody(output.body, context),
|
|
10141
10141
|
};
|
|
10142
10142
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10143
10143
|
switch (errorCode) {
|
|
@@ -13348,6 +13348,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
13348
13348
|
}
|
|
13349
13349
|
return {};
|
|
13350
13350
|
});
|
|
13351
|
+
const parseErrorBody = async (errorBody, context) => {
|
|
13352
|
+
var _a;
|
|
13353
|
+
const value = await parseBody(errorBody, context);
|
|
13354
|
+
value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
|
|
13355
|
+
return value;
|
|
13356
|
+
};
|
|
13351
13357
|
const loadRestJsonErrorCode = (output, data) => {
|
|
13352
13358
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
13353
13359
|
const sanitizeErrorCode = (rawValue) => {
|