@aws-sdk/client-managedblockchain 3.299.0 → 3.301.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/commands/CreateAccessorCommand.d.ts +7 -0
- package/dist-types/commands/CreateMemberCommand.d.ts +28 -0
- package/dist-types/commands/CreateNetworkCommand.d.ts +45 -0
- package/dist-types/commands/CreateNodeCommand.d.ts +27 -0
- package/dist-types/commands/CreateProposalCommand.d.ts +21 -0
- package/dist-types/commands/DeleteAccessorCommand.d.ts +3 -0
- package/dist-types/commands/DeleteMemberCommand.d.ts +4 -0
- package/dist-types/commands/DeleteNodeCommand.d.ts +5 -0
- package/dist-types/commands/GetAccessorCommand.d.ts +3 -0
- package/dist-types/commands/GetMemberCommand.d.ts +4 -0
- package/dist-types/commands/GetNetworkCommand.d.ts +3 -0
- package/dist-types/commands/GetNodeCommand.d.ts +5 -0
- package/dist-types/commands/GetProposalCommand.d.ts +4 -0
- package/dist-types/commands/ListAccessorsCommand.d.ts +4 -0
- package/dist-types/commands/ListInvitationsCommand.d.ts +4 -0
- package/dist-types/commands/ListMembersCommand.d.ts +8 -0
- package/dist-types/commands/ListNetworksCommand.d.ts +7 -0
- package/dist-types/commands/ListNodesCommand.d.ts +7 -0
- package/dist-types/commands/ListProposalVotesCommand.d.ts +6 -0
- package/dist-types/commands/ListProposalsCommand.d.ts +5 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/RejectInvitationCommand.d.ts +3 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateMemberCommand.d.ts +13 -0
- package/dist-types/commands/UpdateNodeCommand.d.ts +19 -0
- package/dist-types/commands/VoteOnProposalCommand.d.ts +6 -0
- package/package.json +8 -8
|
@@ -27,6 +27,13 @@ export interface CreateAccessorCommandOutput extends CreateAccessorOutput, __Met
|
|
|
27
27
|
* import { ManagedBlockchainClient, CreateAccessorCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
28
28
|
* // const { ManagedBlockchainClient, CreateAccessorCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
29
29
|
* const client = new ManagedBlockchainClient(config);
|
|
30
|
+
* const input = { // CreateAccessorInput
|
|
31
|
+
* ClientRequestToken: "STRING_VALUE", // required
|
|
32
|
+
* AccessorType: "BILLING_TOKEN", // required
|
|
33
|
+
* Tags: { // InputTagMap
|
|
34
|
+
* "<keys>": "STRING_VALUE",
|
|
35
|
+
* },
|
|
36
|
+
* };
|
|
30
37
|
* const command = new CreateAccessorCommand(input);
|
|
31
38
|
* const response = await client.send(command);
|
|
32
39
|
* ```
|
|
@@ -27,6 +27,34 @@ export interface CreateMemberCommandOutput extends CreateMemberOutput, __Metadat
|
|
|
27
27
|
* import { ManagedBlockchainClient, CreateMemberCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
28
28
|
* // const { ManagedBlockchainClient, CreateMemberCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
29
29
|
* const client = new ManagedBlockchainClient(config);
|
|
30
|
+
* const input = { // CreateMemberInput
|
|
31
|
+
* ClientRequestToken: "STRING_VALUE", // required
|
|
32
|
+
* InvitationId: "STRING_VALUE", // required
|
|
33
|
+
* NetworkId: "STRING_VALUE", // required
|
|
34
|
+
* MemberConfiguration: { // MemberConfiguration
|
|
35
|
+
* Name: "STRING_VALUE", // required
|
|
36
|
+
* Description: "STRING_VALUE",
|
|
37
|
+
* FrameworkConfiguration: { // MemberFrameworkConfiguration
|
|
38
|
+
* Fabric: { // MemberFabricConfiguration
|
|
39
|
+
* AdminUsername: "STRING_VALUE", // required
|
|
40
|
+
* AdminPassword: "STRING_VALUE", // required
|
|
41
|
+
* },
|
|
42
|
+
* },
|
|
43
|
+
* LogPublishingConfiguration: { // MemberLogPublishingConfiguration
|
|
44
|
+
* Fabric: { // MemberFabricLogPublishingConfiguration
|
|
45
|
+
* CaLogs: { // LogConfigurations
|
|
46
|
+
* Cloudwatch: { // LogConfiguration
|
|
47
|
+
* Enabled: true || false,
|
|
48
|
+
* },
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
52
|
+
* Tags: { // InputTagMap
|
|
53
|
+
* "<keys>": "STRING_VALUE",
|
|
54
|
+
* },
|
|
55
|
+
* KmsKeyArn: "STRING_VALUE",
|
|
56
|
+
* },
|
|
57
|
+
* };
|
|
30
58
|
* const command = new CreateMemberCommand(input);
|
|
31
59
|
* const response = await client.send(command);
|
|
32
60
|
* ```
|
|
@@ -27,6 +27,51 @@ export interface CreateNetworkCommandOutput extends CreateNetworkOutput, __Metad
|
|
|
27
27
|
* import { ManagedBlockchainClient, CreateNetworkCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
28
28
|
* // const { ManagedBlockchainClient, CreateNetworkCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
29
29
|
* const client = new ManagedBlockchainClient(config);
|
|
30
|
+
* const input = { // CreateNetworkInput
|
|
31
|
+
* ClientRequestToken: "STRING_VALUE", // required
|
|
32
|
+
* Name: "STRING_VALUE", // required
|
|
33
|
+
* Description: "STRING_VALUE",
|
|
34
|
+
* Framework: "HYPERLEDGER_FABRIC" || "ETHEREUM", // required
|
|
35
|
+
* FrameworkVersion: "STRING_VALUE", // required
|
|
36
|
+
* FrameworkConfiguration: { // NetworkFrameworkConfiguration
|
|
37
|
+
* Fabric: { // NetworkFabricConfiguration
|
|
38
|
+
* Edition: "STARTER" || "STANDARD", // required
|
|
39
|
+
* },
|
|
40
|
+
* },
|
|
41
|
+
* VotingPolicy: { // VotingPolicy
|
|
42
|
+
* ApprovalThresholdPolicy: { // ApprovalThresholdPolicy
|
|
43
|
+
* ThresholdPercentage: Number("int"),
|
|
44
|
+
* ProposalDurationInHours: Number("int"),
|
|
45
|
+
* ThresholdComparator: "GREATER_THAN" || "GREATER_THAN_OR_EQUAL_TO",
|
|
46
|
+
* },
|
|
47
|
+
* },
|
|
48
|
+
* MemberConfiguration: { // MemberConfiguration
|
|
49
|
+
* Name: "STRING_VALUE", // required
|
|
50
|
+
* Description: "STRING_VALUE",
|
|
51
|
+
* FrameworkConfiguration: { // MemberFrameworkConfiguration
|
|
52
|
+
* Fabric: { // MemberFabricConfiguration
|
|
53
|
+
* AdminUsername: "STRING_VALUE", // required
|
|
54
|
+
* AdminPassword: "STRING_VALUE", // required
|
|
55
|
+
* },
|
|
56
|
+
* },
|
|
57
|
+
* LogPublishingConfiguration: { // MemberLogPublishingConfiguration
|
|
58
|
+
* Fabric: { // MemberFabricLogPublishingConfiguration
|
|
59
|
+
* CaLogs: { // LogConfigurations
|
|
60
|
+
* Cloudwatch: { // LogConfiguration
|
|
61
|
+
* Enabled: true || false,
|
|
62
|
+
* },
|
|
63
|
+
* },
|
|
64
|
+
* },
|
|
65
|
+
* },
|
|
66
|
+
* Tags: { // InputTagMap
|
|
67
|
+
* "<keys>": "STRING_VALUE",
|
|
68
|
+
* },
|
|
69
|
+
* KmsKeyArn: "STRING_VALUE",
|
|
70
|
+
* },
|
|
71
|
+
* Tags: {
|
|
72
|
+
* "<keys>": "STRING_VALUE",
|
|
73
|
+
* },
|
|
74
|
+
* };
|
|
30
75
|
* const command = new CreateNetworkCommand(input);
|
|
31
76
|
* const response = await client.send(command);
|
|
32
77
|
* ```
|
|
@@ -27,6 +27,33 @@ export interface CreateNodeCommandOutput extends CreateNodeOutput, __MetadataBea
|
|
|
27
27
|
* import { ManagedBlockchainClient, CreateNodeCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
28
28
|
* // const { ManagedBlockchainClient, CreateNodeCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
29
29
|
* const client = new ManagedBlockchainClient(config);
|
|
30
|
+
* const input = { // CreateNodeInput
|
|
31
|
+
* ClientRequestToken: "STRING_VALUE", // required
|
|
32
|
+
* NetworkId: "STRING_VALUE", // required
|
|
33
|
+
* MemberId: "STRING_VALUE",
|
|
34
|
+
* NodeConfiguration: { // NodeConfiguration
|
|
35
|
+
* InstanceType: "STRING_VALUE", // required
|
|
36
|
+
* AvailabilityZone: "STRING_VALUE",
|
|
37
|
+
* LogPublishingConfiguration: { // NodeLogPublishingConfiguration
|
|
38
|
+
* Fabric: { // NodeFabricLogPublishingConfiguration
|
|
39
|
+
* ChaincodeLogs: { // LogConfigurations
|
|
40
|
+
* Cloudwatch: { // LogConfiguration
|
|
41
|
+
* Enabled: true || false,
|
|
42
|
+
* },
|
|
43
|
+
* },
|
|
44
|
+
* PeerLogs: {
|
|
45
|
+
* Cloudwatch: {
|
|
46
|
+
* Enabled: true || false,
|
|
47
|
+
* },
|
|
48
|
+
* },
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* StateDB: "LevelDB" || "CouchDB",
|
|
52
|
+
* },
|
|
53
|
+
* Tags: { // InputTagMap
|
|
54
|
+
* "<keys>": "STRING_VALUE",
|
|
55
|
+
* },
|
|
56
|
+
* };
|
|
30
57
|
* const command = new CreateNodeCommand(input);
|
|
31
58
|
* const response = await client.send(command);
|
|
32
59
|
* ```
|
|
@@ -27,6 +27,27 @@ export interface CreateProposalCommandOutput extends CreateProposalOutput, __Met
|
|
|
27
27
|
* import { ManagedBlockchainClient, CreateProposalCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
28
28
|
* // const { ManagedBlockchainClient, CreateProposalCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
29
29
|
* const client = new ManagedBlockchainClient(config);
|
|
30
|
+
* const input = { // CreateProposalInput
|
|
31
|
+
* ClientRequestToken: "STRING_VALUE", // required
|
|
32
|
+
* NetworkId: "STRING_VALUE", // required
|
|
33
|
+
* MemberId: "STRING_VALUE", // required
|
|
34
|
+
* Actions: { // ProposalActions
|
|
35
|
+
* Invitations: [ // InviteActionList
|
|
36
|
+
* { // InviteAction
|
|
37
|
+
* Principal: "STRING_VALUE", // required
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* Removals: [ // RemoveActionList
|
|
41
|
+
* { // RemoveAction
|
|
42
|
+
* MemberId: "STRING_VALUE", // required
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* },
|
|
46
|
+
* Description: "STRING_VALUE",
|
|
47
|
+
* Tags: { // InputTagMap
|
|
48
|
+
* "<keys>": "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* };
|
|
30
51
|
* const command = new CreateProposalCommand(input);
|
|
31
52
|
* const response = await client.send(command);
|
|
32
53
|
* ```
|
|
@@ -32,6 +32,9 @@ export interface DeleteAccessorCommandOutput extends DeleteAccessorOutput, __Met
|
|
|
32
32
|
* import { ManagedBlockchainClient, DeleteAccessorCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
33
33
|
* // const { ManagedBlockchainClient, DeleteAccessorCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
34
34
|
* const client = new ManagedBlockchainClient(config);
|
|
35
|
+
* const input = { // DeleteAccessorInput
|
|
36
|
+
* AccessorId: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
35
38
|
* const command = new DeleteAccessorCommand(input);
|
|
36
39
|
* const response = await client.send(command);
|
|
37
40
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface DeleteMemberCommandOutput extends DeleteMemberOutput, __Metadat
|
|
|
27
27
|
* import { ManagedBlockchainClient, DeleteMemberCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
28
28
|
* // const { ManagedBlockchainClient, DeleteMemberCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
29
29
|
* const client = new ManagedBlockchainClient(config);
|
|
30
|
+
* const input = { // DeleteMemberInput
|
|
31
|
+
* NetworkId: "STRING_VALUE", // required
|
|
32
|
+
* MemberId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
30
34
|
* const command = new DeleteMemberCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface DeleteNodeCommandOutput extends DeleteNodeOutput, __MetadataBea
|
|
|
27
27
|
* import { ManagedBlockchainClient, DeleteNodeCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
28
28
|
* // const { ManagedBlockchainClient, DeleteNodeCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
29
29
|
* const client = new ManagedBlockchainClient(config);
|
|
30
|
+
* const input = { // DeleteNodeInput
|
|
31
|
+
* NetworkId: "STRING_VALUE", // required
|
|
32
|
+
* MemberId: "STRING_VALUE",
|
|
33
|
+
* NodeId: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
30
35
|
* const command = new DeleteNodeCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetAccessorCommandOutput extends GetAccessorOutput, __MetadataB
|
|
|
27
27
|
* import { ManagedBlockchainClient, GetAccessorCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
28
28
|
* // const { ManagedBlockchainClient, GetAccessorCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
29
29
|
* const client = new ManagedBlockchainClient(config);
|
|
30
|
+
* const input = { // GetAccessorInput
|
|
31
|
+
* AccessorId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetAccessorCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface GetMemberCommandOutput extends GetMemberOutput, __MetadataBeare
|
|
|
27
27
|
* import { ManagedBlockchainClient, GetMemberCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
28
28
|
* // const { ManagedBlockchainClient, GetMemberCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
29
29
|
* const client = new ManagedBlockchainClient(config);
|
|
30
|
+
* const input = { // GetMemberInput
|
|
31
|
+
* NetworkId: "STRING_VALUE", // required
|
|
32
|
+
* MemberId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
30
34
|
* const command = new GetMemberCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetNetworkCommandOutput extends GetNetworkOutput, __MetadataBea
|
|
|
27
27
|
* import { ManagedBlockchainClient, GetNetworkCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
28
28
|
* // const { ManagedBlockchainClient, GetNetworkCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
29
29
|
* const client = new ManagedBlockchainClient(config);
|
|
30
|
+
* const input = { // GetNetworkInput
|
|
31
|
+
* NetworkId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetNetworkCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface GetNodeCommandOutput extends GetNodeOutput, __MetadataBearer {
|
|
|
27
27
|
* import { ManagedBlockchainClient, GetNodeCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
28
28
|
* // const { ManagedBlockchainClient, GetNodeCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
29
29
|
* const client = new ManagedBlockchainClient(config);
|
|
30
|
+
* const input = { // GetNodeInput
|
|
31
|
+
* NetworkId: "STRING_VALUE", // required
|
|
32
|
+
* MemberId: "STRING_VALUE",
|
|
33
|
+
* NodeId: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
30
35
|
* const command = new GetNodeCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface GetProposalCommandOutput extends GetProposalOutput, __MetadataB
|
|
|
27
27
|
* import { ManagedBlockchainClient, GetProposalCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
28
28
|
* // const { ManagedBlockchainClient, GetProposalCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
29
29
|
* const client = new ManagedBlockchainClient(config);
|
|
30
|
+
* const input = { // GetProposalInput
|
|
31
|
+
* NetworkId: "STRING_VALUE", // required
|
|
32
|
+
* ProposalId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
30
34
|
* const command = new GetProposalCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface ListAccessorsCommandOutput extends ListAccessorsOutput, __Metad
|
|
|
27
27
|
* import { ManagedBlockchainClient, ListAccessorsCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
28
28
|
* // const { ManagedBlockchainClient, ListAccessorsCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
29
29
|
* const client = new ManagedBlockchainClient(config);
|
|
30
|
+
* const input = { // ListAccessorsInput
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
30
34
|
* const command = new ListAccessorsCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface ListInvitationsCommandOutput extends ListInvitationsOutput, __M
|
|
|
27
27
|
* import { ManagedBlockchainClient, ListInvitationsCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
28
28
|
* // const { ManagedBlockchainClient, ListInvitationsCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
29
29
|
* const client = new ManagedBlockchainClient(config);
|
|
30
|
+
* const input = { // ListInvitationsInput
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
30
34
|
* const command = new ListInvitationsCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -27,6 +27,14 @@ export interface ListMembersCommandOutput extends ListMembersOutput, __MetadataB
|
|
|
27
27
|
* import { ManagedBlockchainClient, ListMembersCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
28
28
|
* // const { ManagedBlockchainClient, ListMembersCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
29
29
|
* const client = new ManagedBlockchainClient(config);
|
|
30
|
+
* const input = { // ListMembersInput
|
|
31
|
+
* NetworkId: "STRING_VALUE", // required
|
|
32
|
+
* Name: "STRING_VALUE",
|
|
33
|
+
* Status: "CREATING" || "AVAILABLE" || "CREATE_FAILED" || "UPDATING" || "DELETING" || "DELETED" || "INACCESSIBLE_ENCRYPTION_KEY",
|
|
34
|
+
* IsOwned: true || false,
|
|
35
|
+
* MaxResults: Number("int"),
|
|
36
|
+
* NextToken: "STRING_VALUE",
|
|
37
|
+
* };
|
|
30
38
|
* const command = new ListMembersCommand(input);
|
|
31
39
|
* const response = await client.send(command);
|
|
32
40
|
* ```
|
|
@@ -27,6 +27,13 @@ export interface ListNetworksCommandOutput extends ListNetworksOutput, __Metadat
|
|
|
27
27
|
* import { ManagedBlockchainClient, ListNetworksCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
28
28
|
* // const { ManagedBlockchainClient, ListNetworksCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
29
29
|
* const client = new ManagedBlockchainClient(config);
|
|
30
|
+
* const input = { // ListNetworksInput
|
|
31
|
+
* Name: "STRING_VALUE",
|
|
32
|
+
* Framework: "HYPERLEDGER_FABRIC" || "ETHEREUM",
|
|
33
|
+
* Status: "CREATING" || "AVAILABLE" || "CREATE_FAILED" || "DELETING" || "DELETED",
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* NextToken: "STRING_VALUE",
|
|
36
|
+
* };
|
|
30
37
|
* const command = new ListNetworksCommand(input);
|
|
31
38
|
* const response = await client.send(command);
|
|
32
39
|
* ```
|
|
@@ -27,6 +27,13 @@ export interface ListNodesCommandOutput extends ListNodesOutput, __MetadataBeare
|
|
|
27
27
|
* import { ManagedBlockchainClient, ListNodesCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
28
28
|
* // const { ManagedBlockchainClient, ListNodesCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
29
29
|
* const client = new ManagedBlockchainClient(config);
|
|
30
|
+
* const input = { // ListNodesInput
|
|
31
|
+
* NetworkId: "STRING_VALUE", // required
|
|
32
|
+
* MemberId: "STRING_VALUE",
|
|
33
|
+
* Status: "CREATING" || "AVAILABLE" || "UNHEALTHY" || "CREATE_FAILED" || "UPDATING" || "DELETING" || "DELETED" || "FAILED" || "INACCESSIBLE_ENCRYPTION_KEY",
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* NextToken: "STRING_VALUE",
|
|
36
|
+
* };
|
|
30
37
|
* const command = new ListNodesCommand(input);
|
|
31
38
|
* const response = await client.send(command);
|
|
32
39
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface ListProposalVotesCommandOutput extends ListProposalVotesOutput,
|
|
|
27
27
|
* import { ManagedBlockchainClient, ListProposalVotesCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
28
28
|
* // const { ManagedBlockchainClient, ListProposalVotesCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
29
29
|
* const client = new ManagedBlockchainClient(config);
|
|
30
|
+
* const input = { // ListProposalVotesInput
|
|
31
|
+
* NetworkId: "STRING_VALUE", // required
|
|
32
|
+
* ProposalId: "STRING_VALUE", // required
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* };
|
|
30
36
|
* const command = new ListProposalVotesCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface ListProposalsCommandOutput extends ListProposalsOutput, __Metad
|
|
|
27
27
|
* import { ManagedBlockchainClient, ListProposalsCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
28
28
|
* // const { ManagedBlockchainClient, ListProposalsCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
29
29
|
* const client = new ManagedBlockchainClient(config);
|
|
30
|
+
* const input = { // ListProposalsInput
|
|
31
|
+
* NetworkId: "STRING_VALUE", // required
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListProposalsCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
27
27
|
* import { ManagedBlockchainClient, ListTagsForResourceCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
28
28
|
* // const { ManagedBlockchainClient, ListTagsForResourceCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
29
29
|
* const client = new ManagedBlockchainClient(config);
|
|
30
|
+
* const input = { // ListTagsForResourceRequest
|
|
31
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new ListTagsForResourceCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface RejectInvitationCommandOutput extends RejectInvitationOutput, _
|
|
|
27
27
|
* import { ManagedBlockchainClient, RejectInvitationCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
28
28
|
* // const { ManagedBlockchainClient, RejectInvitationCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
29
29
|
* const client = new ManagedBlockchainClient(config);
|
|
30
|
+
* const input = { // RejectInvitationInput
|
|
31
|
+
* InvitationId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new RejectInvitationCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -29,6 +29,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
29
29
|
* import { ManagedBlockchainClient, TagResourceCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
30
30
|
* // const { ManagedBlockchainClient, TagResourceCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
31
31
|
* const client = new ManagedBlockchainClient(config);
|
|
32
|
+
* const input = { // TagResourceRequest
|
|
33
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
34
|
+
* Tags: { // InputTagMap // required
|
|
35
|
+
* "<keys>": "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* };
|
|
32
38
|
* const command = new TagResourceCommand(input);
|
|
33
39
|
* const response = await client.send(command);
|
|
34
40
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
27
27
|
* import { ManagedBlockchainClient, UntagResourceCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
28
28
|
* // const { ManagedBlockchainClient, UntagResourceCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
29
29
|
* const client = new ManagedBlockchainClient(config);
|
|
30
|
+
* const input = { // UntagResourceRequest
|
|
31
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
32
|
+
* TagKeys: [ // TagKeyList // required
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* };
|
|
30
36
|
* const command = new UntagResourceCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -27,6 +27,19 @@ export interface UpdateMemberCommandOutput extends UpdateMemberOutput, __Metadat
|
|
|
27
27
|
* import { ManagedBlockchainClient, UpdateMemberCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
28
28
|
* // const { ManagedBlockchainClient, UpdateMemberCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
29
29
|
* const client = new ManagedBlockchainClient(config);
|
|
30
|
+
* const input = { // UpdateMemberInput
|
|
31
|
+
* NetworkId: "STRING_VALUE", // required
|
|
32
|
+
* MemberId: "STRING_VALUE", // required
|
|
33
|
+
* LogPublishingConfiguration: { // MemberLogPublishingConfiguration
|
|
34
|
+
* Fabric: { // MemberFabricLogPublishingConfiguration
|
|
35
|
+
* CaLogs: { // LogConfigurations
|
|
36
|
+
* Cloudwatch: { // LogConfiguration
|
|
37
|
+
* Enabled: true || false,
|
|
38
|
+
* },
|
|
39
|
+
* },
|
|
40
|
+
* },
|
|
41
|
+
* },
|
|
42
|
+
* };
|
|
30
43
|
* const command = new UpdateMemberCommand(input);
|
|
31
44
|
* const response = await client.send(command);
|
|
32
45
|
* ```
|
|
@@ -27,6 +27,25 @@ export interface UpdateNodeCommandOutput extends UpdateNodeOutput, __MetadataBea
|
|
|
27
27
|
* import { ManagedBlockchainClient, UpdateNodeCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
28
28
|
* // const { ManagedBlockchainClient, UpdateNodeCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
29
29
|
* const client = new ManagedBlockchainClient(config);
|
|
30
|
+
* const input = { // UpdateNodeInput
|
|
31
|
+
* NetworkId: "STRING_VALUE", // required
|
|
32
|
+
* MemberId: "STRING_VALUE",
|
|
33
|
+
* NodeId: "STRING_VALUE", // required
|
|
34
|
+
* LogPublishingConfiguration: { // NodeLogPublishingConfiguration
|
|
35
|
+
* Fabric: { // NodeFabricLogPublishingConfiguration
|
|
36
|
+
* ChaincodeLogs: { // LogConfigurations
|
|
37
|
+
* Cloudwatch: { // LogConfiguration
|
|
38
|
+
* Enabled: true || false,
|
|
39
|
+
* },
|
|
40
|
+
* },
|
|
41
|
+
* PeerLogs: {
|
|
42
|
+
* Cloudwatch: {
|
|
43
|
+
* Enabled: true || false,
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* },
|
|
47
|
+
* },
|
|
48
|
+
* };
|
|
30
49
|
* const command = new UpdateNodeCommand(input);
|
|
31
50
|
* const response = await client.send(command);
|
|
32
51
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface VoteOnProposalCommandOutput extends VoteOnProposalOutput, __Met
|
|
|
27
27
|
* import { ManagedBlockchainClient, VoteOnProposalCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
28
28
|
* // const { ManagedBlockchainClient, VoteOnProposalCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
29
29
|
* const client = new ManagedBlockchainClient(config);
|
|
30
|
+
* const input = { // VoteOnProposalInput
|
|
31
|
+
* NetworkId: "STRING_VALUE", // required
|
|
32
|
+
* ProposalId: "STRING_VALUE", // required
|
|
33
|
+
* VoterMemberId: "STRING_VALUE", // required
|
|
34
|
+
* Vote: "YES" || "NO", // required
|
|
35
|
+
* };
|
|
30
36
|
* const command = new VoteOnProposalCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
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.301.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,9 +21,9 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2"
|