@aws-sdk/client-secrets-manager 3.480.0 → 3.484.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.
Files changed (97) hide show
  1. package/dist-cjs/commands/BatchGetSecretValueCommand.js +18 -41
  2. package/dist-cjs/commands/CancelRotateSecretCommand.js +18 -41
  3. package/dist-cjs/commands/CreateSecretCommand.js +18 -41
  4. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteSecretCommand.js +18 -41
  6. package/dist-cjs/commands/DescribeSecretCommand.js +18 -41
  7. package/dist-cjs/commands/GetRandomPasswordCommand.js +18 -41
  8. package/dist-cjs/commands/GetResourcePolicyCommand.js +18 -41
  9. package/dist-cjs/commands/GetSecretValueCommand.js +18 -41
  10. package/dist-cjs/commands/ListSecretVersionIdsCommand.js +18 -41
  11. package/dist-cjs/commands/ListSecretsCommand.js +18 -41
  12. package/dist-cjs/commands/PutResourcePolicyCommand.js +18 -41
  13. package/dist-cjs/commands/PutSecretValueCommand.js +18 -41
  14. package/dist-cjs/commands/RemoveRegionsFromReplicationCommand.js +18 -41
  15. package/dist-cjs/commands/ReplicateSecretToRegionsCommand.js +18 -41
  16. package/dist-cjs/commands/RestoreSecretCommand.js +18 -41
  17. package/dist-cjs/commands/RotateSecretCommand.js +18 -41
  18. package/dist-cjs/commands/StopReplicationToReplicaCommand.js +18 -41
  19. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  20. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  21. package/dist-cjs/commands/UpdateSecretCommand.js +18 -41
  22. package/dist-cjs/commands/UpdateSecretVersionStageCommand.js +18 -41
  23. package/dist-cjs/commands/ValidateResourcePolicyCommand.js +18 -41
  24. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  25. package/dist-es/commands/BatchGetSecretValueCommand.js +18 -41
  26. package/dist-es/commands/CancelRotateSecretCommand.js +18 -41
  27. package/dist-es/commands/CreateSecretCommand.js +18 -41
  28. package/dist-es/commands/DeleteResourcePolicyCommand.js +18 -41
  29. package/dist-es/commands/DeleteSecretCommand.js +18 -41
  30. package/dist-es/commands/DescribeSecretCommand.js +18 -41
  31. package/dist-es/commands/GetRandomPasswordCommand.js +18 -41
  32. package/dist-es/commands/GetResourcePolicyCommand.js +18 -41
  33. package/dist-es/commands/GetSecretValueCommand.js +18 -41
  34. package/dist-es/commands/ListSecretVersionIdsCommand.js +18 -41
  35. package/dist-es/commands/ListSecretsCommand.js +18 -41
  36. package/dist-es/commands/PutResourcePolicyCommand.js +18 -41
  37. package/dist-es/commands/PutSecretValueCommand.js +18 -41
  38. package/dist-es/commands/RemoveRegionsFromReplicationCommand.js +18 -41
  39. package/dist-es/commands/ReplicateSecretToRegionsCommand.js +18 -41
  40. package/dist-es/commands/RestoreSecretCommand.js +18 -41
  41. package/dist-es/commands/RotateSecretCommand.js +18 -41
  42. package/dist-es/commands/StopReplicationToReplicaCommand.js +18 -41
  43. package/dist-es/commands/TagResourceCommand.js +18 -41
  44. package/dist-es/commands/UntagResourceCommand.js +18 -41
  45. package/dist-es/commands/UpdateSecretCommand.js +18 -41
  46. package/dist-es/commands/UpdateSecretVersionStageCommand.js +18 -41
  47. package/dist-es/commands/ValidateResourcePolicyCommand.js +18 -41
  48. package/dist-es/endpoint/EndpointParameters.js +6 -0
  49. package/dist-types/commands/BatchGetSecretValueCommand.d.ts +6 -21
  50. package/dist-types/commands/CancelRotateSecretCommand.d.ts +6 -21
  51. package/dist-types/commands/CreateSecretCommand.d.ts +6 -21
  52. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -21
  53. package/dist-types/commands/DeleteSecretCommand.d.ts +6 -21
  54. package/dist-types/commands/DescribeSecretCommand.d.ts +6 -21
  55. package/dist-types/commands/GetRandomPasswordCommand.d.ts +6 -21
  56. package/dist-types/commands/GetResourcePolicyCommand.d.ts +6 -21
  57. package/dist-types/commands/GetSecretValueCommand.d.ts +6 -21
  58. package/dist-types/commands/ListSecretVersionIdsCommand.d.ts +6 -21
  59. package/dist-types/commands/ListSecretsCommand.d.ts +6 -21
  60. package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -21
  61. package/dist-types/commands/PutSecretValueCommand.d.ts +6 -21
  62. package/dist-types/commands/RemoveRegionsFromReplicationCommand.d.ts +6 -21
  63. package/dist-types/commands/ReplicateSecretToRegionsCommand.d.ts +6 -21
  64. package/dist-types/commands/RestoreSecretCommand.d.ts +6 -21
  65. package/dist-types/commands/RotateSecretCommand.d.ts +6 -21
  66. package/dist-types/commands/StopReplicationToReplicaCommand.d.ts +6 -21
  67. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  68. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  69. package/dist-types/commands/UpdateSecretCommand.d.ts +6 -21
  70. package/dist-types/commands/UpdateSecretVersionStageCommand.d.ts +6 -21
  71. package/dist-types/commands/ValidateResourcePolicyCommand.d.ts +6 -21
  72. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  73. package/dist-types/ts3.4/commands/BatchGetSecretValueCommand.d.ts +14 -23
  74. package/dist-types/ts3.4/commands/CancelRotateSecretCommand.d.ts +14 -23
  75. package/dist-types/ts3.4/commands/CreateSecretCommand.d.ts +14 -23
  76. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +12 -24
  77. package/dist-types/ts3.4/commands/DeleteSecretCommand.d.ts +14 -23
  78. package/dist-types/ts3.4/commands/DescribeSecretCommand.d.ts +14 -23
  79. package/dist-types/ts3.4/commands/GetRandomPasswordCommand.d.ts +14 -23
  80. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +14 -23
  81. package/dist-types/ts3.4/commands/GetSecretValueCommand.d.ts +14 -23
  82. package/dist-types/ts3.4/commands/ListSecretVersionIdsCommand.d.ts +12 -24
  83. package/dist-types/ts3.4/commands/ListSecretsCommand.d.ts +14 -23
  84. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +14 -23
  85. package/dist-types/ts3.4/commands/PutSecretValueCommand.d.ts +14 -23
  86. package/dist-types/ts3.4/commands/RemoveRegionsFromReplicationCommand.d.ts +12 -24
  87. package/dist-types/ts3.4/commands/ReplicateSecretToRegionsCommand.d.ts +12 -24
  88. package/dist-types/ts3.4/commands/RestoreSecretCommand.d.ts +14 -23
  89. package/dist-types/ts3.4/commands/RotateSecretCommand.d.ts +14 -23
  90. package/dist-types/ts3.4/commands/StopReplicationToReplicaCommand.d.ts +12 -24
  91. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  92. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  93. package/dist-types/ts3.4/commands/UpdateSecretCommand.d.ts +14 -23
  94. package/dist-types/ts3.4/commands/UpdateSecretVersionStageCommand.d.ts +12 -24
  95. package/dist-types/ts3.4/commands/ValidateResourcePolicyCommand.d.ts +12 -24
  96. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  97. package/package.json +11 -11
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ValidateResourcePolicyCommand, se_ValidateResourcePolicyCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ValidateResourcePolicyCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ValidateResourcePolicyCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SecretsManagerClient";
26
- const commandName = "ValidateResourcePolicyCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "secretsmanager",
35
- operation: "ValidateResourcePolicy",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ValidateResourcePolicyCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ValidateResourcePolicyCommand(output, context);
46
- }
7
+ export class ValidateResourcePolicyCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("secretsmanager", "ValidateResourcePolicy", {})
19
+ .n("SecretsManagerClient", "ValidateResourcePolicyCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ValidateResourcePolicyCommand)
22
+ .de(de_ValidateResourcePolicyCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "secretsmanager",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BatchGetSecretValueRequest, BatchGetSecretValueResponse } from "../models/models_0";
5
4
  import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface BatchGetSecretValueCommandInput extends BatchGetSecretValueRequ
21
20
  */
22
21
  export interface BatchGetSecretValueCommandOutput extends BatchGetSecretValueResponse, __MetadataBearer {
23
22
  }
23
+ declare const BatchGetSecretValueCommand_base: {
24
+ new (input: BatchGetSecretValueCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetSecretValueCommandInput, BatchGetSecretValueCommandOutput, SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves the contents of the encrypted fields <code>SecretString</code> or <code>SecretBinary</code> for up to 20 secrets. To retrieve a single secret, call <a>GetSecretValue</a>. </p>
@@ -125,23 +128,5 @@ export interface BatchGetSecretValueCommandOutput extends BatchGetSecretValueRes
125
128
  * <p>Base exception class for all service exceptions from SecretsManager service.</p>
126
129
  *
127
130
  */
128
- export declare class BatchGetSecretValueCommand extends $Command<BatchGetSecretValueCommandInput, BatchGetSecretValueCommandOutput, SecretsManagerClientResolvedConfig> {
129
- readonly input: BatchGetSecretValueCommandInput;
130
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
131
- /**
132
- * @public
133
- */
134
- constructor(input: BatchGetSecretValueCommandInput);
135
- /**
136
- * @internal
137
- */
138
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetSecretValueCommandInput, BatchGetSecretValueCommandOutput>;
139
- /**
140
- * @internal
141
- */
142
- private serialize;
143
- /**
144
- * @internal
145
- */
146
- private deserialize;
131
+ export declare class BatchGetSecretValueCommand extends BatchGetSecretValueCommand_base {
147
132
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CancelRotateSecretRequest, CancelRotateSecretResponse } from "../models/models_0";
5
4
  import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CancelRotateSecretCommandInput extends CancelRotateSecretReques
21
20
  */
22
21
  export interface CancelRotateSecretCommandOutput extends CancelRotateSecretResponse, __MetadataBearer {
23
22
  }
23
+ declare const CancelRotateSecretCommand_base: {
24
+ new (input: CancelRotateSecretCommandInput): import("@smithy/smithy-client").CommandImpl<CancelRotateSecretCommandInput, CancelRotateSecretCommandOutput, SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Turns off automatic rotation, and if a rotation is currently in
@@ -115,23 +118,5 @@ export interface CancelRotateSecretCommandOutput extends CancelRotateSecretRespo
115
118
  * ```
116
119
  *
117
120
  */
118
- export declare class CancelRotateSecretCommand extends $Command<CancelRotateSecretCommandInput, CancelRotateSecretCommandOutput, SecretsManagerClientResolvedConfig> {
119
- readonly input: CancelRotateSecretCommandInput;
120
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
121
- /**
122
- * @public
123
- */
124
- constructor(input: CancelRotateSecretCommandInput);
125
- /**
126
- * @internal
127
- */
128
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelRotateSecretCommandInput, CancelRotateSecretCommandOutput>;
129
- /**
130
- * @internal
131
- */
132
- private serialize;
133
- /**
134
- * @internal
135
- */
136
- private deserialize;
121
+ export declare class CancelRotateSecretCommand extends CancelRotateSecretCommand_base {
137
122
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateSecretRequest, CreateSecretResponse } from "../models/models_0";
5
4
  import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateSecretCommandInput extends CreateSecretRequest {
21
20
  */
22
21
  export interface CreateSecretCommandOutput extends CreateSecretResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateSecretCommand_base: {
24
+ new (input: CreateSecretCommandInput): import("@smithy/smithy-client").CommandImpl<CreateSecretCommandInput, CreateSecretCommandOutput, SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a new secret. A <i>secret</i> can be a password, a set of
@@ -183,23 +186,5 @@ export interface CreateSecretCommandOutput extends CreateSecretResponse, __Metad
183
186
  * ```
184
187
  *
185
188
  */
186
- export declare class CreateSecretCommand extends $Command<CreateSecretCommandInput, CreateSecretCommandOutput, SecretsManagerClientResolvedConfig> {
187
- readonly input: CreateSecretCommandInput;
188
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
189
- /**
190
- * @public
191
- */
192
- constructor(input: CreateSecretCommandInput);
193
- /**
194
- * @internal
195
- */
196
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateSecretCommandInput, CreateSecretCommandOutput>;
197
- /**
198
- * @internal
199
- */
200
- private serialize;
201
- /**
202
- * @internal
203
- */
204
- private deserialize;
189
+ export declare class CreateSecretCommand extends CreateSecretCommand_base {
205
190
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteResourcePolicyRequest, DeleteResourcePolicyResponse } from "../models/models_0";
5
4
  import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteResourcePolicyCommandInput extends DeleteResourcePolicyRe
21
20
  */
22
21
  export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteResourcePolicyCommand_base: {
24
+ new (input: DeleteResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes the resource-based permission policy attached to the secret. To attach a policy to
@@ -104,23 +107,5 @@ export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyR
104
107
  * ```
105
108
  *
106
109
  */
107
- export declare class DeleteResourcePolicyCommand extends $Command<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, SecretsManagerClientResolvedConfig> {
108
- readonly input: DeleteResourcePolicyCommandInput;
109
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
110
- /**
111
- * @public
112
- */
113
- constructor(input: DeleteResourcePolicyCommandInput);
114
- /**
115
- * @internal
116
- */
117
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput>;
118
- /**
119
- * @internal
120
- */
121
- private serialize;
122
- /**
123
- * @internal
124
- */
125
- private deserialize;
110
+ export declare class DeleteResourcePolicyCommand extends DeleteResourcePolicyCommand_base {
126
111
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteSecretRequest, DeleteSecretResponse } from "../models/models_0";
5
4
  import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteSecretCommandInput extends DeleteSecretRequest {
21
20
  */
22
21
  export interface DeleteSecretCommandOutput extends DeleteSecretResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteSecretCommand_base: {
24
+ new (input: DeleteSecretCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteSecretCommandInput, DeleteSecretCommandOutput, SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a secret and all of its versions. You can specify a recovery
@@ -129,23 +132,5 @@ export interface DeleteSecretCommandOutput extends DeleteSecretResponse, __Metad
129
132
  * ```
130
133
  *
131
134
  */
132
- export declare class DeleteSecretCommand extends $Command<DeleteSecretCommandInput, DeleteSecretCommandOutput, SecretsManagerClientResolvedConfig> {
133
- readonly input: DeleteSecretCommandInput;
134
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
135
- /**
136
- * @public
137
- */
138
- constructor(input: DeleteSecretCommandInput);
139
- /**
140
- * @internal
141
- */
142
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteSecretCommandInput, DeleteSecretCommandOutput>;
143
- /**
144
- * @internal
145
- */
146
- private serialize;
147
- /**
148
- * @internal
149
- */
150
- private deserialize;
135
+ export declare class DeleteSecretCommand extends DeleteSecretCommand_base {
151
136
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DescribeSecretRequest, DescribeSecretResponse } from "../models/models_0";
5
4
  import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeSecretCommandInput extends DescribeSecretRequest {
21
20
  */
22
21
  export interface DescribeSecretCommandOutput extends DescribeSecretResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeSecretCommand_base: {
24
+ new (input: DescribeSecretCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeSecretCommandInput, DescribeSecretCommandOutput, SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves the details of a secret. It does not include the encrypted secret value. Secrets Manager
@@ -154,23 +157,5 @@ export interface DescribeSecretCommandOutput extends DescribeSecretResponse, __M
154
157
  * ```
155
158
  *
156
159
  */
157
- export declare class DescribeSecretCommand extends $Command<DescribeSecretCommandInput, DescribeSecretCommandOutput, SecretsManagerClientResolvedConfig> {
158
- readonly input: DescribeSecretCommandInput;
159
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
160
- /**
161
- * @public
162
- */
163
- constructor(input: DescribeSecretCommandInput);
164
- /**
165
- * @internal
166
- */
167
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeSecretCommandInput, DescribeSecretCommandOutput>;
168
- /**
169
- * @internal
170
- */
171
- private serialize;
172
- /**
173
- * @internal
174
- */
175
- private deserialize;
160
+ export declare class DescribeSecretCommand extends DescribeSecretCommand_base {
176
161
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetRandomPasswordRequest, GetRandomPasswordResponse } from "../models/models_0";
5
4
  import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetRandomPasswordCommandInput extends GetRandomPasswordRequest
21
20
  */
22
21
  export interface GetRandomPasswordCommandOutput extends GetRandomPasswordResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetRandomPasswordCommand_base: {
24
+ new (input: GetRandomPasswordCommandInput): import("@smithy/smithy-client").CommandImpl<GetRandomPasswordCommandInput, GetRandomPasswordCommandOutput, SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Generates a random password. We recommend that you specify the
@@ -109,23 +112,5 @@ export interface GetRandomPasswordCommandOutput extends GetRandomPasswordRespons
109
112
  * ```
110
113
  *
111
114
  */
112
- export declare class GetRandomPasswordCommand extends $Command<GetRandomPasswordCommandInput, GetRandomPasswordCommandOutput, SecretsManagerClientResolvedConfig> {
113
- readonly input: GetRandomPasswordCommandInput;
114
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
115
- /**
116
- * @public
117
- */
118
- constructor(input: GetRandomPasswordCommandInput);
119
- /**
120
- * @internal
121
- */
122
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRandomPasswordCommandInput, GetRandomPasswordCommandOutput>;
123
- /**
124
- * @internal
125
- */
126
- private serialize;
127
- /**
128
- * @internal
129
- */
130
- private deserialize;
115
+ export declare class GetRandomPasswordCommand extends GetRandomPasswordCommand_base {
131
116
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetResourcePolicyRequest, GetResourcePolicyResponse } from "../models/models_0";
5
4
  import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetResourcePolicyCommandInput extends GetResourcePolicyRequest
21
20
  */
22
21
  export interface GetResourcePolicyCommandOutput extends GetResourcePolicyResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetResourcePolicyCommand_base: {
24
+ new (input: GetResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves the JSON text of the resource-based policy document attached to the
@@ -108,23 +111,5 @@ export interface GetResourcePolicyCommandOutput extends GetResourcePolicyRespons
108
111
  * ```
109
112
  *
110
113
  */
111
- export declare class GetResourcePolicyCommand extends $Command<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, SecretsManagerClientResolvedConfig> {
112
- readonly input: GetResourcePolicyCommandInput;
113
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
114
- /**
115
- * @public
116
- */
117
- constructor(input: GetResourcePolicyCommandInput);
118
- /**
119
- * @internal
120
- */
121
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput>;
122
- /**
123
- * @internal
124
- */
125
- private serialize;
126
- /**
127
- * @internal
128
- */
129
- private deserialize;
114
+ export declare class GetResourcePolicyCommand extends GetResourcePolicyCommand_base {
130
115
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetSecretValueRequest, GetSecretValueResponse } from "../models/models_0";
5
4
  import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetSecretValueCommandInput extends GetSecretValueRequest {
21
20
  */
22
21
  export interface GetSecretValueCommandOutput extends GetSecretValueResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetSecretValueCommand_base: {
24
+ new (input: GetSecretValueCommandInput): import("@smithy/smithy-client").CommandImpl<GetSecretValueCommandInput, GetSecretValueCommandOutput, SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves the contents of the encrypted fields <code>SecretString</code> or
@@ -131,23 +134,5 @@ export interface GetSecretValueCommandOutput extends GetSecretValueResponse, __M
131
134
  * ```
132
135
  *
133
136
  */
134
- export declare class GetSecretValueCommand extends $Command<GetSecretValueCommandInput, GetSecretValueCommandOutput, SecretsManagerClientResolvedConfig> {
135
- readonly input: GetSecretValueCommandInput;
136
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
137
- /**
138
- * @public
139
- */
140
- constructor(input: GetSecretValueCommandInput);
141
- /**
142
- * @internal
143
- */
144
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSecretValueCommandInput, GetSecretValueCommandOutput>;
145
- /**
146
- * @internal
147
- */
148
- private serialize;
149
- /**
150
- * @internal
151
- */
152
- private deserialize;
137
+ export declare class GetSecretValueCommand extends GetSecretValueCommand_base {
153
138
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ListSecretVersionIdsRequest, ListSecretVersionIdsResponse } from "../models/models_0";
5
4
  import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListSecretVersionIdsCommandInput extends ListSecretVersionIdsRe
21
20
  */
22
21
  export interface ListSecretVersionIdsCommandOutput extends ListSecretVersionIdsResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListSecretVersionIdsCommand_base: {
24
+ new (input: ListSecretVersionIdsCommandInput): import("@smithy/smithy-client").CommandImpl<ListSecretVersionIdsCommandInput, ListSecretVersionIdsCommandOutput, SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Lists the versions of a secret. Secrets Manager uses staging labels to indicate the different versions
@@ -129,23 +132,5 @@ export interface ListSecretVersionIdsCommandOutput extends ListSecretVersionIdsR
129
132
  * ```
130
133
  *
131
134
  */
132
- export declare class ListSecretVersionIdsCommand extends $Command<ListSecretVersionIdsCommandInput, ListSecretVersionIdsCommandOutput, SecretsManagerClientResolvedConfig> {
133
- readonly input: ListSecretVersionIdsCommandInput;
134
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
135
- /**
136
- * @public
137
- */
138
- constructor(input: ListSecretVersionIdsCommandInput);
139
- /**
140
- * @internal
141
- */
142
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSecretVersionIdsCommandInput, ListSecretVersionIdsCommandOutput>;
143
- /**
144
- * @internal
145
- */
146
- private serialize;
147
- /**
148
- * @internal
149
- */
150
- private deserialize;
135
+ export declare class ListSecretVersionIdsCommand extends ListSecretVersionIdsCommand_base {
151
136
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ListSecretsRequest, ListSecretsResponse } from "../models/models_0";
5
4
  import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListSecretsCommandInput extends ListSecretsRequest {
21
20
  */
22
21
  export interface ListSecretsCommandOutput extends ListSecretsResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListSecretsCommand_base: {
24
+ new (input: ListSecretsCommandInput): import("@smithy/smithy-client").CommandImpl<ListSecretsCommandInput, ListSecretsCommandOutput, SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Lists the secrets that are stored by Secrets Manager in the Amazon Web Services account, not including secrets
@@ -173,23 +176,5 @@ export interface ListSecretsCommandOutput extends ListSecretsResponse, __Metadat
173
176
  * ```
174
177
  *
175
178
  */
176
- export declare class ListSecretsCommand extends $Command<ListSecretsCommandInput, ListSecretsCommandOutput, SecretsManagerClientResolvedConfig> {
177
- readonly input: ListSecretsCommandInput;
178
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
179
- /**
180
- * @public
181
- */
182
- constructor(input: ListSecretsCommandInput);
183
- /**
184
- * @internal
185
- */
186
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSecretsCommandInput, ListSecretsCommandOutput>;
187
- /**
188
- * @internal
189
- */
190
- private serialize;
191
- /**
192
- * @internal
193
- */
194
- private deserialize;
179
+ export declare class ListSecretsCommand extends ListSecretsCommand_base {
195
180
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { PutResourcePolicyRequest, PutResourcePolicyResponse } from "../models/models_0";
5
4
  import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface PutResourcePolicyCommandInput extends PutResourcePolicyRequest
21
20
  */
22
21
  export interface PutResourcePolicyCommandOutput extends PutResourcePolicyResponse, __MetadataBearer {
23
22
  }
23
+ declare const PutResourcePolicyCommand_base: {
24
+ new (input: PutResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Attaches a resource-based permission policy to a secret. A resource-based policy is
@@ -116,23 +119,5 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
116
119
  * ```
117
120
  *
118
121
  */
119
- export declare class PutResourcePolicyCommand extends $Command<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, SecretsManagerClientResolvedConfig> {
120
- readonly input: PutResourcePolicyCommandInput;
121
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
122
- /**
123
- * @public
124
- */
125
- constructor(input: PutResourcePolicyCommandInput);
126
- /**
127
- * @internal
128
- */
129
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput>;
130
- /**
131
- * @internal
132
- */
133
- private serialize;
134
- /**
135
- * @internal
136
- */
137
- private deserialize;
122
+ export declare class PutResourcePolicyCommand extends PutResourcePolicyCommand_base {
138
123
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { PutSecretValueRequest, PutSecretValueResponse } from "../models/models_0";
5
4
  import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface PutSecretValueCommandInput extends PutSecretValueRequest {
21
20
  */
22
21
  export interface PutSecretValueCommandOutput extends PutSecretValueResponse, __MetadataBearer {
23
22
  }
23
+ declare const PutSecretValueCommand_base: {
24
+ new (input: PutSecretValueCommandInput): import("@smithy/smithy-client").CommandImpl<PutSecretValueCommandInput, PutSecretValueCommandOutput, SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a new version with a new encrypted secret value and attaches it to the secret. The
@@ -153,23 +156,5 @@ export interface PutSecretValueCommandOutput extends PutSecretValueResponse, __M
153
156
  * ```
154
157
  *
155
158
  */
156
- export declare class PutSecretValueCommand extends $Command<PutSecretValueCommandInput, PutSecretValueCommandOutput, SecretsManagerClientResolvedConfig> {
157
- readonly input: PutSecretValueCommandInput;
158
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
159
- /**
160
- * @public
161
- */
162
- constructor(input: PutSecretValueCommandInput);
163
- /**
164
- * @internal
165
- */
166
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutSecretValueCommandInput, PutSecretValueCommandOutput>;
167
- /**
168
- * @internal
169
- */
170
- private serialize;
171
- /**
172
- * @internal
173
- */
174
- private deserialize;
159
+ export declare class PutSecretValueCommand extends PutSecretValueCommand_base {
175
160
  }