@aws-sdk/client-ssm-contacts 3.54.1 → 3.55.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 +8 -0
- package/dist-cjs/SSMContactsClient.js +13 -13
- package/dist-cjs/commands/AcceptPageCommand.js +3 -3
- package/dist-cjs/commands/ActivateContactChannelCommand.js +3 -3
- package/dist-cjs/commands/CreateContactChannelCommand.js +3 -3
- package/dist-cjs/commands/CreateContactCommand.js +3 -3
- package/dist-cjs/commands/DeactivateContactChannelCommand.js +3 -3
- package/dist-cjs/commands/DeleteContactChannelCommand.js +3 -3
- package/dist-cjs/commands/DeleteContactCommand.js +3 -3
- package/dist-cjs/commands/DescribeEngagementCommand.js +3 -3
- package/dist-cjs/commands/DescribePageCommand.js +3 -3
- package/dist-cjs/commands/GetContactChannelCommand.js +3 -3
- package/dist-cjs/commands/GetContactCommand.js +3 -3
- package/dist-cjs/commands/GetContactPolicyCommand.js +3 -3
- package/dist-cjs/commands/ListContactChannelsCommand.js +3 -3
- package/dist-cjs/commands/ListContactsCommand.js +3 -3
- package/dist-cjs/commands/ListEngagementsCommand.js +3 -3
- package/dist-cjs/commands/ListPageReceiptsCommand.js +3 -3
- package/dist-cjs/commands/ListPagesByContactCommand.js +3 -3
- package/dist-cjs/commands/ListPagesByEngagementCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PutContactPolicyCommand.js +3 -3
- package/dist-cjs/commands/SendActivationCodeCommand.js +3 -3
- package/dist-cjs/commands/StartEngagementCommand.js +3 -3
- package/dist-cjs/commands/StopEngagementCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateContactChannelCommand.js +3 -3
- package/dist-cjs/commands/UpdateContactCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +138 -138
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/SSMContacts.js +27 -27
- package/dist-es/pagination/ListContactChannelsPaginator.js +4 -4
- package/dist-es/pagination/ListContactsPaginator.js +4 -4
- package/dist-es/pagination/ListEngagementsPaginator.js +4 -4
- package/dist-es/pagination/ListPageReceiptsPaginator.js +4 -4
- package/dist-es/pagination/ListPagesByContactPaginator.js +4 -4
- package/dist-es/pagination/ListPagesByEngagementPaginator.js +4 -4
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -322,7 +322,7 @@ const deserializeAws_json1_1AcceptPageCommandError = async (output, context) =>
|
|
|
322
322
|
$fault: "client",
|
|
323
323
|
$metadata: deserializeMetadata(output),
|
|
324
324
|
});
|
|
325
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
325
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
326
326
|
}
|
|
327
327
|
};
|
|
328
328
|
const deserializeAws_json1_1ActivateContactChannelCommand = async (output, context) => {
|
|
@@ -370,7 +370,7 @@ const deserializeAws_json1_1ActivateContactChannelCommandError = async (output,
|
|
|
370
370
|
$fault: "client",
|
|
371
371
|
$metadata: deserializeMetadata(output),
|
|
372
372
|
});
|
|
373
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
373
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
374
374
|
}
|
|
375
375
|
};
|
|
376
376
|
const deserializeAws_json1_1CreateContactCommand = async (output, context) => {
|
|
@@ -424,7 +424,7 @@ const deserializeAws_json1_1CreateContactCommandError = async (output, context)
|
|
|
424
424
|
$fault: "client",
|
|
425
425
|
$metadata: deserializeMetadata(output),
|
|
426
426
|
});
|
|
427
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
427
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
428
428
|
}
|
|
429
429
|
};
|
|
430
430
|
const deserializeAws_json1_1CreateContactChannelCommand = async (output, context) => {
|
|
@@ -475,7 +475,7 @@ const deserializeAws_json1_1CreateContactChannelCommandError = async (output, co
|
|
|
475
475
|
$fault: "client",
|
|
476
476
|
$metadata: deserializeMetadata(output),
|
|
477
477
|
});
|
|
478
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
478
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
479
479
|
}
|
|
480
480
|
};
|
|
481
481
|
const deserializeAws_json1_1DeactivateContactChannelCommand = async (output, context) => {
|
|
@@ -523,7 +523,7 @@ const deserializeAws_json1_1DeactivateContactChannelCommandError = async (output
|
|
|
523
523
|
$fault: "client",
|
|
524
524
|
$metadata: deserializeMetadata(output),
|
|
525
525
|
});
|
|
526
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
526
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
527
527
|
}
|
|
528
528
|
};
|
|
529
529
|
const deserializeAws_json1_1DeleteContactCommand = async (output, context) => {
|
|
@@ -571,7 +571,7 @@ const deserializeAws_json1_1DeleteContactCommandError = async (output, context)
|
|
|
571
571
|
$fault: "client",
|
|
572
572
|
$metadata: deserializeMetadata(output),
|
|
573
573
|
});
|
|
574
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
574
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
575
575
|
}
|
|
576
576
|
};
|
|
577
577
|
const deserializeAws_json1_1DeleteContactChannelCommand = async (output, context) => {
|
|
@@ -619,7 +619,7 @@ const deserializeAws_json1_1DeleteContactChannelCommandError = async (output, co
|
|
|
619
619
|
$fault: "client",
|
|
620
620
|
$metadata: deserializeMetadata(output),
|
|
621
621
|
});
|
|
622
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
622
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
623
623
|
}
|
|
624
624
|
};
|
|
625
625
|
const deserializeAws_json1_1DescribeEngagementCommand = async (output, context) => {
|
|
@@ -670,7 +670,7 @@ const deserializeAws_json1_1DescribeEngagementCommandError = async (output, cont
|
|
|
670
670
|
$fault: "client",
|
|
671
671
|
$metadata: deserializeMetadata(output),
|
|
672
672
|
});
|
|
673
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
673
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
674
674
|
}
|
|
675
675
|
};
|
|
676
676
|
const deserializeAws_json1_1DescribePageCommand = async (output, context) => {
|
|
@@ -721,7 +721,7 @@ const deserializeAws_json1_1DescribePageCommandError = async (output, context) =
|
|
|
721
721
|
$fault: "client",
|
|
722
722
|
$metadata: deserializeMetadata(output),
|
|
723
723
|
});
|
|
724
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
724
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
725
725
|
}
|
|
726
726
|
};
|
|
727
727
|
const deserializeAws_json1_1GetContactCommand = async (output, context) => {
|
|
@@ -772,7 +772,7 @@ const deserializeAws_json1_1GetContactCommandError = async (output, context) =>
|
|
|
772
772
|
$fault: "client",
|
|
773
773
|
$metadata: deserializeMetadata(output),
|
|
774
774
|
});
|
|
775
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
775
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
776
776
|
}
|
|
777
777
|
};
|
|
778
778
|
const deserializeAws_json1_1GetContactChannelCommand = async (output, context) => {
|
|
@@ -823,7 +823,7 @@ const deserializeAws_json1_1GetContactChannelCommandError = async (output, conte
|
|
|
823
823
|
$fault: "client",
|
|
824
824
|
$metadata: deserializeMetadata(output),
|
|
825
825
|
});
|
|
826
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
826
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
827
827
|
}
|
|
828
828
|
};
|
|
829
829
|
const deserializeAws_json1_1GetContactPolicyCommand = async (output, context) => {
|
|
@@ -871,7 +871,7 @@ const deserializeAws_json1_1GetContactPolicyCommandError = async (output, contex
|
|
|
871
871
|
$fault: "client",
|
|
872
872
|
$metadata: deserializeMetadata(output),
|
|
873
873
|
});
|
|
874
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
874
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
875
875
|
}
|
|
876
876
|
};
|
|
877
877
|
const deserializeAws_json1_1ListContactChannelsCommand = async (output, context) => {
|
|
@@ -922,7 +922,7 @@ const deserializeAws_json1_1ListContactChannelsCommandError = async (output, con
|
|
|
922
922
|
$fault: "client",
|
|
923
923
|
$metadata: deserializeMetadata(output),
|
|
924
924
|
});
|
|
925
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
925
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
926
926
|
}
|
|
927
927
|
};
|
|
928
928
|
const deserializeAws_json1_1ListContactsCommand = async (output, context) => {
|
|
@@ -967,7 +967,7 @@ const deserializeAws_json1_1ListContactsCommandError = async (output, context) =
|
|
|
967
967
|
$fault: "client",
|
|
968
968
|
$metadata: deserializeMetadata(output),
|
|
969
969
|
});
|
|
970
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
970
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
971
971
|
}
|
|
972
972
|
};
|
|
973
973
|
const deserializeAws_json1_1ListEngagementsCommand = async (output, context) => {
|
|
@@ -1012,7 +1012,7 @@ const deserializeAws_json1_1ListEngagementsCommandError = async (output, context
|
|
|
1012
1012
|
$fault: "client",
|
|
1013
1013
|
$metadata: deserializeMetadata(output),
|
|
1014
1014
|
});
|
|
1015
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1015
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1016
1016
|
}
|
|
1017
1017
|
};
|
|
1018
1018
|
const deserializeAws_json1_1ListPageReceiptsCommand = async (output, context) => {
|
|
@@ -1060,7 +1060,7 @@ const deserializeAws_json1_1ListPageReceiptsCommandError = async (output, contex
|
|
|
1060
1060
|
$fault: "client",
|
|
1061
1061
|
$metadata: deserializeMetadata(output),
|
|
1062
1062
|
});
|
|
1063
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1063
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1064
1064
|
}
|
|
1065
1065
|
};
|
|
1066
1066
|
const deserializeAws_json1_1ListPagesByContactCommand = async (output, context) => {
|
|
@@ -1108,7 +1108,7 @@ const deserializeAws_json1_1ListPagesByContactCommandError = async (output, cont
|
|
|
1108
1108
|
$fault: "client",
|
|
1109
1109
|
$metadata: deserializeMetadata(output),
|
|
1110
1110
|
});
|
|
1111
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1111
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1112
1112
|
}
|
|
1113
1113
|
};
|
|
1114
1114
|
const deserializeAws_json1_1ListPagesByEngagementCommand = async (output, context) => {
|
|
@@ -1156,7 +1156,7 @@ const deserializeAws_json1_1ListPagesByEngagementCommandError = async (output, c
|
|
|
1156
1156
|
$fault: "client",
|
|
1157
1157
|
$metadata: deserializeMetadata(output),
|
|
1158
1158
|
});
|
|
1159
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1159
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1160
1160
|
}
|
|
1161
1161
|
};
|
|
1162
1162
|
const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -1204,7 +1204,7 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1204
1204
|
$fault: "client",
|
|
1205
1205
|
$metadata: deserializeMetadata(output),
|
|
1206
1206
|
});
|
|
1207
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1207
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1208
1208
|
}
|
|
1209
1209
|
};
|
|
1210
1210
|
const deserializeAws_json1_1PutContactPolicyCommand = async (output, context) => {
|
|
@@ -1255,7 +1255,7 @@ const deserializeAws_json1_1PutContactPolicyCommandError = async (output, contex
|
|
|
1255
1255
|
$fault: "client",
|
|
1256
1256
|
$metadata: deserializeMetadata(output),
|
|
1257
1257
|
});
|
|
1258
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1258
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1259
1259
|
}
|
|
1260
1260
|
};
|
|
1261
1261
|
const deserializeAws_json1_1SendActivationCodeCommand = async (output, context) => {
|
|
@@ -1309,7 +1309,7 @@ const deserializeAws_json1_1SendActivationCodeCommandError = async (output, cont
|
|
|
1309
1309
|
$fault: "client",
|
|
1310
1310
|
$metadata: deserializeMetadata(output),
|
|
1311
1311
|
});
|
|
1312
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1312
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1313
1313
|
}
|
|
1314
1314
|
};
|
|
1315
1315
|
const deserializeAws_json1_1StartEngagementCommand = async (output, context) => {
|
|
@@ -1360,7 +1360,7 @@ const deserializeAws_json1_1StartEngagementCommandError = async (output, context
|
|
|
1360
1360
|
$fault: "client",
|
|
1361
1361
|
$metadata: deserializeMetadata(output),
|
|
1362
1362
|
});
|
|
1363
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1363
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1364
1364
|
}
|
|
1365
1365
|
};
|
|
1366
1366
|
const deserializeAws_json1_1StopEngagementCommand = async (output, context) => {
|
|
@@ -1408,7 +1408,7 @@ const deserializeAws_json1_1StopEngagementCommandError = async (output, context)
|
|
|
1408
1408
|
$fault: "client",
|
|
1409
1409
|
$metadata: deserializeMetadata(output),
|
|
1410
1410
|
});
|
|
1411
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1411
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1412
1412
|
}
|
|
1413
1413
|
};
|
|
1414
1414
|
const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
|
|
@@ -1459,7 +1459,7 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1459
1459
|
$fault: "client",
|
|
1460
1460
|
$metadata: deserializeMetadata(output),
|
|
1461
1461
|
});
|
|
1462
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1462
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1463
1463
|
}
|
|
1464
1464
|
};
|
|
1465
1465
|
const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
|
|
@@ -1507,7 +1507,7 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1507
1507
|
$fault: "client",
|
|
1508
1508
|
$metadata: deserializeMetadata(output),
|
|
1509
1509
|
});
|
|
1510
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1510
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1511
1511
|
}
|
|
1512
1512
|
};
|
|
1513
1513
|
const deserializeAws_json1_1UpdateContactCommand = async (output, context) => {
|
|
@@ -1561,7 +1561,7 @@ const deserializeAws_json1_1UpdateContactCommandError = async (output, context)
|
|
|
1561
1561
|
$fault: "client",
|
|
1562
1562
|
$metadata: deserializeMetadata(output),
|
|
1563
1563
|
});
|
|
1564
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1564
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1565
1565
|
}
|
|
1566
1566
|
};
|
|
1567
1567
|
const deserializeAws_json1_1UpdateContactChannelCommand = async (output, context) => {
|
|
@@ -1615,7 +1615,7 @@ const deserializeAws_json1_1UpdateContactChannelCommandError = async (output, co
|
|
|
1615
1615
|
$fault: "client",
|
|
1616
1616
|
$metadata: deserializeMetadata(output),
|
|
1617
1617
|
});
|
|
1618
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1618
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1619
1619
|
}
|
|
1620
1620
|
};
|
|
1621
1621
|
const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -1625,7 +1625,7 @@ const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput,
|
|
|
1625
1625
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1626
1626
|
...deserialized,
|
|
1627
1627
|
});
|
|
1628
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1628
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1629
1629
|
};
|
|
1630
1630
|
const deserializeAws_json1_1ConflictExceptionResponse = async (parsedOutput, context) => {
|
|
1631
1631
|
const body = parsedOutput.body;
|
|
@@ -1634,7 +1634,7 @@ const deserializeAws_json1_1ConflictExceptionResponse = async (parsedOutput, con
|
|
|
1634
1634
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1635
1635
|
...deserialized,
|
|
1636
1636
|
});
|
|
1637
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1637
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1638
1638
|
};
|
|
1639
1639
|
const deserializeAws_json1_1DataEncryptionExceptionResponse = async (parsedOutput, context) => {
|
|
1640
1640
|
const body = parsedOutput.body;
|
|
@@ -1643,7 +1643,7 @@ const deserializeAws_json1_1DataEncryptionExceptionResponse = async (parsedOutpu
|
|
|
1643
1643
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1644
1644
|
...deserialized,
|
|
1645
1645
|
});
|
|
1646
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1646
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1647
1647
|
};
|
|
1648
1648
|
const deserializeAws_json1_1InternalServerExceptionResponse = async (parsedOutput, context) => {
|
|
1649
1649
|
const body = parsedOutput.body;
|
|
@@ -1652,7 +1652,7 @@ const deserializeAws_json1_1InternalServerExceptionResponse = async (parsedOutpu
|
|
|
1652
1652
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1653
1653
|
...deserialized,
|
|
1654
1654
|
});
|
|
1655
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1655
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1656
1656
|
};
|
|
1657
1657
|
const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
1658
1658
|
const body = parsedOutput.body;
|
|
@@ -1661,7 +1661,7 @@ const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOut
|
|
|
1661
1661
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1662
1662
|
...deserialized,
|
|
1663
1663
|
});
|
|
1664
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1664
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1665
1665
|
};
|
|
1666
1666
|
const deserializeAws_json1_1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
|
|
1667
1667
|
const body = parsedOutput.body;
|
|
@@ -1670,7 +1670,7 @@ const deserializeAws_json1_1ServiceQuotaExceededExceptionResponse = async (parse
|
|
|
1670
1670
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1671
1671
|
...deserialized,
|
|
1672
1672
|
});
|
|
1673
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1673
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1674
1674
|
};
|
|
1675
1675
|
const deserializeAws_json1_1ThrottlingExceptionResponse = async (parsedOutput, context) => {
|
|
1676
1676
|
const body = parsedOutput.body;
|
|
@@ -1679,7 +1679,7 @@ const deserializeAws_json1_1ThrottlingExceptionResponse = async (parsedOutput, c
|
|
|
1679
1679
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1680
1680
|
...deserialized,
|
|
1681
1681
|
});
|
|
1682
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1682
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1683
1683
|
};
|
|
1684
1684
|
const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, context) => {
|
|
1685
1685
|
const body = parsedOutput.body;
|
|
@@ -1688,7 +1688,7 @@ const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, c
|
|
|
1688
1688
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1689
1689
|
...deserialized,
|
|
1690
1690
|
});
|
|
1691
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1691
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1692
1692
|
};
|
|
1693
1693
|
const serializeAws_json1_1AcceptPageRequest = (input, context) => {
|
|
1694
1694
|
return {
|
|
@@ -1739,7 +1739,7 @@ const serializeAws_json1_1CreateContactChannelRequest = (input, context) => {
|
|
|
1739
1739
|
input.DeliveryAddress !== null && {
|
|
1740
1740
|
DeliveryAddress: serializeAws_json1_1ContactChannelAddress(input.DeliveryAddress, context),
|
|
1741
1741
|
}),
|
|
1742
|
-
IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
1742
|
+
IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
1743
1743
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
1744
1744
|
...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
|
|
1745
1745
|
};
|
|
@@ -1749,7 +1749,7 @@ const serializeAws_json1_1CreateContactRequest = (input, context) => {
|
|
|
1749
1749
|
return {
|
|
1750
1750
|
...(input.Alias !== undefined && input.Alias !== null && { Alias: input.Alias }),
|
|
1751
1751
|
...(input.DisplayName !== undefined && input.DisplayName !== null && { DisplayName: input.DisplayName }),
|
|
1752
|
-
IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
1752
|
+
IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
1753
1753
|
...(input.Plan !== undefined && input.Plan !== null && { Plan: serializeAws_json1_1Plan(input.Plan, context) }),
|
|
1754
1754
|
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagsList(input.Tags, context) }),
|
|
1755
1755
|
...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
|
|
@@ -1891,7 +1891,7 @@ const serializeAws_json1_1StartEngagementRequest = (input, context) => {
|
|
|
1891
1891
|
return {
|
|
1892
1892
|
...(input.ContactId !== undefined && input.ContactId !== null && { ContactId: input.ContactId }),
|
|
1893
1893
|
...(input.Content !== undefined && input.Content !== null && { Content: input.Content }),
|
|
1894
|
-
IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
1894
|
+
IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
1895
1895
|
...(input.IncidentId !== undefined && input.IncidentId !== null && { IncidentId: input.IncidentId }),
|
|
1896
1896
|
...(input.PublicContent !== undefined && input.PublicContent !== null && { PublicContent: input.PublicContent }),
|
|
1897
1897
|
...(input.PublicSubject !== undefined && input.PublicSubject !== null && { PublicSubject: input.PublicSubject }),
|
|
@@ -1997,7 +1997,7 @@ const deserializeAws_json1_1AcceptPageResult = (output, context) => {
|
|
|
1997
1997
|
};
|
|
1998
1998
|
const deserializeAws_json1_1AccessDeniedException = (output, context) => {
|
|
1999
1999
|
return {
|
|
2000
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2000
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2001
2001
|
};
|
|
2002
2002
|
};
|
|
2003
2003
|
const deserializeAws_json1_1ActivateContactChannelResult = (output, context) => {
|
|
@@ -2005,40 +2005,40 @@ const deserializeAws_json1_1ActivateContactChannelResult = (output, context) =>
|
|
|
2005
2005
|
};
|
|
2006
2006
|
const deserializeAws_json1_1ChannelTargetInfo = (output, context) => {
|
|
2007
2007
|
return {
|
|
2008
|
-
ContactChannelId: smithy_client_1.expectString(output.ContactChannelId),
|
|
2009
|
-
RetryIntervalInMinutes: smithy_client_1.expectInt32(output.RetryIntervalInMinutes),
|
|
2008
|
+
ContactChannelId: (0, smithy_client_1.expectString)(output.ContactChannelId),
|
|
2009
|
+
RetryIntervalInMinutes: (0, smithy_client_1.expectInt32)(output.RetryIntervalInMinutes),
|
|
2010
2010
|
};
|
|
2011
2011
|
};
|
|
2012
2012
|
const deserializeAws_json1_1ConflictException = (output, context) => {
|
|
2013
2013
|
return {
|
|
2014
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2015
|
-
ResourceId: smithy_client_1.expectString(output.ResourceId),
|
|
2016
|
-
ResourceType: smithy_client_1.expectString(output.ResourceType),
|
|
2014
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2015
|
+
ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
|
|
2016
|
+
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
2017
2017
|
};
|
|
2018
2018
|
};
|
|
2019
2019
|
const deserializeAws_json1_1Contact = (output, context) => {
|
|
2020
2020
|
return {
|
|
2021
|
-
Alias: smithy_client_1.expectString(output.Alias),
|
|
2022
|
-
ContactArn: smithy_client_1.expectString(output.ContactArn),
|
|
2023
|
-
DisplayName: smithy_client_1.expectString(output.DisplayName),
|
|
2024
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
2021
|
+
Alias: (0, smithy_client_1.expectString)(output.Alias),
|
|
2022
|
+
ContactArn: (0, smithy_client_1.expectString)(output.ContactArn),
|
|
2023
|
+
DisplayName: (0, smithy_client_1.expectString)(output.DisplayName),
|
|
2024
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2025
2025
|
};
|
|
2026
2026
|
};
|
|
2027
2027
|
const deserializeAws_json1_1ContactChannel = (output, context) => {
|
|
2028
2028
|
return {
|
|
2029
|
-
ActivationStatus: smithy_client_1.expectString(output.ActivationStatus),
|
|
2030
|
-
ContactArn: smithy_client_1.expectString(output.ContactArn),
|
|
2031
|
-
ContactChannelArn: smithy_client_1.expectString(output.ContactChannelArn),
|
|
2029
|
+
ActivationStatus: (0, smithy_client_1.expectString)(output.ActivationStatus),
|
|
2030
|
+
ContactArn: (0, smithy_client_1.expectString)(output.ContactArn),
|
|
2031
|
+
ContactChannelArn: (0, smithy_client_1.expectString)(output.ContactChannelArn),
|
|
2032
2032
|
DeliveryAddress: output.DeliveryAddress !== undefined && output.DeliveryAddress !== null
|
|
2033
2033
|
? deserializeAws_json1_1ContactChannelAddress(output.DeliveryAddress, context)
|
|
2034
2034
|
: undefined,
|
|
2035
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
2036
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
2035
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2036
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2037
2037
|
};
|
|
2038
2038
|
};
|
|
2039
2039
|
const deserializeAws_json1_1ContactChannelAddress = (output, context) => {
|
|
2040
2040
|
return {
|
|
2041
|
-
SimpleAddress: smithy_client_1.expectString(output.SimpleAddress),
|
|
2041
|
+
SimpleAddress: (0, smithy_client_1.expectString)(output.SimpleAddress),
|
|
2042
2042
|
};
|
|
2043
2043
|
};
|
|
2044
2044
|
const deserializeAws_json1_1ContactChannelList = (output, context) => {
|
|
@@ -2065,23 +2065,23 @@ const deserializeAws_json1_1ContactsList = (output, context) => {
|
|
|
2065
2065
|
};
|
|
2066
2066
|
const deserializeAws_json1_1ContactTargetInfo = (output, context) => {
|
|
2067
2067
|
return {
|
|
2068
|
-
ContactId: smithy_client_1.expectString(output.ContactId),
|
|
2069
|
-
IsEssential: smithy_client_1.expectBoolean(output.IsEssential),
|
|
2068
|
+
ContactId: (0, smithy_client_1.expectString)(output.ContactId),
|
|
2069
|
+
IsEssential: (0, smithy_client_1.expectBoolean)(output.IsEssential),
|
|
2070
2070
|
};
|
|
2071
2071
|
};
|
|
2072
2072
|
const deserializeAws_json1_1CreateContactChannelResult = (output, context) => {
|
|
2073
2073
|
return {
|
|
2074
|
-
ContactChannelArn: smithy_client_1.expectString(output.ContactChannelArn),
|
|
2074
|
+
ContactChannelArn: (0, smithy_client_1.expectString)(output.ContactChannelArn),
|
|
2075
2075
|
};
|
|
2076
2076
|
};
|
|
2077
2077
|
const deserializeAws_json1_1CreateContactResult = (output, context) => {
|
|
2078
2078
|
return {
|
|
2079
|
-
ContactArn: smithy_client_1.expectString(output.ContactArn),
|
|
2079
|
+
ContactArn: (0, smithy_client_1.expectString)(output.ContactArn),
|
|
2080
2080
|
};
|
|
2081
2081
|
};
|
|
2082
2082
|
const deserializeAws_json1_1DataEncryptionException = (output, context) => {
|
|
2083
2083
|
return {
|
|
2084
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2084
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2085
2085
|
};
|
|
2086
2086
|
};
|
|
2087
2087
|
const deserializeAws_json1_1DeactivateContactChannelResult = (output, context) => {
|
|
@@ -2095,55 +2095,55 @@ const deserializeAws_json1_1DeleteContactResult = (output, context) => {
|
|
|
2095
2095
|
};
|
|
2096
2096
|
const deserializeAws_json1_1DescribeEngagementResult = (output, context) => {
|
|
2097
2097
|
return {
|
|
2098
|
-
ContactArn: smithy_client_1.expectString(output.ContactArn),
|
|
2099
|
-
Content: smithy_client_1.expectString(output.Content),
|
|
2100
|
-
EngagementArn: smithy_client_1.expectString(output.EngagementArn),
|
|
2101
|
-
IncidentId: smithy_client_1.expectString(output.IncidentId),
|
|
2102
|
-
PublicContent: smithy_client_1.expectString(output.PublicContent),
|
|
2103
|
-
PublicSubject: smithy_client_1.expectString(output.PublicSubject),
|
|
2104
|
-
Sender: smithy_client_1.expectString(output.Sender),
|
|
2098
|
+
ContactArn: (0, smithy_client_1.expectString)(output.ContactArn),
|
|
2099
|
+
Content: (0, smithy_client_1.expectString)(output.Content),
|
|
2100
|
+
EngagementArn: (0, smithy_client_1.expectString)(output.EngagementArn),
|
|
2101
|
+
IncidentId: (0, smithy_client_1.expectString)(output.IncidentId),
|
|
2102
|
+
PublicContent: (0, smithy_client_1.expectString)(output.PublicContent),
|
|
2103
|
+
PublicSubject: (0, smithy_client_1.expectString)(output.PublicSubject),
|
|
2104
|
+
Sender: (0, smithy_client_1.expectString)(output.Sender),
|
|
2105
2105
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
2106
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
|
|
2106
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
|
|
2107
2107
|
: undefined,
|
|
2108
2108
|
StopTime: output.StopTime !== undefined && output.StopTime !== null
|
|
2109
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StopTime)))
|
|
2109
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StopTime)))
|
|
2110
2110
|
: undefined,
|
|
2111
|
-
Subject: smithy_client_1.expectString(output.Subject),
|
|
2111
|
+
Subject: (0, smithy_client_1.expectString)(output.Subject),
|
|
2112
2112
|
};
|
|
2113
2113
|
};
|
|
2114
2114
|
const deserializeAws_json1_1DescribePageResult = (output, context) => {
|
|
2115
2115
|
return {
|
|
2116
|
-
ContactArn: smithy_client_1.expectString(output.ContactArn),
|
|
2117
|
-
Content: smithy_client_1.expectString(output.Content),
|
|
2116
|
+
ContactArn: (0, smithy_client_1.expectString)(output.ContactArn),
|
|
2117
|
+
Content: (0, smithy_client_1.expectString)(output.Content),
|
|
2118
2118
|
DeliveryTime: output.DeliveryTime !== undefined && output.DeliveryTime !== null
|
|
2119
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DeliveryTime)))
|
|
2119
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeliveryTime)))
|
|
2120
2120
|
: undefined,
|
|
2121
|
-
EngagementArn: smithy_client_1.expectString(output.EngagementArn),
|
|
2122
|
-
IncidentId: smithy_client_1.expectString(output.IncidentId),
|
|
2123
|
-
PageArn: smithy_client_1.expectString(output.PageArn),
|
|
2124
|
-
PublicContent: smithy_client_1.expectString(output.PublicContent),
|
|
2125
|
-
PublicSubject: smithy_client_1.expectString(output.PublicSubject),
|
|
2121
|
+
EngagementArn: (0, smithy_client_1.expectString)(output.EngagementArn),
|
|
2122
|
+
IncidentId: (0, smithy_client_1.expectString)(output.IncidentId),
|
|
2123
|
+
PageArn: (0, smithy_client_1.expectString)(output.PageArn),
|
|
2124
|
+
PublicContent: (0, smithy_client_1.expectString)(output.PublicContent),
|
|
2125
|
+
PublicSubject: (0, smithy_client_1.expectString)(output.PublicSubject),
|
|
2126
2126
|
ReadTime: output.ReadTime !== undefined && output.ReadTime !== null
|
|
2127
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ReadTime)))
|
|
2127
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ReadTime)))
|
|
2128
2128
|
: undefined,
|
|
2129
|
-
Sender: smithy_client_1.expectString(output.Sender),
|
|
2129
|
+
Sender: (0, smithy_client_1.expectString)(output.Sender),
|
|
2130
2130
|
SentTime: output.SentTime !== undefined && output.SentTime !== null
|
|
2131
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SentTime)))
|
|
2131
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SentTime)))
|
|
2132
2132
|
: undefined,
|
|
2133
|
-
Subject: smithy_client_1.expectString(output.Subject),
|
|
2133
|
+
Subject: (0, smithy_client_1.expectString)(output.Subject),
|
|
2134
2134
|
};
|
|
2135
2135
|
};
|
|
2136
2136
|
const deserializeAws_json1_1Engagement = (output, context) => {
|
|
2137
2137
|
return {
|
|
2138
|
-
ContactArn: smithy_client_1.expectString(output.ContactArn),
|
|
2139
|
-
EngagementArn: smithy_client_1.expectString(output.EngagementArn),
|
|
2140
|
-
IncidentId: smithy_client_1.expectString(output.IncidentId),
|
|
2141
|
-
Sender: smithy_client_1.expectString(output.Sender),
|
|
2138
|
+
ContactArn: (0, smithy_client_1.expectString)(output.ContactArn),
|
|
2139
|
+
EngagementArn: (0, smithy_client_1.expectString)(output.EngagementArn),
|
|
2140
|
+
IncidentId: (0, smithy_client_1.expectString)(output.IncidentId),
|
|
2141
|
+
Sender: (0, smithy_client_1.expectString)(output.Sender),
|
|
2142
2142
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
2143
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
|
|
2143
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
|
|
2144
2144
|
: undefined,
|
|
2145
2145
|
StopTime: output.StopTime !== undefined && output.StopTime !== null
|
|
2146
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StopTime)))
|
|
2146
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StopTime)))
|
|
2147
2147
|
: undefined,
|
|
2148
2148
|
};
|
|
2149
2149
|
};
|
|
@@ -2160,35 +2160,35 @@ const deserializeAws_json1_1EngagementsList = (output, context) => {
|
|
|
2160
2160
|
};
|
|
2161
2161
|
const deserializeAws_json1_1GetContactChannelResult = (output, context) => {
|
|
2162
2162
|
return {
|
|
2163
|
-
ActivationStatus: smithy_client_1.expectString(output.ActivationStatus),
|
|
2164
|
-
ContactArn: smithy_client_1.expectString(output.ContactArn),
|
|
2165
|
-
ContactChannelArn: smithy_client_1.expectString(output.ContactChannelArn),
|
|
2163
|
+
ActivationStatus: (0, smithy_client_1.expectString)(output.ActivationStatus),
|
|
2164
|
+
ContactArn: (0, smithy_client_1.expectString)(output.ContactArn),
|
|
2165
|
+
ContactChannelArn: (0, smithy_client_1.expectString)(output.ContactChannelArn),
|
|
2166
2166
|
DeliveryAddress: output.DeliveryAddress !== undefined && output.DeliveryAddress !== null
|
|
2167
2167
|
? deserializeAws_json1_1ContactChannelAddress(output.DeliveryAddress, context)
|
|
2168
2168
|
: undefined,
|
|
2169
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
2170
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
2169
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2170
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2171
2171
|
};
|
|
2172
2172
|
};
|
|
2173
2173
|
const deserializeAws_json1_1GetContactPolicyResult = (output, context) => {
|
|
2174
2174
|
return {
|
|
2175
|
-
ContactArn: smithy_client_1.expectString(output.ContactArn),
|
|
2176
|
-
Policy: smithy_client_1.expectString(output.Policy),
|
|
2175
|
+
ContactArn: (0, smithy_client_1.expectString)(output.ContactArn),
|
|
2176
|
+
Policy: (0, smithy_client_1.expectString)(output.Policy),
|
|
2177
2177
|
};
|
|
2178
2178
|
};
|
|
2179
2179
|
const deserializeAws_json1_1GetContactResult = (output, context) => {
|
|
2180
2180
|
return {
|
|
2181
|
-
Alias: smithy_client_1.expectString(output.Alias),
|
|
2182
|
-
ContactArn: smithy_client_1.expectString(output.ContactArn),
|
|
2183
|
-
DisplayName: smithy_client_1.expectString(output.DisplayName),
|
|
2181
|
+
Alias: (0, smithy_client_1.expectString)(output.Alias),
|
|
2182
|
+
ContactArn: (0, smithy_client_1.expectString)(output.ContactArn),
|
|
2183
|
+
DisplayName: (0, smithy_client_1.expectString)(output.DisplayName),
|
|
2184
2184
|
Plan: output.Plan !== undefined && output.Plan !== null ? deserializeAws_json1_1Plan(output.Plan, context) : undefined,
|
|
2185
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
2185
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2186
2186
|
};
|
|
2187
2187
|
};
|
|
2188
2188
|
const deserializeAws_json1_1InternalServerException = (output, context) => {
|
|
2189
2189
|
return {
|
|
2190
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2191
|
-
RetryAfterSeconds: smithy_client_1.expectInt32(output.RetryAfterSeconds),
|
|
2190
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2191
|
+
RetryAfterSeconds: (0, smithy_client_1.expectInt32)(output.RetryAfterSeconds),
|
|
2192
2192
|
};
|
|
2193
2193
|
};
|
|
2194
2194
|
const deserializeAws_json1_1ListContactChannelsResult = (output, context) => {
|
|
@@ -2196,7 +2196,7 @@ const deserializeAws_json1_1ListContactChannelsResult = (output, context) => {
|
|
|
2196
2196
|
ContactChannels: output.ContactChannels !== undefined && output.ContactChannels !== null
|
|
2197
2197
|
? deserializeAws_json1_1ContactChannelList(output.ContactChannels, context)
|
|
2198
2198
|
: undefined,
|
|
2199
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2199
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2200
2200
|
};
|
|
2201
2201
|
};
|
|
2202
2202
|
const deserializeAws_json1_1ListContactsResult = (output, context) => {
|
|
@@ -2204,7 +2204,7 @@ const deserializeAws_json1_1ListContactsResult = (output, context) => {
|
|
|
2204
2204
|
Contacts: output.Contacts !== undefined && output.Contacts !== null
|
|
2205
2205
|
? deserializeAws_json1_1ContactsList(output.Contacts, context)
|
|
2206
2206
|
: undefined,
|
|
2207
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2207
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2208
2208
|
};
|
|
2209
2209
|
};
|
|
2210
2210
|
const deserializeAws_json1_1ListEngagementsResult = (output, context) => {
|
|
@@ -2212,12 +2212,12 @@ const deserializeAws_json1_1ListEngagementsResult = (output, context) => {
|
|
|
2212
2212
|
Engagements: output.Engagements !== undefined && output.Engagements !== null
|
|
2213
2213
|
? deserializeAws_json1_1EngagementsList(output.Engagements, context)
|
|
2214
2214
|
: undefined,
|
|
2215
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2215
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2216
2216
|
};
|
|
2217
2217
|
};
|
|
2218
2218
|
const deserializeAws_json1_1ListPageReceiptsResult = (output, context) => {
|
|
2219
2219
|
return {
|
|
2220
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2220
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2221
2221
|
Receipts: output.Receipts !== undefined && output.Receipts !== null
|
|
2222
2222
|
? deserializeAws_json1_1ReceiptsList(output.Receipts, context)
|
|
2223
2223
|
: undefined,
|
|
@@ -2225,7 +2225,7 @@ const deserializeAws_json1_1ListPageReceiptsResult = (output, context) => {
|
|
|
2225
2225
|
};
|
|
2226
2226
|
const deserializeAws_json1_1ListPagesByContactResult = (output, context) => {
|
|
2227
2227
|
return {
|
|
2228
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2228
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2229
2229
|
Pages: output.Pages !== undefined && output.Pages !== null
|
|
2230
2230
|
? deserializeAws_json1_1PagesList(output.Pages, context)
|
|
2231
2231
|
: undefined,
|
|
@@ -2233,7 +2233,7 @@ const deserializeAws_json1_1ListPagesByContactResult = (output, context) => {
|
|
|
2233
2233
|
};
|
|
2234
2234
|
const deserializeAws_json1_1ListPagesByEngagementResult = (output, context) => {
|
|
2235
2235
|
return {
|
|
2236
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2236
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2237
2237
|
Pages: output.Pages !== undefined && output.Pages !== null
|
|
2238
2238
|
? deserializeAws_json1_1PagesList(output.Pages, context)
|
|
2239
2239
|
: undefined,
|
|
@@ -2248,19 +2248,19 @@ const deserializeAws_json1_1ListTagsForResourceResult = (output, context) => {
|
|
|
2248
2248
|
};
|
|
2249
2249
|
const deserializeAws_json1_1Page = (output, context) => {
|
|
2250
2250
|
return {
|
|
2251
|
-
ContactArn: smithy_client_1.expectString(output.ContactArn),
|
|
2251
|
+
ContactArn: (0, smithy_client_1.expectString)(output.ContactArn),
|
|
2252
2252
|
DeliveryTime: output.DeliveryTime !== undefined && output.DeliveryTime !== null
|
|
2253
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DeliveryTime)))
|
|
2253
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeliveryTime)))
|
|
2254
2254
|
: undefined,
|
|
2255
|
-
EngagementArn: smithy_client_1.expectString(output.EngagementArn),
|
|
2256
|
-
IncidentId: smithy_client_1.expectString(output.IncidentId),
|
|
2257
|
-
PageArn: smithy_client_1.expectString(output.PageArn),
|
|
2255
|
+
EngagementArn: (0, smithy_client_1.expectString)(output.EngagementArn),
|
|
2256
|
+
IncidentId: (0, smithy_client_1.expectString)(output.IncidentId),
|
|
2257
|
+
PageArn: (0, smithy_client_1.expectString)(output.PageArn),
|
|
2258
2258
|
ReadTime: output.ReadTime !== undefined && output.ReadTime !== null
|
|
2259
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ReadTime)))
|
|
2259
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ReadTime)))
|
|
2260
2260
|
: undefined,
|
|
2261
|
-
Sender: smithy_client_1.expectString(output.Sender),
|
|
2261
|
+
Sender: (0, smithy_client_1.expectString)(output.Sender),
|
|
2262
2262
|
SentTime: output.SentTime !== undefined && output.SentTime !== null
|
|
2263
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SentTime)))
|
|
2263
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.SentTime)))
|
|
2264
2264
|
: undefined,
|
|
2265
2265
|
};
|
|
2266
2266
|
};
|
|
@@ -2287,12 +2287,12 @@ const deserializeAws_json1_1PutContactPolicyResult = (output, context) => {
|
|
|
2287
2287
|
};
|
|
2288
2288
|
const deserializeAws_json1_1Receipt = (output, context) => {
|
|
2289
2289
|
return {
|
|
2290
|
-
ContactChannelArn: smithy_client_1.expectString(output.ContactChannelArn),
|
|
2291
|
-
ReceiptInfo: smithy_client_1.expectString(output.ReceiptInfo),
|
|
2290
|
+
ContactChannelArn: (0, smithy_client_1.expectString)(output.ContactChannelArn),
|
|
2291
|
+
ReceiptInfo: (0, smithy_client_1.expectString)(output.ReceiptInfo),
|
|
2292
2292
|
ReceiptTime: output.ReceiptTime !== undefined && output.ReceiptTime !== null
|
|
2293
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ReceiptTime)))
|
|
2293
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ReceiptTime)))
|
|
2294
2294
|
: undefined,
|
|
2295
|
-
ReceiptType: smithy_client_1.expectString(output.ReceiptType),
|
|
2295
|
+
ReceiptType: (0, smithy_client_1.expectString)(output.ReceiptType),
|
|
2296
2296
|
};
|
|
2297
2297
|
};
|
|
2298
2298
|
const deserializeAws_json1_1ReceiptsList = (output, context) => {
|
|
@@ -2308,9 +2308,9 @@ const deserializeAws_json1_1ReceiptsList = (output, context) => {
|
|
|
2308
2308
|
};
|
|
2309
2309
|
const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
|
|
2310
2310
|
return {
|
|
2311
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2312
|
-
ResourceId: smithy_client_1.expectString(output.ResourceId),
|
|
2313
|
-
ResourceType: smithy_client_1.expectString(output.ResourceType),
|
|
2311
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2312
|
+
ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
|
|
2313
|
+
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
2314
2314
|
};
|
|
2315
2315
|
};
|
|
2316
2316
|
const deserializeAws_json1_1SendActivationCodeResult = (output, context) => {
|
|
@@ -2318,16 +2318,16 @@ const deserializeAws_json1_1SendActivationCodeResult = (output, context) => {
|
|
|
2318
2318
|
};
|
|
2319
2319
|
const deserializeAws_json1_1ServiceQuotaExceededException = (output, context) => {
|
|
2320
2320
|
return {
|
|
2321
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2322
|
-
QuotaCode: smithy_client_1.expectString(output.QuotaCode),
|
|
2323
|
-
ResourceId: smithy_client_1.expectString(output.ResourceId),
|
|
2324
|
-
ResourceType: smithy_client_1.expectString(output.ResourceType),
|
|
2325
|
-
ServiceCode: smithy_client_1.expectString(output.ServiceCode),
|
|
2321
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2322
|
+
QuotaCode: (0, smithy_client_1.expectString)(output.QuotaCode),
|
|
2323
|
+
ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
|
|
2324
|
+
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
2325
|
+
ServiceCode: (0, smithy_client_1.expectString)(output.ServiceCode),
|
|
2326
2326
|
};
|
|
2327
2327
|
};
|
|
2328
2328
|
const deserializeAws_json1_1Stage = (output, context) => {
|
|
2329
2329
|
return {
|
|
2330
|
-
DurationInMinutes: smithy_client_1.expectInt32(output.DurationInMinutes),
|
|
2330
|
+
DurationInMinutes: (0, smithy_client_1.expectInt32)(output.DurationInMinutes),
|
|
2331
2331
|
Targets: output.Targets !== undefined && output.Targets !== null
|
|
2332
2332
|
? deserializeAws_json1_1TargetsList(output.Targets, context)
|
|
2333
2333
|
: undefined,
|
|
@@ -2346,7 +2346,7 @@ const deserializeAws_json1_1StagesList = (output, context) => {
|
|
|
2346
2346
|
};
|
|
2347
2347
|
const deserializeAws_json1_1StartEngagementResult = (output, context) => {
|
|
2348
2348
|
return {
|
|
2349
|
-
EngagementArn: smithy_client_1.expectString(output.EngagementArn),
|
|
2349
|
+
EngagementArn: (0, smithy_client_1.expectString)(output.EngagementArn),
|
|
2350
2350
|
};
|
|
2351
2351
|
};
|
|
2352
2352
|
const deserializeAws_json1_1StopEngagementResult = (output, context) => {
|
|
@@ -2354,8 +2354,8 @@ const deserializeAws_json1_1StopEngagementResult = (output, context) => {
|
|
|
2354
2354
|
};
|
|
2355
2355
|
const deserializeAws_json1_1Tag = (output, context) => {
|
|
2356
2356
|
return {
|
|
2357
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
2358
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
2357
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
2358
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
2359
2359
|
};
|
|
2360
2360
|
};
|
|
2361
2361
|
const deserializeAws_json1_1TagResourceResult = (output, context) => {
|
|
@@ -2395,10 +2395,10 @@ const deserializeAws_json1_1TargetsList = (output, context) => {
|
|
|
2395
2395
|
};
|
|
2396
2396
|
const deserializeAws_json1_1ThrottlingException = (output, context) => {
|
|
2397
2397
|
return {
|
|
2398
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2399
|
-
QuotaCode: smithy_client_1.expectString(output.QuotaCode),
|
|
2400
|
-
RetryAfterSeconds: smithy_client_1.expectInt32(output.RetryAfterSeconds),
|
|
2401
|
-
ServiceCode: smithy_client_1.expectString(output.ServiceCode),
|
|
2398
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2399
|
+
QuotaCode: (0, smithy_client_1.expectString)(output.QuotaCode),
|
|
2400
|
+
RetryAfterSeconds: (0, smithy_client_1.expectInt32)(output.RetryAfterSeconds),
|
|
2401
|
+
ServiceCode: (0, smithy_client_1.expectString)(output.ServiceCode),
|
|
2402
2402
|
};
|
|
2403
2403
|
};
|
|
2404
2404
|
const deserializeAws_json1_1UntagResourceResult = (output, context) => {
|
|
@@ -2415,14 +2415,14 @@ const deserializeAws_json1_1ValidationException = (output, context) => {
|
|
|
2415
2415
|
Fields: output.Fields !== undefined && output.Fields !== null
|
|
2416
2416
|
? deserializeAws_json1_1ValidationExceptionFieldList(output.Fields, context)
|
|
2417
2417
|
: undefined,
|
|
2418
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2419
|
-
Reason: smithy_client_1.expectString(output.Reason),
|
|
2418
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2419
|
+
Reason: (0, smithy_client_1.expectString)(output.Reason),
|
|
2420
2420
|
};
|
|
2421
2421
|
};
|
|
2422
2422
|
const deserializeAws_json1_1ValidationExceptionField = (output, context) => {
|
|
2423
2423
|
return {
|
|
2424
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
2425
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
2424
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2425
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2426
2426
|
};
|
|
2427
2427
|
};
|
|
2428
2428
|
const deserializeAws_json1_1ValidationExceptionFieldList = (output, context) => {
|