@aws-sdk/client-managedblockchain 3.190.0 → 3.192.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/CHANGELOG.md +11 -0
- package/README.md +8 -8
- package/dist-cjs/ManagedBlockchain.js +60 -0
- package/dist-cjs/ManagedBlockchainClient.js +11 -8
- package/dist-cjs/commands/CreateAccessorCommand.js +46 -0
- package/dist-cjs/commands/CreateMemberCommand.js +10 -0
- package/dist-cjs/commands/CreateNetworkCommand.js +10 -0
- package/dist-cjs/commands/CreateNodeCommand.js +10 -0
- package/dist-cjs/commands/CreateProposalCommand.js +10 -0
- package/dist-cjs/commands/DeleteAccessorCommand.js +46 -0
- package/dist-cjs/commands/DeleteMemberCommand.js +10 -0
- package/dist-cjs/commands/DeleteNodeCommand.js +10 -0
- package/dist-cjs/commands/GetAccessorCommand.js +46 -0
- package/dist-cjs/commands/GetMemberCommand.js +10 -0
- package/dist-cjs/commands/GetNetworkCommand.js +10 -0
- package/dist-cjs/commands/GetNodeCommand.js +10 -0
- package/dist-cjs/commands/GetProposalCommand.js +10 -0
- package/dist-cjs/commands/ListAccessorsCommand.js +46 -0
- package/dist-cjs/commands/ListInvitationsCommand.js +10 -0
- package/dist-cjs/commands/ListMembersCommand.js +10 -0
- package/dist-cjs/commands/ListNetworksCommand.js +10 -0
- package/dist-cjs/commands/ListNodesCommand.js +10 -0
- package/dist-cjs/commands/ListProposalVotesCommand.js +10 -0
- package/dist-cjs/commands/ListProposalsCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/RejectInvitationCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateMemberCommand.js +10 -0
- package/dist-cjs/commands/UpdateNodeCommand.js +10 -0
- package/dist-cjs/commands/VoteOnProposalCommand.js +10 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +318 -0
- package/dist-cjs/models/models_0.js +66 -16
- package/dist-cjs/pagination/ListAccessorsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +297 -1
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/ManagedBlockchain.js +60 -0
- package/dist-es/ManagedBlockchainClient.js +12 -9
- package/dist-es/commands/CreateAccessorCommand.js +42 -0
- package/dist-es/commands/CreateMemberCommand.js +10 -0
- package/dist-es/commands/CreateNetworkCommand.js +10 -0
- package/dist-es/commands/CreateNodeCommand.js +10 -0
- package/dist-es/commands/CreateProposalCommand.js +10 -0
- package/dist-es/commands/DeleteAccessorCommand.js +42 -0
- package/dist-es/commands/DeleteMemberCommand.js +10 -0
- package/dist-es/commands/DeleteNodeCommand.js +10 -0
- package/dist-es/commands/GetAccessorCommand.js +42 -0
- package/dist-es/commands/GetMemberCommand.js +10 -0
- package/dist-es/commands/GetNetworkCommand.js +10 -0
- package/dist-es/commands/GetNodeCommand.js +10 -0
- package/dist-es/commands/GetProposalCommand.js +10 -0
- package/dist-es/commands/ListAccessorsCommand.js +42 -0
- package/dist-es/commands/ListInvitationsCommand.js +10 -0
- package/dist-es/commands/ListMembersCommand.js +10 -0
- package/dist-es/commands/ListNetworksCommand.js +10 -0
- package/dist-es/commands/ListNodesCommand.js +10 -0
- package/dist-es/commands/ListProposalVotesCommand.js +10 -0
- package/dist-es/commands/ListProposalsCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/RejectInvitationCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateMemberCommand.js +10 -0
- package/dist-es/commands/UpdateNodeCommand.js +10 -0
- package/dist-es/commands/VoteOnProposalCommand.js +10 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +315 -0
- package/dist-es/models/models_0.js +52 -12
- package/dist-es/pagination/ListAccessorsPaginator.js +32 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +286 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/ManagedBlockchain.d.ts +64 -7
- package/dist-types/ManagedBlockchainClient.d.ts +13 -12
- package/dist-types/commands/CreateAccessorCommand.d.ts +43 -0
- package/dist-types/commands/CreateMemberCommand.d.ts +2 -0
- package/dist-types/commands/CreateNetworkCommand.d.ts +2 -0
- package/dist-types/commands/CreateNodeCommand.d.ts +2 -0
- package/dist-types/commands/CreateProposalCommand.d.ts +2 -0
- package/dist-types/commands/DeleteAccessorCommand.d.ts +48 -0
- package/dist-types/commands/DeleteMemberCommand.d.ts +3 -1
- package/dist-types/commands/DeleteNodeCommand.d.ts +3 -1
- package/dist-types/commands/GetAccessorCommand.d.ts +43 -0
- package/dist-types/commands/GetMemberCommand.d.ts +2 -0
- package/dist-types/commands/GetNetworkCommand.d.ts +2 -0
- package/dist-types/commands/GetNodeCommand.d.ts +2 -0
- package/dist-types/commands/GetProposalCommand.d.ts +2 -0
- package/dist-types/commands/ListAccessorsCommand.d.ts +43 -0
- package/dist-types/commands/ListInvitationsCommand.d.ts +3 -1
- package/dist-types/commands/ListMembersCommand.d.ts +2 -0
- package/dist-types/commands/ListNetworksCommand.d.ts +3 -1
- package/dist-types/commands/ListNodesCommand.d.ts +2 -0
- package/dist-types/commands/ListProposalVotesCommand.d.ts +2 -0
- package/dist-types/commands/ListProposalsCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/RejectInvitationCommand.d.ts +3 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateMemberCommand.d.ts +2 -0
- package/dist-types/commands/UpdateNodeCommand.d.ts +2 -0
- package/dist-types/commands/VoteOnProposalCommand.d.ts +3 -1
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +325 -119
- package/dist-types/pagination/ListAccessorsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +12 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/ManagedBlockchain.d.ts +68 -0
- package/dist-types/ts3.4/ManagedBlockchainClient.d.ts +39 -8
- package/dist-types/ts3.4/commands/CreateAccessorCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/CreateMemberCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateNetworkCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateNodeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateProposalCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteAccessorCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteMemberCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteNodeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAccessorCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetMemberCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetNetworkCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetNodeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetProposalCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAccessorsCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListNetworksCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListNodesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListProposalVotesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListProposalsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RejectInvitationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateMemberCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateNodeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/VoteOnProposalCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +115 -38
- package/dist-types/ts3.4/pagination/ListAccessorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +4 -3
- package/dist-cjs/endpoints.js +0 -132
- package/dist-es/endpoints.js +0 -128
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.192.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.191.0...v3.192.0) (2022-10-19)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-managedblockchain:** Adding new Accessor APIs for Amazon Managed Blockchain ([db0e989](https://github.com/aws/aws-sdk-js-v3/commit/db0e98960c98283471b7690bd80df917c0539128))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.190.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.189.0...v3.190.0) (2022-10-17)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-managedblockchain
|
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ AWS SDK for JavaScript ManagedBlockchain Client for Node.js, Browser and React N
|
|
|
11
11
|
|
|
12
12
|
<p></p>
|
|
13
13
|
<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>
|
|
14
|
-
<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>
|
|
14
|
+
<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>
|
|
15
15
|
<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>
|
|
16
16
|
|
|
17
17
|
## Installing
|
|
@@ -29,16 +29,16 @@ using your favorite package manager:
|
|
|
29
29
|
|
|
30
30
|
The AWS SDK is modulized by clients and commands.
|
|
31
31
|
To send a request, you only need to import the `ManagedBlockchainClient` and
|
|
32
|
-
the commands you need, for example `
|
|
32
|
+
the commands you need, for example `CreateAccessorCommand`:
|
|
33
33
|
|
|
34
34
|
```js
|
|
35
35
|
// ES5 example
|
|
36
|
-
const { ManagedBlockchainClient,
|
|
36
|
+
const { ManagedBlockchainClient, CreateAccessorCommand } = require("@aws-sdk/client-managedblockchain");
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
```ts
|
|
40
40
|
// ES6+ example
|
|
41
|
-
import { ManagedBlockchainClient,
|
|
41
|
+
import { ManagedBlockchainClient, CreateAccessorCommand } from "@aws-sdk/client-managedblockchain";
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
### Usage
|
|
@@ -57,7 +57,7 @@ const client = new ManagedBlockchainClient({ region: "REGION" });
|
|
|
57
57
|
const params = {
|
|
58
58
|
/** input parameters */
|
|
59
59
|
};
|
|
60
|
-
const command = new
|
|
60
|
+
const command = new CreateAccessorCommand(params);
|
|
61
61
|
```
|
|
62
62
|
|
|
63
63
|
#### Async/await
|
|
@@ -136,7 +136,7 @@ const client = new AWS.ManagedBlockchain({ region: "REGION" });
|
|
|
136
136
|
|
|
137
137
|
// async/await.
|
|
138
138
|
try {
|
|
139
|
-
const data = await client.
|
|
139
|
+
const data = await client.createAccessor(params);
|
|
140
140
|
// process data.
|
|
141
141
|
} catch (error) {
|
|
142
142
|
// error handling.
|
|
@@ -144,7 +144,7 @@ try {
|
|
|
144
144
|
|
|
145
145
|
// Promises.
|
|
146
146
|
client
|
|
147
|
-
.
|
|
147
|
+
.createAccessor(params)
|
|
148
148
|
.then((data) => {
|
|
149
149
|
// process data.
|
|
150
150
|
})
|
|
@@ -153,7 +153,7 @@ client
|
|
|
153
153
|
});
|
|
154
154
|
|
|
155
155
|
// callbacks.
|
|
156
|
-
client.
|
|
156
|
+
client.createAccessor(params, (err, data) => {
|
|
157
157
|
// process err and data.
|
|
158
158
|
});
|
|
159
159
|
```
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ManagedBlockchain = void 0;
|
|
4
|
+
const CreateAccessorCommand_1 = require("./commands/CreateAccessorCommand");
|
|
4
5
|
const CreateMemberCommand_1 = require("./commands/CreateMemberCommand");
|
|
5
6
|
const CreateNetworkCommand_1 = require("./commands/CreateNetworkCommand");
|
|
6
7
|
const CreateNodeCommand_1 = require("./commands/CreateNodeCommand");
|
|
7
8
|
const CreateProposalCommand_1 = require("./commands/CreateProposalCommand");
|
|
9
|
+
const DeleteAccessorCommand_1 = require("./commands/DeleteAccessorCommand");
|
|
8
10
|
const DeleteMemberCommand_1 = require("./commands/DeleteMemberCommand");
|
|
9
11
|
const DeleteNodeCommand_1 = require("./commands/DeleteNodeCommand");
|
|
12
|
+
const GetAccessorCommand_1 = require("./commands/GetAccessorCommand");
|
|
10
13
|
const GetMemberCommand_1 = require("./commands/GetMemberCommand");
|
|
11
14
|
const GetNetworkCommand_1 = require("./commands/GetNetworkCommand");
|
|
12
15
|
const GetNodeCommand_1 = require("./commands/GetNodeCommand");
|
|
13
16
|
const GetProposalCommand_1 = require("./commands/GetProposalCommand");
|
|
17
|
+
const ListAccessorsCommand_1 = require("./commands/ListAccessorsCommand");
|
|
14
18
|
const ListInvitationsCommand_1 = require("./commands/ListInvitationsCommand");
|
|
15
19
|
const ListMembersCommand_1 = require("./commands/ListMembersCommand");
|
|
16
20
|
const ListNetworksCommand_1 = require("./commands/ListNetworksCommand");
|
|
@@ -26,6 +30,20 @@ const UpdateNodeCommand_1 = require("./commands/UpdateNodeCommand");
|
|
|
26
30
|
const VoteOnProposalCommand_1 = require("./commands/VoteOnProposalCommand");
|
|
27
31
|
const ManagedBlockchainClient_1 = require("./ManagedBlockchainClient");
|
|
28
32
|
class ManagedBlockchain extends ManagedBlockchainClient_1.ManagedBlockchainClient {
|
|
33
|
+
createAccessor(args, optionsOrCb, cb) {
|
|
34
|
+
const command = new CreateAccessorCommand_1.CreateAccessorCommand(args);
|
|
35
|
+
if (typeof optionsOrCb === "function") {
|
|
36
|
+
this.send(command, optionsOrCb);
|
|
37
|
+
}
|
|
38
|
+
else if (typeof cb === "function") {
|
|
39
|
+
if (typeof optionsOrCb !== "object")
|
|
40
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
41
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
return this.send(command, optionsOrCb);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
29
47
|
createMember(args, optionsOrCb, cb) {
|
|
30
48
|
const command = new CreateMemberCommand_1.CreateMemberCommand(args);
|
|
31
49
|
if (typeof optionsOrCb === "function") {
|
|
@@ -82,6 +100,20 @@ class ManagedBlockchain extends ManagedBlockchainClient_1.ManagedBlockchainClien
|
|
|
82
100
|
return this.send(command, optionsOrCb);
|
|
83
101
|
}
|
|
84
102
|
}
|
|
103
|
+
deleteAccessor(args, optionsOrCb, cb) {
|
|
104
|
+
const command = new DeleteAccessorCommand_1.DeleteAccessorCommand(args);
|
|
105
|
+
if (typeof optionsOrCb === "function") {
|
|
106
|
+
this.send(command, optionsOrCb);
|
|
107
|
+
}
|
|
108
|
+
else if (typeof cb === "function") {
|
|
109
|
+
if (typeof optionsOrCb !== "object")
|
|
110
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
111
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
112
|
+
}
|
|
113
|
+
else {
|
|
114
|
+
return this.send(command, optionsOrCb);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
85
117
|
deleteMember(args, optionsOrCb, cb) {
|
|
86
118
|
const command = new DeleteMemberCommand_1.DeleteMemberCommand(args);
|
|
87
119
|
if (typeof optionsOrCb === "function") {
|
|
@@ -110,6 +142,20 @@ class ManagedBlockchain extends ManagedBlockchainClient_1.ManagedBlockchainClien
|
|
|
110
142
|
return this.send(command, optionsOrCb);
|
|
111
143
|
}
|
|
112
144
|
}
|
|
145
|
+
getAccessor(args, optionsOrCb, cb) {
|
|
146
|
+
const command = new GetAccessorCommand_1.GetAccessorCommand(args);
|
|
147
|
+
if (typeof optionsOrCb === "function") {
|
|
148
|
+
this.send(command, optionsOrCb);
|
|
149
|
+
}
|
|
150
|
+
else if (typeof cb === "function") {
|
|
151
|
+
if (typeof optionsOrCb !== "object")
|
|
152
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
153
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
154
|
+
}
|
|
155
|
+
else {
|
|
156
|
+
return this.send(command, optionsOrCb);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
113
159
|
getMember(args, optionsOrCb, cb) {
|
|
114
160
|
const command = new GetMemberCommand_1.GetMemberCommand(args);
|
|
115
161
|
if (typeof optionsOrCb === "function") {
|
|
@@ -166,6 +212,20 @@ class ManagedBlockchain extends ManagedBlockchainClient_1.ManagedBlockchainClien
|
|
|
166
212
|
return this.send(command, optionsOrCb);
|
|
167
213
|
}
|
|
168
214
|
}
|
|
215
|
+
listAccessors(args, optionsOrCb, cb) {
|
|
216
|
+
const command = new ListAccessorsCommand_1.ListAccessorsCommand(args);
|
|
217
|
+
if (typeof optionsOrCb === "function") {
|
|
218
|
+
this.send(command, optionsOrCb);
|
|
219
|
+
}
|
|
220
|
+
else if (typeof cb === "function") {
|
|
221
|
+
if (typeof optionsOrCb !== "object")
|
|
222
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
223
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
224
|
+
}
|
|
225
|
+
else {
|
|
226
|
+
return this.send(command, optionsOrCb);
|
|
227
|
+
}
|
|
228
|
+
}
|
|
169
229
|
listInvitations(args, optionsOrCb, cb) {
|
|
170
230
|
const command = new ListInvitationsCommand_1.ListInvitationsCommand(args);
|
|
171
231
|
if (typeof optionsOrCb === "function") {
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ManagedBlockchainClient = void 0;
|
|
4
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
6
7
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
8
|
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
9
|
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
@@ -10,18 +11,20 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
|
10
11
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
11
12
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
12
13
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
14
|
+
const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
13
15
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
14
16
|
class ManagedBlockchainClient extends smithy_client_1.Client {
|
|
15
17
|
constructor(configuration) {
|
|
16
18
|
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
|
|
17
|
-
const _config_1 = (0,
|
|
18
|
-
const _config_2 = (0, config_resolver_1.
|
|
19
|
-
const _config_3 = (0,
|
|
20
|
-
const _config_4 = (0,
|
|
21
|
-
const _config_5 = (0,
|
|
22
|
-
const _config_6 = (0,
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
|
|
20
|
+
const _config_2 = (0, config_resolver_1.resolveRegionConfig)(_config_1);
|
|
21
|
+
const _config_3 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_2);
|
|
22
|
+
const _config_4 = (0, middleware_retry_1.resolveRetryConfig)(_config_3);
|
|
23
|
+
const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
|
|
24
|
+
const _config_6 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_5);
|
|
25
|
+
const _config_7 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_6);
|
|
26
|
+
super(_config_7);
|
|
27
|
+
this.config = _config_7;
|
|
25
28
|
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
26
29
|
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
27
30
|
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateAccessorCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class CreateAccessorCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateAccessorCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "ManagedBlockchainClient";
|
|
28
|
+
const commandName = "CreateAccessorCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.CreateAccessorInputFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.CreateAccessorOutputFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1CreateAccessorCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1CreateAccessorCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.CreateAccessorCommand = CreateAccessorCommand;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateMemberCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class CreateMemberCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateMemberCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "ManagedBlockchainClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateNetworkCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class CreateNetworkCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateNetworkCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "ManagedBlockchainClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateNodeCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class CreateNodeCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateNodeCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "ManagedBlockchainClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateProposalCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class CreateProposalCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateProposalCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "ManagedBlockchainClient";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteAccessorCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class DeleteAccessorCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteAccessorCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "ManagedBlockchainClient";
|
|
28
|
+
const commandName = "DeleteAccessorCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.DeleteAccessorInputFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.DeleteAccessorOutputFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DeleteAccessorCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteAccessorCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.DeleteAccessorCommand = DeleteAccessorCommand;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteMemberCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class DeleteMemberCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteMemberCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "ManagedBlockchainClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteNodeCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class DeleteNodeCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteNodeCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "ManagedBlockchainClient";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetAccessorCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class GetAccessorCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetAccessorCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "ManagedBlockchainClient";
|
|
28
|
+
const commandName = "GetAccessorCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.GetAccessorInputFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.GetAccessorOutputFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetAccessorCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetAccessorCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.GetAccessorCommand = GetAccessorCommand;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetMemberCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class GetMemberCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetMemberCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "ManagedBlockchainClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetNetworkCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class GetNetworkCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetNetworkCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "ManagedBlockchainClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetNodeCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class GetNodeCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetNodeCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "ManagedBlockchainClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetProposalCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class GetProposalCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetProposalCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "ManagedBlockchainClient";
|