@aws-sdk/client-managedblockchain 3.50.0 → 3.53.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 +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/ManagedBlockchainServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +144 -2
- package/dist-cjs/protocols/Aws_restJson1.js +296 -1064
- package/dist-es/index.js +1 -0
- package/dist-es/models/ManagedBlockchainServiceException.js +12 -0
- package/dist-es/models/models_0.js +132 -1
- package/dist-es/protocols/Aws_restJson1.js +587 -1167
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/ManagedBlockchainServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +72 -31
- package/dist-types/ts3.4/ManagedBlockchain.d.ts +120 -0
- package/dist-types/ts3.4/ManagedBlockchainClient.d.ts +96 -0
- 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/ts3.4/commands/index.d.ts +23 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/ManagedBlockchainServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1152 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListInvitationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListMembersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListNetworksPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListNodesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListProposalVotesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListProposalsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +7 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +71 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
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.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-managedblockchain
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-managedblockchain
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-managedblockchain
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ManagedBlockchainServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./ManagedBlockchain"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./ManagedBlockchainClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
10
|
+
var ManagedBlockchainServiceException_1 = require("./models/ManagedBlockchainServiceException");
|
|
11
|
+
Object.defineProperty(exports, "ManagedBlockchainServiceException", { enumerable: true, get: function () { return ManagedBlockchainServiceException_1.ManagedBlockchainServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ManagedBlockchainServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class ManagedBlockchainServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, ManagedBlockchainServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.ManagedBlockchainServiceException = ManagedBlockchainServiceException;
|
|
@@ -1,8 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.NetworkEthereumAttributes = exports.GetNetworkInput = exports.GetMemberOutput = exports.Member = exports.MemberStatus = exports.MemberFrameworkAttributes = exports.MemberFabricAttributes = exports.GetMemberInput = exports.DeleteNodeOutput = exports.DeleteNodeInput = exports.DeleteMemberOutput = exports.DeleteMemberInput = exports.CreateProposalOutput = exports.CreateProposalInput = exports.ProposalActions = exports.RemoveAction = exports.InviteAction = exports.CreateNodeOutput = exports.CreateNodeInput = exports.NodeConfiguration = exports.StateDBType = exports.NodeLogPublishingConfiguration = exports.NodeFabricLogPublishingConfiguration = exports.CreateNetworkOutput = exports.CreateNetworkInput = exports.VotingPolicy = exports.NetworkFrameworkConfiguration = exports.NetworkFabricConfiguration = exports.Edition = exports.Framework = exports.TooManyTagsException = exports.ThrottlingException = exports.ResourceNotReadyException = exports.ResourceNotFoundException = exports.ResourceLimitExceededException = exports.ResourceAlreadyExistsException = exports.InvalidRequestException = exports.InternalServiceErrorException = exports.CreateMemberOutput = exports.CreateMemberInput = exports.MemberConfiguration = exports.MemberLogPublishingConfiguration = exports.MemberFabricLogPublishingConfiguration = exports.LogConfigurations = exports.LogConfiguration = exports.MemberFrameworkConfiguration = exports.MemberFabricConfiguration = exports.ApprovalThresholdPolicy = exports.ThresholdComparator = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.VoteOnProposalInput = exports.UpdateNodeOutput = exports.UpdateNodeInput = exports.UpdateMemberOutput = exports.UpdateMemberInput = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.RejectInvitationOutput = exports.RejectInvitationInput = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListProposalVotesOutput = exports.VoteSummary = exports.VoteValue = exports.ListProposalVotesInput = exports.ListProposalsOutput = exports.ProposalSummary = exports.ListProposalsInput = exports.ListNodesOutput = exports.NodeSummary = exports.ListNodesInput = exports.ListNetworksOutput = exports.ListNetworksInput = exports.ListMembersOutput = exports.MemberSummary = exports.ListMembersInput = exports.ListInvitationsOutput = exports.ListInvitationsInput = exports.Invitation = exports.InvitationStatus = exports.NetworkSummary = exports.IllegalActionException = exports.GetProposalOutput = exports.Proposal = exports.ProposalStatus = exports.GetProposalInput = exports.GetNodeOutput = exports.Node = exports.NodeStatus = exports.NodeFrameworkAttributes = exports.NodeFabricAttributes = exports.NodeEthereumAttributes = exports.GetNodeInput = exports.GetNetworkOutput = exports.Network = exports.NetworkStatus = exports.NetworkFrameworkAttributes = exports.NetworkFabricAttributes = void 0;
|
|
5
|
+
exports.VoteOnProposalOutput = void 0;
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const ManagedBlockchainServiceException_1 = require("./ManagedBlockchainServiceException");
|
|
8
|
+
class AccessDeniedException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
|
|
9
|
+
constructor(opts) {
|
|
10
|
+
super({
|
|
11
|
+
name: "AccessDeniedException",
|
|
12
|
+
$fault: "client",
|
|
13
|
+
...opts,
|
|
14
|
+
});
|
|
15
|
+
this.name = "AccessDeniedException";
|
|
16
|
+
this.$fault = "client";
|
|
17
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
18
|
+
this.Message = opts.Message;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
6
22
|
var ThresholdComparator;
|
|
7
23
|
(function (ThresholdComparator) {
|
|
8
24
|
ThresholdComparator["GREATER_THAN"] = "GREATER_THAN";
|
|
@@ -76,6 +92,118 @@ var CreateMemberOutput;
|
|
|
76
92
|
...obj,
|
|
77
93
|
});
|
|
78
94
|
})(CreateMemberOutput = exports.CreateMemberOutput || (exports.CreateMemberOutput = {}));
|
|
95
|
+
class InternalServiceErrorException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
|
|
96
|
+
constructor(opts) {
|
|
97
|
+
super({
|
|
98
|
+
name: "InternalServiceErrorException",
|
|
99
|
+
$fault: "server",
|
|
100
|
+
...opts,
|
|
101
|
+
});
|
|
102
|
+
this.name = "InternalServiceErrorException";
|
|
103
|
+
this.$fault = "server";
|
|
104
|
+
Object.setPrototypeOf(this, InternalServiceErrorException.prototype);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
exports.InternalServiceErrorException = InternalServiceErrorException;
|
|
108
|
+
class InvalidRequestException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
|
|
109
|
+
constructor(opts) {
|
|
110
|
+
super({
|
|
111
|
+
name: "InvalidRequestException",
|
|
112
|
+
$fault: "client",
|
|
113
|
+
...opts,
|
|
114
|
+
});
|
|
115
|
+
this.name = "InvalidRequestException";
|
|
116
|
+
this.$fault = "client";
|
|
117
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
118
|
+
this.Message = opts.Message;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
exports.InvalidRequestException = InvalidRequestException;
|
|
122
|
+
class ResourceAlreadyExistsException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
|
|
123
|
+
constructor(opts) {
|
|
124
|
+
super({
|
|
125
|
+
name: "ResourceAlreadyExistsException",
|
|
126
|
+
$fault: "client",
|
|
127
|
+
...opts,
|
|
128
|
+
});
|
|
129
|
+
this.name = "ResourceAlreadyExistsException";
|
|
130
|
+
this.$fault = "client";
|
|
131
|
+
Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
|
|
132
|
+
this.Message = opts.Message;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
|
|
136
|
+
class ResourceLimitExceededException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
|
|
137
|
+
constructor(opts) {
|
|
138
|
+
super({
|
|
139
|
+
name: "ResourceLimitExceededException",
|
|
140
|
+
$fault: "client",
|
|
141
|
+
...opts,
|
|
142
|
+
});
|
|
143
|
+
this.name = "ResourceLimitExceededException";
|
|
144
|
+
this.$fault = "client";
|
|
145
|
+
Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
|
|
146
|
+
this.Message = opts.Message;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
exports.ResourceLimitExceededException = ResourceLimitExceededException;
|
|
150
|
+
class ResourceNotFoundException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
|
|
151
|
+
constructor(opts) {
|
|
152
|
+
super({
|
|
153
|
+
name: "ResourceNotFoundException",
|
|
154
|
+
$fault: "client",
|
|
155
|
+
...opts,
|
|
156
|
+
});
|
|
157
|
+
this.name = "ResourceNotFoundException";
|
|
158
|
+
this.$fault = "client";
|
|
159
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
160
|
+
this.Message = opts.Message;
|
|
161
|
+
this.ResourceName = opts.ResourceName;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
165
|
+
class ResourceNotReadyException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
|
|
166
|
+
constructor(opts) {
|
|
167
|
+
super({
|
|
168
|
+
name: "ResourceNotReadyException",
|
|
169
|
+
$fault: "client",
|
|
170
|
+
...opts,
|
|
171
|
+
});
|
|
172
|
+
this.name = "ResourceNotReadyException";
|
|
173
|
+
this.$fault = "client";
|
|
174
|
+
Object.setPrototypeOf(this, ResourceNotReadyException.prototype);
|
|
175
|
+
this.Message = opts.Message;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
exports.ResourceNotReadyException = ResourceNotReadyException;
|
|
179
|
+
class ThrottlingException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
|
|
180
|
+
constructor(opts) {
|
|
181
|
+
super({
|
|
182
|
+
name: "ThrottlingException",
|
|
183
|
+
$fault: "client",
|
|
184
|
+
...opts,
|
|
185
|
+
});
|
|
186
|
+
this.name = "ThrottlingException";
|
|
187
|
+
this.$fault = "client";
|
|
188
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
exports.ThrottlingException = ThrottlingException;
|
|
192
|
+
class TooManyTagsException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
|
|
193
|
+
constructor(opts) {
|
|
194
|
+
super({
|
|
195
|
+
name: "TooManyTagsException",
|
|
196
|
+
$fault: "client",
|
|
197
|
+
...opts,
|
|
198
|
+
});
|
|
199
|
+
this.name = "TooManyTagsException";
|
|
200
|
+
this.$fault = "client";
|
|
201
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
202
|
+
this.Message = opts.Message;
|
|
203
|
+
this.ResourceName = opts.ResourceName;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
exports.TooManyTagsException = TooManyTagsException;
|
|
79
207
|
var Framework;
|
|
80
208
|
(function (Framework) {
|
|
81
209
|
Framework["ETHEREUM"] = "ETHEREUM";
|
|
@@ -366,6 +494,20 @@ var GetProposalOutput;
|
|
|
366
494
|
...obj,
|
|
367
495
|
});
|
|
368
496
|
})(GetProposalOutput = exports.GetProposalOutput || (exports.GetProposalOutput = {}));
|
|
497
|
+
class IllegalActionException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
|
|
498
|
+
constructor(opts) {
|
|
499
|
+
super({
|
|
500
|
+
name: "IllegalActionException",
|
|
501
|
+
$fault: "client",
|
|
502
|
+
...opts,
|
|
503
|
+
});
|
|
504
|
+
this.name = "IllegalActionException";
|
|
505
|
+
this.$fault = "client";
|
|
506
|
+
Object.setPrototypeOf(this, IllegalActionException.prototype);
|
|
507
|
+
this.Message = opts.Message;
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
exports.IllegalActionException = IllegalActionException;
|
|
369
511
|
var NetworkSummary;
|
|
370
512
|
(function (NetworkSummary) {
|
|
371
513
|
NetworkSummary.filterSensitiveLog = (obj) => ({
|