@aws-sdk/client-secrets-manager 3.451.0 → 3.458.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/README.md +30 -22
- package/dist-cjs/SecretsManager.js +2 -0
- package/dist-cjs/commands/BatchGetSecretValueCommand.js +52 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +49 -38
- package/dist-cjs/pagination/BatchGetSecretValuePaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +82 -1
- package/dist-es/SecretsManager.js +2 -0
- package/dist-es/commands/BatchGetSecretValueCommand.js +48 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +44 -35
- package/dist-es/pagination/BatchGetSecretValuePaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +79 -0
- package/dist-types/SecretsManager.d.ts +7 -0
- package/dist-types/SecretsManagerClient.d.ts +3 -2
- package/dist-types/commands/BatchGetSecretValueCommand.d.ts +147 -0
- package/dist-types/commands/GetSecretValueCommand.d.ts +1 -0
- package/dist-types/commands/ListSecretsCommand.d.ts +1 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +232 -106
- package/dist-types/pagination/BatchGetSecretValuePaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/SecretsManager.d.ts +17 -0
- package/dist-types/ts3.4/SecretsManagerClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/BatchGetSecretValueCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +63 -32
- package/dist-types/ts3.4/pagination/BatchGetSecretValuePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/package.json +3 -3
|
@@ -18,39 +18,201 @@ export interface ReplicaRegionType {
|
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
20
|
* @public
|
|
21
|
+
* <p>The error Secrets Manager encountered while retrieving an individual secret as part of <a>BatchGetSecretValue</a>.</p>
|
|
21
22
|
*/
|
|
22
|
-
export interface
|
|
23
|
+
export interface APIErrorType {
|
|
23
24
|
/**
|
|
24
25
|
* @public
|
|
25
26
|
* <p>The ARN or name of the secret.</p>
|
|
26
|
-
* <p>For an ARN, we recommend that you specify a complete ARN rather
|
|
27
|
-
* than a partial ARN. See <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen">Finding a secret from a partial ARN</a>.</p>
|
|
28
27
|
*/
|
|
29
|
-
SecretId
|
|
28
|
+
SecretId?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
* <p>The error Secrets Manager encountered while retrieving an individual secret as part of <a>BatchGetSecretValue</a>, for example <code>ResourceNotFoundException</code>,<code>InvalidParameterException</code>, <code>InvalidRequestException</code>, <code>DecryptionFailure</code>, or <code>AccessDeniedException</code>.</p>
|
|
32
|
+
*/
|
|
33
|
+
ErrorCode?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
* <p>A message describing the error.</p>
|
|
37
|
+
*/
|
|
38
|
+
Message?: string;
|
|
30
39
|
}
|
|
31
40
|
/**
|
|
32
41
|
* @public
|
|
42
|
+
* @enum
|
|
33
43
|
*/
|
|
34
|
-
export
|
|
44
|
+
export declare const FilterNameStringType: {
|
|
45
|
+
readonly all: "all";
|
|
46
|
+
readonly description: "description";
|
|
47
|
+
readonly name: "name";
|
|
48
|
+
readonly owning_service: "owning-service";
|
|
49
|
+
readonly primary_region: "primary-region";
|
|
50
|
+
readonly tag_key: "tag-key";
|
|
51
|
+
readonly tag_value: "tag-value";
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
export type FilterNameStringType = (typeof FilterNameStringType)[keyof typeof FilterNameStringType];
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
* <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>
|
|
60
|
+
*/
|
|
61
|
+
export interface Filter {
|
|
35
62
|
/**
|
|
36
63
|
* @public
|
|
37
|
-
* <p>The
|
|
64
|
+
* <p>The following are keys you can use:</p>
|
|
65
|
+
* <ul>
|
|
66
|
+
* <li>
|
|
67
|
+
* <p>
|
|
68
|
+
* <b>description</b>: Prefix match, not case-sensitive.</p>
|
|
69
|
+
* </li>
|
|
70
|
+
* <li>
|
|
71
|
+
* <p>
|
|
72
|
+
* <b>name</b>: Prefix match, case-sensitive.</p>
|
|
73
|
+
* </li>
|
|
74
|
+
* <li>
|
|
75
|
+
* <p>
|
|
76
|
+
* <b>tag-key</b>: Prefix match, case-sensitive.</p>
|
|
77
|
+
* </li>
|
|
78
|
+
* <li>
|
|
79
|
+
* <p>
|
|
80
|
+
* <b>tag-value</b>: Prefix match, case-sensitive.</p>
|
|
81
|
+
* </li>
|
|
82
|
+
* <li>
|
|
83
|
+
* <p>
|
|
84
|
+
* <b>primary-region</b>: Prefix match, case-sensitive.</p>
|
|
85
|
+
* </li>
|
|
86
|
+
* <li>
|
|
87
|
+
* <p>
|
|
88
|
+
* <b>owning-service</b>: Prefix match, case-sensitive.</p>
|
|
89
|
+
* </li>
|
|
90
|
+
* <li>
|
|
91
|
+
* <p>
|
|
92
|
+
* <b>all</b>: Breaks the filter value string into words and then searches all attributes for matches. Not case-sensitive.</p>
|
|
93
|
+
* </li>
|
|
94
|
+
* </ul>
|
|
95
|
+
*/
|
|
96
|
+
Key?: FilterNameStringType;
|
|
97
|
+
/**
|
|
98
|
+
* @public
|
|
99
|
+
* <p>The keyword to filter for.</p>
|
|
100
|
+
* <p>You can prefix your search value with an exclamation mark (<code>!</code>) in order to perform negation filters. </p>
|
|
101
|
+
*/
|
|
102
|
+
Values?: string[];
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
export interface BatchGetSecretValueRequest {
|
|
108
|
+
/**
|
|
109
|
+
* @public
|
|
110
|
+
* <p>The ARN or names of the secrets to retrieve. You must include <code>Filters</code> or <code>SecretIdList</code>, but not both.</p>
|
|
111
|
+
*/
|
|
112
|
+
SecretIdList?: string[];
|
|
113
|
+
/**
|
|
114
|
+
* @public
|
|
115
|
+
* <p>The filters to choose which secrets to retrieve. You must include <code>Filters</code> or <code>SecretIdList</code>, but not both.</p>
|
|
116
|
+
*/
|
|
117
|
+
Filters?: Filter[];
|
|
118
|
+
/**
|
|
119
|
+
* @public
|
|
120
|
+
* <p>The number of results to include in the response.</p>
|
|
121
|
+
* <p>If there are more results available, in the response, Secrets Manager includes <code>NextToken</code>.
|
|
122
|
+
* To get the next results, call <code>BatchGetSecretValue</code> again with the value from
|
|
123
|
+
* <code>NextToken</code>.</p>
|
|
124
|
+
*/
|
|
125
|
+
MaxResults?: number;
|
|
126
|
+
/**
|
|
127
|
+
* @public
|
|
128
|
+
* <p>A token that indicates where the output should continue from, if a
|
|
129
|
+
* previous call did not show all results. To get the next results, call <code>BatchGetSecretValue</code> again
|
|
130
|
+
* with this value.</p>
|
|
131
|
+
*/
|
|
132
|
+
NextToken?: string;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* @public
|
|
136
|
+
* <p>A structure that contains the secret value and other details for a secret.</p>
|
|
137
|
+
*/
|
|
138
|
+
export interface SecretValueEntry {
|
|
139
|
+
/**
|
|
140
|
+
* @public
|
|
141
|
+
* <p>The Amazon Resource Name (ARN) of the secret.</p>
|
|
38
142
|
*/
|
|
39
143
|
ARN?: string;
|
|
40
144
|
/**
|
|
41
145
|
* @public
|
|
42
|
-
* <p>The name of the secret
|
|
146
|
+
* <p>The friendly name of the secret. </p>
|
|
43
147
|
*/
|
|
44
148
|
Name?: string;
|
|
45
149
|
/**
|
|
46
150
|
* @public
|
|
47
|
-
* <p>The unique identifier of
|
|
48
|
-
* version might not be complete, and should be evaluated for possible deletion. We recommend
|
|
49
|
-
* that you remove the <code>VersionStage</code> value <code>AWSPENDING</code> from this version so that
|
|
50
|
-
* Secrets Manager can delete it. Failing to clean up a cancelled rotation can block you from
|
|
51
|
-
* starting future rotations.</p>
|
|
151
|
+
* <p>The unique version identifier of this version of the secret.</p>
|
|
52
152
|
*/
|
|
53
153
|
VersionId?: string;
|
|
154
|
+
/**
|
|
155
|
+
* @public
|
|
156
|
+
* <p>The decrypted secret value, if the secret value was originally provided as
|
|
157
|
+
* binary data in the form of a byte array. The parameter represents the binary data as
|
|
158
|
+
* a <a href="https://tools.ietf.org/html/rfc4648#section-4">base64-encoded</a>
|
|
159
|
+
* string.</p>
|
|
160
|
+
*/
|
|
161
|
+
SecretBinary?: Uint8Array;
|
|
162
|
+
/**
|
|
163
|
+
* @public
|
|
164
|
+
* <p>The decrypted secret value, if the secret value was originally provided as a string or
|
|
165
|
+
* through the Secrets Manager console.</p>
|
|
166
|
+
*/
|
|
167
|
+
SecretString?: string;
|
|
168
|
+
/**
|
|
169
|
+
* @public
|
|
170
|
+
* <p>A list of all of the staging labels currently attached to this version of the
|
|
171
|
+
* secret.</p>
|
|
172
|
+
*/
|
|
173
|
+
VersionStages?: string[];
|
|
174
|
+
/**
|
|
175
|
+
* @public
|
|
176
|
+
* <p>The date the secret was created.</p>
|
|
177
|
+
*/
|
|
178
|
+
CreatedDate?: Date;
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* @public
|
|
182
|
+
*/
|
|
183
|
+
export interface BatchGetSecretValueResponse {
|
|
184
|
+
/**
|
|
185
|
+
* @public
|
|
186
|
+
* <p>A list of secret values.</p>
|
|
187
|
+
*/
|
|
188
|
+
SecretValues?: SecretValueEntry[];
|
|
189
|
+
/**
|
|
190
|
+
* @public
|
|
191
|
+
* <p>Secrets Manager includes this value if
|
|
192
|
+
* there's more output available than what is included in the current response. This can
|
|
193
|
+
* occur even when the response includes no values at all, such as when you ask for a filtered view
|
|
194
|
+
* of a long list. To get the next results, call <code>BatchGetSecretValue</code> again
|
|
195
|
+
* with this value.</p>
|
|
196
|
+
*/
|
|
197
|
+
NextToken?: string;
|
|
198
|
+
/**
|
|
199
|
+
* @public
|
|
200
|
+
* <p>A list of errors Secrets Manager encountered while attempting to retrieve individual secrets.</p>
|
|
201
|
+
*/
|
|
202
|
+
Errors?: APIErrorType[];
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* @public
|
|
206
|
+
* <p>Secrets Manager can't decrypt the protected secret text using the provided KMS key. </p>
|
|
207
|
+
*/
|
|
208
|
+
export declare class DecryptionFailure extends __BaseException {
|
|
209
|
+
readonly name: "DecryptionFailure";
|
|
210
|
+
readonly $fault: "client";
|
|
211
|
+
Message?: string;
|
|
212
|
+
/**
|
|
213
|
+
* @internal
|
|
214
|
+
*/
|
|
215
|
+
constructor(opts: __ExceptionOptionType<DecryptionFailure, __BaseException>);
|
|
54
216
|
}
|
|
55
217
|
/**
|
|
56
218
|
* @public
|
|
@@ -65,6 +227,19 @@ export declare class InternalServiceError extends __BaseException {
|
|
|
65
227
|
*/
|
|
66
228
|
constructor(opts: __ExceptionOptionType<InternalServiceError, __BaseException>);
|
|
67
229
|
}
|
|
230
|
+
/**
|
|
231
|
+
* @public
|
|
232
|
+
* <p>The <code>NextToken</code> value is invalid.</p>
|
|
233
|
+
*/
|
|
234
|
+
export declare class InvalidNextTokenException extends __BaseException {
|
|
235
|
+
readonly name: "InvalidNextTokenException";
|
|
236
|
+
readonly $fault: "client";
|
|
237
|
+
Message?: string;
|
|
238
|
+
/**
|
|
239
|
+
* @internal
|
|
240
|
+
*/
|
|
241
|
+
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
242
|
+
}
|
|
68
243
|
/**
|
|
69
244
|
* @public
|
|
70
245
|
* <p>The parameter name or value is invalid.</p>
|
|
@@ -119,6 +294,42 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
119
294
|
*/
|
|
120
295
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
121
296
|
}
|
|
297
|
+
/**
|
|
298
|
+
* @public
|
|
299
|
+
*/
|
|
300
|
+
export interface CancelRotateSecretRequest {
|
|
301
|
+
/**
|
|
302
|
+
* @public
|
|
303
|
+
* <p>The ARN or name of the secret.</p>
|
|
304
|
+
* <p>For an ARN, we recommend that you specify a complete ARN rather
|
|
305
|
+
* than a partial ARN. See <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen">Finding a secret from a partial ARN</a>.</p>
|
|
306
|
+
*/
|
|
307
|
+
SecretId: string | undefined;
|
|
308
|
+
}
|
|
309
|
+
/**
|
|
310
|
+
* @public
|
|
311
|
+
*/
|
|
312
|
+
export interface CancelRotateSecretResponse {
|
|
313
|
+
/**
|
|
314
|
+
* @public
|
|
315
|
+
* <p>The ARN of the secret.</p>
|
|
316
|
+
*/
|
|
317
|
+
ARN?: string;
|
|
318
|
+
/**
|
|
319
|
+
* @public
|
|
320
|
+
* <p>The name of the secret.</p>
|
|
321
|
+
*/
|
|
322
|
+
Name?: string;
|
|
323
|
+
/**
|
|
324
|
+
* @public
|
|
325
|
+
* <p>The unique identifier of the version of the secret created during the rotation. This
|
|
326
|
+
* version might not be complete, and should be evaluated for possible deletion. We recommend
|
|
327
|
+
* that you remove the <code>VersionStage</code> value <code>AWSPENDING</code> from this version so that
|
|
328
|
+
* Secrets Manager can delete it. Failing to clean up a cancelled rotation can block you from
|
|
329
|
+
* starting future rotations.</p>
|
|
330
|
+
*/
|
|
331
|
+
VersionId?: string;
|
|
332
|
+
}
|
|
122
333
|
/**
|
|
123
334
|
* @public
|
|
124
335
|
* <p>A structure that contains information about a tag.</p>
|
|
@@ -341,19 +552,6 @@ export interface CreateSecretResponse {
|
|
|
341
552
|
*/
|
|
342
553
|
ReplicationStatus?: ReplicationStatusType[];
|
|
343
554
|
}
|
|
344
|
-
/**
|
|
345
|
-
* @public
|
|
346
|
-
* <p>Secrets Manager can't decrypt the protected secret text using the provided KMS key. </p>
|
|
347
|
-
*/
|
|
348
|
-
export declare class DecryptionFailure extends __BaseException {
|
|
349
|
-
readonly name: "DecryptionFailure";
|
|
350
|
-
readonly $fault: "client";
|
|
351
|
-
Message?: string;
|
|
352
|
-
/**
|
|
353
|
-
* @internal
|
|
354
|
-
*/
|
|
355
|
-
constructor(opts: __ExceptionOptionType<DecryptionFailure, __BaseException>);
|
|
356
|
-
}
|
|
357
555
|
/**
|
|
358
556
|
* @public
|
|
359
557
|
* <p>Secrets Manager can't encrypt the protected secret text using the provided KMS key. Check that the
|
|
@@ -720,70 +918,6 @@ export interface DescribeSecretResponse {
|
|
|
720
918
|
*/
|
|
721
919
|
ReplicationStatus?: ReplicationStatusType[];
|
|
722
920
|
}
|
|
723
|
-
/**
|
|
724
|
-
* @public
|
|
725
|
-
* @enum
|
|
726
|
-
*/
|
|
727
|
-
export declare const FilterNameStringType: {
|
|
728
|
-
readonly all: "all";
|
|
729
|
-
readonly description: "description";
|
|
730
|
-
readonly name: "name";
|
|
731
|
-
readonly owning_service: "owning-service";
|
|
732
|
-
readonly primary_region: "primary-region";
|
|
733
|
-
readonly tag_key: "tag-key";
|
|
734
|
-
readonly tag_value: "tag-value";
|
|
735
|
-
};
|
|
736
|
-
/**
|
|
737
|
-
* @public
|
|
738
|
-
*/
|
|
739
|
-
export type FilterNameStringType = (typeof FilterNameStringType)[keyof typeof FilterNameStringType];
|
|
740
|
-
/**
|
|
741
|
-
* @public
|
|
742
|
-
* <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>
|
|
743
|
-
*/
|
|
744
|
-
export interface Filter {
|
|
745
|
-
/**
|
|
746
|
-
* @public
|
|
747
|
-
* <p>The following are keys you can use:</p>
|
|
748
|
-
* <ul>
|
|
749
|
-
* <li>
|
|
750
|
-
* <p>
|
|
751
|
-
* <b>description</b>: Prefix match, not case-sensitive.</p>
|
|
752
|
-
* </li>
|
|
753
|
-
* <li>
|
|
754
|
-
* <p>
|
|
755
|
-
* <b>name</b>: Prefix match, case-sensitive.</p>
|
|
756
|
-
* </li>
|
|
757
|
-
* <li>
|
|
758
|
-
* <p>
|
|
759
|
-
* <b>tag-key</b>: Prefix match, case-sensitive.</p>
|
|
760
|
-
* </li>
|
|
761
|
-
* <li>
|
|
762
|
-
* <p>
|
|
763
|
-
* <b>tag-value</b>: Prefix match, case-sensitive.</p>
|
|
764
|
-
* </li>
|
|
765
|
-
* <li>
|
|
766
|
-
* <p>
|
|
767
|
-
* <b>primary-region</b>: Prefix match, case-sensitive.</p>
|
|
768
|
-
* </li>
|
|
769
|
-
* <li>
|
|
770
|
-
* <p>
|
|
771
|
-
* <b>owning-service</b>: Prefix match, case-sensitive.</p>
|
|
772
|
-
* </li>
|
|
773
|
-
* <li>
|
|
774
|
-
* <p>
|
|
775
|
-
* <b>all</b>: Breaks the filter value string into words and then searches all attributes for matches. Not case-sensitive.</p>
|
|
776
|
-
* </li>
|
|
777
|
-
* </ul>
|
|
778
|
-
*/
|
|
779
|
-
Key?: FilterNameStringType;
|
|
780
|
-
/**
|
|
781
|
-
* @public
|
|
782
|
-
* <p>The keyword to filter for.</p>
|
|
783
|
-
* <p>You can prefix your search value with an exclamation mark (<code>!</code>) in order to perform negation filters. </p>
|
|
784
|
-
*/
|
|
785
|
-
Values?: string[];
|
|
786
|
-
}
|
|
787
921
|
/**
|
|
788
922
|
* @public
|
|
789
923
|
*/
|
|
@@ -964,19 +1098,6 @@ export interface GetSecretValueResponse {
|
|
|
964
1098
|
*/
|
|
965
1099
|
CreatedDate?: Date;
|
|
966
1100
|
}
|
|
967
|
-
/**
|
|
968
|
-
* @public
|
|
969
|
-
* <p>The <code>NextToken</code> value is invalid.</p>
|
|
970
|
-
*/
|
|
971
|
-
export declare class InvalidNextTokenException extends __BaseException {
|
|
972
|
-
readonly name: "InvalidNextTokenException";
|
|
973
|
-
readonly $fault: "client";
|
|
974
|
-
Message?: string;
|
|
975
|
-
/**
|
|
976
|
-
* @internal
|
|
977
|
-
*/
|
|
978
|
-
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
979
|
-
}
|
|
980
1101
|
/**
|
|
981
1102
|
* @public
|
|
982
1103
|
* @enum
|
|
@@ -1039,10 +1160,7 @@ export interface SecretListEntry {
|
|
|
1039
1160
|
ARN?: string;
|
|
1040
1161
|
/**
|
|
1041
1162
|
* @public
|
|
1042
|
-
* <p>The friendly name of the secret.
|
|
1043
|
-
* path hierarchy. For example, <code>/prod/databases/dbserver1</code> could represent the secret
|
|
1044
|
-
* for a server named <code>dbserver1</code> in the folder <code>databases</code> in the folder
|
|
1045
|
-
* <code>prod</code>. </p>
|
|
1163
|
+
* <p>The friendly name of the secret. </p>
|
|
1046
1164
|
*/
|
|
1047
1165
|
Name?: string;
|
|
1048
1166
|
/**
|
|
@@ -1813,6 +1931,14 @@ export interface ValidateResourcePolicyResponse {
|
|
|
1813
1931
|
*/
|
|
1814
1932
|
ValidationErrors?: ValidationErrorsEntry[];
|
|
1815
1933
|
}
|
|
1934
|
+
/**
|
|
1935
|
+
* @internal
|
|
1936
|
+
*/
|
|
1937
|
+
export declare const SecretValueEntryFilterSensitiveLog: (obj: SecretValueEntry) => any;
|
|
1938
|
+
/**
|
|
1939
|
+
* @internal
|
|
1940
|
+
*/
|
|
1941
|
+
export declare const BatchGetSecretValueResponseFilterSensitiveLog: (obj: BatchGetSecretValueResponse) => any;
|
|
1816
1942
|
/**
|
|
1817
1943
|
* @internal
|
|
1818
1944
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { BatchGetSecretValueCommandInput, BatchGetSecretValueCommandOutput } from "../commands/BatchGetSecretValueCommand";
|
|
3
|
+
import { SecretsManagerPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateBatchGetSecretValue(config: SecretsManagerPaginationConfiguration, input: BatchGetSecretValueCommandInput, ...additionalArguments: any): Paginator<BatchGetSecretValueCommandOutput>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
|
+
import { BatchGetSecretValueCommandInput, BatchGetSecretValueCommandOutput } from "../commands/BatchGetSecretValueCommand";
|
|
3
4
|
import { CancelRotateSecretCommandInput, CancelRotateSecretCommandOutput } from "../commands/CancelRotateSecretCommand";
|
|
4
5
|
import { CreateSecretCommandInput, CreateSecretCommandOutput } from "../commands/CreateSecretCommand";
|
|
5
6
|
import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "../commands/DeleteResourcePolicyCommand";
|
|
@@ -22,6 +23,10 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../comman
|
|
|
22
23
|
import { UpdateSecretCommandInput, UpdateSecretCommandOutput } from "../commands/UpdateSecretCommand";
|
|
23
24
|
import { UpdateSecretVersionStageCommandInput, UpdateSecretVersionStageCommandOutput } from "../commands/UpdateSecretVersionStageCommand";
|
|
24
25
|
import { ValidateResourcePolicyCommandInput, ValidateResourcePolicyCommandOutput } from "../commands/ValidateResourcePolicyCommand";
|
|
26
|
+
/**
|
|
27
|
+
* serializeAws_json1_1BatchGetSecretValueCommand
|
|
28
|
+
*/
|
|
29
|
+
export declare const se_BatchGetSecretValueCommand: (input: BatchGetSecretValueCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
25
30
|
/**
|
|
26
31
|
* serializeAws_json1_1CancelRotateSecretCommand
|
|
27
32
|
*/
|
|
@@ -110,6 +115,10 @@ export declare const se_UpdateSecretVersionStageCommand: (input: UpdateSecretVer
|
|
|
110
115
|
* serializeAws_json1_1ValidateResourcePolicyCommand
|
|
111
116
|
*/
|
|
112
117
|
export declare const se_ValidateResourcePolicyCommand: (input: ValidateResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
118
|
+
/**
|
|
119
|
+
* deserializeAws_json1_1BatchGetSecretValueCommand
|
|
120
|
+
*/
|
|
121
|
+
export declare const de_BatchGetSecretValueCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetSecretValueCommandOutput>;
|
|
113
122
|
/**
|
|
114
123
|
* deserializeAws_json1_1CancelRotateSecretCommand
|
|
115
124
|
*/
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
BatchGetSecretValueCommandInput,
|
|
4
|
+
BatchGetSecretValueCommandOutput,
|
|
5
|
+
} from "./commands/BatchGetSecretValueCommand";
|
|
2
6
|
import {
|
|
3
7
|
CancelRotateSecretCommandInput,
|
|
4
8
|
CancelRotateSecretCommandOutput,
|
|
@@ -89,6 +93,19 @@ import {
|
|
|
89
93
|
} from "./commands/ValidateResourcePolicyCommand";
|
|
90
94
|
import { SecretsManagerClient } from "./SecretsManagerClient";
|
|
91
95
|
export interface SecretsManager {
|
|
96
|
+
batchGetSecretValue(
|
|
97
|
+
args: BatchGetSecretValueCommandInput,
|
|
98
|
+
options?: __HttpHandlerOptions
|
|
99
|
+
): Promise<BatchGetSecretValueCommandOutput>;
|
|
100
|
+
batchGetSecretValue(
|
|
101
|
+
args: BatchGetSecretValueCommandInput,
|
|
102
|
+
cb: (err: any, data?: BatchGetSecretValueCommandOutput) => void
|
|
103
|
+
): void;
|
|
104
|
+
batchGetSecretValue(
|
|
105
|
+
args: BatchGetSecretValueCommandInput,
|
|
106
|
+
options: __HttpHandlerOptions,
|
|
107
|
+
cb: (err: any, data?: BatchGetSecretValueCommandOutput) => void
|
|
108
|
+
): void;
|
|
92
109
|
cancelRotateSecret(
|
|
93
110
|
args: CancelRotateSecretCommandInput,
|
|
94
111
|
options?: __HttpHandlerOptions
|
|
@@ -45,6 +45,10 @@ import {
|
|
|
45
45
|
UrlParser as __UrlParser,
|
|
46
46
|
UserAgent as __UserAgent,
|
|
47
47
|
} from "@smithy/types";
|
|
48
|
+
import {
|
|
49
|
+
BatchGetSecretValueCommandInput,
|
|
50
|
+
BatchGetSecretValueCommandOutput,
|
|
51
|
+
} from "./commands/BatchGetSecretValueCommand";
|
|
48
52
|
import {
|
|
49
53
|
CancelRotateSecretCommandInput,
|
|
50
54
|
CancelRotateSecretCommandOutput,
|
|
@@ -141,6 +145,7 @@ import {
|
|
|
141
145
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
142
146
|
export { __Client };
|
|
143
147
|
export type ServiceInputTypes =
|
|
148
|
+
| BatchGetSecretValueCommandInput
|
|
144
149
|
| CancelRotateSecretCommandInput
|
|
145
150
|
| CreateSecretCommandInput
|
|
146
151
|
| DeleteResourcePolicyCommandInput
|
|
@@ -164,6 +169,7 @@ export type ServiceInputTypes =
|
|
|
164
169
|
| UpdateSecretVersionStageCommandInput
|
|
165
170
|
| ValidateResourcePolicyCommandInput;
|
|
166
171
|
export type ServiceOutputTypes =
|
|
172
|
+
| BatchGetSecretValueCommandOutput
|
|
167
173
|
| CancelRotateSecretCommandOutput
|
|
168
174
|
| CreateSecretCommandOutput
|
|
169
175
|
| DeleteResourcePolicyCommandOutput
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
BatchGetSecretValueRequest,
|
|
11
|
+
BatchGetSecretValueResponse,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
SecretsManagerClientResolvedConfig,
|
|
15
|
+
ServiceInputTypes,
|
|
16
|
+
ServiceOutputTypes,
|
|
17
|
+
} from "../SecretsManagerClient";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface BatchGetSecretValueCommandInput
|
|
20
|
+
extends BatchGetSecretValueRequest {}
|
|
21
|
+
export interface BatchGetSecretValueCommandOutput
|
|
22
|
+
extends BatchGetSecretValueResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class BatchGetSecretValueCommand extends $Command<
|
|
25
|
+
BatchGetSecretValueCommandInput,
|
|
26
|
+
BatchGetSecretValueCommandOutput,
|
|
27
|
+
SecretsManagerClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: BatchGetSecretValueCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: BatchGetSecretValueCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: SecretsManagerClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<BatchGetSecretValueCommandInput, BatchGetSecretValueCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|