@aws-sdk/client-managedblockchain 3.300.0 → 3.303.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 (32) hide show
  1. package/dist-cjs/models/models_0.js +69 -81
  2. package/dist-es/models/models_0.js +69 -81
  3. package/dist-types/commands/CreateAccessorCommand.d.ts +2 -2
  4. package/dist-types/commands/CreateMemberCommand.d.ts +9 -9
  5. package/dist-types/commands/CreateNetworkCommand.d.ts +13 -13
  6. package/dist-types/commands/CreateNodeCommand.d.ts +7 -7
  7. package/dist-types/commands/CreateProposalCommand.d.ts +7 -7
  8. package/dist-types/commands/DeleteAccessorCommand.d.ts +1 -1
  9. package/dist-types/commands/DeleteMemberCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteNodeCommand.d.ts +1 -1
  11. package/dist-types/commands/GetAccessorCommand.d.ts +1 -1
  12. package/dist-types/commands/GetMemberCommand.d.ts +1 -1
  13. package/dist-types/commands/GetNetworkCommand.d.ts +1 -1
  14. package/dist-types/commands/GetNodeCommand.d.ts +1 -1
  15. package/dist-types/commands/GetProposalCommand.d.ts +1 -1
  16. package/dist-types/commands/ListAccessorsCommand.d.ts +1 -1
  17. package/dist-types/commands/ListInvitationsCommand.d.ts +1 -1
  18. package/dist-types/commands/ListMembersCommand.d.ts +1 -1
  19. package/dist-types/commands/ListNetworksCommand.d.ts +1 -1
  20. package/dist-types/commands/ListNodesCommand.d.ts +1 -1
  21. package/dist-types/commands/ListProposalVotesCommand.d.ts +1 -1
  22. package/dist-types/commands/ListProposalsCommand.d.ts +1 -1
  23. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  24. package/dist-types/commands/RejectInvitationCommand.d.ts +1 -1
  25. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  26. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  27. package/dist-types/commands/UpdateMemberCommand.d.ts +5 -5
  28. package/dist-types/commands/UpdateNodeCommand.d.ts +5 -5
  29. package/dist-types/commands/VoteOnProposalCommand.d.ts +1 -1
  30. package/dist-types/models/models_0.d.ts +129 -69
  31. package/dist-types/ts3.4/models/models_0.d.ts +85 -69
  32. package/package.json +34 -34
@@ -27,7 +27,7 @@ export interface ListMembersCommandOutput extends ListMembersOutput, __MetadataB
27
27
  * import { ManagedBlockchainClient, ListMembersCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
28
28
  * // const { ManagedBlockchainClient, ListMembersCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
29
29
  * const client = new ManagedBlockchainClient(config);
30
- * const input = {
30
+ * const input = { // ListMembersInput
31
31
  * NetworkId: "STRING_VALUE", // required
32
32
  * Name: "STRING_VALUE",
33
33
  * Status: "CREATING" || "AVAILABLE" || "CREATE_FAILED" || "UPDATING" || "DELETING" || "DELETED" || "INACCESSIBLE_ENCRYPTION_KEY",
@@ -27,7 +27,7 @@ export interface ListNetworksCommandOutput extends ListNetworksOutput, __Metadat
27
27
  * import { ManagedBlockchainClient, ListNetworksCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
28
28
  * // const { ManagedBlockchainClient, ListNetworksCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
29
29
  * const client = new ManagedBlockchainClient(config);
30
- * const input = {
30
+ * const input = { // ListNetworksInput
31
31
  * Name: "STRING_VALUE",
32
32
  * Framework: "HYPERLEDGER_FABRIC" || "ETHEREUM",
33
33
  * Status: "CREATING" || "AVAILABLE" || "CREATE_FAILED" || "DELETING" || "DELETED",
@@ -27,7 +27,7 @@ export interface ListNodesCommandOutput extends ListNodesOutput, __MetadataBeare
27
27
  * import { ManagedBlockchainClient, ListNodesCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
28
28
  * // const { ManagedBlockchainClient, ListNodesCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
29
29
  * const client = new ManagedBlockchainClient(config);
30
- * const input = {
30
+ * const input = { // ListNodesInput
31
31
  * NetworkId: "STRING_VALUE", // required
32
32
  * MemberId: "STRING_VALUE",
33
33
  * Status: "CREATING" || "AVAILABLE" || "UNHEALTHY" || "CREATE_FAILED" || "UPDATING" || "DELETING" || "DELETED" || "FAILED" || "INACCESSIBLE_ENCRYPTION_KEY",
@@ -27,7 +27,7 @@ export interface ListProposalVotesCommandOutput extends ListProposalVotesOutput,
27
27
  * import { ManagedBlockchainClient, ListProposalVotesCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
28
28
  * // const { ManagedBlockchainClient, ListProposalVotesCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
29
29
  * const client = new ManagedBlockchainClient(config);
30
- * const input = {
30
+ * const input = { // ListProposalVotesInput
31
31
  * NetworkId: "STRING_VALUE", // required
32
32
  * ProposalId: "STRING_VALUE", // required
33
33
  * MaxResults: Number("int"),
@@ -27,7 +27,7 @@ export interface ListProposalsCommandOutput extends ListProposalsOutput, __Metad
27
27
  * import { ManagedBlockchainClient, ListProposalsCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
28
28
  * // const { ManagedBlockchainClient, ListProposalsCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
29
29
  * const client = new ManagedBlockchainClient(config);
30
- * const input = {
30
+ * const input = { // ListProposalsInput
31
31
  * NetworkId: "STRING_VALUE", // required
32
32
  * MaxResults: Number("int"),
33
33
  * NextToken: "STRING_VALUE",
@@ -27,7 +27,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
27
27
  * import { ManagedBlockchainClient, ListTagsForResourceCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
28
28
  * // const { ManagedBlockchainClient, ListTagsForResourceCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
29
29
  * const client = new ManagedBlockchainClient(config);
30
- * const input = {
30
+ * const input = { // ListTagsForResourceRequest
31
31
  * ResourceArn: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new ListTagsForResourceCommand(input);
@@ -27,7 +27,7 @@ export interface RejectInvitationCommandOutput extends RejectInvitationOutput, _
27
27
  * import { ManagedBlockchainClient, RejectInvitationCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
28
28
  * // const { ManagedBlockchainClient, RejectInvitationCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
29
29
  * const client = new ManagedBlockchainClient(config);
30
- * const input = {
30
+ * const input = { // RejectInvitationInput
31
31
  * InvitationId: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new RejectInvitationCommand(input);
@@ -29,9 +29,9 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
29
29
  * import { ManagedBlockchainClient, TagResourceCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
30
30
  * // const { ManagedBlockchainClient, TagResourceCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
31
31
  * const client = new ManagedBlockchainClient(config);
32
- * const input = {
32
+ * const input = { // TagResourceRequest
33
33
  * ResourceArn: "STRING_VALUE", // required
34
- * Tags: { // required
34
+ * Tags: { // InputTagMap // required
35
35
  * "<keys>": "STRING_VALUE",
36
36
  * },
37
37
  * };
@@ -27,9 +27,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
27
27
  * import { ManagedBlockchainClient, UntagResourceCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
28
28
  * // const { ManagedBlockchainClient, UntagResourceCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
29
29
  * const client = new ManagedBlockchainClient(config);
30
- * const input = {
30
+ * const input = { // UntagResourceRequest
31
31
  * ResourceArn: "STRING_VALUE", // required
32
- * TagKeys: [ // required
32
+ * TagKeys: [ // TagKeyList // required
33
33
  * "STRING_VALUE",
34
34
  * ],
35
35
  * };
@@ -27,13 +27,13 @@ export interface UpdateMemberCommandOutput extends UpdateMemberOutput, __Metadat
27
27
  * import { ManagedBlockchainClient, UpdateMemberCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
28
28
  * // const { ManagedBlockchainClient, UpdateMemberCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
29
29
  * const client = new ManagedBlockchainClient(config);
30
- * const input = {
30
+ * const input = { // UpdateMemberInput
31
31
  * NetworkId: "STRING_VALUE", // required
32
32
  * MemberId: "STRING_VALUE", // required
33
- * LogPublishingConfiguration: {
34
- * Fabric: {
35
- * CaLogs: {
36
- * Cloudwatch: {
33
+ * LogPublishingConfiguration: { // MemberLogPublishingConfiguration
34
+ * Fabric: { // MemberFabricLogPublishingConfiguration
35
+ * CaLogs: { // LogConfigurations
36
+ * Cloudwatch: { // LogConfiguration
37
37
  * Enabled: true || false,
38
38
  * },
39
39
  * },
@@ -27,14 +27,14 @@ export interface UpdateNodeCommandOutput extends UpdateNodeOutput, __MetadataBea
27
27
  * import { ManagedBlockchainClient, UpdateNodeCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
28
28
  * // const { ManagedBlockchainClient, UpdateNodeCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
29
29
  * const client = new ManagedBlockchainClient(config);
30
- * const input = {
30
+ * const input = { // UpdateNodeInput
31
31
  * NetworkId: "STRING_VALUE", // required
32
32
  * MemberId: "STRING_VALUE",
33
33
  * NodeId: "STRING_VALUE", // required
34
- * LogPublishingConfiguration: {
35
- * Fabric: {
36
- * ChaincodeLogs: {
37
- * Cloudwatch: {
34
+ * LogPublishingConfiguration: { // NodeLogPublishingConfiguration
35
+ * Fabric: { // NodeFabricLogPublishingConfiguration
36
+ * ChaincodeLogs: { // LogConfigurations
37
+ * Cloudwatch: { // LogConfiguration
38
38
  * Enabled: true || false,
39
39
  * },
40
40
  * },
@@ -27,7 +27,7 @@ export interface VoteOnProposalCommandOutput extends VoteOnProposalOutput, __Met
27
27
  * import { ManagedBlockchainClient, VoteOnProposalCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import
28
28
  * // const { ManagedBlockchainClient, VoteOnProposalCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import
29
29
  * const client = new ManagedBlockchainClient(config);
30
- * const input = {
30
+ * const input = { // VoteOnProposalInput
31
31
  * NetworkId: "STRING_VALUE", // required
32
32
  * ProposalId: "STRING_VALUE", // required
33
33
  * VoterMemberId: "STRING_VALUE", // required
@@ -15,18 +15,28 @@ export declare class AccessDeniedException extends __BaseException {
15
15
  }
16
16
  /**
17
17
  * @public
18
+ * @enum
18
19
  */
19
- export declare enum AccessorStatus {
20
- AVAILABLE = "AVAILABLE",
21
- DELETED = "DELETED",
22
- PENDING_DELETION = "PENDING_DELETION"
23
- }
20
+ export declare const AccessorStatus: {
21
+ readonly AVAILABLE: "AVAILABLE";
22
+ readonly DELETED: "DELETED";
23
+ readonly PENDING_DELETION: "PENDING_DELETION";
24
+ };
24
25
  /**
25
26
  * @public
26
27
  */
27
- export declare enum AccessorType {
28
- BILLING_TOKEN = "BILLING_TOKEN"
29
- }
28
+ export type AccessorStatus = (typeof AccessorStatus)[keyof typeof AccessorStatus];
29
+ /**
30
+ * @public
31
+ * @enum
32
+ */
33
+ export declare const AccessorType: {
34
+ readonly BILLING_TOKEN: "BILLING_TOKEN";
35
+ };
36
+ /**
37
+ * @public
38
+ */
39
+ export type AccessorType = (typeof AccessorType)[keyof typeof AccessorType];
30
40
  /**
31
41
  * @public
32
42
  * <p>The properties of the Accessor.</p>
@@ -102,11 +112,16 @@ export interface AccessorSummary {
102
112
  }
103
113
  /**
104
114
  * @public
115
+ * @enum
105
116
  */
106
- export declare enum ThresholdComparator {
107
- GREATER_THAN = "GREATER_THAN",
108
- GREATER_THAN_OR_EQUAL_TO = "GREATER_THAN_OR_EQUAL_TO"
109
- }
117
+ export declare const ThresholdComparator: {
118
+ readonly GREATER_THAN: "GREATER_THAN";
119
+ readonly GREATER_THAN_OR_EQUAL_TO: "GREATER_THAN_OR_EQUAL_TO";
120
+ };
121
+ /**
122
+ * @public
123
+ */
124
+ export type ThresholdComparator = (typeof ThresholdComparator)[keyof typeof ThresholdComparator];
110
125
  /**
111
126
  * @public
112
127
  * <p>A policy type that defines the voting rules for the network. The rules decide if a proposal is approved. Approval may be based on criteria such as the percentage of <code>YES</code> votes and the duration of the proposal. The policy applies to all proposals and is specified when the network is created.</p>
@@ -426,18 +441,28 @@ export declare class ResourceNotReadyException extends __BaseException {
426
441
  }
427
442
  /**
428
443
  * @public
444
+ * @enum
429
445
  */
430
- export declare enum Framework {
431
- ETHEREUM = "ETHEREUM",
432
- HYPERLEDGER_FABRIC = "HYPERLEDGER_FABRIC"
433
- }
446
+ export declare const Framework: {
447
+ readonly ETHEREUM: "ETHEREUM";
448
+ readonly HYPERLEDGER_FABRIC: "HYPERLEDGER_FABRIC";
449
+ };
434
450
  /**
435
451
  * @public
436
452
  */
437
- export declare enum Edition {
438
- STANDARD = "STANDARD",
439
- STARTER = "STARTER"
440
- }
453
+ export type Framework = (typeof Framework)[keyof typeof Framework];
454
+ /**
455
+ * @public
456
+ * @enum
457
+ */
458
+ export declare const Edition: {
459
+ readonly STANDARD: "STANDARD";
460
+ readonly STARTER: "STARTER";
461
+ };
462
+ /**
463
+ * @public
464
+ */
465
+ export type Edition = (typeof Edition)[keyof typeof Edition];
441
466
  /**
442
467
  * @public
443
468
  * <p>Hyperledger Fabric configuration properties for the network.</p>
@@ -567,11 +592,16 @@ export interface NodeLogPublishingConfiguration {
567
592
  }
568
593
  /**
569
594
  * @public
595
+ * @enum
570
596
  */
571
- export declare enum StateDBType {
572
- CouchDB = "CouchDB",
573
- LevelDB = "LevelDB"
574
- }
597
+ export declare const StateDBType: {
598
+ readonly CouchDB: "CouchDB";
599
+ readonly LevelDB: "LevelDB";
600
+ };
601
+ /**
602
+ * @public
603
+ */
604
+ export type StateDBType = (typeof StateDBType)[keyof typeof StateDBType];
575
605
  /**
576
606
  * @public
577
607
  * <p>Configuration properties of a node.</p>
@@ -881,16 +911,21 @@ export interface MemberFrameworkAttributes {
881
911
  }
882
912
  /**
883
913
  * @public
914
+ * @enum
884
915
  */
885
- export declare enum MemberStatus {
886
- AVAILABLE = "AVAILABLE",
887
- CREATE_FAILED = "CREATE_FAILED",
888
- CREATING = "CREATING",
889
- DELETED = "DELETED",
890
- DELETING = "DELETING",
891
- INACCESSIBLE_ENCRYPTION_KEY = "INACCESSIBLE_ENCRYPTION_KEY",
892
- UPDATING = "UPDATING"
893
- }
916
+ export declare const MemberStatus: {
917
+ readonly AVAILABLE: "AVAILABLE";
918
+ readonly CREATE_FAILED: "CREATE_FAILED";
919
+ readonly CREATING: "CREATING";
920
+ readonly DELETED: "DELETED";
921
+ readonly DELETING: "DELETING";
922
+ readonly INACCESSIBLE_ENCRYPTION_KEY: "INACCESSIBLE_ENCRYPTION_KEY";
923
+ readonly UPDATING: "UPDATING";
924
+ };
925
+ /**
926
+ * @public
927
+ */
928
+ export type MemberStatus = (typeof MemberStatus)[keyof typeof MemberStatus];
894
929
  /**
895
930
  * @public
896
931
  * <p>Member configuration properties.</p>
@@ -1053,14 +1088,19 @@ export interface NetworkFrameworkAttributes {
1053
1088
  }
1054
1089
  /**
1055
1090
  * @public
1091
+ * @enum
1056
1092
  */
1057
- export declare enum NetworkStatus {
1058
- AVAILABLE = "AVAILABLE",
1059
- CREATE_FAILED = "CREATE_FAILED",
1060
- CREATING = "CREATING",
1061
- DELETED = "DELETED",
1062
- DELETING = "DELETING"
1063
- }
1093
+ export declare const NetworkStatus: {
1094
+ readonly AVAILABLE: "AVAILABLE";
1095
+ readonly CREATE_FAILED: "CREATE_FAILED";
1096
+ readonly CREATING: "CREATING";
1097
+ readonly DELETED: "DELETED";
1098
+ readonly DELETING: "DELETING";
1099
+ };
1100
+ /**
1101
+ * @public
1102
+ */
1103
+ export type NetworkStatus = (typeof NetworkStatus)[keyof typeof NetworkStatus];
1064
1104
  /**
1065
1105
  * @public
1066
1106
  * <p>Network configuration properties.</p>
@@ -1187,18 +1227,23 @@ export interface NodeFrameworkAttributes {
1187
1227
  }
1188
1228
  /**
1189
1229
  * @public
1230
+ * @enum
1190
1231
  */
1191
- export declare enum NodeStatus {
1192
- AVAILABLE = "AVAILABLE",
1193
- CREATE_FAILED = "CREATE_FAILED",
1194
- CREATING = "CREATING",
1195
- DELETED = "DELETED",
1196
- DELETING = "DELETING",
1197
- FAILED = "FAILED",
1198
- INACCESSIBLE_ENCRYPTION_KEY = "INACCESSIBLE_ENCRYPTION_KEY",
1199
- UNHEALTHY = "UNHEALTHY",
1200
- UPDATING = "UPDATING"
1201
- }
1232
+ export declare const NodeStatus: {
1233
+ readonly AVAILABLE: "AVAILABLE";
1234
+ readonly CREATE_FAILED: "CREATE_FAILED";
1235
+ readonly CREATING: "CREATING";
1236
+ readonly DELETED: "DELETED";
1237
+ readonly DELETING: "DELETING";
1238
+ readonly FAILED: "FAILED";
1239
+ readonly INACCESSIBLE_ENCRYPTION_KEY: "INACCESSIBLE_ENCRYPTION_KEY";
1240
+ readonly UNHEALTHY: "UNHEALTHY";
1241
+ readonly UPDATING: "UPDATING";
1242
+ };
1243
+ /**
1244
+ * @public
1245
+ */
1246
+ export type NodeStatus = (typeof NodeStatus)[keyof typeof NodeStatus];
1202
1247
  /**
1203
1248
  * @public
1204
1249
  * <p>Configuration properties of a node.</p>
@@ -1325,14 +1370,19 @@ export interface GetProposalInput {
1325
1370
  }
1326
1371
  /**
1327
1372
  * @public
1373
+ * @enum
1328
1374
  */
1329
- export declare enum ProposalStatus {
1330
- ACTION_FAILED = "ACTION_FAILED",
1331
- APPROVED = "APPROVED",
1332
- EXPIRED = "EXPIRED",
1333
- IN_PROGRESS = "IN_PROGRESS",
1334
- REJECTED = "REJECTED"
1335
- }
1375
+ export declare const ProposalStatus: {
1376
+ readonly ACTION_FAILED: "ACTION_FAILED";
1377
+ readonly APPROVED: "APPROVED";
1378
+ readonly EXPIRED: "EXPIRED";
1379
+ readonly IN_PROGRESS: "IN_PROGRESS";
1380
+ readonly REJECTED: "REJECTED";
1381
+ };
1382
+ /**
1383
+ * @public
1384
+ */
1385
+ export type ProposalStatus = (typeof ProposalStatus)[keyof typeof ProposalStatus];
1336
1386
  /**
1337
1387
  * @public
1338
1388
  * <p>Properties of a proposal on a Managed Blockchain network.</p>
@@ -1491,14 +1541,19 @@ export interface NetworkSummary {
1491
1541
  }
1492
1542
  /**
1493
1543
  * @public
1544
+ * @enum
1494
1545
  */
1495
- export declare enum InvitationStatus {
1496
- ACCEPTED = "ACCEPTED",
1497
- ACCEPTING = "ACCEPTING",
1498
- EXPIRED = "EXPIRED",
1499
- PENDING = "PENDING",
1500
- REJECTED = "REJECTED"
1501
- }
1546
+ export declare const InvitationStatus: {
1547
+ readonly ACCEPTED: "ACCEPTED";
1548
+ readonly ACCEPTING: "ACCEPTING";
1549
+ readonly EXPIRED: "EXPIRED";
1550
+ readonly PENDING: "PENDING";
1551
+ readonly REJECTED: "REJECTED";
1552
+ };
1553
+ /**
1554
+ * @public
1555
+ */
1556
+ export type InvitationStatus = (typeof InvitationStatus)[keyof typeof InvitationStatus];
1502
1557
  /**
1503
1558
  * @public
1504
1559
  * <p>An invitation to an Amazon Web Services account to create a member and join the network.</p>
@@ -1965,11 +2020,16 @@ export interface ListProposalVotesInput {
1965
2020
  }
1966
2021
  /**
1967
2022
  * @public
2023
+ * @enum
1968
2024
  */
1969
- export declare enum VoteValue {
1970
- NO = "NO",
1971
- YES = "YES"
1972
- }
2025
+ export declare const VoteValue: {
2026
+ readonly NO: "NO";
2027
+ readonly YES: "YES";
2028
+ };
2029
+ /**
2030
+ * @public
2031
+ */
2032
+ export type VoteValue = (typeof VoteValue)[keyof typeof VoteValue];
1973
2033
  /**
1974
2034
  * @public
1975
2035
  * <p>
@@ -8,14 +8,17 @@ export declare class AccessDeniedException extends __BaseException {
8
8
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
9
  );
10
10
  }
11
- export declare enum AccessorStatus {
12
- AVAILABLE = "AVAILABLE",
13
- DELETED = "DELETED",
14
- PENDING_DELETION = "PENDING_DELETION",
15
- }
16
- export declare enum AccessorType {
17
- BILLING_TOKEN = "BILLING_TOKEN",
18
- }
11
+ export declare const AccessorStatus: {
12
+ readonly AVAILABLE: "AVAILABLE";
13
+ readonly DELETED: "DELETED";
14
+ readonly PENDING_DELETION: "PENDING_DELETION";
15
+ };
16
+ export type AccessorStatus =
17
+ (typeof AccessorStatus)[keyof typeof AccessorStatus];
18
+ export declare const AccessorType: {
19
+ readonly BILLING_TOKEN: "BILLING_TOKEN";
20
+ };
21
+ export type AccessorType = (typeof AccessorType)[keyof typeof AccessorType];
19
22
  export interface Accessor {
20
23
  Id?: string;
21
24
  Type?: AccessorType | string;
@@ -32,10 +35,12 @@ export interface AccessorSummary {
32
35
  CreationDate?: Date;
33
36
  Arn?: string;
34
37
  }
35
- export declare enum ThresholdComparator {
36
- GREATER_THAN = "GREATER_THAN",
37
- GREATER_THAN_OR_EQUAL_TO = "GREATER_THAN_OR_EQUAL_TO",
38
- }
38
+ export declare const ThresholdComparator: {
39
+ readonly GREATER_THAN: "GREATER_THAN";
40
+ readonly GREATER_THAN_OR_EQUAL_TO: "GREATER_THAN_OR_EQUAL_TO";
41
+ };
42
+ export type ThresholdComparator =
43
+ (typeof ThresholdComparator)[keyof typeof ThresholdComparator];
39
44
  export interface ApprovalThresholdPolicy {
40
45
  ThresholdPercentage?: number;
41
46
  ProposalDurationInHours?: number;
@@ -150,14 +155,16 @@ export declare class ResourceNotReadyException extends __BaseException {
150
155
  opts: __ExceptionOptionType<ResourceNotReadyException, __BaseException>
151
156
  );
152
157
  }
153
- export declare enum Framework {
154
- ETHEREUM = "ETHEREUM",
155
- HYPERLEDGER_FABRIC = "HYPERLEDGER_FABRIC",
156
- }
157
- export declare enum Edition {
158
- STANDARD = "STANDARD",
159
- STARTER = "STARTER",
160
- }
158
+ export declare const Framework: {
159
+ readonly ETHEREUM: "ETHEREUM";
160
+ readonly HYPERLEDGER_FABRIC: "HYPERLEDGER_FABRIC";
161
+ };
162
+ export type Framework = (typeof Framework)[keyof typeof Framework];
163
+ export declare const Edition: {
164
+ readonly STANDARD: "STANDARD";
165
+ readonly STARTER: "STARTER";
166
+ };
167
+ export type Edition = (typeof Edition)[keyof typeof Edition];
161
168
  export interface NetworkFabricConfiguration {
162
169
  Edition: Edition | string | undefined;
163
170
  }
@@ -189,10 +196,11 @@ export interface NodeFabricLogPublishingConfiguration {
189
196
  export interface NodeLogPublishingConfiguration {
190
197
  Fabric?: NodeFabricLogPublishingConfiguration;
191
198
  }
192
- export declare enum StateDBType {
193
- CouchDB = "CouchDB",
194
- LevelDB = "LevelDB",
195
- }
199
+ export declare const StateDBType: {
200
+ readonly CouchDB: "CouchDB";
201
+ readonly LevelDB: "LevelDB";
202
+ };
203
+ export type StateDBType = (typeof StateDBType)[keyof typeof StateDBType];
196
204
  export interface NodeConfiguration {
197
205
  InstanceType: string | undefined;
198
206
  AvailabilityZone?: string;
@@ -262,15 +270,16 @@ export interface MemberFabricAttributes {
262
270
  export interface MemberFrameworkAttributes {
263
271
  Fabric?: MemberFabricAttributes;
264
272
  }
265
- export declare enum MemberStatus {
266
- AVAILABLE = "AVAILABLE",
267
- CREATE_FAILED = "CREATE_FAILED",
268
- CREATING = "CREATING",
269
- DELETED = "DELETED",
270
- DELETING = "DELETING",
271
- INACCESSIBLE_ENCRYPTION_KEY = "INACCESSIBLE_ENCRYPTION_KEY",
272
- UPDATING = "UPDATING",
273
- }
273
+ export declare const MemberStatus: {
274
+ readonly AVAILABLE: "AVAILABLE";
275
+ readonly CREATE_FAILED: "CREATE_FAILED";
276
+ readonly CREATING: "CREATING";
277
+ readonly DELETED: "DELETED";
278
+ readonly DELETING: "DELETING";
279
+ readonly INACCESSIBLE_ENCRYPTION_KEY: "INACCESSIBLE_ENCRYPTION_KEY";
280
+ readonly UPDATING: "UPDATING";
281
+ };
282
+ export type MemberStatus = (typeof MemberStatus)[keyof typeof MemberStatus];
274
283
  export interface Member {
275
284
  NetworkId?: string;
276
285
  Id?: string;
@@ -301,13 +310,14 @@ export interface NetworkFrameworkAttributes {
301
310
  Fabric?: NetworkFabricAttributes;
302
311
  Ethereum?: NetworkEthereumAttributes;
303
312
  }
304
- export declare enum NetworkStatus {
305
- AVAILABLE = "AVAILABLE",
306
- CREATE_FAILED = "CREATE_FAILED",
307
- CREATING = "CREATING",
308
- DELETED = "DELETED",
309
- DELETING = "DELETING",
310
- }
313
+ export declare const NetworkStatus: {
314
+ readonly AVAILABLE: "AVAILABLE";
315
+ readonly CREATE_FAILED: "CREATE_FAILED";
316
+ readonly CREATING: "CREATING";
317
+ readonly DELETED: "DELETED";
318
+ readonly DELETING: "DELETING";
319
+ };
320
+ export type NetworkStatus = (typeof NetworkStatus)[keyof typeof NetworkStatus];
311
321
  export interface Network {
312
322
  Id?: string;
313
323
  Name?: string;
@@ -342,17 +352,18 @@ export interface NodeFrameworkAttributes {
342
352
  Fabric?: NodeFabricAttributes;
343
353
  Ethereum?: NodeEthereumAttributes;
344
354
  }
345
- export declare enum NodeStatus {
346
- AVAILABLE = "AVAILABLE",
347
- CREATE_FAILED = "CREATE_FAILED",
348
- CREATING = "CREATING",
349
- DELETED = "DELETED",
350
- DELETING = "DELETING",
351
- FAILED = "FAILED",
352
- INACCESSIBLE_ENCRYPTION_KEY = "INACCESSIBLE_ENCRYPTION_KEY",
353
- UNHEALTHY = "UNHEALTHY",
354
- UPDATING = "UPDATING",
355
- }
355
+ export declare const NodeStatus: {
356
+ readonly AVAILABLE: "AVAILABLE";
357
+ readonly CREATE_FAILED: "CREATE_FAILED";
358
+ readonly CREATING: "CREATING";
359
+ readonly DELETED: "DELETED";
360
+ readonly DELETING: "DELETING";
361
+ readonly FAILED: "FAILED";
362
+ readonly INACCESSIBLE_ENCRYPTION_KEY: "INACCESSIBLE_ENCRYPTION_KEY";
363
+ readonly UNHEALTHY: "UNHEALTHY";
364
+ readonly UPDATING: "UPDATING";
365
+ };
366
+ export type NodeStatus = (typeof NodeStatus)[keyof typeof NodeStatus];
356
367
  export interface Node {
357
368
  NetworkId?: string;
358
369
  MemberId?: string;
@@ -375,13 +386,15 @@ export interface GetProposalInput {
375
386
  NetworkId: string | undefined;
376
387
  ProposalId: string | undefined;
377
388
  }
378
- export declare enum ProposalStatus {
379
- ACTION_FAILED = "ACTION_FAILED",
380
- APPROVED = "APPROVED",
381
- EXPIRED = "EXPIRED",
382
- IN_PROGRESS = "IN_PROGRESS",
383
- REJECTED = "REJECTED",
384
- }
389
+ export declare const ProposalStatus: {
390
+ readonly ACTION_FAILED: "ACTION_FAILED";
391
+ readonly APPROVED: "APPROVED";
392
+ readonly EXPIRED: "EXPIRED";
393
+ readonly IN_PROGRESS: "IN_PROGRESS";
394
+ readonly REJECTED: "REJECTED";
395
+ };
396
+ export type ProposalStatus =
397
+ (typeof ProposalStatus)[keyof typeof ProposalStatus];
385
398
  export interface Proposal {
386
399
  ProposalId?: string;
387
400
  NetworkId?: string;
@@ -419,13 +432,15 @@ export interface NetworkSummary {
419
432
  CreationDate?: Date;
420
433
  Arn?: string;
421
434
  }
422
- export declare enum InvitationStatus {
423
- ACCEPTED = "ACCEPTED",
424
- ACCEPTING = "ACCEPTING",
425
- EXPIRED = "EXPIRED",
426
- PENDING = "PENDING",
427
- REJECTED = "REJECTED",
428
- }
435
+ export declare const InvitationStatus: {
436
+ readonly ACCEPTED: "ACCEPTED";
437
+ readonly ACCEPTING: "ACCEPTING";
438
+ readonly EXPIRED: "EXPIRED";
439
+ readonly PENDING: "PENDING";
440
+ readonly REJECTED: "REJECTED";
441
+ };
442
+ export type InvitationStatus =
443
+ (typeof InvitationStatus)[keyof typeof InvitationStatus];
429
444
  export interface Invitation {
430
445
  InvitationId?: string;
431
446
  CreationDate?: Date;
@@ -526,10 +541,11 @@ export interface ListProposalVotesInput {
526
541
  MaxResults?: number;
527
542
  NextToken?: string;
528
543
  }
529
- export declare enum VoteValue {
530
- NO = "NO",
531
- YES = "YES",
532
- }
544
+ export declare const VoteValue: {
545
+ readonly NO: "NO";
546
+ readonly YES: "YES";
547
+ };
548
+ export type VoteValue = (typeof VoteValue)[keyof typeof VoteValue];
533
549
  export interface VoteSummary {
534
550
  Vote?: VoteValue | string;
535
551
  MemberName?: string;