@aws-sdk/client-secrets-manager 3.454.0 → 3.460.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 +12 -12
|
@@ -4,13 +4,51 @@ export interface ReplicaRegionType {
|
|
|
4
4
|
Region?: string;
|
|
5
5
|
KmsKeyId?: string;
|
|
6
6
|
}
|
|
7
|
-
export interface
|
|
8
|
-
SecretId
|
|
7
|
+
export interface APIErrorType {
|
|
8
|
+
SecretId?: string;
|
|
9
|
+
ErrorCode?: string;
|
|
10
|
+
Message?: string;
|
|
9
11
|
}
|
|
10
|
-
export
|
|
12
|
+
export declare const FilterNameStringType: {
|
|
13
|
+
readonly all: "all";
|
|
14
|
+
readonly description: "description";
|
|
15
|
+
readonly name: "name";
|
|
16
|
+
readonly owning_service: "owning-service";
|
|
17
|
+
readonly primary_region: "primary-region";
|
|
18
|
+
readonly tag_key: "tag-key";
|
|
19
|
+
readonly tag_value: "tag-value";
|
|
20
|
+
};
|
|
21
|
+
export type FilterNameStringType =
|
|
22
|
+
(typeof FilterNameStringType)[keyof typeof FilterNameStringType];
|
|
23
|
+
export interface Filter {
|
|
24
|
+
Key?: FilterNameStringType;
|
|
25
|
+
Values?: string[];
|
|
26
|
+
}
|
|
27
|
+
export interface BatchGetSecretValueRequest {
|
|
28
|
+
SecretIdList?: string[];
|
|
29
|
+
Filters?: Filter[];
|
|
30
|
+
MaxResults?: number;
|
|
31
|
+
NextToken?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface SecretValueEntry {
|
|
11
34
|
ARN?: string;
|
|
12
35
|
Name?: string;
|
|
13
36
|
VersionId?: string;
|
|
37
|
+
SecretBinary?: Uint8Array;
|
|
38
|
+
SecretString?: string;
|
|
39
|
+
VersionStages?: string[];
|
|
40
|
+
CreatedDate?: Date;
|
|
41
|
+
}
|
|
42
|
+
export interface BatchGetSecretValueResponse {
|
|
43
|
+
SecretValues?: SecretValueEntry[];
|
|
44
|
+
NextToken?: string;
|
|
45
|
+
Errors?: APIErrorType[];
|
|
46
|
+
}
|
|
47
|
+
export declare class DecryptionFailure extends __BaseException {
|
|
48
|
+
readonly name: "DecryptionFailure";
|
|
49
|
+
readonly $fault: "client";
|
|
50
|
+
Message?: string;
|
|
51
|
+
constructor(opts: __ExceptionOptionType<DecryptionFailure, __BaseException>);
|
|
14
52
|
}
|
|
15
53
|
export declare class InternalServiceError extends __BaseException {
|
|
16
54
|
readonly name: "InternalServiceError";
|
|
@@ -20,6 +58,14 @@ export declare class InternalServiceError extends __BaseException {
|
|
|
20
58
|
opts: __ExceptionOptionType<InternalServiceError, __BaseException>
|
|
21
59
|
);
|
|
22
60
|
}
|
|
61
|
+
export declare class InvalidNextTokenException extends __BaseException {
|
|
62
|
+
readonly name: "InvalidNextTokenException";
|
|
63
|
+
readonly $fault: "client";
|
|
64
|
+
Message?: string;
|
|
65
|
+
constructor(
|
|
66
|
+
opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
|
|
67
|
+
);
|
|
68
|
+
}
|
|
23
69
|
export declare class InvalidParameterException extends __BaseException {
|
|
24
70
|
readonly name: "InvalidParameterException";
|
|
25
71
|
readonly $fault: "client";
|
|
@@ -44,6 +90,14 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
44
90
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
45
91
|
);
|
|
46
92
|
}
|
|
93
|
+
export interface CancelRotateSecretRequest {
|
|
94
|
+
SecretId: string | undefined;
|
|
95
|
+
}
|
|
96
|
+
export interface CancelRotateSecretResponse {
|
|
97
|
+
ARN?: string;
|
|
98
|
+
Name?: string;
|
|
99
|
+
VersionId?: string;
|
|
100
|
+
}
|
|
47
101
|
export interface Tag {
|
|
48
102
|
Key?: string;
|
|
49
103
|
Value?: string;
|
|
@@ -78,12 +132,6 @@ export interface CreateSecretResponse {
|
|
|
78
132
|
VersionId?: string;
|
|
79
133
|
ReplicationStatus?: ReplicationStatusType[];
|
|
80
134
|
}
|
|
81
|
-
export declare class DecryptionFailure extends __BaseException {
|
|
82
|
-
readonly name: "DecryptionFailure";
|
|
83
|
-
readonly $fault: "client";
|
|
84
|
-
Message?: string;
|
|
85
|
-
constructor(opts: __ExceptionOptionType<DecryptionFailure, __BaseException>);
|
|
86
|
-
}
|
|
87
135
|
export declare class EncryptionFailure extends __BaseException {
|
|
88
136
|
readonly name: "EncryptionFailure";
|
|
89
137
|
readonly $fault: "client";
|
|
@@ -170,21 +218,6 @@ export interface DescribeSecretResponse {
|
|
|
170
218
|
PrimaryRegion?: string;
|
|
171
219
|
ReplicationStatus?: ReplicationStatusType[];
|
|
172
220
|
}
|
|
173
|
-
export declare const FilterNameStringType: {
|
|
174
|
-
readonly all: "all";
|
|
175
|
-
readonly description: "description";
|
|
176
|
-
readonly name: "name";
|
|
177
|
-
readonly owning_service: "owning-service";
|
|
178
|
-
readonly primary_region: "primary-region";
|
|
179
|
-
readonly tag_key: "tag-key";
|
|
180
|
-
readonly tag_value: "tag-value";
|
|
181
|
-
};
|
|
182
|
-
export type FilterNameStringType =
|
|
183
|
-
(typeof FilterNameStringType)[keyof typeof FilterNameStringType];
|
|
184
|
-
export interface Filter {
|
|
185
|
-
Key?: FilterNameStringType;
|
|
186
|
-
Values?: string[];
|
|
187
|
-
}
|
|
188
221
|
export interface GetRandomPasswordRequest {
|
|
189
222
|
PasswordLength?: number;
|
|
190
223
|
ExcludeCharacters?: string;
|
|
@@ -220,14 +253,6 @@ export interface GetSecretValueResponse {
|
|
|
220
253
|
VersionStages?: string[];
|
|
221
254
|
CreatedDate?: Date;
|
|
222
255
|
}
|
|
223
|
-
export declare class InvalidNextTokenException extends __BaseException {
|
|
224
|
-
readonly name: "InvalidNextTokenException";
|
|
225
|
-
readonly $fault: "client";
|
|
226
|
-
Message?: string;
|
|
227
|
-
constructor(
|
|
228
|
-
opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
|
|
229
|
-
);
|
|
230
|
-
}
|
|
231
256
|
export declare const SortOrderType: {
|
|
232
257
|
readonly asc: "asc";
|
|
233
258
|
readonly desc: "desc";
|
|
@@ -397,6 +422,12 @@ export interface ValidateResourcePolicyResponse {
|
|
|
397
422
|
PolicyValidationPassed?: boolean;
|
|
398
423
|
ValidationErrors?: ValidationErrorsEntry[];
|
|
399
424
|
}
|
|
425
|
+
export declare const SecretValueEntryFilterSensitiveLog: (
|
|
426
|
+
obj: SecretValueEntry
|
|
427
|
+
) => any;
|
|
428
|
+
export declare const BatchGetSecretValueResponseFilterSensitiveLog: (
|
|
429
|
+
obj: BatchGetSecretValueResponse
|
|
430
|
+
) => any;
|
|
400
431
|
export declare const CreateSecretRequestFilterSensitiveLog: (
|
|
401
432
|
obj: CreateSecretRequest
|
|
402
433
|
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
BatchGetSecretValueCommandInput,
|
|
4
|
+
BatchGetSecretValueCommandOutput,
|
|
5
|
+
} from "../commands/BatchGetSecretValueCommand";
|
|
6
|
+
import { SecretsManagerPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateBatchGetSecretValue(
|
|
8
|
+
config: SecretsManagerPaginationConfiguration,
|
|
9
|
+
input: BatchGetSecretValueCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<BatchGetSecretValueCommandOutput>;
|
|
@@ -3,6 +3,10 @@ import {
|
|
|
3
3
|
HttpResponse as __HttpResponse,
|
|
4
4
|
} from "@smithy/protocol-http";
|
|
5
5
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
|
+
import {
|
|
7
|
+
BatchGetSecretValueCommandInput,
|
|
8
|
+
BatchGetSecretValueCommandOutput,
|
|
9
|
+
} from "../commands/BatchGetSecretValueCommand";
|
|
6
10
|
import {
|
|
7
11
|
CancelRotateSecretCommandInput,
|
|
8
12
|
CancelRotateSecretCommandOutput,
|
|
@@ -91,6 +95,10 @@ import {
|
|
|
91
95
|
ValidateResourcePolicyCommandInput,
|
|
92
96
|
ValidateResourcePolicyCommandOutput,
|
|
93
97
|
} from "../commands/ValidateResourcePolicyCommand";
|
|
98
|
+
export declare const se_BatchGetSecretValueCommand: (
|
|
99
|
+
input: BatchGetSecretValueCommandInput,
|
|
100
|
+
context: __SerdeContext
|
|
101
|
+
) => Promise<__HttpRequest>;
|
|
94
102
|
export declare const se_CancelRotateSecretCommand: (
|
|
95
103
|
input: CancelRotateSecretCommandInput,
|
|
96
104
|
context: __SerdeContext
|
|
@@ -179,6 +187,10 @@ export declare const se_ValidateResourcePolicyCommand: (
|
|
|
179
187
|
input: ValidateResourcePolicyCommandInput,
|
|
180
188
|
context: __SerdeContext
|
|
181
189
|
) => Promise<__HttpRequest>;
|
|
190
|
+
export declare const de_BatchGetSecretValueCommand: (
|
|
191
|
+
output: __HttpResponse,
|
|
192
|
+
context: __SerdeContext
|
|
193
|
+
) => Promise<BatchGetSecretValueCommandOutput>;
|
|
182
194
|
export declare const de_CancelRotateSecretCommand: (
|
|
183
195
|
output: __HttpResponse,
|
|
184
196
|
context: __SerdeContext
|
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.460.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",
|
|
@@ -21,19 +21,19 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.460.0",
|
|
25
25
|
"@aws-sdk/core": "3.451.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-signing": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.460.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.460.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.460.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.460.0",
|
|
30
|
+
"@aws-sdk/middleware-signing": "3.460.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.460.0",
|
|
32
32
|
"@aws-sdk/region-config-resolver": "3.451.0",
|
|
33
|
-
"@aws-sdk/types": "3.
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/types": "3.460.0",
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.460.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "3.460.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.460.0",
|
|
37
37
|
"@smithy/config-resolver": "^2.0.18",
|
|
38
38
|
"@smithy/fetch-http-handler": "^2.2.6",
|
|
39
39
|
"@smithy/hash-node": "^2.0.15",
|