@aws-sdk/client-secrets-manager 3.53.0 → 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 +27 -0
- package/dist-cjs/SecretsManagerClient.js +13 -13
- package/dist-cjs/commands/CancelRotateSecretCommand.js +3 -3
- package/dist-cjs/commands/CreateSecretCommand.js +3 -3
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/DeleteSecretCommand.js +3 -3
- package/dist-cjs/commands/DescribeSecretCommand.js +3 -3
- package/dist-cjs/commands/GetRandomPasswordCommand.js +3 -3
- package/dist-cjs/commands/GetResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/GetSecretValueCommand.js +3 -3
- package/dist-cjs/commands/ListSecretVersionIdsCommand.js +3 -3
- package/dist-cjs/commands/ListSecretsCommand.js +3 -3
- package/dist-cjs/commands/PutResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/PutSecretValueCommand.js +3 -3
- package/dist-cjs/commands/RemoveRegionsFromReplicationCommand.js +3 -3
- package/dist-cjs/commands/ReplicateSecretToRegionsCommand.js +3 -3
- package/dist-cjs/commands/RestoreSecretCommand.js +3 -3
- package/dist-cjs/commands/RotateSecretCommand.js +3 -3
- package/dist-cjs/commands/StopReplicationToReplicaCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateSecretCommand.js +3 -3
- package/dist-cjs/commands/UpdateSecretVersionStageCommand.js +3 -3
- package/dist-cjs/commands/ValidateResourcePolicyCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +136 -136
- 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/SecretsManager.js +22 -22
- package/dist-es/pagination/ListSecretVersionIdsPaginator.js +4 -4
- package/dist-es/pagination/ListSecretsPaginator.js +4 -4
- package/dist-types/SecretsManager.d.ts +2 -1
- package/dist-types/SecretsManagerClient.d.ts +2 -2
- package/dist-types/commands/ListSecretsCommand.d.ts +2 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/SecretsManagerClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -268,7 +268,7 @@ const deserializeAws_json1_1CancelRotateSecretCommandError = async (output, cont
|
|
|
268
268
|
$fault: "client",
|
|
269
269
|
$metadata: deserializeMetadata(output),
|
|
270
270
|
});
|
|
271
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
271
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
272
272
|
}
|
|
273
273
|
};
|
|
274
274
|
const deserializeAws_json1_1CreateSecretCommand = async (output, context) => {
|
|
@@ -331,7 +331,7 @@ const deserializeAws_json1_1CreateSecretCommandError = async (output, context) =
|
|
|
331
331
|
$fault: "client",
|
|
332
332
|
$metadata: deserializeMetadata(output),
|
|
333
333
|
});
|
|
334
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
334
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
335
335
|
}
|
|
336
336
|
};
|
|
337
337
|
const deserializeAws_json1_1DeleteResourcePolicyCommand = async (output, context) => {
|
|
@@ -376,7 +376,7 @@ const deserializeAws_json1_1DeleteResourcePolicyCommandError = async (output, co
|
|
|
376
376
|
$fault: "client",
|
|
377
377
|
$metadata: deserializeMetadata(output),
|
|
378
378
|
});
|
|
379
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
379
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
380
380
|
}
|
|
381
381
|
};
|
|
382
382
|
const deserializeAws_json1_1DeleteSecretCommand = async (output, context) => {
|
|
@@ -421,7 +421,7 @@ const deserializeAws_json1_1DeleteSecretCommandError = async (output, context) =
|
|
|
421
421
|
$fault: "client",
|
|
422
422
|
$metadata: deserializeMetadata(output),
|
|
423
423
|
});
|
|
424
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
424
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
425
425
|
}
|
|
426
426
|
};
|
|
427
427
|
const deserializeAws_json1_1DescribeSecretCommand = async (output, context) => {
|
|
@@ -463,7 +463,7 @@ const deserializeAws_json1_1DescribeSecretCommandError = async (output, context)
|
|
|
463
463
|
$fault: "client",
|
|
464
464
|
$metadata: deserializeMetadata(output),
|
|
465
465
|
});
|
|
466
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
466
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
467
467
|
}
|
|
468
468
|
};
|
|
469
469
|
const deserializeAws_json1_1GetRandomPasswordCommand = async (output, context) => {
|
|
@@ -505,7 +505,7 @@ const deserializeAws_json1_1GetRandomPasswordCommandError = async (output, conte
|
|
|
505
505
|
$fault: "client",
|
|
506
506
|
$metadata: deserializeMetadata(output),
|
|
507
507
|
});
|
|
508
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
508
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
509
509
|
}
|
|
510
510
|
};
|
|
511
511
|
const deserializeAws_json1_1GetResourcePolicyCommand = async (output, context) => {
|
|
@@ -550,7 +550,7 @@ const deserializeAws_json1_1GetResourcePolicyCommandError = async (output, conte
|
|
|
550
550
|
$fault: "client",
|
|
551
551
|
$metadata: deserializeMetadata(output),
|
|
552
552
|
});
|
|
553
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
553
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
554
554
|
}
|
|
555
555
|
};
|
|
556
556
|
const deserializeAws_json1_1GetSecretValueCommand = async (output, context) => {
|
|
@@ -598,7 +598,7 @@ const deserializeAws_json1_1GetSecretValueCommandError = async (output, context)
|
|
|
598
598
|
$fault: "client",
|
|
599
599
|
$metadata: deserializeMetadata(output),
|
|
600
600
|
});
|
|
601
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
601
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
602
602
|
}
|
|
603
603
|
};
|
|
604
604
|
const deserializeAws_json1_1ListSecretsCommand = async (output, context) => {
|
|
@@ -640,7 +640,7 @@ const deserializeAws_json1_1ListSecretsCommandError = async (output, context) =>
|
|
|
640
640
|
$fault: "client",
|
|
641
641
|
$metadata: deserializeMetadata(output),
|
|
642
642
|
});
|
|
643
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
643
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
644
644
|
}
|
|
645
645
|
};
|
|
646
646
|
const deserializeAws_json1_1ListSecretVersionIdsCommand = async (output, context) => {
|
|
@@ -685,7 +685,7 @@ const deserializeAws_json1_1ListSecretVersionIdsCommandError = async (output, co
|
|
|
685
685
|
$fault: "client",
|
|
686
686
|
$metadata: deserializeMetadata(output),
|
|
687
687
|
});
|
|
688
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
688
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
689
689
|
}
|
|
690
690
|
};
|
|
691
691
|
const deserializeAws_json1_1PutResourcePolicyCommand = async (output, context) => {
|
|
@@ -736,7 +736,7 @@ const deserializeAws_json1_1PutResourcePolicyCommandError = async (output, conte
|
|
|
736
736
|
$fault: "client",
|
|
737
737
|
$metadata: deserializeMetadata(output),
|
|
738
738
|
});
|
|
739
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
739
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
740
740
|
}
|
|
741
741
|
};
|
|
742
742
|
const deserializeAws_json1_1PutSecretValueCommand = async (output, context) => {
|
|
@@ -793,7 +793,7 @@ const deserializeAws_json1_1PutSecretValueCommandError = async (output, context)
|
|
|
793
793
|
$fault: "client",
|
|
794
794
|
$metadata: deserializeMetadata(output),
|
|
795
795
|
});
|
|
796
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
796
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
797
797
|
}
|
|
798
798
|
};
|
|
799
799
|
const deserializeAws_json1_1RemoveRegionsFromReplicationCommand = async (output, context) => {
|
|
@@ -838,7 +838,7 @@ const deserializeAws_json1_1RemoveRegionsFromReplicationCommandError = async (ou
|
|
|
838
838
|
$fault: "client",
|
|
839
839
|
$metadata: deserializeMetadata(output),
|
|
840
840
|
});
|
|
841
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
841
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
842
842
|
}
|
|
843
843
|
};
|
|
844
844
|
const deserializeAws_json1_1ReplicateSecretToRegionsCommand = async (output, context) => {
|
|
@@ -883,7 +883,7 @@ const deserializeAws_json1_1ReplicateSecretToRegionsCommandError = async (output
|
|
|
883
883
|
$fault: "client",
|
|
884
884
|
$metadata: deserializeMetadata(output),
|
|
885
885
|
});
|
|
886
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
886
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
887
887
|
}
|
|
888
888
|
};
|
|
889
889
|
const deserializeAws_json1_1RestoreSecretCommand = async (output, context) => {
|
|
@@ -928,7 +928,7 @@ const deserializeAws_json1_1RestoreSecretCommandError = async (output, context)
|
|
|
928
928
|
$fault: "client",
|
|
929
929
|
$metadata: deserializeMetadata(output),
|
|
930
930
|
});
|
|
931
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
931
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
932
932
|
}
|
|
933
933
|
};
|
|
934
934
|
const deserializeAws_json1_1RotateSecretCommand = async (output, context) => {
|
|
@@ -973,7 +973,7 @@ const deserializeAws_json1_1RotateSecretCommandError = async (output, context) =
|
|
|
973
973
|
$fault: "client",
|
|
974
974
|
$metadata: deserializeMetadata(output),
|
|
975
975
|
});
|
|
976
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
976
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
977
977
|
}
|
|
978
978
|
};
|
|
979
979
|
const deserializeAws_json1_1StopReplicationToReplicaCommand = async (output, context) => {
|
|
@@ -1018,7 +1018,7 @@ const deserializeAws_json1_1StopReplicationToReplicaCommandError = async (output
|
|
|
1018
1018
|
$fault: "client",
|
|
1019
1019
|
$metadata: deserializeMetadata(output),
|
|
1020
1020
|
});
|
|
1021
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1021
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1022
1022
|
}
|
|
1023
1023
|
};
|
|
1024
1024
|
const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
|
|
@@ -1060,7 +1060,7 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
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_1UntagResourceCommand = async (output, context) => {
|
|
@@ -1102,7 +1102,7 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1102
1102
|
$fault: "client",
|
|
1103
1103
|
$metadata: deserializeMetadata(output),
|
|
1104
1104
|
});
|
|
1105
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1105
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1106
1106
|
}
|
|
1107
1107
|
};
|
|
1108
1108
|
const deserializeAws_json1_1UpdateSecretCommand = async (output, context) => {
|
|
@@ -1165,7 +1165,7 @@ const deserializeAws_json1_1UpdateSecretCommandError = async (output, context) =
|
|
|
1165
1165
|
$fault: "client",
|
|
1166
1166
|
$metadata: deserializeMetadata(output),
|
|
1167
1167
|
});
|
|
1168
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1168
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1169
1169
|
}
|
|
1170
1170
|
};
|
|
1171
1171
|
const deserializeAws_json1_1UpdateSecretVersionStageCommand = async (output, context) => {
|
|
@@ -1213,7 +1213,7 @@ const deserializeAws_json1_1UpdateSecretVersionStageCommandError = async (output
|
|
|
1213
1213
|
$fault: "client",
|
|
1214
1214
|
$metadata: deserializeMetadata(output),
|
|
1215
1215
|
});
|
|
1216
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1216
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1217
1217
|
}
|
|
1218
1218
|
};
|
|
1219
1219
|
const deserializeAws_json1_1ValidateResourcePolicyCommand = async (output, context) => {
|
|
@@ -1261,7 +1261,7 @@ const deserializeAws_json1_1ValidateResourcePolicyCommandError = async (output,
|
|
|
1261
1261
|
$fault: "client",
|
|
1262
1262
|
$metadata: deserializeMetadata(output),
|
|
1263
1263
|
});
|
|
1264
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1264
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1265
1265
|
}
|
|
1266
1266
|
};
|
|
1267
1267
|
const deserializeAws_json1_1DecryptionFailureResponse = async (parsedOutput, context) => {
|
|
@@ -1271,7 +1271,7 @@ const deserializeAws_json1_1DecryptionFailureResponse = async (parsedOutput, con
|
|
|
1271
1271
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1272
1272
|
...deserialized,
|
|
1273
1273
|
});
|
|
1274
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1274
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1275
1275
|
};
|
|
1276
1276
|
const deserializeAws_json1_1EncryptionFailureResponse = async (parsedOutput, context) => {
|
|
1277
1277
|
const body = parsedOutput.body;
|
|
@@ -1280,7 +1280,7 @@ const deserializeAws_json1_1EncryptionFailureResponse = async (parsedOutput, con
|
|
|
1280
1280
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1281
1281
|
...deserialized,
|
|
1282
1282
|
});
|
|
1283
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1283
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1284
1284
|
};
|
|
1285
1285
|
const deserializeAws_json1_1InternalServiceErrorResponse = async (parsedOutput, context) => {
|
|
1286
1286
|
const body = parsedOutput.body;
|
|
@@ -1289,7 +1289,7 @@ const deserializeAws_json1_1InternalServiceErrorResponse = async (parsedOutput,
|
|
|
1289
1289
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1290
1290
|
...deserialized,
|
|
1291
1291
|
});
|
|
1292
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1292
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1293
1293
|
};
|
|
1294
1294
|
const deserializeAws_json1_1InvalidNextTokenExceptionResponse = async (parsedOutput, context) => {
|
|
1295
1295
|
const body = parsedOutput.body;
|
|
@@ -1298,7 +1298,7 @@ const deserializeAws_json1_1InvalidNextTokenExceptionResponse = async (parsedOut
|
|
|
1298
1298
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1299
1299
|
...deserialized,
|
|
1300
1300
|
});
|
|
1301
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1301
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1302
1302
|
};
|
|
1303
1303
|
const deserializeAws_json1_1InvalidParameterExceptionResponse = async (parsedOutput, context) => {
|
|
1304
1304
|
const body = parsedOutput.body;
|
|
@@ -1307,7 +1307,7 @@ const deserializeAws_json1_1InvalidParameterExceptionResponse = async (parsedOut
|
|
|
1307
1307
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1308
1308
|
...deserialized,
|
|
1309
1309
|
});
|
|
1310
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1310
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1311
1311
|
};
|
|
1312
1312
|
const deserializeAws_json1_1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
|
|
1313
1313
|
const body = parsedOutput.body;
|
|
@@ -1316,7 +1316,7 @@ const deserializeAws_json1_1InvalidRequestExceptionResponse = async (parsedOutpu
|
|
|
1316
1316
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1317
1317
|
...deserialized,
|
|
1318
1318
|
});
|
|
1319
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1319
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1320
1320
|
};
|
|
1321
1321
|
const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
1322
1322
|
const body = parsedOutput.body;
|
|
@@ -1325,7 +1325,7 @@ const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput
|
|
|
1325
1325
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1326
1326
|
...deserialized,
|
|
1327
1327
|
});
|
|
1328
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1328
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1329
1329
|
};
|
|
1330
1330
|
const deserializeAws_json1_1MalformedPolicyDocumentExceptionResponse = async (parsedOutput, context) => {
|
|
1331
1331
|
const body = parsedOutput.body;
|
|
@@ -1334,7 +1334,7 @@ const deserializeAws_json1_1MalformedPolicyDocumentExceptionResponse = async (pa
|
|
|
1334
1334
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1335
1335
|
...deserialized,
|
|
1336
1336
|
});
|
|
1337
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1337
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1338
1338
|
};
|
|
1339
1339
|
const deserializeAws_json1_1PreconditionNotMetExceptionResponse = async (parsedOutput, context) => {
|
|
1340
1340
|
const body = parsedOutput.body;
|
|
@@ -1343,7 +1343,7 @@ const deserializeAws_json1_1PreconditionNotMetExceptionResponse = async (parsedO
|
|
|
1343
1343
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1344
1344
|
...deserialized,
|
|
1345
1345
|
});
|
|
1346
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1346
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1347
1347
|
};
|
|
1348
1348
|
const deserializeAws_json1_1PublicPolicyExceptionResponse = async (parsedOutput, context) => {
|
|
1349
1349
|
const body = parsedOutput.body;
|
|
@@ -1352,7 +1352,7 @@ const deserializeAws_json1_1PublicPolicyExceptionResponse = async (parsedOutput,
|
|
|
1352
1352
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1353
1353
|
...deserialized,
|
|
1354
1354
|
});
|
|
1355
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1355
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1356
1356
|
};
|
|
1357
1357
|
const deserializeAws_json1_1ResourceExistsExceptionResponse = async (parsedOutput, context) => {
|
|
1358
1358
|
const body = parsedOutput.body;
|
|
@@ -1361,7 +1361,7 @@ const deserializeAws_json1_1ResourceExistsExceptionResponse = async (parsedOutpu
|
|
|
1361
1361
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1362
1362
|
...deserialized,
|
|
1363
1363
|
});
|
|
1364
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1364
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1365
1365
|
};
|
|
1366
1366
|
const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
1367
1367
|
const body = parsedOutput.body;
|
|
@@ -1370,7 +1370,7 @@ const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOut
|
|
|
1370
1370
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1371
1371
|
...deserialized,
|
|
1372
1372
|
});
|
|
1373
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1373
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1374
1374
|
};
|
|
1375
1375
|
const serializeAws_json1_1AddReplicaRegionListType = (input, context) => {
|
|
1376
1376
|
return input
|
|
@@ -1394,7 +1394,7 @@ const serializeAws_json1_1CreateSecretRequest = (input, context) => {
|
|
|
1394
1394
|
input.AddReplicaRegions !== null && {
|
|
1395
1395
|
AddReplicaRegions: serializeAws_json1_1AddReplicaRegionListType(input.AddReplicaRegions, context),
|
|
1396
1396
|
}),
|
|
1397
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
1397
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
1398
1398
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
1399
1399
|
...(input.ForceOverwriteReplicaSecret !== undefined &&
|
|
1400
1400
|
input.ForceOverwriteReplicaSecret !== null && { ForceOverwriteReplicaSecret: input.ForceOverwriteReplicaSecret }),
|
|
@@ -1514,7 +1514,7 @@ const serializeAws_json1_1PutResourcePolicyRequest = (input, context) => {
|
|
|
1514
1514
|
const serializeAws_json1_1PutSecretValueRequest = (input, context) => {
|
|
1515
1515
|
var _a;
|
|
1516
1516
|
return {
|
|
1517
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
1517
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
1518
1518
|
...(input.SecretBinary !== undefined &&
|
|
1519
1519
|
input.SecretBinary !== null && { SecretBinary: context.base64Encoder(input.SecretBinary) }),
|
|
1520
1520
|
...(input.SecretId !== undefined && input.SecretId !== null && { SecretId: input.SecretId }),
|
|
@@ -1569,7 +1569,7 @@ const serializeAws_json1_1RestoreSecretRequest = (input, context) => {
|
|
|
1569
1569
|
const serializeAws_json1_1RotateSecretRequest = (input, context) => {
|
|
1570
1570
|
var _a;
|
|
1571
1571
|
return {
|
|
1572
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
1572
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
1573
1573
|
...(input.RotateImmediately !== undefined &&
|
|
1574
1574
|
input.RotateImmediately !== null && { RotateImmediately: input.RotateImmediately }),
|
|
1575
1575
|
...(input.RotationLambdaARN !== undefined &&
|
|
@@ -1648,7 +1648,7 @@ const serializeAws_json1_1UntagResourceRequest = (input, context) => {
|
|
|
1648
1648
|
const serializeAws_json1_1UpdateSecretRequest = (input, context) => {
|
|
1649
1649
|
var _a;
|
|
1650
1650
|
return {
|
|
1651
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
1651
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
1652
1652
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
1653
1653
|
...(input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId }),
|
|
1654
1654
|
...(input.SecretBinary !== undefined &&
|
|
@@ -1676,69 +1676,69 @@ const serializeAws_json1_1ValidateResourcePolicyRequest = (input, context) => {
|
|
|
1676
1676
|
};
|
|
1677
1677
|
const deserializeAws_json1_1CancelRotateSecretResponse = (output, context) => {
|
|
1678
1678
|
return {
|
|
1679
|
-
ARN: smithy_client_1.expectString(output.ARN),
|
|
1680
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
1681
|
-
VersionId: smithy_client_1.expectString(output.VersionId),
|
|
1679
|
+
ARN: (0, smithy_client_1.expectString)(output.ARN),
|
|
1680
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1681
|
+
VersionId: (0, smithy_client_1.expectString)(output.VersionId),
|
|
1682
1682
|
};
|
|
1683
1683
|
};
|
|
1684
1684
|
const deserializeAws_json1_1CreateSecretResponse = (output, context) => {
|
|
1685
1685
|
return {
|
|
1686
|
-
ARN: smithy_client_1.expectString(output.ARN),
|
|
1687
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
1686
|
+
ARN: (0, smithy_client_1.expectString)(output.ARN),
|
|
1687
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1688
1688
|
ReplicationStatus: output.ReplicationStatus !== undefined && output.ReplicationStatus !== null
|
|
1689
1689
|
? deserializeAws_json1_1ReplicationStatusListType(output.ReplicationStatus, context)
|
|
1690
1690
|
: undefined,
|
|
1691
|
-
VersionId: smithy_client_1.expectString(output.VersionId),
|
|
1691
|
+
VersionId: (0, smithy_client_1.expectString)(output.VersionId),
|
|
1692
1692
|
};
|
|
1693
1693
|
};
|
|
1694
1694
|
const deserializeAws_json1_1DecryptionFailure = (output, context) => {
|
|
1695
1695
|
return {
|
|
1696
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1696
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1697
1697
|
};
|
|
1698
1698
|
};
|
|
1699
1699
|
const deserializeAws_json1_1DeleteResourcePolicyResponse = (output, context) => {
|
|
1700
1700
|
return {
|
|
1701
|
-
ARN: smithy_client_1.expectString(output.ARN),
|
|
1702
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
1701
|
+
ARN: (0, smithy_client_1.expectString)(output.ARN),
|
|
1702
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1703
1703
|
};
|
|
1704
1704
|
};
|
|
1705
1705
|
const deserializeAws_json1_1DeleteSecretResponse = (output, context) => {
|
|
1706
1706
|
return {
|
|
1707
|
-
ARN: smithy_client_1.expectString(output.ARN),
|
|
1707
|
+
ARN: (0, smithy_client_1.expectString)(output.ARN),
|
|
1708
1708
|
DeletionDate: output.DeletionDate !== undefined && output.DeletionDate !== null
|
|
1709
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DeletionDate)))
|
|
1709
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeletionDate)))
|
|
1710
1710
|
: undefined,
|
|
1711
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
1711
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1712
1712
|
};
|
|
1713
1713
|
};
|
|
1714
1714
|
const deserializeAws_json1_1DescribeSecretResponse = (output, context) => {
|
|
1715
1715
|
return {
|
|
1716
|
-
ARN: smithy_client_1.expectString(output.ARN),
|
|
1716
|
+
ARN: (0, smithy_client_1.expectString)(output.ARN),
|
|
1717
1717
|
CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
|
|
1718
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedDate)))
|
|
1718
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedDate)))
|
|
1719
1719
|
: undefined,
|
|
1720
1720
|
DeletedDate: output.DeletedDate !== undefined && output.DeletedDate !== null
|
|
1721
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DeletedDate)))
|
|
1721
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeletedDate)))
|
|
1722
1722
|
: undefined,
|
|
1723
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
1724
|
-
KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
|
|
1723
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
1724
|
+
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
1725
1725
|
LastAccessedDate: output.LastAccessedDate !== undefined && output.LastAccessedDate !== null
|
|
1726
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastAccessedDate)))
|
|
1726
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastAccessedDate)))
|
|
1727
1727
|
: undefined,
|
|
1728
1728
|
LastChangedDate: output.LastChangedDate !== undefined && output.LastChangedDate !== null
|
|
1729
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastChangedDate)))
|
|
1729
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastChangedDate)))
|
|
1730
1730
|
: undefined,
|
|
1731
1731
|
LastRotatedDate: output.LastRotatedDate !== undefined && output.LastRotatedDate !== null
|
|
1732
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastRotatedDate)))
|
|
1732
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastRotatedDate)))
|
|
1733
1733
|
: undefined,
|
|
1734
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
1735
|
-
OwningService: smithy_client_1.expectString(output.OwningService),
|
|
1736
|
-
PrimaryRegion: smithy_client_1.expectString(output.PrimaryRegion),
|
|
1734
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1735
|
+
OwningService: (0, smithy_client_1.expectString)(output.OwningService),
|
|
1736
|
+
PrimaryRegion: (0, smithy_client_1.expectString)(output.PrimaryRegion),
|
|
1737
1737
|
ReplicationStatus: output.ReplicationStatus !== undefined && output.ReplicationStatus !== null
|
|
1738
1738
|
? deserializeAws_json1_1ReplicationStatusListType(output.ReplicationStatus, context)
|
|
1739
1739
|
: undefined,
|
|
1740
|
-
RotationEnabled: smithy_client_1.expectBoolean(output.RotationEnabled),
|
|
1741
|
-
RotationLambdaARN: smithy_client_1.expectString(output.RotationLambdaARN),
|
|
1740
|
+
RotationEnabled: (0, smithy_client_1.expectBoolean)(output.RotationEnabled),
|
|
1741
|
+
RotationLambdaARN: (0, smithy_client_1.expectString)(output.RotationLambdaARN),
|
|
1742
1742
|
RotationRules: output.RotationRules !== undefined && output.RotationRules !== null
|
|
1743
1743
|
? deserializeAws_json1_1RotationRulesType(output.RotationRules, context)
|
|
1744
1744
|
: undefined,
|
|
@@ -1752,33 +1752,33 @@ const deserializeAws_json1_1DescribeSecretResponse = (output, context) => {
|
|
|
1752
1752
|
};
|
|
1753
1753
|
const deserializeAws_json1_1EncryptionFailure = (output, context) => {
|
|
1754
1754
|
return {
|
|
1755
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1755
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1756
1756
|
};
|
|
1757
1757
|
};
|
|
1758
1758
|
const deserializeAws_json1_1GetRandomPasswordResponse = (output, context) => {
|
|
1759
1759
|
return {
|
|
1760
|
-
RandomPassword: smithy_client_1.expectString(output.RandomPassword),
|
|
1760
|
+
RandomPassword: (0, smithy_client_1.expectString)(output.RandomPassword),
|
|
1761
1761
|
};
|
|
1762
1762
|
};
|
|
1763
1763
|
const deserializeAws_json1_1GetResourcePolicyResponse = (output, context) => {
|
|
1764
1764
|
return {
|
|
1765
|
-
ARN: smithy_client_1.expectString(output.ARN),
|
|
1766
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
1767
|
-
ResourcePolicy: smithy_client_1.expectString(output.ResourcePolicy),
|
|
1765
|
+
ARN: (0, smithy_client_1.expectString)(output.ARN),
|
|
1766
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1767
|
+
ResourcePolicy: (0, smithy_client_1.expectString)(output.ResourcePolicy),
|
|
1768
1768
|
};
|
|
1769
1769
|
};
|
|
1770
1770
|
const deserializeAws_json1_1GetSecretValueResponse = (output, context) => {
|
|
1771
1771
|
return {
|
|
1772
|
-
ARN: smithy_client_1.expectString(output.ARN),
|
|
1772
|
+
ARN: (0, smithy_client_1.expectString)(output.ARN),
|
|
1773
1773
|
CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
|
|
1774
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedDate)))
|
|
1774
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedDate)))
|
|
1775
1775
|
: undefined,
|
|
1776
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
1776
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1777
1777
|
SecretBinary: output.SecretBinary !== undefined && output.SecretBinary !== null
|
|
1778
1778
|
? context.base64Decoder(output.SecretBinary)
|
|
1779
1779
|
: undefined,
|
|
1780
|
-
SecretString: smithy_client_1.expectString(output.SecretString),
|
|
1781
|
-
VersionId: smithy_client_1.expectString(output.VersionId),
|
|
1780
|
+
SecretString: (0, smithy_client_1.expectString)(output.SecretString),
|
|
1781
|
+
VersionId: (0, smithy_client_1.expectString)(output.VersionId),
|
|
1782
1782
|
VersionStages: output.VersionStages !== undefined && output.VersionStages !== null
|
|
1783
1783
|
? deserializeAws_json1_1SecretVersionStagesType(output.VersionStages, context)
|
|
1784
1784
|
: undefined,
|
|
@@ -1786,22 +1786,22 @@ const deserializeAws_json1_1GetSecretValueResponse = (output, context) => {
|
|
|
1786
1786
|
};
|
|
1787
1787
|
const deserializeAws_json1_1InternalServiceError = (output, context) => {
|
|
1788
1788
|
return {
|
|
1789
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1789
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1790
1790
|
};
|
|
1791
1791
|
};
|
|
1792
1792
|
const deserializeAws_json1_1InvalidNextTokenException = (output, context) => {
|
|
1793
1793
|
return {
|
|
1794
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1794
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1795
1795
|
};
|
|
1796
1796
|
};
|
|
1797
1797
|
const deserializeAws_json1_1InvalidParameterException = (output, context) => {
|
|
1798
1798
|
return {
|
|
1799
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1799
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1800
1800
|
};
|
|
1801
1801
|
};
|
|
1802
1802
|
const deserializeAws_json1_1InvalidRequestException = (output, context) => {
|
|
1803
1803
|
return {
|
|
1804
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1804
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1805
1805
|
};
|
|
1806
1806
|
};
|
|
1807
1807
|
const deserializeAws_json1_1KmsKeyIdListType = (output, context) => {
|
|
@@ -1811,18 +1811,18 @@ const deserializeAws_json1_1KmsKeyIdListType = (output, context) => {
|
|
|
1811
1811
|
if (entry === null) {
|
|
1812
1812
|
return null;
|
|
1813
1813
|
}
|
|
1814
|
-
return smithy_client_1.expectString(entry);
|
|
1814
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
1815
1815
|
});
|
|
1816
1816
|
return retVal;
|
|
1817
1817
|
};
|
|
1818
1818
|
const deserializeAws_json1_1LimitExceededException = (output, context) => {
|
|
1819
1819
|
return {
|
|
1820
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1820
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1821
1821
|
};
|
|
1822
1822
|
};
|
|
1823
1823
|
const deserializeAws_json1_1ListSecretsResponse = (output, context) => {
|
|
1824
1824
|
return {
|
|
1825
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
1825
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1826
1826
|
SecretList: output.SecretList !== undefined && output.SecretList !== null
|
|
1827
1827
|
? deserializeAws_json1_1SecretListType(output.SecretList, context)
|
|
1828
1828
|
: undefined,
|
|
@@ -1830,9 +1830,9 @@ const deserializeAws_json1_1ListSecretsResponse = (output, context) => {
|
|
|
1830
1830
|
};
|
|
1831
1831
|
const deserializeAws_json1_1ListSecretVersionIdsResponse = (output, context) => {
|
|
1832
1832
|
return {
|
|
1833
|
-
ARN: smithy_client_1.expectString(output.ARN),
|
|
1834
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
1835
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
1833
|
+
ARN: (0, smithy_client_1.expectString)(output.ARN),
|
|
1834
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1835
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1836
1836
|
Versions: output.Versions !== undefined && output.Versions !== null
|
|
1837
1837
|
? deserializeAws_json1_1SecretVersionsListType(output.Versions, context)
|
|
1838
1838
|
: undefined,
|
|
@@ -1840,30 +1840,30 @@ const deserializeAws_json1_1ListSecretVersionIdsResponse = (output, context) =>
|
|
|
1840
1840
|
};
|
|
1841
1841
|
const deserializeAws_json1_1MalformedPolicyDocumentException = (output, context) => {
|
|
1842
1842
|
return {
|
|
1843
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1843
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1844
1844
|
};
|
|
1845
1845
|
};
|
|
1846
1846
|
const deserializeAws_json1_1PreconditionNotMetException = (output, context) => {
|
|
1847
1847
|
return {
|
|
1848
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1848
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1849
1849
|
};
|
|
1850
1850
|
};
|
|
1851
1851
|
const deserializeAws_json1_1PublicPolicyException = (output, context) => {
|
|
1852
1852
|
return {
|
|
1853
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1853
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1854
1854
|
};
|
|
1855
1855
|
};
|
|
1856
1856
|
const deserializeAws_json1_1PutResourcePolicyResponse = (output, context) => {
|
|
1857
1857
|
return {
|
|
1858
|
-
ARN: smithy_client_1.expectString(output.ARN),
|
|
1859
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
1858
|
+
ARN: (0, smithy_client_1.expectString)(output.ARN),
|
|
1859
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1860
1860
|
};
|
|
1861
1861
|
};
|
|
1862
1862
|
const deserializeAws_json1_1PutSecretValueResponse = (output, context) => {
|
|
1863
1863
|
return {
|
|
1864
|
-
ARN: smithy_client_1.expectString(output.ARN),
|
|
1865
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
1866
|
-
VersionId: smithy_client_1.expectString(output.VersionId),
|
|
1864
|
+
ARN: (0, smithy_client_1.expectString)(output.ARN),
|
|
1865
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1866
|
+
VersionId: (0, smithy_client_1.expectString)(output.VersionId),
|
|
1867
1867
|
VersionStages: output.VersionStages !== undefined && output.VersionStages !== null
|
|
1868
1868
|
? deserializeAws_json1_1SecretVersionStagesType(output.VersionStages, context)
|
|
1869
1869
|
: undefined,
|
|
@@ -1871,7 +1871,7 @@ const deserializeAws_json1_1PutSecretValueResponse = (output, context) => {
|
|
|
1871
1871
|
};
|
|
1872
1872
|
const deserializeAws_json1_1RemoveRegionsFromReplicationResponse = (output, context) => {
|
|
1873
1873
|
return {
|
|
1874
|
-
ARN: smithy_client_1.expectString(output.ARN),
|
|
1874
|
+
ARN: (0, smithy_client_1.expectString)(output.ARN),
|
|
1875
1875
|
ReplicationStatus: output.ReplicationStatus !== undefined && output.ReplicationStatus !== null
|
|
1876
1876
|
? deserializeAws_json1_1ReplicationStatusListType(output.ReplicationStatus, context)
|
|
1877
1877
|
: undefined,
|
|
@@ -1879,7 +1879,7 @@ const deserializeAws_json1_1RemoveRegionsFromReplicationResponse = (output, cont
|
|
|
1879
1879
|
};
|
|
1880
1880
|
const deserializeAws_json1_1ReplicateSecretToRegionsResponse = (output, context) => {
|
|
1881
1881
|
return {
|
|
1882
|
-
ARN: smithy_client_1.expectString(output.ARN),
|
|
1882
|
+
ARN: (0, smithy_client_1.expectString)(output.ARN),
|
|
1883
1883
|
ReplicationStatus: output.ReplicationStatus !== undefined && output.ReplicationStatus !== null
|
|
1884
1884
|
? deserializeAws_json1_1ReplicationStatusListType(output.ReplicationStatus, context)
|
|
1885
1885
|
: undefined,
|
|
@@ -1898,70 +1898,70 @@ const deserializeAws_json1_1ReplicationStatusListType = (output, context) => {
|
|
|
1898
1898
|
};
|
|
1899
1899
|
const deserializeAws_json1_1ReplicationStatusType = (output, context) => {
|
|
1900
1900
|
return {
|
|
1901
|
-
KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
|
|
1901
|
+
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
1902
1902
|
LastAccessedDate: output.LastAccessedDate !== undefined && output.LastAccessedDate !== null
|
|
1903
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastAccessedDate)))
|
|
1903
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastAccessedDate)))
|
|
1904
1904
|
: undefined,
|
|
1905
|
-
Region: smithy_client_1.expectString(output.Region),
|
|
1906
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
1907
|
-
StatusMessage: smithy_client_1.expectString(output.StatusMessage),
|
|
1905
|
+
Region: (0, smithy_client_1.expectString)(output.Region),
|
|
1906
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
1907
|
+
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
1908
1908
|
};
|
|
1909
1909
|
};
|
|
1910
1910
|
const deserializeAws_json1_1ResourceExistsException = (output, context) => {
|
|
1911
1911
|
return {
|
|
1912
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1912
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1913
1913
|
};
|
|
1914
1914
|
};
|
|
1915
1915
|
const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
|
|
1916
1916
|
return {
|
|
1917
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
1917
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1918
1918
|
};
|
|
1919
1919
|
};
|
|
1920
1920
|
const deserializeAws_json1_1RestoreSecretResponse = (output, context) => {
|
|
1921
1921
|
return {
|
|
1922
|
-
ARN: smithy_client_1.expectString(output.ARN),
|
|
1923
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
1922
|
+
ARN: (0, smithy_client_1.expectString)(output.ARN),
|
|
1923
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1924
1924
|
};
|
|
1925
1925
|
};
|
|
1926
1926
|
const deserializeAws_json1_1RotateSecretResponse = (output, context) => {
|
|
1927
1927
|
return {
|
|
1928
|
-
ARN: smithy_client_1.expectString(output.ARN),
|
|
1929
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
1930
|
-
VersionId: smithy_client_1.expectString(output.VersionId),
|
|
1928
|
+
ARN: (0, smithy_client_1.expectString)(output.ARN),
|
|
1929
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1930
|
+
VersionId: (0, smithy_client_1.expectString)(output.VersionId),
|
|
1931
1931
|
};
|
|
1932
1932
|
};
|
|
1933
1933
|
const deserializeAws_json1_1RotationRulesType = (output, context) => {
|
|
1934
1934
|
return {
|
|
1935
|
-
AutomaticallyAfterDays: smithy_client_1.expectLong(output.AutomaticallyAfterDays),
|
|
1936
|
-
Duration: smithy_client_1.expectString(output.Duration),
|
|
1937
|
-
ScheduleExpression: smithy_client_1.expectString(output.ScheduleExpression),
|
|
1935
|
+
AutomaticallyAfterDays: (0, smithy_client_1.expectLong)(output.AutomaticallyAfterDays),
|
|
1936
|
+
Duration: (0, smithy_client_1.expectString)(output.Duration),
|
|
1937
|
+
ScheduleExpression: (0, smithy_client_1.expectString)(output.ScheduleExpression),
|
|
1938
1938
|
};
|
|
1939
1939
|
};
|
|
1940
1940
|
const deserializeAws_json1_1SecretListEntry = (output, context) => {
|
|
1941
1941
|
return {
|
|
1942
|
-
ARN: smithy_client_1.expectString(output.ARN),
|
|
1942
|
+
ARN: (0, smithy_client_1.expectString)(output.ARN),
|
|
1943
1943
|
CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
|
|
1944
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedDate)))
|
|
1944
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedDate)))
|
|
1945
1945
|
: undefined,
|
|
1946
1946
|
DeletedDate: output.DeletedDate !== undefined && output.DeletedDate !== null
|
|
1947
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DeletedDate)))
|
|
1947
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeletedDate)))
|
|
1948
1948
|
: undefined,
|
|
1949
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
1950
|
-
KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
|
|
1949
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
1950
|
+
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
1951
1951
|
LastAccessedDate: output.LastAccessedDate !== undefined && output.LastAccessedDate !== null
|
|
1952
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastAccessedDate)))
|
|
1952
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastAccessedDate)))
|
|
1953
1953
|
: undefined,
|
|
1954
1954
|
LastChangedDate: output.LastChangedDate !== undefined && output.LastChangedDate !== null
|
|
1955
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastChangedDate)))
|
|
1955
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastChangedDate)))
|
|
1956
1956
|
: undefined,
|
|
1957
1957
|
LastRotatedDate: output.LastRotatedDate !== undefined && output.LastRotatedDate !== null
|
|
1958
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastRotatedDate)))
|
|
1958
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastRotatedDate)))
|
|
1959
1959
|
: undefined,
|
|
1960
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
1961
|
-
OwningService: smithy_client_1.expectString(output.OwningService),
|
|
1962
|
-
PrimaryRegion: smithy_client_1.expectString(output.PrimaryRegion),
|
|
1963
|
-
RotationEnabled: smithy_client_1.expectBoolean(output.RotationEnabled),
|
|
1964
|
-
RotationLambdaARN: smithy_client_1.expectString(output.RotationLambdaARN),
|
|
1960
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1961
|
+
OwningService: (0, smithy_client_1.expectString)(output.OwningService),
|
|
1962
|
+
PrimaryRegion: (0, smithy_client_1.expectString)(output.PrimaryRegion),
|
|
1963
|
+
RotationEnabled: (0, smithy_client_1.expectBoolean)(output.RotationEnabled),
|
|
1964
|
+
RotationLambdaARN: (0, smithy_client_1.expectString)(output.RotationLambdaARN),
|
|
1965
1965
|
RotationRules: output.RotationRules !== undefined && output.RotationRules !== null
|
|
1966
1966
|
? deserializeAws_json1_1RotationRulesType(output.RotationRules, context)
|
|
1967
1967
|
: undefined,
|
|
@@ -1987,15 +1987,15 @@ const deserializeAws_json1_1SecretListType = (output, context) => {
|
|
|
1987
1987
|
const deserializeAws_json1_1SecretVersionsListEntry = (output, context) => {
|
|
1988
1988
|
return {
|
|
1989
1989
|
CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
|
|
1990
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedDate)))
|
|
1990
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedDate)))
|
|
1991
1991
|
: undefined,
|
|
1992
1992
|
KmsKeyIds: output.KmsKeyIds !== undefined && output.KmsKeyIds !== null
|
|
1993
1993
|
? deserializeAws_json1_1KmsKeyIdListType(output.KmsKeyIds, context)
|
|
1994
1994
|
: undefined,
|
|
1995
1995
|
LastAccessedDate: output.LastAccessedDate !== undefined && output.LastAccessedDate !== null
|
|
1996
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastAccessedDate)))
|
|
1996
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastAccessedDate)))
|
|
1997
1997
|
: undefined,
|
|
1998
|
-
VersionId: smithy_client_1.expectString(output.VersionId),
|
|
1998
|
+
VersionId: (0, smithy_client_1.expectString)(output.VersionId),
|
|
1999
1999
|
VersionStages: output.VersionStages !== undefined && output.VersionStages !== null
|
|
2000
2000
|
? deserializeAws_json1_1SecretVersionStagesType(output.VersionStages, context)
|
|
2001
2001
|
: undefined,
|
|
@@ -2019,7 +2019,7 @@ const deserializeAws_json1_1SecretVersionStagesType = (output, context) => {
|
|
|
2019
2019
|
if (entry === null) {
|
|
2020
2020
|
return null;
|
|
2021
2021
|
}
|
|
2022
|
-
return smithy_client_1.expectString(entry);
|
|
2022
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2023
2023
|
});
|
|
2024
2024
|
return retVal;
|
|
2025
2025
|
};
|
|
@@ -2036,13 +2036,13 @@ const deserializeAws_json1_1SecretVersionsToStagesMapType = (output, context) =>
|
|
|
2036
2036
|
};
|
|
2037
2037
|
const deserializeAws_json1_1StopReplicationToReplicaResponse = (output, context) => {
|
|
2038
2038
|
return {
|
|
2039
|
-
ARN: smithy_client_1.expectString(output.ARN),
|
|
2039
|
+
ARN: (0, smithy_client_1.expectString)(output.ARN),
|
|
2040
2040
|
};
|
|
2041
2041
|
};
|
|
2042
2042
|
const deserializeAws_json1_1Tag = (output, context) => {
|
|
2043
2043
|
return {
|
|
2044
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
2045
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
2044
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
2045
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
2046
2046
|
};
|
|
2047
2047
|
};
|
|
2048
2048
|
const deserializeAws_json1_1TagListType = (output, context) => {
|
|
@@ -2058,20 +2058,20 @@ const deserializeAws_json1_1TagListType = (output, context) => {
|
|
|
2058
2058
|
};
|
|
2059
2059
|
const deserializeAws_json1_1UpdateSecretResponse = (output, context) => {
|
|
2060
2060
|
return {
|
|
2061
|
-
ARN: smithy_client_1.expectString(output.ARN),
|
|
2062
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
2063
|
-
VersionId: smithy_client_1.expectString(output.VersionId),
|
|
2061
|
+
ARN: (0, smithy_client_1.expectString)(output.ARN),
|
|
2062
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2063
|
+
VersionId: (0, smithy_client_1.expectString)(output.VersionId),
|
|
2064
2064
|
};
|
|
2065
2065
|
};
|
|
2066
2066
|
const deserializeAws_json1_1UpdateSecretVersionStageResponse = (output, context) => {
|
|
2067
2067
|
return {
|
|
2068
|
-
ARN: smithy_client_1.expectString(output.ARN),
|
|
2069
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
2068
|
+
ARN: (0, smithy_client_1.expectString)(output.ARN),
|
|
2069
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2070
2070
|
};
|
|
2071
2071
|
};
|
|
2072
2072
|
const deserializeAws_json1_1ValidateResourcePolicyResponse = (output, context) => {
|
|
2073
2073
|
return {
|
|
2074
|
-
PolicyValidationPassed: smithy_client_1.expectBoolean(output.PolicyValidationPassed),
|
|
2074
|
+
PolicyValidationPassed: (0, smithy_client_1.expectBoolean)(output.PolicyValidationPassed),
|
|
2075
2075
|
ValidationErrors: output.ValidationErrors !== undefined && output.ValidationErrors !== null
|
|
2076
2076
|
? deserializeAws_json1_1ValidationErrorsType(output.ValidationErrors, context)
|
|
2077
2077
|
: undefined,
|
|
@@ -2079,8 +2079,8 @@ const deserializeAws_json1_1ValidateResourcePolicyResponse = (output, context) =
|
|
|
2079
2079
|
};
|
|
2080
2080
|
const deserializeAws_json1_1ValidationErrorsEntry = (output, context) => {
|
|
2081
2081
|
return {
|
|
2082
|
-
CheckName: smithy_client_1.expectString(output.CheckName),
|
|
2083
|
-
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
2082
|
+
CheckName: (0, smithy_client_1.expectString)(output.CheckName),
|
|
2083
|
+
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
2084
2084
|
};
|
|
2085
2085
|
};
|
|
2086
2086
|
const deserializeAws_json1_1ValidationErrorsType = (output, context) => {
|