@aws-sdk/client-secrets-manager 3.295.0 → 3.297.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 (30) hide show
  1. package/dist-types/SecretsManager.d.ts +23 -0
  2. package/dist-types/SecretsManagerClient.d.ts +24 -4
  3. package/dist-types/commands/CancelRotateSecretCommand.d.ts +16 -0
  4. package/dist-types/commands/CreateSecretCommand.d.ts +16 -0
  5. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +16 -0
  6. package/dist-types/commands/DeleteSecretCommand.d.ts +16 -0
  7. package/dist-types/commands/DescribeSecretCommand.d.ts +16 -0
  8. package/dist-types/commands/GetRandomPasswordCommand.d.ts +16 -0
  9. package/dist-types/commands/GetResourcePolicyCommand.d.ts +16 -0
  10. package/dist-types/commands/GetSecretValueCommand.d.ts +16 -0
  11. package/dist-types/commands/ListSecretVersionIdsCommand.d.ts +16 -0
  12. package/dist-types/commands/ListSecretsCommand.d.ts +16 -0
  13. package/dist-types/commands/PutResourcePolicyCommand.d.ts +16 -0
  14. package/dist-types/commands/PutSecretValueCommand.d.ts +16 -0
  15. package/dist-types/commands/RemoveRegionsFromReplicationCommand.d.ts +16 -0
  16. package/dist-types/commands/ReplicateSecretToRegionsCommand.d.ts +16 -0
  17. package/dist-types/commands/RestoreSecretCommand.d.ts +16 -0
  18. package/dist-types/commands/RotateSecretCommand.d.ts +16 -0
  19. package/dist-types/commands/StopReplicationToReplicaCommand.d.ts +16 -0
  20. package/dist-types/commands/TagResourceCommand.d.ts +16 -0
  21. package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
  22. package/dist-types/commands/UpdateSecretCommand.d.ts +16 -0
  23. package/dist-types/commands/UpdateSecretVersionStageCommand.d.ts +16 -0
  24. package/dist-types/commands/ValidateResourcePolicyCommand.d.ts +16 -0
  25. package/dist-types/models/SecretsManagerServiceException.d.ts +2 -0
  26. package/dist-types/models/models_0.d.ts +157 -2
  27. package/dist-types/pagination/Interfaces.d.ts +3 -0
  28. package/dist-types/pagination/ListSecretVersionIdsPaginator.d.ts +3 -0
  29. package/dist-types/pagination/ListSecretsPaginator.d.ts +3 -0
  30. package/package.json +29 -29
@@ -1,6 +1,7 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { SecretsManagerServiceException as __BaseException } from "./SecretsManagerServiceException";
3
3
  /**
4
+ * @public
4
5
  * <p>A custom type that specifies a <code>Region</code> and the <code>KmsKeyId</code> for a replica secret.</p>
5
6
  */
6
7
  export interface ReplicaRegionType {
@@ -13,6 +14,9 @@ export interface ReplicaRegionType {
13
14
  */
14
15
  KmsKeyId?: string;
15
16
  }
17
+ /**
18
+ * @public
19
+ */
16
20
  export interface CancelRotateSecretRequest {
17
21
  /**
18
22
  * <p>The ARN or name of the secret.</p>
@@ -21,6 +25,9 @@ export interface CancelRotateSecretRequest {
21
25
  */
22
26
  SecretId: string | undefined;
23
27
  }
28
+ /**
29
+ * @public
30
+ */
24
31
  export interface CancelRotateSecretResponse {
25
32
  /**
26
33
  * <p>The ARN of the secret.</p>
@@ -40,6 +47,7 @@ export interface CancelRotateSecretResponse {
40
47
  VersionId?: string;
41
48
  }
42
49
  /**
50
+ * @public
43
51
  * <p>An error occurred on the server side.</p>
44
52
  */
45
53
  export declare class InternalServiceError extends __BaseException {
@@ -52,6 +60,7 @@ export declare class InternalServiceError extends __BaseException {
52
60
  constructor(opts: __ExceptionOptionType<InternalServiceError, __BaseException>);
53
61
  }
54
62
  /**
63
+ * @public
55
64
  * <p>The parameter name or value is invalid.</p>
56
65
  */
57
66
  export declare class InvalidParameterException extends __BaseException {
@@ -64,6 +73,7 @@ export declare class InvalidParameterException extends __BaseException {
64
73
  constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
65
74
  }
66
75
  /**
76
+ * @public
67
77
  * <p>A parameter value is not valid for the current state of the
68
78
  * resource.</p>
69
79
  * <p>Possible causes:</p>
@@ -91,6 +101,7 @@ export declare class InvalidRequestException extends __BaseException {
91
101
  constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
92
102
  }
93
103
  /**
104
+ * @public
94
105
  * <p>Secrets Manager can't find the resource that you asked for.</p>
95
106
  */
96
107
  export declare class ResourceNotFoundException extends __BaseException {
@@ -103,6 +114,7 @@ export declare class ResourceNotFoundException extends __BaseException {
103
114
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
104
115
  }
105
116
  /**
117
+ * @public
106
118
  * <p>A structure that contains information about a tag.</p>
107
119
  */
108
120
  export interface Tag {
@@ -115,6 +127,9 @@ export interface Tag {
115
127
  */
116
128
  Value?: string;
117
129
  }
130
+ /**
131
+ * @public
132
+ */
118
133
  export interface CreateSecretRequest {
119
134
  /**
120
135
  * <p>The name of the new secret.</p>
@@ -201,7 +216,7 @@ export interface CreateSecretRequest {
201
216
  * <p>A list of tags to attach to the secret. Each tag
202
217
  * is a key and value pair of strings in a JSON text string, for example:</p>
203
218
  * <p>
204
- * <code>[{"Key":"CostCenter","Value":"12345"},{"Key":"environment","Value":"production"}]</code>
219
+ * <code>[\{"Key":"CostCenter","Value":"12345"\},\{"Key":"environment","Value":"production"\}]</code>
205
220
  * </p>
206
221
  * <p>Secrets Manager tag key names are case sensitive. A tag with the key "ABC" is a different tag
207
222
  * from one with key "abc".</p>
@@ -253,12 +268,16 @@ export interface CreateSecretRequest {
253
268
  */
254
269
  ForceOverwriteReplicaSecret?: boolean;
255
270
  }
271
+ /**
272
+ * @public
273
+ */
256
274
  export declare enum StatusType {
257
275
  Failed = "Failed",
258
276
  InProgress = "InProgress",
259
277
  InSync = "InSync"
260
278
  }
261
279
  /**
280
+ * @public
262
281
  * <p>A replication object consisting of a <code>RegionReplicationStatus</code> object and includes a Region, KMSKeyId, status, and status message.</p>
263
282
  */
264
283
  export interface ReplicationStatusType {
@@ -284,6 +303,9 @@ export interface ReplicationStatusType {
284
303
  */
285
304
  LastAccessedDate?: Date;
286
305
  }
306
+ /**
307
+ * @public
308
+ */
287
309
  export interface CreateSecretResponse {
288
310
  /**
289
311
  * <p>The ARN of the new secret. The ARN includes the name of the secret followed by six random
@@ -320,6 +342,7 @@ export interface CreateSecretResponse {
320
342
  ReplicationStatus?: ReplicationStatusType[];
321
343
  }
322
344
  /**
345
+ * @public
323
346
  * <p>Secrets Manager can't decrypt the protected secret text using the provided KMS key. </p>
324
347
  */
325
348
  export declare class DecryptionFailure extends __BaseException {
@@ -332,6 +355,7 @@ export declare class DecryptionFailure extends __BaseException {
332
355
  constructor(opts: __ExceptionOptionType<DecryptionFailure, __BaseException>);
333
356
  }
334
357
  /**
358
+ * @public
335
359
  * <p>Secrets Manager can't encrypt the protected secret text using the provided KMS key. Check that the
336
360
  * KMS key is available, enabled, and not in an invalid state. For more
337
361
  * information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">Key state: Effect on your KMS key</a>.</p>
@@ -346,6 +370,7 @@ export declare class EncryptionFailure extends __BaseException {
346
370
  constructor(opts: __ExceptionOptionType<EncryptionFailure, __BaseException>);
347
371
  }
348
372
  /**
373
+ * @public
349
374
  * <p>The request failed because it would exceed one of the Secrets Manager quotas.</p>
350
375
  */
351
376
  export declare class LimitExceededException extends __BaseException {
@@ -358,6 +383,7 @@ export declare class LimitExceededException extends __BaseException {
358
383
  constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
359
384
  }
360
385
  /**
386
+ * @public
361
387
  * <p>The resource policy has syntax errors.</p>
362
388
  */
363
389
  export declare class MalformedPolicyDocumentException extends __BaseException {
@@ -370,6 +396,7 @@ export declare class MalformedPolicyDocumentException extends __BaseException {
370
396
  constructor(opts: __ExceptionOptionType<MalformedPolicyDocumentException, __BaseException>);
371
397
  }
372
398
  /**
399
+ * @public
373
400
  * <p>The request failed because you did not complete all the prerequisite steps.</p>
374
401
  */
375
402
  export declare class PreconditionNotMetException extends __BaseException {
@@ -382,6 +409,7 @@ export declare class PreconditionNotMetException extends __BaseException {
382
409
  constructor(opts: __ExceptionOptionType<PreconditionNotMetException, __BaseException>);
383
410
  }
384
411
  /**
412
+ * @public
385
413
  * <p>A resource with the ID you requested already exists.</p>
386
414
  */
387
415
  export declare class ResourceExistsException extends __BaseException {
@@ -393,6 +421,9 @@ export declare class ResourceExistsException extends __BaseException {
393
421
  */
394
422
  constructor(opts: __ExceptionOptionType<ResourceExistsException, __BaseException>);
395
423
  }
424
+ /**
425
+ * @public
426
+ */
396
427
  export interface DeleteResourcePolicyRequest {
397
428
  /**
398
429
  * <p>The ARN or name of the secret to delete the attached resource-based policy for.</p>
@@ -401,6 +432,9 @@ export interface DeleteResourcePolicyRequest {
401
432
  */
402
433
  SecretId: string | undefined;
403
434
  }
435
+ /**
436
+ * @public
437
+ */
404
438
  export interface DeleteResourcePolicyResponse {
405
439
  /**
406
440
  * <p>The ARN of the secret that the resource-based policy was deleted for.</p>
@@ -411,6 +445,9 @@ export interface DeleteResourcePolicyResponse {
411
445
  */
412
446
  Name?: string;
413
447
  }
448
+ /**
449
+ * @public
450
+ */
414
451
  export interface DeleteSecretRequest {
415
452
  /**
416
453
  * <p>The ARN or name of the secret to delete.</p>
@@ -441,6 +478,9 @@ export interface DeleteSecretRequest {
441
478
  */
442
479
  ForceDeleteWithoutRecovery?: boolean;
443
480
  }
481
+ /**
482
+ * @public
483
+ */
444
484
  export interface DeleteSecretResponse {
445
485
  /**
446
486
  * <p>The ARN of the secret.</p>
@@ -457,6 +497,9 @@ export interface DeleteSecretResponse {
457
497
  */
458
498
  DeletionDate?: Date;
459
499
  }
500
+ /**
501
+ * @public
502
+ */
460
503
  export interface DescribeSecretRequest {
461
504
  /**
462
505
  * <p>The ARN or name of the secret. </p>
@@ -466,6 +509,7 @@ export interface DescribeSecretRequest {
466
509
  SecretId: string | undefined;
467
510
  }
468
511
  /**
512
+ * @public
469
513
  * <p>A structure that defines the rotation configuration for the secret.</p>
470
514
  */
471
515
  export interface RotationRulesType {
@@ -515,6 +559,9 @@ export interface RotationRulesType {
515
559
  */
516
560
  ScheduleExpression?: string;
517
561
  }
562
+ /**
563
+ * @public
564
+ */
518
565
  export interface DescribeSecretResponse {
519
566
  /**
520
567
  * <p>The ARN of the secret.</p>
@@ -641,6 +688,9 @@ export interface DescribeSecretResponse {
641
688
  */
642
689
  ReplicationStatus?: ReplicationStatusType[];
643
690
  }
691
+ /**
692
+ * @public
693
+ */
644
694
  export declare enum FilterNameStringType {
645
695
  all = "all",
646
696
  description = "description",
@@ -651,6 +701,7 @@ export declare enum FilterNameStringType {
651
701
  tag_value = "tag-value"
652
702
  }
653
703
  /**
704
+ * @public
654
705
  * <p>Allows you to add filters when you use the search function in Secrets Manager. For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_search-secret.html">Find secrets in Secrets Manager</a>.</p>
655
706
  */
656
707
  export interface Filter {
@@ -694,6 +745,9 @@ export interface Filter {
694
745
  */
695
746
  Values?: string[];
696
747
  }
748
+ /**
749
+ * @public
750
+ */
697
751
  export interface GetRandomPasswordRequest {
698
752
  /**
699
753
  * <p>The length of the password. If you don't include this parameter, the
@@ -711,7 +765,7 @@ export interface GetRandomPasswordRequest {
711
765
  ExcludeNumbers?: boolean;
712
766
  /**
713
767
  * <p>Specifies whether to exclude the following punctuation characters from the password:
714
- * <code>! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~</code>.
768
+ * <code>! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` \{ | \} ~</code>.
715
769
  * If you don't include this switch, the password can contain punctuation.</p>
716
770
  */
717
771
  ExcludePunctuation?: boolean;
@@ -736,12 +790,18 @@ export interface GetRandomPasswordRequest {
736
790
  */
737
791
  RequireEachIncludedType?: boolean;
738
792
  }
793
+ /**
794
+ * @public
795
+ */
739
796
  export interface GetRandomPasswordResponse {
740
797
  /**
741
798
  * <p>A string with the password.</p>
742
799
  */
743
800
  RandomPassword?: string;
744
801
  }
802
+ /**
803
+ * @public
804
+ */
745
805
  export interface GetResourcePolicyRequest {
746
806
  /**
747
807
  * <p>The ARN or name of the secret to retrieve the attached resource-based policy for.</p>
@@ -750,6 +810,9 @@ export interface GetResourcePolicyRequest {
750
810
  */
751
811
  SecretId: string | undefined;
752
812
  }
813
+ /**
814
+ * @public
815
+ */
753
816
  export interface GetResourcePolicyResponse {
754
817
  /**
755
818
  * <p>The ARN of the secret that the resource-based policy was retrieved for.</p>
@@ -766,6 +829,9 @@ export interface GetResourcePolicyResponse {
766
829
  */
767
830
  ResourcePolicy?: string;
768
831
  }
832
+ /**
833
+ * @public
834
+ */
769
835
  export interface GetSecretValueRequest {
770
836
  /**
771
837
  * <p>The ARN or name of the secret to retrieve.</p>
@@ -791,6 +857,9 @@ export interface GetSecretValueRequest {
791
857
  */
792
858
  VersionStage?: string;
793
859
  }
860
+ /**
861
+ * @public
862
+ */
794
863
  export interface GetSecretValueResponse {
795
864
  /**
796
865
  * <p>The ARN of the secret.</p>
@@ -834,6 +903,7 @@ export interface GetSecretValueResponse {
834
903
  CreatedDate?: Date;
835
904
  }
836
905
  /**
906
+ * @public
837
907
  * <p>The <code>NextToken</code> value is invalid.</p>
838
908
  */
839
909
  export declare class InvalidNextTokenException extends __BaseException {
@@ -845,10 +915,16 @@ export declare class InvalidNextTokenException extends __BaseException {
845
915
  */
846
916
  constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
847
917
  }
918
+ /**
919
+ * @public
920
+ */
848
921
  export declare enum SortOrderType {
849
922
  asc = "asc",
850
923
  desc = "desc"
851
924
  }
925
+ /**
926
+ * @public
927
+ */
852
928
  export interface ListSecretsRequest {
853
929
  /**
854
930
  * <p>Specifies whether to include secrets scheduled for deletion.</p>
@@ -877,6 +953,7 @@ export interface ListSecretsRequest {
877
953
  SortOrder?: SortOrderType | string;
878
954
  }
879
955
  /**
956
+ * @public
880
957
  * <p>A structure that contains the details about a secret. It does not include the encrypted
881
958
  * <code>SecretString</code> and <code>SecretBinary</code> values. To get those values, use
882
959
  * <a href="https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_GetSecretValue.html">GetSecretValue</a>
@@ -975,6 +1052,9 @@ export interface SecretListEntry {
975
1052
  */
976
1053
  PrimaryRegion?: string;
977
1054
  }
1055
+ /**
1056
+ * @public
1057
+ */
978
1058
  export interface ListSecretsResponse {
979
1059
  /**
980
1060
  * <p>A list of the secrets in the account.</p>
@@ -989,6 +1069,9 @@ export interface ListSecretsResponse {
989
1069
  */
990
1070
  NextToken?: string;
991
1071
  }
1072
+ /**
1073
+ * @public
1074
+ */
992
1075
  export interface ListSecretVersionIdsRequest {
993
1076
  /**
994
1077
  * <p>The ARN or name of the secret whose versions you want to list.</p>
@@ -1016,6 +1099,7 @@ export interface ListSecretVersionIdsRequest {
1016
1099
  IncludeDeprecated?: boolean;
1017
1100
  }
1018
1101
  /**
1102
+ * @public
1019
1103
  * <p>A structure that contains information about one version of a secret.</p>
1020
1104
  */
1021
1105
  export interface SecretVersionsListEntry {
@@ -1042,6 +1126,9 @@ export interface SecretVersionsListEntry {
1042
1126
  */
1043
1127
  KmsKeyIds?: string[];
1044
1128
  }
1129
+ /**
1130
+ * @public
1131
+ */
1045
1132
  export interface ListSecretVersionIdsResponse {
1046
1133
  /**
1047
1134
  * <p>A list of the versions of the secret.</p>
@@ -1064,6 +1151,7 @@ export interface ListSecretVersionIdsResponse {
1064
1151
  Name?: string;
1065
1152
  }
1066
1153
  /**
1154
+ * @public
1067
1155
  * <p>The <code>BlockPublicPolicy</code> parameter is set to true, and the resource policy did not prevent broad access to the secret.</p>
1068
1156
  */
1069
1157
  export declare class PublicPolicyException extends __BaseException {
@@ -1075,6 +1163,9 @@ export declare class PublicPolicyException extends __BaseException {
1075
1163
  */
1076
1164
  constructor(opts: __ExceptionOptionType<PublicPolicyException, __BaseException>);
1077
1165
  }
1166
+ /**
1167
+ * @public
1168
+ */
1078
1169
  export interface PutResourcePolicyRequest {
1079
1170
  /**
1080
1171
  * <p>The ARN or name of the secret to attach the resource-based policy.</p>
@@ -1093,6 +1184,9 @@ export interface PutResourcePolicyRequest {
1093
1184
  */
1094
1185
  BlockPublicPolicy?: boolean;
1095
1186
  }
1187
+ /**
1188
+ * @public
1189
+ */
1096
1190
  export interface PutResourcePolicyResponse {
1097
1191
  /**
1098
1192
  * <p>The ARN of the secret.</p>
@@ -1103,6 +1197,9 @@ export interface PutResourcePolicyResponse {
1103
1197
  */
1104
1198
  Name?: string;
1105
1199
  }
1200
+ /**
1201
+ * @public
1202
+ */
1106
1203
  export interface PutSecretValueRequest {
1107
1204
  /**
1108
1205
  * <p>The ARN or name of the secret to add a new version to.</p>
@@ -1173,6 +1270,9 @@ export interface PutSecretValueRequest {
1173
1270
  */
1174
1271
  VersionStages?: string[];
1175
1272
  }
1273
+ /**
1274
+ * @public
1275
+ */
1176
1276
  export interface PutSecretValueResponse {
1177
1277
  /**
1178
1278
  * <p>The ARN of the secret.</p>
@@ -1193,6 +1293,9 @@ export interface PutSecretValueResponse {
1193
1293
  */
1194
1294
  VersionStages?: string[];
1195
1295
  }
1296
+ /**
1297
+ * @public
1298
+ */
1196
1299
  export interface RemoveRegionsFromReplicationRequest {
1197
1300
  /**
1198
1301
  * <p>The ARN or name of the secret.</p>
@@ -1203,6 +1306,9 @@ export interface RemoveRegionsFromReplicationRequest {
1203
1306
  */
1204
1307
  RemoveReplicaRegions: string[] | undefined;
1205
1308
  }
1309
+ /**
1310
+ * @public
1311
+ */
1206
1312
  export interface RemoveRegionsFromReplicationResponse {
1207
1313
  /**
1208
1314
  * <p>The ARN of the primary secret.</p>
@@ -1213,6 +1319,9 @@ export interface RemoveRegionsFromReplicationResponse {
1213
1319
  */
1214
1320
  ReplicationStatus?: ReplicationStatusType[];
1215
1321
  }
1322
+ /**
1323
+ * @public
1324
+ */
1216
1325
  export interface ReplicateSecretToRegionsRequest {
1217
1326
  /**
1218
1327
  * <p>The ARN or name of the secret to replicate.</p>
@@ -1227,6 +1336,9 @@ export interface ReplicateSecretToRegionsRequest {
1227
1336
  */
1228
1337
  ForceOverwriteReplicaSecret?: boolean;
1229
1338
  }
1339
+ /**
1340
+ * @public
1341
+ */
1230
1342
  export interface ReplicateSecretToRegionsResponse {
1231
1343
  /**
1232
1344
  * <p>The ARN of the primary secret.</p>
@@ -1237,6 +1349,9 @@ export interface ReplicateSecretToRegionsResponse {
1237
1349
  */
1238
1350
  ReplicationStatus?: ReplicationStatusType[];
1239
1351
  }
1352
+ /**
1353
+ * @public
1354
+ */
1240
1355
  export interface RestoreSecretRequest {
1241
1356
  /**
1242
1357
  * <p>The ARN or name of the secret to restore.</p>
@@ -1245,6 +1360,9 @@ export interface RestoreSecretRequest {
1245
1360
  */
1246
1361
  SecretId: string | undefined;
1247
1362
  }
1363
+ /**
1364
+ * @public
1365
+ */
1248
1366
  export interface RestoreSecretResponse {
1249
1367
  /**
1250
1368
  * <p>The ARN of the secret that was restored.</p>
@@ -1255,6 +1373,9 @@ export interface RestoreSecretResponse {
1255
1373
  */
1256
1374
  Name?: string;
1257
1375
  }
1376
+ /**
1377
+ * @public
1378
+ */
1258
1379
  export interface RotateSecretRequest {
1259
1380
  /**
1260
1381
  * <p>The ARN or name of the secret to rotate.</p>
@@ -1298,6 +1419,9 @@ export interface RotateSecretRequest {
1298
1419
  */
1299
1420
  RotateImmediately?: boolean;
1300
1421
  }
1422
+ /**
1423
+ * @public
1424
+ */
1301
1425
  export interface RotateSecretResponse {
1302
1426
  /**
1303
1427
  * <p>The ARN of the secret.</p>
@@ -1312,18 +1436,27 @@ export interface RotateSecretResponse {
1312
1436
  */
1313
1437
  VersionId?: string;
1314
1438
  }
1439
+ /**
1440
+ * @public
1441
+ */
1315
1442
  export interface StopReplicationToReplicaRequest {
1316
1443
  /**
1317
1444
  * <p>The ARN of the primary secret. </p>
1318
1445
  */
1319
1446
  SecretId: string | undefined;
1320
1447
  }
1448
+ /**
1449
+ * @public
1450
+ */
1321
1451
  export interface StopReplicationToReplicaResponse {
1322
1452
  /**
1323
1453
  * <p>The ARN of the promoted secret. The ARN is the same as the original primary secret except the Region is changed.</p>
1324
1454
  */
1325
1455
  ARN?: string;
1326
1456
  }
1457
+ /**
1458
+ * @public
1459
+ */
1327
1460
  export interface TagResourceRequest {
1328
1461
  /**
1329
1462
  * <p>The identifier for the secret to attach tags to. You can specify either the
@@ -1341,6 +1474,9 @@ export interface TagResourceRequest {
1341
1474
  */
1342
1475
  Tags: Tag[] | undefined;
1343
1476
  }
1477
+ /**
1478
+ * @public
1479
+ */
1344
1480
  export interface UntagResourceRequest {
1345
1481
  /**
1346
1482
  * <p>The ARN or name of the secret.</p>
@@ -1358,6 +1494,9 @@ export interface UntagResourceRequest {
1358
1494
  */
1359
1495
  TagKeys: string[] | undefined;
1360
1496
  }
1497
+ /**
1498
+ * @public
1499
+ */
1361
1500
  export interface UpdateSecretRequest {
1362
1501
  /**
1363
1502
  * <p>The ARN or name of the secret.</p>
@@ -1423,6 +1562,9 @@ export interface UpdateSecretRequest {
1423
1562
  */
1424
1563
  SecretString?: string;
1425
1564
  }
1565
+ /**
1566
+ * @public
1567
+ */
1426
1568
  export interface UpdateSecretResponse {
1427
1569
  /**
1428
1570
  * <p>The ARN of the secret that was updated.</p>
@@ -1438,6 +1580,9 @@ export interface UpdateSecretResponse {
1438
1580
  */
1439
1581
  VersionId?: string;
1440
1582
  }
1583
+ /**
1584
+ * @public
1585
+ */
1441
1586
  export interface UpdateSecretVersionStageRequest {
1442
1587
  /**
1443
1588
  * <p>The ARN or the name of the secret with the version and staging labelsto modify.</p>
@@ -1465,6 +1610,9 @@ export interface UpdateSecretVersionStageRequest {
1465
1610
  */
1466
1611
  MoveToVersionId?: string;
1467
1612
  }
1613
+ /**
1614
+ * @public
1615
+ */
1468
1616
  export interface UpdateSecretVersionStageResponse {
1469
1617
  /**
1470
1618
  * <p>The ARN of the secret that was updated.</p>
@@ -1475,6 +1623,9 @@ export interface UpdateSecretVersionStageResponse {
1475
1623
  */
1476
1624
  Name?: string;
1477
1625
  }
1626
+ /**
1627
+ * @public
1628
+ */
1478
1629
  export interface ValidateResourcePolicyRequest {
1479
1630
  /**
1480
1631
  * <p>This field is reserved for internal use.</p>
@@ -1488,6 +1639,7 @@ export interface ValidateResourcePolicyRequest {
1488
1639
  ResourcePolicy: string | undefined;
1489
1640
  }
1490
1641
  /**
1642
+ * @public
1491
1643
  * <p>Displays errors that occurred during validation of the resource policy.</p>
1492
1644
  */
1493
1645
  export interface ValidationErrorsEntry {
@@ -1500,6 +1652,9 @@ export interface ValidationErrorsEntry {
1500
1652
  */
1501
1653
  ErrorMessage?: string;
1502
1654
  }
1655
+ /**
1656
+ * @public
1657
+ */
1503
1658
  export interface ValidateResourcePolicyResponse {
1504
1659
  /**
1505
1660
  * <p>True if your policy passes validation, otherwise false.</p>
@@ -1,5 +1,8 @@
1
1
  import { PaginationConfiguration } from "@aws-sdk/types";
2
2
  import { SecretsManagerClient } from "../SecretsManagerClient";
3
+ /**
4
+ * @public
5
+ */
3
6
  export interface SecretsManagerPaginationConfiguration extends PaginationConfiguration {
4
7
  client: SecretsManagerClient;
5
8
  }
@@ -1,4 +1,7 @@
1
1
  import { Paginator } from "@aws-sdk/types";
2
2
  import { ListSecretVersionIdsCommandInput, ListSecretVersionIdsCommandOutput } from "../commands/ListSecretVersionIdsCommand";
3
3
  import { SecretsManagerPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
4
7
  export declare function paginateListSecretVersionIds(config: SecretsManagerPaginationConfiguration, input: ListSecretVersionIdsCommandInput, ...additionalArguments: any): Paginator<ListSecretVersionIdsCommandOutput>;
@@ -1,4 +1,7 @@
1
1
  import { Paginator } from "@aws-sdk/types";
2
2
  import { ListSecretsCommandInput, ListSecretsCommandOutput } from "../commands/ListSecretsCommand";
3
3
  import { SecretsManagerPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
4
7
  export declare function paginateListSecrets(config: SecretsManagerPaginationConfiguration, input: ListSecretsCommandInput, ...additionalArguments: any): Paginator<ListSecretsCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-secrets-manager",
3
3
  "description": "AWS SDK for JavaScript Secrets Manager Client for Node.js, Browser and React Native",
4
- "version": "3.295.0",
4
+ "version": "3.297.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,37 +20,37 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.295.0",
24
- "@aws-sdk/config-resolver": "3.295.0",
25
- "@aws-sdk/credential-provider-node": "3.295.0",
26
- "@aws-sdk/fetch-http-handler": "3.295.0",
27
- "@aws-sdk/hash-node": "3.295.0",
28
- "@aws-sdk/invalid-dependency": "3.295.0",
29
- "@aws-sdk/middleware-content-length": "3.295.0",
30
- "@aws-sdk/middleware-endpoint": "3.295.0",
31
- "@aws-sdk/middleware-host-header": "3.295.0",
32
- "@aws-sdk/middleware-logger": "3.295.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.295.0",
34
- "@aws-sdk/middleware-retry": "3.295.0",
35
- "@aws-sdk/middleware-serde": "3.295.0",
36
- "@aws-sdk/middleware-signing": "3.295.0",
37
- "@aws-sdk/middleware-stack": "3.295.0",
38
- "@aws-sdk/middleware-user-agent": "3.295.0",
39
- "@aws-sdk/node-config-provider": "3.295.0",
40
- "@aws-sdk/node-http-handler": "3.295.0",
41
- "@aws-sdk/protocol-http": "3.295.0",
42
- "@aws-sdk/smithy-client": "3.295.0",
43
- "@aws-sdk/types": "3.295.0",
44
- "@aws-sdk/url-parser": "3.295.0",
23
+ "@aws-sdk/client-sts": "3.297.0",
24
+ "@aws-sdk/config-resolver": "3.296.0",
25
+ "@aws-sdk/credential-provider-node": "3.297.0",
26
+ "@aws-sdk/fetch-http-handler": "3.296.0",
27
+ "@aws-sdk/hash-node": "3.296.0",
28
+ "@aws-sdk/invalid-dependency": "3.296.0",
29
+ "@aws-sdk/middleware-content-length": "3.296.0",
30
+ "@aws-sdk/middleware-endpoint": "3.296.0",
31
+ "@aws-sdk/middleware-host-header": "3.296.0",
32
+ "@aws-sdk/middleware-logger": "3.296.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.296.0",
34
+ "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-serde": "3.296.0",
36
+ "@aws-sdk/middleware-signing": "3.296.0",
37
+ "@aws-sdk/middleware-stack": "3.296.0",
38
+ "@aws-sdk/middleware-user-agent": "3.296.0",
39
+ "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-http-handler": "3.296.0",
41
+ "@aws-sdk/protocol-http": "3.296.0",
42
+ "@aws-sdk/smithy-client": "3.296.0",
43
+ "@aws-sdk/types": "3.296.0",
44
+ "@aws-sdk/url-parser": "3.296.0",
45
45
  "@aws-sdk/util-base64": "3.295.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.295.0",
47
47
  "@aws-sdk/util-body-length-node": "3.295.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.295.0",
50
- "@aws-sdk/util-endpoints": "3.295.0",
51
- "@aws-sdk/util-retry": "3.295.0",
52
- "@aws-sdk/util-user-agent-browser": "3.295.0",
53
- "@aws-sdk/util-user-agent-node": "3.295.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.296.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.296.0",
50
+ "@aws-sdk/util-endpoints": "3.296.0",
51
+ "@aws-sdk/util-retry": "3.296.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.296.0",
53
+ "@aws-sdk/util-user-agent-node": "3.296.0",
54
54
  "@aws-sdk/util-utf8": "3.295.0",
55
55
  "tslib": "^2.5.0",
56
56
  "uuid": "^8.3.2"