@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
|
@@ -1,310 +0,0 @@
|
|
|
1
|
-
import { CreateMemberCommandInput, CreateMemberCommandOutput } from "./commands/CreateMemberCommand";
|
|
2
|
-
import { CreateNetworkCommandInput, CreateNetworkCommandOutput } from "./commands/CreateNetworkCommand";
|
|
3
|
-
import { CreateNodeCommandInput, CreateNodeCommandOutput } from "./commands/CreateNodeCommand";
|
|
4
|
-
import { CreateProposalCommandInput, CreateProposalCommandOutput } from "./commands/CreateProposalCommand";
|
|
5
|
-
import { DeleteMemberCommandInput, DeleteMemberCommandOutput } from "./commands/DeleteMemberCommand";
|
|
6
|
-
import { DeleteNodeCommandInput, DeleteNodeCommandOutput } from "./commands/DeleteNodeCommand";
|
|
7
|
-
import { GetMemberCommandInput, GetMemberCommandOutput } from "./commands/GetMemberCommand";
|
|
8
|
-
import { GetNetworkCommandInput, GetNetworkCommandOutput } from "./commands/GetNetworkCommand";
|
|
9
|
-
import { GetNodeCommandInput, GetNodeCommandOutput } from "./commands/GetNodeCommand";
|
|
10
|
-
import { GetProposalCommandInput, GetProposalCommandOutput } from "./commands/GetProposalCommand";
|
|
11
|
-
import { ListInvitationsCommandInput, ListInvitationsCommandOutput } from "./commands/ListInvitationsCommand";
|
|
12
|
-
import { ListMembersCommandInput, ListMembersCommandOutput } from "./commands/ListMembersCommand";
|
|
13
|
-
import { ListNetworksCommandInput, ListNetworksCommandOutput } from "./commands/ListNetworksCommand";
|
|
14
|
-
import { ListNodesCommandInput, ListNodesCommandOutput } from "./commands/ListNodesCommand";
|
|
15
|
-
import { ListProposalVotesCommandInput, ListProposalVotesCommandOutput } from "./commands/ListProposalVotesCommand";
|
|
16
|
-
import { ListProposalsCommandInput, ListProposalsCommandOutput } from "./commands/ListProposalsCommand";
|
|
17
|
-
import {
|
|
18
|
-
ListTagsForResourceCommandInput,
|
|
19
|
-
ListTagsForResourceCommandOutput,
|
|
20
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
21
|
-
import { RejectInvitationCommandInput, RejectInvitationCommandOutput } from "./commands/RejectInvitationCommand";
|
|
22
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
23
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
24
|
-
import { UpdateMemberCommandInput, UpdateMemberCommandOutput } from "./commands/UpdateMemberCommand";
|
|
25
|
-
import { UpdateNodeCommandInput, UpdateNodeCommandOutput } from "./commands/UpdateNodeCommand";
|
|
26
|
-
import { VoteOnProposalCommandInput, VoteOnProposalCommandOutput } from "./commands/VoteOnProposalCommand";
|
|
27
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
28
|
-
import {
|
|
29
|
-
EndpointsInputConfig,
|
|
30
|
-
EndpointsResolvedConfig,
|
|
31
|
-
RegionInputConfig,
|
|
32
|
-
RegionResolvedConfig,
|
|
33
|
-
resolveEndpointsConfig,
|
|
34
|
-
resolveRegionConfig,
|
|
35
|
-
} from "@aws-sdk/config-resolver";
|
|
36
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
37
|
-
import {
|
|
38
|
-
HostHeaderInputConfig,
|
|
39
|
-
HostHeaderResolvedConfig,
|
|
40
|
-
getHostHeaderPlugin,
|
|
41
|
-
resolveHostHeaderConfig,
|
|
42
|
-
} from "@aws-sdk/middleware-host-header";
|
|
43
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
44
|
-
import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
45
|
-
import {
|
|
46
|
-
AwsAuthInputConfig,
|
|
47
|
-
AwsAuthResolvedConfig,
|
|
48
|
-
getAwsAuthPlugin,
|
|
49
|
-
resolveAwsAuthConfig,
|
|
50
|
-
} from "@aws-sdk/middleware-signing";
|
|
51
|
-
import {
|
|
52
|
-
UserAgentInputConfig,
|
|
53
|
-
UserAgentResolvedConfig,
|
|
54
|
-
getUserAgentPlugin,
|
|
55
|
-
resolveUserAgentConfig,
|
|
56
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
57
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
58
|
-
import {
|
|
59
|
-
Client as __Client,
|
|
60
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
61
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
62
|
-
} from "@aws-sdk/smithy-client";
|
|
63
|
-
import {
|
|
64
|
-
Provider,
|
|
65
|
-
RegionInfoProvider,
|
|
66
|
-
Credentials as __Credentials,
|
|
67
|
-
Decoder as __Decoder,
|
|
68
|
-
Encoder as __Encoder,
|
|
69
|
-
Hash as __Hash,
|
|
70
|
-
HashConstructor as __HashConstructor,
|
|
71
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
72
|
-
Logger as __Logger,
|
|
73
|
-
Provider as __Provider,
|
|
74
|
-
StreamCollector as __StreamCollector,
|
|
75
|
-
UrlParser as __UrlParser,
|
|
76
|
-
UserAgent as __UserAgent,
|
|
77
|
-
} from "@aws-sdk/types";
|
|
78
|
-
|
|
79
|
-
export type ServiceInputTypes =
|
|
80
|
-
| CreateMemberCommandInput
|
|
81
|
-
| CreateNetworkCommandInput
|
|
82
|
-
| CreateNodeCommandInput
|
|
83
|
-
| CreateProposalCommandInput
|
|
84
|
-
| DeleteMemberCommandInput
|
|
85
|
-
| DeleteNodeCommandInput
|
|
86
|
-
| GetMemberCommandInput
|
|
87
|
-
| GetNetworkCommandInput
|
|
88
|
-
| GetNodeCommandInput
|
|
89
|
-
| GetProposalCommandInput
|
|
90
|
-
| ListInvitationsCommandInput
|
|
91
|
-
| ListMembersCommandInput
|
|
92
|
-
| ListNetworksCommandInput
|
|
93
|
-
| ListNodesCommandInput
|
|
94
|
-
| ListProposalVotesCommandInput
|
|
95
|
-
| ListProposalsCommandInput
|
|
96
|
-
| ListTagsForResourceCommandInput
|
|
97
|
-
| RejectInvitationCommandInput
|
|
98
|
-
| TagResourceCommandInput
|
|
99
|
-
| UntagResourceCommandInput
|
|
100
|
-
| UpdateMemberCommandInput
|
|
101
|
-
| UpdateNodeCommandInput
|
|
102
|
-
| VoteOnProposalCommandInput;
|
|
103
|
-
|
|
104
|
-
export type ServiceOutputTypes =
|
|
105
|
-
| CreateMemberCommandOutput
|
|
106
|
-
| CreateNetworkCommandOutput
|
|
107
|
-
| CreateNodeCommandOutput
|
|
108
|
-
| CreateProposalCommandOutput
|
|
109
|
-
| DeleteMemberCommandOutput
|
|
110
|
-
| DeleteNodeCommandOutput
|
|
111
|
-
| GetMemberCommandOutput
|
|
112
|
-
| GetNetworkCommandOutput
|
|
113
|
-
| GetNodeCommandOutput
|
|
114
|
-
| GetProposalCommandOutput
|
|
115
|
-
| ListInvitationsCommandOutput
|
|
116
|
-
| ListMembersCommandOutput
|
|
117
|
-
| ListNetworksCommandOutput
|
|
118
|
-
| ListNodesCommandOutput
|
|
119
|
-
| ListProposalVotesCommandOutput
|
|
120
|
-
| ListProposalsCommandOutput
|
|
121
|
-
| ListTagsForResourceCommandOutput
|
|
122
|
-
| RejectInvitationCommandOutput
|
|
123
|
-
| TagResourceCommandOutput
|
|
124
|
-
| UntagResourceCommandOutput
|
|
125
|
-
| UpdateMemberCommandOutput
|
|
126
|
-
| UpdateNodeCommandOutput
|
|
127
|
-
| VoteOnProposalCommandOutput;
|
|
128
|
-
|
|
129
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
130
|
-
/**
|
|
131
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
132
|
-
*/
|
|
133
|
-
requestHandler?: __HttpHandler;
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
137
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
138
|
-
* @internal
|
|
139
|
-
*/
|
|
140
|
-
sha256?: __HashConstructor;
|
|
141
|
-
|
|
142
|
-
/**
|
|
143
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
144
|
-
* @internal
|
|
145
|
-
*/
|
|
146
|
-
urlParser?: __UrlParser;
|
|
147
|
-
|
|
148
|
-
/**
|
|
149
|
-
* A function that can calculate the length of a request body.
|
|
150
|
-
* @internal
|
|
151
|
-
*/
|
|
152
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* A function that converts a stream into an array of bytes.
|
|
156
|
-
* @internal
|
|
157
|
-
*/
|
|
158
|
-
streamCollector?: __StreamCollector;
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
162
|
-
* @internal
|
|
163
|
-
*/
|
|
164
|
-
base64Decoder?: __Decoder;
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
168
|
-
* @internal
|
|
169
|
-
*/
|
|
170
|
-
base64Encoder?: __Encoder;
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
174
|
-
* @internal
|
|
175
|
-
*/
|
|
176
|
-
utf8Decoder?: __Decoder;
|
|
177
|
-
|
|
178
|
-
/**
|
|
179
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
180
|
-
* @internal
|
|
181
|
-
*/
|
|
182
|
-
utf8Encoder?: __Encoder;
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* The runtime environment.
|
|
186
|
-
* @internal
|
|
187
|
-
*/
|
|
188
|
-
runtime?: string;
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
192
|
-
* trait of an operation.
|
|
193
|
-
*/
|
|
194
|
-
disableHostPrefix?: boolean;
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
198
|
-
*/
|
|
199
|
-
maxAttempts?: number | __Provider<number>;
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* Specifies which retry algorithm to use.
|
|
203
|
-
*/
|
|
204
|
-
retryMode?: string | __Provider<string>;
|
|
205
|
-
|
|
206
|
-
/**
|
|
207
|
-
* Optional logger for logging debug/info/warn/error.
|
|
208
|
-
*/
|
|
209
|
-
logger?: __Logger;
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* Unique service identifier.
|
|
213
|
-
* @internal
|
|
214
|
-
*/
|
|
215
|
-
serviceId?: string;
|
|
216
|
-
|
|
217
|
-
/**
|
|
218
|
-
* The AWS region to which this client will send requests
|
|
219
|
-
*/
|
|
220
|
-
region?: string | __Provider<string>;
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* Default credentials provider; Not available in browser runtime.
|
|
224
|
-
* @internal
|
|
225
|
-
*/
|
|
226
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
227
|
-
|
|
228
|
-
/**
|
|
229
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
230
|
-
* @internal
|
|
231
|
-
*/
|
|
232
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
233
|
-
|
|
234
|
-
/**
|
|
235
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
236
|
-
* @internal
|
|
237
|
-
*/
|
|
238
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
type ManagedBlockchainClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
242
|
-
ClientDefaults &
|
|
243
|
-
RegionInputConfig &
|
|
244
|
-
EndpointsInputConfig &
|
|
245
|
-
RetryInputConfig &
|
|
246
|
-
HostHeaderInputConfig &
|
|
247
|
-
AwsAuthInputConfig &
|
|
248
|
-
UserAgentInputConfig;
|
|
249
|
-
/**
|
|
250
|
-
* The configuration interface of ManagedBlockchainClient class constructor that set the region, credentials and other options.
|
|
251
|
-
*/
|
|
252
|
-
export interface ManagedBlockchainClientConfig extends ManagedBlockchainClientConfigType {}
|
|
253
|
-
|
|
254
|
-
type ManagedBlockchainClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
255
|
-
Required<ClientDefaults> &
|
|
256
|
-
RegionResolvedConfig &
|
|
257
|
-
EndpointsResolvedConfig &
|
|
258
|
-
RetryResolvedConfig &
|
|
259
|
-
HostHeaderResolvedConfig &
|
|
260
|
-
AwsAuthResolvedConfig &
|
|
261
|
-
UserAgentResolvedConfig;
|
|
262
|
-
/**
|
|
263
|
-
* The resolved configuration interface of ManagedBlockchainClient class. This is resolved and normalized from the {@link ManagedBlockchainClientConfig | constructor configuration interface}.
|
|
264
|
-
*/
|
|
265
|
-
export interface ManagedBlockchainClientResolvedConfig extends ManagedBlockchainClientResolvedConfigType {}
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
* <p></p>
|
|
269
|
-
* <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>
|
|
270
|
-
* <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>
|
|
271
|
-
* <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>
|
|
272
|
-
*/
|
|
273
|
-
export class ManagedBlockchainClient extends __Client<
|
|
274
|
-
__HttpHandlerOptions,
|
|
275
|
-
ServiceInputTypes,
|
|
276
|
-
ServiceOutputTypes,
|
|
277
|
-
ManagedBlockchainClientResolvedConfig
|
|
278
|
-
> {
|
|
279
|
-
/**
|
|
280
|
-
* The resolved configuration of ManagedBlockchainClient class. This is resolved and normalized from the {@link ManagedBlockchainClientConfig | constructor configuration interface}.
|
|
281
|
-
*/
|
|
282
|
-
readonly config: ManagedBlockchainClientResolvedConfig;
|
|
283
|
-
|
|
284
|
-
constructor(configuration: ManagedBlockchainClientConfig) {
|
|
285
|
-
let _config_0 = __getRuntimeConfig(configuration);
|
|
286
|
-
let _config_1 = resolveRegionConfig(_config_0);
|
|
287
|
-
let _config_2 = resolveEndpointsConfig(_config_1);
|
|
288
|
-
let _config_3 = resolveRetryConfig(_config_2);
|
|
289
|
-
let _config_4 = resolveHostHeaderConfig(_config_3);
|
|
290
|
-
let _config_5 = resolveAwsAuthConfig(_config_4);
|
|
291
|
-
let _config_6 = resolveUserAgentConfig(_config_5);
|
|
292
|
-
super(_config_6);
|
|
293
|
-
this.config = _config_6;
|
|
294
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
295
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
296
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
297
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
298
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
299
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
/**
|
|
303
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
304
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
305
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
306
|
-
*/
|
|
307
|
-
destroy(): void {
|
|
308
|
-
super.destroy();
|
|
309
|
-
}
|
|
310
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ManagedBlockchainClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ManagedBlockchainClient";
|
|
6
|
-
import { CreateMemberInput, CreateMemberOutput } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1CreateMemberCommand,
|
|
9
|
-
serializeAws_restJson1CreateMemberCommand,
|
|
10
|
-
} from "../protocols/Aws_restJson1";
|
|
11
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
14
|
-
import {
|
|
15
|
-
FinalizeHandlerArguments,
|
|
16
|
-
Handler,
|
|
17
|
-
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
|
-
MetadataBearer as __MetadataBearer,
|
|
21
|
-
SerdeContext as __SerdeContext,
|
|
22
|
-
} from "@aws-sdk/types";
|
|
23
|
-
|
|
24
|
-
export interface CreateMemberCommandInput extends CreateMemberInput {}
|
|
25
|
-
export interface CreateMemberCommandOutput extends CreateMemberOutput, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Creates a member within a Managed Blockchain network.</p>
|
|
29
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { ManagedBlockchainClient, CreateMemberCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
34
|
-
* // const { ManagedBlockchainClient, CreateMemberCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
35
|
-
* const client = new ManagedBlockchainClient(config);
|
|
36
|
-
* const command = new CreateMemberCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link CreateMemberCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link CreateMemberCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link ManagedBlockchainClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class CreateMemberCommand extends $Command<
|
|
46
|
-
CreateMemberCommandInput,
|
|
47
|
-
CreateMemberCommandOutput,
|
|
48
|
-
ManagedBlockchainClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: CreateMemberCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: ManagedBlockchainClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<CreateMemberCommandInput, CreateMemberCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "ManagedBlockchainClient";
|
|
73
|
-
const commandName = "CreateMemberCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: CreateMemberInput.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: CreateMemberOutput.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: CreateMemberCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_restJson1CreateMemberCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateMemberCommandOutput> {
|
|
94
|
-
return deserializeAws_restJson1CreateMemberCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ManagedBlockchainClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ManagedBlockchainClient";
|
|
6
|
-
import { CreateNetworkInput, CreateNetworkOutput } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1CreateNetworkCommand,
|
|
9
|
-
serializeAws_restJson1CreateNetworkCommand,
|
|
10
|
-
} from "../protocols/Aws_restJson1";
|
|
11
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
14
|
-
import {
|
|
15
|
-
FinalizeHandlerArguments,
|
|
16
|
-
Handler,
|
|
17
|
-
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
|
-
MetadataBearer as __MetadataBearer,
|
|
21
|
-
SerdeContext as __SerdeContext,
|
|
22
|
-
} from "@aws-sdk/types";
|
|
23
|
-
|
|
24
|
-
export interface CreateNetworkCommandInput extends CreateNetworkInput {}
|
|
25
|
-
export interface CreateNetworkCommandOutput extends CreateNetworkOutput, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Creates a new blockchain network using Amazon Managed Blockchain.</p>
|
|
29
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { ManagedBlockchainClient, CreateNetworkCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
34
|
-
* // const { ManagedBlockchainClient, CreateNetworkCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
35
|
-
* const client = new ManagedBlockchainClient(config);
|
|
36
|
-
* const command = new CreateNetworkCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link CreateNetworkCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link CreateNetworkCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link ManagedBlockchainClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class CreateNetworkCommand extends $Command<
|
|
46
|
-
CreateNetworkCommandInput,
|
|
47
|
-
CreateNetworkCommandOutput,
|
|
48
|
-
ManagedBlockchainClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: CreateNetworkCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: ManagedBlockchainClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<CreateNetworkCommandInput, CreateNetworkCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "ManagedBlockchainClient";
|
|
73
|
-
const commandName = "CreateNetworkCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: CreateNetworkInput.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: CreateNetworkOutput.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: CreateNetworkCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_restJson1CreateNetworkCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateNetworkCommandOutput> {
|
|
94
|
-
return deserializeAws_restJson1CreateNetworkCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ManagedBlockchainClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ManagedBlockchainClient";
|
|
6
|
-
import { CreateNodeInput, CreateNodeOutput } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1CreateNodeCommand,
|
|
9
|
-
serializeAws_restJson1CreateNodeCommand,
|
|
10
|
-
} from "../protocols/Aws_restJson1";
|
|
11
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
14
|
-
import {
|
|
15
|
-
FinalizeHandlerArguments,
|
|
16
|
-
Handler,
|
|
17
|
-
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
|
-
MetadataBearer as __MetadataBearer,
|
|
21
|
-
SerdeContext as __SerdeContext,
|
|
22
|
-
} from "@aws-sdk/types";
|
|
23
|
-
|
|
24
|
-
export interface CreateNodeCommandInput extends CreateNodeInput {}
|
|
25
|
-
export interface CreateNodeCommandOutput extends CreateNodeOutput, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Creates a node on the specified blockchain network.</p>
|
|
29
|
-
* <p>Applies to Hyperledger Fabric and Ethereum.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { ManagedBlockchainClient, CreateNodeCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
34
|
-
* // const { ManagedBlockchainClient, CreateNodeCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
35
|
-
* const client = new ManagedBlockchainClient(config);
|
|
36
|
-
* const command = new CreateNodeCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link CreateNodeCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link CreateNodeCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link ManagedBlockchainClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class CreateNodeCommand extends $Command<
|
|
46
|
-
CreateNodeCommandInput,
|
|
47
|
-
CreateNodeCommandOutput,
|
|
48
|
-
ManagedBlockchainClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: CreateNodeCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: ManagedBlockchainClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<CreateNodeCommandInput, CreateNodeCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "ManagedBlockchainClient";
|
|
73
|
-
const commandName = "CreateNodeCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: CreateNodeInput.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: CreateNodeOutput.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: CreateNodeCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_restJson1CreateNodeCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateNodeCommandOutput> {
|
|
94
|
-
return deserializeAws_restJson1CreateNodeCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|