@aws-sdk/client-managedblockchain 3.934.0 → 3.936.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 +77 -76
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +76 -0
- package/dist-es/models/errors.js +141 -0
- package/dist-es/models/models_0.js +1 -217
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +180 -0
- package/dist-types/models/errors.d.ts +144 -0
- package/dist-types/models/models_0.d.ts +1 -324
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +94 -0
- package/dist-types/ts3.4/models/errors.d.ts +82 -0
- package/dist-types/ts3.4/models/models_0.d.ts +15 -176
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -131,25 +131,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends ManagedBlockch
|
|
|
131
131
|
this.Message = opts.Message;
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
|
-
const AccessorNetworkType = {
|
|
135
|
-
ETHEREUM_GOERLI: "ETHEREUM_GOERLI",
|
|
136
|
-
ETHEREUM_MAINNET: "ETHEREUM_MAINNET",
|
|
137
|
-
ETHEREUM_MAINNET_AND_GOERLI: "ETHEREUM_MAINNET_AND_GOERLI",
|
|
138
|
-
POLYGON_MAINNET: "POLYGON_MAINNET",
|
|
139
|
-
POLYGON_MUMBAI: "POLYGON_MUMBAI",
|
|
140
|
-
};
|
|
141
|
-
const AccessorStatus = {
|
|
142
|
-
AVAILABLE: "AVAILABLE",
|
|
143
|
-
DELETED: "DELETED",
|
|
144
|
-
PENDING_DELETION: "PENDING_DELETION",
|
|
145
|
-
};
|
|
146
|
-
const AccessorType = {
|
|
147
|
-
BILLING_TOKEN: "BILLING_TOKEN",
|
|
148
|
-
};
|
|
149
|
-
const ThresholdComparator = {
|
|
150
|
-
GREATER_THAN: "GREATER_THAN",
|
|
151
|
-
GREATER_THAN_OR_EQUAL_TO: "GREATER_THAN_OR_EQUAL_TO",
|
|
152
|
-
};
|
|
153
134
|
let InternalServiceErrorException$1 = class InternalServiceErrorException extends ManagedBlockchainServiceException$1 {
|
|
154
135
|
name = "InternalServiceErrorException";
|
|
155
136
|
$fault = "server";
|
|
@@ -262,52 +243,6 @@ let ResourceNotReadyException$1 = class ResourceNotReadyException extends Manage
|
|
|
262
243
|
this.Message = opts.Message;
|
|
263
244
|
}
|
|
264
245
|
};
|
|
265
|
-
const Framework = {
|
|
266
|
-
ETHEREUM: "ETHEREUM",
|
|
267
|
-
HYPERLEDGER_FABRIC: "HYPERLEDGER_FABRIC",
|
|
268
|
-
};
|
|
269
|
-
const Edition = {
|
|
270
|
-
STANDARD: "STANDARD",
|
|
271
|
-
STARTER: "STARTER",
|
|
272
|
-
};
|
|
273
|
-
const StateDBType = {
|
|
274
|
-
CouchDB: "CouchDB",
|
|
275
|
-
LevelDB: "LevelDB",
|
|
276
|
-
};
|
|
277
|
-
const MemberStatus = {
|
|
278
|
-
AVAILABLE: "AVAILABLE",
|
|
279
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
280
|
-
CREATING: "CREATING",
|
|
281
|
-
DELETED: "DELETED",
|
|
282
|
-
DELETING: "DELETING",
|
|
283
|
-
INACCESSIBLE_ENCRYPTION_KEY: "INACCESSIBLE_ENCRYPTION_KEY",
|
|
284
|
-
UPDATING: "UPDATING",
|
|
285
|
-
};
|
|
286
|
-
const NetworkStatus = {
|
|
287
|
-
AVAILABLE: "AVAILABLE",
|
|
288
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
289
|
-
CREATING: "CREATING",
|
|
290
|
-
DELETED: "DELETED",
|
|
291
|
-
DELETING: "DELETING",
|
|
292
|
-
};
|
|
293
|
-
const NodeStatus = {
|
|
294
|
-
AVAILABLE: "AVAILABLE",
|
|
295
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
296
|
-
CREATING: "CREATING",
|
|
297
|
-
DELETED: "DELETED",
|
|
298
|
-
DELETING: "DELETING",
|
|
299
|
-
FAILED: "FAILED",
|
|
300
|
-
INACCESSIBLE_ENCRYPTION_KEY: "INACCESSIBLE_ENCRYPTION_KEY",
|
|
301
|
-
UNHEALTHY: "UNHEALTHY",
|
|
302
|
-
UPDATING: "UPDATING",
|
|
303
|
-
};
|
|
304
|
-
const ProposalStatus = {
|
|
305
|
-
ACTION_FAILED: "ACTION_FAILED",
|
|
306
|
-
APPROVED: "APPROVED",
|
|
307
|
-
EXPIRED: "EXPIRED",
|
|
308
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
309
|
-
REJECTED: "REJECTED",
|
|
310
|
-
};
|
|
311
246
|
let IllegalActionException$1 = class IllegalActionException extends ManagedBlockchainServiceException$1 {
|
|
312
247
|
name = "IllegalActionException";
|
|
313
248
|
$fault = "client";
|
|
@@ -322,17 +257,6 @@ let IllegalActionException$1 = class IllegalActionException extends ManagedBlock
|
|
|
322
257
|
this.Message = opts.Message;
|
|
323
258
|
}
|
|
324
259
|
};
|
|
325
|
-
const InvitationStatus = {
|
|
326
|
-
ACCEPTED: "ACCEPTED",
|
|
327
|
-
ACCEPTING: "ACCEPTING",
|
|
328
|
-
EXPIRED: "EXPIRED",
|
|
329
|
-
PENDING: "PENDING",
|
|
330
|
-
REJECTED: "REJECTED",
|
|
331
|
-
};
|
|
332
|
-
const VoteValue = {
|
|
333
|
-
NO: "NO",
|
|
334
|
-
YES: "YES",
|
|
335
|
-
};
|
|
336
260
|
|
|
337
261
|
const _A = "Accessor";
|
|
338
262
|
const _ADE = "AccessDeniedException";
|
|
@@ -1917,6 +1841,83 @@ const paginateListProposalVotes = core.createPaginator(ManagedBlockchainClient,
|
|
|
1917
1841
|
|
|
1918
1842
|
const paginateListProposals = core.createPaginator(ManagedBlockchainClient, ListProposalsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1919
1843
|
|
|
1844
|
+
const AccessorNetworkType = {
|
|
1845
|
+
ETHEREUM_GOERLI: "ETHEREUM_GOERLI",
|
|
1846
|
+
ETHEREUM_MAINNET: "ETHEREUM_MAINNET",
|
|
1847
|
+
ETHEREUM_MAINNET_AND_GOERLI: "ETHEREUM_MAINNET_AND_GOERLI",
|
|
1848
|
+
POLYGON_MAINNET: "POLYGON_MAINNET",
|
|
1849
|
+
POLYGON_MUMBAI: "POLYGON_MUMBAI",
|
|
1850
|
+
};
|
|
1851
|
+
const AccessorStatus = {
|
|
1852
|
+
AVAILABLE: "AVAILABLE",
|
|
1853
|
+
DELETED: "DELETED",
|
|
1854
|
+
PENDING_DELETION: "PENDING_DELETION",
|
|
1855
|
+
};
|
|
1856
|
+
const AccessorType = {
|
|
1857
|
+
BILLING_TOKEN: "BILLING_TOKEN",
|
|
1858
|
+
};
|
|
1859
|
+
const ThresholdComparator = {
|
|
1860
|
+
GREATER_THAN: "GREATER_THAN",
|
|
1861
|
+
GREATER_THAN_OR_EQUAL_TO: "GREATER_THAN_OR_EQUAL_TO",
|
|
1862
|
+
};
|
|
1863
|
+
const Framework = {
|
|
1864
|
+
ETHEREUM: "ETHEREUM",
|
|
1865
|
+
HYPERLEDGER_FABRIC: "HYPERLEDGER_FABRIC",
|
|
1866
|
+
};
|
|
1867
|
+
const Edition = {
|
|
1868
|
+
STANDARD: "STANDARD",
|
|
1869
|
+
STARTER: "STARTER",
|
|
1870
|
+
};
|
|
1871
|
+
const StateDBType = {
|
|
1872
|
+
CouchDB: "CouchDB",
|
|
1873
|
+
LevelDB: "LevelDB",
|
|
1874
|
+
};
|
|
1875
|
+
const MemberStatus = {
|
|
1876
|
+
AVAILABLE: "AVAILABLE",
|
|
1877
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
1878
|
+
CREATING: "CREATING",
|
|
1879
|
+
DELETED: "DELETED",
|
|
1880
|
+
DELETING: "DELETING",
|
|
1881
|
+
INACCESSIBLE_ENCRYPTION_KEY: "INACCESSIBLE_ENCRYPTION_KEY",
|
|
1882
|
+
UPDATING: "UPDATING",
|
|
1883
|
+
};
|
|
1884
|
+
const NetworkStatus = {
|
|
1885
|
+
AVAILABLE: "AVAILABLE",
|
|
1886
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
1887
|
+
CREATING: "CREATING",
|
|
1888
|
+
DELETED: "DELETED",
|
|
1889
|
+
DELETING: "DELETING",
|
|
1890
|
+
};
|
|
1891
|
+
const NodeStatus = {
|
|
1892
|
+
AVAILABLE: "AVAILABLE",
|
|
1893
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
1894
|
+
CREATING: "CREATING",
|
|
1895
|
+
DELETED: "DELETED",
|
|
1896
|
+
DELETING: "DELETING",
|
|
1897
|
+
FAILED: "FAILED",
|
|
1898
|
+
INACCESSIBLE_ENCRYPTION_KEY: "INACCESSIBLE_ENCRYPTION_KEY",
|
|
1899
|
+
UNHEALTHY: "UNHEALTHY",
|
|
1900
|
+
UPDATING: "UPDATING",
|
|
1901
|
+
};
|
|
1902
|
+
const ProposalStatus = {
|
|
1903
|
+
ACTION_FAILED: "ACTION_FAILED",
|
|
1904
|
+
APPROVED: "APPROVED",
|
|
1905
|
+
EXPIRED: "EXPIRED",
|
|
1906
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
1907
|
+
REJECTED: "REJECTED",
|
|
1908
|
+
};
|
|
1909
|
+
const InvitationStatus = {
|
|
1910
|
+
ACCEPTED: "ACCEPTED",
|
|
1911
|
+
ACCEPTING: "ACCEPTING",
|
|
1912
|
+
EXPIRED: "EXPIRED",
|
|
1913
|
+
PENDING: "PENDING",
|
|
1914
|
+
REJECTED: "REJECTED",
|
|
1915
|
+
};
|
|
1916
|
+
const VoteValue = {
|
|
1917
|
+
NO: "NO",
|
|
1918
|
+
YES: "YES",
|
|
1919
|
+
};
|
|
1920
|
+
|
|
1920
1921
|
Object.defineProperty(exports, "$Command", {
|
|
1921
1922
|
enumerable: true,
|
|
1922
1923
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./ManagedBlockchainClient";
|
|
|
2
2
|
export * from "./ManagedBlockchain";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { ManagedBlockchainServiceException } from "./models/ManagedBlockchainServiceException";
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
export const AccessorNetworkType = {
|
|
2
|
+
ETHEREUM_GOERLI: "ETHEREUM_GOERLI",
|
|
3
|
+
ETHEREUM_MAINNET: "ETHEREUM_MAINNET",
|
|
4
|
+
ETHEREUM_MAINNET_AND_GOERLI: "ETHEREUM_MAINNET_AND_GOERLI",
|
|
5
|
+
POLYGON_MAINNET: "POLYGON_MAINNET",
|
|
6
|
+
POLYGON_MUMBAI: "POLYGON_MUMBAI",
|
|
7
|
+
};
|
|
8
|
+
export const AccessorStatus = {
|
|
9
|
+
AVAILABLE: "AVAILABLE",
|
|
10
|
+
DELETED: "DELETED",
|
|
11
|
+
PENDING_DELETION: "PENDING_DELETION",
|
|
12
|
+
};
|
|
13
|
+
export const AccessorType = {
|
|
14
|
+
BILLING_TOKEN: "BILLING_TOKEN",
|
|
15
|
+
};
|
|
16
|
+
export const ThresholdComparator = {
|
|
17
|
+
GREATER_THAN: "GREATER_THAN",
|
|
18
|
+
GREATER_THAN_OR_EQUAL_TO: "GREATER_THAN_OR_EQUAL_TO",
|
|
19
|
+
};
|
|
20
|
+
export const Framework = {
|
|
21
|
+
ETHEREUM: "ETHEREUM",
|
|
22
|
+
HYPERLEDGER_FABRIC: "HYPERLEDGER_FABRIC",
|
|
23
|
+
};
|
|
24
|
+
export const Edition = {
|
|
25
|
+
STANDARD: "STANDARD",
|
|
26
|
+
STARTER: "STARTER",
|
|
27
|
+
};
|
|
28
|
+
export const StateDBType = {
|
|
29
|
+
CouchDB: "CouchDB",
|
|
30
|
+
LevelDB: "LevelDB",
|
|
31
|
+
};
|
|
32
|
+
export const MemberStatus = {
|
|
33
|
+
AVAILABLE: "AVAILABLE",
|
|
34
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
35
|
+
CREATING: "CREATING",
|
|
36
|
+
DELETED: "DELETED",
|
|
37
|
+
DELETING: "DELETING",
|
|
38
|
+
INACCESSIBLE_ENCRYPTION_KEY: "INACCESSIBLE_ENCRYPTION_KEY",
|
|
39
|
+
UPDATING: "UPDATING",
|
|
40
|
+
};
|
|
41
|
+
export const NetworkStatus = {
|
|
42
|
+
AVAILABLE: "AVAILABLE",
|
|
43
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
44
|
+
CREATING: "CREATING",
|
|
45
|
+
DELETED: "DELETED",
|
|
46
|
+
DELETING: "DELETING",
|
|
47
|
+
};
|
|
48
|
+
export const NodeStatus = {
|
|
49
|
+
AVAILABLE: "AVAILABLE",
|
|
50
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
51
|
+
CREATING: "CREATING",
|
|
52
|
+
DELETED: "DELETED",
|
|
53
|
+
DELETING: "DELETING",
|
|
54
|
+
FAILED: "FAILED",
|
|
55
|
+
INACCESSIBLE_ENCRYPTION_KEY: "INACCESSIBLE_ENCRYPTION_KEY",
|
|
56
|
+
UNHEALTHY: "UNHEALTHY",
|
|
57
|
+
UPDATING: "UPDATING",
|
|
58
|
+
};
|
|
59
|
+
export const ProposalStatus = {
|
|
60
|
+
ACTION_FAILED: "ACTION_FAILED",
|
|
61
|
+
APPROVED: "APPROVED",
|
|
62
|
+
EXPIRED: "EXPIRED",
|
|
63
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
64
|
+
REJECTED: "REJECTED",
|
|
65
|
+
};
|
|
66
|
+
export const InvitationStatus = {
|
|
67
|
+
ACCEPTED: "ACCEPTED",
|
|
68
|
+
ACCEPTING: "ACCEPTING",
|
|
69
|
+
EXPIRED: "EXPIRED",
|
|
70
|
+
PENDING: "PENDING",
|
|
71
|
+
REJECTED: "REJECTED",
|
|
72
|
+
};
|
|
73
|
+
export const VoteValue = {
|
|
74
|
+
NO: "NO",
|
|
75
|
+
YES: "YES",
|
|
76
|
+
};
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { ManagedBlockchainServiceException as __BaseException } from "./ManagedBlockchainServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Message;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "AccessDeniedException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class InternalServiceErrorException extends __BaseException {
|
|
17
|
+
name = "InternalServiceErrorException";
|
|
18
|
+
$fault = "server";
|
|
19
|
+
constructor(opts) {
|
|
20
|
+
super({
|
|
21
|
+
name: "InternalServiceErrorException",
|
|
22
|
+
$fault: "server",
|
|
23
|
+
...opts,
|
|
24
|
+
});
|
|
25
|
+
Object.setPrototypeOf(this, InternalServiceErrorException.prototype);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
export class InvalidRequestException extends __BaseException {
|
|
29
|
+
name = "InvalidRequestException";
|
|
30
|
+
$fault = "client";
|
|
31
|
+
Message;
|
|
32
|
+
constructor(opts) {
|
|
33
|
+
super({
|
|
34
|
+
name: "InvalidRequestException",
|
|
35
|
+
$fault: "client",
|
|
36
|
+
...opts,
|
|
37
|
+
});
|
|
38
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
39
|
+
this.Message = opts.Message;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
export class ResourceAlreadyExistsException extends __BaseException {
|
|
43
|
+
name = "ResourceAlreadyExistsException";
|
|
44
|
+
$fault = "client";
|
|
45
|
+
Message;
|
|
46
|
+
constructor(opts) {
|
|
47
|
+
super({
|
|
48
|
+
name: "ResourceAlreadyExistsException",
|
|
49
|
+
$fault: "client",
|
|
50
|
+
...opts,
|
|
51
|
+
});
|
|
52
|
+
Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
|
|
53
|
+
this.Message = opts.Message;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
export class ResourceLimitExceededException extends __BaseException {
|
|
57
|
+
name = "ResourceLimitExceededException";
|
|
58
|
+
$fault = "client";
|
|
59
|
+
Message;
|
|
60
|
+
constructor(opts) {
|
|
61
|
+
super({
|
|
62
|
+
name: "ResourceLimitExceededException",
|
|
63
|
+
$fault: "client",
|
|
64
|
+
...opts,
|
|
65
|
+
});
|
|
66
|
+
Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
|
|
67
|
+
this.Message = opts.Message;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
export class ThrottlingException extends __BaseException {
|
|
71
|
+
name = "ThrottlingException";
|
|
72
|
+
$fault = "client";
|
|
73
|
+
constructor(opts) {
|
|
74
|
+
super({
|
|
75
|
+
name: "ThrottlingException",
|
|
76
|
+
$fault: "client",
|
|
77
|
+
...opts,
|
|
78
|
+
});
|
|
79
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
export class TooManyTagsException extends __BaseException {
|
|
83
|
+
name = "TooManyTagsException";
|
|
84
|
+
$fault = "client";
|
|
85
|
+
Message;
|
|
86
|
+
ResourceName;
|
|
87
|
+
constructor(opts) {
|
|
88
|
+
super({
|
|
89
|
+
name: "TooManyTagsException",
|
|
90
|
+
$fault: "client",
|
|
91
|
+
...opts,
|
|
92
|
+
});
|
|
93
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
94
|
+
this.Message = opts.Message;
|
|
95
|
+
this.ResourceName = opts.ResourceName;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
99
|
+
name = "ResourceNotFoundException";
|
|
100
|
+
$fault = "client";
|
|
101
|
+
Message;
|
|
102
|
+
ResourceName;
|
|
103
|
+
constructor(opts) {
|
|
104
|
+
super({
|
|
105
|
+
name: "ResourceNotFoundException",
|
|
106
|
+
$fault: "client",
|
|
107
|
+
...opts,
|
|
108
|
+
});
|
|
109
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
110
|
+
this.Message = opts.Message;
|
|
111
|
+
this.ResourceName = opts.ResourceName;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
export class ResourceNotReadyException extends __BaseException {
|
|
115
|
+
name = "ResourceNotReadyException";
|
|
116
|
+
$fault = "client";
|
|
117
|
+
Message;
|
|
118
|
+
constructor(opts) {
|
|
119
|
+
super({
|
|
120
|
+
name: "ResourceNotReadyException",
|
|
121
|
+
$fault: "client",
|
|
122
|
+
...opts,
|
|
123
|
+
});
|
|
124
|
+
Object.setPrototypeOf(this, ResourceNotReadyException.prototype);
|
|
125
|
+
this.Message = opts.Message;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
export class IllegalActionException extends __BaseException {
|
|
129
|
+
name = "IllegalActionException";
|
|
130
|
+
$fault = "client";
|
|
131
|
+
Message;
|
|
132
|
+
constructor(opts) {
|
|
133
|
+
super({
|
|
134
|
+
name: "IllegalActionException",
|
|
135
|
+
$fault: "client",
|
|
136
|
+
...opts,
|
|
137
|
+
});
|
|
138
|
+
Object.setPrototypeOf(this, IllegalActionException.prototype);
|
|
139
|
+
this.Message = opts.Message;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
@@ -1,217 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
Message;
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "AccessDeniedException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
-
this.Message = opts.Message;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export const AccessorNetworkType = {
|
|
17
|
-
ETHEREUM_GOERLI: "ETHEREUM_GOERLI",
|
|
18
|
-
ETHEREUM_MAINNET: "ETHEREUM_MAINNET",
|
|
19
|
-
ETHEREUM_MAINNET_AND_GOERLI: "ETHEREUM_MAINNET_AND_GOERLI",
|
|
20
|
-
POLYGON_MAINNET: "POLYGON_MAINNET",
|
|
21
|
-
POLYGON_MUMBAI: "POLYGON_MUMBAI",
|
|
22
|
-
};
|
|
23
|
-
export const AccessorStatus = {
|
|
24
|
-
AVAILABLE: "AVAILABLE",
|
|
25
|
-
DELETED: "DELETED",
|
|
26
|
-
PENDING_DELETION: "PENDING_DELETION",
|
|
27
|
-
};
|
|
28
|
-
export const AccessorType = {
|
|
29
|
-
BILLING_TOKEN: "BILLING_TOKEN",
|
|
30
|
-
};
|
|
31
|
-
export const ThresholdComparator = {
|
|
32
|
-
GREATER_THAN: "GREATER_THAN",
|
|
33
|
-
GREATER_THAN_OR_EQUAL_TO: "GREATER_THAN_OR_EQUAL_TO",
|
|
34
|
-
};
|
|
35
|
-
export class InternalServiceErrorException extends __BaseException {
|
|
36
|
-
name = "InternalServiceErrorException";
|
|
37
|
-
$fault = "server";
|
|
38
|
-
constructor(opts) {
|
|
39
|
-
super({
|
|
40
|
-
name: "InternalServiceErrorException",
|
|
41
|
-
$fault: "server",
|
|
42
|
-
...opts,
|
|
43
|
-
});
|
|
44
|
-
Object.setPrototypeOf(this, InternalServiceErrorException.prototype);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
export class InvalidRequestException extends __BaseException {
|
|
48
|
-
name = "InvalidRequestException";
|
|
49
|
-
$fault = "client";
|
|
50
|
-
Message;
|
|
51
|
-
constructor(opts) {
|
|
52
|
-
super({
|
|
53
|
-
name: "InvalidRequestException",
|
|
54
|
-
$fault: "client",
|
|
55
|
-
...opts,
|
|
56
|
-
});
|
|
57
|
-
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
58
|
-
this.Message = opts.Message;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
export class ResourceAlreadyExistsException extends __BaseException {
|
|
62
|
-
name = "ResourceAlreadyExistsException";
|
|
63
|
-
$fault = "client";
|
|
64
|
-
Message;
|
|
65
|
-
constructor(opts) {
|
|
66
|
-
super({
|
|
67
|
-
name: "ResourceAlreadyExistsException",
|
|
68
|
-
$fault: "client",
|
|
69
|
-
...opts,
|
|
70
|
-
});
|
|
71
|
-
Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
|
|
72
|
-
this.Message = opts.Message;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
export class ResourceLimitExceededException extends __BaseException {
|
|
76
|
-
name = "ResourceLimitExceededException";
|
|
77
|
-
$fault = "client";
|
|
78
|
-
Message;
|
|
79
|
-
constructor(opts) {
|
|
80
|
-
super({
|
|
81
|
-
name: "ResourceLimitExceededException",
|
|
82
|
-
$fault: "client",
|
|
83
|
-
...opts,
|
|
84
|
-
});
|
|
85
|
-
Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
|
|
86
|
-
this.Message = opts.Message;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
export class ThrottlingException extends __BaseException {
|
|
90
|
-
name = "ThrottlingException";
|
|
91
|
-
$fault = "client";
|
|
92
|
-
constructor(opts) {
|
|
93
|
-
super({
|
|
94
|
-
name: "ThrottlingException",
|
|
95
|
-
$fault: "client",
|
|
96
|
-
...opts,
|
|
97
|
-
});
|
|
98
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
export class TooManyTagsException extends __BaseException {
|
|
102
|
-
name = "TooManyTagsException";
|
|
103
|
-
$fault = "client";
|
|
104
|
-
Message;
|
|
105
|
-
ResourceName;
|
|
106
|
-
constructor(opts) {
|
|
107
|
-
super({
|
|
108
|
-
name: "TooManyTagsException",
|
|
109
|
-
$fault: "client",
|
|
110
|
-
...opts,
|
|
111
|
-
});
|
|
112
|
-
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
113
|
-
this.Message = opts.Message;
|
|
114
|
-
this.ResourceName = opts.ResourceName;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
118
|
-
name = "ResourceNotFoundException";
|
|
119
|
-
$fault = "client";
|
|
120
|
-
Message;
|
|
121
|
-
ResourceName;
|
|
122
|
-
constructor(opts) {
|
|
123
|
-
super({
|
|
124
|
-
name: "ResourceNotFoundException",
|
|
125
|
-
$fault: "client",
|
|
126
|
-
...opts,
|
|
127
|
-
});
|
|
128
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
129
|
-
this.Message = opts.Message;
|
|
130
|
-
this.ResourceName = opts.ResourceName;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
export class ResourceNotReadyException extends __BaseException {
|
|
134
|
-
name = "ResourceNotReadyException";
|
|
135
|
-
$fault = "client";
|
|
136
|
-
Message;
|
|
137
|
-
constructor(opts) {
|
|
138
|
-
super({
|
|
139
|
-
name: "ResourceNotReadyException",
|
|
140
|
-
$fault: "client",
|
|
141
|
-
...opts,
|
|
142
|
-
});
|
|
143
|
-
Object.setPrototypeOf(this, ResourceNotReadyException.prototype);
|
|
144
|
-
this.Message = opts.Message;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
export const Framework = {
|
|
148
|
-
ETHEREUM: "ETHEREUM",
|
|
149
|
-
HYPERLEDGER_FABRIC: "HYPERLEDGER_FABRIC",
|
|
150
|
-
};
|
|
151
|
-
export const Edition = {
|
|
152
|
-
STANDARD: "STANDARD",
|
|
153
|
-
STARTER: "STARTER",
|
|
154
|
-
};
|
|
155
|
-
export const StateDBType = {
|
|
156
|
-
CouchDB: "CouchDB",
|
|
157
|
-
LevelDB: "LevelDB",
|
|
158
|
-
};
|
|
159
|
-
export const MemberStatus = {
|
|
160
|
-
AVAILABLE: "AVAILABLE",
|
|
161
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
162
|
-
CREATING: "CREATING",
|
|
163
|
-
DELETED: "DELETED",
|
|
164
|
-
DELETING: "DELETING",
|
|
165
|
-
INACCESSIBLE_ENCRYPTION_KEY: "INACCESSIBLE_ENCRYPTION_KEY",
|
|
166
|
-
UPDATING: "UPDATING",
|
|
167
|
-
};
|
|
168
|
-
export const NetworkStatus = {
|
|
169
|
-
AVAILABLE: "AVAILABLE",
|
|
170
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
171
|
-
CREATING: "CREATING",
|
|
172
|
-
DELETED: "DELETED",
|
|
173
|
-
DELETING: "DELETING",
|
|
174
|
-
};
|
|
175
|
-
export const NodeStatus = {
|
|
176
|
-
AVAILABLE: "AVAILABLE",
|
|
177
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
178
|
-
CREATING: "CREATING",
|
|
179
|
-
DELETED: "DELETED",
|
|
180
|
-
DELETING: "DELETING",
|
|
181
|
-
FAILED: "FAILED",
|
|
182
|
-
INACCESSIBLE_ENCRYPTION_KEY: "INACCESSIBLE_ENCRYPTION_KEY",
|
|
183
|
-
UNHEALTHY: "UNHEALTHY",
|
|
184
|
-
UPDATING: "UPDATING",
|
|
185
|
-
};
|
|
186
|
-
export const ProposalStatus = {
|
|
187
|
-
ACTION_FAILED: "ACTION_FAILED",
|
|
188
|
-
APPROVED: "APPROVED",
|
|
189
|
-
EXPIRED: "EXPIRED",
|
|
190
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
191
|
-
REJECTED: "REJECTED",
|
|
192
|
-
};
|
|
193
|
-
export class IllegalActionException extends __BaseException {
|
|
194
|
-
name = "IllegalActionException";
|
|
195
|
-
$fault = "client";
|
|
196
|
-
Message;
|
|
197
|
-
constructor(opts) {
|
|
198
|
-
super({
|
|
199
|
-
name: "IllegalActionException",
|
|
200
|
-
$fault: "client",
|
|
201
|
-
...opts,
|
|
202
|
-
});
|
|
203
|
-
Object.setPrototypeOf(this, IllegalActionException.prototype);
|
|
204
|
-
this.Message = opts.Message;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
export const InvitationStatus = {
|
|
208
|
-
ACCEPTED: "ACCEPTED",
|
|
209
|
-
ACCEPTING: "ACCEPTING",
|
|
210
|
-
EXPIRED: "EXPIRED",
|
|
211
|
-
PENDING: "PENDING",
|
|
212
|
-
REJECTED: "REJECTED",
|
|
213
|
-
};
|
|
214
|
-
export const VoteValue = {
|
|
215
|
-
NO: "NO",
|
|
216
|
-
YES: "YES",
|
|
217
|
-
};
|
|
1
|
+
export {};
|
|
@@ -228,7 +228,7 @@ const _st = "status";
|
|
|
228
228
|
const _tK = "tagKeys";
|
|
229
229
|
const n0 = "com.amazonaws.managedblockchain";
|
|
230
230
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
231
|
-
import { AccessDeniedException as __AccessDeniedException, IllegalActionException as __IllegalActionException, InternalServiceErrorException as __InternalServiceErrorException, InvalidRequestException as __InvalidRequestException, ResourceAlreadyExistsException as __ResourceAlreadyExistsException, ResourceLimitExceededException as __ResourceLimitExceededException, ResourceNotFoundException as __ResourceNotFoundException, ResourceNotReadyException as __ResourceNotReadyException, ThrottlingException as __ThrottlingException, TooManyTagsException as __TooManyTagsException, } from "../models/
|
|
231
|
+
import { AccessDeniedException as __AccessDeniedException, IllegalActionException as __IllegalActionException, InternalServiceErrorException as __InternalServiceErrorException, InvalidRequestException as __InvalidRequestException, ResourceAlreadyExistsException as __ResourceAlreadyExistsException, ResourceLimitExceededException as __ResourceLimitExceededException, ResourceNotFoundException as __ResourceNotFoundException, ResourceNotReadyException as __ResourceNotReadyException, ThrottlingException as __ThrottlingException, TooManyTagsException as __TooManyTagsException, } from "../models/errors";
|
|
232
232
|
import { ManagedBlockchainServiceException as __ManagedBlockchainServiceException } from "../models/ManagedBlockchainServiceException";
|
|
233
233
|
export var PasswordString = [0, n0, _PS, 8, 0];
|
|
234
234
|
export var AccessDeniedException = [
|
package/dist-types/index.d.ts
CHANGED
|
@@ -13,5 +13,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
13
13
|
export type { ManagedBlockchainExtensionConfiguration } from "./extensionConfiguration";
|
|
14
14
|
export * from "./commands";
|
|
15
15
|
export * from "./pagination";
|
|
16
|
-
export * from "./models";
|
|
16
|
+
export * from "./models/enums";
|
|
17
|
+
export * from "./models/errors";
|
|
18
|
+
export type * from "./models/models_0";
|
|
17
19
|
export { ManagedBlockchainServiceException } from "./models/ManagedBlockchainServiceException";
|