@aws-sdk/client-connect 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 +160 -154
- package/dist-es/protocols/Aws_restJson1.js +167 -154
- package/package.json +3 -3
|
@@ -3685,7 +3685,7 @@ exports.deserializeAws_restJson1AssociateApprovedOriginCommand = deserializeAws_
|
|
|
3685
3685
|
const deserializeAws_restJson1AssociateApprovedOriginCommandError = async (output, context) => {
|
|
3686
3686
|
const parsedOutput = {
|
|
3687
3687
|
...output,
|
|
3688
|
-
body: await
|
|
3688
|
+
body: await parseErrorBody(output.body, context),
|
|
3689
3689
|
};
|
|
3690
3690
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3691
3691
|
switch (errorCode) {
|
|
@@ -3734,7 +3734,7 @@ exports.deserializeAws_restJson1AssociateBotCommand = deserializeAws_restJson1As
|
|
|
3734
3734
|
const deserializeAws_restJson1AssociateBotCommandError = async (output, context) => {
|
|
3735
3735
|
const parsedOutput = {
|
|
3736
3736
|
...output,
|
|
3737
|
-
body: await
|
|
3737
|
+
body: await parseErrorBody(output.body, context),
|
|
3738
3738
|
};
|
|
3739
3739
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3740
3740
|
switch (errorCode) {
|
|
@@ -3783,7 +3783,7 @@ exports.deserializeAws_restJson1AssociateDefaultVocabularyCommand = deserializeA
|
|
|
3783
3783
|
const deserializeAws_restJson1AssociateDefaultVocabularyCommandError = async (output, context) => {
|
|
3784
3784
|
const parsedOutput = {
|
|
3785
3785
|
...output,
|
|
3786
|
-
body: await
|
|
3786
|
+
body: await parseErrorBody(output.body, context),
|
|
3787
3787
|
};
|
|
3788
3788
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3789
3789
|
switch (errorCode) {
|
|
@@ -3829,7 +3829,7 @@ exports.deserializeAws_restJson1AssociateInstanceStorageConfigCommand = deserial
|
|
|
3829
3829
|
const deserializeAws_restJson1AssociateInstanceStorageConfigCommandError = async (output, context) => {
|
|
3830
3830
|
const parsedOutput = {
|
|
3831
3831
|
...output,
|
|
3832
|
-
body: await
|
|
3832
|
+
body: await parseErrorBody(output.body, context),
|
|
3833
3833
|
};
|
|
3834
3834
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3835
3835
|
switch (errorCode) {
|
|
@@ -3875,7 +3875,7 @@ exports.deserializeAws_restJson1AssociateLambdaFunctionCommand = deserializeAws_
|
|
|
3875
3875
|
const deserializeAws_restJson1AssociateLambdaFunctionCommandError = async (output, context) => {
|
|
3876
3876
|
const parsedOutput = {
|
|
3877
3877
|
...output,
|
|
3878
|
-
body: await
|
|
3878
|
+
body: await parseErrorBody(output.body, context),
|
|
3879
3879
|
};
|
|
3880
3880
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3881
3881
|
switch (errorCode) {
|
|
@@ -3924,7 +3924,7 @@ exports.deserializeAws_restJson1AssociateLexBotCommand = deserializeAws_restJson
|
|
|
3924
3924
|
const deserializeAws_restJson1AssociateLexBotCommandError = async (output, context) => {
|
|
3925
3925
|
const parsedOutput = {
|
|
3926
3926
|
...output,
|
|
3927
|
-
body: await
|
|
3927
|
+
body: await parseErrorBody(output.body, context),
|
|
3928
3928
|
};
|
|
3929
3929
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3930
3930
|
switch (errorCode) {
|
|
@@ -3973,7 +3973,7 @@ exports.deserializeAws_restJson1AssociatePhoneNumberContactFlowCommand = deseria
|
|
|
3973
3973
|
const deserializeAws_restJson1AssociatePhoneNumberContactFlowCommandError = async (output, context) => {
|
|
3974
3974
|
const parsedOutput = {
|
|
3975
3975
|
...output,
|
|
3976
|
-
body: await
|
|
3976
|
+
body: await parseErrorBody(output.body, context),
|
|
3977
3977
|
};
|
|
3978
3978
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3979
3979
|
switch (errorCode) {
|
|
@@ -4016,7 +4016,7 @@ exports.deserializeAws_restJson1AssociateQueueQuickConnectsCommand = deserialize
|
|
|
4016
4016
|
const deserializeAws_restJson1AssociateQueueQuickConnectsCommandError = async (output, context) => {
|
|
4017
4017
|
const parsedOutput = {
|
|
4018
4018
|
...output,
|
|
4019
|
-
body: await
|
|
4019
|
+
body: await parseErrorBody(output.body, context),
|
|
4020
4020
|
};
|
|
4021
4021
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4022
4022
|
switch (errorCode) {
|
|
@@ -4062,7 +4062,7 @@ exports.deserializeAws_restJson1AssociateRoutingProfileQueuesCommand = deseriali
|
|
|
4062
4062
|
const deserializeAws_restJson1AssociateRoutingProfileQueuesCommandError = async (output, context) => {
|
|
4063
4063
|
const parsedOutput = {
|
|
4064
4064
|
...output,
|
|
4065
|
-
body: await
|
|
4065
|
+
body: await parseErrorBody(output.body, context),
|
|
4066
4066
|
};
|
|
4067
4067
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4068
4068
|
switch (errorCode) {
|
|
@@ -4108,7 +4108,7 @@ exports.deserializeAws_restJson1AssociateSecurityKeyCommand = deserializeAws_res
|
|
|
4108
4108
|
const deserializeAws_restJson1AssociateSecurityKeyCommandError = async (output, context) => {
|
|
4109
4109
|
const parsedOutput = {
|
|
4110
4110
|
...output,
|
|
4111
|
-
body: await
|
|
4111
|
+
body: await parseErrorBody(output.body, context),
|
|
4112
4112
|
};
|
|
4113
4113
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4114
4114
|
switch (errorCode) {
|
|
@@ -4163,7 +4163,7 @@ exports.deserializeAws_restJson1ClaimPhoneNumberCommand = deserializeAws_restJso
|
|
|
4163
4163
|
const deserializeAws_restJson1ClaimPhoneNumberCommandError = async (output, context) => {
|
|
4164
4164
|
const parsedOutput = {
|
|
4165
4165
|
...output,
|
|
4166
|
-
body: await
|
|
4166
|
+
body: await parseErrorBody(output.body, context),
|
|
4167
4167
|
};
|
|
4168
4168
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4169
4169
|
switch (errorCode) {
|
|
@@ -4215,7 +4215,7 @@ exports.deserializeAws_restJson1CreateAgentStatusCommand = deserializeAws_restJs
|
|
|
4215
4215
|
const deserializeAws_restJson1CreateAgentStatusCommandError = async (output, context) => {
|
|
4216
4216
|
const parsedOutput = {
|
|
4217
4217
|
...output,
|
|
4218
|
-
body: await
|
|
4218
|
+
body: await parseErrorBody(output.body, context),
|
|
4219
4219
|
};
|
|
4220
4220
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4221
4221
|
switch (errorCode) {
|
|
@@ -4270,7 +4270,7 @@ exports.deserializeAws_restJson1CreateContactFlowCommand = deserializeAws_restJs
|
|
|
4270
4270
|
const deserializeAws_restJson1CreateContactFlowCommandError = async (output, context) => {
|
|
4271
4271
|
const parsedOutput = {
|
|
4272
4272
|
...output,
|
|
4273
|
-
body: await
|
|
4273
|
+
body: await parseErrorBody(output.body, context),
|
|
4274
4274
|
};
|
|
4275
4275
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4276
4276
|
switch (errorCode) {
|
|
@@ -4328,7 +4328,7 @@ exports.deserializeAws_restJson1CreateContactFlowModuleCommand = deserializeAws_
|
|
|
4328
4328
|
const deserializeAws_restJson1CreateContactFlowModuleCommandError = async (output, context) => {
|
|
4329
4329
|
const parsedOutput = {
|
|
4330
4330
|
...output,
|
|
4331
|
-
body: await
|
|
4331
|
+
body: await parseErrorBody(output.body, context),
|
|
4332
4332
|
};
|
|
4333
4333
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4334
4334
|
switch (errorCode) {
|
|
@@ -4392,7 +4392,7 @@ exports.deserializeAws_restJson1CreateHoursOfOperationCommand = deserializeAws_r
|
|
|
4392
4392
|
const deserializeAws_restJson1CreateHoursOfOperationCommandError = async (output, context) => {
|
|
4393
4393
|
const parsedOutput = {
|
|
4394
4394
|
...output,
|
|
4395
|
-
body: await
|
|
4395
|
+
body: await parseErrorBody(output.body, context),
|
|
4396
4396
|
};
|
|
4397
4397
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4398
4398
|
switch (errorCode) {
|
|
@@ -4447,7 +4447,7 @@ exports.deserializeAws_restJson1CreateInstanceCommand = deserializeAws_restJson1
|
|
|
4447
4447
|
const deserializeAws_restJson1CreateInstanceCommandError = async (output, context) => {
|
|
4448
4448
|
const parsedOutput = {
|
|
4449
4449
|
...output,
|
|
4450
|
-
body: await
|
|
4450
|
+
body: await parseErrorBody(output.body, context),
|
|
4451
4451
|
};
|
|
4452
4452
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4453
4453
|
switch (errorCode) {
|
|
@@ -4496,7 +4496,7 @@ exports.deserializeAws_restJson1CreateIntegrationAssociationCommand = deserializ
|
|
|
4496
4496
|
const deserializeAws_restJson1CreateIntegrationAssociationCommandError = async (output, context) => {
|
|
4497
4497
|
const parsedOutput = {
|
|
4498
4498
|
...output,
|
|
4499
|
-
body: await
|
|
4499
|
+
body: await parseErrorBody(output.body, context),
|
|
4500
4500
|
};
|
|
4501
4501
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4502
4502
|
switch (errorCode) {
|
|
@@ -4545,7 +4545,7 @@ exports.deserializeAws_restJson1CreateQueueCommand = deserializeAws_restJson1Cre
|
|
|
4545
4545
|
const deserializeAws_restJson1CreateQueueCommandError = async (output, context) => {
|
|
4546
4546
|
const parsedOutput = {
|
|
4547
4547
|
...output,
|
|
4548
|
-
body: await
|
|
4548
|
+
body: await parseErrorBody(output.body, context),
|
|
4549
4549
|
};
|
|
4550
4550
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4551
4551
|
switch (errorCode) {
|
|
@@ -4600,7 +4600,7 @@ exports.deserializeAws_restJson1CreateQuickConnectCommand = deserializeAws_restJ
|
|
|
4600
4600
|
const deserializeAws_restJson1CreateQuickConnectCommandError = async (output, context) => {
|
|
4601
4601
|
const parsedOutput = {
|
|
4602
4602
|
...output,
|
|
4603
|
-
body: await
|
|
4603
|
+
body: await parseErrorBody(output.body, context),
|
|
4604
4604
|
};
|
|
4605
4605
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4606
4606
|
switch (errorCode) {
|
|
@@ -4655,7 +4655,7 @@ exports.deserializeAws_restJson1CreateRoutingProfileCommand = deserializeAws_res
|
|
|
4655
4655
|
const deserializeAws_restJson1CreateRoutingProfileCommandError = async (output, context) => {
|
|
4656
4656
|
const parsedOutput = {
|
|
4657
4657
|
...output,
|
|
4658
|
-
body: await
|
|
4658
|
+
body: await parseErrorBody(output.body, context),
|
|
4659
4659
|
};
|
|
4660
4660
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4661
4661
|
switch (errorCode) {
|
|
@@ -4710,7 +4710,7 @@ exports.deserializeAws_restJson1CreateSecurityProfileCommand = deserializeAws_re
|
|
|
4710
4710
|
const deserializeAws_restJson1CreateSecurityProfileCommandError = async (output, context) => {
|
|
4711
4711
|
const parsedOutput = {
|
|
4712
4712
|
...output,
|
|
4713
|
-
body: await
|
|
4713
|
+
body: await parseErrorBody(output.body, context),
|
|
4714
4714
|
};
|
|
4715
4715
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4716
4716
|
switch (errorCode) {
|
|
@@ -4765,7 +4765,7 @@ exports.deserializeAws_restJson1CreateTaskTemplateCommand = deserializeAws_restJ
|
|
|
4765
4765
|
const deserializeAws_restJson1CreateTaskTemplateCommandError = async (output, context) => {
|
|
4766
4766
|
const parsedOutput = {
|
|
4767
4767
|
...output,
|
|
4768
|
-
body: await
|
|
4768
|
+
body: await parseErrorBody(output.body, context),
|
|
4769
4769
|
};
|
|
4770
4770
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4771
4771
|
switch (errorCode) {
|
|
@@ -4817,7 +4817,7 @@ exports.deserializeAws_restJson1CreateUseCaseCommand = deserializeAws_restJson1C
|
|
|
4817
4817
|
const deserializeAws_restJson1CreateUseCaseCommandError = async (output, context) => {
|
|
4818
4818
|
const parsedOutput = {
|
|
4819
4819
|
...output,
|
|
4820
|
-
body: await
|
|
4820
|
+
body: await parseErrorBody(output.body, context),
|
|
4821
4821
|
};
|
|
4822
4822
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4823
4823
|
switch (errorCode) {
|
|
@@ -4866,7 +4866,7 @@ exports.deserializeAws_restJson1CreateUserCommand = deserializeAws_restJson1Crea
|
|
|
4866
4866
|
const deserializeAws_restJson1CreateUserCommandError = async (output, context) => {
|
|
4867
4867
|
const parsedOutput = {
|
|
4868
4868
|
...output,
|
|
4869
|
-
body: await
|
|
4869
|
+
body: await parseErrorBody(output.body, context),
|
|
4870
4870
|
};
|
|
4871
4871
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4872
4872
|
switch (errorCode) {
|
|
@@ -4921,7 +4921,7 @@ exports.deserializeAws_restJson1CreateUserHierarchyGroupCommand = deserializeAws
|
|
|
4921
4921
|
const deserializeAws_restJson1CreateUserHierarchyGroupCommandError = async (output, context) => {
|
|
4922
4922
|
const parsedOutput = {
|
|
4923
4923
|
...output,
|
|
4924
|
-
body: await
|
|
4924
|
+
body: await parseErrorBody(output.body, context),
|
|
4925
4925
|
};
|
|
4926
4926
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4927
4927
|
switch (errorCode) {
|
|
@@ -4979,7 +4979,7 @@ exports.deserializeAws_restJson1CreateVocabularyCommand = deserializeAws_restJso
|
|
|
4979
4979
|
const deserializeAws_restJson1CreateVocabularyCommandError = async (output, context) => {
|
|
4980
4980
|
const parsedOutput = {
|
|
4981
4981
|
...output,
|
|
4982
|
-
body: await
|
|
4982
|
+
body: await parseErrorBody(output.body, context),
|
|
4983
4983
|
};
|
|
4984
4984
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4985
4985
|
switch (errorCode) {
|
|
@@ -5028,7 +5028,7 @@ exports.deserializeAws_restJson1DeleteContactFlowCommand = deserializeAws_restJs
|
|
|
5028
5028
|
const deserializeAws_restJson1DeleteContactFlowCommandError = async (output, context) => {
|
|
5029
5029
|
const parsedOutput = {
|
|
5030
5030
|
...output,
|
|
5031
|
-
body: await
|
|
5031
|
+
body: await parseErrorBody(output.body, context),
|
|
5032
5032
|
};
|
|
5033
5033
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5034
5034
|
switch (errorCode) {
|
|
@@ -5074,7 +5074,7 @@ exports.deserializeAws_restJson1DeleteContactFlowModuleCommand = deserializeAws_
|
|
|
5074
5074
|
const deserializeAws_restJson1DeleteContactFlowModuleCommandError = async (output, context) => {
|
|
5075
5075
|
const parsedOutput = {
|
|
5076
5076
|
...output,
|
|
5077
|
-
body: await
|
|
5077
|
+
body: await parseErrorBody(output.body, context),
|
|
5078
5078
|
};
|
|
5079
5079
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5080
5080
|
switch (errorCode) {
|
|
@@ -5120,7 +5120,7 @@ exports.deserializeAws_restJson1DeleteHoursOfOperationCommand = deserializeAws_r
|
|
|
5120
5120
|
const deserializeAws_restJson1DeleteHoursOfOperationCommandError = async (output, context) => {
|
|
5121
5121
|
const parsedOutput = {
|
|
5122
5122
|
...output,
|
|
5123
|
-
body: await
|
|
5123
|
+
body: await parseErrorBody(output.body, context),
|
|
5124
5124
|
};
|
|
5125
5125
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5126
5126
|
switch (errorCode) {
|
|
@@ -5163,7 +5163,7 @@ exports.deserializeAws_restJson1DeleteInstanceCommand = deserializeAws_restJson1
|
|
|
5163
5163
|
const deserializeAws_restJson1DeleteInstanceCommandError = 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) {
|
|
@@ -5200,7 +5200,7 @@ exports.deserializeAws_restJson1DeleteIntegrationAssociationCommand = deserializ
|
|
|
5200
5200
|
const deserializeAws_restJson1DeleteIntegrationAssociationCommandError = 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) {
|
|
@@ -5240,7 +5240,7 @@ exports.deserializeAws_restJson1DeleteQuickConnectCommand = deserializeAws_restJ
|
|
|
5240
5240
|
const deserializeAws_restJson1DeleteQuickConnectCommandError = async (output, context) => {
|
|
5241
5241
|
const parsedOutput = {
|
|
5242
5242
|
...output,
|
|
5243
|
-
body: await
|
|
5243
|
+
body: await parseErrorBody(output.body, context),
|
|
5244
5244
|
};
|
|
5245
5245
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5246
5246
|
switch (errorCode) {
|
|
@@ -5283,7 +5283,7 @@ exports.deserializeAws_restJson1DeleteSecurityProfileCommand = deserializeAws_re
|
|
|
5283
5283
|
const deserializeAws_restJson1DeleteSecurityProfileCommandError = async (output, context) => {
|
|
5284
5284
|
const parsedOutput = {
|
|
5285
5285
|
...output,
|
|
5286
|
-
body: await
|
|
5286
|
+
body: await parseErrorBody(output.body, context),
|
|
5287
5287
|
};
|
|
5288
5288
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5289
5289
|
switch (errorCode) {
|
|
@@ -5332,7 +5332,7 @@ exports.deserializeAws_restJson1DeleteTaskTemplateCommand = deserializeAws_restJ
|
|
|
5332
5332
|
const deserializeAws_restJson1DeleteTaskTemplateCommandError = async (output, context) => {
|
|
5333
5333
|
const parsedOutput = {
|
|
5334
5334
|
...output,
|
|
5335
|
-
body: await
|
|
5335
|
+
body: await parseErrorBody(output.body, context),
|
|
5336
5336
|
};
|
|
5337
5337
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5338
5338
|
switch (errorCode) {
|
|
@@ -5375,7 +5375,7 @@ exports.deserializeAws_restJson1DeleteUseCaseCommand = deserializeAws_restJson1D
|
|
|
5375
5375
|
const deserializeAws_restJson1DeleteUseCaseCommandError = async (output, context) => {
|
|
5376
5376
|
const parsedOutput = {
|
|
5377
5377
|
...output,
|
|
5378
|
-
body: await
|
|
5378
|
+
body: await parseErrorBody(output.body, context),
|
|
5379
5379
|
};
|
|
5380
5380
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5381
5381
|
switch (errorCode) {
|
|
@@ -5415,7 +5415,7 @@ exports.deserializeAws_restJson1DeleteUserCommand = deserializeAws_restJson1Dele
|
|
|
5415
5415
|
const deserializeAws_restJson1DeleteUserCommandError = async (output, context) => {
|
|
5416
5416
|
const parsedOutput = {
|
|
5417
5417
|
...output,
|
|
5418
|
-
body: await
|
|
5418
|
+
body: await parseErrorBody(output.body, context),
|
|
5419
5419
|
};
|
|
5420
5420
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5421
5421
|
switch (errorCode) {
|
|
@@ -5458,7 +5458,7 @@ exports.deserializeAws_restJson1DeleteUserHierarchyGroupCommand = deserializeAws
|
|
|
5458
5458
|
const deserializeAws_restJson1DeleteUserHierarchyGroupCommandError = async (output, context) => {
|
|
5459
5459
|
const parsedOutput = {
|
|
5460
5460
|
...output,
|
|
5461
|
-
body: await
|
|
5461
|
+
body: await parseErrorBody(output.body, context),
|
|
5462
5462
|
};
|
|
5463
5463
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5464
5464
|
switch (errorCode) {
|
|
@@ -5513,7 +5513,7 @@ exports.deserializeAws_restJson1DeleteVocabularyCommand = deserializeAws_restJso
|
|
|
5513
5513
|
const deserializeAws_restJson1DeleteVocabularyCommandError = async (output, context) => {
|
|
5514
5514
|
const parsedOutput = {
|
|
5515
5515
|
...output,
|
|
5516
|
-
body: await
|
|
5516
|
+
body: await parseErrorBody(output.body, context),
|
|
5517
5517
|
};
|
|
5518
5518
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5519
5519
|
switch (errorCode) {
|
|
@@ -5562,7 +5562,7 @@ exports.deserializeAws_restJson1DescribeAgentStatusCommand = deserializeAws_rest
|
|
|
5562
5562
|
const deserializeAws_restJson1DescribeAgentStatusCommandError = async (output, context) => {
|
|
5563
5563
|
const parsedOutput = {
|
|
5564
5564
|
...output,
|
|
5565
|
-
body: await
|
|
5565
|
+
body: await parseErrorBody(output.body, context),
|
|
5566
5566
|
};
|
|
5567
5567
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5568
5568
|
switch (errorCode) {
|
|
@@ -5608,7 +5608,7 @@ exports.deserializeAws_restJson1DescribeContactCommand = deserializeAws_restJson
|
|
|
5608
5608
|
const deserializeAws_restJson1DescribeContactCommandError = async (output, context) => {
|
|
5609
5609
|
const parsedOutput = {
|
|
5610
5610
|
...output,
|
|
5611
|
-
body: await
|
|
5611
|
+
body: await parseErrorBody(output.body, context),
|
|
5612
5612
|
};
|
|
5613
5613
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5614
5614
|
switch (errorCode) {
|
|
@@ -5654,7 +5654,7 @@ exports.deserializeAws_restJson1DescribeContactFlowCommand = deserializeAws_rest
|
|
|
5654
5654
|
const deserializeAws_restJson1DescribeContactFlowCommandError = async (output, context) => {
|
|
5655
5655
|
const parsedOutput = {
|
|
5656
5656
|
...output,
|
|
5657
|
-
body: await
|
|
5657
|
+
body: await parseErrorBody(output.body, context),
|
|
5658
5658
|
};
|
|
5659
5659
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5660
5660
|
switch (errorCode) {
|
|
@@ -5703,7 +5703,7 @@ exports.deserializeAws_restJson1DescribeContactFlowModuleCommand = deserializeAw
|
|
|
5703
5703
|
const deserializeAws_restJson1DescribeContactFlowModuleCommandError = async (output, context) => {
|
|
5704
5704
|
const parsedOutput = {
|
|
5705
5705
|
...output,
|
|
5706
|
-
body: await
|
|
5706
|
+
body: await parseErrorBody(output.body, context),
|
|
5707
5707
|
};
|
|
5708
5708
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5709
5709
|
switch (errorCode) {
|
|
@@ -5752,7 +5752,7 @@ exports.deserializeAws_restJson1DescribeHoursOfOperationCommand = deserializeAws
|
|
|
5752
5752
|
const deserializeAws_restJson1DescribeHoursOfOperationCommandError = async (output, context) => {
|
|
5753
5753
|
const parsedOutput = {
|
|
5754
5754
|
...output,
|
|
5755
|
-
body: await
|
|
5755
|
+
body: await parseErrorBody(output.body, context),
|
|
5756
5756
|
};
|
|
5757
5757
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5758
5758
|
switch (errorCode) {
|
|
@@ -5798,7 +5798,7 @@ exports.deserializeAws_restJson1DescribeInstanceCommand = deserializeAws_restJso
|
|
|
5798
5798
|
const deserializeAws_restJson1DescribeInstanceCommandError = async (output, context) => {
|
|
5799
5799
|
const parsedOutput = {
|
|
5800
5800
|
...output,
|
|
5801
|
-
body: await
|
|
5801
|
+
body: await parseErrorBody(output.body, context),
|
|
5802
5802
|
};
|
|
5803
5803
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5804
5804
|
switch (errorCode) {
|
|
@@ -5838,7 +5838,7 @@ exports.deserializeAws_restJson1DescribeInstanceAttributeCommand = deserializeAw
|
|
|
5838
5838
|
const deserializeAws_restJson1DescribeInstanceAttributeCommandError = 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) {
|
|
@@ -5884,7 +5884,7 @@ exports.deserializeAws_restJson1DescribeInstanceStorageConfigCommand = deseriali
|
|
|
5884
5884
|
const deserializeAws_restJson1DescribeInstanceStorageConfigCommandError = async (output, context) => {
|
|
5885
5885
|
const parsedOutput = {
|
|
5886
5886
|
...output,
|
|
5887
|
-
body: await
|
|
5887
|
+
body: await parseErrorBody(output.body, context),
|
|
5888
5888
|
};
|
|
5889
5889
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5890
5890
|
switch (errorCode) {
|
|
@@ -5930,7 +5930,7 @@ exports.deserializeAws_restJson1DescribePhoneNumberCommand = deserializeAws_rest
|
|
|
5930
5930
|
const deserializeAws_restJson1DescribePhoneNumberCommandError = async (output, context) => {
|
|
5931
5931
|
const parsedOutput = {
|
|
5932
5932
|
...output,
|
|
5933
|
-
body: await
|
|
5933
|
+
body: await parseErrorBody(output.body, context),
|
|
5934
5934
|
};
|
|
5935
5935
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5936
5936
|
switch (errorCode) {
|
|
@@ -5976,7 +5976,7 @@ exports.deserializeAws_restJson1DescribeQueueCommand = deserializeAws_restJson1D
|
|
|
5976
5976
|
const deserializeAws_restJson1DescribeQueueCommandError = async (output, context) => {
|
|
5977
5977
|
const parsedOutput = {
|
|
5978
5978
|
...output,
|
|
5979
|
-
body: await
|
|
5979
|
+
body: await parseErrorBody(output.body, context),
|
|
5980
5980
|
};
|
|
5981
5981
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5982
5982
|
switch (errorCode) {
|
|
@@ -6022,7 +6022,7 @@ exports.deserializeAws_restJson1DescribeQuickConnectCommand = deserializeAws_res
|
|
|
6022
6022
|
const deserializeAws_restJson1DescribeQuickConnectCommandError = async (output, context) => {
|
|
6023
6023
|
const parsedOutput = {
|
|
6024
6024
|
...output,
|
|
6025
|
-
body: await
|
|
6025
|
+
body: await parseErrorBody(output.body, context),
|
|
6026
6026
|
};
|
|
6027
6027
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6028
6028
|
switch (errorCode) {
|
|
@@ -6068,7 +6068,7 @@ exports.deserializeAws_restJson1DescribeRoutingProfileCommand = deserializeAws_r
|
|
|
6068
6068
|
const deserializeAws_restJson1DescribeRoutingProfileCommandError = async (output, context) => {
|
|
6069
6069
|
const parsedOutput = {
|
|
6070
6070
|
...output,
|
|
6071
|
-
body: await
|
|
6071
|
+
body: await parseErrorBody(output.body, context),
|
|
6072
6072
|
};
|
|
6073
6073
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6074
6074
|
switch (errorCode) {
|
|
@@ -6114,7 +6114,7 @@ exports.deserializeAws_restJson1DescribeSecurityProfileCommand = deserializeAws_
|
|
|
6114
6114
|
const deserializeAws_restJson1DescribeSecurityProfileCommandError = async (output, context) => {
|
|
6115
6115
|
const parsedOutput = {
|
|
6116
6116
|
...output,
|
|
6117
|
-
body: await
|
|
6117
|
+
body: await parseErrorBody(output.body, context),
|
|
6118
6118
|
};
|
|
6119
6119
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6120
6120
|
switch (errorCode) {
|
|
@@ -6160,7 +6160,7 @@ exports.deserializeAws_restJson1DescribeUserCommand = deserializeAws_restJson1De
|
|
|
6160
6160
|
const deserializeAws_restJson1DescribeUserCommandError = async (output, context) => {
|
|
6161
6161
|
const parsedOutput = {
|
|
6162
6162
|
...output,
|
|
6163
|
-
body: await
|
|
6163
|
+
body: await parseErrorBody(output.body, context),
|
|
6164
6164
|
};
|
|
6165
6165
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6166
6166
|
switch (errorCode) {
|
|
@@ -6206,7 +6206,7 @@ exports.deserializeAws_restJson1DescribeUserHierarchyGroupCommand = deserializeA
|
|
|
6206
6206
|
const deserializeAws_restJson1DescribeUserHierarchyGroupCommandError = async (output, context) => {
|
|
6207
6207
|
const parsedOutput = {
|
|
6208
6208
|
...output,
|
|
6209
|
-
body: await
|
|
6209
|
+
body: await parseErrorBody(output.body, context),
|
|
6210
6210
|
};
|
|
6211
6211
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6212
6212
|
switch (errorCode) {
|
|
@@ -6252,7 +6252,7 @@ exports.deserializeAws_restJson1DescribeUserHierarchyStructureCommand = deserial
|
|
|
6252
6252
|
const deserializeAws_restJson1DescribeUserHierarchyStructureCommandError = async (output, context) => {
|
|
6253
6253
|
const parsedOutput = {
|
|
6254
6254
|
...output,
|
|
6255
|
-
body: await
|
|
6255
|
+
body: await parseErrorBody(output.body, context),
|
|
6256
6256
|
};
|
|
6257
6257
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6258
6258
|
switch (errorCode) {
|
|
@@ -6298,7 +6298,7 @@ exports.deserializeAws_restJson1DescribeVocabularyCommand = deserializeAws_restJ
|
|
|
6298
6298
|
const deserializeAws_restJson1DescribeVocabularyCommandError = async (output, context) => {
|
|
6299
6299
|
const parsedOutput = {
|
|
6300
6300
|
...output,
|
|
6301
|
-
body: await
|
|
6301
|
+
body: await parseErrorBody(output.body, context),
|
|
6302
6302
|
};
|
|
6303
6303
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6304
6304
|
switch (errorCode) {
|
|
@@ -6341,7 +6341,7 @@ exports.deserializeAws_restJson1DisassociateApprovedOriginCommand = deserializeA
|
|
|
6341
6341
|
const deserializeAws_restJson1DisassociateApprovedOriginCommandError = async (output, context) => {
|
|
6342
6342
|
const parsedOutput = {
|
|
6343
6343
|
...output,
|
|
6344
|
-
body: await
|
|
6344
|
+
body: await parseErrorBody(output.body, context),
|
|
6345
6345
|
};
|
|
6346
6346
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6347
6347
|
switch (errorCode) {
|
|
@@ -6384,7 +6384,7 @@ exports.deserializeAws_restJson1DisassociateBotCommand = deserializeAws_restJson
|
|
|
6384
6384
|
const deserializeAws_restJson1DisassociateBotCommandError = async (output, context) => {
|
|
6385
6385
|
const parsedOutput = {
|
|
6386
6386
|
...output,
|
|
6387
|
-
body: await
|
|
6387
|
+
body: await parseErrorBody(output.body, context),
|
|
6388
6388
|
};
|
|
6389
6389
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6390
6390
|
switch (errorCode) {
|
|
@@ -6424,7 +6424,7 @@ exports.deserializeAws_restJson1DisassociateInstanceStorageConfigCommand = deser
|
|
|
6424
6424
|
const deserializeAws_restJson1DisassociateInstanceStorageConfigCommandError = async (output, context) => {
|
|
6425
6425
|
const parsedOutput = {
|
|
6426
6426
|
...output,
|
|
6427
|
-
body: await
|
|
6427
|
+
body: await parseErrorBody(output.body, context),
|
|
6428
6428
|
};
|
|
6429
6429
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6430
6430
|
switch (errorCode) {
|
|
@@ -6467,7 +6467,7 @@ exports.deserializeAws_restJson1DisassociateLambdaFunctionCommand = deserializeA
|
|
|
6467
6467
|
const deserializeAws_restJson1DisassociateLambdaFunctionCommandError = async (output, context) => {
|
|
6468
6468
|
const parsedOutput = {
|
|
6469
6469
|
...output,
|
|
6470
|
-
body: await
|
|
6470
|
+
body: await parseErrorBody(output.body, context),
|
|
6471
6471
|
};
|
|
6472
6472
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6473
6473
|
switch (errorCode) {
|
|
@@ -6510,7 +6510,7 @@ exports.deserializeAws_restJson1DisassociateLexBotCommand = deserializeAws_restJ
|
|
|
6510
6510
|
const deserializeAws_restJson1DisassociateLexBotCommandError = async (output, context) => {
|
|
6511
6511
|
const parsedOutput = {
|
|
6512
6512
|
...output,
|
|
6513
|
-
body: await
|
|
6513
|
+
body: await parseErrorBody(output.body, context),
|
|
6514
6514
|
};
|
|
6515
6515
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6516
6516
|
switch (errorCode) {
|
|
@@ -6553,7 +6553,7 @@ exports.deserializeAws_restJson1DisassociatePhoneNumberContactFlowCommand = dese
|
|
|
6553
6553
|
const deserializeAws_restJson1DisassociatePhoneNumberContactFlowCommandError = async (output, context) => {
|
|
6554
6554
|
const parsedOutput = {
|
|
6555
6555
|
...output,
|
|
6556
|
-
body: await
|
|
6556
|
+
body: await parseErrorBody(output.body, context),
|
|
6557
6557
|
};
|
|
6558
6558
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6559
6559
|
switch (errorCode) {
|
|
@@ -6596,7 +6596,7 @@ exports.deserializeAws_restJson1DisassociateQueueQuickConnectsCommand = deserial
|
|
|
6596
6596
|
const deserializeAws_restJson1DisassociateQueueQuickConnectsCommandError = async (output, context) => {
|
|
6597
6597
|
const parsedOutput = {
|
|
6598
6598
|
...output,
|
|
6599
|
-
body: await
|
|
6599
|
+
body: await parseErrorBody(output.body, context),
|
|
6600
6600
|
};
|
|
6601
6601
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6602
6602
|
switch (errorCode) {
|
|
@@ -6639,7 +6639,7 @@ exports.deserializeAws_restJson1DisassociateRoutingProfileQueuesCommand = deseri
|
|
|
6639
6639
|
const deserializeAws_restJson1DisassociateRoutingProfileQueuesCommandError = async (output, context) => {
|
|
6640
6640
|
const parsedOutput = {
|
|
6641
6641
|
...output,
|
|
6642
|
-
body: await
|
|
6642
|
+
body: await parseErrorBody(output.body, context),
|
|
6643
6643
|
};
|
|
6644
6644
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6645
6645
|
switch (errorCode) {
|
|
@@ -6682,7 +6682,7 @@ exports.deserializeAws_restJson1DisassociateSecurityKeyCommand = deserializeAws_
|
|
|
6682
6682
|
const deserializeAws_restJson1DisassociateSecurityKeyCommandError = async (output, context) => {
|
|
6683
6683
|
const parsedOutput = {
|
|
6684
6684
|
...output,
|
|
6685
|
-
body: await
|
|
6685
|
+
body: await parseErrorBody(output.body, context),
|
|
6686
6686
|
};
|
|
6687
6687
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6688
6688
|
switch (errorCode) {
|
|
@@ -6728,7 +6728,7 @@ exports.deserializeAws_restJson1GetContactAttributesCommand = deserializeAws_res
|
|
|
6728
6728
|
const deserializeAws_restJson1GetContactAttributesCommandError = async (output, context) => {
|
|
6729
6729
|
const parsedOutput = {
|
|
6730
6730
|
...output,
|
|
6731
|
-
body: await
|
|
6731
|
+
body: await parseErrorBody(output.body, context),
|
|
6732
6732
|
};
|
|
6733
6733
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6734
6734
|
switch (errorCode) {
|
|
@@ -6774,7 +6774,7 @@ exports.deserializeAws_restJson1GetCurrentMetricDataCommand = deserializeAws_res
|
|
|
6774
6774
|
const deserializeAws_restJson1GetCurrentMetricDataCommandError = async (output, context) => {
|
|
6775
6775
|
const parsedOutput = {
|
|
6776
6776
|
...output,
|
|
6777
|
-
body: await
|
|
6777
|
+
body: await parseErrorBody(output.body, context),
|
|
6778
6778
|
};
|
|
6779
6779
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6780
6780
|
switch (errorCode) {
|
|
@@ -6823,7 +6823,7 @@ exports.deserializeAws_restJson1GetCurrentUserDataCommand = deserializeAws_restJ
|
|
|
6823
6823
|
const deserializeAws_restJson1GetCurrentUserDataCommandError = async (output, context) => {
|
|
6824
6824
|
const parsedOutput = {
|
|
6825
6825
|
...output,
|
|
6826
|
-
body: await
|
|
6826
|
+
body: await parseErrorBody(output.body, context),
|
|
6827
6827
|
};
|
|
6828
6828
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6829
6829
|
switch (errorCode) {
|
|
@@ -6869,7 +6869,7 @@ exports.deserializeAws_restJson1GetFederationTokenCommand = deserializeAws_restJ
|
|
|
6869
6869
|
const deserializeAws_restJson1GetFederationTokenCommandError = async (output, context) => {
|
|
6870
6870
|
const parsedOutput = {
|
|
6871
6871
|
...output,
|
|
6872
|
-
body: await
|
|
6872
|
+
body: await parseErrorBody(output.body, context),
|
|
6873
6873
|
};
|
|
6874
6874
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6875
6875
|
switch (errorCode) {
|
|
@@ -6921,7 +6921,7 @@ exports.deserializeAws_restJson1GetMetricDataCommand = deserializeAws_restJson1G
|
|
|
6921
6921
|
const deserializeAws_restJson1GetMetricDataCommandError = async (output, context) => {
|
|
6922
6922
|
const parsedOutput = {
|
|
6923
6923
|
...output,
|
|
6924
|
-
body: await
|
|
6924
|
+
body: await parseErrorBody(output.body, context),
|
|
6925
6925
|
};
|
|
6926
6926
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6927
6927
|
switch (errorCode) {
|
|
@@ -7003,7 +7003,7 @@ exports.deserializeAws_restJson1GetTaskTemplateCommand = deserializeAws_restJson
|
|
|
7003
7003
|
const deserializeAws_restJson1GetTaskTemplateCommandError = async (output, context) => {
|
|
7004
7004
|
const parsedOutput = {
|
|
7005
7005
|
...output,
|
|
7006
|
-
body: await
|
|
7006
|
+
body: await parseErrorBody(output.body, context),
|
|
7007
7007
|
};
|
|
7008
7008
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7009
7009
|
switch (errorCode) {
|
|
@@ -7052,7 +7052,7 @@ exports.deserializeAws_restJson1ListAgentStatusesCommand = deserializeAws_restJs
|
|
|
7052
7052
|
const deserializeAws_restJson1ListAgentStatusesCommandError = async (output, context) => {
|
|
7053
7053
|
const parsedOutput = {
|
|
7054
7054
|
...output,
|
|
7055
|
-
body: await
|
|
7055
|
+
body: await parseErrorBody(output.body, context),
|
|
7056
7056
|
};
|
|
7057
7057
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7058
7058
|
switch (errorCode) {
|
|
@@ -7101,7 +7101,7 @@ exports.deserializeAws_restJson1ListApprovedOriginsCommand = deserializeAws_rest
|
|
|
7101
7101
|
const deserializeAws_restJson1ListApprovedOriginsCommandError = async (output, context) => {
|
|
7102
7102
|
const parsedOutput = {
|
|
7103
7103
|
...output,
|
|
7104
|
-
body: await
|
|
7104
|
+
body: await parseErrorBody(output.body, context),
|
|
7105
7105
|
};
|
|
7106
7106
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7107
7107
|
switch (errorCode) {
|
|
@@ -7150,7 +7150,7 @@ exports.deserializeAws_restJson1ListBotsCommand = deserializeAws_restJson1ListBo
|
|
|
7150
7150
|
const deserializeAws_restJson1ListBotsCommandError = async (output, context) => {
|
|
7151
7151
|
const parsedOutput = {
|
|
7152
7152
|
...output,
|
|
7153
|
-
body: await
|
|
7153
|
+
body: await parseErrorBody(output.body, context),
|
|
7154
7154
|
};
|
|
7155
7155
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7156
7156
|
switch (errorCode) {
|
|
@@ -7196,7 +7196,7 @@ exports.deserializeAws_restJson1ListContactFlowModulesCommand = deserializeAws_r
|
|
|
7196
7196
|
const deserializeAws_restJson1ListContactFlowModulesCommandError = async (output, context) => {
|
|
7197
7197
|
const parsedOutput = {
|
|
7198
7198
|
...output,
|
|
7199
|
-
body: await
|
|
7199
|
+
body: await parseErrorBody(output.body, context),
|
|
7200
7200
|
};
|
|
7201
7201
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7202
7202
|
switch (errorCode) {
|
|
@@ -7248,7 +7248,7 @@ exports.deserializeAws_restJson1ListContactFlowsCommand = deserializeAws_restJso
|
|
|
7248
7248
|
const deserializeAws_restJson1ListContactFlowsCommandError = async (output, context) => {
|
|
7249
7249
|
const parsedOutput = {
|
|
7250
7250
|
...output,
|
|
7251
|
-
body: await
|
|
7251
|
+
body: await parseErrorBody(output.body, context),
|
|
7252
7252
|
};
|
|
7253
7253
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7254
7254
|
switch (errorCode) {
|
|
@@ -7297,7 +7297,7 @@ exports.deserializeAws_restJson1ListContactReferencesCommand = deserializeAws_re
|
|
|
7297
7297
|
const deserializeAws_restJson1ListContactReferencesCommandError = async (output, context) => {
|
|
7298
7298
|
const parsedOutput = {
|
|
7299
7299
|
...output,
|
|
7300
|
-
body: await
|
|
7300
|
+
body: await parseErrorBody(output.body, context),
|
|
7301
7301
|
};
|
|
7302
7302
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7303
7303
|
switch (errorCode) {
|
|
@@ -7346,7 +7346,7 @@ exports.deserializeAws_restJson1ListDefaultVocabulariesCommand = deserializeAws_
|
|
|
7346
7346
|
const deserializeAws_restJson1ListDefaultVocabulariesCommandError = async (output, context) => {
|
|
7347
7347
|
const parsedOutput = {
|
|
7348
7348
|
...output,
|
|
7349
|
-
body: await
|
|
7349
|
+
body: await parseErrorBody(output.body, context),
|
|
7350
7350
|
};
|
|
7351
7351
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7352
7352
|
switch (errorCode) {
|
|
@@ -7392,7 +7392,7 @@ exports.deserializeAws_restJson1ListHoursOfOperationsCommand = deserializeAws_re
|
|
|
7392
7392
|
const deserializeAws_restJson1ListHoursOfOperationsCommandError = async (output, context) => {
|
|
7393
7393
|
const parsedOutput = {
|
|
7394
7394
|
...output,
|
|
7395
|
-
body: await
|
|
7395
|
+
body: await parseErrorBody(output.body, context),
|
|
7396
7396
|
};
|
|
7397
7397
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7398
7398
|
switch (errorCode) {
|
|
@@ -7441,7 +7441,7 @@ exports.deserializeAws_restJson1ListInstanceAttributesCommand = deserializeAws_r
|
|
|
7441
7441
|
const deserializeAws_restJson1ListInstanceAttributesCommandError = async (output, context) => {
|
|
7442
7442
|
const parsedOutput = {
|
|
7443
7443
|
...output,
|
|
7444
|
-
body: await
|
|
7444
|
+
body: await parseErrorBody(output.body, context),
|
|
7445
7445
|
};
|
|
7446
7446
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7447
7447
|
switch (errorCode) {
|
|
@@ -7490,7 +7490,7 @@ exports.deserializeAws_restJson1ListInstancesCommand = deserializeAws_restJson1L
|
|
|
7490
7490
|
const deserializeAws_restJson1ListInstancesCommandError = async (output, context) => {
|
|
7491
7491
|
const parsedOutput = {
|
|
7492
7492
|
...output,
|
|
7493
|
-
body: await
|
|
7493
|
+
body: await parseErrorBody(output.body, context),
|
|
7494
7494
|
};
|
|
7495
7495
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7496
7496
|
switch (errorCode) {
|
|
@@ -7530,7 +7530,7 @@ exports.deserializeAws_restJson1ListInstanceStorageConfigsCommand = deserializeA
|
|
|
7530
7530
|
const deserializeAws_restJson1ListInstanceStorageConfigsCommandError = async (output, context) => {
|
|
7531
7531
|
const parsedOutput = {
|
|
7532
7532
|
...output,
|
|
7533
|
-
body: await
|
|
7533
|
+
body: await parseErrorBody(output.body, context),
|
|
7534
7534
|
};
|
|
7535
7535
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7536
7536
|
switch (errorCode) {
|
|
@@ -7579,7 +7579,7 @@ exports.deserializeAws_restJson1ListIntegrationAssociationsCommand = deserialize
|
|
|
7579
7579
|
const deserializeAws_restJson1ListIntegrationAssociationsCommandError = async (output, context) => {
|
|
7580
7580
|
const parsedOutput = {
|
|
7581
7581
|
...output,
|
|
7582
|
-
body: await
|
|
7582
|
+
body: await parseErrorBody(output.body, context),
|
|
7583
7583
|
};
|
|
7584
7584
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7585
7585
|
switch (errorCode) {
|
|
@@ -7625,7 +7625,7 @@ exports.deserializeAws_restJson1ListLambdaFunctionsCommand = deserializeAws_rest
|
|
|
7625
7625
|
const deserializeAws_restJson1ListLambdaFunctionsCommandError = async (output, context) => {
|
|
7626
7626
|
const parsedOutput = {
|
|
7627
7627
|
...output,
|
|
7628
|
-
body: await
|
|
7628
|
+
body: await parseErrorBody(output.body, context),
|
|
7629
7629
|
};
|
|
7630
7630
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7631
7631
|
switch (errorCode) {
|
|
@@ -7674,7 +7674,7 @@ exports.deserializeAws_restJson1ListLexBotsCommand = deserializeAws_restJson1Lis
|
|
|
7674
7674
|
const deserializeAws_restJson1ListLexBotsCommandError = async (output, context) => {
|
|
7675
7675
|
const parsedOutput = {
|
|
7676
7676
|
...output,
|
|
7677
|
-
body: await
|
|
7677
|
+
body: await parseErrorBody(output.body, context),
|
|
7678
7678
|
};
|
|
7679
7679
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7680
7680
|
switch (errorCode) {
|
|
@@ -7723,7 +7723,7 @@ exports.deserializeAws_restJson1ListPhoneNumbersCommand = deserializeAws_restJso
|
|
|
7723
7723
|
const deserializeAws_restJson1ListPhoneNumbersCommandError = async (output, context) => {
|
|
7724
7724
|
const parsedOutput = {
|
|
7725
7725
|
...output,
|
|
7726
|
-
body: await
|
|
7726
|
+
body: await parseErrorBody(output.body, context),
|
|
7727
7727
|
};
|
|
7728
7728
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7729
7729
|
switch (errorCode) {
|
|
@@ -7772,7 +7772,7 @@ exports.deserializeAws_restJson1ListPhoneNumbersV2Command = deserializeAws_restJ
|
|
|
7772
7772
|
const deserializeAws_restJson1ListPhoneNumbersV2CommandError = async (output, context) => {
|
|
7773
7773
|
const parsedOutput = {
|
|
7774
7774
|
...output,
|
|
7775
|
-
body: await
|
|
7775
|
+
body: await parseErrorBody(output.body, context),
|
|
7776
7776
|
};
|
|
7777
7777
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7778
7778
|
switch (errorCode) {
|
|
@@ -7821,7 +7821,7 @@ exports.deserializeAws_restJson1ListPromptsCommand = deserializeAws_restJson1Lis
|
|
|
7821
7821
|
const deserializeAws_restJson1ListPromptsCommandError = async (output, context) => {
|
|
7822
7822
|
const parsedOutput = {
|
|
7823
7823
|
...output,
|
|
7824
|
-
body: await
|
|
7824
|
+
body: await parseErrorBody(output.body, context),
|
|
7825
7825
|
};
|
|
7826
7826
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7827
7827
|
switch (errorCode) {
|
|
@@ -7870,7 +7870,7 @@ exports.deserializeAws_restJson1ListQueueQuickConnectsCommand = deserializeAws_r
|
|
|
7870
7870
|
const deserializeAws_restJson1ListQueueQuickConnectsCommandError = async (output, context) => {
|
|
7871
7871
|
const parsedOutput = {
|
|
7872
7872
|
...output,
|
|
7873
|
-
body: await
|
|
7873
|
+
body: await parseErrorBody(output.body, context),
|
|
7874
7874
|
};
|
|
7875
7875
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7876
7876
|
switch (errorCode) {
|
|
@@ -7919,7 +7919,7 @@ exports.deserializeAws_restJson1ListQueuesCommand = deserializeAws_restJson1List
|
|
|
7919
7919
|
const deserializeAws_restJson1ListQueuesCommandError = async (output, context) => {
|
|
7920
7920
|
const parsedOutput = {
|
|
7921
7921
|
...output,
|
|
7922
|
-
body: await
|
|
7922
|
+
body: await parseErrorBody(output.body, context),
|
|
7923
7923
|
};
|
|
7924
7924
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7925
7925
|
switch (errorCode) {
|
|
@@ -7968,7 +7968,7 @@ exports.deserializeAws_restJson1ListQuickConnectsCommand = deserializeAws_restJs
|
|
|
7968
7968
|
const deserializeAws_restJson1ListQuickConnectsCommandError = async (output, context) => {
|
|
7969
7969
|
const parsedOutput = {
|
|
7970
7970
|
...output,
|
|
7971
|
-
body: await
|
|
7971
|
+
body: await parseErrorBody(output.body, context),
|
|
7972
7972
|
};
|
|
7973
7973
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7974
7974
|
switch (errorCode) {
|
|
@@ -8017,7 +8017,7 @@ exports.deserializeAws_restJson1ListRoutingProfileQueuesCommand = deserializeAws
|
|
|
8017
8017
|
const deserializeAws_restJson1ListRoutingProfileQueuesCommandError = async (output, context) => {
|
|
8018
8018
|
const parsedOutput = {
|
|
8019
8019
|
...output,
|
|
8020
|
-
body: await
|
|
8020
|
+
body: await parseErrorBody(output.body, context),
|
|
8021
8021
|
};
|
|
8022
8022
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8023
8023
|
switch (errorCode) {
|
|
@@ -8066,7 +8066,7 @@ exports.deserializeAws_restJson1ListRoutingProfilesCommand = deserializeAws_rest
|
|
|
8066
8066
|
const deserializeAws_restJson1ListRoutingProfilesCommandError = async (output, context) => {
|
|
8067
8067
|
const parsedOutput = {
|
|
8068
8068
|
...output,
|
|
8069
|
-
body: await
|
|
8069
|
+
body: await parseErrorBody(output.body, context),
|
|
8070
8070
|
};
|
|
8071
8071
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8072
8072
|
switch (errorCode) {
|
|
@@ -8115,7 +8115,7 @@ exports.deserializeAws_restJson1ListSecurityKeysCommand = deserializeAws_restJso
|
|
|
8115
8115
|
const deserializeAws_restJson1ListSecurityKeysCommandError = async (output, context) => {
|
|
8116
8116
|
const parsedOutput = {
|
|
8117
8117
|
...output,
|
|
8118
|
-
body: await
|
|
8118
|
+
body: await parseErrorBody(output.body, context),
|
|
8119
8119
|
};
|
|
8120
8120
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8121
8121
|
switch (errorCode) {
|
|
@@ -8164,7 +8164,7 @@ exports.deserializeAws_restJson1ListSecurityProfilePermissionsCommand = deserial
|
|
|
8164
8164
|
const deserializeAws_restJson1ListSecurityProfilePermissionsCommandError = async (output, context) => {
|
|
8165
8165
|
const parsedOutput = {
|
|
8166
8166
|
...output,
|
|
8167
|
-
body: await
|
|
8167
|
+
body: await parseErrorBody(output.body, context),
|
|
8168
8168
|
};
|
|
8169
8169
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8170
8170
|
switch (errorCode) {
|
|
@@ -8213,7 +8213,7 @@ exports.deserializeAws_restJson1ListSecurityProfilesCommand = deserializeAws_res
|
|
|
8213
8213
|
const deserializeAws_restJson1ListSecurityProfilesCommandError = async (output, context) => {
|
|
8214
8214
|
const parsedOutput = {
|
|
8215
8215
|
...output,
|
|
8216
|
-
body: await
|
|
8216
|
+
body: await parseErrorBody(output.body, context),
|
|
8217
8217
|
};
|
|
8218
8218
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8219
8219
|
switch (errorCode) {
|
|
@@ -8259,7 +8259,7 @@ exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_rest
|
|
|
8259
8259
|
const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
|
|
8260
8260
|
const parsedOutput = {
|
|
8261
8261
|
...output,
|
|
8262
|
-
body: await
|
|
8262
|
+
body: await parseErrorBody(output.body, context),
|
|
8263
8263
|
};
|
|
8264
8264
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8265
8265
|
switch (errorCode) {
|
|
@@ -8308,7 +8308,7 @@ exports.deserializeAws_restJson1ListTaskTemplatesCommand = deserializeAws_restJs
|
|
|
8308
8308
|
const deserializeAws_restJson1ListTaskTemplatesCommandError = async (output, context) => {
|
|
8309
8309
|
const parsedOutput = {
|
|
8310
8310
|
...output,
|
|
8311
|
-
body: await
|
|
8311
|
+
body: await parseErrorBody(output.body, context),
|
|
8312
8312
|
};
|
|
8313
8313
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8314
8314
|
switch (errorCode) {
|
|
@@ -8357,7 +8357,7 @@ exports.deserializeAws_restJson1ListUseCasesCommand = deserializeAws_restJson1Li
|
|
|
8357
8357
|
const deserializeAws_restJson1ListUseCasesCommandError = async (output, context) => {
|
|
8358
8358
|
const parsedOutput = {
|
|
8359
8359
|
...output,
|
|
8360
|
-
body: await
|
|
8360
|
+
body: await parseErrorBody(output.body, context),
|
|
8361
8361
|
};
|
|
8362
8362
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8363
8363
|
switch (errorCode) {
|
|
@@ -8403,7 +8403,7 @@ exports.deserializeAws_restJson1ListUserHierarchyGroupsCommand = deserializeAws_
|
|
|
8403
8403
|
const deserializeAws_restJson1ListUserHierarchyGroupsCommandError = async (output, context) => {
|
|
8404
8404
|
const parsedOutput = {
|
|
8405
8405
|
...output,
|
|
8406
|
-
body: await
|
|
8406
|
+
body: await parseErrorBody(output.body, context),
|
|
8407
8407
|
};
|
|
8408
8408
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8409
8409
|
switch (errorCode) {
|
|
@@ -8452,7 +8452,7 @@ exports.deserializeAws_restJson1ListUsersCommand = deserializeAws_restJson1ListU
|
|
|
8452
8452
|
const deserializeAws_restJson1ListUsersCommandError = async (output, context) => {
|
|
8453
8453
|
const parsedOutput = {
|
|
8454
8454
|
...output,
|
|
8455
|
-
body: await
|
|
8455
|
+
body: await parseErrorBody(output.body, context),
|
|
8456
8456
|
};
|
|
8457
8457
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8458
8458
|
switch (errorCode) {
|
|
@@ -8495,7 +8495,7 @@ exports.deserializeAws_restJson1PutUserStatusCommand = deserializeAws_restJson1P
|
|
|
8495
8495
|
const deserializeAws_restJson1PutUserStatusCommandError = async (output, context) => {
|
|
8496
8496
|
const parsedOutput = {
|
|
8497
8497
|
...output,
|
|
8498
|
-
body: await
|
|
8498
|
+
body: await parseErrorBody(output.body, context),
|
|
8499
8499
|
};
|
|
8500
8500
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8501
8501
|
switch (errorCode) {
|
|
@@ -8541,7 +8541,7 @@ exports.deserializeAws_restJson1ReleasePhoneNumberCommand = deserializeAws_restJ
|
|
|
8541
8541
|
const deserializeAws_restJson1ReleasePhoneNumberCommandError = async (output, context) => {
|
|
8542
8542
|
const parsedOutput = {
|
|
8543
8543
|
...output,
|
|
8544
|
-
body: await
|
|
8544
|
+
body: await parseErrorBody(output.body, context),
|
|
8545
8545
|
};
|
|
8546
8546
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8547
8547
|
switch (errorCode) {
|
|
@@ -8590,7 +8590,7 @@ exports.deserializeAws_restJson1ResumeContactRecordingCommand = deserializeAws_r
|
|
|
8590
8590
|
const deserializeAws_restJson1ResumeContactRecordingCommandError = async (output, context) => {
|
|
8591
8591
|
const parsedOutput = {
|
|
8592
8592
|
...output,
|
|
8593
|
-
body: await
|
|
8593
|
+
body: await parseErrorBody(output.body, context),
|
|
8594
8594
|
};
|
|
8595
8595
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8596
8596
|
switch (errorCode) {
|
|
@@ -8633,7 +8633,7 @@ exports.deserializeAws_restJson1SearchAvailablePhoneNumbersCommand = deserialize
|
|
|
8633
8633
|
const deserializeAws_restJson1SearchAvailablePhoneNumbersCommandError = async (output, context) => {
|
|
8634
8634
|
const parsedOutput = {
|
|
8635
8635
|
...output,
|
|
8636
|
-
body: await
|
|
8636
|
+
body: await parseErrorBody(output.body, context),
|
|
8637
8637
|
};
|
|
8638
8638
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8639
8639
|
switch (errorCode) {
|
|
@@ -8682,7 +8682,7 @@ exports.deserializeAws_restJson1SearchQueuesCommand = deserializeAws_restJson1Se
|
|
|
8682
8682
|
const deserializeAws_restJson1SearchQueuesCommandError = async (output, context) => {
|
|
8683
8683
|
const parsedOutput = {
|
|
8684
8684
|
...output,
|
|
8685
|
-
body: await
|
|
8685
|
+
body: await parseErrorBody(output.body, context),
|
|
8686
8686
|
};
|
|
8687
8687
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8688
8688
|
switch (errorCode) {
|
|
@@ -8734,7 +8734,7 @@ exports.deserializeAws_restJson1SearchRoutingProfilesCommand = deserializeAws_re
|
|
|
8734
8734
|
const deserializeAws_restJson1SearchRoutingProfilesCommandError = async (output, context) => {
|
|
8735
8735
|
const parsedOutput = {
|
|
8736
8736
|
...output,
|
|
8737
|
-
body: await
|
|
8737
|
+
body: await parseErrorBody(output.body, context),
|
|
8738
8738
|
};
|
|
8739
8739
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8740
8740
|
switch (errorCode) {
|
|
@@ -8786,7 +8786,7 @@ exports.deserializeAws_restJson1SearchSecurityProfilesCommand = deserializeAws_r
|
|
|
8786
8786
|
const deserializeAws_restJson1SearchSecurityProfilesCommandError = 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) {
|
|
@@ -8838,7 +8838,7 @@ exports.deserializeAws_restJson1SearchUsersCommand = deserializeAws_restJson1Sea
|
|
|
8838
8838
|
const deserializeAws_restJson1SearchUsersCommandError = async (output, context) => {
|
|
8839
8839
|
const parsedOutput = {
|
|
8840
8840
|
...output,
|
|
8841
|
-
body: await
|
|
8841
|
+
body: await parseErrorBody(output.body, context),
|
|
8842
8842
|
};
|
|
8843
8843
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8844
8844
|
switch (errorCode) {
|
|
@@ -8887,7 +8887,7 @@ exports.deserializeAws_restJson1SearchVocabulariesCommand = deserializeAws_restJ
|
|
|
8887
8887
|
const deserializeAws_restJson1SearchVocabulariesCommandError = async (output, context) => {
|
|
8888
8888
|
const parsedOutput = {
|
|
8889
8889
|
...output,
|
|
8890
|
-
body: await
|
|
8890
|
+
body: await parseErrorBody(output.body, context),
|
|
8891
8891
|
};
|
|
8892
8892
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8893
8893
|
switch (errorCode) {
|
|
@@ -8936,7 +8936,7 @@ exports.deserializeAws_restJson1StartChatContactCommand = deserializeAws_restJso
|
|
|
8936
8936
|
const deserializeAws_restJson1StartChatContactCommandError = async (output, context) => {
|
|
8937
8937
|
const parsedOutput = {
|
|
8938
8938
|
...output,
|
|
8939
|
-
body: await
|
|
8939
|
+
body: await parseErrorBody(output.body, context),
|
|
8940
8940
|
};
|
|
8941
8941
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8942
8942
|
switch (errorCode) {
|
|
@@ -8979,7 +8979,7 @@ exports.deserializeAws_restJson1StartContactRecordingCommand = deserializeAws_re
|
|
|
8979
8979
|
const deserializeAws_restJson1StartContactRecordingCommandError = async (output, context) => {
|
|
8980
8980
|
const parsedOutput = {
|
|
8981
8981
|
...output,
|
|
8982
|
-
body: await
|
|
8982
|
+
body: await parseErrorBody(output.body, context),
|
|
8983
8983
|
};
|
|
8984
8984
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8985
8985
|
switch (errorCode) {
|
|
@@ -9022,7 +9022,7 @@ exports.deserializeAws_restJson1StartContactStreamingCommand = deserializeAws_re
|
|
|
9022
9022
|
const deserializeAws_restJson1StartContactStreamingCommandError = async (output, context) => {
|
|
9023
9023
|
const parsedOutput = {
|
|
9024
9024
|
...output,
|
|
9025
|
-
body: await
|
|
9025
|
+
body: await parseErrorBody(output.body, context),
|
|
9026
9026
|
};
|
|
9027
9027
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9028
9028
|
switch (errorCode) {
|
|
@@ -9068,7 +9068,7 @@ exports.deserializeAws_restJson1StartOutboundVoiceContactCommand = deserializeAw
|
|
|
9068
9068
|
const deserializeAws_restJson1StartOutboundVoiceContactCommandError = async (output, context) => {
|
|
9069
9069
|
const parsedOutput = {
|
|
9070
9070
|
...output,
|
|
9071
|
-
body: await
|
|
9071
|
+
body: await parseErrorBody(output.body, context),
|
|
9072
9072
|
};
|
|
9073
9073
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9074
9074
|
switch (errorCode) {
|
|
@@ -9120,7 +9120,7 @@ exports.deserializeAws_restJson1StartTaskContactCommand = deserializeAws_restJso
|
|
|
9120
9120
|
const deserializeAws_restJson1StartTaskContactCommandError = async (output, context) => {
|
|
9121
9121
|
const parsedOutput = {
|
|
9122
9122
|
...output,
|
|
9123
|
-
body: await
|
|
9123
|
+
body: await parseErrorBody(output.body, context),
|
|
9124
9124
|
};
|
|
9125
9125
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9126
9126
|
switch (errorCode) {
|
|
@@ -9166,7 +9166,7 @@ exports.deserializeAws_restJson1StopContactCommand = deserializeAws_restJson1Sto
|
|
|
9166
9166
|
const deserializeAws_restJson1StopContactCommandError = async (output, context) => {
|
|
9167
9167
|
const parsedOutput = {
|
|
9168
9168
|
...output,
|
|
9169
|
-
body: await
|
|
9169
|
+
body: await parseErrorBody(output.body, context),
|
|
9170
9170
|
};
|
|
9171
9171
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9172
9172
|
switch (errorCode) {
|
|
@@ -9209,7 +9209,7 @@ exports.deserializeAws_restJson1StopContactRecordingCommand = deserializeAws_res
|
|
|
9209
9209
|
const deserializeAws_restJson1StopContactRecordingCommandError = async (output, context) => {
|
|
9210
9210
|
const parsedOutput = {
|
|
9211
9211
|
...output,
|
|
9212
|
-
body: await
|
|
9212
|
+
body: await parseErrorBody(output.body, context),
|
|
9213
9213
|
};
|
|
9214
9214
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9215
9215
|
switch (errorCode) {
|
|
@@ -9246,7 +9246,7 @@ exports.deserializeAws_restJson1StopContactStreamingCommand = deserializeAws_res
|
|
|
9246
9246
|
const deserializeAws_restJson1StopContactStreamingCommandError = async (output, context) => {
|
|
9247
9247
|
const parsedOutput = {
|
|
9248
9248
|
...output,
|
|
9249
|
-
body: await
|
|
9249
|
+
body: await parseErrorBody(output.body, context),
|
|
9250
9250
|
};
|
|
9251
9251
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9252
9252
|
switch (errorCode) {
|
|
@@ -9286,7 +9286,7 @@ exports.deserializeAws_restJson1SuspendContactRecordingCommand = deserializeAws_
|
|
|
9286
9286
|
const deserializeAws_restJson1SuspendContactRecordingCommandError = async (output, context) => {
|
|
9287
9287
|
const parsedOutput = {
|
|
9288
9288
|
...output,
|
|
9289
|
-
body: await
|
|
9289
|
+
body: await parseErrorBody(output.body, context),
|
|
9290
9290
|
};
|
|
9291
9291
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9292
9292
|
switch (errorCode) {
|
|
@@ -9323,7 +9323,7 @@ exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1Tag
|
|
|
9323
9323
|
const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
|
|
9324
9324
|
const parsedOutput = {
|
|
9325
9325
|
...output,
|
|
9326
|
-
body: await
|
|
9326
|
+
body: await parseErrorBody(output.body, context),
|
|
9327
9327
|
};
|
|
9328
9328
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9329
9329
|
switch (errorCode) {
|
|
@@ -9372,7 +9372,7 @@ exports.deserializeAws_restJson1TransferContactCommand = deserializeAws_restJson
|
|
|
9372
9372
|
const deserializeAws_restJson1TransferContactCommandError = async (output, context) => {
|
|
9373
9373
|
const parsedOutput = {
|
|
9374
9374
|
...output,
|
|
9375
|
-
body: await
|
|
9375
|
+
body: await parseErrorBody(output.body, context),
|
|
9376
9376
|
};
|
|
9377
9377
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9378
9378
|
switch (errorCode) {
|
|
@@ -9421,7 +9421,7 @@ exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1U
|
|
|
9421
9421
|
const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
|
|
9422
9422
|
const parsedOutput = {
|
|
9423
9423
|
...output,
|
|
9424
|
-
body: await
|
|
9424
|
+
body: await parseErrorBody(output.body, context),
|
|
9425
9425
|
};
|
|
9426
9426
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9427
9427
|
switch (errorCode) {
|
|
@@ -9464,7 +9464,7 @@ exports.deserializeAws_restJson1UpdateAgentStatusCommand = deserializeAws_restJs
|
|
|
9464
9464
|
const deserializeAws_restJson1UpdateAgentStatusCommandError = async (output, context) => {
|
|
9465
9465
|
const parsedOutput = {
|
|
9466
9466
|
...output,
|
|
9467
|
-
body: await
|
|
9467
|
+
body: await parseErrorBody(output.body, context),
|
|
9468
9468
|
};
|
|
9469
9469
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9470
9470
|
switch (errorCode) {
|
|
@@ -9513,7 +9513,7 @@ exports.deserializeAws_restJson1UpdateContactCommand = deserializeAws_restJson1U
|
|
|
9513
9513
|
const deserializeAws_restJson1UpdateContactCommandError = async (output, context) => {
|
|
9514
9514
|
const parsedOutput = {
|
|
9515
9515
|
...output,
|
|
9516
|
-
body: await
|
|
9516
|
+
body: await parseErrorBody(output.body, context),
|
|
9517
9517
|
};
|
|
9518
9518
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9519
9519
|
switch (errorCode) {
|
|
@@ -9556,7 +9556,7 @@ exports.deserializeAws_restJson1UpdateContactAttributesCommand = deserializeAws_
|
|
|
9556
9556
|
const deserializeAws_restJson1UpdateContactAttributesCommandError = async (output, context) => {
|
|
9557
9557
|
const parsedOutput = {
|
|
9558
9558
|
...output,
|
|
9559
|
-
body: await
|
|
9559
|
+
body: await parseErrorBody(output.body, context),
|
|
9560
9560
|
};
|
|
9561
9561
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9562
9562
|
switch (errorCode) {
|
|
@@ -9596,7 +9596,7 @@ exports.deserializeAws_restJson1UpdateContactFlowContentCommand = deserializeAws
|
|
|
9596
9596
|
const deserializeAws_restJson1UpdateContactFlowContentCommandError = async (output, context) => {
|
|
9597
9597
|
const parsedOutput = {
|
|
9598
9598
|
...output,
|
|
9599
|
-
body: await
|
|
9599
|
+
body: await parseErrorBody(output.body, context),
|
|
9600
9600
|
};
|
|
9601
9601
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9602
9602
|
switch (errorCode) {
|
|
@@ -9642,7 +9642,7 @@ exports.deserializeAws_restJson1UpdateContactFlowMetadataCommand = deserializeAw
|
|
|
9642
9642
|
const deserializeAws_restJson1UpdateContactFlowMetadataCommandError = async (output, context) => {
|
|
9643
9643
|
const parsedOutput = {
|
|
9644
9644
|
...output,
|
|
9645
|
-
body: await
|
|
9645
|
+
body: await parseErrorBody(output.body, context),
|
|
9646
9646
|
};
|
|
9647
9647
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9648
9648
|
switch (errorCode) {
|
|
@@ -9688,7 +9688,7 @@ exports.deserializeAws_restJson1UpdateContactFlowModuleContentCommand = deserial
|
|
|
9688
9688
|
const deserializeAws_restJson1UpdateContactFlowModuleContentCommandError = async (output, context) => {
|
|
9689
9689
|
const parsedOutput = {
|
|
9690
9690
|
...output,
|
|
9691
|
-
body: await
|
|
9691
|
+
body: await parseErrorBody(output.body, context),
|
|
9692
9692
|
};
|
|
9693
9693
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9694
9694
|
switch (errorCode) {
|
|
@@ -9734,7 +9734,7 @@ exports.deserializeAws_restJson1UpdateContactFlowModuleMetadataCommand = deseria
|
|
|
9734
9734
|
const deserializeAws_restJson1UpdateContactFlowModuleMetadataCommandError = async (output, context) => {
|
|
9735
9735
|
const parsedOutput = {
|
|
9736
9736
|
...output,
|
|
9737
|
-
body: await
|
|
9737
|
+
body: await parseErrorBody(output.body, context),
|
|
9738
9738
|
};
|
|
9739
9739
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9740
9740
|
switch (errorCode) {
|
|
@@ -9783,7 +9783,7 @@ exports.deserializeAws_restJson1UpdateContactFlowNameCommand = deserializeAws_re
|
|
|
9783
9783
|
const deserializeAws_restJson1UpdateContactFlowNameCommandError = async (output, context) => {
|
|
9784
9784
|
const parsedOutput = {
|
|
9785
9785
|
...output,
|
|
9786
|
-
body: await
|
|
9786
|
+
body: await parseErrorBody(output.body, context),
|
|
9787
9787
|
};
|
|
9788
9788
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9789
9789
|
switch (errorCode) {
|
|
@@ -9829,7 +9829,7 @@ exports.deserializeAws_restJson1UpdateContactScheduleCommand = deserializeAws_re
|
|
|
9829
9829
|
const deserializeAws_restJson1UpdateContactScheduleCommandError = async (output, context) => {
|
|
9830
9830
|
const parsedOutput = {
|
|
9831
9831
|
...output,
|
|
9832
|
-
body: await
|
|
9832
|
+
body: await parseErrorBody(output.body, context),
|
|
9833
9833
|
};
|
|
9834
9834
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9835
9835
|
switch (errorCode) {
|
|
@@ -9875,7 +9875,7 @@ exports.deserializeAws_restJson1UpdateHoursOfOperationCommand = deserializeAws_r
|
|
|
9875
9875
|
const deserializeAws_restJson1UpdateHoursOfOperationCommandError = async (output, context) => {
|
|
9876
9876
|
const parsedOutput = {
|
|
9877
9877
|
...output,
|
|
9878
|
-
body: await
|
|
9878
|
+
body: await parseErrorBody(output.body, context),
|
|
9879
9879
|
};
|
|
9880
9880
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9881
9881
|
switch (errorCode) {
|
|
@@ -9921,7 +9921,7 @@ exports.deserializeAws_restJson1UpdateInstanceAttributeCommand = deserializeAws_
|
|
|
9921
9921
|
const deserializeAws_restJson1UpdateInstanceAttributeCommandError = async (output, context) => {
|
|
9922
9922
|
const parsedOutput = {
|
|
9923
9923
|
...output,
|
|
9924
|
-
body: await
|
|
9924
|
+
body: await parseErrorBody(output.body, context),
|
|
9925
9925
|
};
|
|
9926
9926
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9927
9927
|
switch (errorCode) {
|
|
@@ -9964,7 +9964,7 @@ exports.deserializeAws_restJson1UpdateInstanceStorageConfigCommand = deserialize
|
|
|
9964
9964
|
const deserializeAws_restJson1UpdateInstanceStorageConfigCommandError = async (output, context) => {
|
|
9965
9965
|
const parsedOutput = {
|
|
9966
9966
|
...output,
|
|
9967
|
-
body: await
|
|
9967
|
+
body: await parseErrorBody(output.body, context),
|
|
9968
9968
|
};
|
|
9969
9969
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9970
9970
|
switch (errorCode) {
|
|
@@ -10013,7 +10013,7 @@ exports.deserializeAws_restJson1UpdatePhoneNumberCommand = deserializeAws_restJs
|
|
|
10013
10013
|
const deserializeAws_restJson1UpdatePhoneNumberCommandError = async (output, context) => {
|
|
10014
10014
|
const parsedOutput = {
|
|
10015
10015
|
...output,
|
|
10016
|
-
body: await
|
|
10016
|
+
body: await parseErrorBody(output.body, context),
|
|
10017
10017
|
};
|
|
10018
10018
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10019
10019
|
switch (errorCode) {
|
|
@@ -10062,7 +10062,7 @@ exports.deserializeAws_restJson1UpdateQueueHoursOfOperationCommand = deserialize
|
|
|
10062
10062
|
const deserializeAws_restJson1UpdateQueueHoursOfOperationCommandError = async (output, context) => {
|
|
10063
10063
|
const parsedOutput = {
|
|
10064
10064
|
...output,
|
|
10065
|
-
body: await
|
|
10065
|
+
body: await parseErrorBody(output.body, context),
|
|
10066
10066
|
};
|
|
10067
10067
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10068
10068
|
switch (errorCode) {
|
|
@@ -10105,7 +10105,7 @@ exports.deserializeAws_restJson1UpdateQueueMaxContactsCommand = deserializeAws_r
|
|
|
10105
10105
|
const deserializeAws_restJson1UpdateQueueMaxContactsCommandError = async (output, context) => {
|
|
10106
10106
|
const parsedOutput = {
|
|
10107
10107
|
...output,
|
|
10108
|
-
body: await
|
|
10108
|
+
body: await parseErrorBody(output.body, context),
|
|
10109
10109
|
};
|
|
10110
10110
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10111
10111
|
switch (errorCode) {
|
|
@@ -10148,7 +10148,7 @@ exports.deserializeAws_restJson1UpdateQueueNameCommand = deserializeAws_restJson
|
|
|
10148
10148
|
const deserializeAws_restJson1UpdateQueueNameCommandError = async (output, context) => {
|
|
10149
10149
|
const parsedOutput = {
|
|
10150
10150
|
...output,
|
|
10151
|
-
body: await
|
|
10151
|
+
body: await parseErrorBody(output.body, context),
|
|
10152
10152
|
};
|
|
10153
10153
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10154
10154
|
switch (errorCode) {
|
|
@@ -10194,7 +10194,7 @@ exports.deserializeAws_restJson1UpdateQueueOutboundCallerConfigCommand = deseria
|
|
|
10194
10194
|
const deserializeAws_restJson1UpdateQueueOutboundCallerConfigCommandError = async (output, context) => {
|
|
10195
10195
|
const parsedOutput = {
|
|
10196
10196
|
...output,
|
|
10197
|
-
body: await
|
|
10197
|
+
body: await parseErrorBody(output.body, context),
|
|
10198
10198
|
};
|
|
10199
10199
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10200
10200
|
switch (errorCode) {
|
|
@@ -10237,7 +10237,7 @@ exports.deserializeAws_restJson1UpdateQueueStatusCommand = deserializeAws_restJs
|
|
|
10237
10237
|
const deserializeAws_restJson1UpdateQueueStatusCommandError = async (output, context) => {
|
|
10238
10238
|
const parsedOutput = {
|
|
10239
10239
|
...output,
|
|
10240
|
-
body: await
|
|
10240
|
+
body: await parseErrorBody(output.body, context),
|
|
10241
10241
|
};
|
|
10242
10242
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10243
10243
|
switch (errorCode) {
|
|
@@ -10280,7 +10280,7 @@ exports.deserializeAws_restJson1UpdateQuickConnectConfigCommand = deserializeAws
|
|
|
10280
10280
|
const deserializeAws_restJson1UpdateQuickConnectConfigCommandError = async (output, context) => {
|
|
10281
10281
|
const parsedOutput = {
|
|
10282
10282
|
...output,
|
|
10283
|
-
body: await
|
|
10283
|
+
body: await parseErrorBody(output.body, context),
|
|
10284
10284
|
};
|
|
10285
10285
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10286
10286
|
switch (errorCode) {
|
|
@@ -10323,7 +10323,7 @@ exports.deserializeAws_restJson1UpdateQuickConnectNameCommand = deserializeAws_r
|
|
|
10323
10323
|
const deserializeAws_restJson1UpdateQuickConnectNameCommandError = async (output, context) => {
|
|
10324
10324
|
const parsedOutput = {
|
|
10325
10325
|
...output,
|
|
10326
|
-
body: await
|
|
10326
|
+
body: await parseErrorBody(output.body, context),
|
|
10327
10327
|
};
|
|
10328
10328
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10329
10329
|
switch (errorCode) {
|
|
@@ -10366,7 +10366,7 @@ exports.deserializeAws_restJson1UpdateRoutingProfileConcurrencyCommand = deseria
|
|
|
10366
10366
|
const deserializeAws_restJson1UpdateRoutingProfileConcurrencyCommandError = async (output, context) => {
|
|
10367
10367
|
const parsedOutput = {
|
|
10368
10368
|
...output,
|
|
10369
|
-
body: await
|
|
10369
|
+
body: await parseErrorBody(output.body, context),
|
|
10370
10370
|
};
|
|
10371
10371
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10372
10372
|
switch (errorCode) {
|
|
@@ -10409,7 +10409,7 @@ exports.deserializeAws_restJson1UpdateRoutingProfileDefaultOutboundQueueCommand
|
|
|
10409
10409
|
const deserializeAws_restJson1UpdateRoutingProfileDefaultOutboundQueueCommandError = async (output, context) => {
|
|
10410
10410
|
const parsedOutput = {
|
|
10411
10411
|
...output,
|
|
10412
|
-
body: await
|
|
10412
|
+
body: await parseErrorBody(output.body, context),
|
|
10413
10413
|
};
|
|
10414
10414
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10415
10415
|
switch (errorCode) {
|
|
@@ -10452,7 +10452,7 @@ exports.deserializeAws_restJson1UpdateRoutingProfileNameCommand = deserializeAws
|
|
|
10452
10452
|
const deserializeAws_restJson1UpdateRoutingProfileNameCommandError = async (output, context) => {
|
|
10453
10453
|
const parsedOutput = {
|
|
10454
10454
|
...output,
|
|
10455
|
-
body: await
|
|
10455
|
+
body: await parseErrorBody(output.body, context),
|
|
10456
10456
|
};
|
|
10457
10457
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10458
10458
|
switch (errorCode) {
|
|
@@ -10498,7 +10498,7 @@ exports.deserializeAws_restJson1UpdateRoutingProfileQueuesCommand = deserializeA
|
|
|
10498
10498
|
const deserializeAws_restJson1UpdateRoutingProfileQueuesCommandError = async (output, context) => {
|
|
10499
10499
|
const parsedOutput = {
|
|
10500
10500
|
...output,
|
|
10501
|
-
body: await
|
|
10501
|
+
body: await parseErrorBody(output.body, context),
|
|
10502
10502
|
};
|
|
10503
10503
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10504
10504
|
switch (errorCode) {
|
|
@@ -10541,7 +10541,7 @@ exports.deserializeAws_restJson1UpdateSecurityProfileCommand = deserializeAws_re
|
|
|
10541
10541
|
const deserializeAws_restJson1UpdateSecurityProfileCommandError = async (output, context) => {
|
|
10542
10542
|
const parsedOutput = {
|
|
10543
10543
|
...output,
|
|
10544
|
-
body: await
|
|
10544
|
+
body: await parseErrorBody(output.body, context),
|
|
10545
10545
|
};
|
|
10546
10546
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10547
10547
|
switch (errorCode) {
|
|
@@ -10620,7 +10620,7 @@ exports.deserializeAws_restJson1UpdateTaskTemplateCommand = deserializeAws_restJ
|
|
|
10620
10620
|
const deserializeAws_restJson1UpdateTaskTemplateCommandError = async (output, context) => {
|
|
10621
10621
|
const parsedOutput = {
|
|
10622
10622
|
...output,
|
|
10623
|
-
body: await
|
|
10623
|
+
body: await parseErrorBody(output.body, context),
|
|
10624
10624
|
};
|
|
10625
10625
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10626
10626
|
switch (errorCode) {
|
|
@@ -10666,7 +10666,7 @@ exports.deserializeAws_restJson1UpdateUserHierarchyCommand = deserializeAws_rest
|
|
|
10666
10666
|
const deserializeAws_restJson1UpdateUserHierarchyCommandError = async (output, context) => {
|
|
10667
10667
|
const parsedOutput = {
|
|
10668
10668
|
...output,
|
|
10669
|
-
body: await
|
|
10669
|
+
body: await parseErrorBody(output.body, context),
|
|
10670
10670
|
};
|
|
10671
10671
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10672
10672
|
switch (errorCode) {
|
|
@@ -10709,7 +10709,7 @@ exports.deserializeAws_restJson1UpdateUserHierarchyGroupNameCommand = deserializ
|
|
|
10709
10709
|
const deserializeAws_restJson1UpdateUserHierarchyGroupNameCommandError = async (output, context) => {
|
|
10710
10710
|
const parsedOutput = {
|
|
10711
10711
|
...output,
|
|
10712
|
-
body: await
|
|
10712
|
+
body: await parseErrorBody(output.body, context),
|
|
10713
10713
|
};
|
|
10714
10714
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10715
10715
|
switch (errorCode) {
|
|
@@ -10755,7 +10755,7 @@ exports.deserializeAws_restJson1UpdateUserHierarchyStructureCommand = deserializ
|
|
|
10755
10755
|
const deserializeAws_restJson1UpdateUserHierarchyStructureCommandError = async (output, context) => {
|
|
10756
10756
|
const parsedOutput = {
|
|
10757
10757
|
...output,
|
|
10758
|
-
body: await
|
|
10758
|
+
body: await parseErrorBody(output.body, context),
|
|
10759
10759
|
};
|
|
10760
10760
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10761
10761
|
switch (errorCode) {
|
|
@@ -10801,7 +10801,7 @@ exports.deserializeAws_restJson1UpdateUserIdentityInfoCommand = deserializeAws_r
|
|
|
10801
10801
|
const deserializeAws_restJson1UpdateUserIdentityInfoCommandError = async (output, context) => {
|
|
10802
10802
|
const parsedOutput = {
|
|
10803
10803
|
...output,
|
|
10804
|
-
body: await
|
|
10804
|
+
body: await parseErrorBody(output.body, context),
|
|
10805
10805
|
};
|
|
10806
10806
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10807
10807
|
switch (errorCode) {
|
|
@@ -10844,7 +10844,7 @@ exports.deserializeAws_restJson1UpdateUserPhoneConfigCommand = deserializeAws_re
|
|
|
10844
10844
|
const deserializeAws_restJson1UpdateUserPhoneConfigCommandError = async (output, context) => {
|
|
10845
10845
|
const parsedOutput = {
|
|
10846
10846
|
...output,
|
|
10847
|
-
body: await
|
|
10847
|
+
body: await parseErrorBody(output.body, context),
|
|
10848
10848
|
};
|
|
10849
10849
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10850
10850
|
switch (errorCode) {
|
|
@@ -10887,7 +10887,7 @@ exports.deserializeAws_restJson1UpdateUserRoutingProfileCommand = deserializeAws
|
|
|
10887
10887
|
const deserializeAws_restJson1UpdateUserRoutingProfileCommandError = async (output, context) => {
|
|
10888
10888
|
const parsedOutput = {
|
|
10889
10889
|
...output,
|
|
10890
|
-
body: await
|
|
10890
|
+
body: await parseErrorBody(output.body, context),
|
|
10891
10891
|
};
|
|
10892
10892
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10893
10893
|
switch (errorCode) {
|
|
@@ -10930,7 +10930,7 @@ exports.deserializeAws_restJson1UpdateUserSecurityProfilesCommand = deserializeA
|
|
|
10930
10930
|
const deserializeAws_restJson1UpdateUserSecurityProfilesCommandError = async (output, context) => {
|
|
10931
10931
|
const parsedOutput = {
|
|
10932
10932
|
...output,
|
|
10933
|
-
body: await
|
|
10933
|
+
body: await parseErrorBody(output.body, context),
|
|
10934
10934
|
};
|
|
10935
10935
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10936
10936
|
switch (errorCode) {
|
|
@@ -13396,6 +13396,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
13396
13396
|
}
|
|
13397
13397
|
return {};
|
|
13398
13398
|
});
|
|
13399
|
+
const parseErrorBody = async (errorBody, context) => {
|
|
13400
|
+
var _a;
|
|
13401
|
+
const value = await parseBody(errorBody, context);
|
|
13402
|
+
value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
|
|
13403
|
+
return value;
|
|
13404
|
+
};
|
|
13399
13405
|
const loadRestJsonErrorCode = (output, data) => {
|
|
13400
13406
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
13401
13407
|
const sanitizeErrorCode = (rawValue) => {
|