@aws-sdk/client-managedblockchain 3.490.0 → 3.496.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.
Files changed (48) hide show
  1. package/dist-cjs/ManagedBlockchain.js +1 -65
  2. package/dist-cjs/ManagedBlockchainClient.js +1 -43
  3. package/dist-cjs/commands/CreateAccessorCommand.js +1 -28
  4. package/dist-cjs/commands/CreateMemberCommand.js +1 -29
  5. package/dist-cjs/commands/CreateNetworkCommand.js +1 -29
  6. package/dist-cjs/commands/CreateNodeCommand.js +1 -28
  7. package/dist-cjs/commands/CreateProposalCommand.js +1 -28
  8. package/dist-cjs/commands/DeleteAccessorCommand.js +1 -28
  9. package/dist-cjs/commands/DeleteMemberCommand.js +1 -28
  10. package/dist-cjs/commands/DeleteNodeCommand.js +1 -28
  11. package/dist-cjs/commands/GetAccessorCommand.js +1 -28
  12. package/dist-cjs/commands/GetMemberCommand.js +1 -28
  13. package/dist-cjs/commands/GetNetworkCommand.js +1 -28
  14. package/dist-cjs/commands/GetNodeCommand.js +1 -28
  15. package/dist-cjs/commands/GetProposalCommand.js +1 -28
  16. package/dist-cjs/commands/ListAccessorsCommand.js +1 -28
  17. package/dist-cjs/commands/ListInvitationsCommand.js +1 -28
  18. package/dist-cjs/commands/ListMembersCommand.js +1 -28
  19. package/dist-cjs/commands/ListNetworksCommand.js +1 -28
  20. package/dist-cjs/commands/ListNodesCommand.js +1 -28
  21. package/dist-cjs/commands/ListProposalVotesCommand.js +1 -28
  22. package/dist-cjs/commands/ListProposalsCommand.js +1 -28
  23. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  24. package/dist-cjs/commands/RejectInvitationCommand.js +1 -28
  25. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  26. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  27. package/dist-cjs/commands/UpdateMemberCommand.js +1 -28
  28. package/dist-cjs/commands/UpdateNodeCommand.js +1 -28
  29. package/dist-cjs/commands/VoteOnProposalCommand.js +1 -28
  30. package/dist-cjs/commands/index.js +1 -30
  31. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  32. package/dist-cjs/extensionConfiguration.js +1 -2
  33. package/dist-cjs/index.js +3062 -11
  34. package/dist-cjs/models/ManagedBlockchainServiceException.js +1 -12
  35. package/dist-cjs/models/index.js +1 -4
  36. package/dist-cjs/models/models_0.js +1 -252
  37. package/dist-cjs/pagination/Interfaces.js +1 -2
  38. package/dist-cjs/pagination/ListAccessorsPaginator.js +1 -7
  39. package/dist-cjs/pagination/ListInvitationsPaginator.js +1 -7
  40. package/dist-cjs/pagination/ListMembersPaginator.js +1 -7
  41. package/dist-cjs/pagination/ListNetworksPaginator.js +1 -7
  42. package/dist-cjs/pagination/ListNodesPaginator.js +1 -7
  43. package/dist-cjs/pagination/ListProposalVotesPaginator.js +1 -7
  44. package/dist-cjs/pagination/ListProposalsPaginator.js +1 -7
  45. package/dist-cjs/pagination/index.js +1 -11
  46. package/dist-cjs/protocols/Aws_restJson1.js +1 -2041
  47. package/dist-cjs/runtimeExtensions.js +1 -22
  48. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ManagedBlockchainServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class ManagedBlockchainServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, ManagedBlockchainServiceException.prototype);
10
- }
11
- }
12
- exports.ManagedBlockchainServiceException = ManagedBlockchainServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,252 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateNetworkInputFilterSensitiveLog = exports.CreateMemberInputFilterSensitiveLog = exports.MemberConfigurationFilterSensitiveLog = exports.MemberFrameworkConfigurationFilterSensitiveLog = exports.MemberFabricConfigurationFilterSensitiveLog = exports.VoteValue = exports.InvitationStatus = exports.IllegalActionException = exports.ProposalStatus = exports.NodeStatus = exports.NetworkStatus = exports.MemberStatus = exports.StateDBType = exports.Edition = exports.Framework = exports.ResourceNotReadyException = exports.ResourceNotFoundException = exports.TooManyTagsException = exports.ThrottlingException = exports.ResourceLimitExceededException = exports.ResourceAlreadyExistsException = exports.InvalidRequestException = exports.InternalServiceErrorException = exports.ThresholdComparator = exports.AccessorType = exports.AccessorStatus = exports.AccessorNetworkType = exports.AccessDeniedException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const ManagedBlockchainServiceException_1 = require("./ManagedBlockchainServiceException");
6
- class AccessDeniedException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
7
- constructor(opts) {
8
- super({
9
- name: "AccessDeniedException",
10
- $fault: "client",
11
- ...opts,
12
- });
13
- this.name = "AccessDeniedException";
14
- this.$fault = "client";
15
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
16
- this.Message = opts.Message;
17
- }
18
- }
19
- exports.AccessDeniedException = AccessDeniedException;
20
- exports.AccessorNetworkType = {
21
- ETHEREUM_GOERLI: "ETHEREUM_GOERLI",
22
- ETHEREUM_MAINNET: "ETHEREUM_MAINNET",
23
- ETHEREUM_MAINNET_AND_GOERLI: "ETHEREUM_MAINNET_AND_GOERLI",
24
- POLYGON_MAINNET: "POLYGON_MAINNET",
25
- POLYGON_MUMBAI: "POLYGON_MUMBAI",
26
- };
27
- exports.AccessorStatus = {
28
- AVAILABLE: "AVAILABLE",
29
- DELETED: "DELETED",
30
- PENDING_DELETION: "PENDING_DELETION",
31
- };
32
- exports.AccessorType = {
33
- BILLING_TOKEN: "BILLING_TOKEN",
34
- };
35
- exports.ThresholdComparator = {
36
- GREATER_THAN: "GREATER_THAN",
37
- GREATER_THAN_OR_EQUAL_TO: "GREATER_THAN_OR_EQUAL_TO",
38
- };
39
- class InternalServiceErrorException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
40
- constructor(opts) {
41
- super({
42
- name: "InternalServiceErrorException",
43
- $fault: "server",
44
- ...opts,
45
- });
46
- this.name = "InternalServiceErrorException";
47
- this.$fault = "server";
48
- Object.setPrototypeOf(this, InternalServiceErrorException.prototype);
49
- }
50
- }
51
- exports.InternalServiceErrorException = InternalServiceErrorException;
52
- class InvalidRequestException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
53
- constructor(opts) {
54
- super({
55
- name: "InvalidRequestException",
56
- $fault: "client",
57
- ...opts,
58
- });
59
- this.name = "InvalidRequestException";
60
- this.$fault = "client";
61
- Object.setPrototypeOf(this, InvalidRequestException.prototype);
62
- this.Message = opts.Message;
63
- }
64
- }
65
- exports.InvalidRequestException = InvalidRequestException;
66
- class ResourceAlreadyExistsException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
67
- constructor(opts) {
68
- super({
69
- name: "ResourceAlreadyExistsException",
70
- $fault: "client",
71
- ...opts,
72
- });
73
- this.name = "ResourceAlreadyExistsException";
74
- this.$fault = "client";
75
- Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
76
- this.Message = opts.Message;
77
- }
78
- }
79
- exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
80
- class ResourceLimitExceededException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
81
- constructor(opts) {
82
- super({
83
- name: "ResourceLimitExceededException",
84
- $fault: "client",
85
- ...opts,
86
- });
87
- this.name = "ResourceLimitExceededException";
88
- this.$fault = "client";
89
- Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
90
- this.Message = opts.Message;
91
- }
92
- }
93
- exports.ResourceLimitExceededException = ResourceLimitExceededException;
94
- class ThrottlingException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
95
- constructor(opts) {
96
- super({
97
- name: "ThrottlingException",
98
- $fault: "client",
99
- ...opts,
100
- });
101
- this.name = "ThrottlingException";
102
- this.$fault = "client";
103
- Object.setPrototypeOf(this, ThrottlingException.prototype);
104
- }
105
- }
106
- exports.ThrottlingException = ThrottlingException;
107
- class TooManyTagsException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
108
- constructor(opts) {
109
- super({
110
- name: "TooManyTagsException",
111
- $fault: "client",
112
- ...opts,
113
- });
114
- this.name = "TooManyTagsException";
115
- this.$fault = "client";
116
- Object.setPrototypeOf(this, TooManyTagsException.prototype);
117
- this.Message = opts.Message;
118
- this.ResourceName = opts.ResourceName;
119
- }
120
- }
121
- exports.TooManyTagsException = TooManyTagsException;
122
- class ResourceNotFoundException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
123
- constructor(opts) {
124
- super({
125
- name: "ResourceNotFoundException",
126
- $fault: "client",
127
- ...opts,
128
- });
129
- this.name = "ResourceNotFoundException";
130
- this.$fault = "client";
131
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
132
- this.Message = opts.Message;
133
- this.ResourceName = opts.ResourceName;
134
- }
135
- }
136
- exports.ResourceNotFoundException = ResourceNotFoundException;
137
- class ResourceNotReadyException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
138
- constructor(opts) {
139
- super({
140
- name: "ResourceNotReadyException",
141
- $fault: "client",
142
- ...opts,
143
- });
144
- this.name = "ResourceNotReadyException";
145
- this.$fault = "client";
146
- Object.setPrototypeOf(this, ResourceNotReadyException.prototype);
147
- this.Message = opts.Message;
148
- }
149
- }
150
- exports.ResourceNotReadyException = ResourceNotReadyException;
151
- exports.Framework = {
152
- ETHEREUM: "ETHEREUM",
153
- HYPERLEDGER_FABRIC: "HYPERLEDGER_FABRIC",
154
- };
155
- exports.Edition = {
156
- STANDARD: "STANDARD",
157
- STARTER: "STARTER",
158
- };
159
- exports.StateDBType = {
160
- CouchDB: "CouchDB",
161
- LevelDB: "LevelDB",
162
- };
163
- exports.MemberStatus = {
164
- AVAILABLE: "AVAILABLE",
165
- CREATE_FAILED: "CREATE_FAILED",
166
- CREATING: "CREATING",
167
- DELETED: "DELETED",
168
- DELETING: "DELETING",
169
- INACCESSIBLE_ENCRYPTION_KEY: "INACCESSIBLE_ENCRYPTION_KEY",
170
- UPDATING: "UPDATING",
171
- };
172
- exports.NetworkStatus = {
173
- AVAILABLE: "AVAILABLE",
174
- CREATE_FAILED: "CREATE_FAILED",
175
- CREATING: "CREATING",
176
- DELETED: "DELETED",
177
- DELETING: "DELETING",
178
- };
179
- exports.NodeStatus = {
180
- AVAILABLE: "AVAILABLE",
181
- CREATE_FAILED: "CREATE_FAILED",
182
- CREATING: "CREATING",
183
- DELETED: "DELETED",
184
- DELETING: "DELETING",
185
- FAILED: "FAILED",
186
- INACCESSIBLE_ENCRYPTION_KEY: "INACCESSIBLE_ENCRYPTION_KEY",
187
- UNHEALTHY: "UNHEALTHY",
188
- UPDATING: "UPDATING",
189
- };
190
- exports.ProposalStatus = {
191
- ACTION_FAILED: "ACTION_FAILED",
192
- APPROVED: "APPROVED",
193
- EXPIRED: "EXPIRED",
194
- IN_PROGRESS: "IN_PROGRESS",
195
- REJECTED: "REJECTED",
196
- };
197
- class IllegalActionException extends ManagedBlockchainServiceException_1.ManagedBlockchainServiceException {
198
- constructor(opts) {
199
- super({
200
- name: "IllegalActionException",
201
- $fault: "client",
202
- ...opts,
203
- });
204
- this.name = "IllegalActionException";
205
- this.$fault = "client";
206
- Object.setPrototypeOf(this, IllegalActionException.prototype);
207
- this.Message = opts.Message;
208
- }
209
- }
210
- exports.IllegalActionException = IllegalActionException;
211
- exports.InvitationStatus = {
212
- ACCEPTED: "ACCEPTED",
213
- ACCEPTING: "ACCEPTING",
214
- EXPIRED: "EXPIRED",
215
- PENDING: "PENDING",
216
- REJECTED: "REJECTED",
217
- };
218
- exports.VoteValue = {
219
- NO: "NO",
220
- YES: "YES",
221
- };
222
- const MemberFabricConfigurationFilterSensitiveLog = (obj) => ({
223
- ...obj,
224
- ...(obj.AdminPassword && { AdminPassword: smithy_client_1.SENSITIVE_STRING }),
225
- });
226
- exports.MemberFabricConfigurationFilterSensitiveLog = MemberFabricConfigurationFilterSensitiveLog;
227
- const MemberFrameworkConfigurationFilterSensitiveLog = (obj) => ({
228
- ...obj,
229
- ...(obj.Fabric && { Fabric: (0, exports.MemberFabricConfigurationFilterSensitiveLog)(obj.Fabric) }),
230
- });
231
- exports.MemberFrameworkConfigurationFilterSensitiveLog = MemberFrameworkConfigurationFilterSensitiveLog;
232
- const MemberConfigurationFilterSensitiveLog = (obj) => ({
233
- ...obj,
234
- ...(obj.FrameworkConfiguration && {
235
- FrameworkConfiguration: (0, exports.MemberFrameworkConfigurationFilterSensitiveLog)(obj.FrameworkConfiguration),
236
- }),
237
- });
238
- exports.MemberConfigurationFilterSensitiveLog = MemberConfigurationFilterSensitiveLog;
239
- const CreateMemberInputFilterSensitiveLog = (obj) => ({
240
- ...obj,
241
- ...(obj.MemberConfiguration && {
242
- MemberConfiguration: (0, exports.MemberConfigurationFilterSensitiveLog)(obj.MemberConfiguration),
243
- }),
244
- });
245
- exports.CreateMemberInputFilterSensitiveLog = CreateMemberInputFilterSensitiveLog;
246
- const CreateNetworkInputFilterSensitiveLog = (obj) => ({
247
- ...obj,
248
- ...(obj.MemberConfiguration && {
249
- MemberConfiguration: (0, exports.MemberConfigurationFilterSensitiveLog)(obj.MemberConfiguration),
250
- }),
251
- });
252
- exports.CreateNetworkInputFilterSensitiveLog = CreateNetworkInputFilterSensitiveLog;
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListAccessors = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListAccessorsCommand_1 = require("../commands/ListAccessorsCommand");
6
- const ManagedBlockchainClient_1 = require("../ManagedBlockchainClient");
7
- exports.paginateListAccessors = (0, core_1.createPaginator)(ManagedBlockchainClient_1.ManagedBlockchainClient, ListAccessorsCommand_1.ListAccessorsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListInvitations = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListInvitationsCommand_1 = require("../commands/ListInvitationsCommand");
6
- const ManagedBlockchainClient_1 = require("../ManagedBlockchainClient");
7
- exports.paginateListInvitations = (0, core_1.createPaginator)(ManagedBlockchainClient_1.ManagedBlockchainClient, ListInvitationsCommand_1.ListInvitationsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListMembers = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListMembersCommand_1 = require("../commands/ListMembersCommand");
6
- const ManagedBlockchainClient_1 = require("../ManagedBlockchainClient");
7
- exports.paginateListMembers = (0, core_1.createPaginator)(ManagedBlockchainClient_1.ManagedBlockchainClient, ListMembersCommand_1.ListMembersCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListNetworks = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListNetworksCommand_1 = require("../commands/ListNetworksCommand");
6
- const ManagedBlockchainClient_1 = require("../ManagedBlockchainClient");
7
- exports.paginateListNetworks = (0, core_1.createPaginator)(ManagedBlockchainClient_1.ManagedBlockchainClient, ListNetworksCommand_1.ListNetworksCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListNodes = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListNodesCommand_1 = require("../commands/ListNodesCommand");
6
- const ManagedBlockchainClient_1 = require("../ManagedBlockchainClient");
7
- exports.paginateListNodes = (0, core_1.createPaginator)(ManagedBlockchainClient_1.ManagedBlockchainClient, ListNodesCommand_1.ListNodesCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListProposalVotes = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListProposalVotesCommand_1 = require("../commands/ListProposalVotesCommand");
6
- const ManagedBlockchainClient_1 = require("../ManagedBlockchainClient");
7
- exports.paginateListProposalVotes = (0, core_1.createPaginator)(ManagedBlockchainClient_1.ManagedBlockchainClient, ListProposalVotesCommand_1.ListProposalVotesCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListProposals = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListProposalsCommand_1 = require("../commands/ListProposalsCommand");
6
- const ManagedBlockchainClient_1 = require("../ManagedBlockchainClient");
7
- exports.paginateListProposals = (0, core_1.createPaginator)(ManagedBlockchainClient_1.ManagedBlockchainClient, ListProposalsCommand_1.ListProposalsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,11 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListAccessorsPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListInvitationsPaginator"), exports);
7
- tslib_1.__exportStar(require("./ListMembersPaginator"), exports);
8
- tslib_1.__exportStar(require("./ListNetworksPaginator"), exports);
9
- tslib_1.__exportStar(require("./ListNodesPaginator"), exports);
10
- tslib_1.__exportStar(require("./ListProposalVotesPaginator"), exports);
11
- tslib_1.__exportStar(require("./ListProposalsPaginator"), exports);
1
+ module.exports = require("../index.js");