@aws-sdk/client-secrets-manager 3.478.0 → 3.481.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/BatchGetSecretValueCommand.js +18 -41
- package/dist-cjs/commands/CancelRotateSecretCommand.js +18 -41
- package/dist-cjs/commands/CreateSecretCommand.js +18 -41
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/DeleteSecretCommand.js +18 -41
- package/dist-cjs/commands/DescribeSecretCommand.js +18 -41
- package/dist-cjs/commands/GetRandomPasswordCommand.js +18 -41
- package/dist-cjs/commands/GetResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/GetSecretValueCommand.js +18 -41
- package/dist-cjs/commands/ListSecretVersionIdsCommand.js +18 -41
- package/dist-cjs/commands/ListSecretsCommand.js +18 -41
- package/dist-cjs/commands/PutResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/PutSecretValueCommand.js +18 -41
- package/dist-cjs/commands/RemoveRegionsFromReplicationCommand.js +18 -41
- package/dist-cjs/commands/ReplicateSecretToRegionsCommand.js +18 -41
- package/dist-cjs/commands/RestoreSecretCommand.js +18 -41
- package/dist-cjs/commands/RotateSecretCommand.js +18 -41
- package/dist-cjs/commands/StopReplicationToReplicaCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateSecretCommand.js +18 -41
- package/dist-cjs/commands/UpdateSecretVersionStageCommand.js +18 -41
- package/dist-cjs/commands/ValidateResourcePolicyCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-es/commands/BatchGetSecretValueCommand.js +18 -41
- package/dist-es/commands/CancelRotateSecretCommand.js +18 -41
- package/dist-es/commands/CreateSecretCommand.js +18 -41
- package/dist-es/commands/DeleteResourcePolicyCommand.js +18 -41
- package/dist-es/commands/DeleteSecretCommand.js +18 -41
- package/dist-es/commands/DescribeSecretCommand.js +18 -41
- package/dist-es/commands/GetRandomPasswordCommand.js +18 -41
- package/dist-es/commands/GetResourcePolicyCommand.js +18 -41
- package/dist-es/commands/GetSecretValueCommand.js +18 -41
- package/dist-es/commands/ListSecretVersionIdsCommand.js +18 -41
- package/dist-es/commands/ListSecretsCommand.js +18 -41
- package/dist-es/commands/PutResourcePolicyCommand.js +18 -41
- package/dist-es/commands/PutSecretValueCommand.js +18 -41
- package/dist-es/commands/RemoveRegionsFromReplicationCommand.js +18 -41
- package/dist-es/commands/ReplicateSecretToRegionsCommand.js +18 -41
- package/dist-es/commands/RestoreSecretCommand.js +18 -41
- package/dist-es/commands/RotateSecretCommand.js +18 -41
- package/dist-es/commands/StopReplicationToReplicaCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateSecretCommand.js +18 -41
- package/dist-es/commands/UpdateSecretVersionStageCommand.js +18 -41
- package/dist-es/commands/ValidateResourcePolicyCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-types/commands/BatchGetSecretValueCommand.d.ts +6 -21
- package/dist-types/commands/CancelRotateSecretCommand.d.ts +6 -21
- package/dist-types/commands/CreateSecretCommand.d.ts +6 -21
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteSecretCommand.d.ts +6 -21
- package/dist-types/commands/DescribeSecretCommand.d.ts +6 -21
- package/dist-types/commands/GetRandomPasswordCommand.d.ts +6 -21
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/GetSecretValueCommand.d.ts +6 -21
- package/dist-types/commands/ListSecretVersionIdsCommand.d.ts +6 -21
- package/dist-types/commands/ListSecretsCommand.d.ts +6 -21
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/PutSecretValueCommand.d.ts +6 -21
- package/dist-types/commands/RemoveRegionsFromReplicationCommand.d.ts +6 -21
- package/dist-types/commands/ReplicateSecretToRegionsCommand.d.ts +6 -21
- package/dist-types/commands/RestoreSecretCommand.d.ts +6 -21
- package/dist-types/commands/RotateSecretCommand.d.ts +6 -21
- package/dist-types/commands/StopReplicationToReplicaCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateSecretCommand.d.ts +6 -21
- package/dist-types/commands/UpdateSecretVersionStageCommand.d.ts +6 -21
- package/dist-types/commands/ValidateResourcePolicyCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/BatchGetSecretValueCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CancelRotateSecretCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateSecretCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteSecretCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeSecretCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetRandomPasswordCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetSecretValueCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListSecretVersionIdsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListSecretsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutSecretValueCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RemoveRegionsFromReplicationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ReplicateSecretToRegionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RestoreSecretCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RotateSecretCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopReplicationToReplicaCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateSecretCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateSecretVersionStageCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ValidateResourcePolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +9 -9
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
11
|
-
class BatchGetSecretValueCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "SecretsManagerClient";
|
|
30
|
-
const commandName = "BatchGetSecretValueCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: (_) => _,
|
|
36
|
-
outputFilterSensitiveLog: models_0_1.BatchGetSecretValueResponseFilterSensitiveLog,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "secretsmanager",
|
|
39
|
-
operation: "BatchGetSecretValue",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_json1_1_1.se_BatchGetSecretValueCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_json1_1_1.de_BatchGetSecretValueCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class BatchGetSecretValueCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("secretsmanager", "BatchGetSecretValue", {})
|
|
23
|
+
.n("SecretsManagerClient", "BatchGetSecretValueCommand")
|
|
24
|
+
.f(void 0, models_0_1.BatchGetSecretValueResponseFilterSensitiveLog)
|
|
25
|
+
.ser(Aws_json1_1_1.se_BatchGetSecretValueCommand)
|
|
26
|
+
.de(Aws_json1_1_1.de_BatchGetSecretValueCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.BatchGetSecretValueCommand = BatchGetSecretValueCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class CancelRotateSecretCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "SecretsManagerClient";
|
|
29
|
-
const commandName = "CancelRotateSecretCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "secretsmanager",
|
|
38
|
-
operation: "CancelRotateSecret",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_CancelRotateSecretCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_CancelRotateSecretCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class CancelRotateSecretCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("secretsmanager", "CancelRotateSecret", {})
|
|
22
|
+
.n("SecretsManagerClient", "CancelRotateSecretCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_CancelRotateSecretCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_CancelRotateSecretCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.CancelRotateSecretCommand = CancelRotateSecretCommand;
|
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
11
|
-
class CreateSecretCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "SecretsManagerClient";
|
|
30
|
-
const commandName = "CreateSecretCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: models_0_1.CreateSecretRequestFilterSensitiveLog,
|
|
36
|
-
outputFilterSensitiveLog: (_) => _,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "secretsmanager",
|
|
39
|
-
operation: "CreateSecret",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_json1_1_1.se_CreateSecretCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_json1_1_1.de_CreateSecretCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class CreateSecretCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("secretsmanager", "CreateSecret", {})
|
|
23
|
+
.n("SecretsManagerClient", "CreateSecretCommand")
|
|
24
|
+
.f(models_0_1.CreateSecretRequestFilterSensitiveLog, void 0)
|
|
25
|
+
.ser(Aws_json1_1_1.se_CreateSecretCommand)
|
|
26
|
+
.de(Aws_json1_1_1.de_CreateSecretCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.CreateSecretCommand = CreateSecretCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class DeleteResourcePolicyCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "SecretsManagerClient";
|
|
29
|
-
const commandName = "DeleteResourcePolicyCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "secretsmanager",
|
|
38
|
-
operation: "DeleteResourcePolicy",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_DeleteResourcePolicyCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_DeleteResourcePolicyCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class DeleteResourcePolicyCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("secretsmanager", "DeleteResourcePolicy", {})
|
|
22
|
+
.n("SecretsManagerClient", "DeleteResourcePolicyCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_DeleteResourcePolicyCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_DeleteResourcePolicyCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class DeleteSecretCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "SecretsManagerClient";
|
|
29
|
-
const commandName = "DeleteSecretCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "secretsmanager",
|
|
38
|
-
operation: "DeleteSecret",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_DeleteSecretCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_DeleteSecretCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class DeleteSecretCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("secretsmanager", "DeleteSecret", {})
|
|
22
|
+
.n("SecretsManagerClient", "DeleteSecretCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_DeleteSecretCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_DeleteSecretCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.DeleteSecretCommand = DeleteSecretCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class DescribeSecretCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "SecretsManagerClient";
|
|
29
|
-
const commandName = "DescribeSecretCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "secretsmanager",
|
|
38
|
-
operation: "DescribeSecret",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_DescribeSecretCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_DescribeSecretCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class DescribeSecretCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("secretsmanager", "DescribeSecret", {})
|
|
22
|
+
.n("SecretsManagerClient", "DescribeSecretCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_DescribeSecretCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_DescribeSecretCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.DescribeSecretCommand = DescribeSecretCommand;
|
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
11
|
-
class GetRandomPasswordCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "SecretsManagerClient";
|
|
30
|
-
const commandName = "GetRandomPasswordCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: (_) => _,
|
|
36
|
-
outputFilterSensitiveLog: models_0_1.GetRandomPasswordResponseFilterSensitiveLog,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "secretsmanager",
|
|
39
|
-
operation: "GetRandomPassword",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_json1_1_1.se_GetRandomPasswordCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_json1_1_1.de_GetRandomPasswordCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class GetRandomPasswordCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("secretsmanager", "GetRandomPassword", {})
|
|
23
|
+
.n("SecretsManagerClient", "GetRandomPasswordCommand")
|
|
24
|
+
.f(void 0, models_0_1.GetRandomPasswordResponseFilterSensitiveLog)
|
|
25
|
+
.ser(Aws_json1_1_1.se_GetRandomPasswordCommand)
|
|
26
|
+
.de(Aws_json1_1_1.de_GetRandomPasswordCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.GetRandomPasswordCommand = GetRandomPasswordCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class GetResourcePolicyCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "SecretsManagerClient";
|
|
29
|
-
const commandName = "GetResourcePolicyCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "secretsmanager",
|
|
38
|
-
operation: "GetResourcePolicy",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_GetResourcePolicyCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_GetResourcePolicyCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class GetResourcePolicyCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("secretsmanager", "GetResourcePolicy", {})
|
|
22
|
+
.n("SecretsManagerClient", "GetResourcePolicyCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_GetResourcePolicyCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_GetResourcePolicyCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
|
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
11
|
-
class GetSecretValueCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "SecretsManagerClient";
|
|
30
|
-
const commandName = "GetSecretValueCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: (_) => _,
|
|
36
|
-
outputFilterSensitiveLog: models_0_1.GetSecretValueResponseFilterSensitiveLog,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "secretsmanager",
|
|
39
|
-
operation: "GetSecretValue",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_json1_1_1.se_GetSecretValueCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_json1_1_1.de_GetSecretValueCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class GetSecretValueCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("secretsmanager", "GetSecretValue", {})
|
|
23
|
+
.n("SecretsManagerClient", "GetSecretValueCommand")
|
|
24
|
+
.f(void 0, models_0_1.GetSecretValueResponseFilterSensitiveLog)
|
|
25
|
+
.ser(Aws_json1_1_1.se_GetSecretValueCommand)
|
|
26
|
+
.de(Aws_json1_1_1.de_GetSecretValueCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.GetSecretValueCommand = GetSecretValueCommand;
|