@aws-sdk/client-route53-recovery-readiness 3.523.0 → 3.529.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/dist-cjs/index.js +28 -68
- package/dist-es/protocols/Aws_restJson1.js +1 -40
- package/package.json +17 -17
- package/dist-cjs/Route53RecoveryReadiness.js +0 -1
- package/dist-cjs/Route53RecoveryReadinessClient.js +0 -1
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -1
- package/dist-cjs/commands/CreateCellCommand.js +0 -1
- package/dist-cjs/commands/CreateCrossAccountAuthorizationCommand.js +0 -1
- package/dist-cjs/commands/CreateReadinessCheckCommand.js +0 -1
- package/dist-cjs/commands/CreateRecoveryGroupCommand.js +0 -1
- package/dist-cjs/commands/CreateResourceSetCommand.js +0 -1
- package/dist-cjs/commands/DeleteCellCommand.js +0 -1
- package/dist-cjs/commands/DeleteCrossAccountAuthorizationCommand.js +0 -1
- package/dist-cjs/commands/DeleteReadinessCheckCommand.js +0 -1
- package/dist-cjs/commands/DeleteRecoveryGroupCommand.js +0 -1
- package/dist-cjs/commands/DeleteResourceSetCommand.js +0 -1
- package/dist-cjs/commands/GetArchitectureRecommendationsCommand.js +0 -1
- package/dist-cjs/commands/GetCellCommand.js +0 -1
- package/dist-cjs/commands/GetCellReadinessSummaryCommand.js +0 -1
- package/dist-cjs/commands/GetReadinessCheckCommand.js +0 -1
- package/dist-cjs/commands/GetReadinessCheckResourceStatusCommand.js +0 -1
- package/dist-cjs/commands/GetReadinessCheckStatusCommand.js +0 -1
- package/dist-cjs/commands/GetRecoveryGroupCommand.js +0 -1
- package/dist-cjs/commands/GetRecoveryGroupReadinessSummaryCommand.js +0 -1
- package/dist-cjs/commands/GetResourceSetCommand.js +0 -1
- package/dist-cjs/commands/ListCellsCommand.js +0 -1
- package/dist-cjs/commands/ListCrossAccountAuthorizationsCommand.js +0 -1
- package/dist-cjs/commands/ListReadinessChecksCommand.js +0 -1
- package/dist-cjs/commands/ListRecoveryGroupsCommand.js +0 -1
- package/dist-cjs/commands/ListResourceSetsCommand.js +0 -1
- package/dist-cjs/commands/ListRulesCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourcesCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateCellCommand.js +0 -1
- package/dist-cjs/commands/UpdateReadinessCheckCommand.js +0 -1
- package/dist-cjs/commands/UpdateRecoveryGroupCommand.js +0 -1
- package/dist-cjs/commands/UpdateResourceSetCommand.js +0 -1
- package/dist-cjs/commands/index.js +0 -1
- package/dist-cjs/endpoint/EndpointParameters.js +0 -1
- package/dist-cjs/extensionConfiguration.js +0 -1
- package/dist-cjs/models/Route53RecoveryReadinessServiceException.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/GetCellReadinessSummaryPaginator.js +0 -1
- package/dist-cjs/pagination/GetReadinessCheckResourceStatusPaginator.js +0 -1
- package/dist-cjs/pagination/GetReadinessCheckStatusPaginator.js +0 -1
- package/dist-cjs/pagination/GetRecoveryGroupReadinessSummaryPaginator.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListCellsPaginator.js +0 -1
- package/dist-cjs/pagination/ListCrossAccountAuthorizationsPaginator.js +0 -1
- package/dist-cjs/pagination/ListReadinessChecksPaginator.js +0 -1
- package/dist-cjs/pagination/ListRecoveryGroupsPaginator.js +0 -1
- package/dist-cjs/pagination/ListResourceSetsPaginator.js +0 -1
- package/dist-cjs/pagination/ListRulesPaginator.js +0 -1
- package/dist-cjs/pagination/index.js +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1
- package/dist-cjs/runtimeExtensions.js +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -230,6 +230,7 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
230
230
|
var import_types = require("@smithy/types");
|
|
231
231
|
|
|
232
232
|
// src/protocols/Aws_restJson1.ts
|
|
233
|
+
var import_core2 = require("@aws-sdk/core");
|
|
233
234
|
|
|
234
235
|
|
|
235
236
|
|
|
@@ -780,7 +781,7 @@ var de_CreateCellCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
780
781
|
const contents = (0, import_smithy_client.map)({
|
|
781
782
|
$metadata: deserializeMetadata(output)
|
|
782
783
|
});
|
|
783
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
784
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
784
785
|
const doc = (0, import_smithy_client.take)(data, {
|
|
785
786
|
CellArn: [, import_smithy_client.expectString, `cellArn`],
|
|
786
787
|
CellName: [, import_smithy_client.expectString, `cellName`],
|
|
@@ -798,7 +799,7 @@ var de_CreateCrossAccountAuthorizationCommand = /* @__PURE__ */ __name(async (ou
|
|
|
798
799
|
const contents = (0, import_smithy_client.map)({
|
|
799
800
|
$metadata: deserializeMetadata(output)
|
|
800
801
|
});
|
|
801
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
802
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
802
803
|
const doc = (0, import_smithy_client.take)(data, {
|
|
803
804
|
CrossAccountAuthorization: [, import_smithy_client.expectString, `crossAccountAuthorization`]
|
|
804
805
|
});
|
|
@@ -812,7 +813,7 @@ var de_CreateReadinessCheckCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
812
813
|
const contents = (0, import_smithy_client.map)({
|
|
813
814
|
$metadata: deserializeMetadata(output)
|
|
814
815
|
});
|
|
815
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
816
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
816
817
|
const doc = (0, import_smithy_client.take)(data, {
|
|
817
818
|
ReadinessCheckArn: [, import_smithy_client.expectString, `readinessCheckArn`],
|
|
818
819
|
ReadinessCheckName: [, import_smithy_client.expectString, `readinessCheckName`],
|
|
@@ -829,7 +830,7 @@ var de_CreateRecoveryGroupCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
829
830
|
const contents = (0, import_smithy_client.map)({
|
|
830
831
|
$metadata: deserializeMetadata(output)
|
|
831
832
|
});
|
|
832
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
833
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
833
834
|
const doc = (0, import_smithy_client.take)(data, {
|
|
834
835
|
Cells: [, import_smithy_client._json, `cells`],
|
|
835
836
|
RecoveryGroupArn: [, import_smithy_client.expectString, `recoveryGroupArn`],
|
|
@@ -846,7 +847,7 @@ var de_CreateResourceSetCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
846
847
|
const contents = (0, import_smithy_client.map)({
|
|
847
848
|
$metadata: deserializeMetadata(output)
|
|
848
849
|
});
|
|
849
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
850
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
850
851
|
const doc = (0, import_smithy_client.take)(data, {
|
|
851
852
|
ResourceSetArn: [, import_smithy_client.expectString, `resourceSetArn`],
|
|
852
853
|
ResourceSetName: [, import_smithy_client.expectString, `resourceSetName`],
|
|
@@ -914,7 +915,7 @@ var de_GetArchitectureRecommendationsCommand = /* @__PURE__ */ __name(async (out
|
|
|
914
915
|
const contents = (0, import_smithy_client.map)({
|
|
915
916
|
$metadata: deserializeMetadata(output)
|
|
916
917
|
});
|
|
917
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
918
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
918
919
|
const doc = (0, import_smithy_client.take)(data, {
|
|
919
920
|
LastAuditTimestamp: [, (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), `lastAuditTimestamp`],
|
|
920
921
|
NextToken: [, import_smithy_client.expectString, `nextToken`],
|
|
@@ -930,7 +931,7 @@ var de_GetCellCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
930
931
|
const contents = (0, import_smithy_client.map)({
|
|
931
932
|
$metadata: deserializeMetadata(output)
|
|
932
933
|
});
|
|
933
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
934
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
934
935
|
const doc = (0, import_smithy_client.take)(data, {
|
|
935
936
|
CellArn: [, import_smithy_client.expectString, `cellArn`],
|
|
936
937
|
CellName: [, import_smithy_client.expectString, `cellName`],
|
|
@@ -948,7 +949,7 @@ var de_GetCellReadinessSummaryCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
948
949
|
const contents = (0, import_smithy_client.map)({
|
|
949
950
|
$metadata: deserializeMetadata(output)
|
|
950
951
|
});
|
|
951
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
952
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
952
953
|
const doc = (0, import_smithy_client.take)(data, {
|
|
953
954
|
NextToken: [, import_smithy_client.expectString, `nextToken`],
|
|
954
955
|
Readiness: [, import_smithy_client.expectString, `readiness`],
|
|
@@ -964,7 +965,7 @@ var de_GetReadinessCheckCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
964
965
|
const contents = (0, import_smithy_client.map)({
|
|
965
966
|
$metadata: deserializeMetadata(output)
|
|
966
967
|
});
|
|
967
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
968
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
968
969
|
const doc = (0, import_smithy_client.take)(data, {
|
|
969
970
|
ReadinessCheckArn: [, import_smithy_client.expectString, `readinessCheckArn`],
|
|
970
971
|
ReadinessCheckName: [, import_smithy_client.expectString, `readinessCheckName`],
|
|
@@ -981,7 +982,7 @@ var de_GetReadinessCheckResourceStatusCommand = /* @__PURE__ */ __name(async (ou
|
|
|
981
982
|
const contents = (0, import_smithy_client.map)({
|
|
982
983
|
$metadata: deserializeMetadata(output)
|
|
983
984
|
});
|
|
984
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
985
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
985
986
|
const doc = (0, import_smithy_client.take)(data, {
|
|
986
987
|
NextToken: [, import_smithy_client.expectString, `nextToken`],
|
|
987
988
|
Readiness: [, import_smithy_client.expectString, `readiness`],
|
|
@@ -997,7 +998,7 @@ var de_GetReadinessCheckStatusCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
997
998
|
const contents = (0, import_smithy_client.map)({
|
|
998
999
|
$metadata: deserializeMetadata(output)
|
|
999
1000
|
});
|
|
1000
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1001
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1001
1002
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1002
1003
|
Messages: [, (_) => de___listOfMessage(_, context), `messages`],
|
|
1003
1004
|
NextToken: [, import_smithy_client.expectString, `nextToken`],
|
|
@@ -1014,7 +1015,7 @@ var de_GetRecoveryGroupCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1014
1015
|
const contents = (0, import_smithy_client.map)({
|
|
1015
1016
|
$metadata: deserializeMetadata(output)
|
|
1016
1017
|
});
|
|
1017
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1018
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1018
1019
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1019
1020
|
Cells: [, import_smithy_client._json, `cells`],
|
|
1020
1021
|
RecoveryGroupArn: [, import_smithy_client.expectString, `recoveryGroupArn`],
|
|
@@ -1031,7 +1032,7 @@ var de_GetRecoveryGroupReadinessSummaryCommand = /* @__PURE__ */ __name(async (o
|
|
|
1031
1032
|
const contents = (0, import_smithy_client.map)({
|
|
1032
1033
|
$metadata: deserializeMetadata(output)
|
|
1033
1034
|
});
|
|
1034
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1035
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1035
1036
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1036
1037
|
NextToken: [, import_smithy_client.expectString, `nextToken`],
|
|
1037
1038
|
Readiness: [, import_smithy_client.expectString, `readiness`],
|
|
@@ -1047,7 +1048,7 @@ var de_GetResourceSetCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1047
1048
|
const contents = (0, import_smithy_client.map)({
|
|
1048
1049
|
$metadata: deserializeMetadata(output)
|
|
1049
1050
|
});
|
|
1050
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1051
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1051
1052
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1052
1053
|
ResourceSetArn: [, import_smithy_client.expectString, `resourceSetArn`],
|
|
1053
1054
|
ResourceSetName: [, import_smithy_client.expectString, `resourceSetName`],
|
|
@@ -1065,7 +1066,7 @@ var de_ListCellsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1065
1066
|
const contents = (0, import_smithy_client.map)({
|
|
1066
1067
|
$metadata: deserializeMetadata(output)
|
|
1067
1068
|
});
|
|
1068
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1069
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1069
1070
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1070
1071
|
Cells: [, (_) => de___listOfCellOutput(_, context), `cells`],
|
|
1071
1072
|
NextToken: [, import_smithy_client.expectString, `nextToken`]
|
|
@@ -1080,7 +1081,7 @@ var de_ListCrossAccountAuthorizationsCommand = /* @__PURE__ */ __name(async (out
|
|
|
1080
1081
|
const contents = (0, import_smithy_client.map)({
|
|
1081
1082
|
$metadata: deserializeMetadata(output)
|
|
1082
1083
|
});
|
|
1083
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1084
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1084
1085
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1085
1086
|
CrossAccountAuthorizations: [, import_smithy_client._json, `crossAccountAuthorizations`],
|
|
1086
1087
|
NextToken: [, import_smithy_client.expectString, `nextToken`]
|
|
@@ -1095,7 +1096,7 @@ var de_ListReadinessChecksCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1095
1096
|
const contents = (0, import_smithy_client.map)({
|
|
1096
1097
|
$metadata: deserializeMetadata(output)
|
|
1097
1098
|
});
|
|
1098
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1099
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1099
1100
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1100
1101
|
NextToken: [, import_smithy_client.expectString, `nextToken`],
|
|
1101
1102
|
ReadinessChecks: [, (_) => de___listOfReadinessCheckOutput(_, context), `readinessChecks`]
|
|
@@ -1110,7 +1111,7 @@ var de_ListRecoveryGroupsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1110
1111
|
const contents = (0, import_smithy_client.map)({
|
|
1111
1112
|
$metadata: deserializeMetadata(output)
|
|
1112
1113
|
});
|
|
1113
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1114
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1114
1115
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1115
1116
|
NextToken: [, import_smithy_client.expectString, `nextToken`],
|
|
1116
1117
|
RecoveryGroups: [, (_) => de___listOfRecoveryGroupOutput(_, context), `recoveryGroups`]
|
|
@@ -1125,7 +1126,7 @@ var de_ListResourceSetsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1125
1126
|
const contents = (0, import_smithy_client.map)({
|
|
1126
1127
|
$metadata: deserializeMetadata(output)
|
|
1127
1128
|
});
|
|
1128
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1129
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1129
1130
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1130
1131
|
NextToken: [, import_smithy_client.expectString, `nextToken`],
|
|
1131
1132
|
ResourceSets: [, (_) => de___listOfResourceSetOutput(_, context), `resourceSets`]
|
|
@@ -1140,7 +1141,7 @@ var de_ListRulesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1140
1141
|
const contents = (0, import_smithy_client.map)({
|
|
1141
1142
|
$metadata: deserializeMetadata(output)
|
|
1142
1143
|
});
|
|
1143
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1144
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1144
1145
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1145
1146
|
NextToken: [, import_smithy_client.expectString, `nextToken`],
|
|
1146
1147
|
Rules: [, (_) => de___listOfListRulesOutput(_, context), `rules`]
|
|
@@ -1155,7 +1156,7 @@ var de_ListTagsForResourcesCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1155
1156
|
const contents = (0, import_smithy_client.map)({
|
|
1156
1157
|
$metadata: deserializeMetadata(output)
|
|
1157
1158
|
});
|
|
1158
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1159
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1159
1160
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1160
1161
|
Tags: [, import_smithy_client._json, `tags`]
|
|
1161
1162
|
});
|
|
@@ -1189,7 +1190,7 @@ var de_UpdateCellCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1189
1190
|
const contents = (0, import_smithy_client.map)({
|
|
1190
1191
|
$metadata: deserializeMetadata(output)
|
|
1191
1192
|
});
|
|
1192
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1193
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1193
1194
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1194
1195
|
CellArn: [, import_smithy_client.expectString, `cellArn`],
|
|
1195
1196
|
CellName: [, import_smithy_client.expectString, `cellName`],
|
|
@@ -1207,7 +1208,7 @@ var de_UpdateReadinessCheckCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1207
1208
|
const contents = (0, import_smithy_client.map)({
|
|
1208
1209
|
$metadata: deserializeMetadata(output)
|
|
1209
1210
|
});
|
|
1210
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1211
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1211
1212
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1212
1213
|
ReadinessCheckArn: [, import_smithy_client.expectString, `readinessCheckArn`],
|
|
1213
1214
|
ReadinessCheckName: [, import_smithy_client.expectString, `readinessCheckName`],
|
|
@@ -1224,7 +1225,7 @@ var de_UpdateRecoveryGroupCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1224
1225
|
const contents = (0, import_smithy_client.map)({
|
|
1225
1226
|
$metadata: deserializeMetadata(output)
|
|
1226
1227
|
});
|
|
1227
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1228
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1228
1229
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1229
1230
|
Cells: [, import_smithy_client._json, `cells`],
|
|
1230
1231
|
RecoveryGroupArn: [, import_smithy_client.expectString, `recoveryGroupArn`],
|
|
@@ -1241,7 +1242,7 @@ var de_UpdateResourceSetCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1241
1242
|
const contents = (0, import_smithy_client.map)({
|
|
1242
1243
|
$metadata: deserializeMetadata(output)
|
|
1243
1244
|
});
|
|
1244
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1245
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1245
1246
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1246
1247
|
ResourceSetArn: [, import_smithy_client.expectString, `resourceSetArn`],
|
|
1247
1248
|
ResourceSetName: [, import_smithy_client.expectString, `resourceSetName`],
|
|
@@ -1255,9 +1256,9 @@ var de_UpdateResourceSetCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1255
1256
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1256
1257
|
const parsedOutput = {
|
|
1257
1258
|
...output,
|
|
1258
|
-
body: await
|
|
1259
|
+
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1259
1260
|
};
|
|
1260
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1261
|
+
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1261
1262
|
switch (errorCode) {
|
|
1262
1263
|
case "AccessDeniedException":
|
|
1263
1264
|
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
@@ -1583,7 +1584,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
1583
1584
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1584
1585
|
cfId: output.headers["x-amz-cf-id"]
|
|
1585
1586
|
}), "deserializeMetadata");
|
|
1586
|
-
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
1587
1587
|
var _MR = "MaxResults";
|
|
1588
1588
|
var _NT = "NextToken";
|
|
1589
1589
|
var _RT = "ResourceType";
|
|
@@ -1592,46 +1592,6 @@ var _mR = "maxResults";
|
|
|
1592
1592
|
var _nT = "nextToken";
|
|
1593
1593
|
var _rT = "resourceType";
|
|
1594
1594
|
var _tK = "tagKeys";
|
|
1595
|
-
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1596
|
-
if (encoded.length) {
|
|
1597
|
-
return JSON.parse(encoded);
|
|
1598
|
-
}
|
|
1599
|
-
return {};
|
|
1600
|
-
}), "parseBody");
|
|
1601
|
-
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
1602
|
-
const value = await parseBody(errorBody, context);
|
|
1603
|
-
value.message = value.message ?? value.Message;
|
|
1604
|
-
return value;
|
|
1605
|
-
}, "parseErrorBody");
|
|
1606
|
-
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
1607
|
-
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
1608
|
-
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
1609
|
-
let cleanValue = rawValue;
|
|
1610
|
-
if (typeof cleanValue === "number") {
|
|
1611
|
-
cleanValue = cleanValue.toString();
|
|
1612
|
-
}
|
|
1613
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
1614
|
-
cleanValue = cleanValue.split(",")[0];
|
|
1615
|
-
}
|
|
1616
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
1617
|
-
cleanValue = cleanValue.split(":")[0];
|
|
1618
|
-
}
|
|
1619
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
1620
|
-
cleanValue = cleanValue.split("#")[1];
|
|
1621
|
-
}
|
|
1622
|
-
return cleanValue;
|
|
1623
|
-
}, "sanitizeErrorCode");
|
|
1624
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1625
|
-
if (headerKey !== void 0) {
|
|
1626
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1627
|
-
}
|
|
1628
|
-
if (data.code !== void 0) {
|
|
1629
|
-
return sanitizeErrorCode(data.code);
|
|
1630
|
-
}
|
|
1631
|
-
if (data["__type"] !== void 0) {
|
|
1632
|
-
return sanitizeErrorCode(data["__type"]);
|
|
1633
|
-
}
|
|
1634
|
-
}, "loadRestJsonErrorCode");
|
|
1635
1595
|
|
|
1636
1596
|
// src/commands/CreateCellCommand.ts
|
|
1637
1597
|
var _CreateCellCommand = class _CreateCellCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
1
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
2
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
4
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
@@ -1239,43 +1240,3 @@ const _mR = "maxResults";
|
|
|
1239
1240
|
const _nT = "nextToken";
|
|
1240
1241
|
const _rT = "resourceType";
|
|
1241
1242
|
const _tK = "tagKeys";
|
|
1242
|
-
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1243
|
-
if (encoded.length) {
|
|
1244
|
-
return JSON.parse(encoded);
|
|
1245
|
-
}
|
|
1246
|
-
return {};
|
|
1247
|
-
});
|
|
1248
|
-
const parseErrorBody = async (errorBody, context) => {
|
|
1249
|
-
const value = await parseBody(errorBody, context);
|
|
1250
|
-
value.message = value.message ?? value.Message;
|
|
1251
|
-
return value;
|
|
1252
|
-
};
|
|
1253
|
-
const loadRestJsonErrorCode = (output, data) => {
|
|
1254
|
-
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
1255
|
-
const sanitizeErrorCode = (rawValue) => {
|
|
1256
|
-
let cleanValue = rawValue;
|
|
1257
|
-
if (typeof cleanValue === "number") {
|
|
1258
|
-
cleanValue = cleanValue.toString();
|
|
1259
|
-
}
|
|
1260
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
1261
|
-
cleanValue = cleanValue.split(",")[0];
|
|
1262
|
-
}
|
|
1263
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
1264
|
-
cleanValue = cleanValue.split(":")[0];
|
|
1265
|
-
}
|
|
1266
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
1267
|
-
cleanValue = cleanValue.split("#")[1];
|
|
1268
|
-
}
|
|
1269
|
-
return cleanValue;
|
|
1270
|
-
};
|
|
1271
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1272
|
-
if (headerKey !== undefined) {
|
|
1273
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1274
|
-
}
|
|
1275
|
-
if (data.code !== undefined) {
|
|
1276
|
-
return sanitizeErrorCode(data.code);
|
|
1277
|
-
}
|
|
1278
|
-
if (data["__type"] !== undefined) {
|
|
1279
|
-
return sanitizeErrorCode(data["__type"]);
|
|
1280
|
-
}
|
|
1281
|
-
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-route53-recovery-readiness",
|
|
3
3
|
"description": "AWS SDK for JavaScript Route53 Recovery Readiness Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.529.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-route53-recovery-readiness",
|
|
@@ -20,40 +20,40 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.529.0",
|
|
24
|
+
"@aws-sdk/core": "3.529.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.529.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.523.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.523.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.523.0",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.525.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.525.0",
|
|
31
31
|
"@aws-sdk/types": "3.523.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.525.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.523.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.1.
|
|
36
|
-
"@smithy/core": "^1.3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.525.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.1.4",
|
|
36
|
+
"@smithy/core": "^1.3.5",
|
|
37
37
|
"@smithy/fetch-http-handler": "^2.4.3",
|
|
38
38
|
"@smithy/hash-node": "^2.1.3",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.1.3",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.1.3",
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.4.
|
|
42
|
-
"@smithy/middleware-retry": "^2.1.
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.4.4",
|
|
42
|
+
"@smithy/middleware-retry": "^2.1.4",
|
|
43
43
|
"@smithy/middleware-serde": "^2.1.3",
|
|
44
44
|
"@smithy/middleware-stack": "^2.1.3",
|
|
45
|
-
"@smithy/node-config-provider": "^2.2.
|
|
45
|
+
"@smithy/node-config-provider": "^2.2.4",
|
|
46
46
|
"@smithy/node-http-handler": "^2.4.1",
|
|
47
47
|
"@smithy/protocol-http": "^3.2.1",
|
|
48
|
-
"@smithy/smithy-client": "^2.4.
|
|
48
|
+
"@smithy/smithy-client": "^2.4.2",
|
|
49
49
|
"@smithy/types": "^2.10.1",
|
|
50
50
|
"@smithy/url-parser": "^2.1.3",
|
|
51
51
|
"@smithy/util-base64": "^2.1.1",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.1.1",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.1.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.2.
|
|
56
|
-
"@smithy/util-endpoints": "^1.1.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.1.4",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.2.3",
|
|
56
|
+
"@smithy/util-endpoints": "^1.1.4",
|
|
57
57
|
"@smithy/util-middleware": "^2.1.3",
|
|
58
58
|
"@smithy/util-retry": "^2.1.3",
|
|
59
59
|
"@smithy/util-utf8": "^2.1.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|