@aws-sdk/client-managedblockchain 3.33.0 → 3.36.1
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/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/ManagedBlockchain.js +2 -9
- package/dist-cjs/ManagedBlockchainClient.js +35 -0
- package/{dist/cjs → dist-cjs}/commands/CreateMemberCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/CreateNetworkCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/CreateNodeCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/CreateProposalCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/DeleteMemberCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/DeleteNodeCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/GetMemberCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/GetNetworkCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/GetNodeCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/GetProposalCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListInvitationsCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListMembersCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListNetworksCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListNodesCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListProposalVotesCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListProposalsCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/RejectInvitationCommand.js +2 -28
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/UpdateMemberCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/UpdateNodeCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/VoteOnProposalCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -274
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListInvitationsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListMembersPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListNetworksPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListNodesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListProposalVotesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListProposalsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +3 -9
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/ManagedBlockchain.js +3 -10
- package/{dist/es → dist-es}/ManagedBlockchainClient.js +2 -14
- package/{dist/es → dist-es}/commands/CreateMemberCommand.js +4 -31
- package/{dist/es → dist-es}/commands/CreateNetworkCommand.js +4 -31
- package/{dist/es → dist-es}/commands/CreateNodeCommand.js +4 -31
- package/{dist/es → dist-es}/commands/CreateProposalCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DeleteMemberCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DeleteNodeCommand.js +4 -31
- package/{dist/es → dist-es}/commands/GetMemberCommand.js +4 -31
- package/{dist/es → dist-es}/commands/GetNetworkCommand.js +4 -31
- package/{dist/es → dist-es}/commands/GetNodeCommand.js +4 -31
- package/{dist/es → dist-es}/commands/GetProposalCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ListInvitationsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ListMembersCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ListNetworksCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ListNodesCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ListProposalVotesCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ListProposalsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -31
- package/{dist/es → dist-es}/commands/RejectInvitationCommand.js +4 -31
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -31
- package/{dist/es → dist-es}/commands/UpdateMemberCommand.js +4 -31
- package/{dist/es → dist-es}/commands/UpdateNodeCommand.js +4 -31
- package/{dist/es → dist-es}/commands/VoteOnProposalCommand.js +4 -31
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -274
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListInvitationsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListMembersPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListNetworksPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListNodesPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListProposalVotesPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListProposalsPaginator.js +17 -30
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +721 -727
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/ManagedBlockchain.d.ts +3 -3
- package/{dist/types → dist-types}/ManagedBlockchainClient.d.ts +9 -9
- package/{dist/types → dist-types}/commands/CreateMemberCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateNetworkCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateNodeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateProposalCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteMemberCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteNodeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetMemberCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetNetworkCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetNodeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetProposalCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListInvitationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListMembersCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListNetworksCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListNodesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListProposalVotesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListProposalsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RejectInvitationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateMemberCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateNodeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/VoteOnProposalCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListInvitationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListMembersPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListNetworksPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListNodesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListProposalVotesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListProposalsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +3 -3
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/ManagedBlockchain.d.ts +27 -103
- package/{dist/types → dist-types}/ts3.4/ManagedBlockchainClient.d.ts +33 -101
- package/dist-types/ts3.4/commands/CreateMemberCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateNetworkCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateNodeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateProposalCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteMemberCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteNodeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetMemberCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetNetworkCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetNodeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetProposalCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListNetworksCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListNodesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListProposalVotesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListProposalsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RejectInvitationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateMemberCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateNodeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/VoteOnProposalCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1171 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListInvitationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListMembersPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListNetworksPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListNodesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListProposalVotesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListProposalsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +52 -49
- package/ManagedBlockchain.ts +0 -774
- package/ManagedBlockchainClient.ts +0 -310
- package/commands/CreateMemberCommand.ts +0 -99
- package/commands/CreateNetworkCommand.ts +0 -99
- package/commands/CreateNodeCommand.ts +0 -99
- package/commands/CreateProposalCommand.ts +0 -99
- package/commands/DeleteMemberCommand.ts +0 -99
- package/commands/DeleteNodeCommand.ts +0 -99
- package/commands/GetMemberCommand.ts +0 -99
- package/commands/GetNetworkCommand.ts +0 -99
- package/commands/GetNodeCommand.ts +0 -99
- package/commands/GetProposalCommand.ts +0 -99
- package/commands/ListInvitationsCommand.ts +0 -99
- package/commands/ListMembersCommand.ts +0 -99
- package/commands/ListNetworksCommand.ts +0 -99
- package/commands/ListNodesCommand.ts +0 -99
- package/commands/ListProposalVotesCommand.ts +0 -99
- package/commands/ListProposalsCommand.ts +0 -99
- package/commands/ListTagsForResourceCommand.ts +0 -99
- package/commands/RejectInvitationCommand.ts +0 -99
- package/commands/TagResourceCommand.ts +0 -101
- package/commands/UntagResourceCommand.ts +0 -99
- package/commands/UpdateMemberCommand.ts +0 -99
- package/commands/UpdateNodeCommand.ts +0 -99
- package/commands/VoteOnProposalCommand.ts +0 -99
- package/dist/cjs/ManagedBlockchain.js.map +0 -1
- package/dist/cjs/ManagedBlockchainClient.js +0 -47
- package/dist/cjs/ManagedBlockchainClient.js.map +0 -1
- package/dist/cjs/commands/CreateMemberCommand.js.map +0 -1
- package/dist/cjs/commands/CreateNetworkCommand.js.map +0 -1
- package/dist/cjs/commands/CreateNodeCommand.js.map +0 -1
- package/dist/cjs/commands/CreateProposalCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteMemberCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteNodeCommand.js.map +0 -1
- package/dist/cjs/commands/GetMemberCommand.js.map +0 -1
- package/dist/cjs/commands/GetNetworkCommand.js.map +0 -1
- package/dist/cjs/commands/GetNodeCommand.js.map +0 -1
- package/dist/cjs/commands/GetProposalCommand.js.map +0 -1
- package/dist/cjs/commands/ListInvitationsCommand.js.map +0 -1
- package/dist/cjs/commands/ListMembersCommand.js.map +0 -1
- package/dist/cjs/commands/ListNetworksCommand.js.map +0 -1
- package/dist/cjs/commands/ListNodesCommand.js.map +0 -1
- package/dist/cjs/commands/ListProposalVotesCommand.js.map +0 -1
- package/dist/cjs/commands/ListProposalsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/RejectInvitationCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js +0 -64
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateMemberCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateNodeCommand.js.map +0 -1
- package/dist/cjs/commands/VoteOnProposalCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -93
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListInvitationsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListMembersPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListNetworksPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListNodesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListProposalVotesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListProposalsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/ManagedBlockchain.js.map +0 -1
- package/dist/es/ManagedBlockchainClient.js.map +0 -1
- package/dist/es/commands/CreateMemberCommand.js.map +0 -1
- package/dist/es/commands/CreateNetworkCommand.js.map +0 -1
- package/dist/es/commands/CreateNodeCommand.js.map +0 -1
- package/dist/es/commands/CreateProposalCommand.js.map +0 -1
- package/dist/es/commands/DeleteMemberCommand.js.map +0 -1
- package/dist/es/commands/DeleteNodeCommand.js.map +0 -1
- package/dist/es/commands/GetMemberCommand.js.map +0 -1
- package/dist/es/commands/GetNetworkCommand.js.map +0 -1
- package/dist/es/commands/GetNodeCommand.js.map +0 -1
- package/dist/es/commands/GetProposalCommand.js.map +0 -1
- package/dist/es/commands/ListInvitationsCommand.js.map +0 -1
- package/dist/es/commands/ListMembersCommand.js.map +0 -1
- package/dist/es/commands/ListNetworksCommand.js.map +0 -1
- package/dist/es/commands/ListNodesCommand.js.map +0 -1
- package/dist/es/commands/ListProposalVotesCommand.js.map +0 -1
- package/dist/es/commands/ListProposalsCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/RejectInvitationCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js +0 -68
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateMemberCommand.js.map +0 -1
- package/dist/es/commands/UpdateNodeCommand.js.map +0 -1
- package/dist/es/commands/VoteOnProposalCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -34
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -93
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListInvitationsPaginator.js.map +0 -1
- package/dist/es/pagination/ListMembersPaginator.js.map +0 -1
- package/dist/es/pagination/ListNetworksPaginator.js.map +0 -1
- package/dist/es/pagination/ListNodesPaginator.js.map +0 -1
- package/dist/es/pagination/ListProposalVotesPaginator.js.map +0 -1
- package/dist/es/pagination/ListProposalsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/commands/CreateMemberCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/CreateNetworkCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/CreateNodeCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/CreateProposalCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DeleteMemberCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DeleteNodeCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/GetMemberCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/GetNetworkCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/GetNodeCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/GetProposalCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListInvitationsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListMembersCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListNetworksCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListNodesCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListProposalVotesCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListProposalsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/RejectInvitationCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/UpdateMemberCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/UpdateNodeCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/VoteOnProposalCommand.d.ts +0 -36
- package/dist/types/ts3.4/models/models_0.d.ts +0 -2255
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -2773
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListInvitationsPaginator.ts +0 -58
- package/pagination/ListMembersPaginator.ts +0 -54
- package/pagination/ListNetworksPaginator.ts +0 -58
- package/pagination/ListNodesPaginator.ts +0 -54
- package/pagination/ListProposalVotesPaginator.ts +0 -58
- package/pagination/ListProposalsPaginator.ts +0 -58
- package/protocols/Aws_restJson1.ts +0 -4005
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
package/ManagedBlockchain.ts
DELETED
|
@@ -1,774 +0,0 @@
|
|
|
1
|
-
import { ManagedBlockchainClient } from "./ManagedBlockchainClient";
|
|
2
|
-
import {
|
|
3
|
-
CreateMemberCommand,
|
|
4
|
-
CreateMemberCommandInput,
|
|
5
|
-
CreateMemberCommandOutput,
|
|
6
|
-
} from "./commands/CreateMemberCommand";
|
|
7
|
-
import {
|
|
8
|
-
CreateNetworkCommand,
|
|
9
|
-
CreateNetworkCommandInput,
|
|
10
|
-
CreateNetworkCommandOutput,
|
|
11
|
-
} from "./commands/CreateNetworkCommand";
|
|
12
|
-
import { CreateNodeCommand, CreateNodeCommandInput, CreateNodeCommandOutput } from "./commands/CreateNodeCommand";
|
|
13
|
-
import {
|
|
14
|
-
CreateProposalCommand,
|
|
15
|
-
CreateProposalCommandInput,
|
|
16
|
-
CreateProposalCommandOutput,
|
|
17
|
-
} from "./commands/CreateProposalCommand";
|
|
18
|
-
import {
|
|
19
|
-
DeleteMemberCommand,
|
|
20
|
-
DeleteMemberCommandInput,
|
|
21
|
-
DeleteMemberCommandOutput,
|
|
22
|
-
} from "./commands/DeleteMemberCommand";
|
|
23
|
-
import { DeleteNodeCommand, DeleteNodeCommandInput, DeleteNodeCommandOutput } from "./commands/DeleteNodeCommand";
|
|
24
|
-
import { GetMemberCommand, GetMemberCommandInput, GetMemberCommandOutput } from "./commands/GetMemberCommand";
|
|
25
|
-
import { GetNetworkCommand, GetNetworkCommandInput, GetNetworkCommandOutput } from "./commands/GetNetworkCommand";
|
|
26
|
-
import { GetNodeCommand, GetNodeCommandInput, GetNodeCommandOutput } from "./commands/GetNodeCommand";
|
|
27
|
-
import { GetProposalCommand, GetProposalCommandInput, GetProposalCommandOutput } from "./commands/GetProposalCommand";
|
|
28
|
-
import {
|
|
29
|
-
ListInvitationsCommand,
|
|
30
|
-
ListInvitationsCommandInput,
|
|
31
|
-
ListInvitationsCommandOutput,
|
|
32
|
-
} from "./commands/ListInvitationsCommand";
|
|
33
|
-
import { ListMembersCommand, ListMembersCommandInput, ListMembersCommandOutput } from "./commands/ListMembersCommand";
|
|
34
|
-
import {
|
|
35
|
-
ListNetworksCommand,
|
|
36
|
-
ListNetworksCommandInput,
|
|
37
|
-
ListNetworksCommandOutput,
|
|
38
|
-
} from "./commands/ListNetworksCommand";
|
|
39
|
-
import { ListNodesCommand, ListNodesCommandInput, ListNodesCommandOutput } from "./commands/ListNodesCommand";
|
|
40
|
-
import {
|
|
41
|
-
ListProposalVotesCommand,
|
|
42
|
-
ListProposalVotesCommandInput,
|
|
43
|
-
ListProposalVotesCommandOutput,
|
|
44
|
-
} from "./commands/ListProposalVotesCommand";
|
|
45
|
-
import {
|
|
46
|
-
ListProposalsCommand,
|
|
47
|
-
ListProposalsCommandInput,
|
|
48
|
-
ListProposalsCommandOutput,
|
|
49
|
-
} from "./commands/ListProposalsCommand";
|
|
50
|
-
import {
|
|
51
|
-
ListTagsForResourceCommand,
|
|
52
|
-
ListTagsForResourceCommandInput,
|
|
53
|
-
ListTagsForResourceCommandOutput,
|
|
54
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
55
|
-
import {
|
|
56
|
-
RejectInvitationCommand,
|
|
57
|
-
RejectInvitationCommandInput,
|
|
58
|
-
RejectInvitationCommandOutput,
|
|
59
|
-
} from "./commands/RejectInvitationCommand";
|
|
60
|
-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
61
|
-
import {
|
|
62
|
-
UntagResourceCommand,
|
|
63
|
-
UntagResourceCommandInput,
|
|
64
|
-
UntagResourceCommandOutput,
|
|
65
|
-
} from "./commands/UntagResourceCommand";
|
|
66
|
-
import {
|
|
67
|
-
UpdateMemberCommand,
|
|
68
|
-
UpdateMemberCommandInput,
|
|
69
|
-
UpdateMemberCommandOutput,
|
|
70
|
-
} from "./commands/UpdateMemberCommand";
|
|
71
|
-
import { UpdateNodeCommand, UpdateNodeCommandInput, UpdateNodeCommandOutput } from "./commands/UpdateNodeCommand";
|
|
72
|
-
import {
|
|
73
|
-
VoteOnProposalCommand,
|
|
74
|
-
VoteOnProposalCommandInput,
|
|
75
|
-
VoteOnProposalCommandOutput,
|
|
76
|
-
} from "./commands/VoteOnProposalCommand";
|
|
77
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* <p></p>
|
|
81
|
-
* <p>Amazon Managed Blockchain is a fully managed service for creating and managing blockchain networks using open-source frameworks. Blockchain allows you to build applications where multiple parties can securely and transparently run transactions and share data without the need for a trusted, central authority.</p>
|
|
82
|
-
* <p>Managed Blockchain supports the Hyperledger Fabric and Ethereum open-source frameworks. Because of fundamental differences between the frameworks, some API actions or data types may only apply in the context of one framework and not the other. For example, actions related to Hyperledger Fabric network members such as <code>CreateMember</code> and <code>DeleteMember</code> do not apply to Ethereum.</p>
|
|
83
|
-
* <p>The description for each action indicates the framework or frameworks to which it applies. Data types and properties that apply only in the context of a particular framework are similarly indicated.</p>
|
|
84
|
-
*/
|
|
85
|
-
export class ManagedBlockchain extends ManagedBlockchainClient {
|
|
86
|
-
/**
|
|
87
|
-
* <p>Creates a member within a Managed Blockchain network.</p>
|
|
88
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
89
|
-
*/
|
|
90
|
-
public createMember(
|
|
91
|
-
args: CreateMemberCommandInput,
|
|
92
|
-
options?: __HttpHandlerOptions
|
|
93
|
-
): Promise<CreateMemberCommandOutput>;
|
|
94
|
-
public createMember(args: CreateMemberCommandInput, cb: (err: any, data?: CreateMemberCommandOutput) => void): void;
|
|
95
|
-
public createMember(
|
|
96
|
-
args: CreateMemberCommandInput,
|
|
97
|
-
options: __HttpHandlerOptions,
|
|
98
|
-
cb: (err: any, data?: CreateMemberCommandOutput) => void
|
|
99
|
-
): void;
|
|
100
|
-
public createMember(
|
|
101
|
-
args: CreateMemberCommandInput,
|
|
102
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateMemberCommandOutput) => void),
|
|
103
|
-
cb?: (err: any, data?: CreateMemberCommandOutput) => void
|
|
104
|
-
): Promise<CreateMemberCommandOutput> | void {
|
|
105
|
-
const command = new CreateMemberCommand(args);
|
|
106
|
-
if (typeof optionsOrCb === "function") {
|
|
107
|
-
this.send(command, optionsOrCb);
|
|
108
|
-
} else if (typeof cb === "function") {
|
|
109
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
110
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
111
|
-
} else {
|
|
112
|
-
return this.send(command, optionsOrCb);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* <p>Creates a new blockchain network using Amazon Managed Blockchain.</p>
|
|
118
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
119
|
-
*/
|
|
120
|
-
public createNetwork(
|
|
121
|
-
args: CreateNetworkCommandInput,
|
|
122
|
-
options?: __HttpHandlerOptions
|
|
123
|
-
): Promise<CreateNetworkCommandOutput>;
|
|
124
|
-
public createNetwork(
|
|
125
|
-
args: CreateNetworkCommandInput,
|
|
126
|
-
cb: (err: any, data?: CreateNetworkCommandOutput) => void
|
|
127
|
-
): void;
|
|
128
|
-
public createNetwork(
|
|
129
|
-
args: CreateNetworkCommandInput,
|
|
130
|
-
options: __HttpHandlerOptions,
|
|
131
|
-
cb: (err: any, data?: CreateNetworkCommandOutput) => void
|
|
132
|
-
): void;
|
|
133
|
-
public createNetwork(
|
|
134
|
-
args: CreateNetworkCommandInput,
|
|
135
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateNetworkCommandOutput) => void),
|
|
136
|
-
cb?: (err: any, data?: CreateNetworkCommandOutput) => void
|
|
137
|
-
): Promise<CreateNetworkCommandOutput> | void {
|
|
138
|
-
const command = new CreateNetworkCommand(args);
|
|
139
|
-
if (typeof optionsOrCb === "function") {
|
|
140
|
-
this.send(command, optionsOrCb);
|
|
141
|
-
} else if (typeof cb === "function") {
|
|
142
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
143
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
144
|
-
} else {
|
|
145
|
-
return this.send(command, optionsOrCb);
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* <p>Creates a node on the specified blockchain network.</p>
|
|
151
|
-
* <p>Applies to Hyperledger Fabric and Ethereum.</p>
|
|
152
|
-
*/
|
|
153
|
-
public createNode(args: CreateNodeCommandInput, options?: __HttpHandlerOptions): Promise<CreateNodeCommandOutput>;
|
|
154
|
-
public createNode(args: CreateNodeCommandInput, cb: (err: any, data?: CreateNodeCommandOutput) => void): void;
|
|
155
|
-
public createNode(
|
|
156
|
-
args: CreateNodeCommandInput,
|
|
157
|
-
options: __HttpHandlerOptions,
|
|
158
|
-
cb: (err: any, data?: CreateNodeCommandOutput) => void
|
|
159
|
-
): void;
|
|
160
|
-
public createNode(
|
|
161
|
-
args: CreateNodeCommandInput,
|
|
162
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateNodeCommandOutput) => void),
|
|
163
|
-
cb?: (err: any, data?: CreateNodeCommandOutput) => void
|
|
164
|
-
): Promise<CreateNodeCommandOutput> | void {
|
|
165
|
-
const command = new CreateNodeCommand(args);
|
|
166
|
-
if (typeof optionsOrCb === "function") {
|
|
167
|
-
this.send(command, optionsOrCb);
|
|
168
|
-
} else if (typeof cb === "function") {
|
|
169
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
170
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
171
|
-
} else {
|
|
172
|
-
return this.send(command, optionsOrCb);
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
* <p>Creates a proposal for a change to the network that other members of the network can vote on, for example, a proposal to add a new member to the network. Any member can create a proposal.</p>
|
|
178
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
179
|
-
*/
|
|
180
|
-
public createProposal(
|
|
181
|
-
args: CreateProposalCommandInput,
|
|
182
|
-
options?: __HttpHandlerOptions
|
|
183
|
-
): Promise<CreateProposalCommandOutput>;
|
|
184
|
-
public createProposal(
|
|
185
|
-
args: CreateProposalCommandInput,
|
|
186
|
-
cb: (err: any, data?: CreateProposalCommandOutput) => void
|
|
187
|
-
): void;
|
|
188
|
-
public createProposal(
|
|
189
|
-
args: CreateProposalCommandInput,
|
|
190
|
-
options: __HttpHandlerOptions,
|
|
191
|
-
cb: (err: any, data?: CreateProposalCommandOutput) => void
|
|
192
|
-
): void;
|
|
193
|
-
public createProposal(
|
|
194
|
-
args: CreateProposalCommandInput,
|
|
195
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateProposalCommandOutput) => void),
|
|
196
|
-
cb?: (err: any, data?: CreateProposalCommandOutput) => void
|
|
197
|
-
): Promise<CreateProposalCommandOutput> | void {
|
|
198
|
-
const command = new CreateProposalCommand(args);
|
|
199
|
-
if (typeof optionsOrCb === "function") {
|
|
200
|
-
this.send(command, optionsOrCb);
|
|
201
|
-
} else if (typeof cb === "function") {
|
|
202
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
203
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
204
|
-
} else {
|
|
205
|
-
return this.send(command, optionsOrCb);
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* <p>Deletes a member. Deleting a member removes the member and all associated resources from the network. <code>DeleteMember</code> can only be called for a specified <code>MemberId</code> if the principal performing the action is associated with the AWS account that owns the member. In all other cases, the <code>DeleteMember</code> action is carried out as the result of an approved proposal to remove a member. If <code>MemberId</code> is the last member in a network specified by the last AWS account, the network is deleted also.</p>
|
|
211
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
212
|
-
*/
|
|
213
|
-
public deleteMember(
|
|
214
|
-
args: DeleteMemberCommandInput,
|
|
215
|
-
options?: __HttpHandlerOptions
|
|
216
|
-
): Promise<DeleteMemberCommandOutput>;
|
|
217
|
-
public deleteMember(args: DeleteMemberCommandInput, cb: (err: any, data?: DeleteMemberCommandOutput) => void): void;
|
|
218
|
-
public deleteMember(
|
|
219
|
-
args: DeleteMemberCommandInput,
|
|
220
|
-
options: __HttpHandlerOptions,
|
|
221
|
-
cb: (err: any, data?: DeleteMemberCommandOutput) => void
|
|
222
|
-
): void;
|
|
223
|
-
public deleteMember(
|
|
224
|
-
args: DeleteMemberCommandInput,
|
|
225
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteMemberCommandOutput) => void),
|
|
226
|
-
cb?: (err: any, data?: DeleteMemberCommandOutput) => void
|
|
227
|
-
): Promise<DeleteMemberCommandOutput> | void {
|
|
228
|
-
const command = new DeleteMemberCommand(args);
|
|
229
|
-
if (typeof optionsOrCb === "function") {
|
|
230
|
-
this.send(command, optionsOrCb);
|
|
231
|
-
} else if (typeof cb === "function") {
|
|
232
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
233
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
234
|
-
} else {
|
|
235
|
-
return this.send(command, optionsOrCb);
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
/**
|
|
240
|
-
* <p>Deletes a node that your AWS account owns. All data on the node is lost and cannot be recovered.</p>
|
|
241
|
-
* <p>Applies to Hyperledger Fabric and Ethereum.</p>
|
|
242
|
-
*/
|
|
243
|
-
public deleteNode(args: DeleteNodeCommandInput, options?: __HttpHandlerOptions): Promise<DeleteNodeCommandOutput>;
|
|
244
|
-
public deleteNode(args: DeleteNodeCommandInput, cb: (err: any, data?: DeleteNodeCommandOutput) => void): void;
|
|
245
|
-
public deleteNode(
|
|
246
|
-
args: DeleteNodeCommandInput,
|
|
247
|
-
options: __HttpHandlerOptions,
|
|
248
|
-
cb: (err: any, data?: DeleteNodeCommandOutput) => void
|
|
249
|
-
): void;
|
|
250
|
-
public deleteNode(
|
|
251
|
-
args: DeleteNodeCommandInput,
|
|
252
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteNodeCommandOutput) => void),
|
|
253
|
-
cb?: (err: any, data?: DeleteNodeCommandOutput) => void
|
|
254
|
-
): Promise<DeleteNodeCommandOutput> | void {
|
|
255
|
-
const command = new DeleteNodeCommand(args);
|
|
256
|
-
if (typeof optionsOrCb === "function") {
|
|
257
|
-
this.send(command, optionsOrCb);
|
|
258
|
-
} else if (typeof cb === "function") {
|
|
259
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
260
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
261
|
-
} else {
|
|
262
|
-
return this.send(command, optionsOrCb);
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
/**
|
|
267
|
-
* <p>Returns detailed information about a member.</p>
|
|
268
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
269
|
-
*/
|
|
270
|
-
public getMember(args: GetMemberCommandInput, options?: __HttpHandlerOptions): Promise<GetMemberCommandOutput>;
|
|
271
|
-
public getMember(args: GetMemberCommandInput, cb: (err: any, data?: GetMemberCommandOutput) => void): void;
|
|
272
|
-
public getMember(
|
|
273
|
-
args: GetMemberCommandInput,
|
|
274
|
-
options: __HttpHandlerOptions,
|
|
275
|
-
cb: (err: any, data?: GetMemberCommandOutput) => void
|
|
276
|
-
): void;
|
|
277
|
-
public getMember(
|
|
278
|
-
args: GetMemberCommandInput,
|
|
279
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetMemberCommandOutput) => void),
|
|
280
|
-
cb?: (err: any, data?: GetMemberCommandOutput) => void
|
|
281
|
-
): Promise<GetMemberCommandOutput> | void {
|
|
282
|
-
const command = new GetMemberCommand(args);
|
|
283
|
-
if (typeof optionsOrCb === "function") {
|
|
284
|
-
this.send(command, optionsOrCb);
|
|
285
|
-
} else if (typeof cb === "function") {
|
|
286
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
287
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
288
|
-
} else {
|
|
289
|
-
return this.send(command, optionsOrCb);
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
/**
|
|
294
|
-
* <p>Returns detailed information about a network.</p>
|
|
295
|
-
* <p>Applies to Hyperledger Fabric and Ethereum.</p>
|
|
296
|
-
*/
|
|
297
|
-
public getNetwork(args: GetNetworkCommandInput, options?: __HttpHandlerOptions): Promise<GetNetworkCommandOutput>;
|
|
298
|
-
public getNetwork(args: GetNetworkCommandInput, cb: (err: any, data?: GetNetworkCommandOutput) => void): void;
|
|
299
|
-
public getNetwork(
|
|
300
|
-
args: GetNetworkCommandInput,
|
|
301
|
-
options: __HttpHandlerOptions,
|
|
302
|
-
cb: (err: any, data?: GetNetworkCommandOutput) => void
|
|
303
|
-
): void;
|
|
304
|
-
public getNetwork(
|
|
305
|
-
args: GetNetworkCommandInput,
|
|
306
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetNetworkCommandOutput) => void),
|
|
307
|
-
cb?: (err: any, data?: GetNetworkCommandOutput) => void
|
|
308
|
-
): Promise<GetNetworkCommandOutput> | void {
|
|
309
|
-
const command = new GetNetworkCommand(args);
|
|
310
|
-
if (typeof optionsOrCb === "function") {
|
|
311
|
-
this.send(command, optionsOrCb);
|
|
312
|
-
} else if (typeof cb === "function") {
|
|
313
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
314
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
315
|
-
} else {
|
|
316
|
-
return this.send(command, optionsOrCb);
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
/**
|
|
321
|
-
* <p>Returns detailed information about a node.</p>
|
|
322
|
-
* <p>Applies to Hyperledger Fabric and Ethereum.</p>
|
|
323
|
-
*/
|
|
324
|
-
public getNode(args: GetNodeCommandInput, options?: __HttpHandlerOptions): Promise<GetNodeCommandOutput>;
|
|
325
|
-
public getNode(args: GetNodeCommandInput, cb: (err: any, data?: GetNodeCommandOutput) => void): void;
|
|
326
|
-
public getNode(
|
|
327
|
-
args: GetNodeCommandInput,
|
|
328
|
-
options: __HttpHandlerOptions,
|
|
329
|
-
cb: (err: any, data?: GetNodeCommandOutput) => void
|
|
330
|
-
): void;
|
|
331
|
-
public getNode(
|
|
332
|
-
args: GetNodeCommandInput,
|
|
333
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetNodeCommandOutput) => void),
|
|
334
|
-
cb?: (err: any, data?: GetNodeCommandOutput) => void
|
|
335
|
-
): Promise<GetNodeCommandOutput> | void {
|
|
336
|
-
const command = new GetNodeCommand(args);
|
|
337
|
-
if (typeof optionsOrCb === "function") {
|
|
338
|
-
this.send(command, optionsOrCb);
|
|
339
|
-
} else if (typeof cb === "function") {
|
|
340
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
341
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
342
|
-
} else {
|
|
343
|
-
return this.send(command, optionsOrCb);
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
/**
|
|
348
|
-
* <p>Returns detailed information about a proposal.</p>
|
|
349
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
350
|
-
*/
|
|
351
|
-
public getProposal(args: GetProposalCommandInput, options?: __HttpHandlerOptions): Promise<GetProposalCommandOutput>;
|
|
352
|
-
public getProposal(args: GetProposalCommandInput, cb: (err: any, data?: GetProposalCommandOutput) => void): void;
|
|
353
|
-
public getProposal(
|
|
354
|
-
args: GetProposalCommandInput,
|
|
355
|
-
options: __HttpHandlerOptions,
|
|
356
|
-
cb: (err: any, data?: GetProposalCommandOutput) => void
|
|
357
|
-
): void;
|
|
358
|
-
public getProposal(
|
|
359
|
-
args: GetProposalCommandInput,
|
|
360
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetProposalCommandOutput) => void),
|
|
361
|
-
cb?: (err: any, data?: GetProposalCommandOutput) => void
|
|
362
|
-
): Promise<GetProposalCommandOutput> | void {
|
|
363
|
-
const command = new GetProposalCommand(args);
|
|
364
|
-
if (typeof optionsOrCb === "function") {
|
|
365
|
-
this.send(command, optionsOrCb);
|
|
366
|
-
} else if (typeof cb === "function") {
|
|
367
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
368
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
369
|
-
} else {
|
|
370
|
-
return this.send(command, optionsOrCb);
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
/**
|
|
375
|
-
* <p>Returns a list of all invitations for the current AWS account.</p>
|
|
376
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
377
|
-
*/
|
|
378
|
-
public listInvitations(
|
|
379
|
-
args: ListInvitationsCommandInput,
|
|
380
|
-
options?: __HttpHandlerOptions
|
|
381
|
-
): Promise<ListInvitationsCommandOutput>;
|
|
382
|
-
public listInvitations(
|
|
383
|
-
args: ListInvitationsCommandInput,
|
|
384
|
-
cb: (err: any, data?: ListInvitationsCommandOutput) => void
|
|
385
|
-
): void;
|
|
386
|
-
public listInvitations(
|
|
387
|
-
args: ListInvitationsCommandInput,
|
|
388
|
-
options: __HttpHandlerOptions,
|
|
389
|
-
cb: (err: any, data?: ListInvitationsCommandOutput) => void
|
|
390
|
-
): void;
|
|
391
|
-
public listInvitations(
|
|
392
|
-
args: ListInvitationsCommandInput,
|
|
393
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListInvitationsCommandOutput) => void),
|
|
394
|
-
cb?: (err: any, data?: ListInvitationsCommandOutput) => void
|
|
395
|
-
): Promise<ListInvitationsCommandOutput> | void {
|
|
396
|
-
const command = new ListInvitationsCommand(args);
|
|
397
|
-
if (typeof optionsOrCb === "function") {
|
|
398
|
-
this.send(command, optionsOrCb);
|
|
399
|
-
} else if (typeof cb === "function") {
|
|
400
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
401
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
402
|
-
} else {
|
|
403
|
-
return this.send(command, optionsOrCb);
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
/**
|
|
408
|
-
* <p>Returns a list of the members in a network and properties of their configurations.</p>
|
|
409
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
410
|
-
*/
|
|
411
|
-
public listMembers(args: ListMembersCommandInput, options?: __HttpHandlerOptions): Promise<ListMembersCommandOutput>;
|
|
412
|
-
public listMembers(args: ListMembersCommandInput, cb: (err: any, data?: ListMembersCommandOutput) => void): void;
|
|
413
|
-
public listMembers(
|
|
414
|
-
args: ListMembersCommandInput,
|
|
415
|
-
options: __HttpHandlerOptions,
|
|
416
|
-
cb: (err: any, data?: ListMembersCommandOutput) => void
|
|
417
|
-
): void;
|
|
418
|
-
public listMembers(
|
|
419
|
-
args: ListMembersCommandInput,
|
|
420
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListMembersCommandOutput) => void),
|
|
421
|
-
cb?: (err: any, data?: ListMembersCommandOutput) => void
|
|
422
|
-
): Promise<ListMembersCommandOutput> | void {
|
|
423
|
-
const command = new ListMembersCommand(args);
|
|
424
|
-
if (typeof optionsOrCb === "function") {
|
|
425
|
-
this.send(command, optionsOrCb);
|
|
426
|
-
} else if (typeof cb === "function") {
|
|
427
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
428
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
429
|
-
} else {
|
|
430
|
-
return this.send(command, optionsOrCb);
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
/**
|
|
435
|
-
* <p>Returns information about the networks in which the current AWS account participates.</p>
|
|
436
|
-
* <p>Applies to Hyperledger Fabric and Ethereum.</p>
|
|
437
|
-
*/
|
|
438
|
-
public listNetworks(
|
|
439
|
-
args: ListNetworksCommandInput,
|
|
440
|
-
options?: __HttpHandlerOptions
|
|
441
|
-
): Promise<ListNetworksCommandOutput>;
|
|
442
|
-
public listNetworks(args: ListNetworksCommandInput, cb: (err: any, data?: ListNetworksCommandOutput) => void): void;
|
|
443
|
-
public listNetworks(
|
|
444
|
-
args: ListNetworksCommandInput,
|
|
445
|
-
options: __HttpHandlerOptions,
|
|
446
|
-
cb: (err: any, data?: ListNetworksCommandOutput) => void
|
|
447
|
-
): void;
|
|
448
|
-
public listNetworks(
|
|
449
|
-
args: ListNetworksCommandInput,
|
|
450
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListNetworksCommandOutput) => void),
|
|
451
|
-
cb?: (err: any, data?: ListNetworksCommandOutput) => void
|
|
452
|
-
): Promise<ListNetworksCommandOutput> | void {
|
|
453
|
-
const command = new ListNetworksCommand(args);
|
|
454
|
-
if (typeof optionsOrCb === "function") {
|
|
455
|
-
this.send(command, optionsOrCb);
|
|
456
|
-
} else if (typeof cb === "function") {
|
|
457
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
458
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
459
|
-
} else {
|
|
460
|
-
return this.send(command, optionsOrCb);
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
/**
|
|
465
|
-
* <p>Returns information about the nodes within a network.</p>
|
|
466
|
-
* <p>Applies to Hyperledger Fabric and Ethereum.</p>
|
|
467
|
-
*/
|
|
468
|
-
public listNodes(args: ListNodesCommandInput, options?: __HttpHandlerOptions): Promise<ListNodesCommandOutput>;
|
|
469
|
-
public listNodes(args: ListNodesCommandInput, cb: (err: any, data?: ListNodesCommandOutput) => void): void;
|
|
470
|
-
public listNodes(
|
|
471
|
-
args: ListNodesCommandInput,
|
|
472
|
-
options: __HttpHandlerOptions,
|
|
473
|
-
cb: (err: any, data?: ListNodesCommandOutput) => void
|
|
474
|
-
): void;
|
|
475
|
-
public listNodes(
|
|
476
|
-
args: ListNodesCommandInput,
|
|
477
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListNodesCommandOutput) => void),
|
|
478
|
-
cb?: (err: any, data?: ListNodesCommandOutput) => void
|
|
479
|
-
): Promise<ListNodesCommandOutput> | void {
|
|
480
|
-
const command = new ListNodesCommand(args);
|
|
481
|
-
if (typeof optionsOrCb === "function") {
|
|
482
|
-
this.send(command, optionsOrCb);
|
|
483
|
-
} else if (typeof cb === "function") {
|
|
484
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
485
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
486
|
-
} else {
|
|
487
|
-
return this.send(command, optionsOrCb);
|
|
488
|
-
}
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
/**
|
|
492
|
-
* <p>Returns a list of proposals for the network.</p>
|
|
493
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
494
|
-
*/
|
|
495
|
-
public listProposals(
|
|
496
|
-
args: ListProposalsCommandInput,
|
|
497
|
-
options?: __HttpHandlerOptions
|
|
498
|
-
): Promise<ListProposalsCommandOutput>;
|
|
499
|
-
public listProposals(
|
|
500
|
-
args: ListProposalsCommandInput,
|
|
501
|
-
cb: (err: any, data?: ListProposalsCommandOutput) => void
|
|
502
|
-
): void;
|
|
503
|
-
public listProposals(
|
|
504
|
-
args: ListProposalsCommandInput,
|
|
505
|
-
options: __HttpHandlerOptions,
|
|
506
|
-
cb: (err: any, data?: ListProposalsCommandOutput) => void
|
|
507
|
-
): void;
|
|
508
|
-
public listProposals(
|
|
509
|
-
args: ListProposalsCommandInput,
|
|
510
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListProposalsCommandOutput) => void),
|
|
511
|
-
cb?: (err: any, data?: ListProposalsCommandOutput) => void
|
|
512
|
-
): Promise<ListProposalsCommandOutput> | void {
|
|
513
|
-
const command = new ListProposalsCommand(args);
|
|
514
|
-
if (typeof optionsOrCb === "function") {
|
|
515
|
-
this.send(command, optionsOrCb);
|
|
516
|
-
} else if (typeof cb === "function") {
|
|
517
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
518
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
519
|
-
} else {
|
|
520
|
-
return this.send(command, optionsOrCb);
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
/**
|
|
525
|
-
* <p>Returns the list of votes for a specified proposal, including the value of each vote and the unique identifier of the member that cast the vote.</p>
|
|
526
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
527
|
-
*/
|
|
528
|
-
public listProposalVotes(
|
|
529
|
-
args: ListProposalVotesCommandInput,
|
|
530
|
-
options?: __HttpHandlerOptions
|
|
531
|
-
): Promise<ListProposalVotesCommandOutput>;
|
|
532
|
-
public listProposalVotes(
|
|
533
|
-
args: ListProposalVotesCommandInput,
|
|
534
|
-
cb: (err: any, data?: ListProposalVotesCommandOutput) => void
|
|
535
|
-
): void;
|
|
536
|
-
public listProposalVotes(
|
|
537
|
-
args: ListProposalVotesCommandInput,
|
|
538
|
-
options: __HttpHandlerOptions,
|
|
539
|
-
cb: (err: any, data?: ListProposalVotesCommandOutput) => void
|
|
540
|
-
): void;
|
|
541
|
-
public listProposalVotes(
|
|
542
|
-
args: ListProposalVotesCommandInput,
|
|
543
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListProposalVotesCommandOutput) => void),
|
|
544
|
-
cb?: (err: any, data?: ListProposalVotesCommandOutput) => void
|
|
545
|
-
): Promise<ListProposalVotesCommandOutput> | void {
|
|
546
|
-
const command = new ListProposalVotesCommand(args);
|
|
547
|
-
if (typeof optionsOrCb === "function") {
|
|
548
|
-
this.send(command, optionsOrCb);
|
|
549
|
-
} else if (typeof cb === "function") {
|
|
550
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
551
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
552
|
-
} else {
|
|
553
|
-
return this.send(command, optionsOrCb);
|
|
554
|
-
}
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
/**
|
|
558
|
-
* <p>Returns a list of tags for the specified resource. Each tag consists of a key and optional value.</p>
|
|
559
|
-
* <p>For more information about tags, see <a href="https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Ethereum Developer Guide</i>, or <a href="https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Hyperledger Fabric Developer Guide</i>.</p>
|
|
560
|
-
*/
|
|
561
|
-
public listTagsForResource(
|
|
562
|
-
args: ListTagsForResourceCommandInput,
|
|
563
|
-
options?: __HttpHandlerOptions
|
|
564
|
-
): Promise<ListTagsForResourceCommandOutput>;
|
|
565
|
-
public listTagsForResource(
|
|
566
|
-
args: ListTagsForResourceCommandInput,
|
|
567
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
568
|
-
): void;
|
|
569
|
-
public listTagsForResource(
|
|
570
|
-
args: ListTagsForResourceCommandInput,
|
|
571
|
-
options: __HttpHandlerOptions,
|
|
572
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
573
|
-
): void;
|
|
574
|
-
public listTagsForResource(
|
|
575
|
-
args: ListTagsForResourceCommandInput,
|
|
576
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
|
|
577
|
-
cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
578
|
-
): Promise<ListTagsForResourceCommandOutput> | void {
|
|
579
|
-
const command = new ListTagsForResourceCommand(args);
|
|
580
|
-
if (typeof optionsOrCb === "function") {
|
|
581
|
-
this.send(command, optionsOrCb);
|
|
582
|
-
} else if (typeof cb === "function") {
|
|
583
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
584
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
585
|
-
} else {
|
|
586
|
-
return this.send(command, optionsOrCb);
|
|
587
|
-
}
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
/**
|
|
591
|
-
* <p>Rejects an invitation to join a network. This action can be called by a principal in an AWS account that has received an invitation to create a member and join a network.</p>
|
|
592
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
593
|
-
*/
|
|
594
|
-
public rejectInvitation(
|
|
595
|
-
args: RejectInvitationCommandInput,
|
|
596
|
-
options?: __HttpHandlerOptions
|
|
597
|
-
): Promise<RejectInvitationCommandOutput>;
|
|
598
|
-
public rejectInvitation(
|
|
599
|
-
args: RejectInvitationCommandInput,
|
|
600
|
-
cb: (err: any, data?: RejectInvitationCommandOutput) => void
|
|
601
|
-
): void;
|
|
602
|
-
public rejectInvitation(
|
|
603
|
-
args: RejectInvitationCommandInput,
|
|
604
|
-
options: __HttpHandlerOptions,
|
|
605
|
-
cb: (err: any, data?: RejectInvitationCommandOutput) => void
|
|
606
|
-
): void;
|
|
607
|
-
public rejectInvitation(
|
|
608
|
-
args: RejectInvitationCommandInput,
|
|
609
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RejectInvitationCommandOutput) => void),
|
|
610
|
-
cb?: (err: any, data?: RejectInvitationCommandOutput) => void
|
|
611
|
-
): Promise<RejectInvitationCommandOutput> | void {
|
|
612
|
-
const command = new RejectInvitationCommand(args);
|
|
613
|
-
if (typeof optionsOrCb === "function") {
|
|
614
|
-
this.send(command, optionsOrCb);
|
|
615
|
-
} else if (typeof cb === "function") {
|
|
616
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
617
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
618
|
-
} else {
|
|
619
|
-
return this.send(command, optionsOrCb);
|
|
620
|
-
}
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
/**
|
|
624
|
-
* <p>Adds or overwrites the specified tags for the specified Amazon Managed Blockchain resource. Each tag consists of a key and optional value.</p>
|
|
625
|
-
* <p>When you specify a tag key that already exists, the tag value is overwritten with the new value. Use <code>UntagResource</code> to remove tag keys.</p>
|
|
626
|
-
* <p>A resource can have up to 50 tags. If you try to create more than 50 tags for a resource, your request fails and returns an error.</p>
|
|
627
|
-
* <p>For more information about tags, see <a href="https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Ethereum Developer Guide</i>, or <a href="https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Hyperledger Fabric Developer Guide</i>.</p>
|
|
628
|
-
*/
|
|
629
|
-
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
630
|
-
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
631
|
-
public tagResource(
|
|
632
|
-
args: TagResourceCommandInput,
|
|
633
|
-
options: __HttpHandlerOptions,
|
|
634
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
635
|
-
): void;
|
|
636
|
-
public tagResource(
|
|
637
|
-
args: TagResourceCommandInput,
|
|
638
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
639
|
-
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
640
|
-
): Promise<TagResourceCommandOutput> | void {
|
|
641
|
-
const command = new TagResourceCommand(args);
|
|
642
|
-
if (typeof optionsOrCb === "function") {
|
|
643
|
-
this.send(command, optionsOrCb);
|
|
644
|
-
} else if (typeof cb === "function") {
|
|
645
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
646
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
647
|
-
} else {
|
|
648
|
-
return this.send(command, optionsOrCb);
|
|
649
|
-
}
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
/**
|
|
653
|
-
* <p>Removes the specified tags from the Amazon Managed Blockchain resource.</p>
|
|
654
|
-
* <p>For more information about tags, see <a href="https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Ethereum Developer Guide</i>, or <a href="https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Hyperledger Fabric Developer Guide</i>.</p>
|
|
655
|
-
*/
|
|
656
|
-
public untagResource(
|
|
657
|
-
args: UntagResourceCommandInput,
|
|
658
|
-
options?: __HttpHandlerOptions
|
|
659
|
-
): Promise<UntagResourceCommandOutput>;
|
|
660
|
-
public untagResource(
|
|
661
|
-
args: UntagResourceCommandInput,
|
|
662
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
663
|
-
): void;
|
|
664
|
-
public untagResource(
|
|
665
|
-
args: UntagResourceCommandInput,
|
|
666
|
-
options: __HttpHandlerOptions,
|
|
667
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
668
|
-
): void;
|
|
669
|
-
public untagResource(
|
|
670
|
-
args: UntagResourceCommandInput,
|
|
671
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
672
|
-
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
673
|
-
): Promise<UntagResourceCommandOutput> | void {
|
|
674
|
-
const command = new UntagResourceCommand(args);
|
|
675
|
-
if (typeof optionsOrCb === "function") {
|
|
676
|
-
this.send(command, optionsOrCb);
|
|
677
|
-
} else if (typeof cb === "function") {
|
|
678
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
679
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
680
|
-
} else {
|
|
681
|
-
return this.send(command, optionsOrCb);
|
|
682
|
-
}
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
/**
|
|
686
|
-
* <p>Updates a member configuration with new parameters.</p>
|
|
687
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
688
|
-
*/
|
|
689
|
-
public updateMember(
|
|
690
|
-
args: UpdateMemberCommandInput,
|
|
691
|
-
options?: __HttpHandlerOptions
|
|
692
|
-
): Promise<UpdateMemberCommandOutput>;
|
|
693
|
-
public updateMember(args: UpdateMemberCommandInput, cb: (err: any, data?: UpdateMemberCommandOutput) => void): void;
|
|
694
|
-
public updateMember(
|
|
695
|
-
args: UpdateMemberCommandInput,
|
|
696
|
-
options: __HttpHandlerOptions,
|
|
697
|
-
cb: (err: any, data?: UpdateMemberCommandOutput) => void
|
|
698
|
-
): void;
|
|
699
|
-
public updateMember(
|
|
700
|
-
args: UpdateMemberCommandInput,
|
|
701
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateMemberCommandOutput) => void),
|
|
702
|
-
cb?: (err: any, data?: UpdateMemberCommandOutput) => void
|
|
703
|
-
): Promise<UpdateMemberCommandOutput> | void {
|
|
704
|
-
const command = new UpdateMemberCommand(args);
|
|
705
|
-
if (typeof optionsOrCb === "function") {
|
|
706
|
-
this.send(command, optionsOrCb);
|
|
707
|
-
} else if (typeof cb === "function") {
|
|
708
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
709
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
710
|
-
} else {
|
|
711
|
-
return this.send(command, optionsOrCb);
|
|
712
|
-
}
|
|
713
|
-
}
|
|
714
|
-
|
|
715
|
-
/**
|
|
716
|
-
* <p>Updates a node configuration with new parameters.</p>
|
|
717
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
718
|
-
*/
|
|
719
|
-
public updateNode(args: UpdateNodeCommandInput, options?: __HttpHandlerOptions): Promise<UpdateNodeCommandOutput>;
|
|
720
|
-
public updateNode(args: UpdateNodeCommandInput, cb: (err: any, data?: UpdateNodeCommandOutput) => void): void;
|
|
721
|
-
public updateNode(
|
|
722
|
-
args: UpdateNodeCommandInput,
|
|
723
|
-
options: __HttpHandlerOptions,
|
|
724
|
-
cb: (err: any, data?: UpdateNodeCommandOutput) => void
|
|
725
|
-
): void;
|
|
726
|
-
public updateNode(
|
|
727
|
-
args: UpdateNodeCommandInput,
|
|
728
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateNodeCommandOutput) => void),
|
|
729
|
-
cb?: (err: any, data?: UpdateNodeCommandOutput) => void
|
|
730
|
-
): Promise<UpdateNodeCommandOutput> | void {
|
|
731
|
-
const command = new UpdateNodeCommand(args);
|
|
732
|
-
if (typeof optionsOrCb === "function") {
|
|
733
|
-
this.send(command, optionsOrCb);
|
|
734
|
-
} else if (typeof cb === "function") {
|
|
735
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
736
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
737
|
-
} else {
|
|
738
|
-
return this.send(command, optionsOrCb);
|
|
739
|
-
}
|
|
740
|
-
}
|
|
741
|
-
|
|
742
|
-
/**
|
|
743
|
-
* <p>Casts a vote for a specified <code>ProposalId</code> on behalf of a member. The member to vote as, specified by <code>VoterMemberId</code>, must be in the same AWS account as the principal that calls the action.</p>
|
|
744
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
745
|
-
*/
|
|
746
|
-
public voteOnProposal(
|
|
747
|
-
args: VoteOnProposalCommandInput,
|
|
748
|
-
options?: __HttpHandlerOptions
|
|
749
|
-
): Promise<VoteOnProposalCommandOutput>;
|
|
750
|
-
public voteOnProposal(
|
|
751
|
-
args: VoteOnProposalCommandInput,
|
|
752
|
-
cb: (err: any, data?: VoteOnProposalCommandOutput) => void
|
|
753
|
-
): void;
|
|
754
|
-
public voteOnProposal(
|
|
755
|
-
args: VoteOnProposalCommandInput,
|
|
756
|
-
options: __HttpHandlerOptions,
|
|
757
|
-
cb: (err: any, data?: VoteOnProposalCommandOutput) => void
|
|
758
|
-
): void;
|
|
759
|
-
public voteOnProposal(
|
|
760
|
-
args: VoteOnProposalCommandInput,
|
|
761
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: VoteOnProposalCommandOutput) => void),
|
|
762
|
-
cb?: (err: any, data?: VoteOnProposalCommandOutput) => void
|
|
763
|
-
): Promise<VoteOnProposalCommandOutput> | void {
|
|
764
|
-
const command = new VoteOnProposalCommand(args);
|
|
765
|
-
if (typeof optionsOrCb === "function") {
|
|
766
|
-
this.send(command, optionsOrCb);
|
|
767
|
-
} else if (typeof cb === "function") {
|
|
768
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
769
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
770
|
-
} else {
|
|
771
|
-
return this.send(command, optionsOrCb);
|
|
772
|
-
}
|
|
773
|
-
}
|
|
774
|
-
}
|