@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,99 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ManagedBlockchainClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ManagedBlockchainClient";
|
|
6
|
-
import { ListProposalsInput, ListProposalsOutput } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1ListProposalsCommand,
|
|
9
|
-
serializeAws_restJson1ListProposalsCommand,
|
|
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 ListProposalsCommandInput extends ListProposalsInput {}
|
|
25
|
-
export interface ListProposalsCommandOutput extends ListProposalsOutput, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Returns a list of proposals for the 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, ListProposalsCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
34
|
-
* // const { ManagedBlockchainClient, ListProposalsCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
35
|
-
* const client = new ManagedBlockchainClient(config);
|
|
36
|
-
* const command = new ListProposalsCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link ListProposalsCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link ListProposalsCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link ManagedBlockchainClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class ListProposalsCommand extends $Command<
|
|
46
|
-
ListProposalsCommandInput,
|
|
47
|
-
ListProposalsCommandOutput,
|
|
48
|
-
ManagedBlockchainClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: ListProposalsCommandInput) {
|
|
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<ListProposalsCommandInput, ListProposalsCommandOutput> {
|
|
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 = "ListProposalsCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: ListProposalsInput.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: ListProposalsOutput.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: ListProposalsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_restJson1ListProposalsCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListProposalsCommandOutput> {
|
|
94
|
-
return deserializeAws_restJson1ListProposalsCommand(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 { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1ListTagsForResourceCommand,
|
|
9
|
-
serializeAws_restJson1ListTagsForResourceCommand,
|
|
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 ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
|
|
25
|
-
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Returns a list of tags for the specified resource. Each tag consists of a key and optional value.</p>
|
|
29
|
-
* <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>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { ManagedBlockchainClient, ListTagsForResourceCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
34
|
-
* // const { ManagedBlockchainClient, ListTagsForResourceCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
35
|
-
* const client = new ManagedBlockchainClient(config);
|
|
36
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link ManagedBlockchainClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class ListTagsForResourceCommand extends $Command<
|
|
46
|
-
ListTagsForResourceCommandInput,
|
|
47
|
-
ListTagsForResourceCommandOutput,
|
|
48
|
-
ManagedBlockchainClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: ListTagsForResourceCommandInput) {
|
|
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<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
|
|
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 = "ListTagsForResourceCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: ListTagsForResourceResponse.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: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_restJson1ListTagsForResourceCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
|
|
94
|
-
return deserializeAws_restJson1ListTagsForResourceCommand(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 { RejectInvitationInput, RejectInvitationOutput } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1RejectInvitationCommand,
|
|
9
|
-
serializeAws_restJson1RejectInvitationCommand,
|
|
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 RejectInvitationCommandInput extends RejectInvitationInput {}
|
|
25
|
-
export interface RejectInvitationCommandOutput extends RejectInvitationOutput, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <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>
|
|
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, RejectInvitationCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
34
|
-
* // const { ManagedBlockchainClient, RejectInvitationCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
35
|
-
* const client = new ManagedBlockchainClient(config);
|
|
36
|
-
* const command = new RejectInvitationCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link RejectInvitationCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link RejectInvitationCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link ManagedBlockchainClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class RejectInvitationCommand extends $Command<
|
|
46
|
-
RejectInvitationCommandInput,
|
|
47
|
-
RejectInvitationCommandOutput,
|
|
48
|
-
ManagedBlockchainClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: RejectInvitationCommandInput) {
|
|
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<RejectInvitationCommandInput, RejectInvitationCommandOutput> {
|
|
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 = "RejectInvitationCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: RejectInvitationInput.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: RejectInvitationOutput.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: RejectInvitationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_restJson1RejectInvitationCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<RejectInvitationCommandOutput> {
|
|
94
|
-
return deserializeAws_restJson1RejectInvitationCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ManagedBlockchainClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ManagedBlockchainClient";
|
|
6
|
-
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1TagResourceCommand,
|
|
9
|
-
serializeAws_restJson1TagResourceCommand,
|
|
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 TagResourceCommandInput extends TagResourceRequest {}
|
|
25
|
-
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Adds or overwrites the specified tags for the specified Amazon Managed Blockchain resource. Each tag consists of a key and optional value.</p>
|
|
29
|
-
* <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>
|
|
30
|
-
* <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>
|
|
31
|
-
* <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>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { ManagedBlockchainClient, TagResourceCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
36
|
-
* // const { ManagedBlockchainClient, TagResourceCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
37
|
-
* const client = new ManagedBlockchainClient(config);
|
|
38
|
-
* const command = new TagResourceCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link ManagedBlockchainClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class TagResourceCommand extends $Command<
|
|
48
|
-
TagResourceCommandInput,
|
|
49
|
-
TagResourceCommandOutput,
|
|
50
|
-
ManagedBlockchainClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: TagResourceCommandInput) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
|
-
super();
|
|
58
|
-
// End section: command_constructor
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
|
-
resolveMiddleware(
|
|
65
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
66
|
-
configuration: ManagedBlockchainClientResolvedConfig,
|
|
67
|
-
options?: __HttpHandlerOptions
|
|
68
|
-
): Handler<TagResourceCommandInput, TagResourceCommandOutput> {
|
|
69
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
|
-
|
|
71
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
72
|
-
|
|
73
|
-
const { logger } = configuration;
|
|
74
|
-
const clientName = "ManagedBlockchainClient";
|
|
75
|
-
const commandName = "TagResourceCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: TagResourceResponse.filterSensitiveLog,
|
|
82
|
-
};
|
|
83
|
-
const { requestHandler } = configuration;
|
|
84
|
-
return stack.resolve(
|
|
85
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
86
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
87
|
-
handlerExecutionContext
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private serialize(input: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_restJson1TagResourceCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
|
|
96
|
-
return deserializeAws_restJson1TagResourceCommand(output, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
// Start section: command_body_extra
|
|
100
|
-
// End section: command_body_extra
|
|
101
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ManagedBlockchainClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ManagedBlockchainClient";
|
|
6
|
-
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1UntagResourceCommand,
|
|
9
|
-
serializeAws_restJson1UntagResourceCommand,
|
|
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 UntagResourceCommandInput extends UntagResourceRequest {}
|
|
25
|
-
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Removes the specified tags from the Amazon Managed Blockchain resource.</p>
|
|
29
|
-
* <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>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { ManagedBlockchainClient, UntagResourceCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
34
|
-
* // const { ManagedBlockchainClient, UntagResourceCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
35
|
-
* const client = new ManagedBlockchainClient(config);
|
|
36
|
-
* const command = new UntagResourceCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link ManagedBlockchainClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class UntagResourceCommand extends $Command<
|
|
46
|
-
UntagResourceCommandInput,
|
|
47
|
-
UntagResourceCommandOutput,
|
|
48
|
-
ManagedBlockchainClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: UntagResourceCommandInput) {
|
|
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<UntagResourceCommandInput, UntagResourceCommandOutput> {
|
|
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 = "UntagResourceCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: UntagResourceResponse.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: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_restJson1UntagResourceCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
|
|
94
|
-
return deserializeAws_restJson1UntagResourceCommand(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 { UpdateMemberInput, UpdateMemberOutput } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1UpdateMemberCommand,
|
|
9
|
-
serializeAws_restJson1UpdateMemberCommand,
|
|
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 UpdateMemberCommandInput extends UpdateMemberInput {}
|
|
25
|
-
export interface UpdateMemberCommandOutput extends UpdateMemberOutput, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Updates a member configuration with new parameters.</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, UpdateMemberCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
|
|
34
|
-
* // const { ManagedBlockchainClient, UpdateMemberCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
|
|
35
|
-
* const client = new ManagedBlockchainClient(config);
|
|
36
|
-
* const command = new UpdateMemberCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link UpdateMemberCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link UpdateMemberCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link ManagedBlockchainClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class UpdateMemberCommand extends $Command<
|
|
46
|
-
UpdateMemberCommandInput,
|
|
47
|
-
UpdateMemberCommandOutput,
|
|
48
|
-
ManagedBlockchainClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: UpdateMemberCommandInput) {
|
|
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<UpdateMemberCommandInput, UpdateMemberCommandOutput> {
|
|
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 = "UpdateMemberCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: UpdateMemberInput.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: UpdateMemberOutput.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: UpdateMemberCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_restJson1UpdateMemberCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateMemberCommandOutput> {
|
|
94
|
-
return deserializeAws_restJson1UpdateMemberCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|