@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,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 { RemoveRegionsFromReplicationRequest, RemoveRegionsFromReplicationResponse } from "../models/models_0";
5
4
  import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface RemoveRegionsFromReplicationCommandInput extends RemoveRegionsF
21
20
  */
22
21
  export interface RemoveRegionsFromReplicationCommandOutput extends RemoveRegionsFromReplicationResponse, __MetadataBearer {
23
22
  }
23
+ declare const RemoveRegionsFromReplicationCommand_base: {
24
+ new (input: RemoveRegionsFromReplicationCommandInput): import("@smithy/smithy-client").CommandImpl<RemoveRegionsFromReplicationCommandInput, RemoveRegionsFromReplicationCommandOutput, SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>For a secret that is replicated to other Regions, deletes the secret replicas from the Regions you specify.</p>
@@ -97,23 +100,5 @@ export interface RemoveRegionsFromReplicationCommandOutput extends RemoveRegions
97
100
  * <p>Base exception class for all service exceptions from SecretsManager service.</p>
98
101
  *
99
102
  */
100
- export declare class RemoveRegionsFromReplicationCommand extends $Command<RemoveRegionsFromReplicationCommandInput, RemoveRegionsFromReplicationCommandOutput, SecretsManagerClientResolvedConfig> {
101
- readonly input: RemoveRegionsFromReplicationCommandInput;
102
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
103
- /**
104
- * @public
105
- */
106
- constructor(input: RemoveRegionsFromReplicationCommandInput);
107
- /**
108
- * @internal
109
- */
110
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RemoveRegionsFromReplicationCommandInput, RemoveRegionsFromReplicationCommandOutput>;
111
- /**
112
- * @internal
113
- */
114
- private serialize;
115
- /**
116
- * @internal
117
- */
118
- private deserialize;
103
+ export declare class RemoveRegionsFromReplicationCommand extends RemoveRegionsFromReplicationCommand_base {
119
104
  }
@@ -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 { ReplicateSecretToRegionsRequest, ReplicateSecretToRegionsResponse } from "../models/models_0";
5
4
  import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ReplicateSecretToRegionsCommandInput extends ReplicateSecretToR
21
20
  */
22
21
  export interface ReplicateSecretToRegionsCommandOutput extends ReplicateSecretToRegionsResponse, __MetadataBearer {
23
22
  }
23
+ declare const ReplicateSecretToRegionsCommand_base: {
24
+ new (input: ReplicateSecretToRegionsCommandInput): import("@smithy/smithy-client").CommandImpl<ReplicateSecretToRegionsCommandInput, ReplicateSecretToRegionsCommandOutput, SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Replicates the secret to a new Regions. See <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/create-manage-multi-region-secrets.html">Multi-Region secrets</a>.</p>
@@ -130,23 +133,5 @@ export interface ReplicateSecretToRegionsCommandOutput extends ReplicateSecretTo
130
133
  * ```
131
134
  *
132
135
  */
133
- export declare class ReplicateSecretToRegionsCommand extends $Command<ReplicateSecretToRegionsCommandInput, ReplicateSecretToRegionsCommandOutput, SecretsManagerClientResolvedConfig> {
134
- readonly input: ReplicateSecretToRegionsCommandInput;
135
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
136
- /**
137
- * @public
138
- */
139
- constructor(input: ReplicateSecretToRegionsCommandInput);
140
- /**
141
- * @internal
142
- */
143
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ReplicateSecretToRegionsCommandInput, ReplicateSecretToRegionsCommandOutput>;
144
- /**
145
- * @internal
146
- */
147
- private serialize;
148
- /**
149
- * @internal
150
- */
151
- private deserialize;
136
+ export declare class ReplicateSecretToRegionsCommand extends ReplicateSecretToRegionsCommand_base {
152
137
  }
@@ -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 { RestoreSecretRequest, RestoreSecretResponse } from "../models/models_0";
5
4
  import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface RestoreSecretCommandInput extends RestoreSecretRequest {
21
20
  */
22
21
  export interface RestoreSecretCommandOutput extends RestoreSecretResponse, __MetadataBearer {
23
22
  }
23
+ declare const RestoreSecretCommand_base: {
24
+ new (input: RestoreSecretCommandInput): import("@smithy/smithy-client").CommandImpl<RestoreSecretCommandInput, RestoreSecretCommandOutput, SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Cancels the scheduled deletion of a secret by removing the <code>DeletedDate</code> time
@@ -104,23 +107,5 @@ export interface RestoreSecretCommandOutput extends RestoreSecretResponse, __Met
104
107
  * ```
105
108
  *
106
109
  */
107
- export declare class RestoreSecretCommand extends $Command<RestoreSecretCommandInput, RestoreSecretCommandOutput, SecretsManagerClientResolvedConfig> {
108
- readonly input: RestoreSecretCommandInput;
109
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
110
- /**
111
- * @public
112
- */
113
- constructor(input: RestoreSecretCommandInput);
114
- /**
115
- * @internal
116
- */
117
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RestoreSecretCommandInput, RestoreSecretCommandOutput>;
118
- /**
119
- * @internal
120
- */
121
- private serialize;
122
- /**
123
- * @internal
124
- */
125
- private deserialize;
110
+ export declare class RestoreSecretCommand extends RestoreSecretCommand_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 { RotateSecretRequest, RotateSecretResponse } from "../models/models_0";
5
4
  import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface RotateSecretCommandInput extends RotateSecretRequest {
21
20
  */
22
21
  export interface RotateSecretCommandOutput extends RotateSecretResponse, __MetadataBearer {
23
22
  }
23
+ declare const RotateSecretCommand_base: {
24
+ new (input: RotateSecretCommandInput): import("@smithy/smithy-client").CommandImpl<RotateSecretCommandInput, RotateSecretCommandOutput, SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Configures and starts the asynchronous process of rotating the secret. For information about rotation,
@@ -144,23 +147,5 @@ export interface RotateSecretCommandOutput extends RotateSecretResponse, __Metad
144
147
  * ```
145
148
  *
146
149
  */
147
- export declare class RotateSecretCommand extends $Command<RotateSecretCommandInput, RotateSecretCommandOutput, SecretsManagerClientResolvedConfig> {
148
- readonly input: RotateSecretCommandInput;
149
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
150
- /**
151
- * @public
152
- */
153
- constructor(input: RotateSecretCommandInput);
154
- /**
155
- * @internal
156
- */
157
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RotateSecretCommandInput, RotateSecretCommandOutput>;
158
- /**
159
- * @internal
160
- */
161
- private serialize;
162
- /**
163
- * @internal
164
- */
165
- private deserialize;
150
+ export declare class RotateSecretCommand extends RotateSecretCommand_base {
166
151
  }
@@ -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 { StopReplicationToReplicaRequest, StopReplicationToReplicaResponse } from "../models/models_0";
5
4
  import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface StopReplicationToReplicaCommandInput extends StopReplicationToR
21
20
  */
22
21
  export interface StopReplicationToReplicaCommandOutput extends StopReplicationToReplicaResponse, __MetadataBearer {
23
22
  }
23
+ declare const StopReplicationToReplicaCommand_base: {
24
+ new (input: StopReplicationToReplicaCommandInput): import("@smithy/smithy-client").CommandImpl<StopReplicationToReplicaCommandInput, StopReplicationToReplicaCommandOutput, SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Removes the link between the replica secret and the primary secret and promotes the replica to a primary secret in the replica Region.</p>
@@ -86,23 +89,5 @@ export interface StopReplicationToReplicaCommandOutput extends StopReplicationTo
86
89
  * <p>Base exception class for all service exceptions from SecretsManager service.</p>
87
90
  *
88
91
  */
89
- export declare class StopReplicationToReplicaCommand extends $Command<StopReplicationToReplicaCommandInput, StopReplicationToReplicaCommandOutput, SecretsManagerClientResolvedConfig> {
90
- readonly input: StopReplicationToReplicaCommandInput;
91
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
92
- /**
93
- * @public
94
- */
95
- constructor(input: StopReplicationToReplicaCommandInput);
96
- /**
97
- * @internal
98
- */
99
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopReplicationToReplicaCommandInput, StopReplicationToReplicaCommandOutput>;
100
- /**
101
- * @internal
102
- */
103
- private serialize;
104
- /**
105
- * @internal
106
- */
107
- private deserialize;
92
+ export declare class StopReplicationToReplicaCommand extends StopReplicationToReplicaCommand_base {
108
93
  }
@@ -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 { TagResourceRequest } from "../models/models_0";
5
4
  import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface TagResourceCommandInput extends TagResourceRequest {
21
20
  */
22
21
  export interface TagResourceCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const TagResourceCommand_base: {
24
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Attaches tags to a secret. Tags consist of a key name and a value. Tags are part of the
@@ -119,23 +122,5 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
119
122
  * ```
120
123
  *
121
124
  */
122
- export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, SecretsManagerClientResolvedConfig> {
123
- readonly input: TagResourceCommandInput;
124
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
125
- /**
126
- * @public
127
- */
128
- constructor(input: TagResourceCommandInput);
129
- /**
130
- * @internal
131
- */
132
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
133
- /**
134
- * @internal
135
- */
136
- private serialize;
137
- /**
138
- * @internal
139
- */
140
- private deserialize;
125
+ export declare class TagResourceCommand extends TagResourceCommand_base {
141
126
  }
@@ -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 { UntagResourceRequest } from "../models/models_0";
5
4
  import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {
21
20
  */
22
21
  export interface UntagResourceCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const UntagResourceCommand_base: {
24
+ new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Removes specific tags from a secret.</p>
@@ -109,23 +112,5 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
109
112
  * ```
110
113
  *
111
114
  */
112
- export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, SecretsManagerClientResolvedConfig> {
113
- readonly input: UntagResourceCommandInput;
114
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
115
- /**
116
- * @public
117
- */
118
- constructor(input: UntagResourceCommandInput);
119
- /**
120
- * @internal
121
- */
122
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
123
- /**
124
- * @internal
125
- */
126
- private serialize;
127
- /**
128
- * @internal
129
- */
130
- private deserialize;
115
+ export declare class UntagResourceCommand extends UntagResourceCommand_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 { UpdateSecretRequest, UpdateSecretResponse } from "../models/models_0";
5
4
  import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UpdateSecretCommandInput extends UpdateSecretRequest {
21
20
  */
22
21
  export interface UpdateSecretCommandOutput extends UpdateSecretResponse, __MetadataBearer {
23
22
  }
23
+ declare const UpdateSecretCommand_base: {
24
+ new (input: UpdateSecretCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateSecretCommandInput, UpdateSecretCommandOutput, SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Modifies the details of a secret, including metadata and the secret value. To change the secret value, you can also use <a>PutSecretValue</a>.</p>
@@ -187,23 +190,5 @@ export interface UpdateSecretCommandOutput extends UpdateSecretResponse, __Metad
187
190
  * ```
188
191
  *
189
192
  */
190
- export declare class UpdateSecretCommand extends $Command<UpdateSecretCommandInput, UpdateSecretCommandOutput, SecretsManagerClientResolvedConfig> {
191
- readonly input: UpdateSecretCommandInput;
192
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
193
- /**
194
- * @public
195
- */
196
- constructor(input: UpdateSecretCommandInput);
197
- /**
198
- * @internal
199
- */
200
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateSecretCommandInput, UpdateSecretCommandOutput>;
201
- /**
202
- * @internal
203
- */
204
- private serialize;
205
- /**
206
- * @internal
207
- */
208
- private deserialize;
193
+ export declare class UpdateSecretCommand extends UpdateSecretCommand_base {
209
194
  }
@@ -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 { UpdateSecretVersionStageRequest, UpdateSecretVersionStageResponse } from "../models/models_0";
5
4
  import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UpdateSecretVersionStageCommandInput extends UpdateSecretVersio
21
20
  */
22
21
  export interface UpdateSecretVersionStageCommandOutput extends UpdateSecretVersionStageResponse, __MetadataBearer {
23
22
  }
23
+ declare const UpdateSecretVersionStageCommand_base: {
24
+ new (input: UpdateSecretVersionStageCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateSecretVersionStageCommandInput, UpdateSecretVersionStageCommandOutput, SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Modifies the staging labels attached to a version of a secret. Secrets Manager uses staging labels to
@@ -164,23 +167,5 @@ export interface UpdateSecretVersionStageCommandOutput extends UpdateSecretVersi
164
167
  * ```
165
168
  *
166
169
  */
167
- export declare class UpdateSecretVersionStageCommand extends $Command<UpdateSecretVersionStageCommandInput, UpdateSecretVersionStageCommandOutput, SecretsManagerClientResolvedConfig> {
168
- readonly input: UpdateSecretVersionStageCommandInput;
169
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
170
- /**
171
- * @public
172
- */
173
- constructor(input: UpdateSecretVersionStageCommandInput);
174
- /**
175
- * @internal
176
- */
177
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateSecretVersionStageCommandInput, UpdateSecretVersionStageCommandOutput>;
178
- /**
179
- * @internal
180
- */
181
- private serialize;
182
- /**
183
- * @internal
184
- */
185
- private deserialize;
170
+ export declare class UpdateSecretVersionStageCommand extends UpdateSecretVersionStageCommand_base {
186
171
  }
@@ -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 { ValidateResourcePolicyRequest, ValidateResourcePolicyResponse } from "../models/models_0";
5
4
  import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ValidateResourcePolicyCommandInput extends ValidateResourcePoli
21
20
  */
22
21
  export interface ValidateResourcePolicyCommandOutput extends ValidateResourcePolicyResponse, __MetadataBearer {
23
22
  }
23
+ declare const ValidateResourcePolicyCommand_base: {
24
+ new (input: ValidateResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<ValidateResourcePolicyCommandInput, ValidateResourcePolicyCommandOutput, SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Validates that a resource policy does not grant a wide range of principals access to
@@ -127,23 +130,5 @@ export interface ValidateResourcePolicyCommandOutput extends ValidateResourcePol
127
130
  * ```
128
131
  *
129
132
  */
130
- export declare class ValidateResourcePolicyCommand extends $Command<ValidateResourcePolicyCommandInput, ValidateResourcePolicyCommandOutput, SecretsManagerClientResolvedConfig> {
131
- readonly input: ValidateResourcePolicyCommandInput;
132
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
133
- /**
134
- * @public
135
- */
136
- constructor(input: ValidateResourcePolicyCommandInput);
137
- /**
138
- * @internal
139
- */
140
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ValidateResourcePolicyCommandInput, ValidateResourcePolicyCommandOutput>;
141
- /**
142
- * @internal
143
- */
144
- private serialize;
145
- /**
146
- * @internal
147
- */
148
- private deserialize;
133
+ export declare class ValidateResourcePolicyCommand extends ValidateResourcePolicyCommand_base {
149
134
  }
@@ -14,6 +14,24 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
14
14
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
15
  defaultSigningName: string;
16
16
  };
17
+ export declare const commonParams: {
18
+ readonly UseFIPS: {
19
+ readonly type: "builtInParams";
20
+ readonly name: "useFipsEndpoint";
21
+ };
22
+ readonly Endpoint: {
23
+ readonly type: "builtInParams";
24
+ readonly name: "endpoint";
25
+ };
26
+ readonly Region: {
27
+ readonly type: "builtInParams";
28
+ readonly name: "region";
29
+ };
30
+ readonly UseDualStack: {
31
+ readonly type: "builtInParams";
32
+ readonly name: "useDualstackEndpoint";
33
+ };
34
+ };
17
35
  export interface EndpointParameters extends __EndpointParameters {
18
36
  Region?: string;
19
37
  UseDualStack?: boolean;
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  BatchGetSecretValueRequest,
11
5
  BatchGetSecretValueResponse,
@@ -21,19 +15,16 @@ export interface BatchGetSecretValueCommandInput
21
15
  export interface BatchGetSecretValueCommandOutput
22
16
  extends BatchGetSecretValueResponse,
23
17
  __MetadataBearer {}
24
- export declare class BatchGetSecretValueCommand extends $Command<
25
- BatchGetSecretValueCommandInput,
26
- BatchGetSecretValueCommandOutput,
27
- SecretsManagerClientResolvedConfig
28
- > {
29
- readonly input: BatchGetSecretValueCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: BatchGetSecretValueCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: SecretsManagerClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<BatchGetSecretValueCommandInput, BatchGetSecretValueCommandOutput>;
37
- private serialize;
38
- private deserialize;
39
- }
18
+ declare const BatchGetSecretValueCommand_base: {
19
+ new (
20
+ input: BatchGetSecretValueCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ BatchGetSecretValueCommandInput,
23
+ BatchGetSecretValueCommandOutput,
24
+ SecretsManagerClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class BatchGetSecretValueCommand extends BatchGetSecretValueCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  CancelRotateSecretRequest,
11
5
  CancelRotateSecretResponse,
@@ -21,19 +15,16 @@ export interface CancelRotateSecretCommandInput
21
15
  export interface CancelRotateSecretCommandOutput
22
16
  extends CancelRotateSecretResponse,
23
17
  __MetadataBearer {}
24
- export declare class CancelRotateSecretCommand extends $Command<
25
- CancelRotateSecretCommandInput,
26
- CancelRotateSecretCommandOutput,
27
- SecretsManagerClientResolvedConfig
28
- > {
29
- readonly input: CancelRotateSecretCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: CancelRotateSecretCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: SecretsManagerClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<CancelRotateSecretCommandInput, CancelRotateSecretCommandOutput>;
37
- private serialize;
38
- private deserialize;
39
- }
18
+ declare const CancelRotateSecretCommand_base: {
19
+ new (
20
+ input: CancelRotateSecretCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ CancelRotateSecretCommandInput,
23
+ CancelRotateSecretCommandOutput,
24
+ SecretsManagerClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class CancelRotateSecretCommand extends CancelRotateSecretCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import { CreateSecretRequest, CreateSecretResponse } from "../models/models_0";
10
4
  import {
11
5
  SecretsManagerClientResolvedConfig,
@@ -17,19 +11,16 @@ export interface CreateSecretCommandInput extends CreateSecretRequest {}
17
11
  export interface CreateSecretCommandOutput
18
12
  extends CreateSecretResponse,
19
13
  __MetadataBearer {}
20
- export declare class CreateSecretCommand extends $Command<
21
- CreateSecretCommandInput,
22
- CreateSecretCommandOutput,
23
- SecretsManagerClientResolvedConfig
24
- > {
25
- readonly input: CreateSecretCommandInput;
26
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
- constructor(input: CreateSecretCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: SecretsManagerClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<CreateSecretCommandInput, CreateSecretCommandOutput>;
33
- private serialize;
34
- private deserialize;
35
- }
14
+ declare const CreateSecretCommand_base: {
15
+ new (
16
+ input: CreateSecretCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ CreateSecretCommandInput,
19
+ CreateSecretCommandOutput,
20
+ SecretsManagerClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ };
26
+ export declare class CreateSecretCommand extends CreateSecretCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  DeleteResourcePolicyRequest,
11
5
  DeleteResourcePolicyResponse,
@@ -21,22 +15,16 @@ export interface DeleteResourcePolicyCommandInput
21
15
  export interface DeleteResourcePolicyCommandOutput
22
16
  extends DeleteResourcePolicyResponse,
23
17
  __MetadataBearer {}
24
- export declare class DeleteResourcePolicyCommand extends $Command<
25
- DeleteResourcePolicyCommandInput,
26
- DeleteResourcePolicyCommandOutput,
27
- SecretsManagerClientResolvedConfig
28
- > {
29
- readonly input: DeleteResourcePolicyCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: DeleteResourcePolicyCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: SecretsManagerClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<
18
+ declare const DeleteResourcePolicyCommand_base: {
19
+ new (
20
+ input: DeleteResourcePolicyCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
37
22
  DeleteResourcePolicyCommandInput,
38
- DeleteResourcePolicyCommandOutput
23
+ DeleteResourcePolicyCommandOutput,
24
+ SecretsManagerClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
39
27
  >;
40
- private serialize;
41
- private deserialize;
42
- }
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class DeleteResourcePolicyCommand extends DeleteResourcePolicyCommand_base {}