@aws-sdk/client-secrets-manager 3.952.0 → 3.953.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 +332 -213
- package/dist-cjs/runtimeConfig.shared.js +6 -6
- package/dist-es/commands/BatchGetSecretValueCommand.js +2 -2
- package/dist-es/commands/CancelRotateSecretCommand.js +2 -2
- package/dist-es/commands/CreateSecretCommand.js +2 -2
- package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
- package/dist-es/commands/DeleteSecretCommand.js +2 -2
- package/dist-es/commands/DescribeSecretCommand.js +2 -2
- package/dist-es/commands/GetRandomPasswordCommand.js +2 -2
- package/dist-es/commands/GetResourcePolicyCommand.js +2 -2
- package/dist-es/commands/GetSecretValueCommand.js +2 -2
- package/dist-es/commands/ListSecretVersionIdsCommand.js +2 -2
- package/dist-es/commands/ListSecretsCommand.js +2 -2
- package/dist-es/commands/PutResourcePolicyCommand.js +2 -2
- package/dist-es/commands/PutSecretValueCommand.js +2 -2
- package/dist-es/commands/RemoveRegionsFromReplicationCommand.js +2 -2
- package/dist-es/commands/ReplicateSecretToRegionsCommand.js +2 -2
- package/dist-es/commands/RestoreSecretCommand.js +2 -2
- package/dist-es/commands/RotateSecretCommand.js +2 -2
- package/dist-es/commands/StopReplicationToReplicaCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateSecretCommand.js +2 -2
- package/dist-es/commands/UpdateSecretVersionStageCommand.js +2 -2
- package/dist-es/commands/ValidateResourcePolicyCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -6
- package/dist-es/schemas/schemas_0.js +195 -167
- package/dist-types/SecretsManagerClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +92 -114
- package/dist-types/ts3.4/SecretsManagerClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +91 -116
- package/package.json +34 -34
|
@@ -188,14 +188,14 @@ const _s = "server";
|
|
|
188
188
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.secretsmanager";
|
|
189
189
|
const n0 = "com.amazonaws.secretsmanager";
|
|
190
190
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
191
|
-
import { DecryptionFailure
|
|
192
|
-
import { SecretsManagerServiceException
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
export var APIErrorType = [3, n0, _APIET, 0, [_SI, _EC, _M], [0, 0, 0]];
|
|
198
|
-
export var BatchGetSecretValueRequest = [
|
|
191
|
+
import { DecryptionFailure, EncryptionFailure, InternalServiceError, InvalidNextTokenException, InvalidParameterException, InvalidRequestException, LimitExceededException, MalformedPolicyDocumentException, PreconditionNotMetException, PublicPolicyException, ResourceExistsException, ResourceNotFoundException, } from "../models/errors";
|
|
192
|
+
import { SecretsManagerServiceException } from "../models/SecretsManagerServiceException";
|
|
193
|
+
var RandomPasswordType = [0, n0, _RPT, 8, 0];
|
|
194
|
+
var RotationTokenType = [0, n0, _RTT, 8, 0];
|
|
195
|
+
var SecretBinaryType = [0, n0, _SBT, 8, 21];
|
|
196
|
+
var SecretStringType = [0, n0, _SST, 8, 0];
|
|
197
|
+
export var APIErrorType$ = [3, n0, _APIET, 0, [_SI, _EC, _M], [0, 0, 0]];
|
|
198
|
+
export var BatchGetSecretValueRequest$ = [
|
|
199
199
|
3,
|
|
200
200
|
n0,
|
|
201
201
|
_BGSVR,
|
|
@@ -203,7 +203,7 @@ export var BatchGetSecretValueRequest = [
|
|
|
203
203
|
[_SIL, _F, _MR, _NT],
|
|
204
204
|
[64 | 0, () => FiltersListType, 1, 0],
|
|
205
205
|
];
|
|
206
|
-
export var BatchGetSecretValueResponse = [
|
|
206
|
+
export var BatchGetSecretValueResponse$ = [
|
|
207
207
|
3,
|
|
208
208
|
n0,
|
|
209
209
|
_BGSVRa,
|
|
@@ -211,9 +211,9 @@ export var BatchGetSecretValueResponse = [
|
|
|
211
211
|
[_SV, _NT, _E],
|
|
212
212
|
[[() => SecretValuesType, 0], 0, () => APIErrorListType],
|
|
213
213
|
];
|
|
214
|
-
export var CancelRotateSecretRequest = [3, n0, _CRSR, 0, [_SI], [0]];
|
|
215
|
-
export var CancelRotateSecretResponse = [3, n0, _CRSRa, 0, [_ARN, _N, _VI], [0, 0, 0]];
|
|
216
|
-
export var CreateSecretRequest = [
|
|
214
|
+
export var CancelRotateSecretRequest$ = [3, n0, _CRSR, 0, [_SI], [0]];
|
|
215
|
+
export var CancelRotateSecretResponse$ = [3, n0, _CRSRa, 0, [_ARN, _N, _VI], [0, 0, 0]];
|
|
216
|
+
export var CreateSecretRequest$ = [
|
|
217
217
|
3,
|
|
218
218
|
n0,
|
|
219
219
|
_CSR,
|
|
@@ -232,7 +232,7 @@ export var CreateSecretRequest = [
|
|
|
232
232
|
0,
|
|
233
233
|
],
|
|
234
234
|
];
|
|
235
|
-
export var CreateSecretResponse = [
|
|
235
|
+
export var CreateSecretResponse$ = [
|
|
236
236
|
3,
|
|
237
237
|
n0,
|
|
238
238
|
_CSRr,
|
|
@@ -240,14 +240,14 @@ export var CreateSecretResponse = [
|
|
|
240
240
|
[_ARN, _N, _VI, _RS],
|
|
241
241
|
[0, 0, 0, () => ReplicationStatusListType],
|
|
242
242
|
];
|
|
243
|
-
export var DecryptionFailure = [-3, n0, _DF, { [_e]: _c }, [_M], [0]];
|
|
244
|
-
TypeRegistry.for(n0).registerError(DecryptionFailure
|
|
245
|
-
export var DeleteResourcePolicyRequest = [3, n0, _DRPR, 0, [_SI], [0]];
|
|
246
|
-
export var DeleteResourcePolicyResponse = [3, n0, _DRPRe, 0, [_ARN, _N], [0, 0]];
|
|
247
|
-
export var DeleteSecretRequest = [3, n0, _DSR, 0, [_SI, _RWID, _FDWR], [0, 1, 2]];
|
|
248
|
-
export var DeleteSecretResponse = [3, n0, _DSRe, 0, [_ARN, _N, _DD], [0, 0, 4]];
|
|
249
|
-
export var DescribeSecretRequest = [3, n0, _DSRes, 0, [_SI], [0]];
|
|
250
|
-
export var DescribeSecretResponse = [
|
|
243
|
+
export var DecryptionFailure$ = [-3, n0, _DF, { [_e]: _c }, [_M], [0]];
|
|
244
|
+
TypeRegistry.for(n0).registerError(DecryptionFailure$, DecryptionFailure);
|
|
245
|
+
export var DeleteResourcePolicyRequest$ = [3, n0, _DRPR, 0, [_SI], [0]];
|
|
246
|
+
export var DeleteResourcePolicyResponse$ = [3, n0, _DRPRe, 0, [_ARN, _N], [0, 0]];
|
|
247
|
+
export var DeleteSecretRequest$ = [3, n0, _DSR, 0, [_SI, _RWID, _FDWR], [0, 1, 2]];
|
|
248
|
+
export var DeleteSecretResponse$ = [3, n0, _DSRe, 0, [_ARN, _N, _DD], [0, 0, 4]];
|
|
249
|
+
export var DescribeSecretRequest$ = [3, n0, _DSRes, 0, [_SI], [0]];
|
|
250
|
+
export var DescribeSecretResponse$ = [
|
|
251
251
|
3,
|
|
252
252
|
n0,
|
|
253
253
|
_DSResc,
|
|
@@ -283,7 +283,7 @@ export var DescribeSecretResponse = [
|
|
|
283
283
|
0,
|
|
284
284
|
2,
|
|
285
285
|
0,
|
|
286
|
-
() => RotationRulesType
|
|
286
|
+
() => RotationRulesType$,
|
|
287
287
|
() => ExternalSecretRotationMetadataType,
|
|
288
288
|
0,
|
|
289
289
|
4,
|
|
@@ -299,11 +299,11 @@ export var DescribeSecretResponse = [
|
|
|
299
299
|
() => ReplicationStatusListType,
|
|
300
300
|
],
|
|
301
301
|
];
|
|
302
|
-
export var EncryptionFailure = [-3, n0, _EF, { [_e]: _c }, [_M], [0]];
|
|
303
|
-
TypeRegistry.for(n0).registerError(EncryptionFailure
|
|
304
|
-
export var ExternalSecretRotationMetadataItem = [3, n0, _ESRMI, 0, [_K, _V], [0, 0]];
|
|
305
|
-
export var Filter = [3, n0, _Fi, 0, [_K, _Va], [0, 64 | 0]];
|
|
306
|
-
export var GetRandomPasswordRequest = [
|
|
302
|
+
export var EncryptionFailure$ = [-3, n0, _EF, { [_e]: _c }, [_M], [0]];
|
|
303
|
+
TypeRegistry.for(n0).registerError(EncryptionFailure$, EncryptionFailure);
|
|
304
|
+
export var ExternalSecretRotationMetadataItem$ = [3, n0, _ESRMI, 0, [_K, _V], [0, 0]];
|
|
305
|
+
export var Filter$ = [3, n0, _Fi, 0, [_K, _Va], [0, 64 | 0]];
|
|
306
|
+
export var GetRandomPasswordRequest$ = [
|
|
307
307
|
3,
|
|
308
308
|
n0,
|
|
309
309
|
_GRPR,
|
|
@@ -311,7 +311,7 @@ export var GetRandomPasswordRequest = [
|
|
|
311
311
|
[_PL, _ECx, _EN, _EP, _EU, _EL, _IS, _REIT],
|
|
312
312
|
[1, 0, 2, 2, 2, 2, 2, 2],
|
|
313
313
|
];
|
|
314
|
-
export var GetRandomPasswordResponse = [
|
|
314
|
+
export var GetRandomPasswordResponse$ = [
|
|
315
315
|
3,
|
|
316
316
|
n0,
|
|
317
317
|
_GRPRe,
|
|
@@ -319,10 +319,10 @@ export var GetRandomPasswordResponse = [
|
|
|
319
319
|
[_RP],
|
|
320
320
|
[[() => RandomPasswordType, 0]],
|
|
321
321
|
];
|
|
322
|
-
export var GetResourcePolicyRequest = [3, n0, _GRPRet, 0, [_SI], [0]];
|
|
323
|
-
export var GetResourcePolicyResponse = [3, n0, _GRPRete, 0, [_ARN, _N, _RPe], [0, 0, 0]];
|
|
324
|
-
export var GetSecretValueRequest = [3, n0, _GSVR, 0, [_SI, _VI, _VS], [0, 0, 0]];
|
|
325
|
-
export var GetSecretValueResponse = [
|
|
322
|
+
export var GetResourcePolicyRequest$ = [3, n0, _GRPRet, 0, [_SI], [0]];
|
|
323
|
+
export var GetResourcePolicyResponse$ = [3, n0, _GRPRete, 0, [_ARN, _N, _RPe], [0, 0, 0]];
|
|
324
|
+
export var GetSecretValueRequest$ = [3, n0, _GSVR, 0, [_SI, _VI, _VS], [0, 0, 0]];
|
|
325
|
+
export var GetSecretValueResponse$ = [
|
|
326
326
|
3,
|
|
327
327
|
n0,
|
|
328
328
|
_GSVRe,
|
|
@@ -330,17 +330,17 @@ export var GetSecretValueResponse = [
|
|
|
330
330
|
[_ARN, _N, _VI, _SB, _SS, _VSe, _CD],
|
|
331
331
|
[0, 0, 0, [() => SecretBinaryType, 0], [() => SecretStringType, 0], 64 | 0, 4],
|
|
332
332
|
];
|
|
333
|
-
export var InternalServiceError = [-3, n0, _ISE, { [_e]: _s }, [_M], [0]];
|
|
334
|
-
TypeRegistry.for(n0).registerError(InternalServiceError
|
|
335
|
-
export var InvalidNextTokenException = [-3, n0, _INTE, { [_e]: _c }, [_M], [0]];
|
|
336
|
-
TypeRegistry.for(n0).registerError(InvalidNextTokenException
|
|
337
|
-
export var InvalidParameterException = [-3, n0, _IPE, { [_e]: _c }, [_M], [0]];
|
|
338
|
-
TypeRegistry.for(n0).registerError(InvalidParameterException
|
|
339
|
-
export var InvalidRequestException = [-3, n0, _IRE, { [_e]: _c }, [_M], [0]];
|
|
340
|
-
TypeRegistry.for(n0).registerError(InvalidRequestException
|
|
341
|
-
export var LimitExceededException = [-3, n0, _LEE, { [_e]: _c }, [_M], [0]];
|
|
342
|
-
TypeRegistry.for(n0).registerError(LimitExceededException
|
|
343
|
-
export var ListSecretsRequest = [
|
|
333
|
+
export var InternalServiceError$ = [-3, n0, _ISE, { [_e]: _s }, [_M], [0]];
|
|
334
|
+
TypeRegistry.for(n0).registerError(InternalServiceError$, InternalServiceError);
|
|
335
|
+
export var InvalidNextTokenException$ = [-3, n0, _INTE, { [_e]: _c }, [_M], [0]];
|
|
336
|
+
TypeRegistry.for(n0).registerError(InvalidNextTokenException$, InvalidNextTokenException);
|
|
337
|
+
export var InvalidParameterException$ = [-3, n0, _IPE, { [_e]: _c }, [_M], [0]];
|
|
338
|
+
TypeRegistry.for(n0).registerError(InvalidParameterException$, InvalidParameterException);
|
|
339
|
+
export var InvalidRequestException$ = [-3, n0, _IRE, { [_e]: _c }, [_M], [0]];
|
|
340
|
+
TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
|
|
341
|
+
export var LimitExceededException$ = [-3, n0, _LEE, { [_e]: _c }, [_M], [0]];
|
|
342
|
+
TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
|
|
343
|
+
export var ListSecretsRequest$ = [
|
|
344
344
|
3,
|
|
345
345
|
n0,
|
|
346
346
|
_LSR,
|
|
@@ -348,9 +348,9 @@ export var ListSecretsRequest = [
|
|
|
348
348
|
[_IPD, _MR, _NT, _F, _SO, _SBo],
|
|
349
349
|
[2, 1, 0, () => FiltersListType, 0, 0],
|
|
350
350
|
];
|
|
351
|
-
export var ListSecretsResponse = [3, n0, _LSRi, 0, [_SL, _NT], [() => SecretListType, 0]];
|
|
352
|
-
export var ListSecretVersionIdsRequest = [3, n0, _LSVIR, 0, [_SI, _MR, _NT, _ID], [0, 1, 0, 2]];
|
|
353
|
-
export var ListSecretVersionIdsResponse = [
|
|
351
|
+
export var ListSecretsResponse$ = [3, n0, _LSRi, 0, [_SL, _NT], [() => SecretListType, 0]];
|
|
352
|
+
export var ListSecretVersionIdsRequest$ = [3, n0, _LSVIR, 0, [_SI, _MR, _NT, _ID], [0, 1, 0, 2]];
|
|
353
|
+
export var ListSecretVersionIdsResponse$ = [
|
|
354
354
|
3,
|
|
355
355
|
n0,
|
|
356
356
|
_LSVIRi,
|
|
@@ -358,15 +358,15 @@ export var ListSecretVersionIdsResponse = [
|
|
|
358
358
|
[_Ve, _NT, _ARN, _N],
|
|
359
359
|
[() => SecretVersionsListType, 0, 0, 0],
|
|
360
360
|
];
|
|
361
|
-
export var MalformedPolicyDocumentException = [-3, n0, _MPDE, { [_e]: _c }, [_M], [0]];
|
|
362
|
-
TypeRegistry.for(n0).registerError(MalformedPolicyDocumentException
|
|
363
|
-
export var PreconditionNotMetException = [-3, n0, _PNME, { [_e]: _c }, [_M], [0]];
|
|
364
|
-
TypeRegistry.for(n0).registerError(PreconditionNotMetException
|
|
365
|
-
export var PublicPolicyException = [-3, n0, _PPE, { [_e]: _c }, [_M], [0]];
|
|
366
|
-
TypeRegistry.for(n0).registerError(PublicPolicyException
|
|
367
|
-
export var PutResourcePolicyRequest = [3, n0, _PRPR, 0, [_SI, _RPe, _BPP], [0, 0, 2]];
|
|
368
|
-
export var PutResourcePolicyResponse = [3, n0, _PRPRu, 0, [_ARN, _N], [0, 0]];
|
|
369
|
-
export var PutSecretValueRequest = [
|
|
361
|
+
export var MalformedPolicyDocumentException$ = [-3, n0, _MPDE, { [_e]: _c }, [_M], [0]];
|
|
362
|
+
TypeRegistry.for(n0).registerError(MalformedPolicyDocumentException$, MalformedPolicyDocumentException);
|
|
363
|
+
export var PreconditionNotMetException$ = [-3, n0, _PNME, { [_e]: _c }, [_M], [0]];
|
|
364
|
+
TypeRegistry.for(n0).registerError(PreconditionNotMetException$, PreconditionNotMetException);
|
|
365
|
+
export var PublicPolicyException$ = [-3, n0, _PPE, { [_e]: _c }, [_M], [0]];
|
|
366
|
+
TypeRegistry.for(n0).registerError(PublicPolicyException$, PublicPolicyException);
|
|
367
|
+
export var PutResourcePolicyRequest$ = [3, n0, _PRPR, 0, [_SI, _RPe, _BPP], [0, 0, 2]];
|
|
368
|
+
export var PutResourcePolicyResponse$ = [3, n0, _PRPRu, 0, [_ARN, _N], [0, 0]];
|
|
369
|
+
export var PutSecretValueRequest$ = [
|
|
370
370
|
3,
|
|
371
371
|
n0,
|
|
372
372
|
_PSVR,
|
|
@@ -374,9 +374,16 @@ export var PutSecretValueRequest = [
|
|
|
374
374
|
[_SI, _CRT, _SB, _SS, _VSe, _RT],
|
|
375
375
|
[0, [0, 4], [() => SecretBinaryType, 0], [() => SecretStringType, 0], 64 | 0, [() => RotationTokenType, 0]],
|
|
376
376
|
];
|
|
377
|
-
export var PutSecretValueResponse = [
|
|
378
|
-
|
|
379
|
-
|
|
377
|
+
export var PutSecretValueResponse$ = [
|
|
378
|
+
3,
|
|
379
|
+
n0,
|
|
380
|
+
_PSVRu,
|
|
381
|
+
0,
|
|
382
|
+
[_ARN, _N, _VI, _VSe],
|
|
383
|
+
[0, 0, 0, 64 | 0],
|
|
384
|
+
];
|
|
385
|
+
export var RemoveRegionsFromReplicationRequest$ = [3, n0, _RRFRR, 0, [_SI, _RRR], [0, 64 | 0]];
|
|
386
|
+
export var RemoveRegionsFromReplicationResponse$ = [
|
|
380
387
|
3,
|
|
381
388
|
n0,
|
|
382
389
|
_RRFRRe,
|
|
@@ -384,8 +391,8 @@ export var RemoveRegionsFromReplicationResponse = [
|
|
|
384
391
|
[_ARN, _RS],
|
|
385
392
|
[0, () => ReplicationStatusListType],
|
|
386
393
|
];
|
|
387
|
-
export var ReplicaRegionType = [3, n0, _RRT, 0, [_R, _KKI], [0, 0]];
|
|
388
|
-
export var ReplicateSecretToRegionsRequest = [
|
|
394
|
+
export var ReplicaRegionType$ = [3, n0, _RRT, 0, [_R, _KKI], [0, 0]];
|
|
395
|
+
export var ReplicateSecretToRegionsRequest$ = [
|
|
389
396
|
3,
|
|
390
397
|
n0,
|
|
391
398
|
_RSTRR,
|
|
@@ -393,7 +400,7 @@ export var ReplicateSecretToRegionsRequest = [
|
|
|
393
400
|
[_SI, _ARR, _FORS],
|
|
394
401
|
[0, () => AddReplicaRegionListType, 2],
|
|
395
402
|
];
|
|
396
|
-
export var ReplicateSecretToRegionsResponse = [
|
|
403
|
+
export var ReplicateSecretToRegionsResponse$ = [
|
|
397
404
|
3,
|
|
398
405
|
n0,
|
|
399
406
|
_RSTRRe,
|
|
@@ -401,24 +408,24 @@ export var ReplicateSecretToRegionsResponse = [
|
|
|
401
408
|
[_ARN, _RS],
|
|
402
409
|
[0, () => ReplicationStatusListType],
|
|
403
410
|
];
|
|
404
|
-
export var ReplicationStatusType = [3, n0, _RST, 0, [_R, _KKI, _S, _SM, _LAD], [0, 0, 0, 0, 4]];
|
|
405
|
-
export var ResourceExistsException = [-3, n0, _REE, { [_e]: _c }, [_M], [0]];
|
|
406
|
-
TypeRegistry.for(n0).registerError(ResourceExistsException
|
|
407
|
-
export var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c }, [_M], [0]];
|
|
408
|
-
TypeRegistry.for(n0).registerError(ResourceNotFoundException
|
|
409
|
-
export var RestoreSecretRequest = [3, n0, _RSR, 0, [_SI], [0]];
|
|
410
|
-
export var RestoreSecretResponse = [3, n0, _RSRe, 0, [_ARN, _N], [0, 0]];
|
|
411
|
-
export var RotateSecretRequest = [
|
|
411
|
+
export var ReplicationStatusType$ = [3, n0, _RST, 0, [_R, _KKI, _S, _SM, _LAD], [0, 0, 0, 0, 4]];
|
|
412
|
+
export var ResourceExistsException$ = [-3, n0, _REE, { [_e]: _c }, [_M], [0]];
|
|
413
|
+
TypeRegistry.for(n0).registerError(ResourceExistsException$, ResourceExistsException);
|
|
414
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c }, [_M], [0]];
|
|
415
|
+
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
416
|
+
export var RestoreSecretRequest$ = [3, n0, _RSR, 0, [_SI], [0]];
|
|
417
|
+
export var RestoreSecretResponse$ = [3, n0, _RSRe, 0, [_ARN, _N], [0, 0]];
|
|
418
|
+
export var RotateSecretRequest$ = [
|
|
412
419
|
3,
|
|
413
420
|
n0,
|
|
414
421
|
_RSRo,
|
|
415
422
|
0,
|
|
416
423
|
[_SI, _CRT, _RLARN, _RR, _ESRM, _ESRRA, _RI],
|
|
417
|
-
[0, [0, 4], 0, () => RotationRulesType
|
|
424
|
+
[0, [0, 4], 0, () => RotationRulesType$, () => ExternalSecretRotationMetadataType, 0, 2],
|
|
418
425
|
];
|
|
419
|
-
export var RotateSecretResponse = [3, n0, _RSRot, 0, [_ARN, _N, _VI], [0, 0, 0]];
|
|
420
|
-
export var RotationRulesType = [3, n0, _RRTo, 0, [_AAD, _Du, _SE], [1, 0, 0]];
|
|
421
|
-
export var SecretListEntry = [
|
|
426
|
+
export var RotateSecretResponse$ = [3, n0, _RSRot, 0, [_ARN, _N, _VI], [0, 0, 0]];
|
|
427
|
+
export var RotationRulesType$ = [3, n0, _RRTo, 0, [_AAD, _Du, _SE], [1, 0, 0]];
|
|
428
|
+
export var SecretListEntry$ = [
|
|
422
429
|
3,
|
|
423
430
|
n0,
|
|
424
431
|
_SLE,
|
|
@@ -432,7 +439,7 @@ export var SecretListEntry = [
|
|
|
432
439
|
0,
|
|
433
440
|
2,
|
|
434
441
|
0,
|
|
435
|
-
() => RotationRulesType
|
|
442
|
+
() => RotationRulesType$,
|
|
436
443
|
() => ExternalSecretRotationMetadataType,
|
|
437
444
|
0,
|
|
438
445
|
4,
|
|
@@ -447,7 +454,7 @@ export var SecretListEntry = [
|
|
|
447
454
|
0,
|
|
448
455
|
],
|
|
449
456
|
];
|
|
450
|
-
export var SecretValueEntry = [
|
|
457
|
+
export var SecretValueEntry$ = [
|
|
451
458
|
3,
|
|
452
459
|
n0,
|
|
453
460
|
_SVE,
|
|
@@ -455,7 +462,7 @@ export var SecretValueEntry = [
|
|
|
455
462
|
[_ARN, _N, _VI, _SB, _SS, _VSe, _CD],
|
|
456
463
|
[0, 0, 0, [() => SecretBinaryType, 0], [() => SecretStringType, 0], 64 | 0, 4],
|
|
457
464
|
];
|
|
458
|
-
export var SecretVersionsListEntry = [
|
|
465
|
+
export var SecretVersionsListEntry$ = [
|
|
459
466
|
3,
|
|
460
467
|
n0,
|
|
461
468
|
_SVLE,
|
|
@@ -463,12 +470,12 @@ export var SecretVersionsListEntry = [
|
|
|
463
470
|
[_VI, _VSe, _LAD, _CD, _KKIm],
|
|
464
471
|
[0, 64 | 0, 4, 4, 64 | 0],
|
|
465
472
|
];
|
|
466
|
-
export var StopReplicationToReplicaRequest = [3, n0, _SRTRR, 0, [_SI], [0]];
|
|
467
|
-
export var StopReplicationToReplicaResponse = [3, n0, _SRTRRt, 0, [_ARN], [0]];
|
|
468
|
-
export var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
|
|
469
|
-
export var TagResourceRequest = [3, n0, _TRR, 0, [_SI, _T], [0, () => TagListType]];
|
|
470
|
-
export var UntagResourceRequest = [3, n0, _URR, 0, [_SI, _TK], [0, 64 | 0]];
|
|
471
|
-
export var UpdateSecretRequest = [
|
|
473
|
+
export var StopReplicationToReplicaRequest$ = [3, n0, _SRTRR, 0, [_SI], [0]];
|
|
474
|
+
export var StopReplicationToReplicaResponse$ = [3, n0, _SRTRRt, 0, [_ARN], [0]];
|
|
475
|
+
export var Tag$ = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
|
|
476
|
+
export var TagResourceRequest$ = [3, n0, _TRR, 0, [_SI, _T], [0, () => TagListType]];
|
|
477
|
+
export var UntagResourceRequest$ = [3, n0, _URR, 0, [_SI, _TK], [0, 64 | 0]];
|
|
478
|
+
export var UpdateSecretRequest$ = [
|
|
472
479
|
3,
|
|
473
480
|
n0,
|
|
474
481
|
_USR,
|
|
@@ -476,8 +483,8 @@ export var UpdateSecretRequest = [
|
|
|
476
483
|
[_SI, _CRT, _D, _KKI, _SB, _SS, _Ty],
|
|
477
484
|
[0, [0, 4], 0, 0, [() => SecretBinaryType, 0], [() => SecretStringType, 0], 0],
|
|
478
485
|
];
|
|
479
|
-
export var UpdateSecretResponse = [3, n0, _USRp, 0, [_ARN, _N, _VI], [0, 0, 0]];
|
|
480
|
-
export var UpdateSecretVersionStageRequest = [
|
|
486
|
+
export var UpdateSecretResponse$ = [3, n0, _USRp, 0, [_ARN, _N, _VI], [0, 0, 0]];
|
|
487
|
+
export var UpdateSecretVersionStageRequest$ = [
|
|
481
488
|
3,
|
|
482
489
|
n0,
|
|
483
490
|
_USVSR,
|
|
@@ -485,9 +492,9 @@ export var UpdateSecretVersionStageRequest = [
|
|
|
485
492
|
[_SI, _VS, _RFVI, _MTVI],
|
|
486
493
|
[0, 0, 0, 0],
|
|
487
494
|
];
|
|
488
|
-
export var UpdateSecretVersionStageResponse = [3, n0, _USVSRp, 0, [_ARN, _N], [0, 0]];
|
|
489
|
-
export var ValidateResourcePolicyRequest = [3, n0, _VRPR, 0, [_SI, _RPe], [0, 0]];
|
|
490
|
-
export var ValidateResourcePolicyResponse = [
|
|
495
|
+
export var UpdateSecretVersionStageResponse$ = [3, n0, _USVSRp, 0, [_ARN, _N], [0, 0]];
|
|
496
|
+
export var ValidateResourcePolicyRequest$ = [3, n0, _VRPR, 0, [_SI, _RPe], [0, 0]];
|
|
497
|
+
export var ValidateResourcePolicyResponse$ = [
|
|
491
498
|
3,
|
|
492
499
|
n0,
|
|
493
500
|
_VRPRa,
|
|
@@ -495,172 +502,193 @@ export var ValidateResourcePolicyResponse = [
|
|
|
495
502
|
[_PVP, _VE],
|
|
496
503
|
[2, () => ValidationErrorsType],
|
|
497
504
|
];
|
|
498
|
-
export var ValidationErrorsEntry = [3, n0, _VEE, 0, [_CN, _EM], [0, 0]];
|
|
499
|
-
|
|
500
|
-
export var SecretsManagerServiceException = [-3, _sm, "SecretsManagerServiceException", 0, [], []];
|
|
501
|
-
TypeRegistry.for(_sm).registerError(SecretsManagerServiceException
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
+
export var ValidationErrorsEntry$ = [3, n0, _VEE, 0, [_CN, _EM], [0, 0]];
|
|
506
|
+
var __Unit = "unit";
|
|
507
|
+
export var SecretsManagerServiceException$ = [-3, _sm, "SecretsManagerServiceException", 0, [], []];
|
|
508
|
+
TypeRegistry.for(_sm).registerError(SecretsManagerServiceException$, SecretsManagerServiceException);
|
|
509
|
+
var AddReplicaRegionListType = [1, n0, _ARRLT, 0, () => ReplicaRegionType$];
|
|
510
|
+
var APIErrorListType = [1, n0, _APIELT, 0, () => APIErrorType$];
|
|
511
|
+
var ExternalSecretRotationMetadataType = [
|
|
505
512
|
1,
|
|
506
513
|
n0,
|
|
507
514
|
_ESRMT,
|
|
508
515
|
0,
|
|
509
|
-
() => ExternalSecretRotationMetadataItem
|
|
510
|
-
];
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
export var BatchGetSecretValue = [
|
|
516
|
+
() => ExternalSecretRotationMetadataItem$,
|
|
517
|
+
];
|
|
518
|
+
var FiltersListType = [1, n0, _FLT, 0, () => Filter$];
|
|
519
|
+
var FilterValuesStringList = 64 | 0;
|
|
520
|
+
var KmsKeyIdListType = 64 | 0;
|
|
521
|
+
var RemoveReplicaRegionListType = 64 | 0;
|
|
522
|
+
var ReplicationStatusListType = [1, n0, _RSLT, 0, () => ReplicationStatusType$];
|
|
523
|
+
var SecretIdListType = 64 | 0;
|
|
524
|
+
var SecretListType = [1, n0, _SLT, 0, () => SecretListEntry$];
|
|
525
|
+
var SecretValuesType = [1, n0, _SVT, 0, [() => SecretValueEntry$, 0]];
|
|
526
|
+
var SecretVersionsListType = [1, n0, _SVLT, 0, () => SecretVersionsListEntry$];
|
|
527
|
+
var SecretVersionStagesType = 64 | 0;
|
|
528
|
+
var TagKeyListType = 64 | 0;
|
|
529
|
+
var TagListType = [1, n0, _TLT, 0, () => Tag$];
|
|
530
|
+
var ValidationErrorsType = [1, n0, _VET, 0, () => ValidationErrorsEntry$];
|
|
531
|
+
var SecretVersionsToStagesMapType = [2, n0, _SVTSMT, 0, 0, 64 | 0];
|
|
532
|
+
export var BatchGetSecretValue$ = [
|
|
526
533
|
9,
|
|
527
534
|
n0,
|
|
528
535
|
_BGSV,
|
|
529
536
|
0,
|
|
530
|
-
() => BatchGetSecretValueRequest
|
|
531
|
-
() => BatchGetSecretValueResponse
|
|
537
|
+
() => BatchGetSecretValueRequest$,
|
|
538
|
+
() => BatchGetSecretValueResponse$,
|
|
532
539
|
];
|
|
533
|
-
export var CancelRotateSecret = [
|
|
540
|
+
export var CancelRotateSecret$ = [
|
|
534
541
|
9,
|
|
535
542
|
n0,
|
|
536
543
|
_CRS,
|
|
537
544
|
0,
|
|
538
|
-
() => CancelRotateSecretRequest
|
|
539
|
-
() => CancelRotateSecretResponse
|
|
545
|
+
() => CancelRotateSecretRequest$,
|
|
546
|
+
() => CancelRotateSecretResponse$,
|
|
547
|
+
];
|
|
548
|
+
export var CreateSecret$ = [
|
|
549
|
+
9,
|
|
550
|
+
n0,
|
|
551
|
+
_CS,
|
|
552
|
+
0,
|
|
553
|
+
() => CreateSecretRequest$,
|
|
554
|
+
() => CreateSecretResponse$,
|
|
540
555
|
];
|
|
541
|
-
export var
|
|
542
|
-
export var DeleteResourcePolicy = [
|
|
556
|
+
export var DeleteResourcePolicy$ = [
|
|
543
557
|
9,
|
|
544
558
|
n0,
|
|
545
559
|
_DRP,
|
|
546
560
|
0,
|
|
547
|
-
() => DeleteResourcePolicyRequest
|
|
548
|
-
() => DeleteResourcePolicyResponse
|
|
561
|
+
() => DeleteResourcePolicyRequest$,
|
|
562
|
+
() => DeleteResourcePolicyResponse$,
|
|
549
563
|
];
|
|
550
|
-
export var DeleteSecret = [
|
|
551
|
-
|
|
564
|
+
export var DeleteSecret$ = [
|
|
565
|
+
9,
|
|
566
|
+
n0,
|
|
567
|
+
_DS,
|
|
568
|
+
0,
|
|
569
|
+
() => DeleteSecretRequest$,
|
|
570
|
+
() => DeleteSecretResponse$,
|
|
571
|
+
];
|
|
572
|
+
export var DescribeSecret$ = [
|
|
552
573
|
9,
|
|
553
574
|
n0,
|
|
554
575
|
_DSe,
|
|
555
576
|
0,
|
|
556
|
-
() => DescribeSecretRequest
|
|
557
|
-
() => DescribeSecretResponse
|
|
577
|
+
() => DescribeSecretRequest$,
|
|
578
|
+
() => DescribeSecretResponse$,
|
|
558
579
|
];
|
|
559
|
-
export var GetRandomPassword = [
|
|
580
|
+
export var GetRandomPassword$ = [
|
|
560
581
|
9,
|
|
561
582
|
n0,
|
|
562
583
|
_GRP,
|
|
563
584
|
0,
|
|
564
|
-
() => GetRandomPasswordRequest
|
|
565
|
-
() => GetRandomPasswordResponse
|
|
585
|
+
() => GetRandomPasswordRequest$,
|
|
586
|
+
() => GetRandomPasswordResponse$,
|
|
566
587
|
];
|
|
567
|
-
export var GetResourcePolicy = [
|
|
588
|
+
export var GetResourcePolicy$ = [
|
|
568
589
|
9,
|
|
569
590
|
n0,
|
|
570
591
|
_GRPe,
|
|
571
592
|
0,
|
|
572
|
-
() => GetResourcePolicyRequest
|
|
573
|
-
() => GetResourcePolicyResponse
|
|
593
|
+
() => GetResourcePolicyRequest$,
|
|
594
|
+
() => GetResourcePolicyResponse$,
|
|
574
595
|
];
|
|
575
|
-
export var GetSecretValue = [
|
|
596
|
+
export var GetSecretValue$ = [
|
|
576
597
|
9,
|
|
577
598
|
n0,
|
|
578
599
|
_GSV,
|
|
579
600
|
0,
|
|
580
|
-
() => GetSecretValueRequest
|
|
581
|
-
() => GetSecretValueResponse
|
|
601
|
+
() => GetSecretValueRequest$,
|
|
602
|
+
() => GetSecretValueResponse$,
|
|
582
603
|
];
|
|
583
|
-
export var ListSecrets = [9, n0, _LS, 0, () => ListSecretsRequest
|
|
584
|
-
export var ListSecretVersionIds = [
|
|
604
|
+
export var ListSecrets$ = [9, n0, _LS, 0, () => ListSecretsRequest$, () => ListSecretsResponse$];
|
|
605
|
+
export var ListSecretVersionIds$ = [
|
|
585
606
|
9,
|
|
586
607
|
n0,
|
|
587
608
|
_LSVI,
|
|
588
609
|
0,
|
|
589
|
-
() => ListSecretVersionIdsRequest
|
|
590
|
-
() => ListSecretVersionIdsResponse
|
|
610
|
+
() => ListSecretVersionIdsRequest$,
|
|
611
|
+
() => ListSecretVersionIdsResponse$,
|
|
591
612
|
];
|
|
592
|
-
export var PutResourcePolicy = [
|
|
613
|
+
export var PutResourcePolicy$ = [
|
|
593
614
|
9,
|
|
594
615
|
n0,
|
|
595
616
|
_PRP,
|
|
596
617
|
0,
|
|
597
|
-
() => PutResourcePolicyRequest
|
|
598
|
-
() => PutResourcePolicyResponse
|
|
618
|
+
() => PutResourcePolicyRequest$,
|
|
619
|
+
() => PutResourcePolicyResponse$,
|
|
599
620
|
];
|
|
600
|
-
export var PutSecretValue = [
|
|
621
|
+
export var PutSecretValue$ = [
|
|
601
622
|
9,
|
|
602
623
|
n0,
|
|
603
624
|
_PSV,
|
|
604
625
|
0,
|
|
605
|
-
() => PutSecretValueRequest
|
|
606
|
-
() => PutSecretValueResponse
|
|
626
|
+
() => PutSecretValueRequest$,
|
|
627
|
+
() => PutSecretValueResponse$,
|
|
607
628
|
];
|
|
608
|
-
export var RemoveRegionsFromReplication = [
|
|
629
|
+
export var RemoveRegionsFromReplication$ = [
|
|
609
630
|
9,
|
|
610
631
|
n0,
|
|
611
632
|
_RRFR,
|
|
612
633
|
0,
|
|
613
|
-
() => RemoveRegionsFromReplicationRequest
|
|
614
|
-
() => RemoveRegionsFromReplicationResponse
|
|
634
|
+
() => RemoveRegionsFromReplicationRequest$,
|
|
635
|
+
() => RemoveRegionsFromReplicationResponse$,
|
|
615
636
|
];
|
|
616
|
-
export var ReplicateSecretToRegions = [
|
|
637
|
+
export var ReplicateSecretToRegions$ = [
|
|
617
638
|
9,
|
|
618
639
|
n0,
|
|
619
640
|
_RSTR,
|
|
620
641
|
0,
|
|
621
|
-
() => ReplicateSecretToRegionsRequest
|
|
622
|
-
() => ReplicateSecretToRegionsResponse
|
|
642
|
+
() => ReplicateSecretToRegionsRequest$,
|
|
643
|
+
() => ReplicateSecretToRegionsResponse$,
|
|
623
644
|
];
|
|
624
|
-
export var RestoreSecret = [
|
|
645
|
+
export var RestoreSecret$ = [
|
|
625
646
|
9,
|
|
626
647
|
n0,
|
|
627
648
|
_RSe,
|
|
628
649
|
0,
|
|
629
|
-
() => RestoreSecretRequest
|
|
630
|
-
() => RestoreSecretResponse
|
|
650
|
+
() => RestoreSecretRequest$,
|
|
651
|
+
() => RestoreSecretResponse$,
|
|
631
652
|
];
|
|
632
|
-
export var RotateSecret = [
|
|
653
|
+
export var RotateSecret$ = [
|
|
633
654
|
9,
|
|
634
655
|
n0,
|
|
635
656
|
_RSo,
|
|
636
657
|
0,
|
|
637
|
-
() => RotateSecretRequest
|
|
638
|
-
() => RotateSecretResponse
|
|
658
|
+
() => RotateSecretRequest$,
|
|
659
|
+
() => RotateSecretResponse$,
|
|
639
660
|
];
|
|
640
|
-
export var StopReplicationToReplica = [
|
|
661
|
+
export var StopReplicationToReplica$ = [
|
|
641
662
|
9,
|
|
642
663
|
n0,
|
|
643
664
|
_SRTR,
|
|
644
665
|
0,
|
|
645
|
-
() => StopReplicationToReplicaRequest
|
|
646
|
-
() => StopReplicationToReplicaResponse
|
|
666
|
+
() => StopReplicationToReplicaRequest$,
|
|
667
|
+
() => StopReplicationToReplicaResponse$,
|
|
668
|
+
];
|
|
669
|
+
export var TagResource$ = [9, n0, _TR, 0, () => TagResourceRequest$, () => __Unit];
|
|
670
|
+
export var UntagResource$ = [9, n0, _UR, 0, () => UntagResourceRequest$, () => __Unit];
|
|
671
|
+
export var UpdateSecret$ = [
|
|
672
|
+
9,
|
|
673
|
+
n0,
|
|
674
|
+
_US,
|
|
675
|
+
0,
|
|
676
|
+
() => UpdateSecretRequest$,
|
|
677
|
+
() => UpdateSecretResponse$,
|
|
647
678
|
];
|
|
648
|
-
export var
|
|
649
|
-
export var UntagResource = [9, n0, _UR, 0, () => UntagResourceRequest, () => __Unit];
|
|
650
|
-
export var UpdateSecret = [9, n0, _US, 0, () => UpdateSecretRequest, () => UpdateSecretResponse];
|
|
651
|
-
export var UpdateSecretVersionStage = [
|
|
679
|
+
export var UpdateSecretVersionStage$ = [
|
|
652
680
|
9,
|
|
653
681
|
n0,
|
|
654
682
|
_USVS,
|
|
655
683
|
0,
|
|
656
|
-
() => UpdateSecretVersionStageRequest
|
|
657
|
-
() => UpdateSecretVersionStageResponse
|
|
684
|
+
() => UpdateSecretVersionStageRequest$,
|
|
685
|
+
() => UpdateSecretVersionStageResponse$,
|
|
658
686
|
];
|
|
659
|
-
export var ValidateResourcePolicy = [
|
|
687
|
+
export var ValidateResourcePolicy$ = [
|
|
660
688
|
9,
|
|
661
689
|
n0,
|
|
662
690
|
_VRP,
|
|
663
691
|
0,
|
|
664
|
-
() => ValidateResourcePolicyRequest
|
|
665
|
-
() => ValidateResourcePolicyResponse
|
|
692
|
+
() => ValidateResourcePolicyRequest$,
|
|
693
|
+
() => ValidateResourcePolicyResponse$,
|
|
666
694
|
];
|
|
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
5
5
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
-
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { BatchGetSecretValueCommandInput, BatchGetSecretValueCommandOutput } from "./commands/BatchGetSecretValueCommand";
|
|
11
11
|
import { CancelRotateSecretCommandInput, CancelRotateSecretCommandOutput } from "./commands/CancelRotateSecretCommand";
|
|
@@ -164,15 +164,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
164
164
|
* Optional extensions
|
|
165
165
|
*/
|
|
166
166
|
extensions?: RuntimeExtension[];
|
|
167
|
-
/**
|
|
168
|
-
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
169
|
-
* may be overridden. A default will always be set by the client.
|
|
170
|
-
* Available options depend on the service's supported protocols and will not be validated by
|
|
171
|
-
* the client.
|
|
172
|
-
* @alpha
|
|
173
|
-
*
|
|
174
|
-
*/
|
|
175
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
176
167
|
/**
|
|
177
168
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
178
169
|
*/
|
package/dist-types/index.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
34
34
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
35
35
|
export type { SecretsManagerExtensionConfiguration } from "./extensionConfiguration";
|
|
36
36
|
export * from "./commands";
|
|
37
|
+
export * from "./schemas/schemas_0";
|
|
37
38
|
export * from "./pagination";
|
|
38
39
|
export * from "./models/enums";
|
|
39
40
|
export * from "./models/errors";
|