@aws-sdk/client-secrets-manager 3.687.0 → 3.691.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-types/models/models_0.d.ts +184 -184
- package/dist-types/ts3.4/models/models_0.d.ts +184 -184
- package/package.json +7 -7
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { SecretsManagerServiceException as __BaseException } from "./SecretsManagerServiceException";
|
|
3
3
|
export interface ReplicaRegionType {
|
|
4
|
-
Region?: string;
|
|
5
|
-
KmsKeyId?: string;
|
|
4
|
+
Region?: string | undefined;
|
|
5
|
+
KmsKeyId?: string | undefined;
|
|
6
6
|
}
|
|
7
7
|
export interface APIErrorType {
|
|
8
|
-
SecretId?: string;
|
|
9
|
-
ErrorCode?: string;
|
|
10
|
-
Message?: string;
|
|
8
|
+
SecretId?: string | undefined;
|
|
9
|
+
ErrorCode?: string | undefined;
|
|
10
|
+
Message?: string | undefined;
|
|
11
11
|
}
|
|
12
12
|
export declare const FilterNameStringType: {
|
|
13
13
|
readonly all: "all";
|
|
@@ -21,39 +21,39 @@ export declare const FilterNameStringType: {
|
|
|
21
21
|
export type FilterNameStringType =
|
|
22
22
|
(typeof FilterNameStringType)[keyof typeof FilterNameStringType];
|
|
23
23
|
export interface Filter {
|
|
24
|
-
Key?: FilterNameStringType;
|
|
25
|
-
Values?: string[];
|
|
24
|
+
Key?: FilterNameStringType | undefined;
|
|
25
|
+
Values?: string[] | undefined;
|
|
26
26
|
}
|
|
27
27
|
export interface BatchGetSecretValueRequest {
|
|
28
|
-
SecretIdList?: string[];
|
|
29
|
-
Filters?: Filter[];
|
|
30
|
-
MaxResults?: number;
|
|
31
|
-
NextToken?: string;
|
|
28
|
+
SecretIdList?: string[] | undefined;
|
|
29
|
+
Filters?: Filter[] | undefined;
|
|
30
|
+
MaxResults?: number | undefined;
|
|
31
|
+
NextToken?: string | undefined;
|
|
32
32
|
}
|
|
33
33
|
export interface SecretValueEntry {
|
|
34
|
-
ARN?: string;
|
|
35
|
-
Name?: string;
|
|
36
|
-
VersionId?: string;
|
|
37
|
-
SecretBinary?: Uint8Array;
|
|
38
|
-
SecretString?: string;
|
|
39
|
-
VersionStages?: string[];
|
|
40
|
-
CreatedDate?: Date;
|
|
34
|
+
ARN?: string | undefined;
|
|
35
|
+
Name?: string | undefined;
|
|
36
|
+
VersionId?: string | undefined;
|
|
37
|
+
SecretBinary?: Uint8Array | undefined;
|
|
38
|
+
SecretString?: string | undefined;
|
|
39
|
+
VersionStages?: string[] | undefined;
|
|
40
|
+
CreatedDate?: Date | undefined;
|
|
41
41
|
}
|
|
42
42
|
export interface BatchGetSecretValueResponse {
|
|
43
|
-
SecretValues?: SecretValueEntry[];
|
|
44
|
-
NextToken?: string;
|
|
45
|
-
Errors?: APIErrorType[];
|
|
43
|
+
SecretValues?: SecretValueEntry[] | undefined;
|
|
44
|
+
NextToken?: string | undefined;
|
|
45
|
+
Errors?: APIErrorType[] | undefined;
|
|
46
46
|
}
|
|
47
47
|
export declare class DecryptionFailure extends __BaseException {
|
|
48
48
|
readonly name: "DecryptionFailure";
|
|
49
49
|
readonly $fault: "client";
|
|
50
|
-
Message?: string;
|
|
50
|
+
Message?: string | undefined;
|
|
51
51
|
constructor(opts: __ExceptionOptionType<DecryptionFailure, __BaseException>);
|
|
52
52
|
}
|
|
53
53
|
export declare class InternalServiceError extends __BaseException {
|
|
54
54
|
readonly name: "InternalServiceError";
|
|
55
55
|
readonly $fault: "server";
|
|
56
|
-
Message?: string;
|
|
56
|
+
Message?: string | undefined;
|
|
57
57
|
constructor(
|
|
58
58
|
opts: __ExceptionOptionType<InternalServiceError, __BaseException>
|
|
59
59
|
);
|
|
@@ -61,7 +61,7 @@ export declare class InternalServiceError extends __BaseException {
|
|
|
61
61
|
export declare class InvalidNextTokenException extends __BaseException {
|
|
62
62
|
readonly name: "InvalidNextTokenException";
|
|
63
63
|
readonly $fault: "client";
|
|
64
|
-
Message?: string;
|
|
64
|
+
Message?: string | undefined;
|
|
65
65
|
constructor(
|
|
66
66
|
opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
|
|
67
67
|
);
|
|
@@ -69,7 +69,7 @@ export declare class InvalidNextTokenException extends __BaseException {
|
|
|
69
69
|
export declare class InvalidParameterException extends __BaseException {
|
|
70
70
|
readonly name: "InvalidParameterException";
|
|
71
71
|
readonly $fault: "client";
|
|
72
|
-
Message?: string;
|
|
72
|
+
Message?: string | undefined;
|
|
73
73
|
constructor(
|
|
74
74
|
opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
|
|
75
75
|
);
|
|
@@ -77,7 +77,7 @@ export declare class InvalidParameterException extends __BaseException {
|
|
|
77
77
|
export declare class InvalidRequestException extends __BaseException {
|
|
78
78
|
readonly name: "InvalidRequestException";
|
|
79
79
|
readonly $fault: "client";
|
|
80
|
-
Message?: string;
|
|
80
|
+
Message?: string | undefined;
|
|
81
81
|
constructor(
|
|
82
82
|
opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
|
|
83
83
|
);
|
|
@@ -85,7 +85,7 @@ export declare class InvalidRequestException extends __BaseException {
|
|
|
85
85
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
86
86
|
readonly name: "ResourceNotFoundException";
|
|
87
87
|
readonly $fault: "client";
|
|
88
|
-
Message?: string;
|
|
88
|
+
Message?: string | undefined;
|
|
89
89
|
constructor(
|
|
90
90
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
91
91
|
);
|
|
@@ -94,24 +94,24 @@ export interface CancelRotateSecretRequest {
|
|
|
94
94
|
SecretId: string | undefined;
|
|
95
95
|
}
|
|
96
96
|
export interface CancelRotateSecretResponse {
|
|
97
|
-
ARN?: string;
|
|
98
|
-
Name?: string;
|
|
99
|
-
VersionId?: string;
|
|
97
|
+
ARN?: string | undefined;
|
|
98
|
+
Name?: string | undefined;
|
|
99
|
+
VersionId?: string | undefined;
|
|
100
100
|
}
|
|
101
101
|
export interface Tag {
|
|
102
|
-
Key?: string;
|
|
103
|
-
Value?: string;
|
|
102
|
+
Key?: string | undefined;
|
|
103
|
+
Value?: string | undefined;
|
|
104
104
|
}
|
|
105
105
|
export interface CreateSecretRequest {
|
|
106
106
|
Name: string | undefined;
|
|
107
|
-
ClientRequestToken?: string;
|
|
108
|
-
Description?: string;
|
|
109
|
-
KmsKeyId?: string;
|
|
110
|
-
SecretBinary?: Uint8Array;
|
|
111
|
-
SecretString?: string;
|
|
112
|
-
Tags?: Tag[];
|
|
113
|
-
AddReplicaRegions?: ReplicaRegionType[];
|
|
114
|
-
ForceOverwriteReplicaSecret?: boolean;
|
|
107
|
+
ClientRequestToken?: string | undefined;
|
|
108
|
+
Description?: string | undefined;
|
|
109
|
+
KmsKeyId?: string | undefined;
|
|
110
|
+
SecretBinary?: Uint8Array | undefined;
|
|
111
|
+
SecretString?: string | undefined;
|
|
112
|
+
Tags?: Tag[] | undefined;
|
|
113
|
+
AddReplicaRegions?: ReplicaRegionType[] | undefined;
|
|
114
|
+
ForceOverwriteReplicaSecret?: boolean | undefined;
|
|
115
115
|
}
|
|
116
116
|
export declare const StatusType: {
|
|
117
117
|
readonly Failed: "Failed";
|
|
@@ -120,28 +120,28 @@ export declare const StatusType: {
|
|
|
120
120
|
};
|
|
121
121
|
export type StatusType = (typeof StatusType)[keyof typeof StatusType];
|
|
122
122
|
export interface ReplicationStatusType {
|
|
123
|
-
Region?: string;
|
|
124
|
-
KmsKeyId?: string;
|
|
125
|
-
Status?: StatusType;
|
|
126
|
-
StatusMessage?: string;
|
|
127
|
-
LastAccessedDate?: Date;
|
|
123
|
+
Region?: string | undefined;
|
|
124
|
+
KmsKeyId?: string | undefined;
|
|
125
|
+
Status?: StatusType | undefined;
|
|
126
|
+
StatusMessage?: string | undefined;
|
|
127
|
+
LastAccessedDate?: Date | undefined;
|
|
128
128
|
}
|
|
129
129
|
export interface CreateSecretResponse {
|
|
130
|
-
ARN?: string;
|
|
131
|
-
Name?: string;
|
|
132
|
-
VersionId?: string;
|
|
133
|
-
ReplicationStatus?: ReplicationStatusType[];
|
|
130
|
+
ARN?: string | undefined;
|
|
131
|
+
Name?: string | undefined;
|
|
132
|
+
VersionId?: string | undefined;
|
|
133
|
+
ReplicationStatus?: ReplicationStatusType[] | undefined;
|
|
134
134
|
}
|
|
135
135
|
export declare class EncryptionFailure extends __BaseException {
|
|
136
136
|
readonly name: "EncryptionFailure";
|
|
137
137
|
readonly $fault: "client";
|
|
138
|
-
Message?: string;
|
|
138
|
+
Message?: string | undefined;
|
|
139
139
|
constructor(opts: __ExceptionOptionType<EncryptionFailure, __BaseException>);
|
|
140
140
|
}
|
|
141
141
|
export declare class LimitExceededException extends __BaseException {
|
|
142
142
|
readonly name: "LimitExceededException";
|
|
143
143
|
readonly $fault: "client";
|
|
144
|
-
Message?: string;
|
|
144
|
+
Message?: string | undefined;
|
|
145
145
|
constructor(
|
|
146
146
|
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
147
147
|
);
|
|
@@ -149,7 +149,7 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
149
149
|
export declare class MalformedPolicyDocumentException extends __BaseException {
|
|
150
150
|
readonly name: "MalformedPolicyDocumentException";
|
|
151
151
|
readonly $fault: "client";
|
|
152
|
-
Message?: string;
|
|
152
|
+
Message?: string | undefined;
|
|
153
153
|
constructor(
|
|
154
154
|
opts: __ExceptionOptionType<
|
|
155
155
|
MalformedPolicyDocumentException,
|
|
@@ -160,7 +160,7 @@ export declare class MalformedPolicyDocumentException extends __BaseException {
|
|
|
160
160
|
export declare class PreconditionNotMetException extends __BaseException {
|
|
161
161
|
readonly name: "PreconditionNotMetException";
|
|
162
162
|
readonly $fault: "client";
|
|
163
|
-
Message?: string;
|
|
163
|
+
Message?: string | undefined;
|
|
164
164
|
constructor(
|
|
165
165
|
opts: __ExceptionOptionType<PreconditionNotMetException, __BaseException>
|
|
166
166
|
);
|
|
@@ -168,7 +168,7 @@ export declare class PreconditionNotMetException extends __BaseException {
|
|
|
168
168
|
export declare class ResourceExistsException extends __BaseException {
|
|
169
169
|
readonly name: "ResourceExistsException";
|
|
170
170
|
readonly $fault: "client";
|
|
171
|
-
Message?: string;
|
|
171
|
+
Message?: string | undefined;
|
|
172
172
|
constructor(
|
|
173
173
|
opts: __ExceptionOptionType<ResourceExistsException, __BaseException>
|
|
174
174
|
);
|
|
@@ -177,81 +177,81 @@ export interface DeleteResourcePolicyRequest {
|
|
|
177
177
|
SecretId: string | undefined;
|
|
178
178
|
}
|
|
179
179
|
export interface DeleteResourcePolicyResponse {
|
|
180
|
-
ARN?: string;
|
|
181
|
-
Name?: string;
|
|
180
|
+
ARN?: string | undefined;
|
|
181
|
+
Name?: string | undefined;
|
|
182
182
|
}
|
|
183
183
|
export interface DeleteSecretRequest {
|
|
184
184
|
SecretId: string | undefined;
|
|
185
|
-
RecoveryWindowInDays?: number;
|
|
186
|
-
ForceDeleteWithoutRecovery?: boolean;
|
|
185
|
+
RecoveryWindowInDays?: number | undefined;
|
|
186
|
+
ForceDeleteWithoutRecovery?: boolean | undefined;
|
|
187
187
|
}
|
|
188
188
|
export interface DeleteSecretResponse {
|
|
189
|
-
ARN?: string;
|
|
190
|
-
Name?: string;
|
|
191
|
-
DeletionDate?: Date;
|
|
189
|
+
ARN?: string | undefined;
|
|
190
|
+
Name?: string | undefined;
|
|
191
|
+
DeletionDate?: Date | undefined;
|
|
192
192
|
}
|
|
193
193
|
export interface DescribeSecretRequest {
|
|
194
194
|
SecretId: string | undefined;
|
|
195
195
|
}
|
|
196
196
|
export interface RotationRulesType {
|
|
197
|
-
AutomaticallyAfterDays?: number;
|
|
198
|
-
Duration?: string;
|
|
199
|
-
ScheduleExpression?: string;
|
|
197
|
+
AutomaticallyAfterDays?: number | undefined;
|
|
198
|
+
Duration?: string | undefined;
|
|
199
|
+
ScheduleExpression?: string | undefined;
|
|
200
200
|
}
|
|
201
201
|
export interface DescribeSecretResponse {
|
|
202
|
-
ARN?: string;
|
|
203
|
-
Name?: string;
|
|
204
|
-
Description?: string;
|
|
205
|
-
KmsKeyId?: string;
|
|
206
|
-
RotationEnabled?: boolean;
|
|
207
|
-
RotationLambdaARN?: string;
|
|
208
|
-
RotationRules?: RotationRulesType;
|
|
209
|
-
LastRotatedDate?: Date;
|
|
210
|
-
LastChangedDate?: Date;
|
|
211
|
-
LastAccessedDate?: Date;
|
|
212
|
-
DeletedDate?: Date;
|
|
213
|
-
NextRotationDate?: Date;
|
|
214
|
-
Tags?: Tag[];
|
|
215
|
-
VersionIdsToStages?: Record<string, string[]
|
|
216
|
-
OwningService?: string;
|
|
217
|
-
CreatedDate?: Date;
|
|
218
|
-
PrimaryRegion?: string;
|
|
219
|
-
ReplicationStatus?: ReplicationStatusType[];
|
|
202
|
+
ARN?: string | undefined;
|
|
203
|
+
Name?: string | undefined;
|
|
204
|
+
Description?: string | undefined;
|
|
205
|
+
KmsKeyId?: string | undefined;
|
|
206
|
+
RotationEnabled?: boolean | undefined;
|
|
207
|
+
RotationLambdaARN?: string | undefined;
|
|
208
|
+
RotationRules?: RotationRulesType | undefined;
|
|
209
|
+
LastRotatedDate?: Date | undefined;
|
|
210
|
+
LastChangedDate?: Date | undefined;
|
|
211
|
+
LastAccessedDate?: Date | undefined;
|
|
212
|
+
DeletedDate?: Date | undefined;
|
|
213
|
+
NextRotationDate?: Date | undefined;
|
|
214
|
+
Tags?: Tag[] | undefined;
|
|
215
|
+
VersionIdsToStages?: Record<string, string[]> | undefined;
|
|
216
|
+
OwningService?: string | undefined;
|
|
217
|
+
CreatedDate?: Date | undefined;
|
|
218
|
+
PrimaryRegion?: string | undefined;
|
|
219
|
+
ReplicationStatus?: ReplicationStatusType[] | undefined;
|
|
220
220
|
}
|
|
221
221
|
export interface GetRandomPasswordRequest {
|
|
222
|
-
PasswordLength?: number;
|
|
223
|
-
ExcludeCharacters?: string;
|
|
224
|
-
ExcludeNumbers?: boolean;
|
|
225
|
-
ExcludePunctuation?: boolean;
|
|
226
|
-
ExcludeUppercase?: boolean;
|
|
227
|
-
ExcludeLowercase?: boolean;
|
|
228
|
-
IncludeSpace?: boolean;
|
|
229
|
-
RequireEachIncludedType?: boolean;
|
|
222
|
+
PasswordLength?: number | undefined;
|
|
223
|
+
ExcludeCharacters?: string | undefined;
|
|
224
|
+
ExcludeNumbers?: boolean | undefined;
|
|
225
|
+
ExcludePunctuation?: boolean | undefined;
|
|
226
|
+
ExcludeUppercase?: boolean | undefined;
|
|
227
|
+
ExcludeLowercase?: boolean | undefined;
|
|
228
|
+
IncludeSpace?: boolean | undefined;
|
|
229
|
+
RequireEachIncludedType?: boolean | undefined;
|
|
230
230
|
}
|
|
231
231
|
export interface GetRandomPasswordResponse {
|
|
232
|
-
RandomPassword?: string;
|
|
232
|
+
RandomPassword?: string | undefined;
|
|
233
233
|
}
|
|
234
234
|
export interface GetResourcePolicyRequest {
|
|
235
235
|
SecretId: string | undefined;
|
|
236
236
|
}
|
|
237
237
|
export interface GetResourcePolicyResponse {
|
|
238
|
-
ARN?: string;
|
|
239
|
-
Name?: string;
|
|
240
|
-
ResourcePolicy?: string;
|
|
238
|
+
ARN?: string | undefined;
|
|
239
|
+
Name?: string | undefined;
|
|
240
|
+
ResourcePolicy?: string | undefined;
|
|
241
241
|
}
|
|
242
242
|
export interface GetSecretValueRequest {
|
|
243
243
|
SecretId: string | undefined;
|
|
244
|
-
VersionId?: string;
|
|
245
|
-
VersionStage?: string;
|
|
244
|
+
VersionId?: string | undefined;
|
|
245
|
+
VersionStage?: string | undefined;
|
|
246
246
|
}
|
|
247
247
|
export interface GetSecretValueResponse {
|
|
248
|
-
ARN?: string;
|
|
249
|
-
Name?: string;
|
|
250
|
-
VersionId?: string;
|
|
251
|
-
SecretBinary?: Uint8Array;
|
|
252
|
-
SecretString?: string;
|
|
253
|
-
VersionStages?: string[];
|
|
254
|
-
CreatedDate?: Date;
|
|
248
|
+
ARN?: string | undefined;
|
|
249
|
+
Name?: string | undefined;
|
|
250
|
+
VersionId?: string | undefined;
|
|
251
|
+
SecretBinary?: Uint8Array | undefined;
|
|
252
|
+
SecretString?: string | undefined;
|
|
253
|
+
VersionStages?: string[] | undefined;
|
|
254
|
+
CreatedDate?: Date | undefined;
|
|
255
255
|
}
|
|
256
256
|
export declare const SortOrderType: {
|
|
257
257
|
readonly asc: "asc";
|
|
@@ -259,58 +259,58 @@ export declare const SortOrderType: {
|
|
|
259
259
|
};
|
|
260
260
|
export type SortOrderType = (typeof SortOrderType)[keyof typeof SortOrderType];
|
|
261
261
|
export interface ListSecretsRequest {
|
|
262
|
-
IncludePlannedDeletion?: boolean;
|
|
263
|
-
MaxResults?: number;
|
|
264
|
-
NextToken?: string;
|
|
265
|
-
Filters?: Filter[];
|
|
266
|
-
SortOrder?: SortOrderType;
|
|
262
|
+
IncludePlannedDeletion?: boolean | undefined;
|
|
263
|
+
MaxResults?: number | undefined;
|
|
264
|
+
NextToken?: string | undefined;
|
|
265
|
+
Filters?: Filter[] | undefined;
|
|
266
|
+
SortOrder?: SortOrderType | undefined;
|
|
267
267
|
}
|
|
268
268
|
export interface SecretListEntry {
|
|
269
|
-
ARN?: string;
|
|
270
|
-
Name?: string;
|
|
271
|
-
Description?: string;
|
|
272
|
-
KmsKeyId?: string;
|
|
273
|
-
RotationEnabled?: boolean;
|
|
274
|
-
RotationLambdaARN?: string;
|
|
275
|
-
RotationRules?: RotationRulesType;
|
|
276
|
-
LastRotatedDate?: Date;
|
|
277
|
-
LastChangedDate?: Date;
|
|
278
|
-
LastAccessedDate?: Date;
|
|
279
|
-
DeletedDate?: Date;
|
|
280
|
-
NextRotationDate?: Date;
|
|
281
|
-
Tags?: Tag[];
|
|
282
|
-
SecretVersionsToStages?: Record<string, string[]
|
|
283
|
-
OwningService?: string;
|
|
284
|
-
CreatedDate?: Date;
|
|
285
|
-
PrimaryRegion?: string;
|
|
269
|
+
ARN?: string | undefined;
|
|
270
|
+
Name?: string | undefined;
|
|
271
|
+
Description?: string | undefined;
|
|
272
|
+
KmsKeyId?: string | undefined;
|
|
273
|
+
RotationEnabled?: boolean | undefined;
|
|
274
|
+
RotationLambdaARN?: string | undefined;
|
|
275
|
+
RotationRules?: RotationRulesType | undefined;
|
|
276
|
+
LastRotatedDate?: Date | undefined;
|
|
277
|
+
LastChangedDate?: Date | undefined;
|
|
278
|
+
LastAccessedDate?: Date | undefined;
|
|
279
|
+
DeletedDate?: Date | undefined;
|
|
280
|
+
NextRotationDate?: Date | undefined;
|
|
281
|
+
Tags?: Tag[] | undefined;
|
|
282
|
+
SecretVersionsToStages?: Record<string, string[]> | undefined;
|
|
283
|
+
OwningService?: string | undefined;
|
|
284
|
+
CreatedDate?: Date | undefined;
|
|
285
|
+
PrimaryRegion?: string | undefined;
|
|
286
286
|
}
|
|
287
287
|
export interface ListSecretsResponse {
|
|
288
|
-
SecretList?: SecretListEntry[];
|
|
289
|
-
NextToken?: string;
|
|
288
|
+
SecretList?: SecretListEntry[] | undefined;
|
|
289
|
+
NextToken?: string | undefined;
|
|
290
290
|
}
|
|
291
291
|
export interface ListSecretVersionIdsRequest {
|
|
292
292
|
SecretId: string | undefined;
|
|
293
|
-
MaxResults?: number;
|
|
294
|
-
NextToken?: string;
|
|
295
|
-
IncludeDeprecated?: boolean;
|
|
293
|
+
MaxResults?: number | undefined;
|
|
294
|
+
NextToken?: string | undefined;
|
|
295
|
+
IncludeDeprecated?: boolean | undefined;
|
|
296
296
|
}
|
|
297
297
|
export interface SecretVersionsListEntry {
|
|
298
|
-
VersionId?: string;
|
|
299
|
-
VersionStages?: string[];
|
|
300
|
-
LastAccessedDate?: Date;
|
|
301
|
-
CreatedDate?: Date;
|
|
302
|
-
KmsKeyIds?: string[];
|
|
298
|
+
VersionId?: string | undefined;
|
|
299
|
+
VersionStages?: string[] | undefined;
|
|
300
|
+
LastAccessedDate?: Date | undefined;
|
|
301
|
+
CreatedDate?: Date | undefined;
|
|
302
|
+
KmsKeyIds?: string[] | undefined;
|
|
303
303
|
}
|
|
304
304
|
export interface ListSecretVersionIdsResponse {
|
|
305
|
-
Versions?: SecretVersionsListEntry[];
|
|
306
|
-
NextToken?: string;
|
|
307
|
-
ARN?: string;
|
|
308
|
-
Name?: string;
|
|
305
|
+
Versions?: SecretVersionsListEntry[] | undefined;
|
|
306
|
+
NextToken?: string | undefined;
|
|
307
|
+
ARN?: string | undefined;
|
|
308
|
+
Name?: string | undefined;
|
|
309
309
|
}
|
|
310
310
|
export declare class PublicPolicyException extends __BaseException {
|
|
311
311
|
readonly name: "PublicPolicyException";
|
|
312
312
|
readonly $fault: "client";
|
|
313
|
-
Message?: string;
|
|
313
|
+
Message?: string | undefined;
|
|
314
314
|
constructor(
|
|
315
315
|
opts: __ExceptionOptionType<PublicPolicyException, __BaseException>
|
|
316
316
|
);
|
|
@@ -318,67 +318,67 @@ export declare class PublicPolicyException extends __BaseException {
|
|
|
318
318
|
export interface PutResourcePolicyRequest {
|
|
319
319
|
SecretId: string | undefined;
|
|
320
320
|
ResourcePolicy: string | undefined;
|
|
321
|
-
BlockPublicPolicy?: boolean;
|
|
321
|
+
BlockPublicPolicy?: boolean | undefined;
|
|
322
322
|
}
|
|
323
323
|
export interface PutResourcePolicyResponse {
|
|
324
|
-
ARN?: string;
|
|
325
|
-
Name?: string;
|
|
324
|
+
ARN?: string | undefined;
|
|
325
|
+
Name?: string | undefined;
|
|
326
326
|
}
|
|
327
327
|
export interface PutSecretValueRequest {
|
|
328
328
|
SecretId: string | undefined;
|
|
329
|
-
ClientRequestToken?: string;
|
|
330
|
-
SecretBinary?: Uint8Array;
|
|
331
|
-
SecretString?: string;
|
|
332
|
-
VersionStages?: string[];
|
|
333
|
-
RotationToken?: string;
|
|
329
|
+
ClientRequestToken?: string | undefined;
|
|
330
|
+
SecretBinary?: Uint8Array | undefined;
|
|
331
|
+
SecretString?: string | undefined;
|
|
332
|
+
VersionStages?: string[] | undefined;
|
|
333
|
+
RotationToken?: string | undefined;
|
|
334
334
|
}
|
|
335
335
|
export interface PutSecretValueResponse {
|
|
336
|
-
ARN?: string;
|
|
337
|
-
Name?: string;
|
|
338
|
-
VersionId?: string;
|
|
339
|
-
VersionStages?: string[];
|
|
336
|
+
ARN?: string | undefined;
|
|
337
|
+
Name?: string | undefined;
|
|
338
|
+
VersionId?: string | undefined;
|
|
339
|
+
VersionStages?: string[] | undefined;
|
|
340
340
|
}
|
|
341
341
|
export interface RemoveRegionsFromReplicationRequest {
|
|
342
342
|
SecretId: string | undefined;
|
|
343
343
|
RemoveReplicaRegions: string[] | undefined;
|
|
344
344
|
}
|
|
345
345
|
export interface RemoveRegionsFromReplicationResponse {
|
|
346
|
-
ARN?: string;
|
|
347
|
-
ReplicationStatus?: ReplicationStatusType[];
|
|
346
|
+
ARN?: string | undefined;
|
|
347
|
+
ReplicationStatus?: ReplicationStatusType[] | undefined;
|
|
348
348
|
}
|
|
349
349
|
export interface ReplicateSecretToRegionsRequest {
|
|
350
350
|
SecretId: string | undefined;
|
|
351
351
|
AddReplicaRegions: ReplicaRegionType[] | undefined;
|
|
352
|
-
ForceOverwriteReplicaSecret?: boolean;
|
|
352
|
+
ForceOverwriteReplicaSecret?: boolean | undefined;
|
|
353
353
|
}
|
|
354
354
|
export interface ReplicateSecretToRegionsResponse {
|
|
355
|
-
ARN?: string;
|
|
356
|
-
ReplicationStatus?: ReplicationStatusType[];
|
|
355
|
+
ARN?: string | undefined;
|
|
356
|
+
ReplicationStatus?: ReplicationStatusType[] | undefined;
|
|
357
357
|
}
|
|
358
358
|
export interface RestoreSecretRequest {
|
|
359
359
|
SecretId: string | undefined;
|
|
360
360
|
}
|
|
361
361
|
export interface RestoreSecretResponse {
|
|
362
|
-
ARN?: string;
|
|
363
|
-
Name?: string;
|
|
362
|
+
ARN?: string | undefined;
|
|
363
|
+
Name?: string | undefined;
|
|
364
364
|
}
|
|
365
365
|
export interface RotateSecretRequest {
|
|
366
366
|
SecretId: string | undefined;
|
|
367
|
-
ClientRequestToken?: string;
|
|
368
|
-
RotationLambdaARN?: string;
|
|
369
|
-
RotationRules?: RotationRulesType;
|
|
370
|
-
RotateImmediately?: boolean;
|
|
367
|
+
ClientRequestToken?: string | undefined;
|
|
368
|
+
RotationLambdaARN?: string | undefined;
|
|
369
|
+
RotationRules?: RotationRulesType | undefined;
|
|
370
|
+
RotateImmediately?: boolean | undefined;
|
|
371
371
|
}
|
|
372
372
|
export interface RotateSecretResponse {
|
|
373
|
-
ARN?: string;
|
|
374
|
-
Name?: string;
|
|
375
|
-
VersionId?: string;
|
|
373
|
+
ARN?: string | undefined;
|
|
374
|
+
Name?: string | undefined;
|
|
375
|
+
VersionId?: string | undefined;
|
|
376
376
|
}
|
|
377
377
|
export interface StopReplicationToReplicaRequest {
|
|
378
378
|
SecretId: string | undefined;
|
|
379
379
|
}
|
|
380
380
|
export interface StopReplicationToReplicaResponse {
|
|
381
|
-
ARN?: string;
|
|
381
|
+
ARN?: string | undefined;
|
|
382
382
|
}
|
|
383
383
|
export interface TagResourceRequest {
|
|
384
384
|
SecretId: string | undefined;
|
|
@@ -390,38 +390,38 @@ export interface UntagResourceRequest {
|
|
|
390
390
|
}
|
|
391
391
|
export interface UpdateSecretRequest {
|
|
392
392
|
SecretId: string | undefined;
|
|
393
|
-
ClientRequestToken?: string;
|
|
394
|
-
Description?: string;
|
|
395
|
-
KmsKeyId?: string;
|
|
396
|
-
SecretBinary?: Uint8Array;
|
|
397
|
-
SecretString?: string;
|
|
393
|
+
ClientRequestToken?: string | undefined;
|
|
394
|
+
Description?: string | undefined;
|
|
395
|
+
KmsKeyId?: string | undefined;
|
|
396
|
+
SecretBinary?: Uint8Array | undefined;
|
|
397
|
+
SecretString?: string | undefined;
|
|
398
398
|
}
|
|
399
399
|
export interface UpdateSecretResponse {
|
|
400
|
-
ARN?: string;
|
|
401
|
-
Name?: string;
|
|
402
|
-
VersionId?: string;
|
|
400
|
+
ARN?: string | undefined;
|
|
401
|
+
Name?: string | undefined;
|
|
402
|
+
VersionId?: string | undefined;
|
|
403
403
|
}
|
|
404
404
|
export interface UpdateSecretVersionStageRequest {
|
|
405
405
|
SecretId: string | undefined;
|
|
406
406
|
VersionStage: string | undefined;
|
|
407
|
-
RemoveFromVersionId?: string;
|
|
408
|
-
MoveToVersionId?: string;
|
|
407
|
+
RemoveFromVersionId?: string | undefined;
|
|
408
|
+
MoveToVersionId?: string | undefined;
|
|
409
409
|
}
|
|
410
410
|
export interface UpdateSecretVersionStageResponse {
|
|
411
|
-
ARN?: string;
|
|
412
|
-
Name?: string;
|
|
411
|
+
ARN?: string | undefined;
|
|
412
|
+
Name?: string | undefined;
|
|
413
413
|
}
|
|
414
414
|
export interface ValidateResourcePolicyRequest {
|
|
415
|
-
SecretId?: string;
|
|
415
|
+
SecretId?: string | undefined;
|
|
416
416
|
ResourcePolicy: string | undefined;
|
|
417
417
|
}
|
|
418
418
|
export interface ValidationErrorsEntry {
|
|
419
|
-
CheckName?: string;
|
|
420
|
-
ErrorMessage?: string;
|
|
419
|
+
CheckName?: string | undefined;
|
|
420
|
+
ErrorMessage?: string | undefined;
|
|
421
421
|
}
|
|
422
422
|
export interface ValidateResourcePolicyResponse {
|
|
423
|
-
PolicyValidationPassed?: boolean;
|
|
424
|
-
ValidationErrors?: ValidationErrorsEntry[];
|
|
423
|
+
PolicyValidationPassed?: boolean | undefined;
|
|
424
|
+
ValidationErrors?: ValidationErrorsEntry[] | undefined;
|
|
425
425
|
}
|
|
426
426
|
export declare const SecretValueEntryFilterSensitiveLog: (
|
|
427
427
|
obj: SecretValueEntry
|
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.
|
|
4
|
+
"version": "3.691.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-secrets-manager",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.691.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.691.0",
|
|
25
|
+
"@aws-sdk/core": "3.691.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.691.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.686.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.686.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.686.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.691.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.686.0",
|
|
32
32
|
"@aws-sdk/types": "3.686.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.686.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.686.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.691.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.10",
|
|
37
37
|
"@smithy/core": "^2.5.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^4.0.0",
|