@aws-sdk/client-secrets-manager 3.1087.0 → 3.1089.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1 -1
- package/dist-types/ts3.4/SecretsManager.d.ts +75 -83
- package/dist-types/ts3.4/SecretsManagerClient.d.ts +8 -24
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/commands/BatchGetSecretValueCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/CancelRotateSecretCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateSecretCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteSecretCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/DescribeSecretCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetRandomPasswordCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetSecretValueCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListSecretVersionIdsCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListSecretsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/PutSecretValueCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/RemoveRegionsFromReplicationCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ReplicateSecretToRegionsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/RestoreSecretCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/RotateSecretCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/StopReplicationToReplicaCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/UpdateSecretCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UpdateSecretVersionStageCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ValidateResourcePolicyCommand.d.ts +5 -10
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +1 -2
- package/dist-types/ts3.4/models/errors.d.ts +10 -33
- package/dist-types/ts3.4/models/models_0.d.ts +4 -15
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/pagination/ListSecretsPaginator.d.ts +1 -4
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/package.json +39 -39
package/dist-cjs/index.js
CHANGED
|
@@ -39,10 +39,7 @@ import {
|
|
|
39
39
|
GetSecretValueCommandInput,
|
|
40
40
|
GetSecretValueCommandOutput,
|
|
41
41
|
} from "./commands/GetSecretValueCommand";
|
|
42
|
-
import {
|
|
43
|
-
ListSecretsCommandInput,
|
|
44
|
-
ListSecretsCommandOutput,
|
|
45
|
-
} from "./commands/ListSecretsCommand";
|
|
42
|
+
import { ListSecretsCommandInput, ListSecretsCommandOutput } from "./commands/ListSecretsCommand";
|
|
46
43
|
import {
|
|
47
44
|
ListSecretVersionIdsCommandInput,
|
|
48
45
|
ListSecretVersionIdsCommandOutput,
|
|
@@ -75,10 +72,7 @@ import {
|
|
|
75
72
|
StopReplicationToReplicaCommandInput,
|
|
76
73
|
StopReplicationToReplicaCommandOutput,
|
|
77
74
|
} from "./commands/StopReplicationToReplicaCommand";
|
|
78
|
-
import {
|
|
79
|
-
TagResourceCommandInput,
|
|
80
|
-
TagResourceCommandOutput,
|
|
81
|
-
} from "./commands/TagResourceCommand";
|
|
75
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
82
76
|
import {
|
|
83
77
|
UntagResourceCommandInput,
|
|
84
78
|
UntagResourceCommandOutput,
|
|
@@ -100,327 +94,325 @@ export interface SecretsManager {
|
|
|
100
94
|
batchGetSecretValue(): Promise<BatchGetSecretValueCommandOutput>;
|
|
101
95
|
batchGetSecretValue(
|
|
102
96
|
args: BatchGetSecretValueCommandInput,
|
|
103
|
-
options?: __HttpHandlerOptions
|
|
97
|
+
options?: __HttpHandlerOptions,
|
|
104
98
|
): Promise<BatchGetSecretValueCommandOutput>;
|
|
105
99
|
batchGetSecretValue(
|
|
106
100
|
args: BatchGetSecretValueCommandInput,
|
|
107
|
-
cb: (err: any, data?: BatchGetSecretValueCommandOutput) => void
|
|
101
|
+
cb: (err: any, data?: BatchGetSecretValueCommandOutput) => void,
|
|
108
102
|
): void;
|
|
109
103
|
batchGetSecretValue(
|
|
110
104
|
args: BatchGetSecretValueCommandInput,
|
|
111
105
|
options: __HttpHandlerOptions,
|
|
112
|
-
cb: (err: any, data?: BatchGetSecretValueCommandOutput) => void
|
|
106
|
+
cb: (err: any, data?: BatchGetSecretValueCommandOutput) => void,
|
|
113
107
|
): void;
|
|
114
108
|
cancelRotateSecret(
|
|
115
109
|
args: CancelRotateSecretCommandInput,
|
|
116
|
-
options?: __HttpHandlerOptions
|
|
110
|
+
options?: __HttpHandlerOptions,
|
|
117
111
|
): Promise<CancelRotateSecretCommandOutput>;
|
|
118
112
|
cancelRotateSecret(
|
|
119
113
|
args: CancelRotateSecretCommandInput,
|
|
120
|
-
cb: (err: any, data?: CancelRotateSecretCommandOutput) => void
|
|
114
|
+
cb: (err: any, data?: CancelRotateSecretCommandOutput) => void,
|
|
121
115
|
): void;
|
|
122
116
|
cancelRotateSecret(
|
|
123
117
|
args: CancelRotateSecretCommandInput,
|
|
124
118
|
options: __HttpHandlerOptions,
|
|
125
|
-
cb: (err: any, data?: CancelRotateSecretCommandOutput) => void
|
|
119
|
+
cb: (err: any, data?: CancelRotateSecretCommandOutput) => void,
|
|
126
120
|
): void;
|
|
127
121
|
createSecret(
|
|
128
122
|
args: CreateSecretCommandInput,
|
|
129
|
-
options?: __HttpHandlerOptions
|
|
123
|
+
options?: __HttpHandlerOptions,
|
|
130
124
|
): Promise<CreateSecretCommandOutput>;
|
|
131
125
|
createSecret(
|
|
132
126
|
args: CreateSecretCommandInput,
|
|
133
|
-
cb: (err: any, data?: CreateSecretCommandOutput) => void
|
|
127
|
+
cb: (err: any, data?: CreateSecretCommandOutput) => void,
|
|
134
128
|
): void;
|
|
135
129
|
createSecret(
|
|
136
130
|
args: CreateSecretCommandInput,
|
|
137
131
|
options: __HttpHandlerOptions,
|
|
138
|
-
cb: (err: any, data?: CreateSecretCommandOutput) => void
|
|
132
|
+
cb: (err: any, data?: CreateSecretCommandOutput) => void,
|
|
139
133
|
): void;
|
|
140
134
|
deleteResourcePolicy(
|
|
141
135
|
args: DeleteResourcePolicyCommandInput,
|
|
142
|
-
options?: __HttpHandlerOptions
|
|
136
|
+
options?: __HttpHandlerOptions,
|
|
143
137
|
): Promise<DeleteResourcePolicyCommandOutput>;
|
|
144
138
|
deleteResourcePolicy(
|
|
145
139
|
args: DeleteResourcePolicyCommandInput,
|
|
146
|
-
cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
|
|
140
|
+
cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void,
|
|
147
141
|
): void;
|
|
148
142
|
deleteResourcePolicy(
|
|
149
143
|
args: DeleteResourcePolicyCommandInput,
|
|
150
144
|
options: __HttpHandlerOptions,
|
|
151
|
-
cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
|
|
145
|
+
cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void,
|
|
152
146
|
): void;
|
|
153
147
|
deleteSecret(
|
|
154
148
|
args: DeleteSecretCommandInput,
|
|
155
|
-
options?: __HttpHandlerOptions
|
|
149
|
+
options?: __HttpHandlerOptions,
|
|
156
150
|
): Promise<DeleteSecretCommandOutput>;
|
|
157
151
|
deleteSecret(
|
|
158
152
|
args: DeleteSecretCommandInput,
|
|
159
|
-
cb: (err: any, data?: DeleteSecretCommandOutput) => void
|
|
153
|
+
cb: (err: any, data?: DeleteSecretCommandOutput) => void,
|
|
160
154
|
): void;
|
|
161
155
|
deleteSecret(
|
|
162
156
|
args: DeleteSecretCommandInput,
|
|
163
157
|
options: __HttpHandlerOptions,
|
|
164
|
-
cb: (err: any, data?: DeleteSecretCommandOutput) => void
|
|
158
|
+
cb: (err: any, data?: DeleteSecretCommandOutput) => void,
|
|
165
159
|
): void;
|
|
166
160
|
describeSecret(
|
|
167
161
|
args: DescribeSecretCommandInput,
|
|
168
|
-
options?: __HttpHandlerOptions
|
|
162
|
+
options?: __HttpHandlerOptions,
|
|
169
163
|
): Promise<DescribeSecretCommandOutput>;
|
|
170
164
|
describeSecret(
|
|
171
165
|
args: DescribeSecretCommandInput,
|
|
172
|
-
cb: (err: any, data?: DescribeSecretCommandOutput) => void
|
|
166
|
+
cb: (err: any, data?: DescribeSecretCommandOutput) => void,
|
|
173
167
|
): void;
|
|
174
168
|
describeSecret(
|
|
175
169
|
args: DescribeSecretCommandInput,
|
|
176
170
|
options: __HttpHandlerOptions,
|
|
177
|
-
cb: (err: any, data?: DescribeSecretCommandOutput) => void
|
|
171
|
+
cb: (err: any, data?: DescribeSecretCommandOutput) => void,
|
|
178
172
|
): void;
|
|
179
173
|
getRandomPassword(): Promise<GetRandomPasswordCommandOutput>;
|
|
180
174
|
getRandomPassword(
|
|
181
175
|
args: GetRandomPasswordCommandInput,
|
|
182
|
-
options?: __HttpHandlerOptions
|
|
176
|
+
options?: __HttpHandlerOptions,
|
|
183
177
|
): Promise<GetRandomPasswordCommandOutput>;
|
|
184
178
|
getRandomPassword(
|
|
185
179
|
args: GetRandomPasswordCommandInput,
|
|
186
|
-
cb: (err: any, data?: GetRandomPasswordCommandOutput) => void
|
|
180
|
+
cb: (err: any, data?: GetRandomPasswordCommandOutput) => void,
|
|
187
181
|
): void;
|
|
188
182
|
getRandomPassword(
|
|
189
183
|
args: GetRandomPasswordCommandInput,
|
|
190
184
|
options: __HttpHandlerOptions,
|
|
191
|
-
cb: (err: any, data?: GetRandomPasswordCommandOutput) => void
|
|
185
|
+
cb: (err: any, data?: GetRandomPasswordCommandOutput) => void,
|
|
192
186
|
): void;
|
|
193
187
|
getResourcePolicy(
|
|
194
188
|
args: GetResourcePolicyCommandInput,
|
|
195
|
-
options?: __HttpHandlerOptions
|
|
189
|
+
options?: __HttpHandlerOptions,
|
|
196
190
|
): Promise<GetResourcePolicyCommandOutput>;
|
|
197
191
|
getResourcePolicy(
|
|
198
192
|
args: GetResourcePolicyCommandInput,
|
|
199
|
-
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
|
|
193
|
+
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void,
|
|
200
194
|
): void;
|
|
201
195
|
getResourcePolicy(
|
|
202
196
|
args: GetResourcePolicyCommandInput,
|
|
203
197
|
options: __HttpHandlerOptions,
|
|
204
|
-
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
|
|
198
|
+
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void,
|
|
205
199
|
): void;
|
|
206
200
|
getSecretValue(
|
|
207
201
|
args: GetSecretValueCommandInput,
|
|
208
|
-
options?: __HttpHandlerOptions
|
|
202
|
+
options?: __HttpHandlerOptions,
|
|
209
203
|
): Promise<GetSecretValueCommandOutput>;
|
|
210
204
|
getSecretValue(
|
|
211
205
|
args: GetSecretValueCommandInput,
|
|
212
|
-
cb: (err: any, data?: GetSecretValueCommandOutput) => void
|
|
206
|
+
cb: (err: any, data?: GetSecretValueCommandOutput) => void,
|
|
213
207
|
): void;
|
|
214
208
|
getSecretValue(
|
|
215
209
|
args: GetSecretValueCommandInput,
|
|
216
210
|
options: __HttpHandlerOptions,
|
|
217
|
-
cb: (err: any, data?: GetSecretValueCommandOutput) => void
|
|
211
|
+
cb: (err: any, data?: GetSecretValueCommandOutput) => void,
|
|
218
212
|
): void;
|
|
219
213
|
listSecrets(): Promise<ListSecretsCommandOutput>;
|
|
220
214
|
listSecrets(
|
|
221
215
|
args: ListSecretsCommandInput,
|
|
222
|
-
options?: __HttpHandlerOptions
|
|
216
|
+
options?: __HttpHandlerOptions,
|
|
223
217
|
): Promise<ListSecretsCommandOutput>;
|
|
224
218
|
listSecrets(
|
|
225
219
|
args: ListSecretsCommandInput,
|
|
226
|
-
cb: (err: any, data?: ListSecretsCommandOutput) => void
|
|
220
|
+
cb: (err: any, data?: ListSecretsCommandOutput) => void,
|
|
227
221
|
): void;
|
|
228
222
|
listSecrets(
|
|
229
223
|
args: ListSecretsCommandInput,
|
|
230
224
|
options: __HttpHandlerOptions,
|
|
231
|
-
cb: (err: any, data?: ListSecretsCommandOutput) => void
|
|
225
|
+
cb: (err: any, data?: ListSecretsCommandOutput) => void,
|
|
232
226
|
): void;
|
|
233
227
|
listSecretVersionIds(
|
|
234
228
|
args: ListSecretVersionIdsCommandInput,
|
|
235
|
-
options?: __HttpHandlerOptions
|
|
229
|
+
options?: __HttpHandlerOptions,
|
|
236
230
|
): Promise<ListSecretVersionIdsCommandOutput>;
|
|
237
231
|
listSecretVersionIds(
|
|
238
232
|
args: ListSecretVersionIdsCommandInput,
|
|
239
|
-
cb: (err: any, data?: ListSecretVersionIdsCommandOutput) => void
|
|
233
|
+
cb: (err: any, data?: ListSecretVersionIdsCommandOutput) => void,
|
|
240
234
|
): void;
|
|
241
235
|
listSecretVersionIds(
|
|
242
236
|
args: ListSecretVersionIdsCommandInput,
|
|
243
237
|
options: __HttpHandlerOptions,
|
|
244
|
-
cb: (err: any, data?: ListSecretVersionIdsCommandOutput) => void
|
|
238
|
+
cb: (err: any, data?: ListSecretVersionIdsCommandOutput) => void,
|
|
245
239
|
): void;
|
|
246
240
|
putResourcePolicy(
|
|
247
241
|
args: PutResourcePolicyCommandInput,
|
|
248
|
-
options?: __HttpHandlerOptions
|
|
242
|
+
options?: __HttpHandlerOptions,
|
|
249
243
|
): Promise<PutResourcePolicyCommandOutput>;
|
|
250
244
|
putResourcePolicy(
|
|
251
245
|
args: PutResourcePolicyCommandInput,
|
|
252
|
-
cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
|
|
246
|
+
cb: (err: any, data?: PutResourcePolicyCommandOutput) => void,
|
|
253
247
|
): void;
|
|
254
248
|
putResourcePolicy(
|
|
255
249
|
args: PutResourcePolicyCommandInput,
|
|
256
250
|
options: __HttpHandlerOptions,
|
|
257
|
-
cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
|
|
251
|
+
cb: (err: any, data?: PutResourcePolicyCommandOutput) => void,
|
|
258
252
|
): void;
|
|
259
253
|
putSecretValue(
|
|
260
254
|
args: PutSecretValueCommandInput,
|
|
261
|
-
options?: __HttpHandlerOptions
|
|
255
|
+
options?: __HttpHandlerOptions,
|
|
262
256
|
): Promise<PutSecretValueCommandOutput>;
|
|
263
257
|
putSecretValue(
|
|
264
258
|
args: PutSecretValueCommandInput,
|
|
265
|
-
cb: (err: any, data?: PutSecretValueCommandOutput) => void
|
|
259
|
+
cb: (err: any, data?: PutSecretValueCommandOutput) => void,
|
|
266
260
|
): void;
|
|
267
261
|
putSecretValue(
|
|
268
262
|
args: PutSecretValueCommandInput,
|
|
269
263
|
options: __HttpHandlerOptions,
|
|
270
|
-
cb: (err: any, data?: PutSecretValueCommandOutput) => void
|
|
264
|
+
cb: (err: any, data?: PutSecretValueCommandOutput) => void,
|
|
271
265
|
): void;
|
|
272
266
|
removeRegionsFromReplication(
|
|
273
267
|
args: RemoveRegionsFromReplicationCommandInput,
|
|
274
|
-
options?: __HttpHandlerOptions
|
|
268
|
+
options?: __HttpHandlerOptions,
|
|
275
269
|
): Promise<RemoveRegionsFromReplicationCommandOutput>;
|
|
276
270
|
removeRegionsFromReplication(
|
|
277
271
|
args: RemoveRegionsFromReplicationCommandInput,
|
|
278
|
-
cb: (err: any, data?: RemoveRegionsFromReplicationCommandOutput) => void
|
|
272
|
+
cb: (err: any, data?: RemoveRegionsFromReplicationCommandOutput) => void,
|
|
279
273
|
): void;
|
|
280
274
|
removeRegionsFromReplication(
|
|
281
275
|
args: RemoveRegionsFromReplicationCommandInput,
|
|
282
276
|
options: __HttpHandlerOptions,
|
|
283
|
-
cb: (err: any, data?: RemoveRegionsFromReplicationCommandOutput) => void
|
|
277
|
+
cb: (err: any, data?: RemoveRegionsFromReplicationCommandOutput) => void,
|
|
284
278
|
): void;
|
|
285
279
|
replicateSecretToRegions(
|
|
286
280
|
args: ReplicateSecretToRegionsCommandInput,
|
|
287
|
-
options?: __HttpHandlerOptions
|
|
281
|
+
options?: __HttpHandlerOptions,
|
|
288
282
|
): Promise<ReplicateSecretToRegionsCommandOutput>;
|
|
289
283
|
replicateSecretToRegions(
|
|
290
284
|
args: ReplicateSecretToRegionsCommandInput,
|
|
291
|
-
cb: (err: any, data?: ReplicateSecretToRegionsCommandOutput) => void
|
|
285
|
+
cb: (err: any, data?: ReplicateSecretToRegionsCommandOutput) => void,
|
|
292
286
|
): void;
|
|
293
287
|
replicateSecretToRegions(
|
|
294
288
|
args: ReplicateSecretToRegionsCommandInput,
|
|
295
289
|
options: __HttpHandlerOptions,
|
|
296
|
-
cb: (err: any, data?: ReplicateSecretToRegionsCommandOutput) => void
|
|
290
|
+
cb: (err: any, data?: ReplicateSecretToRegionsCommandOutput) => void,
|
|
297
291
|
): void;
|
|
298
292
|
restoreSecret(
|
|
299
293
|
args: RestoreSecretCommandInput,
|
|
300
|
-
options?: __HttpHandlerOptions
|
|
294
|
+
options?: __HttpHandlerOptions,
|
|
301
295
|
): Promise<RestoreSecretCommandOutput>;
|
|
302
296
|
restoreSecret(
|
|
303
297
|
args: RestoreSecretCommandInput,
|
|
304
|
-
cb: (err: any, data?: RestoreSecretCommandOutput) => void
|
|
298
|
+
cb: (err: any, data?: RestoreSecretCommandOutput) => void,
|
|
305
299
|
): void;
|
|
306
300
|
restoreSecret(
|
|
307
301
|
args: RestoreSecretCommandInput,
|
|
308
302
|
options: __HttpHandlerOptions,
|
|
309
|
-
cb: (err: any, data?: RestoreSecretCommandOutput) => void
|
|
303
|
+
cb: (err: any, data?: RestoreSecretCommandOutput) => void,
|
|
310
304
|
): void;
|
|
311
305
|
rotateSecret(
|
|
312
306
|
args: RotateSecretCommandInput,
|
|
313
|
-
options?: __HttpHandlerOptions
|
|
307
|
+
options?: __HttpHandlerOptions,
|
|
314
308
|
): Promise<RotateSecretCommandOutput>;
|
|
315
309
|
rotateSecret(
|
|
316
310
|
args: RotateSecretCommandInput,
|
|
317
|
-
cb: (err: any, data?: RotateSecretCommandOutput) => void
|
|
311
|
+
cb: (err: any, data?: RotateSecretCommandOutput) => void,
|
|
318
312
|
): void;
|
|
319
313
|
rotateSecret(
|
|
320
314
|
args: RotateSecretCommandInput,
|
|
321
315
|
options: __HttpHandlerOptions,
|
|
322
|
-
cb: (err: any, data?: RotateSecretCommandOutput) => void
|
|
316
|
+
cb: (err: any, data?: RotateSecretCommandOutput) => void,
|
|
323
317
|
): void;
|
|
324
318
|
stopReplicationToReplica(
|
|
325
319
|
args: StopReplicationToReplicaCommandInput,
|
|
326
|
-
options?: __HttpHandlerOptions
|
|
320
|
+
options?: __HttpHandlerOptions,
|
|
327
321
|
): Promise<StopReplicationToReplicaCommandOutput>;
|
|
328
322
|
stopReplicationToReplica(
|
|
329
323
|
args: StopReplicationToReplicaCommandInput,
|
|
330
|
-
cb: (err: any, data?: StopReplicationToReplicaCommandOutput) => void
|
|
324
|
+
cb: (err: any, data?: StopReplicationToReplicaCommandOutput) => void,
|
|
331
325
|
): void;
|
|
332
326
|
stopReplicationToReplica(
|
|
333
327
|
args: StopReplicationToReplicaCommandInput,
|
|
334
328
|
options: __HttpHandlerOptions,
|
|
335
|
-
cb: (err: any, data?: StopReplicationToReplicaCommandOutput) => void
|
|
329
|
+
cb: (err: any, data?: StopReplicationToReplicaCommandOutput) => void,
|
|
336
330
|
): void;
|
|
337
331
|
tagResource(
|
|
338
332
|
args: TagResourceCommandInput,
|
|
339
|
-
options?: __HttpHandlerOptions
|
|
333
|
+
options?: __HttpHandlerOptions,
|
|
340
334
|
): Promise<TagResourceCommandOutput>;
|
|
341
335
|
tagResource(
|
|
342
336
|
args: TagResourceCommandInput,
|
|
343
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
337
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
344
338
|
): void;
|
|
345
339
|
tagResource(
|
|
346
340
|
args: TagResourceCommandInput,
|
|
347
341
|
options: __HttpHandlerOptions,
|
|
348
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
342
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
349
343
|
): void;
|
|
350
344
|
untagResource(
|
|
351
345
|
args: UntagResourceCommandInput,
|
|
352
|
-
options?: __HttpHandlerOptions
|
|
346
|
+
options?: __HttpHandlerOptions,
|
|
353
347
|
): Promise<UntagResourceCommandOutput>;
|
|
354
348
|
untagResource(
|
|
355
349
|
args: UntagResourceCommandInput,
|
|
356
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
350
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
357
351
|
): void;
|
|
358
352
|
untagResource(
|
|
359
353
|
args: UntagResourceCommandInput,
|
|
360
354
|
options: __HttpHandlerOptions,
|
|
361
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
355
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
362
356
|
): void;
|
|
363
357
|
updateSecret(
|
|
364
358
|
args: UpdateSecretCommandInput,
|
|
365
|
-
options?: __HttpHandlerOptions
|
|
359
|
+
options?: __HttpHandlerOptions,
|
|
366
360
|
): Promise<UpdateSecretCommandOutput>;
|
|
367
361
|
updateSecret(
|
|
368
362
|
args: UpdateSecretCommandInput,
|
|
369
|
-
cb: (err: any, data?: UpdateSecretCommandOutput) => void
|
|
363
|
+
cb: (err: any, data?: UpdateSecretCommandOutput) => void,
|
|
370
364
|
): void;
|
|
371
365
|
updateSecret(
|
|
372
366
|
args: UpdateSecretCommandInput,
|
|
373
367
|
options: __HttpHandlerOptions,
|
|
374
|
-
cb: (err: any, data?: UpdateSecretCommandOutput) => void
|
|
368
|
+
cb: (err: any, data?: UpdateSecretCommandOutput) => void,
|
|
375
369
|
): void;
|
|
376
370
|
updateSecretVersionStage(
|
|
377
371
|
args: UpdateSecretVersionStageCommandInput,
|
|
378
|
-
options?: __HttpHandlerOptions
|
|
372
|
+
options?: __HttpHandlerOptions,
|
|
379
373
|
): Promise<UpdateSecretVersionStageCommandOutput>;
|
|
380
374
|
updateSecretVersionStage(
|
|
381
375
|
args: UpdateSecretVersionStageCommandInput,
|
|
382
|
-
cb: (err: any, data?: UpdateSecretVersionStageCommandOutput) => void
|
|
376
|
+
cb: (err: any, data?: UpdateSecretVersionStageCommandOutput) => void,
|
|
383
377
|
): void;
|
|
384
378
|
updateSecretVersionStage(
|
|
385
379
|
args: UpdateSecretVersionStageCommandInput,
|
|
386
380
|
options: __HttpHandlerOptions,
|
|
387
|
-
cb: (err: any, data?: UpdateSecretVersionStageCommandOutput) => void
|
|
381
|
+
cb: (err: any, data?: UpdateSecretVersionStageCommandOutput) => void,
|
|
388
382
|
): void;
|
|
389
383
|
validateResourcePolicy(
|
|
390
384
|
args: ValidateResourcePolicyCommandInput,
|
|
391
|
-
options?: __HttpHandlerOptions
|
|
385
|
+
options?: __HttpHandlerOptions,
|
|
392
386
|
): Promise<ValidateResourcePolicyCommandOutput>;
|
|
393
387
|
validateResourcePolicy(
|
|
394
388
|
args: ValidateResourcePolicyCommandInput,
|
|
395
|
-
cb: (err: any, data?: ValidateResourcePolicyCommandOutput) => void
|
|
389
|
+
cb: (err: any, data?: ValidateResourcePolicyCommandOutput) => void,
|
|
396
390
|
): void;
|
|
397
391
|
validateResourcePolicy(
|
|
398
392
|
args: ValidateResourcePolicyCommandInput,
|
|
399
393
|
options: __HttpHandlerOptions,
|
|
400
|
-
cb: (err: any, data?: ValidateResourcePolicyCommandOutput) => void
|
|
394
|
+
cb: (err: any, data?: ValidateResourcePolicyCommandOutput) => void,
|
|
401
395
|
): void;
|
|
402
396
|
paginateBatchGetSecretValue(
|
|
403
397
|
args?: BatchGetSecretValueCommandInput,
|
|
404
398
|
paginationConfig?: Pick<
|
|
405
399
|
PaginationConfiguration,
|
|
406
400
|
Exclude<keyof PaginationConfiguration, "client">
|
|
407
|
-
|
|
401
|
+
>,
|
|
408
402
|
): Paginator<BatchGetSecretValueCommandOutput>;
|
|
409
403
|
paginateListSecrets(
|
|
410
404
|
args?: ListSecretsCommandInput,
|
|
411
405
|
paginationConfig?: Pick<
|
|
412
406
|
PaginationConfiguration,
|
|
413
407
|
Exclude<keyof PaginationConfiguration, "client">
|
|
414
|
-
|
|
408
|
+
>,
|
|
415
409
|
): Paginator<ListSecretsCommandOutput>;
|
|
416
410
|
paginateListSecretVersionIds(
|
|
417
411
|
args: ListSecretVersionIdsCommandInput,
|
|
418
412
|
paginationConfig?: Pick<
|
|
419
413
|
PaginationConfiguration,
|
|
420
414
|
Exclude<keyof PaginationConfiguration, "client">
|
|
421
|
-
|
|
415
|
+
>,
|
|
422
416
|
): Paginator<ListSecretVersionIdsCommandOutput>;
|
|
423
417
|
}
|
|
424
|
-
export declare class SecretsManager
|
|
425
|
-
extends SecretsManagerClient
|
|
426
|
-
implements SecretsManager {}
|
|
418
|
+
export declare class SecretsManager extends SecretsManagerClient implements SecretsManager {}
|
|
@@ -11,10 +11,7 @@ import {
|
|
|
11
11
|
Client as __Client,
|
|
12
12
|
} from "@smithy/core/client";
|
|
13
13
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
14
|
-
import {
|
|
15
|
-
EndpointInputConfig,
|
|
16
|
-
EndpointResolvedConfig,
|
|
17
|
-
} from "@smithy/core/endpoints";
|
|
14
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
18
15
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
19
16
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
20
17
|
import {
|
|
@@ -72,10 +69,7 @@ import {
|
|
|
72
69
|
GetSecretValueCommandInput,
|
|
73
70
|
GetSecretValueCommandOutput,
|
|
74
71
|
} from "./commands/GetSecretValueCommand";
|
|
75
|
-
import {
|
|
76
|
-
ListSecretsCommandInput,
|
|
77
|
-
ListSecretsCommandOutput,
|
|
78
|
-
} from "./commands/ListSecretsCommand";
|
|
72
|
+
import { ListSecretsCommandInput, ListSecretsCommandOutput } from "./commands/ListSecretsCommand";
|
|
79
73
|
import {
|
|
80
74
|
ListSecretVersionIdsCommandInput,
|
|
81
75
|
ListSecretVersionIdsCommandOutput,
|
|
@@ -108,10 +102,7 @@ import {
|
|
|
108
102
|
StopReplicationToReplicaCommandInput,
|
|
109
103
|
StopReplicationToReplicaCommandOutput,
|
|
110
104
|
} from "./commands/StopReplicationToReplicaCommand";
|
|
111
|
-
import {
|
|
112
|
-
TagResourceCommandInput,
|
|
113
|
-
TagResourceCommandOutput,
|
|
114
|
-
} from "./commands/TagResourceCommand";
|
|
105
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
115
106
|
import {
|
|
116
107
|
UntagResourceCommandInput,
|
|
117
108
|
UntagResourceCommandOutput,
|
|
@@ -183,8 +174,7 @@ export type ServiceOutputTypes =
|
|
|
183
174
|
| UpdateSecretCommandOutput
|
|
184
175
|
| UpdateSecretVersionStageCommandOutput
|
|
185
176
|
| ValidateResourcePolicyCommandOutput;
|
|
186
|
-
export interface ClientDefaults
|
|
187
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
177
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
188
178
|
requestHandler?: __HttpHandlerUserInput;
|
|
189
179
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
190
180
|
urlParser?: __UrlParser;
|
|
@@ -209,9 +199,7 @@ export interface ClientDefaults
|
|
|
209
199
|
extensions?: RuntimeExtension[];
|
|
210
200
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
211
201
|
}
|
|
212
|
-
export type SecretsManagerClientConfigType = Partial<
|
|
213
|
-
__SmithyConfiguration<__HttpHandlerOptions>
|
|
214
|
-
> &
|
|
202
|
+
export type SecretsManagerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
215
203
|
ClientDefaults &
|
|
216
204
|
UserAgentInputConfig &
|
|
217
205
|
RetryInputConfig &
|
|
@@ -220,8 +208,7 @@ export type SecretsManagerClientConfigType = Partial<
|
|
|
220
208
|
EndpointInputConfig<EndpointParameters> &
|
|
221
209
|
HttpAuthSchemeInputConfig &
|
|
222
210
|
ClientInputEndpointParameters;
|
|
223
|
-
export interface SecretsManagerClientConfig
|
|
224
|
-
extends SecretsManagerClientConfigType {}
|
|
211
|
+
export interface SecretsManagerClientConfig extends SecretsManagerClientConfigType {}
|
|
225
212
|
export type SecretsManagerClientResolvedConfigType =
|
|
226
213
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
227
214
|
Required<ClientDefaults> &
|
|
@@ -233,8 +220,7 @@ export type SecretsManagerClientResolvedConfigType =
|
|
|
233
220
|
EndpointResolvedConfig<EndpointParameters> &
|
|
234
221
|
HttpAuthSchemeResolvedConfig &
|
|
235
222
|
ClientResolvedEndpointParameters;
|
|
236
|
-
export interface SecretsManagerClientResolvedConfig
|
|
237
|
-
extends SecretsManagerClientResolvedConfigType {}
|
|
223
|
+
export interface SecretsManagerClientResolvedConfig extends SecretsManagerClientResolvedConfigType {}
|
|
238
224
|
export declare class SecretsManagerClient extends __Client<
|
|
239
225
|
__HttpHandlerOptions,
|
|
240
226
|
ServiceInputTypes,
|
|
@@ -242,8 +228,6 @@ export declare class SecretsManagerClient extends __Client<
|
|
|
242
228
|
SecretsManagerClientResolvedConfig
|
|
243
229
|
> {
|
|
244
230
|
readonly config: SecretsManagerClientResolvedConfig;
|
|
245
|
-
constructor(
|
|
246
|
-
...[configuration]: __CheckOptionalClientConfig<SecretsManagerClientConfig>
|
|
247
|
-
);
|
|
231
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<SecretsManagerClientConfig>);
|
|
248
232
|
destroy(): void;
|
|
249
233
|
}
|
|
@@ -7,17 +7,10 @@ import { SecretsManagerHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
-
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: SecretsManagerHttpAuthSchemeProvider
|
|
12
|
-
): void;
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: SecretsManagerHttpAuthSchemeProvider): void;
|
|
13
11
|
httpAuthSchemeProvider(): SecretsManagerHttpAuthSchemeProvider;
|
|
14
|
-
setCredentials(
|
|
15
|
-
|
|
16
|
-
): void;
|
|
17
|
-
credentials():
|
|
18
|
-
| AwsCredentialIdentity
|
|
19
|
-
| AwsCredentialIdentityProvider
|
|
20
|
-
| undefined;
|
|
12
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
13
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
21
14
|
}
|
|
22
15
|
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
16
|
httpAuthSchemes: HttpAuthScheme[];
|
|
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
|
|
|
25
18
|
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
19
|
}>;
|
|
27
20
|
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
-
runtimeConfig: HttpAuthRuntimeConfig
|
|
21
|
+
runtimeConfig: HttpAuthRuntimeConfig,
|
|
29
22
|
) => HttpAuthExtensionConfiguration;
|
|
30
23
|
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
-
config: HttpAuthExtensionConfiguration
|
|
24
|
+
config: HttpAuthExtensionConfiguration,
|
|
32
25
|
) => HttpAuthRuntimeConfig;
|
|
@@ -12,36 +12,32 @@ import {
|
|
|
12
12
|
Provider,
|
|
13
13
|
} from "@smithy/types";
|
|
14
14
|
import { SecretsManagerClientResolvedConfig } from "../SecretsManagerClient";
|
|
15
|
-
export interface SecretsManagerHttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface SecretsManagerHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface SecretsManagerHttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface SecretsManagerHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
SecretsManagerClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
SecretsManagerHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultSecretsManagerHttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: SecretsManagerClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<SecretsManagerHttpAuthSchemeParameters>;
|
|
31
|
-
export interface SecretsManagerHttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<SecretsManagerHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface SecretsManagerHttpAuthSchemeProvider extends HttpAuthSchemeProvider<SecretsManagerHttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultSecretsManagerHttpAuthSchemeProvider: SecretsManagerHttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: SecretsManagerHttpAuthSchemeProvider;
|
|
38
35
|
}
|
|
39
|
-
export interface HttpAuthSchemeResolvedConfig
|
|
40
|
-
extends AwsSdkSigV4AuthResolvedConfig {
|
|
36
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
37
|
readonly authSchemePreference: Provider<string[]>;
|
|
42
38
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
43
39
|
readonly httpAuthSchemeProvider: SecretsManagerHttpAuthSchemeProvider;
|
|
44
40
|
}
|
|
45
41
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
-
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
47
43
|
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -4,22 +4,21 @@ import {
|
|
|
4
4
|
ServiceInputTypes,
|
|
5
5
|
ServiceOutputTypes,
|
|
6
6
|
} from "./SecretsManagerClient";
|
|
7
|
-
export declare const command: <
|
|
8
|
-
I extends ServiceInputTypes,
|
|
9
|
-
O extends ServiceOutputTypes
|
|
10
|
-
>(
|
|
7
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
|
|
11
8
|
added: EndpointParameterInstructions,
|
|
12
9
|
plugins: (
|
|
13
10
|
CommandCtor: any,
|
|
14
11
|
clientStack: any,
|
|
15
12
|
config: any,
|
|
16
|
-
options: any
|
|
13
|
+
options: any,
|
|
17
14
|
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
15
|
op: string,
|
|
19
16
|
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
-
smithyContext?: Record<string, unknown
|
|
17
|
+
smithyContext?: Record<string, unknown>,
|
|
21
18
|
) => {
|
|
22
|
-
new (
|
|
19
|
+
new (
|
|
20
|
+
input: I,
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
22
|
I,
|
|
24
23
|
O,
|
|
25
24
|
SecretsManagerClientResolvedConfig,
|
|
@@ -38,9 +37,4 @@ export declare const command: <
|
|
|
38
37
|
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
38
|
};
|
|
40
39
|
export declare const _ep0: EndpointParameterInstructions;
|
|
41
|
-
export declare const _mw0: (
|
|
42
|
-
Command: any,
|
|
43
|
-
cs: any,
|
|
44
|
-
config: any,
|
|
45
|
-
o: any
|
|
46
|
-
) => never[];
|
|
40
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
BatchGetSecretValueRequest,
|
|
4
|
-
BatchGetSecretValueResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { BatchGetSecretValueRequest, BatchGetSecretValueResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface BatchGetSecretValueCommandInput
|
|
8
|
-
extends BatchGetSecretValueRequest {}
|
|
4
|
+
export interface BatchGetSecretValueCommandInput extends BatchGetSecretValueRequest {}
|
|
9
5
|
export interface BatchGetSecretValueCommandOutput
|
|
10
|
-
extends BatchGetSecretValueResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends BatchGetSecretValueResponse, __MetadataBearer {}
|
|
12
7
|
declare const BatchGetSecretValueCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: BatchGetSecretValueCommandInput
|
|
9
|
+
input: BatchGetSecretValueCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
BatchGetSecretValueCommandInput,
|
|
17
12
|
BatchGetSecretValueCommandOutput,
|