@aws-sdk/client-managedblockchain 3.312.0 → 3.316.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/ManagedBlockchain.js +31 -378
- package/dist-cjs/protocols/Aws_restJson1.js +361 -709
- package/dist-es/ManagedBlockchain.js +31 -378
- package/dist-es/protocols/Aws_restJson1.js +315 -663
- package/dist-types/ManagedBlockchain.d.ts +37 -96
- package/dist-types/ts3.4/ManagedBlockchain.d.ts +4 -1
- package/package.json +6 -6
|
@@ -27,235 +27,176 @@ import { UpdateMemberCommandInput, UpdateMemberCommandOutput } from "./commands/
|
|
|
27
27
|
import { UpdateNodeCommandInput, UpdateNodeCommandOutput } from "./commands/UpdateNodeCommand";
|
|
28
28
|
import { VoteOnProposalCommandInput, VoteOnProposalCommandOutput } from "./commands/VoteOnProposalCommand";
|
|
29
29
|
import { ManagedBlockchainClient } from "./ManagedBlockchainClient";
|
|
30
|
-
|
|
31
|
-
* @public
|
|
32
|
-
* <p></p>
|
|
33
|
-
* <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>
|
|
34
|
-
* <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> don't apply to Ethereum.</p>
|
|
35
|
-
* <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>
|
|
36
|
-
*/
|
|
37
|
-
export declare class ManagedBlockchain extends ManagedBlockchainClient {
|
|
30
|
+
export interface ManagedBlockchain {
|
|
38
31
|
/**
|
|
39
|
-
* @
|
|
40
|
-
* <p>Creates a new accessor for use with Managed Blockchain Ethereum nodes. An accessor contains information
|
|
41
|
-
* required for token based access to your Ethereum nodes.</p>
|
|
32
|
+
* @see {@link CreateAccessorCommand}
|
|
42
33
|
*/
|
|
43
34
|
createAccessor(args: CreateAccessorCommandInput, options?: __HttpHandlerOptions): Promise<CreateAccessorCommandOutput>;
|
|
44
35
|
createAccessor(args: CreateAccessorCommandInput, cb: (err: any, data?: CreateAccessorCommandOutput) => void): void;
|
|
45
36
|
createAccessor(args: CreateAccessorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAccessorCommandOutput) => void): void;
|
|
46
37
|
/**
|
|
47
|
-
* @
|
|
48
|
-
* <p>Creates a member within a Managed Blockchain network.</p>
|
|
49
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
38
|
+
* @see {@link CreateMemberCommand}
|
|
50
39
|
*/
|
|
51
40
|
createMember(args: CreateMemberCommandInput, options?: __HttpHandlerOptions): Promise<CreateMemberCommandOutput>;
|
|
52
41
|
createMember(args: CreateMemberCommandInput, cb: (err: any, data?: CreateMemberCommandOutput) => void): void;
|
|
53
42
|
createMember(args: CreateMemberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMemberCommandOutput) => void): void;
|
|
54
43
|
/**
|
|
55
|
-
* @
|
|
56
|
-
* <p>Creates a new blockchain network using Amazon Managed Blockchain.</p>
|
|
57
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
44
|
+
* @see {@link CreateNetworkCommand}
|
|
58
45
|
*/
|
|
59
46
|
createNetwork(args: CreateNetworkCommandInput, options?: __HttpHandlerOptions): Promise<CreateNetworkCommandOutput>;
|
|
60
47
|
createNetwork(args: CreateNetworkCommandInput, cb: (err: any, data?: CreateNetworkCommandOutput) => void): void;
|
|
61
48
|
createNetwork(args: CreateNetworkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateNetworkCommandOutput) => void): void;
|
|
62
49
|
/**
|
|
63
|
-
* @
|
|
64
|
-
* <p>Creates a node on the specified blockchain network.</p>
|
|
65
|
-
* <p>Applies to Hyperledger Fabric and Ethereum.</p>
|
|
50
|
+
* @see {@link CreateNodeCommand}
|
|
66
51
|
*/
|
|
67
52
|
createNode(args: CreateNodeCommandInput, options?: __HttpHandlerOptions): Promise<CreateNodeCommandOutput>;
|
|
68
53
|
createNode(args: CreateNodeCommandInput, cb: (err: any, data?: CreateNodeCommandOutput) => void): void;
|
|
69
54
|
createNode(args: CreateNodeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateNodeCommandOutput) => void): void;
|
|
70
55
|
/**
|
|
71
|
-
* @
|
|
72
|
-
* <p>Creates a proposal for a change to the network that other members of the network can vote on, for example, a proposal to add a new member to the network. Any member can create a proposal.</p>
|
|
73
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
56
|
+
* @see {@link CreateProposalCommand}
|
|
74
57
|
*/
|
|
75
58
|
createProposal(args: CreateProposalCommandInput, options?: __HttpHandlerOptions): Promise<CreateProposalCommandOutput>;
|
|
76
59
|
createProposal(args: CreateProposalCommandInput, cb: (err: any, data?: CreateProposalCommandOutput) => void): void;
|
|
77
60
|
createProposal(args: CreateProposalCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateProposalCommandOutput) => void): void;
|
|
78
61
|
/**
|
|
79
|
-
* @
|
|
80
|
-
* <p>Deletes an accessor that your Amazon Web Services account owns. An accessor object is a container that has the
|
|
81
|
-
* information required for token based access to your Ethereum nodes including, the
|
|
82
|
-
* <code>BILLING_TOKEN</code>. After an accessor is deleted, the status of the accessor changes
|
|
83
|
-
* from <code>AVAILABLE</code> to <code>PENDING_DELETION</code>. An accessor in the
|
|
84
|
-
* <code>PENDING_DELETION</code> state can’t be used for new WebSocket requests or
|
|
85
|
-
* HTTP requests. However, WebSocket connections that were initiated while the accessor was in the
|
|
86
|
-
* <code>AVAILABLE</code> state remain open until they expire (up to 2 hours).</p>
|
|
62
|
+
* @see {@link DeleteAccessorCommand}
|
|
87
63
|
*/
|
|
88
64
|
deleteAccessor(args: DeleteAccessorCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAccessorCommandOutput>;
|
|
89
65
|
deleteAccessor(args: DeleteAccessorCommandInput, cb: (err: any, data?: DeleteAccessorCommandOutput) => void): void;
|
|
90
66
|
deleteAccessor(args: DeleteAccessorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAccessorCommandOutput) => void): void;
|
|
91
67
|
/**
|
|
92
|
-
* @
|
|
93
|
-
* <p>Deletes a member. Deleting a member removes the member and all associated resources from the network. <code>DeleteMember</code> can only be called for a specified <code>MemberId</code> if the principal performing the action is associated with the Amazon Web Services account that owns the member. In all other cases, the <code>DeleteMember</code> action is carried out as the result of an approved proposal to remove a member. If <code>MemberId</code> is the last member in a network specified by the last Amazon Web Services account, the network is deleted also.</p>
|
|
94
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
68
|
+
* @see {@link DeleteMemberCommand}
|
|
95
69
|
*/
|
|
96
70
|
deleteMember(args: DeleteMemberCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMemberCommandOutput>;
|
|
97
71
|
deleteMember(args: DeleteMemberCommandInput, cb: (err: any, data?: DeleteMemberCommandOutput) => void): void;
|
|
98
72
|
deleteMember(args: DeleteMemberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMemberCommandOutput) => void): void;
|
|
99
73
|
/**
|
|
100
|
-
* @
|
|
101
|
-
* <p>Deletes a node that your Amazon Web Services account owns. All data on the node is lost and cannot be recovered.</p>
|
|
102
|
-
* <p>Applies to Hyperledger Fabric and Ethereum.</p>
|
|
74
|
+
* @see {@link DeleteNodeCommand}
|
|
103
75
|
*/
|
|
104
76
|
deleteNode(args: DeleteNodeCommandInput, options?: __HttpHandlerOptions): Promise<DeleteNodeCommandOutput>;
|
|
105
77
|
deleteNode(args: DeleteNodeCommandInput, cb: (err: any, data?: DeleteNodeCommandOutput) => void): void;
|
|
106
78
|
deleteNode(args: DeleteNodeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteNodeCommandOutput) => void): void;
|
|
107
79
|
/**
|
|
108
|
-
* @
|
|
109
|
-
* <p>Returns detailed information about an accessor. An accessor object is a container that has the
|
|
110
|
-
* information required for token based access to your Ethereum nodes.</p>
|
|
80
|
+
* @see {@link GetAccessorCommand}
|
|
111
81
|
*/
|
|
112
82
|
getAccessor(args: GetAccessorCommandInput, options?: __HttpHandlerOptions): Promise<GetAccessorCommandOutput>;
|
|
113
83
|
getAccessor(args: GetAccessorCommandInput, cb: (err: any, data?: GetAccessorCommandOutput) => void): void;
|
|
114
84
|
getAccessor(args: GetAccessorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccessorCommandOutput) => void): void;
|
|
115
85
|
/**
|
|
116
|
-
* @
|
|
117
|
-
* <p>Returns detailed information about a member.</p>
|
|
118
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
86
|
+
* @see {@link GetMemberCommand}
|
|
119
87
|
*/
|
|
120
88
|
getMember(args: GetMemberCommandInput, options?: __HttpHandlerOptions): Promise<GetMemberCommandOutput>;
|
|
121
89
|
getMember(args: GetMemberCommandInput, cb: (err: any, data?: GetMemberCommandOutput) => void): void;
|
|
122
90
|
getMember(args: GetMemberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMemberCommandOutput) => void): void;
|
|
123
91
|
/**
|
|
124
|
-
* @
|
|
125
|
-
* <p>Returns detailed information about a network.</p>
|
|
126
|
-
* <p>Applies to Hyperledger Fabric and Ethereum.</p>
|
|
92
|
+
* @see {@link GetNetworkCommand}
|
|
127
93
|
*/
|
|
128
94
|
getNetwork(args: GetNetworkCommandInput, options?: __HttpHandlerOptions): Promise<GetNetworkCommandOutput>;
|
|
129
95
|
getNetwork(args: GetNetworkCommandInput, cb: (err: any, data?: GetNetworkCommandOutput) => void): void;
|
|
130
96
|
getNetwork(args: GetNetworkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetNetworkCommandOutput) => void): void;
|
|
131
97
|
/**
|
|
132
|
-
* @
|
|
133
|
-
* <p>Returns detailed information about a node.</p>
|
|
134
|
-
* <p>Applies to Hyperledger Fabric and Ethereum.</p>
|
|
98
|
+
* @see {@link GetNodeCommand}
|
|
135
99
|
*/
|
|
136
100
|
getNode(args: GetNodeCommandInput, options?: __HttpHandlerOptions): Promise<GetNodeCommandOutput>;
|
|
137
101
|
getNode(args: GetNodeCommandInput, cb: (err: any, data?: GetNodeCommandOutput) => void): void;
|
|
138
102
|
getNode(args: GetNodeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetNodeCommandOutput) => void): void;
|
|
139
103
|
/**
|
|
140
|
-
* @
|
|
141
|
-
* <p>Returns detailed information about a proposal.</p>
|
|
142
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
104
|
+
* @see {@link GetProposalCommand}
|
|
143
105
|
*/
|
|
144
106
|
getProposal(args: GetProposalCommandInput, options?: __HttpHandlerOptions): Promise<GetProposalCommandOutput>;
|
|
145
107
|
getProposal(args: GetProposalCommandInput, cb: (err: any, data?: GetProposalCommandOutput) => void): void;
|
|
146
108
|
getProposal(args: GetProposalCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProposalCommandOutput) => void): void;
|
|
147
109
|
/**
|
|
148
|
-
* @
|
|
149
|
-
* <p>Returns a list of the accessors and their properties. Accessor objects are containers that have the
|
|
150
|
-
* information required for token based access to your Ethereum nodes.</p>
|
|
110
|
+
* @see {@link ListAccessorsCommand}
|
|
151
111
|
*/
|
|
152
112
|
listAccessors(args: ListAccessorsCommandInput, options?: __HttpHandlerOptions): Promise<ListAccessorsCommandOutput>;
|
|
153
113
|
listAccessors(args: ListAccessorsCommandInput, cb: (err: any, data?: ListAccessorsCommandOutput) => void): void;
|
|
154
114
|
listAccessors(args: ListAccessorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccessorsCommandOutput) => void): void;
|
|
155
115
|
/**
|
|
156
|
-
* @
|
|
157
|
-
* <p>Returns a list of all invitations for the current Amazon Web Services account.</p>
|
|
158
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
116
|
+
* @see {@link ListInvitationsCommand}
|
|
159
117
|
*/
|
|
160
118
|
listInvitations(args: ListInvitationsCommandInput, options?: __HttpHandlerOptions): Promise<ListInvitationsCommandOutput>;
|
|
161
119
|
listInvitations(args: ListInvitationsCommandInput, cb: (err: any, data?: ListInvitationsCommandOutput) => void): void;
|
|
162
120
|
listInvitations(args: ListInvitationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInvitationsCommandOutput) => void): void;
|
|
163
121
|
/**
|
|
164
|
-
* @
|
|
165
|
-
* <p>Returns a list of the members in a network and properties of their configurations.</p>
|
|
166
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
122
|
+
* @see {@link ListMembersCommand}
|
|
167
123
|
*/
|
|
168
124
|
listMembers(args: ListMembersCommandInput, options?: __HttpHandlerOptions): Promise<ListMembersCommandOutput>;
|
|
169
125
|
listMembers(args: ListMembersCommandInput, cb: (err: any, data?: ListMembersCommandOutput) => void): void;
|
|
170
126
|
listMembers(args: ListMembersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMembersCommandOutput) => void): void;
|
|
171
127
|
/**
|
|
172
|
-
* @
|
|
173
|
-
* <p>Returns information about the networks in which the current Amazon Web Services account participates.</p>
|
|
174
|
-
* <p>Applies to Hyperledger Fabric and Ethereum.</p>
|
|
128
|
+
* @see {@link ListNetworksCommand}
|
|
175
129
|
*/
|
|
176
130
|
listNetworks(args: ListNetworksCommandInput, options?: __HttpHandlerOptions): Promise<ListNetworksCommandOutput>;
|
|
177
131
|
listNetworks(args: ListNetworksCommandInput, cb: (err: any, data?: ListNetworksCommandOutput) => void): void;
|
|
178
132
|
listNetworks(args: ListNetworksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListNetworksCommandOutput) => void): void;
|
|
179
133
|
/**
|
|
180
|
-
* @
|
|
181
|
-
* <p>Returns information about the nodes within a network.</p>
|
|
182
|
-
* <p>Applies to Hyperledger Fabric and Ethereum.</p>
|
|
134
|
+
* @see {@link ListNodesCommand}
|
|
183
135
|
*/
|
|
184
136
|
listNodes(args: ListNodesCommandInput, options?: __HttpHandlerOptions): Promise<ListNodesCommandOutput>;
|
|
185
137
|
listNodes(args: ListNodesCommandInput, cb: (err: any, data?: ListNodesCommandOutput) => void): void;
|
|
186
138
|
listNodes(args: ListNodesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListNodesCommandOutput) => void): void;
|
|
187
139
|
/**
|
|
188
|
-
* @
|
|
189
|
-
* <p>Returns a list of proposals for the network.</p>
|
|
190
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
140
|
+
* @see {@link ListProposalsCommand}
|
|
191
141
|
*/
|
|
192
142
|
listProposals(args: ListProposalsCommandInput, options?: __HttpHandlerOptions): Promise<ListProposalsCommandOutput>;
|
|
193
143
|
listProposals(args: ListProposalsCommandInput, cb: (err: any, data?: ListProposalsCommandOutput) => void): void;
|
|
194
144
|
listProposals(args: ListProposalsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProposalsCommandOutput) => void): void;
|
|
195
145
|
/**
|
|
196
|
-
* @
|
|
197
|
-
* <p>Returns the list of votes for a specified proposal, including the value of each vote and the unique identifier of the member that cast the vote.</p>
|
|
198
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
146
|
+
* @see {@link ListProposalVotesCommand}
|
|
199
147
|
*/
|
|
200
148
|
listProposalVotes(args: ListProposalVotesCommandInput, options?: __HttpHandlerOptions): Promise<ListProposalVotesCommandOutput>;
|
|
201
149
|
listProposalVotes(args: ListProposalVotesCommandInput, cb: (err: any, data?: ListProposalVotesCommandOutput) => void): void;
|
|
202
150
|
listProposalVotes(args: ListProposalVotesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProposalVotesCommandOutput) => void): void;
|
|
203
151
|
/**
|
|
204
|
-
* @
|
|
205
|
-
* <p>Returns a list of tags for the specified resource. Each tag consists of a key and optional value.</p>
|
|
206
|
-
* <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>
|
|
152
|
+
* @see {@link ListTagsForResourceCommand}
|
|
207
153
|
*/
|
|
208
154
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
209
155
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
210
156
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
211
157
|
/**
|
|
212
|
-
* @
|
|
213
|
-
* <p>Rejects an invitation to join a network. This action can be called by a principal in an Amazon Web Services account that has received an invitation to create a member and join a network.</p>
|
|
214
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
158
|
+
* @see {@link RejectInvitationCommand}
|
|
215
159
|
*/
|
|
216
160
|
rejectInvitation(args: RejectInvitationCommandInput, options?: __HttpHandlerOptions): Promise<RejectInvitationCommandOutput>;
|
|
217
161
|
rejectInvitation(args: RejectInvitationCommandInput, cb: (err: any, data?: RejectInvitationCommandOutput) => void): void;
|
|
218
162
|
rejectInvitation(args: RejectInvitationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RejectInvitationCommandOutput) => void): void;
|
|
219
163
|
/**
|
|
220
|
-
* @
|
|
221
|
-
* <p>Adds or overwrites the specified tags for the specified Amazon Managed Blockchain resource. Each tag consists of a key and optional value.</p>
|
|
222
|
-
* <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>
|
|
223
|
-
* <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>
|
|
224
|
-
* <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>
|
|
164
|
+
* @see {@link TagResourceCommand}
|
|
225
165
|
*/
|
|
226
166
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
227
167
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
228
168
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
229
169
|
/**
|
|
230
|
-
* @
|
|
231
|
-
* <p>Removes the specified tags from the Amazon Managed Blockchain resource.</p>
|
|
232
|
-
* <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>
|
|
170
|
+
* @see {@link UntagResourceCommand}
|
|
233
171
|
*/
|
|
234
172
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
235
173
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
236
174
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
237
175
|
/**
|
|
238
|
-
* @
|
|
239
|
-
* <p>Updates a member configuration with new parameters.</p>
|
|
240
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
176
|
+
* @see {@link UpdateMemberCommand}
|
|
241
177
|
*/
|
|
242
178
|
updateMember(args: UpdateMemberCommandInput, options?: __HttpHandlerOptions): Promise<UpdateMemberCommandOutput>;
|
|
243
179
|
updateMember(args: UpdateMemberCommandInput, cb: (err: any, data?: UpdateMemberCommandOutput) => void): void;
|
|
244
180
|
updateMember(args: UpdateMemberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMemberCommandOutput) => void): void;
|
|
245
181
|
/**
|
|
246
|
-
* @
|
|
247
|
-
* <p>Updates a node configuration with new parameters.</p>
|
|
248
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
182
|
+
* @see {@link UpdateNodeCommand}
|
|
249
183
|
*/
|
|
250
184
|
updateNode(args: UpdateNodeCommandInput, options?: __HttpHandlerOptions): Promise<UpdateNodeCommandOutput>;
|
|
251
185
|
updateNode(args: UpdateNodeCommandInput, cb: (err: any, data?: UpdateNodeCommandOutput) => void): void;
|
|
252
186
|
updateNode(args: UpdateNodeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateNodeCommandOutput) => void): void;
|
|
253
187
|
/**
|
|
254
|
-
* @
|
|
255
|
-
* <p>Casts a vote for a specified <code>ProposalId</code> on behalf of a member. The member to vote as, specified by <code>VoterMemberId</code>, must be in the same Amazon Web Services account as the principal that calls the action.</p>
|
|
256
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
188
|
+
* @see {@link VoteOnProposalCommand}
|
|
257
189
|
*/
|
|
258
190
|
voteOnProposal(args: VoteOnProposalCommandInput, options?: __HttpHandlerOptions): Promise<VoteOnProposalCommandOutput>;
|
|
259
191
|
voteOnProposal(args: VoteOnProposalCommandInput, cb: (err: any, data?: VoteOnProposalCommandOutput) => void): void;
|
|
260
192
|
voteOnProposal(args: VoteOnProposalCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: VoteOnProposalCommandOutput) => void): void;
|
|
261
193
|
}
|
|
194
|
+
/**
|
|
195
|
+
* @public
|
|
196
|
+
* <p></p>
|
|
197
|
+
* <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>
|
|
198
|
+
* <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> don't apply to Ethereum.</p>
|
|
199
|
+
* <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>
|
|
200
|
+
*/
|
|
201
|
+
export declare class ManagedBlockchain extends ManagedBlockchainClient implements ManagedBlockchain {
|
|
202
|
+
}
|
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
VoteOnProposalCommandOutput,
|
|
109
109
|
} from "./commands/VoteOnProposalCommand";
|
|
110
110
|
import { ManagedBlockchainClient } from "./ManagedBlockchainClient";
|
|
111
|
-
export
|
|
111
|
+
export interface ManagedBlockchain {
|
|
112
112
|
createAccessor(
|
|
113
113
|
args: CreateAccessorCommandInput,
|
|
114
114
|
options?: __HttpHandlerOptions
|
|
@@ -461,3 +461,6 @@ export declare class ManagedBlockchain extends ManagedBlockchainClient {
|
|
|
461
461
|
cb: (err: any, data?: VoteOnProposalCommandOutput) => void
|
|
462
462
|
): void;
|
|
463
463
|
}
|
|
464
|
+
export declare class ManagedBlockchain
|
|
465
|
+
extends ManagedBlockchainClient
|
|
466
|
+
implements ManagedBlockchain {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-managedblockchain",
|
|
3
3
|
"description": "AWS SDK for JavaScript Managedblockchain Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.316.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|