@aws-sdk/client-managedblockchain 3.933.0 → 3.935.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.
@@ -1,33 +1,18 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ManagedBlockchainServiceException as __BaseException } from "./ManagedBlockchainServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- Message?: string | undefined;
7
- constructor(
8
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
- );
10
- }
11
- export declare const AccessorNetworkType: {
12
- readonly ETHEREUM_GOERLI: "ETHEREUM_GOERLI";
13
- readonly ETHEREUM_MAINNET: "ETHEREUM_MAINNET";
14
- readonly ETHEREUM_MAINNET_AND_GOERLI: "ETHEREUM_MAINNET_AND_GOERLI";
15
- readonly POLYGON_MAINNET: "POLYGON_MAINNET";
16
- readonly POLYGON_MUMBAI: "POLYGON_MUMBAI";
17
- };
18
- export type AccessorNetworkType =
19
- (typeof AccessorNetworkType)[keyof typeof AccessorNetworkType];
20
- export declare const AccessorStatus: {
21
- readonly AVAILABLE: "AVAILABLE";
22
- readonly DELETED: "DELETED";
23
- readonly PENDING_DELETION: "PENDING_DELETION";
24
- };
25
- export type AccessorStatus =
26
- (typeof AccessorStatus)[keyof typeof AccessorStatus];
27
- export declare const AccessorType: {
28
- readonly BILLING_TOKEN: "BILLING_TOKEN";
29
- };
30
- export type AccessorType = (typeof AccessorType)[keyof typeof AccessorType];
1
+ import {
2
+ AccessorNetworkType,
3
+ AccessorStatus,
4
+ AccessorType,
5
+ Edition,
6
+ Framework,
7
+ InvitationStatus,
8
+ MemberStatus,
9
+ NetworkStatus,
10
+ NodeStatus,
11
+ ProposalStatus,
12
+ StateDBType,
13
+ ThresholdComparator,
14
+ VoteValue,
15
+ } from "./enums";
31
16
  export interface Accessor {
32
17
  Id?: string | undefined;
33
18
  Type?: AccessorType | undefined;
@@ -46,12 +31,6 @@ export interface AccessorSummary {
46
31
  Arn?: string | undefined;
47
32
  NetworkType?: AccessorNetworkType | undefined;
48
33
  }
49
- export declare const ThresholdComparator: {
50
- readonly GREATER_THAN: "GREATER_THAN";
51
- readonly GREATER_THAN_OR_EQUAL_TO: "GREATER_THAN_OR_EQUAL_TO";
52
- };
53
- export type ThresholdComparator =
54
- (typeof ThresholdComparator)[keyof typeof ThresholdComparator];
55
34
  export interface ApprovalThresholdPolicy {
56
35
  ThresholdPercentage?: number | undefined;
57
36
  ProposalDurationInHours?: number | undefined;
@@ -68,53 +47,6 @@ export interface CreateAccessorOutput {
68
47
  BillingToken?: string | undefined;
69
48
  NetworkType?: AccessorNetworkType | undefined;
70
49
  }
71
- export declare class InternalServiceErrorException extends __BaseException {
72
- readonly name: "InternalServiceErrorException";
73
- readonly $fault: "server";
74
- constructor(
75
- opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>
76
- );
77
- }
78
- export declare class InvalidRequestException extends __BaseException {
79
- readonly name: "InvalidRequestException";
80
- readonly $fault: "client";
81
- Message?: string | undefined;
82
- constructor(
83
- opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
84
- );
85
- }
86
- export declare class ResourceAlreadyExistsException extends __BaseException {
87
- readonly name: "ResourceAlreadyExistsException";
88
- readonly $fault: "client";
89
- Message?: string | undefined;
90
- constructor(
91
- opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
92
- );
93
- }
94
- export declare class ResourceLimitExceededException extends __BaseException {
95
- readonly name: "ResourceLimitExceededException";
96
- readonly $fault: "client";
97
- Message?: string | undefined;
98
- constructor(
99
- opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>
100
- );
101
- }
102
- export declare class ThrottlingException extends __BaseException {
103
- readonly name: "ThrottlingException";
104
- readonly $fault: "client";
105
- constructor(
106
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
107
- );
108
- }
109
- export declare class TooManyTagsException extends __BaseException {
110
- readonly name: "TooManyTagsException";
111
- readonly $fault: "client";
112
- Message?: string | undefined;
113
- ResourceName?: string | undefined;
114
- constructor(
115
- opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
116
- );
117
- }
118
50
  export interface MemberFabricConfiguration {
119
51
  AdminUsername: string | undefined;
120
52
  AdminPassword: string | undefined;
@@ -151,33 +83,6 @@ export interface CreateMemberInput {
151
83
  export interface CreateMemberOutput {
152
84
  MemberId?: string | undefined;
153
85
  }
154
- export declare class ResourceNotFoundException extends __BaseException {
155
- readonly name: "ResourceNotFoundException";
156
- readonly $fault: "client";
157
- Message?: string | undefined;
158
- ResourceName?: string | undefined;
159
- constructor(
160
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
161
- );
162
- }
163
- export declare class ResourceNotReadyException extends __BaseException {
164
- readonly name: "ResourceNotReadyException";
165
- readonly $fault: "client";
166
- Message?: string | undefined;
167
- constructor(
168
- opts: __ExceptionOptionType<ResourceNotReadyException, __BaseException>
169
- );
170
- }
171
- export declare const Framework: {
172
- readonly ETHEREUM: "ETHEREUM";
173
- readonly HYPERLEDGER_FABRIC: "HYPERLEDGER_FABRIC";
174
- };
175
- export type Framework = (typeof Framework)[keyof typeof Framework];
176
- export declare const Edition: {
177
- readonly STANDARD: "STANDARD";
178
- readonly STARTER: "STARTER";
179
- };
180
- export type Edition = (typeof Edition)[keyof typeof Edition];
181
86
  export interface NetworkFabricConfiguration {
182
87
  Edition: Edition | undefined;
183
88
  }
@@ -209,11 +114,6 @@ export interface NodeFabricLogPublishingConfiguration {
209
114
  export interface NodeLogPublishingConfiguration {
210
115
  Fabric?: NodeFabricLogPublishingConfiguration | undefined;
211
116
  }
212
- export declare const StateDBType: {
213
- readonly CouchDB: "CouchDB";
214
- readonly LevelDB: "LevelDB";
215
- };
216
- export type StateDBType = (typeof StateDBType)[keyof typeof StateDBType];
217
117
  export interface NodeConfiguration {
218
118
  InstanceType: string | undefined;
219
119
  AvailabilityZone?: string | undefined;
@@ -283,16 +183,6 @@ export interface MemberFabricAttributes {
283
183
  export interface MemberFrameworkAttributes {
284
184
  Fabric?: MemberFabricAttributes | undefined;
285
185
  }
286
- export declare const MemberStatus: {
287
- readonly AVAILABLE: "AVAILABLE";
288
- readonly CREATE_FAILED: "CREATE_FAILED";
289
- readonly CREATING: "CREATING";
290
- readonly DELETED: "DELETED";
291
- readonly DELETING: "DELETING";
292
- readonly INACCESSIBLE_ENCRYPTION_KEY: "INACCESSIBLE_ENCRYPTION_KEY";
293
- readonly UPDATING: "UPDATING";
294
- };
295
- export type MemberStatus = (typeof MemberStatus)[keyof typeof MemberStatus];
296
186
  export interface Member {
297
187
  NetworkId?: string | undefined;
298
188
  Id?: string | undefined;
@@ -323,14 +213,6 @@ export interface NetworkFrameworkAttributes {
323
213
  Fabric?: NetworkFabricAttributes | undefined;
324
214
  Ethereum?: NetworkEthereumAttributes | undefined;
325
215
  }
326
- export declare const NetworkStatus: {
327
- readonly AVAILABLE: "AVAILABLE";
328
- readonly CREATE_FAILED: "CREATE_FAILED";
329
- readonly CREATING: "CREATING";
330
- readonly DELETED: "DELETED";
331
- readonly DELETING: "DELETING";
332
- };
333
- export type NetworkStatus = (typeof NetworkStatus)[keyof typeof NetworkStatus];
334
216
  export interface Network {
335
217
  Id?: string | undefined;
336
218
  Name?: string | undefined;
@@ -365,18 +247,6 @@ export interface NodeFrameworkAttributes {
365
247
  Fabric?: NodeFabricAttributes | undefined;
366
248
  Ethereum?: NodeEthereumAttributes | undefined;
367
249
  }
368
- export declare const NodeStatus: {
369
- readonly AVAILABLE: "AVAILABLE";
370
- readonly CREATE_FAILED: "CREATE_FAILED";
371
- readonly CREATING: "CREATING";
372
- readonly DELETED: "DELETED";
373
- readonly DELETING: "DELETING";
374
- readonly FAILED: "FAILED";
375
- readonly INACCESSIBLE_ENCRYPTION_KEY: "INACCESSIBLE_ENCRYPTION_KEY";
376
- readonly UNHEALTHY: "UNHEALTHY";
377
- readonly UPDATING: "UPDATING";
378
- };
379
- export type NodeStatus = (typeof NodeStatus)[keyof typeof NodeStatus];
380
250
  export interface Node {
381
251
  NetworkId?: string | undefined;
382
252
  MemberId?: string | undefined;
@@ -399,15 +269,6 @@ export interface GetProposalInput {
399
269
  NetworkId: string | undefined;
400
270
  ProposalId: string | undefined;
401
271
  }
402
- export declare const ProposalStatus: {
403
- readonly ACTION_FAILED: "ACTION_FAILED";
404
- readonly APPROVED: "APPROVED";
405
- readonly EXPIRED: "EXPIRED";
406
- readonly IN_PROGRESS: "IN_PROGRESS";
407
- readonly REJECTED: "REJECTED";
408
- };
409
- export type ProposalStatus =
410
- (typeof ProposalStatus)[keyof typeof ProposalStatus];
411
272
  export interface Proposal {
412
273
  ProposalId?: string | undefined;
413
274
  NetworkId?: string | undefined;
@@ -427,14 +288,6 @@ export interface Proposal {
427
288
  export interface GetProposalOutput {
428
289
  Proposal?: Proposal | undefined;
429
290
  }
430
- export declare class IllegalActionException extends __BaseException {
431
- readonly name: "IllegalActionException";
432
- readonly $fault: "client";
433
- Message?: string | undefined;
434
- constructor(
435
- opts: __ExceptionOptionType<IllegalActionException, __BaseException>
436
- );
437
- }
438
291
  export interface NetworkSummary {
439
292
  Id?: string | undefined;
440
293
  Name?: string | undefined;
@@ -445,15 +298,6 @@ export interface NetworkSummary {
445
298
  CreationDate?: Date | undefined;
446
299
  Arn?: string | undefined;
447
300
  }
448
- export declare const InvitationStatus: {
449
- readonly ACCEPTED: "ACCEPTED";
450
- readonly ACCEPTING: "ACCEPTING";
451
- readonly EXPIRED: "EXPIRED";
452
- readonly PENDING: "PENDING";
453
- readonly REJECTED: "REJECTED";
454
- };
455
- export type InvitationStatus =
456
- (typeof InvitationStatus)[keyof typeof InvitationStatus];
457
301
  export interface Invitation {
458
302
  InvitationId?: string | undefined;
459
303
  CreationDate?: Date | undefined;
@@ -555,11 +399,6 @@ export interface ListProposalVotesInput {
555
399
  MaxResults?: number | undefined;
556
400
  NextToken?: string | undefined;
557
401
  }
558
- export declare const VoteValue: {
559
- readonly NO: "NO";
560
- readonly YES: "YES";
561
- };
562
- export type VoteValue = (typeof VoteValue)[keyof typeof VoteValue];
563
402
  export interface VoteSummary {
564
403
  Vote?: VoteValue | undefined;
565
404
  MemberName?: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-managedblockchain",
3
3
  "description": "AWS SDK for JavaScript Managedblockchain Client for Node.js, Browser and React Native",
4
- "version": "3.933.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-managedblockchain",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";