@aws-sdk/client-managedblockchain 3.975.0 → 3.980.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
|
@@ -1438,6 +1438,20 @@ class VoteOnProposalCommand extends smithyClient.Command
|
|
|
1438
1438
|
.build() {
|
|
1439
1439
|
}
|
|
1440
1440
|
|
|
1441
|
+
const paginateListAccessors = core.createPaginator(ManagedBlockchainClient, ListAccessorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1442
|
+
|
|
1443
|
+
const paginateListInvitations = core.createPaginator(ManagedBlockchainClient, ListInvitationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1444
|
+
|
|
1445
|
+
const paginateListMembers = core.createPaginator(ManagedBlockchainClient, ListMembersCommand, "NextToken", "NextToken", "MaxResults");
|
|
1446
|
+
|
|
1447
|
+
const paginateListNetworks = core.createPaginator(ManagedBlockchainClient, ListNetworksCommand, "NextToken", "NextToken", "MaxResults");
|
|
1448
|
+
|
|
1449
|
+
const paginateListNodes = core.createPaginator(ManagedBlockchainClient, ListNodesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1450
|
+
|
|
1451
|
+
const paginateListProposals = core.createPaginator(ManagedBlockchainClient, ListProposalsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1452
|
+
|
|
1453
|
+
const paginateListProposalVotes = core.createPaginator(ManagedBlockchainClient, ListProposalVotesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1454
|
+
|
|
1441
1455
|
const commands = {
|
|
1442
1456
|
CreateAccessorCommand,
|
|
1443
1457
|
CreateMemberCommand,
|
|
@@ -1467,23 +1481,18 @@ const commands = {
|
|
|
1467
1481
|
UpdateNodeCommand,
|
|
1468
1482
|
VoteOnProposalCommand,
|
|
1469
1483
|
};
|
|
1484
|
+
const paginators = {
|
|
1485
|
+
paginateListAccessors,
|
|
1486
|
+
paginateListInvitations,
|
|
1487
|
+
paginateListMembers,
|
|
1488
|
+
paginateListNetworks,
|
|
1489
|
+
paginateListNodes,
|
|
1490
|
+
paginateListProposals,
|
|
1491
|
+
paginateListProposalVotes,
|
|
1492
|
+
};
|
|
1470
1493
|
class ManagedBlockchain extends ManagedBlockchainClient {
|
|
1471
1494
|
}
|
|
1472
|
-
smithyClient.createAggregatedClient(commands, ManagedBlockchain);
|
|
1473
|
-
|
|
1474
|
-
const paginateListAccessors = core.createPaginator(ManagedBlockchainClient, ListAccessorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1475
|
-
|
|
1476
|
-
const paginateListInvitations = core.createPaginator(ManagedBlockchainClient, ListInvitationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1477
|
-
|
|
1478
|
-
const paginateListMembers = core.createPaginator(ManagedBlockchainClient, ListMembersCommand, "NextToken", "NextToken", "MaxResults");
|
|
1479
|
-
|
|
1480
|
-
const paginateListNetworks = core.createPaginator(ManagedBlockchainClient, ListNetworksCommand, "NextToken", "NextToken", "MaxResults");
|
|
1481
|
-
|
|
1482
|
-
const paginateListNodes = core.createPaginator(ManagedBlockchainClient, ListNodesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1483
|
-
|
|
1484
|
-
const paginateListProposals = core.createPaginator(ManagedBlockchainClient, ListProposalsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1485
|
-
|
|
1486
|
-
const paginateListProposalVotes = core.createPaginator(ManagedBlockchainClient, ListProposalVotesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1495
|
+
smithyClient.createAggregatedClient(commands, ManagedBlockchain, { paginators });
|
|
1487
1496
|
|
|
1488
1497
|
const AccessorNetworkType = {
|
|
1489
1498
|
ETHEREUM_GOERLI: "ETHEREUM_GOERLI",
|
|
@@ -27,6 +27,13 @@ import { UpdateMemberCommand, } from "./commands/UpdateMemberCommand";
|
|
|
27
27
|
import { UpdateNodeCommand } from "./commands/UpdateNodeCommand";
|
|
28
28
|
import { VoteOnProposalCommand, } from "./commands/VoteOnProposalCommand";
|
|
29
29
|
import { ManagedBlockchainClient } from "./ManagedBlockchainClient";
|
|
30
|
+
import { paginateListAccessors } from "./pagination/ListAccessorsPaginator";
|
|
31
|
+
import { paginateListInvitations } from "./pagination/ListInvitationsPaginator";
|
|
32
|
+
import { paginateListMembers } from "./pagination/ListMembersPaginator";
|
|
33
|
+
import { paginateListNetworks } from "./pagination/ListNetworksPaginator";
|
|
34
|
+
import { paginateListNodes } from "./pagination/ListNodesPaginator";
|
|
35
|
+
import { paginateListProposals } from "./pagination/ListProposalsPaginator";
|
|
36
|
+
import { paginateListProposalVotes } from "./pagination/ListProposalVotesPaginator";
|
|
30
37
|
const commands = {
|
|
31
38
|
CreateAccessorCommand,
|
|
32
39
|
CreateMemberCommand,
|
|
@@ -56,6 +63,15 @@ const commands = {
|
|
|
56
63
|
UpdateNodeCommand,
|
|
57
64
|
VoteOnProposalCommand,
|
|
58
65
|
};
|
|
66
|
+
const paginators = {
|
|
67
|
+
paginateListAccessors,
|
|
68
|
+
paginateListInvitations,
|
|
69
|
+
paginateListMembers,
|
|
70
|
+
paginateListNetworks,
|
|
71
|
+
paginateListNodes,
|
|
72
|
+
paginateListProposals,
|
|
73
|
+
paginateListProposalVotes,
|
|
74
|
+
};
|
|
59
75
|
export class ManagedBlockchain extends ManagedBlockchainClient {
|
|
60
76
|
}
|
|
61
|
-
createAggregatedClient(commands, ManagedBlockchain);
|
|
77
|
+
createAggregatedClient(commands, ManagedBlockchain, { 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 { CreateAccessorCommandInput, CreateAccessorCommandOutput } from "./commands/CreateAccessorCommand";
|
|
3
3
|
import { CreateMemberCommandInput, CreateMemberCommandOutput } from "./commands/CreateMemberCommand";
|
|
4
4
|
import { CreateNetworkCommandInput, CreateNetworkCommandOutput } from "./commands/CreateNetworkCommand";
|
|
@@ -193,6 +193,55 @@ export interface ManagedBlockchain {
|
|
|
193
193
|
voteOnProposal(args: VoteOnProposalCommandInput, options?: __HttpHandlerOptions): Promise<VoteOnProposalCommandOutput>;
|
|
194
194
|
voteOnProposal(args: VoteOnProposalCommandInput, cb: (err: any, data?: VoteOnProposalCommandOutput) => void): void;
|
|
195
195
|
voteOnProposal(args: VoteOnProposalCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: VoteOnProposalCommandOutput) => void): void;
|
|
196
|
+
/**
|
|
197
|
+
* @see {@link ListAccessorsCommand}
|
|
198
|
+
* @param args - command input.
|
|
199
|
+
* @param paginationConfig - optional pagination config.
|
|
200
|
+
* @returns AsyncIterable of {@link ListAccessorsCommandOutput}.
|
|
201
|
+
*/
|
|
202
|
+
paginateListAccessors(args?: ListAccessorsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAccessorsCommandOutput>;
|
|
203
|
+
/**
|
|
204
|
+
* @see {@link ListInvitationsCommand}
|
|
205
|
+
* @param args - command input.
|
|
206
|
+
* @param paginationConfig - optional pagination config.
|
|
207
|
+
* @returns AsyncIterable of {@link ListInvitationsCommandOutput}.
|
|
208
|
+
*/
|
|
209
|
+
paginateListInvitations(args?: ListInvitationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListInvitationsCommandOutput>;
|
|
210
|
+
/**
|
|
211
|
+
* @see {@link ListMembersCommand}
|
|
212
|
+
* @param args - command input.
|
|
213
|
+
* @param paginationConfig - optional pagination config.
|
|
214
|
+
* @returns AsyncIterable of {@link ListMembersCommandOutput}.
|
|
215
|
+
*/
|
|
216
|
+
paginateListMembers(args: ListMembersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListMembersCommandOutput>;
|
|
217
|
+
/**
|
|
218
|
+
* @see {@link ListNetworksCommand}
|
|
219
|
+
* @param args - command input.
|
|
220
|
+
* @param paginationConfig - optional pagination config.
|
|
221
|
+
* @returns AsyncIterable of {@link ListNetworksCommandOutput}.
|
|
222
|
+
*/
|
|
223
|
+
paginateListNetworks(args?: ListNetworksCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListNetworksCommandOutput>;
|
|
224
|
+
/**
|
|
225
|
+
* @see {@link ListNodesCommand}
|
|
226
|
+
* @param args - command input.
|
|
227
|
+
* @param paginationConfig - optional pagination config.
|
|
228
|
+
* @returns AsyncIterable of {@link ListNodesCommandOutput}.
|
|
229
|
+
*/
|
|
230
|
+
paginateListNodes(args: ListNodesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListNodesCommandOutput>;
|
|
231
|
+
/**
|
|
232
|
+
* @see {@link ListProposalsCommand}
|
|
233
|
+
* @param args - command input.
|
|
234
|
+
* @param paginationConfig - optional pagination config.
|
|
235
|
+
* @returns AsyncIterable of {@link ListProposalsCommandOutput}.
|
|
236
|
+
*/
|
|
237
|
+
paginateListProposals(args: ListProposalsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListProposalsCommandOutput>;
|
|
238
|
+
/**
|
|
239
|
+
* @see {@link ListProposalVotesCommand}
|
|
240
|
+
* @param args - command input.
|
|
241
|
+
* @param paginationConfig - optional pagination config.
|
|
242
|
+
* @returns AsyncIterable of {@link ListProposalVotesCommandOutput}.
|
|
243
|
+
*/
|
|
244
|
+
paginateListProposalVotes(args: ListProposalVotesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListProposalVotesCommandOutput>;
|
|
196
245
|
}
|
|
197
246
|
/**
|
|
198
247
|
* <p></p>
|
|
@@ -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
|
CreateAccessorCommandInput,
|
|
4
8
|
CreateAccessorCommandOutput,
|
|
@@ -463,6 +467,55 @@ export interface ManagedBlockchain {
|
|
|
463
467
|
options: __HttpHandlerOptions,
|
|
464
468
|
cb: (err: any, data?: VoteOnProposalCommandOutput) => void
|
|
465
469
|
): void;
|
|
470
|
+
paginateListAccessors(
|
|
471
|
+
args?: ListAccessorsCommandInput,
|
|
472
|
+
paginationConfig?: Pick<
|
|
473
|
+
PaginationConfiguration,
|
|
474
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
475
|
+
>
|
|
476
|
+
): Paginator<ListAccessorsCommandOutput>;
|
|
477
|
+
paginateListInvitations(
|
|
478
|
+
args?: ListInvitationsCommandInput,
|
|
479
|
+
paginationConfig?: Pick<
|
|
480
|
+
PaginationConfiguration,
|
|
481
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
482
|
+
>
|
|
483
|
+
): Paginator<ListInvitationsCommandOutput>;
|
|
484
|
+
paginateListMembers(
|
|
485
|
+
args: ListMembersCommandInput,
|
|
486
|
+
paginationConfig?: Pick<
|
|
487
|
+
PaginationConfiguration,
|
|
488
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
489
|
+
>
|
|
490
|
+
): Paginator<ListMembersCommandOutput>;
|
|
491
|
+
paginateListNetworks(
|
|
492
|
+
args?: ListNetworksCommandInput,
|
|
493
|
+
paginationConfig?: Pick<
|
|
494
|
+
PaginationConfiguration,
|
|
495
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
496
|
+
>
|
|
497
|
+
): Paginator<ListNetworksCommandOutput>;
|
|
498
|
+
paginateListNodes(
|
|
499
|
+
args: ListNodesCommandInput,
|
|
500
|
+
paginationConfig?: Pick<
|
|
501
|
+
PaginationConfiguration,
|
|
502
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
503
|
+
>
|
|
504
|
+
): Paginator<ListNodesCommandOutput>;
|
|
505
|
+
paginateListProposals(
|
|
506
|
+
args: ListProposalsCommandInput,
|
|
507
|
+
paginationConfig?: Pick<
|
|
508
|
+
PaginationConfiguration,
|
|
509
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
510
|
+
>
|
|
511
|
+
): Paginator<ListProposalsCommandOutput>;
|
|
512
|
+
paginateListProposalVotes(
|
|
513
|
+
args: ListProposalVotesCommandInput,
|
|
514
|
+
paginationConfig?: Pick<
|
|
515
|
+
PaginationConfiguration,
|
|
516
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
517
|
+
>
|
|
518
|
+
): Paginator<ListProposalVotesCommandOutput>;
|
|
466
519
|
}
|
|
467
520
|
export declare class ManagedBlockchain
|
|
468
521
|
extends ManagedBlockchainClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-managedblockchain",
|
|
3
3
|
"description": "AWS SDK for JavaScript Managedblockchain Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.980.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-managedblockchain",
|
|
@@ -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.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.5",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.4",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.5",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.980.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.3",
|
|
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",
|