@aws-sdk/client-secrets-manager 3.306.0 → 3.310.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/commands/CancelRotateSecretCommand.js +2 -2
- package/dist-cjs/commands/CreateSecretCommand.js +2 -2
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +2 -2
- package/dist-cjs/commands/DeleteSecretCommand.js +2 -2
- package/dist-cjs/commands/DescribeSecretCommand.js +2 -2
- package/dist-cjs/commands/GetRandomPasswordCommand.js +2 -2
- package/dist-cjs/commands/GetResourcePolicyCommand.js +2 -2
- package/dist-cjs/commands/GetSecretValueCommand.js +2 -2
- package/dist-cjs/commands/ListSecretVersionIdsCommand.js +2 -2
- package/dist-cjs/commands/ListSecretsCommand.js +2 -2
- package/dist-cjs/commands/PutResourcePolicyCommand.js +2 -2
- package/dist-cjs/commands/PutSecretValueCommand.js +2 -2
- package/dist-cjs/commands/RemoveRegionsFromReplicationCommand.js +2 -2
- package/dist-cjs/commands/ReplicateSecretToRegionsCommand.js +2 -2
- package/dist-cjs/commands/RestoreSecretCommand.js +2 -2
- package/dist-cjs/commands/RotateSecretCommand.js +2 -2
- package/dist-cjs/commands/StopReplicationToReplicaCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateSecretCommand.js +2 -2
- package/dist-cjs/commands/UpdateSecretVersionStageCommand.js +2 -2
- package/dist-cjs/commands/ValidateResourcePolicyCommand.js +2 -2
- package/dist-cjs/protocols/Aws_json1_1.js +420 -440
- package/dist-es/commands/CancelRotateSecretCommand.js +3 -3
- package/dist-es/commands/CreateSecretCommand.js +3 -3
- package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -3
- package/dist-es/commands/DeleteSecretCommand.js +3 -3
- package/dist-es/commands/DescribeSecretCommand.js +3 -3
- package/dist-es/commands/GetRandomPasswordCommand.js +3 -3
- package/dist-es/commands/GetResourcePolicyCommand.js +3 -3
- package/dist-es/commands/GetSecretValueCommand.js +3 -3
- package/dist-es/commands/ListSecretVersionIdsCommand.js +3 -3
- package/dist-es/commands/ListSecretsCommand.js +3 -3
- package/dist-es/commands/PutResourcePolicyCommand.js +3 -3
- package/dist-es/commands/PutSecretValueCommand.js +3 -3
- package/dist-es/commands/RemoveRegionsFromReplicationCommand.js +3 -3
- package/dist-es/commands/ReplicateSecretToRegionsCommand.js +3 -3
- package/dist-es/commands/RestoreSecretCommand.js +3 -3
- package/dist-es/commands/RotateSecretCommand.js +3 -3
- package/dist-es/commands/StopReplicationToReplicaCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateSecretCommand.js +3 -3
- package/dist-es/commands/UpdateSecretVersionStageCommand.js +3 -3
- package/dist-es/commands/ValidateResourcePolicyCommand.js +3 -3
- package/dist-es/protocols/Aws_json1_1.js +375 -395
- package/dist-types/protocols/Aws_json1_1.d.ts +176 -44
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +44 -44
- package/package.json +35 -35
|
@@ -36,10 +36,10 @@ class CancelRotateSecretCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_CancelRotateSecretCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_CancelRotateSecretCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.CancelRotateSecretCommand = CancelRotateSecretCommand;
|
|
@@ -37,10 +37,10 @@ class CreateSecretCommand extends smithy_client_1.Command {
|
|
|
37
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
38
|
}
|
|
39
39
|
serialize(input, context) {
|
|
40
|
-
return (0, Aws_json1_1_1.
|
|
40
|
+
return (0, Aws_json1_1_1.se_CreateSecretCommand)(input, context);
|
|
41
41
|
}
|
|
42
42
|
deserialize(output, context) {
|
|
43
|
-
return (0, Aws_json1_1_1.
|
|
43
|
+
return (0, Aws_json1_1_1.de_CreateSecretCommand)(output, context);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
exports.CreateSecretCommand = CreateSecretCommand;
|
|
@@ -36,10 +36,10 @@ class DeleteResourcePolicyCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_DeleteResourcePolicyCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_DeleteResourcePolicyCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;
|
|
@@ -36,10 +36,10 @@ class DeleteSecretCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_DeleteSecretCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_DeleteSecretCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.DeleteSecretCommand = DeleteSecretCommand;
|
|
@@ -36,10 +36,10 @@ class DescribeSecretCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_DescribeSecretCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_DescribeSecretCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.DescribeSecretCommand = DescribeSecretCommand;
|
|
@@ -37,10 +37,10 @@ class GetRandomPasswordCommand extends smithy_client_1.Command {
|
|
|
37
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
38
|
}
|
|
39
39
|
serialize(input, context) {
|
|
40
|
-
return (0, Aws_json1_1_1.
|
|
40
|
+
return (0, Aws_json1_1_1.se_GetRandomPasswordCommand)(input, context);
|
|
41
41
|
}
|
|
42
42
|
deserialize(output, context) {
|
|
43
|
-
return (0, Aws_json1_1_1.
|
|
43
|
+
return (0, Aws_json1_1_1.de_GetRandomPasswordCommand)(output, context);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
exports.GetRandomPasswordCommand = GetRandomPasswordCommand;
|
|
@@ -36,10 +36,10 @@ class GetResourcePolicyCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_GetResourcePolicyCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_GetResourcePolicyCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
|
|
@@ -37,10 +37,10 @@ class GetSecretValueCommand extends smithy_client_1.Command {
|
|
|
37
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
38
|
}
|
|
39
39
|
serialize(input, context) {
|
|
40
|
-
return (0, Aws_json1_1_1.
|
|
40
|
+
return (0, Aws_json1_1_1.se_GetSecretValueCommand)(input, context);
|
|
41
41
|
}
|
|
42
42
|
deserialize(output, context) {
|
|
43
|
-
return (0, Aws_json1_1_1.
|
|
43
|
+
return (0, Aws_json1_1_1.de_GetSecretValueCommand)(output, context);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
exports.GetSecretValueCommand = GetSecretValueCommand;
|
|
@@ -36,10 +36,10 @@ class ListSecretVersionIdsCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_ListSecretVersionIdsCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_ListSecretVersionIdsCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.ListSecretVersionIdsCommand = ListSecretVersionIdsCommand;
|
|
@@ -36,10 +36,10 @@ class ListSecretsCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_ListSecretsCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_ListSecretsCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.ListSecretsCommand = ListSecretsCommand;
|
|
@@ -36,10 +36,10 @@ class PutResourcePolicyCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_PutResourcePolicyCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_PutResourcePolicyCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
|
|
@@ -37,10 +37,10 @@ class PutSecretValueCommand extends smithy_client_1.Command {
|
|
|
37
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
38
|
}
|
|
39
39
|
serialize(input, context) {
|
|
40
|
-
return (0, Aws_json1_1_1.
|
|
40
|
+
return (0, Aws_json1_1_1.se_PutSecretValueCommand)(input, context);
|
|
41
41
|
}
|
|
42
42
|
deserialize(output, context) {
|
|
43
|
-
return (0, Aws_json1_1_1.
|
|
43
|
+
return (0, Aws_json1_1_1.de_PutSecretValueCommand)(output, context);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
exports.PutSecretValueCommand = PutSecretValueCommand;
|
|
@@ -36,10 +36,10 @@ class RemoveRegionsFromReplicationCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_RemoveRegionsFromReplicationCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_RemoveRegionsFromReplicationCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.RemoveRegionsFromReplicationCommand = RemoveRegionsFromReplicationCommand;
|
|
@@ -36,10 +36,10 @@ class ReplicateSecretToRegionsCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_ReplicateSecretToRegionsCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_ReplicateSecretToRegionsCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.ReplicateSecretToRegionsCommand = ReplicateSecretToRegionsCommand;
|
|
@@ -36,10 +36,10 @@ class RestoreSecretCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_RestoreSecretCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_RestoreSecretCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.RestoreSecretCommand = RestoreSecretCommand;
|
|
@@ -36,10 +36,10 @@ class RotateSecretCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_RotateSecretCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_RotateSecretCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.RotateSecretCommand = RotateSecretCommand;
|
|
@@ -36,10 +36,10 @@ class StopReplicationToReplicaCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_StopReplicationToReplicaCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_StopReplicationToReplicaCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.StopReplicationToReplicaCommand = StopReplicationToReplicaCommand;
|
|
@@ -36,10 +36,10 @@ class TagResourceCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_TagResourceCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_TagResourceCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.TagResourceCommand = TagResourceCommand;
|
|
@@ -36,10 +36,10 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_UntagResourceCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_UntagResourceCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -37,10 +37,10 @@ class UpdateSecretCommand extends smithy_client_1.Command {
|
|
|
37
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
38
|
}
|
|
39
39
|
serialize(input, context) {
|
|
40
|
-
return (0, Aws_json1_1_1.
|
|
40
|
+
return (0, Aws_json1_1_1.se_UpdateSecretCommand)(input, context);
|
|
41
41
|
}
|
|
42
42
|
deserialize(output, context) {
|
|
43
|
-
return (0, Aws_json1_1_1.
|
|
43
|
+
return (0, Aws_json1_1_1.de_UpdateSecretCommand)(output, context);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
exports.UpdateSecretCommand = UpdateSecretCommand;
|
|
@@ -36,10 +36,10 @@ class UpdateSecretVersionStageCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_UpdateSecretVersionStageCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_UpdateSecretVersionStageCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.UpdateSecretVersionStageCommand = UpdateSecretVersionStageCommand;
|
|
@@ -36,10 +36,10 @@ class ValidateResourcePolicyCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_json1_1_1.
|
|
39
|
+
return (0, Aws_json1_1_1.se_ValidateResourcePolicyCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_json1_1_1.
|
|
42
|
+
return (0, Aws_json1_1_1.de_ValidateResourcePolicyCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.ValidateResourcePolicyCommand = ValidateResourcePolicyCommand;
|