@aws-sdk/client-managedblockchain 3.928.0 → 3.930.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/index.js +1285 -1343
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/ManagedBlockchainClient.js +2 -0
- package/dist-es/commands/CreateAccessorCommand.js +3 -9
- package/dist-es/commands/CreateMemberCommand.js +3 -10
- package/dist-es/commands/CreateNetworkCommand.js +3 -10
- package/dist-es/commands/CreateNodeCommand.js +3 -9
- package/dist-es/commands/CreateProposalCommand.js +3 -9
- package/dist-es/commands/DeleteAccessorCommand.js +3 -9
- package/dist-es/commands/DeleteMemberCommand.js +3 -9
- package/dist-es/commands/DeleteNodeCommand.js +3 -9
- package/dist-es/commands/GetAccessorCommand.js +3 -9
- package/dist-es/commands/GetMemberCommand.js +3 -9
- package/dist-es/commands/GetNetworkCommand.js +3 -9
- package/dist-es/commands/GetNodeCommand.js +3 -9
- package/dist-es/commands/GetProposalCommand.js +3 -9
- package/dist-es/commands/ListAccessorsCommand.js +3 -9
- package/dist-es/commands/ListInvitationsCommand.js +3 -9
- package/dist-es/commands/ListMembersCommand.js +3 -9
- package/dist-es/commands/ListNetworksCommand.js +3 -9
- package/dist-es/commands/ListNodesCommand.js +3 -9
- package/dist-es/commands/ListProposalVotesCommand.js +3 -9
- package/dist-es/commands/ListProposalsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/RejectInvitationCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateMemberCommand.js +3 -9
- package/dist-es/commands/UpdateNodeCommand.js +3 -9
- package/dist-es/commands/VoteOnProposalCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -27
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1218 -0
- package/dist-types/ManagedBlockchainClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -20
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +144 -0
- package/dist-types/ts3.4/ManagedBlockchainClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -15
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +150 -0
- package/package.json +33 -34
- package/dist-es/protocols/Aws_restJson1.js +0 -1109
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -245
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -329
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TaigaWebService", "TagResource", {})
|
|
17
13
|
.n("ManagedBlockchainClient", "TagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TagResourceCommand)
|
|
20
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TaigaWebService", "UntagResource", {})
|
|
17
13
|
.n("ManagedBlockchainClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateMember } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateMemberCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TaigaWebService", "UpdateMember", {})
|
|
17
13
|
.n("ManagedBlockchainClient", "UpdateMemberCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateMemberCommand)
|
|
20
|
-
.de(de_UpdateMemberCommand)
|
|
14
|
+
.sc(UpdateMember)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateNode } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateNodeCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TaigaWebService", "UpdateNode", {})
|
|
17
13
|
.n("ManagedBlockchainClient", "UpdateNodeCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateNodeCommand)
|
|
20
|
-
.de(de_UpdateNodeCommand)
|
|
14
|
+
.sc(UpdateNode)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { VoteOnProposal } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class VoteOnProposalCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("TaigaWebService", "VoteOnProposal", {})
|
|
17
13
|
.n("ManagedBlockchainClient", "VoteOnProposalCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_VoteOnProposalCommand)
|
|
20
|
-
.de(de_VoteOnProposalCommand)
|
|
14
|
+
.sc(VoteOnProposal)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { ManagedBlockchainServiceException as __BaseException } from "./ManagedBlockchainServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -216,29 +215,3 @@ export const VoteValue = {
|
|
|
216
215
|
NO: "NO",
|
|
217
216
|
YES: "YES",
|
|
218
217
|
};
|
|
219
|
-
export const MemberFabricConfigurationFilterSensitiveLog = (obj) => ({
|
|
220
|
-
...obj,
|
|
221
|
-
...(obj.AdminPassword && { AdminPassword: SENSITIVE_STRING }),
|
|
222
|
-
});
|
|
223
|
-
export const MemberFrameworkConfigurationFilterSensitiveLog = (obj) => ({
|
|
224
|
-
...obj,
|
|
225
|
-
...(obj.Fabric && { Fabric: MemberFabricConfigurationFilterSensitiveLog(obj.Fabric) }),
|
|
226
|
-
});
|
|
227
|
-
export const MemberConfigurationFilterSensitiveLog = (obj) => ({
|
|
228
|
-
...obj,
|
|
229
|
-
...(obj.FrameworkConfiguration && {
|
|
230
|
-
FrameworkConfiguration: MemberFrameworkConfigurationFilterSensitiveLog(obj.FrameworkConfiguration),
|
|
231
|
-
}),
|
|
232
|
-
});
|
|
233
|
-
export const CreateMemberInputFilterSensitiveLog = (obj) => ({
|
|
234
|
-
...obj,
|
|
235
|
-
...(obj.MemberConfiguration && {
|
|
236
|
-
MemberConfiguration: MemberConfigurationFilterSensitiveLog(obj.MemberConfiguration),
|
|
237
|
-
}),
|
|
238
|
-
});
|
|
239
|
-
export const CreateNetworkInputFilterSensitiveLog = (obj) => ({
|
|
240
|
-
...obj,
|
|
241
|
-
...(obj.MemberConfiguration && {
|
|
242
|
-
MemberConfiguration: MemberConfigurationFilterSensitiveLog(obj.MemberConfiguration),
|
|
243
|
-
}),
|
|
244
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.managedblockchain" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "ManagedBlockchain",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|