@aws-sdk/client-secrets-manager 3.974.0 → 3.978.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js
CHANGED
|
@@ -1206,6 +1206,12 @@ class ValidateResourcePolicyCommand extends smithyClient.Command
|
|
|
1206
1206
|
.build() {
|
|
1207
1207
|
}
|
|
1208
1208
|
|
|
1209
|
+
const paginateBatchGetSecretValue = core.createPaginator(SecretsManagerClient, BatchGetSecretValueCommand, "NextToken", "NextToken", "MaxResults");
|
|
1210
|
+
|
|
1211
|
+
const paginateListSecrets = core.createPaginator(SecretsManagerClient, ListSecretsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1212
|
+
|
|
1213
|
+
const paginateListSecretVersionIds = core.createPaginator(SecretsManagerClient, ListSecretVersionIdsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1214
|
+
|
|
1209
1215
|
const commands = {
|
|
1210
1216
|
BatchGetSecretValueCommand,
|
|
1211
1217
|
CancelRotateSecretCommand,
|
|
@@ -1231,15 +1237,14 @@ const commands = {
|
|
|
1231
1237
|
UpdateSecretVersionStageCommand,
|
|
1232
1238
|
ValidateResourcePolicyCommand,
|
|
1233
1239
|
};
|
|
1240
|
+
const paginators = {
|
|
1241
|
+
paginateBatchGetSecretValue,
|
|
1242
|
+
paginateListSecrets,
|
|
1243
|
+
paginateListSecretVersionIds,
|
|
1244
|
+
};
|
|
1234
1245
|
class SecretsManager extends SecretsManagerClient {
|
|
1235
1246
|
}
|
|
1236
|
-
smithyClient.createAggregatedClient(commands, SecretsManager);
|
|
1237
|
-
|
|
1238
|
-
const paginateBatchGetSecretValue = core.createPaginator(SecretsManagerClient, BatchGetSecretValueCommand, "NextToken", "NextToken", "MaxResults");
|
|
1239
|
-
|
|
1240
|
-
const paginateListSecrets = core.createPaginator(SecretsManagerClient, ListSecretsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1241
|
-
|
|
1242
|
-
const paginateListSecretVersionIds = core.createPaginator(SecretsManagerClient, ListSecretVersionIdsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1247
|
+
smithyClient.createAggregatedClient(commands, SecretsManager, { paginators });
|
|
1243
1248
|
|
|
1244
1249
|
const FilterNameStringType = {
|
|
1245
1250
|
all: "all",
|
|
@@ -22,6 +22,9 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
|
22
22
|
import { UpdateSecretCommand, } from "./commands/UpdateSecretCommand";
|
|
23
23
|
import { UpdateSecretVersionStageCommand, } from "./commands/UpdateSecretVersionStageCommand";
|
|
24
24
|
import { ValidateResourcePolicyCommand, } from "./commands/ValidateResourcePolicyCommand";
|
|
25
|
+
import { paginateBatchGetSecretValue } from "./pagination/BatchGetSecretValuePaginator";
|
|
26
|
+
import { paginateListSecrets } from "./pagination/ListSecretsPaginator";
|
|
27
|
+
import { paginateListSecretVersionIds } from "./pagination/ListSecretVersionIdsPaginator";
|
|
25
28
|
import { SecretsManagerClient } from "./SecretsManagerClient";
|
|
26
29
|
const commands = {
|
|
27
30
|
BatchGetSecretValueCommand,
|
|
@@ -48,6 +51,11 @@ const commands = {
|
|
|
48
51
|
UpdateSecretVersionStageCommand,
|
|
49
52
|
ValidateResourcePolicyCommand,
|
|
50
53
|
};
|
|
54
|
+
const paginators = {
|
|
55
|
+
paginateBatchGetSecretValue,
|
|
56
|
+
paginateListSecrets,
|
|
57
|
+
paginateListSecretVersionIds,
|
|
58
|
+
};
|
|
51
59
|
export class SecretsManager extends SecretsManagerClient {
|
|
52
60
|
}
|
|
53
|
-
createAggregatedClient(commands, SecretsManager);
|
|
61
|
+
createAggregatedClient(commands, SecretsManager, { paginators });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { BatchGetSecretValueCommandInput, BatchGetSecretValueCommandOutput } from "./commands/BatchGetSecretValueCommand";
|
|
3
3
|
import { CancelRotateSecretCommandInput, CancelRotateSecretCommandOutput } from "./commands/CancelRotateSecretCommand";
|
|
4
4
|
import { CreateSecretCommandInput, CreateSecretCommandOutput } from "./commands/CreateSecretCommand";
|
|
@@ -165,6 +165,27 @@ export interface SecretsManager {
|
|
|
165
165
|
validateResourcePolicy(args: ValidateResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<ValidateResourcePolicyCommandOutput>;
|
|
166
166
|
validateResourcePolicy(args: ValidateResourcePolicyCommandInput, cb: (err: any, data?: ValidateResourcePolicyCommandOutput) => void): void;
|
|
167
167
|
validateResourcePolicy(args: ValidateResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ValidateResourcePolicyCommandOutput) => void): void;
|
|
168
|
+
/**
|
|
169
|
+
* @see {@link BatchGetSecretValueCommand}
|
|
170
|
+
* @param args - command input.
|
|
171
|
+
* @param paginationConfig - optional pagination config.
|
|
172
|
+
* @returns AsyncIterable of {@link BatchGetSecretValueCommandOutput}.
|
|
173
|
+
*/
|
|
174
|
+
paginateBatchGetSecretValue(args?: BatchGetSecretValueCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<BatchGetSecretValueCommandOutput>;
|
|
175
|
+
/**
|
|
176
|
+
* @see {@link ListSecretsCommand}
|
|
177
|
+
* @param args - command input.
|
|
178
|
+
* @param paginationConfig - optional pagination config.
|
|
179
|
+
* @returns AsyncIterable of {@link ListSecretsCommandOutput}.
|
|
180
|
+
*/
|
|
181
|
+
paginateListSecrets(args?: ListSecretsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSecretsCommandOutput>;
|
|
182
|
+
/**
|
|
183
|
+
* @see {@link ListSecretVersionIdsCommand}
|
|
184
|
+
* @param args - command input.
|
|
185
|
+
* @param paginationConfig - optional pagination config.
|
|
186
|
+
* @returns AsyncIterable of {@link ListSecretVersionIdsCommandOutput}.
|
|
187
|
+
*/
|
|
188
|
+
paginateListSecretVersionIds(args: ListSecretVersionIdsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSecretVersionIdsCommandOutput>;
|
|
168
189
|
}
|
|
169
190
|
/**
|
|
170
191
|
* <fullname>Amazon Web Services Secrets Manager</fullname>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
BatchGetSecretValueCommandInput,
|
|
4
8
|
BatchGetSecretValueCommandOutput,
|
|
@@ -395,6 +399,27 @@ export interface SecretsManager {
|
|
|
395
399
|
options: __HttpHandlerOptions,
|
|
396
400
|
cb: (err: any, data?: ValidateResourcePolicyCommandOutput) => void
|
|
397
401
|
): void;
|
|
402
|
+
paginateBatchGetSecretValue(
|
|
403
|
+
args?: BatchGetSecretValueCommandInput,
|
|
404
|
+
paginationConfig?: Pick<
|
|
405
|
+
PaginationConfiguration,
|
|
406
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
407
|
+
>
|
|
408
|
+
): Paginator<BatchGetSecretValueCommandOutput>;
|
|
409
|
+
paginateListSecrets(
|
|
410
|
+
args?: ListSecretsCommandInput,
|
|
411
|
+
paginationConfig?: Pick<
|
|
412
|
+
PaginationConfiguration,
|
|
413
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
414
|
+
>
|
|
415
|
+
): Paginator<ListSecretsCommandOutput>;
|
|
416
|
+
paginateListSecretVersionIds(
|
|
417
|
+
args: ListSecretVersionIdsCommandInput,
|
|
418
|
+
paginationConfig?: Pick<
|
|
419
|
+
PaginationConfiguration,
|
|
420
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
421
|
+
>
|
|
422
|
+
): Paginator<ListSecretVersionIdsCommandOutput>;
|
|
398
423
|
}
|
|
399
424
|
export declare class SecretsManager
|
|
400
425
|
extends SecretsManagerClient
|
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.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-secrets-manager",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|