@aws-sdk/client-secrets-manager 3.36.0 → 3.39.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 +42 -0
- package/dist-cjs/SecretsManager.js +0 -65
- package/dist-cjs/SecretsManagerClient.js +0 -70
- package/dist-cjs/commands/CancelRotateSecretCommand.js +0 -76
- package/dist-cjs/commands/CreateSecretCommand.js +0 -111
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +0 -47
- package/dist-cjs/commands/DeleteSecretCommand.js +0 -69
- package/dist-cjs/commands/DescribeSecretCommand.js +0 -51
- package/dist-cjs/commands/GetRandomPasswordCommand.js +0 -36
- package/dist-cjs/commands/GetResourcePolicyCommand.js +0 -50
- package/dist-cjs/commands/GetSecretValueCommand.js +0 -51
- package/dist-cjs/commands/ListSecretVersionIdsCommand.js +0 -52
- package/dist-cjs/commands/ListSecretsCommand.js +0 -53
- package/dist-cjs/commands/PutResourcePolicyCommand.js +0 -55
- package/dist-cjs/commands/PutSecretValueCommand.js +0 -111
- package/dist-cjs/commands/RemoveRegionsFromReplicationCommand.js +0 -24
- package/dist-cjs/commands/ReplicateSecretToRegionsCommand.js +0 -25
- package/dist-cjs/commands/RestoreSecretCommand.js +0 -42
- package/dist-cjs/commands/RotateSecretCommand.js +0 -85
- package/dist-cjs/commands/StopReplicationToReplicaCommand.js +0 -24
- package/dist-cjs/commands/TagResourceCommand.js +0 -79
- package/dist-cjs/commands/UntagResourceCommand.js +0 -52
- package/dist-cjs/commands/UpdateSecretCommand.js +0 -108
- package/dist-cjs/commands/UpdateSecretVersionStageCommand.js +0 -60
- package/dist-cjs/commands/ValidateResourcePolicyCommand.js +0 -58
- package/dist-cjs/commands/index.js +25 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +4 -27
- package/dist-cjs/models/models_0.js +0 -186
- package/dist-cjs/pagination/ListSecretVersionIdsPaginator.js +0 -10
- package/dist-cjs/pagination/ListSecretsPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_json1_1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-es/commands/index.js +22 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +4 -27
- package/dist-es/pagination/index.js +3 -0
- package/dist-types/SecretsManager.d.ts +16 -10
- package/dist-types/commands/PutSecretValueCommand.d.ts +6 -5
- package/dist-types/commands/UpdateSecretCommand.d.ts +10 -5
- package/dist-types/commands/index.d.ts +22 -0
- package/dist-types/index.d.ts +4 -27
- package/dist-types/models/models_0.d.ts +54 -268
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/SecretsManager.d.ts +23 -922
- package/dist-types/ts3.4/SecretsManagerClient.d.ts +24 -151
- package/dist-types/ts3.4/commands/CancelRotateSecretCommand.d.ts +2 -72
- package/dist-types/ts3.4/commands/CreateSecretCommand.d.ts +2 -107
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +2 -43
- package/dist-types/ts3.4/commands/DeleteSecretCommand.d.ts +2 -65
- package/dist-types/ts3.4/commands/DescribeSecretCommand.d.ts +2 -47
- package/dist-types/ts3.4/commands/GetRandomPasswordCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +2 -46
- package/dist-types/ts3.4/commands/GetSecretValueCommand.d.ts +2 -47
- package/dist-types/ts3.4/commands/ListSecretVersionIdsCommand.d.ts +2 -48
- package/dist-types/ts3.4/commands/ListSecretsCommand.d.ts +2 -49
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +2 -51
- package/dist-types/ts3.4/commands/PutSecretValueCommand.d.ts +2 -107
- package/dist-types/ts3.4/commands/RemoveRegionsFromReplicationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ReplicateSecretToRegionsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/RestoreSecretCommand.d.ts +2 -38
- package/dist-types/ts3.4/commands/RotateSecretCommand.d.ts +2 -81
- package/dist-types/ts3.4/commands/StopReplicationToReplicaCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -75
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -48
- package/dist-types/ts3.4/commands/UpdateSecretCommand.d.ts +2 -104
- package/dist-types/ts3.4/commands/UpdateSecretVersionStageCommand.d.ts +2 -56
- package/dist-types/ts3.4/commands/ValidateResourcePolicyCommand.d.ts +2 -54
- package/dist-types/ts3.4/commands/index.d.ts +22 -0
- package/dist-types/ts3.4/index.d.ts +4 -27
- package/dist-types/ts3.4/models/models_0.d.ts +256 -1506
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +32 -32
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,48 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-secrets-manager
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
|
|
20
|
+
* **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Features
|
|
30
|
+
|
|
31
|
+
* **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Bug Fixes
|
|
41
|
+
|
|
42
|
+
* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
6
48
|
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
7
49
|
|
|
8
50
|
|
|
@@ -24,71 +24,6 @@ const UpdateSecretCommand_1 = require("./commands/UpdateSecretCommand");
|
|
|
24
24
|
const UpdateSecretVersionStageCommand_1 = require("./commands/UpdateSecretVersionStageCommand");
|
|
25
25
|
const ValidateResourcePolicyCommand_1 = require("./commands/ValidateResourcePolicyCommand");
|
|
26
26
|
const SecretsManagerClient_1 = require("./SecretsManagerClient");
|
|
27
|
-
/**
|
|
28
|
-
* <fullname>Amazon Web Services Secrets Manager</fullname>
|
|
29
|
-
* <p>Amazon Web Services Secrets Manager provides a service to enable you to store, manage, and retrieve, secrets.</p>
|
|
30
|
-
*
|
|
31
|
-
* <p>This guide provides descriptions of the Secrets Manager API. For more information about using this
|
|
32
|
-
* service, see the <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/introduction.html">Amazon Web Services Secrets Manager User Guide</a>.</p>
|
|
33
|
-
*
|
|
34
|
-
* <p>
|
|
35
|
-
* <b>API Version</b>
|
|
36
|
-
* </p>
|
|
37
|
-
*
|
|
38
|
-
* <p>This version of the Secrets Manager API Reference documents the Secrets Manager API version 2017-10-17.</p>
|
|
39
|
-
* <note>
|
|
40
|
-
* <p>As an alternative to using the API, you can use one of the Amazon Web Services SDKs, which consist of
|
|
41
|
-
* libraries and sample code for various programming languages and platforms such as Java,
|
|
42
|
-
* Ruby, .NET, iOS, and Android. The SDKs provide a convenient way to create programmatic
|
|
43
|
-
* access to Amazon Web Services Secrets Manager. For example, the SDKs provide cryptographically signing requests,
|
|
44
|
-
* managing errors, and retrying requests automatically. For more information about the Amazon Web Services
|
|
45
|
-
* SDKs, including downloading and installing them, see <a href="http://aws.amazon.com/tools/">Tools for Amazon Web Services</a>.</p>
|
|
46
|
-
* </note>
|
|
47
|
-
* <p>We recommend you use the Amazon Web Services SDKs to make programmatic API calls to Secrets Manager. However, you
|
|
48
|
-
* also can use the Secrets Manager HTTP Query API to make direct calls to the Secrets Manager web service. To learn
|
|
49
|
-
* more about the Secrets Manager HTTP Query API, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/query-requests.html">Making Query Requests</a> in the
|
|
50
|
-
* <i>Amazon Web Services Secrets Manager User Guide</i>. </p>
|
|
51
|
-
* <p>Secrets Manager API supports GET and POST requests for all actions, and doesn't require you to use
|
|
52
|
-
* GET for some actions and POST for others. However, GET requests are subject to the limitation
|
|
53
|
-
* size of a URL. Therefore, for operations that require larger sizes, use a POST request.</p>
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
* <p>
|
|
62
|
-
* <b>Support and Feedback for Amazon Web Services Secrets Manager</b>
|
|
63
|
-
* </p>
|
|
64
|
-
*
|
|
65
|
-
* <p>We welcome your feedback. Send your comments to <a href="mailto:awssecretsmanager-feedback@amazon.com">awssecretsmanager-feedback@amazon.com</a>, or post your feedback and questions in the <a href="http://forums.aws.amazon.com/forum.jspa?forumID=296">Amazon Web Services Secrets Manager Discussion Forum</a>. For more
|
|
66
|
-
* information about the Amazon Web Services Discussion Forums, see <a href="http://forums.aws.amazon.com/help.jspa">Forums
|
|
67
|
-
* Help</a>.</p>
|
|
68
|
-
*
|
|
69
|
-
* <p>
|
|
70
|
-
* <b>How examples are presented</b>
|
|
71
|
-
* </p>
|
|
72
|
-
*
|
|
73
|
-
* <p>The JSON that Amazon Web Services Secrets Manager expects as your request parameters and the service returns as a
|
|
74
|
-
* response to HTTP query requests contain single, long strings without line breaks or white
|
|
75
|
-
* space formatting. The JSON shown in the examples displays the code formatted with both line
|
|
76
|
-
* breaks and white space to improve readability. When example input parameters can also cause
|
|
77
|
-
* long strings extending beyond the screen, you can insert line breaks to enhance readability.
|
|
78
|
-
* You should always submit the input as a single JSON text string.</p>
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
* <p>
|
|
82
|
-
* <b>Logging API Requests</b>
|
|
83
|
-
* </p>
|
|
84
|
-
* <p>Amazon Web Services Secrets Manager supports Amazon Web Services CloudTrail, a service that records Amazon Web Services API calls for your Amazon Web Services
|
|
85
|
-
* account and delivers log files to an Amazon S3 bucket. By using information that's collected
|
|
86
|
-
* by Amazon Web Services CloudTrail, you can determine the requests successfully made to Secrets Manager, who made the
|
|
87
|
-
* request, when it was made, and so on. For more about Amazon Web Services Secrets Manager and support for Amazon Web Services
|
|
88
|
-
* CloudTrail, see <a href="http://docs.aws.amazon.com/secretsmanager/latest/userguide/monitoring.html#monitoring_cloudtrail">Logging
|
|
89
|
-
* Amazon Web Services Secrets Manager Events with Amazon Web Services CloudTrail</a> in the <i>Amazon Web Services Secrets Manager User Guide</i>.
|
|
90
|
-
* To learn more about CloudTrail, including enabling it and find your log files, see the <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/what_is_cloud_trail_top_level.html">Amazon Web Services CloudTrail User Guide</a>.</p>
|
|
91
|
-
*/
|
|
92
27
|
class SecretsManager extends SecretsManagerClient_1.SecretsManagerClient {
|
|
93
28
|
cancelRotateSecret(args, optionsOrCb, cb) {
|
|
94
29
|
const command = new CancelRotateSecretCommand_1.CancelRotateSecretCommand(args);
|
|
@@ -10,71 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
10
10
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
11
11
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
|
-
/**
|
|
14
|
-
* <fullname>Amazon Web Services Secrets Manager</fullname>
|
|
15
|
-
* <p>Amazon Web Services Secrets Manager provides a service to enable you to store, manage, and retrieve, secrets.</p>
|
|
16
|
-
*
|
|
17
|
-
* <p>This guide provides descriptions of the Secrets Manager API. For more information about using this
|
|
18
|
-
* service, see the <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/introduction.html">Amazon Web Services Secrets Manager User Guide</a>.</p>
|
|
19
|
-
*
|
|
20
|
-
* <p>
|
|
21
|
-
* <b>API Version</b>
|
|
22
|
-
* </p>
|
|
23
|
-
*
|
|
24
|
-
* <p>This version of the Secrets Manager API Reference documents the Secrets Manager API version 2017-10-17.</p>
|
|
25
|
-
* <note>
|
|
26
|
-
* <p>As an alternative to using the API, you can use one of the Amazon Web Services SDKs, which consist of
|
|
27
|
-
* libraries and sample code for various programming languages and platforms such as Java,
|
|
28
|
-
* Ruby, .NET, iOS, and Android. The SDKs provide a convenient way to create programmatic
|
|
29
|
-
* access to Amazon Web Services Secrets Manager. For example, the SDKs provide cryptographically signing requests,
|
|
30
|
-
* managing errors, and retrying requests automatically. For more information about the Amazon Web Services
|
|
31
|
-
* SDKs, including downloading and installing them, see <a href="http://aws.amazon.com/tools/">Tools for Amazon Web Services</a>.</p>
|
|
32
|
-
* </note>
|
|
33
|
-
* <p>We recommend you use the Amazon Web Services SDKs to make programmatic API calls to Secrets Manager. However, you
|
|
34
|
-
* also can use the Secrets Manager HTTP Query API to make direct calls to the Secrets Manager web service. To learn
|
|
35
|
-
* more about the Secrets Manager HTTP Query API, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/query-requests.html">Making Query Requests</a> in the
|
|
36
|
-
* <i>Amazon Web Services Secrets Manager User Guide</i>. </p>
|
|
37
|
-
* <p>Secrets Manager API supports GET and POST requests for all actions, and doesn't require you to use
|
|
38
|
-
* GET for some actions and POST for others. However, GET requests are subject to the limitation
|
|
39
|
-
* size of a URL. Therefore, for operations that require larger sizes, use a POST request.</p>
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
* <p>
|
|
48
|
-
* <b>Support and Feedback for Amazon Web Services Secrets Manager</b>
|
|
49
|
-
* </p>
|
|
50
|
-
*
|
|
51
|
-
* <p>We welcome your feedback. Send your comments to <a href="mailto:awssecretsmanager-feedback@amazon.com">awssecretsmanager-feedback@amazon.com</a>, or post your feedback and questions in the <a href="http://forums.aws.amazon.com/forum.jspa?forumID=296">Amazon Web Services Secrets Manager Discussion Forum</a>. For more
|
|
52
|
-
* information about the Amazon Web Services Discussion Forums, see <a href="http://forums.aws.amazon.com/help.jspa">Forums
|
|
53
|
-
* Help</a>.</p>
|
|
54
|
-
*
|
|
55
|
-
* <p>
|
|
56
|
-
* <b>How examples are presented</b>
|
|
57
|
-
* </p>
|
|
58
|
-
*
|
|
59
|
-
* <p>The JSON that Amazon Web Services Secrets Manager expects as your request parameters and the service returns as a
|
|
60
|
-
* response to HTTP query requests contain single, long strings without line breaks or white
|
|
61
|
-
* space formatting. The JSON shown in the examples displays the code formatted with both line
|
|
62
|
-
* breaks and white space to improve readability. When example input parameters can also cause
|
|
63
|
-
* long strings extending beyond the screen, you can insert line breaks to enhance readability.
|
|
64
|
-
* You should always submit the input as a single JSON text string.</p>
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
* <p>
|
|
68
|
-
* <b>Logging API Requests</b>
|
|
69
|
-
* </p>
|
|
70
|
-
* <p>Amazon Web Services Secrets Manager supports Amazon Web Services CloudTrail, a service that records Amazon Web Services API calls for your Amazon Web Services
|
|
71
|
-
* account and delivers log files to an Amazon S3 bucket. By using information that's collected
|
|
72
|
-
* by Amazon Web Services CloudTrail, you can determine the requests successfully made to Secrets Manager, who made the
|
|
73
|
-
* request, when it was made, and so on. For more about Amazon Web Services Secrets Manager and support for Amazon Web Services
|
|
74
|
-
* CloudTrail, see <a href="http://docs.aws.amazon.com/secretsmanager/latest/userguide/monitoring.html#monitoring_cloudtrail">Logging
|
|
75
|
-
* Amazon Web Services Secrets Manager Events with Amazon Web Services CloudTrail</a> in the <i>Amazon Web Services Secrets Manager User Guide</i>.
|
|
76
|
-
* To learn more about CloudTrail, including enabling it and find your log files, see the <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/what_is_cloud_trail_top_level.html">Amazon Web Services CloudTrail User Guide</a>.</p>
|
|
77
|
-
*/
|
|
78
13
|
class SecretsManagerClient extends smithy_client_1.Client {
|
|
79
14
|
constructor(configuration) {
|
|
80
15
|
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
@@ -93,11 +28,6 @@ class SecretsManagerClient extends smithy_client_1.Client {
|
|
|
93
28
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
94
29
|
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
95
30
|
}
|
|
96
|
-
/**
|
|
97
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
98
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
99
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
100
|
-
*/
|
|
101
31
|
destroy() {
|
|
102
32
|
super.destroy();
|
|
103
33
|
}
|
|
@@ -5,87 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Disables automatic scheduled rotation and cancels the rotation of a secret if currently in
|
|
10
|
-
* progress.</p>
|
|
11
|
-
* <p>To re-enable scheduled rotation, call <a>RotateSecret</a> with
|
|
12
|
-
* <code>AutomaticallyRotateAfterDays</code> set to a value greater than 0. This immediately
|
|
13
|
-
* rotates your secret and then enables the automatic schedule.</p>
|
|
14
|
-
* <note>
|
|
15
|
-
* <p>If you cancel a rotation while in progress, it can leave the <code>VersionStage</code>
|
|
16
|
-
* labels in an unexpected state. Depending on the step of the rotation in progress, you might
|
|
17
|
-
* need to remove the staging label <code>AWSPENDING</code> from the partially created version, specified
|
|
18
|
-
* by the <code>VersionId</code> response value. You should also evaluate the partially rotated
|
|
19
|
-
* new version to see if it should be deleted, which you can do by removing all staging labels
|
|
20
|
-
* from the new version <code>VersionStage</code> field.</p>
|
|
21
|
-
* </note>
|
|
22
|
-
* <p>To successfully start a rotation, the staging label <code>AWSPENDING</code> must be in one of the
|
|
23
|
-
* following states:</p>
|
|
24
|
-
* <ul>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>Not attached to any version at all</p>
|
|
27
|
-
* </li>
|
|
28
|
-
* <li>
|
|
29
|
-
* <p>Attached to the same version as the staging label <code>AWSCURRENT</code>
|
|
30
|
-
* </p>
|
|
31
|
-
* </li>
|
|
32
|
-
* </ul>
|
|
33
|
-
* <p>If the staging label <code>AWSPENDING</code> attached to a different version than the version with
|
|
34
|
-
* <code>AWSCURRENT</code> then the attempt to rotate fails.</p>
|
|
35
|
-
*
|
|
36
|
-
* <p>
|
|
37
|
-
* <b>Minimum permissions</b>
|
|
38
|
-
* </p>
|
|
39
|
-
* <p>To run this command, you must have the following permissions:</p>
|
|
40
|
-
* <ul>
|
|
41
|
-
* <li>
|
|
42
|
-
* <p>secretsmanager:CancelRotateSecret</p>
|
|
43
|
-
* </li>
|
|
44
|
-
* </ul>
|
|
45
|
-
* <p>
|
|
46
|
-
* <b>Related operations</b>
|
|
47
|
-
* </p>
|
|
48
|
-
* <ul>
|
|
49
|
-
* <li>
|
|
50
|
-
* <p>To configure rotation for a secret or to manually trigger a rotation, use <a>RotateSecret</a>.</p>
|
|
51
|
-
* </li>
|
|
52
|
-
* <li>
|
|
53
|
-
* <p>To get the rotation configuration details for a secret, use <a>DescribeSecret</a>.</p>
|
|
54
|
-
* </li>
|
|
55
|
-
* <li>
|
|
56
|
-
* <p>To list all of the currently available secrets, use <a>ListSecrets</a>.</p>
|
|
57
|
-
* </li>
|
|
58
|
-
* <li>
|
|
59
|
-
* <p>To list all of the versions currently associated with a secret, use <a>ListSecretVersionIds</a>.</p>
|
|
60
|
-
* </li>
|
|
61
|
-
* </ul>
|
|
62
|
-
* @example
|
|
63
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
64
|
-
* ```javascript
|
|
65
|
-
* import { SecretsManagerClient, CancelRotateSecretCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
66
|
-
* // const { SecretsManagerClient, CancelRotateSecretCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
67
|
-
* const client = new SecretsManagerClient(config);
|
|
68
|
-
* const command = new CancelRotateSecretCommand(input);
|
|
69
|
-
* const response = await client.send(command);
|
|
70
|
-
* ```
|
|
71
|
-
*
|
|
72
|
-
* @see {@link CancelRotateSecretCommandInput} for command's `input` shape.
|
|
73
|
-
* @see {@link CancelRotateSecretCommandOutput} for command's `response` shape.
|
|
74
|
-
* @see {@link SecretsManagerClientResolvedConfig | config} for command's `input` shape.
|
|
75
|
-
*
|
|
76
|
-
*/
|
|
77
8
|
class CancelRotateSecretCommand extends smithy_client_1.Command {
|
|
78
|
-
// Start section: command_properties
|
|
79
|
-
// End section: command_properties
|
|
80
9
|
constructor(input) {
|
|
81
|
-
// Start section: command_constructor
|
|
82
10
|
super();
|
|
83
11
|
this.input = input;
|
|
84
|
-
// End section: command_constructor
|
|
85
12
|
}
|
|
86
|
-
/**
|
|
87
|
-
* @internal
|
|
88
|
-
*/
|
|
89
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
90
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
91
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,122 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Creates a new secret. A secret in Secrets Manager consists of both the protected secret data and the
|
|
10
|
-
* important information needed to manage the secret.</p>
|
|
11
|
-
* <p>Secrets Manager stores the encrypted secret data in one of a collection of "versions"
|
|
12
|
-
* associated with the secret. Each version contains a copy of the encrypted secret data. Each
|
|
13
|
-
* version is associated with one or more "staging labels" that identify where the version is in
|
|
14
|
-
* the rotation cycle. The <code>SecretVersionsToStages</code> field of the secret contains the
|
|
15
|
-
* mapping of staging labels to the active versions of the secret. Versions without a staging
|
|
16
|
-
* label are considered deprecated and not included in the list.</p>
|
|
17
|
-
* <p>You provide the secret data to be encrypted by putting text in either the
|
|
18
|
-
* <code>SecretString</code> parameter or binary data in the <code>SecretBinary</code>
|
|
19
|
-
* parameter, but not both. If you include <code>SecretString</code> or <code>SecretBinary</code>
|
|
20
|
-
* then Secrets Manager also creates an initial secret version and automatically attaches the staging
|
|
21
|
-
* label <code>AWSCURRENT</code> to the new version.</p>
|
|
22
|
-
* <note>
|
|
23
|
-
* <ul>
|
|
24
|
-
* <li>
|
|
25
|
-
* <p>If you call an operation to encrypt or decrypt the <code>SecretString</code>
|
|
26
|
-
* or <code>SecretBinary</code> for a secret in the same account as the calling user and that
|
|
27
|
-
* secret doesn't specify a Amazon Web Services KMS encryption key, Secrets Manager uses the account's default
|
|
28
|
-
* Amazon Web Services managed customer master key (CMK) with the alias <code>aws/secretsmanager</code>. If this key
|
|
29
|
-
* doesn't already exist in your account then Secrets Manager creates it for you automatically. All
|
|
30
|
-
* users and roles in the same Amazon Web Services account automatically have access to use the default CMK.
|
|
31
|
-
* Note that if an Secrets Manager API call results in Amazon Web Services creating the account's
|
|
32
|
-
* Amazon Web Services-managed CMK, it can result in a one-time significant delay in returning the
|
|
33
|
-
* result.</p>
|
|
34
|
-
* </li>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>If the secret resides in a different Amazon Web Services account from the credentials calling an API that
|
|
37
|
-
* requires encryption or decryption of the secret value then you must create and use a custom
|
|
38
|
-
* Amazon Web Services KMS CMK because you can't access the default CMK for the account using credentials
|
|
39
|
-
* from a different Amazon Web Services account. Store the ARN of the CMK in the secret when you create the
|
|
40
|
-
* secret or when you update it by including it in the <code>KMSKeyId</code>. If you call an
|
|
41
|
-
* API that must encrypt or decrypt <code>SecretString</code> or <code>SecretBinary</code>
|
|
42
|
-
* using credentials from a different account then the Amazon Web Services KMS key policy must grant cross-account
|
|
43
|
-
* access to that other account's user or role for both the kms:GenerateDataKey and
|
|
44
|
-
* kms:Decrypt operations.</p>
|
|
45
|
-
* </li>
|
|
46
|
-
* </ul>
|
|
47
|
-
* </note>
|
|
48
|
-
* <p> </p>
|
|
49
|
-
* <p>
|
|
50
|
-
* <b>Minimum permissions</b>
|
|
51
|
-
* </p>
|
|
52
|
-
* <p>To run this command, you must have the following permissions:</p>
|
|
53
|
-
* <ul>
|
|
54
|
-
* <li>
|
|
55
|
-
* <p>secretsmanager:CreateSecret</p>
|
|
56
|
-
* </li>
|
|
57
|
-
* <li>
|
|
58
|
-
* <p>kms:GenerateDataKey - needed only if you use a customer-managed Amazon Web Services KMS key to encrypt
|
|
59
|
-
* the secret. You do not need this permission to use the account default Amazon Web Services managed CMK
|
|
60
|
-
* for Secrets Manager.</p>
|
|
61
|
-
* </li>
|
|
62
|
-
* <li>
|
|
63
|
-
* <p>kms:Decrypt - needed only if you use a customer-managed Amazon Web Services KMS key to encrypt the
|
|
64
|
-
* secret. You do not need this permission to use the account default Amazon Web Services managed CMK for
|
|
65
|
-
* Secrets Manager.</p>
|
|
66
|
-
* </li>
|
|
67
|
-
* <li>
|
|
68
|
-
* <p>secretsmanager:TagResource - needed only if you include the <code>Tags</code>
|
|
69
|
-
* parameter. </p>
|
|
70
|
-
* </li>
|
|
71
|
-
* </ul>
|
|
72
|
-
* <p>
|
|
73
|
-
* <b>Related operations</b>
|
|
74
|
-
* </p>
|
|
75
|
-
* <ul>
|
|
76
|
-
* <li>
|
|
77
|
-
* <p>To delete a secret, use <a>DeleteSecret</a>.</p>
|
|
78
|
-
* </li>
|
|
79
|
-
* <li>
|
|
80
|
-
* <p>To modify an existing secret, use <a>UpdateSecret</a>.</p>
|
|
81
|
-
* </li>
|
|
82
|
-
* <li>
|
|
83
|
-
* <p>To create a new version of a secret, use <a>PutSecretValue</a>.</p>
|
|
84
|
-
* </li>
|
|
85
|
-
* <li>
|
|
86
|
-
* <p>To retrieve the encrypted secure string and secure binary values, use <a>GetSecretValue</a>.</p>
|
|
87
|
-
* </li>
|
|
88
|
-
* <li>
|
|
89
|
-
* <p>To retrieve all other details for a secret, use <a>DescribeSecret</a>. This
|
|
90
|
-
* does not include the encrypted secure string and secure binary values.</p>
|
|
91
|
-
* </li>
|
|
92
|
-
* <li>
|
|
93
|
-
* <p>To retrieve the list of secret versions associated with the current secret, use <a>DescribeSecret</a> and examine the <code>SecretVersionsToStages</code> response
|
|
94
|
-
* value.</p>
|
|
95
|
-
* </li>
|
|
96
|
-
* </ul>
|
|
97
|
-
* @example
|
|
98
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
99
|
-
* ```javascript
|
|
100
|
-
* import { SecretsManagerClient, CreateSecretCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
101
|
-
* // const { SecretsManagerClient, CreateSecretCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
102
|
-
* const client = new SecretsManagerClient(config);
|
|
103
|
-
* const command = new CreateSecretCommand(input);
|
|
104
|
-
* const response = await client.send(command);
|
|
105
|
-
* ```
|
|
106
|
-
*
|
|
107
|
-
* @see {@link CreateSecretCommandInput} for command's `input` shape.
|
|
108
|
-
* @see {@link CreateSecretCommandOutput} for command's `response` shape.
|
|
109
|
-
* @see {@link SecretsManagerClientResolvedConfig | config} for command's `input` shape.
|
|
110
|
-
*
|
|
111
|
-
*/
|
|
112
8
|
class CreateSecretCommand extends smithy_client_1.Command {
|
|
113
|
-
// Start section: command_properties
|
|
114
|
-
// End section: command_properties
|
|
115
9
|
constructor(input) {
|
|
116
|
-
// Start section: command_constructor
|
|
117
10
|
super();
|
|
118
11
|
this.input = input;
|
|
119
|
-
// End section: command_constructor
|
|
120
12
|
}
|
|
121
|
-
/**
|
|
122
|
-
* @internal
|
|
123
|
-
*/
|
|
124
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
125
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
126
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,58 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes the resource-based permission policy attached to the secret.</p>
|
|
10
|
-
* <p>
|
|
11
|
-
* <b>Minimum permissions</b>
|
|
12
|
-
* </p>
|
|
13
|
-
* <p>To run this command, you must have the following permissions:</p>
|
|
14
|
-
* <ul>
|
|
15
|
-
* <li>
|
|
16
|
-
* <p>secretsmanager:DeleteResourcePolicy</p>
|
|
17
|
-
* </li>
|
|
18
|
-
* </ul>
|
|
19
|
-
* <p>
|
|
20
|
-
* <b>Related operations</b>
|
|
21
|
-
* </p>
|
|
22
|
-
* <ul>
|
|
23
|
-
* <li>
|
|
24
|
-
* <p>To attach a resource policy to a secret, use <a>PutResourcePolicy</a>.</p>
|
|
25
|
-
* </li>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>To retrieve the current resource-based policy attached to a secret, use <a>GetResourcePolicy</a>.</p>
|
|
28
|
-
* </li>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>To list all of the currently available secrets, use <a>ListSecrets</a>.</p>
|
|
31
|
-
* </li>
|
|
32
|
-
* </ul>
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { SecretsManagerClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
37
|
-
* // const { SecretsManagerClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
38
|
-
* const client = new SecretsManagerClient(config);
|
|
39
|
-
* const command = new DeleteResourcePolicyCommand(input);
|
|
40
|
-
* const response = await client.send(command);
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @see {@link DeleteResourcePolicyCommandInput} for command's `input` shape.
|
|
44
|
-
* @see {@link DeleteResourcePolicyCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link SecretsManagerClientResolvedConfig | config} for command's `input` shape.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
8
|
class DeleteResourcePolicyCommand extends smithy_client_1.Command {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
9
|
constructor(input) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
10
|
super();
|
|
54
11
|
this.input = input;
|
|
55
|
-
// End section: command_constructor
|
|
56
12
|
}
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
61
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
62
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,80 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes an entire secret and all of the versions. You can optionally include a recovery
|
|
10
|
-
* window during which you can restore the secret. If you don't specify a recovery window value,
|
|
11
|
-
* the operation defaults to 30 days. Secrets Manager attaches a <code>DeletionDate</code> stamp to
|
|
12
|
-
* the secret that specifies the end of the recovery window. At the end of the recovery window,
|
|
13
|
-
* Secrets Manager deletes the secret permanently.</p>
|
|
14
|
-
* <p>At any time before recovery window ends, you can use <a>RestoreSecret</a> to
|
|
15
|
-
* remove the <code>DeletionDate</code> and cancel the deletion of the secret.</p>
|
|
16
|
-
* <p>You cannot access the encrypted secret information in any secret scheduled for deletion.
|
|
17
|
-
* If you need to access that information, you must cancel the deletion with <a>RestoreSecret</a> and then retrieve the information.</p>
|
|
18
|
-
* <note>
|
|
19
|
-
* <ul>
|
|
20
|
-
* <li>
|
|
21
|
-
* <p>There is no explicit operation to delete a version of a secret. Instead, remove all
|
|
22
|
-
* staging labels from the <code>VersionStage</code> field of a version. That marks the
|
|
23
|
-
* version as deprecated and allows Secrets Manager to delete it as needed. Versions without any
|
|
24
|
-
* staging labels do not show up in <a>ListSecretVersionIds</a> unless you
|
|
25
|
-
* specify <code>IncludeDeprecated</code>.</p>
|
|
26
|
-
* </li>
|
|
27
|
-
* <li>
|
|
28
|
-
* <p>The permanent secret deletion at the end of the waiting period is performed as a
|
|
29
|
-
* background task with low priority. There is no guarantee of a specific time after the
|
|
30
|
-
* recovery window for the actual delete operation to occur.</p>
|
|
31
|
-
* </li>
|
|
32
|
-
* </ul>
|
|
33
|
-
* </note>
|
|
34
|
-
* <p>
|
|
35
|
-
* <b>Minimum permissions</b>
|
|
36
|
-
* </p>
|
|
37
|
-
* <p>To run this command, you must have the following permissions:</p>
|
|
38
|
-
* <ul>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>secretsmanager:DeleteSecret</p>
|
|
41
|
-
* </li>
|
|
42
|
-
* </ul>
|
|
43
|
-
* <p>
|
|
44
|
-
* <b>Related operations</b>
|
|
45
|
-
* </p>
|
|
46
|
-
* <ul>
|
|
47
|
-
* <li>
|
|
48
|
-
* <p>To create a secret, use <a>CreateSecret</a>.</p>
|
|
49
|
-
* </li>
|
|
50
|
-
* <li>
|
|
51
|
-
* <p>To cancel deletion of a version of a secret before the recovery window has expired,
|
|
52
|
-
* use <a>RestoreSecret</a>.</p>
|
|
53
|
-
* </li>
|
|
54
|
-
* </ul>
|
|
55
|
-
* @example
|
|
56
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
57
|
-
* ```javascript
|
|
58
|
-
* import { SecretsManagerClient, DeleteSecretCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
59
|
-
* // const { SecretsManagerClient, DeleteSecretCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
60
|
-
* const client = new SecretsManagerClient(config);
|
|
61
|
-
* const command = new DeleteSecretCommand(input);
|
|
62
|
-
* const response = await client.send(command);
|
|
63
|
-
* ```
|
|
64
|
-
*
|
|
65
|
-
* @see {@link DeleteSecretCommandInput} for command's `input` shape.
|
|
66
|
-
* @see {@link DeleteSecretCommandOutput} for command's `response` shape.
|
|
67
|
-
* @see {@link SecretsManagerClientResolvedConfig | config} for command's `input` shape.
|
|
68
|
-
*
|
|
69
|
-
*/
|
|
70
8
|
class DeleteSecretCommand extends smithy_client_1.Command {
|
|
71
|
-
// Start section: command_properties
|
|
72
|
-
// End section: command_properties
|
|
73
9
|
constructor(input) {
|
|
74
|
-
// Start section: command_constructor
|
|
75
10
|
super();
|
|
76
11
|
this.input = input;
|
|
77
|
-
// End section: command_constructor
|
|
78
12
|
}
|
|
79
|
-
/**
|
|
80
|
-
* @internal
|
|
81
|
-
*/
|
|
82
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
83
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
84
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,62 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves the details of a secret. It does not include the encrypted fields. Secrets
|
|
10
|
-
* Manager only returns fields populated with a value in the response. </p>
|
|
11
|
-
* <p>
|
|
12
|
-
* <b>Minimum permissions</b>
|
|
13
|
-
* </p>
|
|
14
|
-
* <p>To run this command, you must have the following permissions:</p>
|
|
15
|
-
* <ul>
|
|
16
|
-
* <li>
|
|
17
|
-
* <p>secretsmanager:DescribeSecret</p>
|
|
18
|
-
* </li>
|
|
19
|
-
* </ul>
|
|
20
|
-
* <p>
|
|
21
|
-
* <b>Related operations</b>
|
|
22
|
-
* </p>
|
|
23
|
-
* <ul>
|
|
24
|
-
* <li>
|
|
25
|
-
* <p>To create a secret, use <a>CreateSecret</a>.</p>
|
|
26
|
-
* </li>
|
|
27
|
-
* <li>
|
|
28
|
-
* <p>To modify a secret, use <a>UpdateSecret</a>.</p>
|
|
29
|
-
* </li>
|
|
30
|
-
* <li>
|
|
31
|
-
* <p>To retrieve the encrypted secret information in a version of the secret, use <a>GetSecretValue</a>.</p>
|
|
32
|
-
* </li>
|
|
33
|
-
* <li>
|
|
34
|
-
* <p>To list all of the secrets in the Amazon Web Services account, use <a>ListSecrets</a>.</p>
|
|
35
|
-
* </li>
|
|
36
|
-
* </ul>
|
|
37
|
-
* @example
|
|
38
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
-
* ```javascript
|
|
40
|
-
* import { SecretsManagerClient, DescribeSecretCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
41
|
-
* // const { SecretsManagerClient, DescribeSecretCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
42
|
-
* const client = new SecretsManagerClient(config);
|
|
43
|
-
* const command = new DescribeSecretCommand(input);
|
|
44
|
-
* const response = await client.send(command);
|
|
45
|
-
* ```
|
|
46
|
-
*
|
|
47
|
-
* @see {@link DescribeSecretCommandInput} for command's `input` shape.
|
|
48
|
-
* @see {@link DescribeSecretCommandOutput} for command's `response` shape.
|
|
49
|
-
* @see {@link SecretsManagerClientResolvedConfig | config} for command's `input` shape.
|
|
50
|
-
*
|
|
51
|
-
*/
|
|
52
8
|
class DescribeSecretCommand extends smithy_client_1.Command {
|
|
53
|
-
// Start section: command_properties
|
|
54
|
-
// End section: command_properties
|
|
55
9
|
constructor(input) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
10
|
super();
|
|
58
11
|
this.input = input;
|
|
59
|
-
// End section: command_constructor
|
|
60
12
|
}
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
65
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
15
|
const stack = clientStack.concat(this.middlewareStack);
|