@aws-sdk/client-managedblockchain 3.533.0 → 3.540.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/endpoint/endpointResolver.js +4 -2
- package/dist-cjs/index.js +0 -3
- package/dist-es/endpoint/endpointResolver.js +3 -1
- package/dist-es/index.js +0 -1
- package/dist-types/ManagedBlockchain.d.ts +4 -1
- package/dist-types/ManagedBlockchainClient.d.ts +1 -1
- package/dist-types/commands/CreateAccessorCommand.d.ts +2 -1
- package/dist-types/commands/CreateMemberCommand.d.ts +2 -1
- package/dist-types/commands/CreateNetworkCommand.d.ts +2 -1
- package/dist-types/commands/CreateNodeCommand.d.ts +2 -1
- package/dist-types/commands/CreateProposalCommand.d.ts +2 -1
- package/dist-types/commands/DeleteAccessorCommand.d.ts +2 -1
- package/dist-types/commands/DeleteMemberCommand.d.ts +2 -1
- package/dist-types/commands/DeleteNodeCommand.d.ts +2 -1
- package/dist-types/commands/GetAccessorCommand.d.ts +2 -1
- package/dist-types/commands/GetMemberCommand.d.ts +2 -1
- package/dist-types/commands/GetNetworkCommand.d.ts +2 -1
- package/dist-types/commands/GetNodeCommand.d.ts +2 -1
- package/dist-types/commands/GetProposalCommand.d.ts +2 -1
- package/dist-types/commands/ListAccessorsCommand.d.ts +2 -1
- package/dist-types/commands/ListInvitationsCommand.d.ts +2 -1
- package/dist-types/commands/ListMembersCommand.d.ts +2 -1
- package/dist-types/commands/ListNetworksCommand.d.ts +2 -1
- package/dist-types/commands/ListNodesCommand.d.ts +2 -1
- package/dist-types/commands/ListProposalVotesCommand.d.ts +2 -1
- package/dist-types/commands/ListProposalsCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/RejectInvitationCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateMemberCommand.d.ts +2 -1
- package/dist-types/commands/UpdateNodeCommand.d.ts +2 -1
- package/dist-types/commands/VoteOnProposalCommand.d.ts +2 -1
- package/dist-types/index.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +311 -311
- package/dist-types/ts3.4/ManagedBlockchain.d.ts +3 -0
- package/dist-types/ts3.4/commands/CreateAccessorCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateMemberCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateNetworkCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateNodeCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateProposalCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteAccessorCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteMemberCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteNodeCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetAccessorCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetMemberCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetNetworkCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetNodeCommand.d.ts +7 -0
- package/dist-types/ts3.4/commands/GetProposalCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListAccessorsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListNetworksCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListNodesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListProposalVotesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListProposalsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/RejectInvitationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateMemberCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateNodeCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/VoteOnProposalCommand.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +0 -1
- package/package.json +40 -40
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { ManagedBlockchainServiceException as __BaseException } from "./ManagedBlockchainServiceException";
|
|
3
3
|
/**
|
|
4
|
-
* @public
|
|
5
4
|
* <p>You don't have sufficient access to perform this action.</p>
|
|
5
|
+
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
8
|
readonly name: "AccessDeniedException";
|
|
@@ -53,97 +53,97 @@ export declare const AccessorType: {
|
|
|
53
53
|
*/
|
|
54
54
|
export type AccessorType = (typeof AccessorType)[keyof typeof AccessorType];
|
|
55
55
|
/**
|
|
56
|
-
* @public
|
|
57
56
|
* <p>The properties of the Accessor.</p>
|
|
57
|
+
* @public
|
|
58
58
|
*/
|
|
59
59
|
export interface Accessor {
|
|
60
60
|
/**
|
|
61
|
-
* @public
|
|
62
61
|
* <p>The unique identifier of the accessor.</p>
|
|
62
|
+
* @public
|
|
63
63
|
*/
|
|
64
64
|
Id?: string;
|
|
65
65
|
/**
|
|
66
|
-
* @public
|
|
67
66
|
* <p>The type of the accessor.</p>
|
|
68
67
|
* <note>
|
|
69
68
|
* <p>Currently, accessor type is restricted to <code>BILLING_TOKEN</code>.</p>
|
|
70
69
|
* </note>
|
|
70
|
+
* @public
|
|
71
71
|
*/
|
|
72
72
|
Type?: AccessorType;
|
|
73
73
|
/**
|
|
74
|
-
* @public
|
|
75
74
|
* <p>The billing token is a property of the Accessor. Use this token to
|
|
76
75
|
* when making calls to the blockchain network. The billing token is used
|
|
77
76
|
* to track your accessor token for billing requests.</p>
|
|
77
|
+
* @public
|
|
78
78
|
*/
|
|
79
79
|
BillingToken?: string;
|
|
80
80
|
/**
|
|
81
|
-
* @public
|
|
82
81
|
* <p>The current status of the accessor.</p>
|
|
82
|
+
* @public
|
|
83
83
|
*/
|
|
84
84
|
Status?: AccessorStatus;
|
|
85
85
|
/**
|
|
86
|
-
* @public
|
|
87
86
|
* <p>The creation date and time of the accessor.</p>
|
|
87
|
+
* @public
|
|
88
88
|
*/
|
|
89
89
|
CreationDate?: Date;
|
|
90
90
|
/**
|
|
91
|
-
* @public
|
|
92
91
|
* <p>The Amazon Resource Name (ARN) of the accessor. For more information about
|
|
93
92
|
* ARNs and their format, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource
|
|
94
93
|
* Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
94
|
+
* @public
|
|
95
95
|
*/
|
|
96
96
|
Arn?: string;
|
|
97
97
|
/**
|
|
98
|
-
* @public
|
|
99
98
|
* <p>The tags assigned to the Accessor.</p>
|
|
100
99
|
* <p>For more information about tags, see <a href="https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Ethereum Developer Guide</i>, or <a href="https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Hyperledger Fabric Developer Guide</i>.</p>
|
|
100
|
+
* @public
|
|
101
101
|
*/
|
|
102
102
|
Tags?: Record<string, string>;
|
|
103
103
|
/**
|
|
104
|
-
* @public
|
|
105
104
|
* <p>The blockchain network that the Accessor token is created for.</p>
|
|
105
|
+
* @public
|
|
106
106
|
*/
|
|
107
107
|
NetworkType?: AccessorNetworkType;
|
|
108
108
|
}
|
|
109
109
|
/**
|
|
110
|
-
* @public
|
|
111
110
|
* <p>A summary of accessor properties.</p>
|
|
111
|
+
* @public
|
|
112
112
|
*/
|
|
113
113
|
export interface AccessorSummary {
|
|
114
114
|
/**
|
|
115
|
-
* @public
|
|
116
115
|
* <p>The unique identifier of the accessor.</p>
|
|
116
|
+
* @public
|
|
117
117
|
*/
|
|
118
118
|
Id?: string;
|
|
119
119
|
/**
|
|
120
|
-
* @public
|
|
121
120
|
* <p>The type of the accessor.</p>
|
|
122
121
|
* <note>
|
|
123
122
|
* <p>Currently accessor type is restricted to <code>BILLING_TOKEN</code>.</p>
|
|
124
123
|
* </note>
|
|
124
|
+
* @public
|
|
125
125
|
*/
|
|
126
126
|
Type?: AccessorType;
|
|
127
127
|
/**
|
|
128
|
-
* @public
|
|
129
128
|
* <p>The current status of the accessor.</p>
|
|
129
|
+
* @public
|
|
130
130
|
*/
|
|
131
131
|
Status?: AccessorStatus;
|
|
132
132
|
/**
|
|
133
|
-
* @public
|
|
134
133
|
* <p>The creation date and time of the accessor.</p>
|
|
134
|
+
* @public
|
|
135
135
|
*/
|
|
136
136
|
CreationDate?: Date;
|
|
137
137
|
/**
|
|
138
|
-
* @public
|
|
139
138
|
* <p>The Amazon Resource Name (ARN) of the accessor. For more information about
|
|
140
139
|
* ARNs and their format, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource
|
|
141
140
|
* Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
141
|
+
* @public
|
|
142
142
|
*/
|
|
143
143
|
Arn?: string;
|
|
144
144
|
/**
|
|
145
|
-
* @public
|
|
146
145
|
* <p>The blockchain network that the Accessor token is created for.</p>
|
|
146
|
+
* @public
|
|
147
147
|
*/
|
|
148
148
|
NetworkType?: AccessorNetworkType;
|
|
149
149
|
}
|
|
@@ -160,26 +160,26 @@ export declare const ThresholdComparator: {
|
|
|
160
160
|
*/
|
|
161
161
|
export type ThresholdComparator = (typeof ThresholdComparator)[keyof typeof ThresholdComparator];
|
|
162
162
|
/**
|
|
163
|
-
* @public
|
|
164
163
|
* <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>
|
|
165
164
|
* <p>Applies only to Hyperledger Fabric.</p>
|
|
165
|
+
* @public
|
|
166
166
|
*/
|
|
167
167
|
export interface ApprovalThresholdPolicy {
|
|
168
168
|
/**
|
|
169
|
-
* @public
|
|
170
169
|
* <p>The percentage of votes among all members that must be <code>YES</code> for a proposal to be approved. For example, a <code>ThresholdPercentage</code> value of <code>50</code> indicates 50%. The <code>ThresholdComparator</code> determines the precise comparison. If a <code>ThresholdPercentage</code> value of <code>50</code> is specified on a network with 10 members, along with a <code>ThresholdComparator</code> value of <code>GREATER_THAN</code>, this indicates that 6 <code>YES</code> votes are required for the proposal to be approved.</p>
|
|
170
|
+
* @public
|
|
171
171
|
*/
|
|
172
172
|
ThresholdPercentage?: number;
|
|
173
173
|
/**
|
|
174
|
-
* @public
|
|
175
174
|
* <p>The duration from the time that a proposal is created until it expires. If members cast neither the required number of <code>YES</code> votes to approve the proposal nor the number of <code>NO</code> votes required to reject it before the duration expires, the proposal is <code>EXPIRED</code> and <code>ProposalActions</code> aren't carried out.</p>
|
|
175
|
+
* @public
|
|
176
176
|
*/
|
|
177
177
|
ProposalDurationInHours?: number;
|
|
178
178
|
/**
|
|
179
|
-
* @public
|
|
180
179
|
* <p>Determines whether the vote percentage must be greater than the
|
|
181
180
|
* <code>ThresholdPercentage</code> or must be greater than or equal to the
|
|
182
181
|
* <code>ThresholdPercentage</code> to be approved.</p>
|
|
182
|
+
* @public
|
|
183
183
|
*/
|
|
184
184
|
ThresholdComparator?: ThresholdComparator;
|
|
185
185
|
}
|
|
@@ -188,33 +188,32 @@ export interface ApprovalThresholdPolicy {
|
|
|
188
188
|
*/
|
|
189
189
|
export interface CreateAccessorInput {
|
|
190
190
|
/**
|
|
191
|
-
* @public
|
|
192
191
|
* <p>This is a unique, case-sensitive identifier that you provide to ensure the idempotency of
|
|
193
192
|
* the operation. An idempotent operation completes no more than once. This
|
|
194
193
|
* identifier is required only if you make a service request directly using
|
|
195
194
|
* an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the
|
|
196
195
|
* Amazon Web Services CLI.</p>
|
|
196
|
+
* @public
|
|
197
197
|
*/
|
|
198
198
|
ClientRequestToken?: string;
|
|
199
199
|
/**
|
|
200
|
-
* @public
|
|
201
200
|
* <p>The type of accessor.</p>
|
|
202
201
|
* <note>
|
|
203
202
|
* <p>Currently, accessor type is restricted to <code>BILLING_TOKEN</code>.</p>
|
|
204
203
|
* </note>
|
|
204
|
+
* @public
|
|
205
205
|
*/
|
|
206
206
|
AccessorType: AccessorType | undefined;
|
|
207
207
|
/**
|
|
208
|
-
* @public
|
|
209
208
|
* <p>Tags to assign to the Accessor.</p>
|
|
210
209
|
* <p> Each tag consists of a key and an optional value. You can specify
|
|
211
210
|
* multiple key-value pairs in a single request with an overall maximum of 50 tags
|
|
212
211
|
* allowed per resource.</p>
|
|
213
212
|
* <p>For more information about tags, see <a href="https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Ethereum Developer Guide</i>, or <a href="https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Hyperledger Fabric Developer Guide</i>.</p>
|
|
213
|
+
* @public
|
|
214
214
|
*/
|
|
215
215
|
Tags?: Record<string, string>;
|
|
216
216
|
/**
|
|
217
|
-
* @public
|
|
218
217
|
* <p>The blockchain network that the <code>Accessor</code> token is created for.</p>
|
|
219
218
|
* <note>
|
|
220
219
|
* <p>We recommend using the appropriate <code>networkType</code>
|
|
@@ -232,6 +231,7 @@ export interface CreateAccessorInput {
|
|
|
232
231
|
* </li>
|
|
233
232
|
* </ul>
|
|
234
233
|
* </note>
|
|
234
|
+
* @public
|
|
235
235
|
*/
|
|
236
236
|
NetworkType?: AccessorNetworkType;
|
|
237
237
|
}
|
|
@@ -240,26 +240,26 @@ export interface CreateAccessorInput {
|
|
|
240
240
|
*/
|
|
241
241
|
export interface CreateAccessorOutput {
|
|
242
242
|
/**
|
|
243
|
-
* @public
|
|
244
243
|
* <p>The unique identifier of the accessor.</p>
|
|
244
|
+
* @public
|
|
245
245
|
*/
|
|
246
246
|
AccessorId?: string;
|
|
247
247
|
/**
|
|
248
|
-
* @public
|
|
249
248
|
* <p>The billing token is a property of the Accessor. Use this token to
|
|
250
249
|
* when making calls to the blockchain network. The billing token is used
|
|
251
250
|
* to track your accessor token for billing requests.</p>
|
|
251
|
+
* @public
|
|
252
252
|
*/
|
|
253
253
|
BillingToken?: string;
|
|
254
254
|
/**
|
|
255
|
-
* @public
|
|
256
255
|
* <p>The blockchain network that the accessor token is created for.</p>
|
|
256
|
+
* @public
|
|
257
257
|
*/
|
|
258
258
|
NetworkType?: AccessorNetworkType;
|
|
259
259
|
}
|
|
260
260
|
/**
|
|
261
|
-
* @public
|
|
262
261
|
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
262
|
+
* @public
|
|
263
263
|
*/
|
|
264
264
|
export declare class InternalServiceErrorException extends __BaseException {
|
|
265
265
|
readonly name: "InternalServiceErrorException";
|
|
@@ -270,8 +270,8 @@ export declare class InternalServiceErrorException extends __BaseException {
|
|
|
270
270
|
constructor(opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>);
|
|
271
271
|
}
|
|
272
272
|
/**
|
|
273
|
-
* @public
|
|
274
273
|
* <p>The action or operation requested is invalid. Verify that the action is typed correctly.</p>
|
|
274
|
+
* @public
|
|
275
275
|
*/
|
|
276
276
|
export declare class InvalidRequestException extends __BaseException {
|
|
277
277
|
readonly name: "InvalidRequestException";
|
|
@@ -283,8 +283,8 @@ export declare class InvalidRequestException extends __BaseException {
|
|
|
283
283
|
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
284
284
|
}
|
|
285
285
|
/**
|
|
286
|
-
* @public
|
|
287
286
|
* <p>A resource request is issued for a resource that already exists.</p>
|
|
287
|
+
* @public
|
|
288
288
|
*/
|
|
289
289
|
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
290
290
|
readonly name: "ResourceAlreadyExistsException";
|
|
@@ -296,9 +296,9 @@ export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
|
296
296
|
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
297
297
|
}
|
|
298
298
|
/**
|
|
299
|
-
* @public
|
|
300
299
|
* <p>The maximum number of resources of that type already exist. Ensure the resources requested
|
|
301
300
|
* are within the boundaries of the service edition and your account limits.</p>
|
|
301
|
+
* @public
|
|
302
302
|
*/
|
|
303
303
|
export declare class ResourceLimitExceededException extends __BaseException {
|
|
304
304
|
readonly name: "ResourceLimitExceededException";
|
|
@@ -310,11 +310,11 @@ export declare class ResourceLimitExceededException extends __BaseException {
|
|
|
310
310
|
constructor(opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>);
|
|
311
311
|
}
|
|
312
312
|
/**
|
|
313
|
-
* @public
|
|
314
313
|
* <p>The request or operation couldn't be performed because a service is
|
|
315
314
|
* throttling requests. The most common source of throttling errors is
|
|
316
315
|
* creating resources that exceed your service limit for this resource type.
|
|
317
316
|
* Request a limit increase or delete unused resources if possible.</p>
|
|
317
|
+
* @public
|
|
318
318
|
*/
|
|
319
319
|
export declare class ThrottlingException extends __BaseException {
|
|
320
320
|
readonly name: "ThrottlingException";
|
|
@@ -325,16 +325,16 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
325
325
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
326
326
|
}
|
|
327
327
|
/**
|
|
328
|
-
* @public
|
|
329
328
|
* <p></p>
|
|
329
|
+
* @public
|
|
330
330
|
*/
|
|
331
331
|
export declare class TooManyTagsException extends __BaseException {
|
|
332
332
|
readonly name: "TooManyTagsException";
|
|
333
333
|
readonly $fault: "client";
|
|
334
334
|
Message?: string;
|
|
335
335
|
/**
|
|
336
|
-
* @public
|
|
337
336
|
* <p></p>
|
|
337
|
+
* @public
|
|
338
338
|
*/
|
|
339
339
|
ResourceName?: string;
|
|
340
340
|
/**
|
|
@@ -343,111 +343,110 @@ export declare class TooManyTagsException extends __BaseException {
|
|
|
343
343
|
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
344
344
|
}
|
|
345
345
|
/**
|
|
346
|
-
* @public
|
|
347
346
|
* <p>Configuration properties for Hyperledger Fabric for a member in a Managed Blockchain network that is using the Hyperledger Fabric framework.</p>
|
|
347
|
+
* @public
|
|
348
348
|
*/
|
|
349
349
|
export interface MemberFabricConfiguration {
|
|
350
350
|
/**
|
|
351
|
-
* @public
|
|
352
351
|
* <p>The user name for the member's initial administrative user.</p>
|
|
352
|
+
* @public
|
|
353
353
|
*/
|
|
354
354
|
AdminUsername: string | undefined;
|
|
355
355
|
/**
|
|
356
|
-
* @public
|
|
357
356
|
* <p>The password for the member's initial administrative user. The <code>AdminPassword</code> must be at least 8 characters long and no more than 32 characters. It must contain at least one uppercase letter, one lowercase letter, and one digit. It cannot have a single quotation mark (‘), a double quotation marks (“), a forward slash(/), a backward slash(\), @, or a space.</p>
|
|
357
|
+
* @public
|
|
358
358
|
*/
|
|
359
359
|
AdminPassword: string | undefined;
|
|
360
360
|
}
|
|
361
361
|
/**
|
|
362
|
-
* @public
|
|
363
362
|
* <p>Configuration properties relevant to a member for the blockchain framework that the Managed Blockchain network uses.</p>
|
|
363
|
+
* @public
|
|
364
364
|
*/
|
|
365
365
|
export interface MemberFrameworkConfiguration {
|
|
366
366
|
/**
|
|
367
|
-
* @public
|
|
368
367
|
* <p>Attributes of Hyperledger Fabric for a member on a Managed Blockchain network that uses Hyperledger Fabric.</p>
|
|
368
|
+
* @public
|
|
369
369
|
*/
|
|
370
370
|
Fabric?: MemberFabricConfiguration;
|
|
371
371
|
}
|
|
372
372
|
/**
|
|
373
|
-
* @public
|
|
374
373
|
* <p>A configuration for logging events.</p>
|
|
374
|
+
* @public
|
|
375
375
|
*/
|
|
376
376
|
export interface LogConfiguration {
|
|
377
377
|
/**
|
|
378
|
-
* @public
|
|
379
378
|
* <p>Indicates whether logging is enabled.</p>
|
|
379
|
+
* @public
|
|
380
380
|
*/
|
|
381
381
|
Enabled?: boolean;
|
|
382
382
|
}
|
|
383
383
|
/**
|
|
384
|
-
* @public
|
|
385
384
|
* <p>A collection of log configurations.</p>
|
|
385
|
+
* @public
|
|
386
386
|
*/
|
|
387
387
|
export interface LogConfigurations {
|
|
388
388
|
/**
|
|
389
|
-
* @public
|
|
390
389
|
* <p>Parameters for publishing logs to Amazon CloudWatch Logs.</p>
|
|
390
|
+
* @public
|
|
391
391
|
*/
|
|
392
392
|
Cloudwatch?: LogConfiguration;
|
|
393
393
|
}
|
|
394
394
|
/**
|
|
395
|
-
* @public
|
|
396
395
|
* <p>Configuration properties for logging events associated with a member of a Managed Blockchain network using the Hyperledger Fabric framework.</p>
|
|
396
|
+
* @public
|
|
397
397
|
*/
|
|
398
398
|
export interface MemberFabricLogPublishingConfiguration {
|
|
399
399
|
/**
|
|
400
|
-
* @public
|
|
401
400
|
* <p>Configuration properties for logging events associated with a member's Certificate Authority (CA). CA logs help you determine when a member in your account joins the network, or when new peers register with a member CA.</p>
|
|
401
|
+
* @public
|
|
402
402
|
*/
|
|
403
403
|
CaLogs?: LogConfigurations;
|
|
404
404
|
}
|
|
405
405
|
/**
|
|
406
|
-
* @public
|
|
407
406
|
* <p>Configuration properties for logging events associated with a member of a Managed Blockchain network.</p>
|
|
407
|
+
* @public
|
|
408
408
|
*/
|
|
409
409
|
export interface MemberLogPublishingConfiguration {
|
|
410
410
|
/**
|
|
411
|
-
* @public
|
|
412
411
|
* <p>Configuration properties for logging events associated with a member of a Managed Blockchain network using the Hyperledger Fabric framework.</p>
|
|
412
|
+
* @public
|
|
413
413
|
*/
|
|
414
414
|
Fabric?: MemberFabricLogPublishingConfiguration;
|
|
415
415
|
}
|
|
416
416
|
/**
|
|
417
|
-
* @public
|
|
418
417
|
* <p>Configuration properties of the member.</p>
|
|
419
418
|
* <p>Applies only to Hyperledger Fabric.</p>
|
|
419
|
+
* @public
|
|
420
420
|
*/
|
|
421
421
|
export interface MemberConfiguration {
|
|
422
422
|
/**
|
|
423
|
-
* @public
|
|
424
423
|
* <p>The name of the member.</p>
|
|
424
|
+
* @public
|
|
425
425
|
*/
|
|
426
426
|
Name: string | undefined;
|
|
427
427
|
/**
|
|
428
|
-
* @public
|
|
429
428
|
* <p>An optional description of the member.</p>
|
|
429
|
+
* @public
|
|
430
430
|
*/
|
|
431
431
|
Description?: string;
|
|
432
432
|
/**
|
|
433
|
-
* @public
|
|
434
433
|
* <p>Configuration properties of the blockchain framework relevant to the member.</p>
|
|
434
|
+
* @public
|
|
435
435
|
*/
|
|
436
436
|
FrameworkConfiguration: MemberFrameworkConfiguration | undefined;
|
|
437
437
|
/**
|
|
438
|
-
* @public
|
|
439
438
|
* <p>Configuration properties for logging events associated with a member of a Managed Blockchain network.</p>
|
|
439
|
+
* @public
|
|
440
440
|
*/
|
|
441
441
|
LogPublishingConfiguration?: MemberLogPublishingConfiguration;
|
|
442
442
|
/**
|
|
443
|
-
* @public
|
|
444
443
|
* <p>Tags assigned to the member. Tags consist of a key and optional value. </p>
|
|
445
444
|
* <p>When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.</p>
|
|
446
445
|
* <p>For more information about tags, see <a href="https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Ethereum Developer Guide</i>, or <a href="https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Hyperledger Fabric Developer Guide</i>.</p>
|
|
446
|
+
* @public
|
|
447
447
|
*/
|
|
448
448
|
Tags?: Record<string, string>;
|
|
449
449
|
/**
|
|
450
|
-
* @public
|
|
451
450
|
* <p>The Amazon Resource Name (ARN) of the customer managed key in Key Management Service (KMS) to use for encryption at rest in the member. This parameter is inherited by any nodes that this member creates. For more information, see <a href="https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/managed-blockchain-encryption-at-rest.html">Encryption at Rest</a> in the <i>Amazon Managed Blockchain Hyperledger Fabric Developer Guide</i>.</p>
|
|
452
451
|
* <p>Use one of the following options to specify this parameter:</p>
|
|
453
452
|
* <ul>
|
|
@@ -463,6 +462,7 @@ export interface MemberConfiguration {
|
|
|
463
462
|
* </p>
|
|
464
463
|
* </li>
|
|
465
464
|
* </ul>
|
|
465
|
+
* @public
|
|
466
466
|
*/
|
|
467
467
|
KmsKeyArn?: string;
|
|
468
468
|
}
|
|
@@ -471,23 +471,23 @@ export interface MemberConfiguration {
|
|
|
471
471
|
*/
|
|
472
472
|
export interface CreateMemberInput {
|
|
473
473
|
/**
|
|
474
|
-
* @public
|
|
475
474
|
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the CLI.</p>
|
|
475
|
+
* @public
|
|
476
476
|
*/
|
|
477
477
|
ClientRequestToken?: string;
|
|
478
478
|
/**
|
|
479
|
-
* @public
|
|
480
479
|
* <p>The unique identifier of the invitation that is sent to the member to join the network.</p>
|
|
480
|
+
* @public
|
|
481
481
|
*/
|
|
482
482
|
InvitationId: string | undefined;
|
|
483
483
|
/**
|
|
484
|
-
* @public
|
|
485
484
|
* <p>The unique identifier of the network in which the member is created.</p>
|
|
485
|
+
* @public
|
|
486
486
|
*/
|
|
487
487
|
NetworkId: string | undefined;
|
|
488
488
|
/**
|
|
489
|
-
* @public
|
|
490
489
|
* <p>Member configuration parameters.</p>
|
|
490
|
+
* @public
|
|
491
491
|
*/
|
|
492
492
|
MemberConfiguration: MemberConfiguration | undefined;
|
|
493
493
|
}
|
|
@@ -496,22 +496,22 @@ export interface CreateMemberInput {
|
|
|
496
496
|
*/
|
|
497
497
|
export interface CreateMemberOutput {
|
|
498
498
|
/**
|
|
499
|
-
* @public
|
|
500
499
|
* <p>The unique identifier of the member.</p>
|
|
500
|
+
* @public
|
|
501
501
|
*/
|
|
502
502
|
MemberId?: string;
|
|
503
503
|
}
|
|
504
504
|
/**
|
|
505
|
-
* @public
|
|
506
505
|
* <p>A requested resource doesn't exist. It may have been deleted or referenced incorrectly.</p>
|
|
506
|
+
* @public
|
|
507
507
|
*/
|
|
508
508
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
509
509
|
readonly name: "ResourceNotFoundException";
|
|
510
510
|
readonly $fault: "client";
|
|
511
511
|
Message?: string;
|
|
512
512
|
/**
|
|
513
|
-
* @public
|
|
514
513
|
* <p>A requested resource doesn't exist. It may have been deleted or referenced inaccurately.</p>
|
|
514
|
+
* @public
|
|
515
515
|
*/
|
|
516
516
|
ResourceName?: string;
|
|
517
517
|
/**
|
|
@@ -520,8 +520,8 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
520
520
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
521
521
|
}
|
|
522
522
|
/**
|
|
523
|
-
* @public
|
|
524
523
|
* <p>The requested resource exists but isn't in a status that can complete the operation.</p>
|
|
524
|
+
* @public
|
|
525
525
|
*/
|
|
526
526
|
export declare class ResourceNotReadyException extends __BaseException {
|
|
527
527
|
readonly name: "ResourceNotReadyException";
|
|
@@ -557,42 +557,42 @@ export declare const Edition: {
|
|
|
557
557
|
*/
|
|
558
558
|
export type Edition = (typeof Edition)[keyof typeof Edition];
|
|
559
559
|
/**
|
|
560
|
-
* @public
|
|
561
560
|
* <p>Hyperledger Fabric configuration properties for the network.</p>
|
|
561
|
+
* @public
|
|
562
562
|
*/
|
|
563
563
|
export interface NetworkFabricConfiguration {
|
|
564
564
|
/**
|
|
565
|
-
* @public
|
|
566
565
|
* <p>The edition of Amazon Managed Blockchain that the network uses. For more information, see <a href="http://aws.amazon.com/managed-blockchain/pricing/">Amazon Managed Blockchain Pricing</a>.</p>
|
|
566
|
+
* @public
|
|
567
567
|
*/
|
|
568
568
|
Edition: Edition | undefined;
|
|
569
569
|
}
|
|
570
570
|
/**
|
|
571
|
-
* @public
|
|
572
571
|
* <p>
|
|
573
572
|
* Configuration properties relevant to the network for the blockchain framework that the network uses.
|
|
574
573
|
* </p>
|
|
574
|
+
* @public
|
|
575
575
|
*/
|
|
576
576
|
export interface NetworkFrameworkConfiguration {
|
|
577
577
|
/**
|
|
578
|
-
* @public
|
|
579
578
|
* <p>
|
|
580
579
|
* Hyperledger Fabric configuration properties for a Managed Blockchain network that uses Hyperledger Fabric.
|
|
581
580
|
* </p>
|
|
581
|
+
* @public
|
|
582
582
|
*/
|
|
583
583
|
Fabric?: NetworkFabricConfiguration;
|
|
584
584
|
}
|
|
585
585
|
/**
|
|
586
|
-
* @public
|
|
587
586
|
* <p>
|
|
588
587
|
* The voting rules for the network to decide if a proposal is accepted
|
|
589
588
|
* </p>
|
|
590
589
|
* <p>Applies only to Hyperledger Fabric.</p>
|
|
590
|
+
* @public
|
|
591
591
|
*/
|
|
592
592
|
export interface VotingPolicy {
|
|
593
593
|
/**
|
|
594
|
-
* @public
|
|
595
594
|
* <p>Defines the rules for the network for voting on proposals, such as the percentage of <code>YES</code> votes required for the proposal to be approved and the duration of the proposal. The policy applies to all proposals and is specified when the network is created.</p>
|
|
595
|
+
* @public
|
|
596
596
|
*/
|
|
597
597
|
ApprovalThresholdPolicy?: ApprovalThresholdPolicy;
|
|
598
598
|
}
|
|
@@ -601,60 +601,60 @@ export interface VotingPolicy {
|
|
|
601
601
|
*/
|
|
602
602
|
export interface CreateNetworkInput {
|
|
603
603
|
/**
|
|
604
|
-
* @public
|
|
605
604
|
* <p>This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
606
605
|
* operation. An idempotent operation completes no more than once. This identifier is required only
|
|
607
606
|
* if you make a service request directly using an HTTP client. It is generated automatically if you
|
|
608
607
|
* use an Amazon Web Services SDK or the Amazon Web Services CLI.
|
|
609
608
|
* </p>
|
|
609
|
+
* @public
|
|
610
610
|
*/
|
|
611
611
|
ClientRequestToken?: string;
|
|
612
612
|
/**
|
|
613
|
-
* @public
|
|
614
613
|
* <p>The name of the network.</p>
|
|
614
|
+
* @public
|
|
615
615
|
*/
|
|
616
616
|
Name: string | undefined;
|
|
617
617
|
/**
|
|
618
|
-
* @public
|
|
619
618
|
* <p>An optional description for the network.</p>
|
|
619
|
+
* @public
|
|
620
620
|
*/
|
|
621
621
|
Description?: string;
|
|
622
622
|
/**
|
|
623
|
-
* @public
|
|
624
623
|
* <p>The blockchain framework that the network uses.</p>
|
|
624
|
+
* @public
|
|
625
625
|
*/
|
|
626
626
|
Framework: Framework | undefined;
|
|
627
627
|
/**
|
|
628
|
-
* @public
|
|
629
628
|
* <p>The version of the blockchain framework that the network uses.</p>
|
|
629
|
+
* @public
|
|
630
630
|
*/
|
|
631
631
|
FrameworkVersion: string | undefined;
|
|
632
632
|
/**
|
|
633
|
-
* @public
|
|
634
633
|
* <p>
|
|
635
634
|
* Configuration properties of the blockchain framework relevant to the network configuration.
|
|
636
635
|
* </p>
|
|
636
|
+
* @public
|
|
637
637
|
*/
|
|
638
638
|
FrameworkConfiguration?: NetworkFrameworkConfiguration;
|
|
639
639
|
/**
|
|
640
|
-
* @public
|
|
641
640
|
* <p>
|
|
642
641
|
* The voting rules used by the network to determine if a proposal is approved.
|
|
643
642
|
* </p>
|
|
643
|
+
* @public
|
|
644
644
|
*/
|
|
645
645
|
VotingPolicy: VotingPolicy | undefined;
|
|
646
646
|
/**
|
|
647
|
-
* @public
|
|
648
647
|
* <p>Configuration properties for the first member within the network.</p>
|
|
648
|
+
* @public
|
|
649
649
|
*/
|
|
650
650
|
MemberConfiguration: MemberConfiguration | undefined;
|
|
651
651
|
/**
|
|
652
|
-
* @public
|
|
653
652
|
* <p>Tags to assign to the network.</p>
|
|
654
653
|
* <p> Each tag consists of a key and an optional value. You can specify
|
|
655
654
|
* multiple key-value pairs in a single request with an overall maximum of 50 tags
|
|
656
655
|
* allowed per resource.</p>
|
|
657
656
|
* <p>For more information about tags, see <a href="https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Ethereum Developer Guide</i>, or <a href="https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Hyperledger Fabric Developer Guide</i>.</p>
|
|
657
|
+
* @public
|
|
658
658
|
*/
|
|
659
659
|
Tags?: Record<string, string>;
|
|
660
660
|
}
|
|
@@ -663,40 +663,40 @@ export interface CreateNetworkInput {
|
|
|
663
663
|
*/
|
|
664
664
|
export interface CreateNetworkOutput {
|
|
665
665
|
/**
|
|
666
|
-
* @public
|
|
667
666
|
* <p>The unique identifier for the network.</p>
|
|
667
|
+
* @public
|
|
668
668
|
*/
|
|
669
669
|
NetworkId?: string;
|
|
670
670
|
/**
|
|
671
|
-
* @public
|
|
672
671
|
* <p>The unique identifier for the first member within the network.</p>
|
|
672
|
+
* @public
|
|
673
673
|
*/
|
|
674
674
|
MemberId?: string;
|
|
675
675
|
}
|
|
676
676
|
/**
|
|
677
|
-
* @public
|
|
678
677
|
* <p>Configuration properties for logging events associated with a peer node owned by a member in a Managed Blockchain network.</p>
|
|
678
|
+
* @public
|
|
679
679
|
*/
|
|
680
680
|
export interface NodeFabricLogPublishingConfiguration {
|
|
681
681
|
/**
|
|
682
|
-
* @public
|
|
683
682
|
* <p>Configuration properties for logging events associated with chaincode execution on a peer node. Chaincode logs contain the results of instantiating, invoking, and querying the chaincode. A peer can run multiple instances of chaincode. When enabled, a log stream is created for all chaincodes, with an individual log stream for each chaincode.</p>
|
|
683
|
+
* @public
|
|
684
684
|
*/
|
|
685
685
|
ChaincodeLogs?: LogConfigurations;
|
|
686
686
|
/**
|
|
687
|
-
* @public
|
|
688
687
|
* <p>Configuration properties for a peer node log. Peer node logs contain messages generated when your client submits transaction proposals to peer nodes, requests to join channels, enrolls an admin peer, and lists the chaincode instances on a peer node. </p>
|
|
688
|
+
* @public
|
|
689
689
|
*/
|
|
690
690
|
PeerLogs?: LogConfigurations;
|
|
691
691
|
}
|
|
692
692
|
/**
|
|
693
|
-
* @public
|
|
694
693
|
* <p>Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.</p>
|
|
694
|
+
* @public
|
|
695
695
|
*/
|
|
696
696
|
export interface NodeLogPublishingConfiguration {
|
|
697
697
|
/**
|
|
698
|
-
* @public
|
|
699
698
|
* <p>Configuration properties for logging events associated with a node that is owned by a member of a Managed Blockchain network using the Hyperledger Fabric framework.</p>
|
|
699
|
+
* @public
|
|
700
700
|
*/
|
|
701
701
|
Fabric?: NodeFabricLogPublishingConfiguration;
|
|
702
702
|
}
|
|
@@ -713,30 +713,30 @@ export declare const StateDBType: {
|
|
|
713
713
|
*/
|
|
714
714
|
export type StateDBType = (typeof StateDBType)[keyof typeof StateDBType];
|
|
715
715
|
/**
|
|
716
|
-
* @public
|
|
717
716
|
* <p>Configuration properties of a node.</p>
|
|
717
|
+
* @public
|
|
718
718
|
*/
|
|
719
719
|
export interface NodeConfiguration {
|
|
720
720
|
/**
|
|
721
|
-
* @public
|
|
722
721
|
* <p>The Amazon Managed Blockchain instance type for the node.</p>
|
|
722
|
+
* @public
|
|
723
723
|
*/
|
|
724
724
|
InstanceType: string | undefined;
|
|
725
725
|
/**
|
|
726
|
-
* @public
|
|
727
726
|
* <p>The Availability Zone in which the node exists. Required for Ethereum nodes. </p>
|
|
727
|
+
* @public
|
|
728
728
|
*/
|
|
729
729
|
AvailabilityZone?: string;
|
|
730
730
|
/**
|
|
731
|
-
* @public
|
|
732
731
|
* <p>Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.
|
|
733
732
|
* </p>
|
|
733
|
+
* @public
|
|
734
734
|
*/
|
|
735
735
|
LogPublishingConfiguration?: NodeLogPublishingConfiguration;
|
|
736
736
|
/**
|
|
737
|
-
* @public
|
|
738
737
|
* <p>The state database that the node uses. Values are <code>LevelDB</code> or <code>CouchDB</code>. When using an Amazon Managed Blockchain network with Hyperledger Fabric version 1.4 or later, the default is <code>CouchDB</code>.</p>
|
|
739
738
|
* <p>Applies only to Hyperledger Fabric.</p>
|
|
739
|
+
* @public
|
|
740
740
|
*/
|
|
741
741
|
StateDB?: StateDBType;
|
|
742
742
|
}
|
|
@@ -745,12 +745,11 @@ export interface NodeConfiguration {
|
|
|
745
745
|
*/
|
|
746
746
|
export interface CreateNodeInput {
|
|
747
747
|
/**
|
|
748
|
-
* @public
|
|
749
748
|
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the CLI.</p>
|
|
749
|
+
* @public
|
|
750
750
|
*/
|
|
751
751
|
ClientRequestToken?: string;
|
|
752
752
|
/**
|
|
753
|
-
* @public
|
|
754
753
|
* <p>The unique identifier of the network for the node.</p>
|
|
755
754
|
* <p>Ethereum public networks have the following <code>NetworkId</code>s:</p>
|
|
756
755
|
* <ul>
|
|
@@ -765,26 +764,27 @@ export interface CreateNodeInput {
|
|
|
765
764
|
* </p>
|
|
766
765
|
* </li>
|
|
767
766
|
* </ul>
|
|
767
|
+
* @public
|
|
768
768
|
*/
|
|
769
769
|
NetworkId: string | undefined;
|
|
770
770
|
/**
|
|
771
|
-
* @public
|
|
772
771
|
* <p>The unique identifier of the member that owns this node.</p>
|
|
773
772
|
* <p>Applies only to Hyperledger Fabric.</p>
|
|
773
|
+
* @public
|
|
774
774
|
*/
|
|
775
775
|
MemberId?: string;
|
|
776
776
|
/**
|
|
777
|
-
* @public
|
|
778
777
|
* <p>The properties of a node configuration.</p>
|
|
778
|
+
* @public
|
|
779
779
|
*/
|
|
780
780
|
NodeConfiguration: NodeConfiguration | undefined;
|
|
781
781
|
/**
|
|
782
|
-
* @public
|
|
783
782
|
* <p>Tags to assign to the node.</p>
|
|
784
783
|
* <p> Each tag consists of a key and an optional value. You can specify
|
|
785
784
|
* multiple key-value pairs in a single request with an overall maximum of 50 tags
|
|
786
785
|
* allowed per resource.</p>
|
|
787
786
|
* <p>For more information about tags, see <a href="https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Ethereum Developer Guide</i>, or <a href="https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Hyperledger Fabric Developer Guide</i>.</p>
|
|
787
|
+
* @public
|
|
788
788
|
*/
|
|
789
789
|
Tags?: Record<string, string>;
|
|
790
790
|
}
|
|
@@ -793,55 +793,55 @@ export interface CreateNodeInput {
|
|
|
793
793
|
*/
|
|
794
794
|
export interface CreateNodeOutput {
|
|
795
795
|
/**
|
|
796
|
-
* @public
|
|
797
796
|
* <p>The unique identifier of the node.</p>
|
|
797
|
+
* @public
|
|
798
798
|
*/
|
|
799
799
|
NodeId?: string;
|
|
800
800
|
}
|
|
801
801
|
/**
|
|
802
|
-
* @public
|
|
803
802
|
* <p>An action to invite a specific Amazon Web Services account to create a member and join the network. The <code>InviteAction</code> is carried out when a <code>Proposal</code> is <code>APPROVED</code>.</p>
|
|
804
803
|
* <p>Applies only to Hyperledger Fabric.</p>
|
|
804
|
+
* @public
|
|
805
805
|
*/
|
|
806
806
|
export interface InviteAction {
|
|
807
807
|
/**
|
|
808
|
-
* @public
|
|
809
808
|
* <p>The Amazon Web Services account ID to invite.</p>
|
|
809
|
+
* @public
|
|
810
810
|
*/
|
|
811
811
|
Principal: string | undefined;
|
|
812
812
|
}
|
|
813
813
|
/**
|
|
814
|
-
* @public
|
|
815
814
|
* <p>An action to remove a member from a Managed Blockchain network as the result of a removal proposal that is <code>APPROVED</code>. The member and all associated resources are deleted from the network.</p>
|
|
816
815
|
* <p>Applies only to Hyperledger Fabric.</p>
|
|
816
|
+
* @public
|
|
817
817
|
*/
|
|
818
818
|
export interface RemoveAction {
|
|
819
819
|
/**
|
|
820
|
-
* @public
|
|
821
820
|
* <p>The unique identifier of the member to remove.</p>
|
|
821
|
+
* @public
|
|
822
822
|
*/
|
|
823
823
|
MemberId: string | undefined;
|
|
824
824
|
}
|
|
825
825
|
/**
|
|
826
|
-
* @public
|
|
827
826
|
* <p>
|
|
828
827
|
* The actions to carry out if a proposal is <code>APPROVED</code>.
|
|
829
828
|
* </p>
|
|
830
829
|
* <p>Applies only to Hyperledger Fabric.</p>
|
|
830
|
+
* @public
|
|
831
831
|
*/
|
|
832
832
|
export interface ProposalActions {
|
|
833
833
|
/**
|
|
834
|
-
* @public
|
|
835
834
|
* <p>
|
|
836
835
|
* The actions to perform for an <code>APPROVED</code> proposal to invite an Amazon Web Services account to create a member and join the network.
|
|
837
836
|
* </p>
|
|
837
|
+
* @public
|
|
838
838
|
*/
|
|
839
839
|
Invitations?: InviteAction[];
|
|
840
840
|
/**
|
|
841
|
-
* @public
|
|
842
841
|
* <p>
|
|
843
842
|
* The actions to perform for an <code>APPROVED</code> proposal to remove a member from the network, which deletes the member and all associated member resources from the network.
|
|
844
843
|
* </p>
|
|
844
|
+
* @public
|
|
845
845
|
*/
|
|
846
846
|
Removals?: RemoveAction[];
|
|
847
847
|
}
|
|
@@ -850,40 +850,40 @@ export interface ProposalActions {
|
|
|
850
850
|
*/
|
|
851
851
|
export interface CreateProposalInput {
|
|
852
852
|
/**
|
|
853
|
-
* @public
|
|
854
853
|
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the CLI.</p>
|
|
854
|
+
* @public
|
|
855
855
|
*/
|
|
856
856
|
ClientRequestToken?: string;
|
|
857
857
|
/**
|
|
858
|
-
* @public
|
|
859
858
|
* <p>
|
|
860
859
|
* The unique identifier of the network for which the proposal is made.</p>
|
|
860
|
+
* @public
|
|
861
861
|
*/
|
|
862
862
|
NetworkId: string | undefined;
|
|
863
863
|
/**
|
|
864
|
-
* @public
|
|
865
864
|
* <p>The unique identifier of the member that is creating the proposal. This
|
|
866
865
|
* identifier is especially useful for identifying the member making the proposal
|
|
867
866
|
* when multiple members exist in a single Amazon Web Services account.</p>
|
|
867
|
+
* @public
|
|
868
868
|
*/
|
|
869
869
|
MemberId: string | undefined;
|
|
870
870
|
/**
|
|
871
|
-
* @public
|
|
872
871
|
* <p>The type of actions proposed, such as inviting a member or removing a member. The types of <code>Actions</code> in a proposal are mutually exclusive. For example, a proposal with <code>Invitations</code> actions cannot also contain <code>Removals</code> actions.</p>
|
|
872
|
+
* @public
|
|
873
873
|
*/
|
|
874
874
|
Actions: ProposalActions | undefined;
|
|
875
875
|
/**
|
|
876
|
-
* @public
|
|
877
876
|
* <p>A description for the proposal that is visible to voting members, for example, "Proposal to add Example Corp. as member."</p>
|
|
877
|
+
* @public
|
|
878
878
|
*/
|
|
879
879
|
Description?: string;
|
|
880
880
|
/**
|
|
881
|
-
* @public
|
|
882
881
|
* <p>Tags to assign to the proposal.</p>
|
|
883
882
|
* <p> Each tag consists of a key and an optional value. You can specify
|
|
884
883
|
* multiple key-value pairs in a single request with an overall maximum of 50 tags
|
|
885
884
|
* allowed per resource.</p>
|
|
886
885
|
* <p>For more information about tags, see <a href="https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Ethereum Developer Guide</i>, or <a href="https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Hyperledger Fabric Developer Guide</i>.</p>
|
|
886
|
+
* @public
|
|
887
887
|
*/
|
|
888
888
|
Tags?: Record<string, string>;
|
|
889
889
|
}
|
|
@@ -892,8 +892,8 @@ export interface CreateProposalInput {
|
|
|
892
892
|
*/
|
|
893
893
|
export interface CreateProposalOutput {
|
|
894
894
|
/**
|
|
895
|
-
* @public
|
|
896
895
|
* <p>The unique identifier of the proposal.</p>
|
|
896
|
+
* @public
|
|
897
897
|
*/
|
|
898
898
|
ProposalId?: string;
|
|
899
899
|
}
|
|
@@ -902,8 +902,8 @@ export interface CreateProposalOutput {
|
|
|
902
902
|
*/
|
|
903
903
|
export interface DeleteAccessorInput {
|
|
904
904
|
/**
|
|
905
|
-
* @public
|
|
906
905
|
* <p>The unique identifier of the accessor.</p>
|
|
906
|
+
* @public
|
|
907
907
|
*/
|
|
908
908
|
AccessorId: string | undefined;
|
|
909
909
|
}
|
|
@@ -917,13 +917,13 @@ export interface DeleteAccessorOutput {
|
|
|
917
917
|
*/
|
|
918
918
|
export interface DeleteMemberInput {
|
|
919
919
|
/**
|
|
920
|
-
* @public
|
|
921
920
|
* <p>The unique identifier of the network from which the member is removed.</p>
|
|
921
|
+
* @public
|
|
922
922
|
*/
|
|
923
923
|
NetworkId: string | undefined;
|
|
924
924
|
/**
|
|
925
|
-
* @public
|
|
926
925
|
* <p>The unique identifier of the member to remove.</p>
|
|
926
|
+
* @public
|
|
927
927
|
*/
|
|
928
928
|
MemberId: string | undefined;
|
|
929
929
|
}
|
|
@@ -937,7 +937,6 @@ export interface DeleteMemberOutput {
|
|
|
937
937
|
*/
|
|
938
938
|
export interface DeleteNodeInput {
|
|
939
939
|
/**
|
|
940
|
-
* @public
|
|
941
940
|
* <p>The unique identifier of the network that the node is on.</p>
|
|
942
941
|
* <p>Ethereum public networks have the following <code>NetworkId</code>s:</p>
|
|
943
942
|
* <ul>
|
|
@@ -952,17 +951,18 @@ export interface DeleteNodeInput {
|
|
|
952
951
|
* </p>
|
|
953
952
|
* </li>
|
|
954
953
|
* </ul>
|
|
954
|
+
* @public
|
|
955
955
|
*/
|
|
956
956
|
NetworkId: string | undefined;
|
|
957
957
|
/**
|
|
958
|
-
* @public
|
|
959
958
|
* <p>The unique identifier of the member that owns this node.</p>
|
|
960
959
|
* <p>Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.</p>
|
|
960
|
+
* @public
|
|
961
961
|
*/
|
|
962
962
|
MemberId?: string;
|
|
963
963
|
/**
|
|
964
|
-
* @public
|
|
965
964
|
* <p>The unique identifier of the node.</p>
|
|
965
|
+
* @public
|
|
966
966
|
*/
|
|
967
967
|
NodeId: string | undefined;
|
|
968
968
|
}
|
|
@@ -976,8 +976,8 @@ export interface DeleteNodeOutput {
|
|
|
976
976
|
*/
|
|
977
977
|
export interface GetAccessorInput {
|
|
978
978
|
/**
|
|
979
|
-
* @public
|
|
980
979
|
* <p>The unique identifier of the accessor.</p>
|
|
980
|
+
* @public
|
|
981
981
|
*/
|
|
982
982
|
AccessorId: string | undefined;
|
|
983
983
|
}
|
|
@@ -986,8 +986,8 @@ export interface GetAccessorInput {
|
|
|
986
986
|
*/
|
|
987
987
|
export interface GetAccessorOutput {
|
|
988
988
|
/**
|
|
989
|
-
* @public
|
|
990
989
|
* <p>The properties of the accessor.</p>
|
|
990
|
+
* @public
|
|
991
991
|
*/
|
|
992
992
|
Accessor?: Accessor;
|
|
993
993
|
}
|
|
@@ -996,40 +996,40 @@ export interface GetAccessorOutput {
|
|
|
996
996
|
*/
|
|
997
997
|
export interface GetMemberInput {
|
|
998
998
|
/**
|
|
999
|
-
* @public
|
|
1000
999
|
* <p>The unique identifier of the network to which the member belongs.</p>
|
|
1000
|
+
* @public
|
|
1001
1001
|
*/
|
|
1002
1002
|
NetworkId: string | undefined;
|
|
1003
1003
|
/**
|
|
1004
|
-
* @public
|
|
1005
1004
|
* <p>The unique identifier of the member.</p>
|
|
1005
|
+
* @public
|
|
1006
1006
|
*/
|
|
1007
1007
|
MemberId: string | undefined;
|
|
1008
1008
|
}
|
|
1009
1009
|
/**
|
|
1010
|
-
* @public
|
|
1011
1010
|
* <p>Attributes of Hyperledger Fabric for a member in a Managed Blockchain network using the Hyperledger Fabric framework.</p>
|
|
1011
|
+
* @public
|
|
1012
1012
|
*/
|
|
1013
1013
|
export interface MemberFabricAttributes {
|
|
1014
1014
|
/**
|
|
1015
|
-
* @public
|
|
1016
1015
|
* <p>The user name for the initial administrator user for the member.</p>
|
|
1016
|
+
* @public
|
|
1017
1017
|
*/
|
|
1018
1018
|
AdminUsername?: string;
|
|
1019
1019
|
/**
|
|
1020
|
-
* @public
|
|
1021
1020
|
* <p>The endpoint used to access the member's certificate authority.</p>
|
|
1021
|
+
* @public
|
|
1022
1022
|
*/
|
|
1023
1023
|
CaEndpoint?: string;
|
|
1024
1024
|
}
|
|
1025
1025
|
/**
|
|
1026
|
-
* @public
|
|
1027
1026
|
* <p>Attributes relevant to a member for the blockchain framework that the Managed Blockchain network uses.</p>
|
|
1027
|
+
* @public
|
|
1028
1028
|
*/
|
|
1029
1029
|
export interface MemberFrameworkAttributes {
|
|
1030
1030
|
/**
|
|
1031
|
-
* @public
|
|
1032
1031
|
* <p>Attributes of Hyperledger Fabric relevant to a member on a Managed Blockchain network that uses Hyperledger Fabric.</p>
|
|
1032
|
+
* @public
|
|
1033
1033
|
*/
|
|
1034
1034
|
Fabric?: MemberFabricAttributes;
|
|
1035
1035
|
}
|
|
@@ -1051,43 +1051,42 @@ export declare const MemberStatus: {
|
|
|
1051
1051
|
*/
|
|
1052
1052
|
export type MemberStatus = (typeof MemberStatus)[keyof typeof MemberStatus];
|
|
1053
1053
|
/**
|
|
1054
|
-
* @public
|
|
1055
1054
|
* <p>Member configuration properties.</p>
|
|
1056
1055
|
* <p>Applies only to Hyperledger Fabric.</p>
|
|
1056
|
+
* @public
|
|
1057
1057
|
*/
|
|
1058
1058
|
export interface Member {
|
|
1059
1059
|
/**
|
|
1060
|
-
* @public
|
|
1061
1060
|
* <p>The unique identifier of the network to which the member belongs.</p>
|
|
1061
|
+
* @public
|
|
1062
1062
|
*/
|
|
1063
1063
|
NetworkId?: string;
|
|
1064
1064
|
/**
|
|
1065
|
-
* @public
|
|
1066
1065
|
* <p>The unique identifier of the member.</p>
|
|
1066
|
+
* @public
|
|
1067
1067
|
*/
|
|
1068
1068
|
Id?: string;
|
|
1069
1069
|
/**
|
|
1070
|
-
* @public
|
|
1071
1070
|
* <p>The name of the member.</p>
|
|
1071
|
+
* @public
|
|
1072
1072
|
*/
|
|
1073
1073
|
Name?: string;
|
|
1074
1074
|
/**
|
|
1075
|
-
* @public
|
|
1076
1075
|
* <p>An optional description for the member.</p>
|
|
1076
|
+
* @public
|
|
1077
1077
|
*/
|
|
1078
1078
|
Description?: string;
|
|
1079
1079
|
/**
|
|
1080
|
-
* @public
|
|
1081
1080
|
* <p>Attributes relevant to a member for the blockchain framework that the Managed Blockchain network uses.</p>
|
|
1081
|
+
* @public
|
|
1082
1082
|
*/
|
|
1083
1083
|
FrameworkAttributes?: MemberFrameworkAttributes;
|
|
1084
1084
|
/**
|
|
1085
|
-
* @public
|
|
1086
1085
|
* <p>Configuration properties for logging events associated with a member.</p>
|
|
1086
|
+
* @public
|
|
1087
1087
|
*/
|
|
1088
1088
|
LogPublishingConfiguration?: MemberLogPublishingConfiguration;
|
|
1089
1089
|
/**
|
|
1090
|
-
* @public
|
|
1091
1090
|
* <p>The status of a member.</p>
|
|
1092
1091
|
* <ul>
|
|
1093
1092
|
* <li>
|
|
@@ -1122,28 +1121,29 @@ export interface Member {
|
|
|
1122
1121
|
* <p>The effect of disabling or deleting a key or of revoking a grant isn't immediate. It might take some time for the member resource to discover that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.</p>
|
|
1123
1122
|
* </li>
|
|
1124
1123
|
* </ul>
|
|
1124
|
+
* @public
|
|
1125
1125
|
*/
|
|
1126
1126
|
Status?: MemberStatus;
|
|
1127
1127
|
/**
|
|
1128
|
-
* @public
|
|
1129
1128
|
* <p>The date and time that the member was created.</p>
|
|
1129
|
+
* @public
|
|
1130
1130
|
*/
|
|
1131
1131
|
CreationDate?: Date;
|
|
1132
1132
|
/**
|
|
1133
|
-
* @public
|
|
1134
1133
|
* <p>Tags assigned to the member. Tags consist of a key and optional value.</p>
|
|
1135
1134
|
* <p>For more information about tags, see <a href="https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Ethereum Developer Guide</i>, or <a href="https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Hyperledger Fabric Developer Guide</i>.</p>
|
|
1135
|
+
* @public
|
|
1136
1136
|
*/
|
|
1137
1137
|
Tags?: Record<string, string>;
|
|
1138
1138
|
/**
|
|
1139
|
-
* @public
|
|
1140
1139
|
* <p>The Amazon Resource Name (ARN) of the member. For more information about ARNs and their format, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
1140
|
+
* @public
|
|
1141
1141
|
*/
|
|
1142
1142
|
Arn?: string;
|
|
1143
1143
|
/**
|
|
1144
|
-
* @public
|
|
1145
1144
|
* <p>The Amazon Resource Name (ARN) of the customer managed key in Key Management Service (KMS) that the member uses for encryption at rest. If the value of this parameter is <code>"AWS Owned KMS Key"</code>, the member uses an Amazon Web Services owned KMS key for encryption. This parameter is inherited by the nodes that this member owns.</p>
|
|
1146
1145
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/managed-blockchain-encryption-at-rest.html">Encryption at Rest</a> in the <i>Amazon Managed Blockchain Hyperledger Fabric Developer Guide</i>.</p>
|
|
1146
|
+
* @public
|
|
1147
1147
|
*/
|
|
1148
1148
|
KmsKeyArn?: string;
|
|
1149
1149
|
}
|
|
@@ -1152,8 +1152,8 @@ export interface Member {
|
|
|
1152
1152
|
*/
|
|
1153
1153
|
export interface GetMemberOutput {
|
|
1154
1154
|
/**
|
|
1155
|
-
* @public
|
|
1156
1155
|
* <p>The properties of a member.</p>
|
|
1156
|
+
* @public
|
|
1157
1157
|
*/
|
|
1158
1158
|
Member?: Member;
|
|
1159
1159
|
}
|
|
@@ -1162,18 +1162,17 @@ export interface GetMemberOutput {
|
|
|
1162
1162
|
*/
|
|
1163
1163
|
export interface GetNetworkInput {
|
|
1164
1164
|
/**
|
|
1165
|
-
* @public
|
|
1166
1165
|
* <p>The unique identifier of the network to get information about.</p>
|
|
1166
|
+
* @public
|
|
1167
1167
|
*/
|
|
1168
1168
|
NetworkId: string | undefined;
|
|
1169
1169
|
}
|
|
1170
1170
|
/**
|
|
1171
|
-
* @public
|
|
1172
1171
|
* <p>Attributes of Ethereum for a network. </p>
|
|
1172
|
+
* @public
|
|
1173
1173
|
*/
|
|
1174
1174
|
export interface NetworkEthereumAttributes {
|
|
1175
1175
|
/**
|
|
1176
|
-
* @public
|
|
1177
1176
|
* <p>The Ethereum <code>CHAIN_ID</code> associated with the Ethereum network. Chain IDs are as follows:</p>
|
|
1178
1177
|
* <ul>
|
|
1179
1178
|
* <li>
|
|
@@ -1185,38 +1184,39 @@ export interface NetworkEthereumAttributes {
|
|
|
1185
1184
|
* </p>
|
|
1186
1185
|
* </li>
|
|
1187
1186
|
* </ul>
|
|
1187
|
+
* @public
|
|
1188
1188
|
*/
|
|
1189
1189
|
ChainId?: string;
|
|
1190
1190
|
}
|
|
1191
1191
|
/**
|
|
1192
|
-
* @public
|
|
1193
1192
|
* <p>Attributes of Hyperledger Fabric for a network.</p>
|
|
1193
|
+
* @public
|
|
1194
1194
|
*/
|
|
1195
1195
|
export interface NetworkFabricAttributes {
|
|
1196
1196
|
/**
|
|
1197
|
-
* @public
|
|
1198
1197
|
* <p>The endpoint of the ordering service for the network.</p>
|
|
1198
|
+
* @public
|
|
1199
1199
|
*/
|
|
1200
1200
|
OrderingServiceEndpoint?: string;
|
|
1201
1201
|
/**
|
|
1202
|
-
* @public
|
|
1203
1202
|
* <p>The edition of Amazon Managed Blockchain that Hyperledger Fabric uses. For more information, see <a href="http://aws.amazon.com/managed-blockchain/pricing/">Amazon Managed Blockchain Pricing</a>.</p>
|
|
1203
|
+
* @public
|
|
1204
1204
|
*/
|
|
1205
1205
|
Edition?: Edition;
|
|
1206
1206
|
}
|
|
1207
1207
|
/**
|
|
1208
|
-
* @public
|
|
1209
1208
|
* <p>Attributes relevant to the network for the blockchain framework that the network uses.</p>
|
|
1209
|
+
* @public
|
|
1210
1210
|
*/
|
|
1211
1211
|
export interface NetworkFrameworkAttributes {
|
|
1212
1212
|
/**
|
|
1213
|
-
* @public
|
|
1214
1213
|
* <p>Attributes of Hyperledger Fabric for a Managed Blockchain network that uses Hyperledger Fabric.</p>
|
|
1214
|
+
* @public
|
|
1215
1215
|
*/
|
|
1216
1216
|
Fabric?: NetworkFabricAttributes;
|
|
1217
1217
|
/**
|
|
1218
|
-
* @public
|
|
1219
1218
|
* <p>Attributes of an Ethereum network for Managed Blockchain resources participating in an Ethereum network. </p>
|
|
1219
|
+
* @public
|
|
1220
1220
|
*/
|
|
1221
1221
|
Ethereum?: NetworkEthereumAttributes;
|
|
1222
1222
|
}
|
|
@@ -1236,69 +1236,69 @@ export declare const NetworkStatus: {
|
|
|
1236
1236
|
*/
|
|
1237
1237
|
export type NetworkStatus = (typeof NetworkStatus)[keyof typeof NetworkStatus];
|
|
1238
1238
|
/**
|
|
1239
|
-
* @public
|
|
1240
1239
|
* <p>Network configuration properties.</p>
|
|
1240
|
+
* @public
|
|
1241
1241
|
*/
|
|
1242
1242
|
export interface Network {
|
|
1243
1243
|
/**
|
|
1244
|
-
* @public
|
|
1245
1244
|
* <p>The unique identifier of the network.</p>
|
|
1245
|
+
* @public
|
|
1246
1246
|
*/
|
|
1247
1247
|
Id?: string;
|
|
1248
1248
|
/**
|
|
1249
|
-
* @public
|
|
1250
1249
|
* <p>The name of the network.</p>
|
|
1250
|
+
* @public
|
|
1251
1251
|
*/
|
|
1252
1252
|
Name?: string;
|
|
1253
1253
|
/**
|
|
1254
|
-
* @public
|
|
1255
1254
|
* <p>Attributes of the blockchain framework for the network.</p>
|
|
1255
|
+
* @public
|
|
1256
1256
|
*/
|
|
1257
1257
|
Description?: string;
|
|
1258
1258
|
/**
|
|
1259
|
-
* @public
|
|
1260
1259
|
* <p>The blockchain framework that the network uses.</p>
|
|
1260
|
+
* @public
|
|
1261
1261
|
*/
|
|
1262
1262
|
Framework?: Framework;
|
|
1263
1263
|
/**
|
|
1264
|
-
* @public
|
|
1265
1264
|
* <p>The version of the blockchain framework that the network uses.</p>
|
|
1265
|
+
* @public
|
|
1266
1266
|
*/
|
|
1267
1267
|
FrameworkVersion?: string;
|
|
1268
1268
|
/**
|
|
1269
|
-
* @public
|
|
1270
1269
|
* <p>Attributes of the blockchain framework that the network uses.</p>
|
|
1270
|
+
* @public
|
|
1271
1271
|
*/
|
|
1272
1272
|
FrameworkAttributes?: NetworkFrameworkAttributes;
|
|
1273
1273
|
/**
|
|
1274
|
-
* @public
|
|
1275
1274
|
* <p>The VPC endpoint service name of the VPC endpoint service of the network. Members use the VPC endpoint service name to create a VPC endpoint to access network resources.</p>
|
|
1275
|
+
* @public
|
|
1276
1276
|
*/
|
|
1277
1277
|
VpcEndpointServiceName?: string;
|
|
1278
1278
|
/**
|
|
1279
|
-
* @public
|
|
1280
1279
|
* <p>The voting rules that the network uses to decide if a proposal is accepted.</p>
|
|
1280
|
+
* @public
|
|
1281
1281
|
*/
|
|
1282
1282
|
VotingPolicy?: VotingPolicy;
|
|
1283
1283
|
/**
|
|
1284
|
-
* @public
|
|
1285
1284
|
* <p>The current status of the network.</p>
|
|
1285
|
+
* @public
|
|
1286
1286
|
*/
|
|
1287
1287
|
Status?: NetworkStatus;
|
|
1288
1288
|
/**
|
|
1289
|
-
* @public
|
|
1290
1289
|
* <p>The date and time that the network was created.</p>
|
|
1290
|
+
* @public
|
|
1291
1291
|
*/
|
|
1292
1292
|
CreationDate?: Date;
|
|
1293
1293
|
/**
|
|
1294
|
-
* @public
|
|
1295
1294
|
* <p>Tags assigned to the network. Each tag consists of a key and optional value.</p>
|
|
1296
1295
|
* <p>For more information about tags, see <a href="https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Ethereum Developer Guide</i>, or <a href="https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Hyperledger Fabric Developer Guide</i>.</p>
|
|
1296
|
+
* @public
|
|
1297
1297
|
*/
|
|
1298
1298
|
Tags?: Record<string, string>;
|
|
1299
1299
|
/**
|
|
1300
|
-
* @public
|
|
1301
1300
|
* <p>The Amazon Resource Name (ARN) of the network. For more information about ARNs and their format, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
1301
|
+
* @public
|
|
1302
1302
|
*/
|
|
1303
1303
|
Arn?: string;
|
|
1304
1304
|
}
|
|
@@ -1307,8 +1307,8 @@ export interface Network {
|
|
|
1307
1307
|
*/
|
|
1308
1308
|
export interface GetNetworkOutput {
|
|
1309
1309
|
/**
|
|
1310
|
-
* @public
|
|
1311
1310
|
* <p>An object containing network configuration parameters.</p>
|
|
1311
|
+
* @public
|
|
1312
1312
|
*/
|
|
1313
1313
|
Network?: Network;
|
|
1314
1314
|
}
|
|
@@ -1317,67 +1317,67 @@ export interface GetNetworkOutput {
|
|
|
1317
1317
|
*/
|
|
1318
1318
|
export interface GetNodeInput {
|
|
1319
1319
|
/**
|
|
1320
|
-
* @public
|
|
1321
1320
|
* <p>The unique identifier of the network that the node is on.</p>
|
|
1321
|
+
* @public
|
|
1322
1322
|
*/
|
|
1323
1323
|
NetworkId: string | undefined;
|
|
1324
1324
|
/**
|
|
1325
|
-
* @public
|
|
1326
1325
|
* <p>The unique identifier of the member that owns the node.</p>
|
|
1327
1326
|
* <p>Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.</p>
|
|
1327
|
+
* @public
|
|
1328
1328
|
*/
|
|
1329
1329
|
MemberId?: string;
|
|
1330
1330
|
/**
|
|
1331
|
-
* @public
|
|
1332
1331
|
* <p>The unique identifier of the node.</p>
|
|
1332
|
+
* @public
|
|
1333
1333
|
*/
|
|
1334
1334
|
NodeId: string | undefined;
|
|
1335
1335
|
}
|
|
1336
1336
|
/**
|
|
1337
|
-
* @public
|
|
1338
1337
|
* <p>Attributes of an Ethereum node.</p>
|
|
1338
|
+
* @public
|
|
1339
1339
|
*/
|
|
1340
1340
|
export interface NodeEthereumAttributes {
|
|
1341
1341
|
/**
|
|
1342
|
-
* @public
|
|
1343
1342
|
* <p>The endpoint on which the Ethereum node listens to run Ethereum API methods over HTTP connections from a client. Use this endpoint in client code for smart contracts when using an HTTP connection. Connections to this endpoint are authenticated using <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4</a>.</p>
|
|
1343
|
+
* @public
|
|
1344
1344
|
*/
|
|
1345
1345
|
HttpEndpoint?: string;
|
|
1346
1346
|
/**
|
|
1347
|
-
* @public
|
|
1348
1347
|
* <p>The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC methods over WebSocket connections from a client. Use this endpoint in client code for smart contracts when using a WebSocket connection. Connections to this endpoint are authenticated using <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4</a>.</p>
|
|
1348
|
+
* @public
|
|
1349
1349
|
*/
|
|
1350
1350
|
WebSocketEndpoint?: string;
|
|
1351
1351
|
}
|
|
1352
1352
|
/**
|
|
1353
|
-
* @public
|
|
1354
1353
|
* <p>Attributes of Hyperledger Fabric for a peer node on a Hyperledger Fabric network on Managed Blockchain.</p>
|
|
1354
|
+
* @public
|
|
1355
1355
|
*/
|
|
1356
1356
|
export interface NodeFabricAttributes {
|
|
1357
1357
|
/**
|
|
1358
|
-
* @public
|
|
1359
1358
|
* <p>The endpoint that identifies the peer node for all services except peer channel-based event services.</p>
|
|
1359
|
+
* @public
|
|
1360
1360
|
*/
|
|
1361
1361
|
PeerEndpoint?: string;
|
|
1362
1362
|
/**
|
|
1363
|
-
* @public
|
|
1364
1363
|
* <p>The endpoint that identifies the peer node for peer channel-based event services.</p>
|
|
1364
|
+
* @public
|
|
1365
1365
|
*/
|
|
1366
1366
|
PeerEventEndpoint?: string;
|
|
1367
1367
|
}
|
|
1368
1368
|
/**
|
|
1369
|
-
* @public
|
|
1370
1369
|
* <p>Attributes relevant to a node on a Managed Blockchain network for the blockchain framework that the network uses.</p>
|
|
1370
|
+
* @public
|
|
1371
1371
|
*/
|
|
1372
1372
|
export interface NodeFrameworkAttributes {
|
|
1373
1373
|
/**
|
|
1374
|
-
* @public
|
|
1375
1374
|
* <p>Attributes of Hyperledger Fabric for a peer node on a Managed Blockchain network that uses Hyperledger Fabric.</p>
|
|
1375
|
+
* @public
|
|
1376
1376
|
*/
|
|
1377
1377
|
Fabric?: NodeFabricAttributes;
|
|
1378
1378
|
/**
|
|
1379
|
-
* @public
|
|
1380
1379
|
* <p>Attributes of Ethereum for a node on a Managed Blockchain network that uses Ethereum. </p>
|
|
1380
|
+
* @public
|
|
1381
1381
|
*/
|
|
1382
1382
|
Ethereum?: NodeEthereumAttributes;
|
|
1383
1383
|
}
|
|
@@ -1401,54 +1401,53 @@ export declare const NodeStatus: {
|
|
|
1401
1401
|
*/
|
|
1402
1402
|
export type NodeStatus = (typeof NodeStatus)[keyof typeof NodeStatus];
|
|
1403
1403
|
/**
|
|
1404
|
-
* @public
|
|
1405
1404
|
* <p>Configuration properties of a node.</p>
|
|
1405
|
+
* @public
|
|
1406
1406
|
*/
|
|
1407
1407
|
export interface Node {
|
|
1408
1408
|
/**
|
|
1409
|
-
* @public
|
|
1410
1409
|
* <p>The unique identifier of the network that the node is on.</p>
|
|
1410
|
+
* @public
|
|
1411
1411
|
*/
|
|
1412
1412
|
NetworkId?: string;
|
|
1413
1413
|
/**
|
|
1414
|
-
* @public
|
|
1415
1414
|
* <p>The unique identifier of the member to which the node belongs.</p>
|
|
1416
1415
|
* <p>Applies only to Hyperledger Fabric.</p>
|
|
1416
|
+
* @public
|
|
1417
1417
|
*/
|
|
1418
1418
|
MemberId?: string;
|
|
1419
1419
|
/**
|
|
1420
|
-
* @public
|
|
1421
1420
|
* <p>The unique identifier of the node.</p>
|
|
1421
|
+
* @public
|
|
1422
1422
|
*/
|
|
1423
1423
|
Id?: string;
|
|
1424
1424
|
/**
|
|
1425
|
-
* @public
|
|
1426
1425
|
* <p>The instance type of the node.</p>
|
|
1426
|
+
* @public
|
|
1427
1427
|
*/
|
|
1428
1428
|
InstanceType?: string;
|
|
1429
1429
|
/**
|
|
1430
|
-
* @public
|
|
1431
1430
|
* <p>The Availability Zone in which the node exists. Required for Ethereum nodes. </p>
|
|
1431
|
+
* @public
|
|
1432
1432
|
*/
|
|
1433
1433
|
AvailabilityZone?: string;
|
|
1434
1434
|
/**
|
|
1435
|
-
* @public
|
|
1436
1435
|
* <p>Attributes of the blockchain framework being used.</p>
|
|
1436
|
+
* @public
|
|
1437
1437
|
*/
|
|
1438
1438
|
FrameworkAttributes?: NodeFrameworkAttributes;
|
|
1439
1439
|
/**
|
|
1440
|
-
* @public
|
|
1441
1440
|
* <p>Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.</p>
|
|
1441
|
+
* @public
|
|
1442
1442
|
*/
|
|
1443
1443
|
LogPublishingConfiguration?: NodeLogPublishingConfiguration;
|
|
1444
1444
|
/**
|
|
1445
|
-
* @public
|
|
1446
1445
|
* <p>The state database that the node uses. Values are <code>LevelDB</code> or <code>CouchDB</code>.</p>
|
|
1447
1446
|
* <p>Applies only to Hyperledger Fabric.</p>
|
|
1447
|
+
* @public
|
|
1448
1448
|
*/
|
|
1449
1449
|
StateDB?: StateDBType;
|
|
1450
1450
|
/**
|
|
1451
|
-
* @public
|
|
1452
1451
|
* <p>The status of the node.</p>
|
|
1453
1452
|
* <ul>
|
|
1454
1453
|
* <li>
|
|
@@ -1489,29 +1488,30 @@ export interface Node {
|
|
|
1489
1488
|
* <p>The effect of disabling or deleting a key or of revoking a grant isn't immediate. It might take some time for the node resource to discover that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.</p>
|
|
1490
1489
|
* </li>
|
|
1491
1490
|
* </ul>
|
|
1491
|
+
* @public
|
|
1492
1492
|
*/
|
|
1493
1493
|
Status?: NodeStatus;
|
|
1494
1494
|
/**
|
|
1495
|
-
* @public
|
|
1496
1495
|
* <p>The date and time that the node was created.</p>
|
|
1496
|
+
* @public
|
|
1497
1497
|
*/
|
|
1498
1498
|
CreationDate?: Date;
|
|
1499
1499
|
/**
|
|
1500
|
-
* @public
|
|
1501
1500
|
* <p>Tags assigned to the node. Each tag consists of a key and optional value.</p>
|
|
1502
1501
|
* <p>For more information about tags, see <a href="https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Ethereum Developer Guide</i>, or <a href="https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Hyperledger Fabric Developer Guide</i>.</p>
|
|
1502
|
+
* @public
|
|
1503
1503
|
*/
|
|
1504
1504
|
Tags?: Record<string, string>;
|
|
1505
1505
|
/**
|
|
1506
|
-
* @public
|
|
1507
1506
|
* <p>The Amazon Resource Name (ARN) of the node. For more information about ARNs and their format, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
1507
|
+
* @public
|
|
1508
1508
|
*/
|
|
1509
1509
|
Arn?: string;
|
|
1510
1510
|
/**
|
|
1511
|
-
* @public
|
|
1512
1511
|
* <p>The Amazon Resource Name (ARN) of the customer managed key in Key Management Service (KMS) that the node uses for encryption at rest. If the value of this parameter is <code>"AWS Owned KMS Key"</code>, the node uses an Amazon Web Services owned KMS key for encryption. The node inherits this parameter from the member that it belongs to.</p>
|
|
1513
1512
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/managed-blockchain-encryption-at-rest.html">Encryption at Rest</a> in the <i>Amazon Managed Blockchain Hyperledger Fabric Developer Guide</i>.</p>
|
|
1514
1513
|
* <p>Applies only to Hyperledger Fabric.</p>
|
|
1514
|
+
* @public
|
|
1515
1515
|
*/
|
|
1516
1516
|
KmsKeyArn?: string;
|
|
1517
1517
|
}
|
|
@@ -1520,8 +1520,8 @@ export interface Node {
|
|
|
1520
1520
|
*/
|
|
1521
1521
|
export interface GetNodeOutput {
|
|
1522
1522
|
/**
|
|
1523
|
-
* @public
|
|
1524
1523
|
* <p>Properties of the node configuration.</p>
|
|
1524
|
+
* @public
|
|
1525
1525
|
*/
|
|
1526
1526
|
Node?: Node;
|
|
1527
1527
|
}
|
|
@@ -1530,13 +1530,13 @@ export interface GetNodeOutput {
|
|
|
1530
1530
|
*/
|
|
1531
1531
|
export interface GetProposalInput {
|
|
1532
1532
|
/**
|
|
1533
|
-
* @public
|
|
1534
1533
|
* <p>The unique identifier of the network for which the proposal is made.</p>
|
|
1534
|
+
* @public
|
|
1535
1535
|
*/
|
|
1536
1536
|
NetworkId: string | undefined;
|
|
1537
1537
|
/**
|
|
1538
|
-
* @public
|
|
1539
1538
|
* <p>The unique identifier of the proposal.</p>
|
|
1539
|
+
* @public
|
|
1540
1540
|
*/
|
|
1541
1541
|
ProposalId: string | undefined;
|
|
1542
1542
|
}
|
|
@@ -1556,43 +1556,42 @@ export declare const ProposalStatus: {
|
|
|
1556
1556
|
*/
|
|
1557
1557
|
export type ProposalStatus = (typeof ProposalStatus)[keyof typeof ProposalStatus];
|
|
1558
1558
|
/**
|
|
1559
|
-
* @public
|
|
1560
1559
|
* <p>Properties of a proposal on a Managed Blockchain network.</p>
|
|
1561
1560
|
* <p>Applies only to Hyperledger Fabric.</p>
|
|
1561
|
+
* @public
|
|
1562
1562
|
*/
|
|
1563
1563
|
export interface Proposal {
|
|
1564
1564
|
/**
|
|
1565
|
-
* @public
|
|
1566
1565
|
* <p>The unique identifier of the proposal.</p>
|
|
1566
|
+
* @public
|
|
1567
1567
|
*/
|
|
1568
1568
|
ProposalId?: string;
|
|
1569
1569
|
/**
|
|
1570
|
-
* @public
|
|
1571
1570
|
* <p>The unique identifier of the network for which the proposal is made.</p>
|
|
1571
|
+
* @public
|
|
1572
1572
|
*/
|
|
1573
1573
|
NetworkId?: string;
|
|
1574
1574
|
/**
|
|
1575
|
-
* @public
|
|
1576
1575
|
* <p>The description of the proposal.</p>
|
|
1576
|
+
* @public
|
|
1577
1577
|
*/
|
|
1578
1578
|
Description?: string;
|
|
1579
1579
|
/**
|
|
1580
|
-
* @public
|
|
1581
1580
|
* <p>The actions to perform on the network if the proposal is <code>APPROVED</code>.</p>
|
|
1581
|
+
* @public
|
|
1582
1582
|
*/
|
|
1583
1583
|
Actions?: ProposalActions;
|
|
1584
1584
|
/**
|
|
1585
|
-
* @public
|
|
1586
1585
|
* <p>The unique identifier of the member that created the proposal.</p>
|
|
1586
|
+
* @public
|
|
1587
1587
|
*/
|
|
1588
1588
|
ProposedByMemberId?: string;
|
|
1589
1589
|
/**
|
|
1590
|
-
* @public
|
|
1591
1590
|
* <p>The name of the member that created the proposal.</p>
|
|
1591
|
+
* @public
|
|
1592
1592
|
*/
|
|
1593
1593
|
ProposedByMemberName?: string;
|
|
1594
1594
|
/**
|
|
1595
|
-
* @public
|
|
1596
1595
|
* <p>The status of the proposal. Values are as follows:</p>
|
|
1597
1596
|
* <ul>
|
|
1598
1597
|
* <li>
|
|
@@ -1616,52 +1615,53 @@ export interface Proposal {
|
|
|
1616
1615
|
* <code>ACTION_FAILED</code> - One or more of the specified <code>ProposalActions</code> in a proposal that was approved couldn't be completed because of an error. The <code>ACTION_FAILED</code> status occurs even if only one ProposalAction fails and other actions are successful.</p>
|
|
1617
1616
|
* </li>
|
|
1618
1617
|
* </ul>
|
|
1618
|
+
* @public
|
|
1619
1619
|
*/
|
|
1620
1620
|
Status?: ProposalStatus;
|
|
1621
1621
|
/**
|
|
1622
|
-
* @public
|
|
1623
1622
|
* <p>
|
|
1624
1623
|
* The date and time that the proposal was created.
|
|
1625
1624
|
* </p>
|
|
1625
|
+
* @public
|
|
1626
1626
|
*/
|
|
1627
1627
|
CreationDate?: Date;
|
|
1628
1628
|
/**
|
|
1629
|
-
* @public
|
|
1630
1629
|
* <p>
|
|
1631
1630
|
* The date and time that the proposal expires. This is the <code>CreationDate</code> plus the <code>ProposalDurationInHours</code> that is specified in the <code>ProposalThresholdPolicy</code>. After this date and time, if members haven't cast enough votes to determine the outcome according to the voting policy, the proposal is <code>EXPIRED</code> and <code>Actions</code> aren't carried out.
|
|
1632
1631
|
* </p>
|
|
1632
|
+
* @public
|
|
1633
1633
|
*/
|
|
1634
1634
|
ExpirationDate?: Date;
|
|
1635
1635
|
/**
|
|
1636
|
-
* @public
|
|
1637
1636
|
* <p>
|
|
1638
1637
|
* The current total of <code>YES</code> votes cast on the proposal by members.
|
|
1639
1638
|
* </p>
|
|
1639
|
+
* @public
|
|
1640
1640
|
*/
|
|
1641
1641
|
YesVoteCount?: number;
|
|
1642
1642
|
/**
|
|
1643
|
-
* @public
|
|
1644
1643
|
* <p>
|
|
1645
1644
|
* The current total of <code>NO</code> votes cast on the proposal by members.
|
|
1646
1645
|
* </p>
|
|
1646
|
+
* @public
|
|
1647
1647
|
*/
|
|
1648
1648
|
NoVoteCount?: number;
|
|
1649
1649
|
/**
|
|
1650
|
-
* @public
|
|
1651
1650
|
* <p>
|
|
1652
1651
|
* The number of votes remaining to be cast on the proposal by members. In other words, the number of members minus the sum of <code>YES</code> votes and <code>NO</code> votes.
|
|
1653
1652
|
* </p>
|
|
1653
|
+
* @public
|
|
1654
1654
|
*/
|
|
1655
1655
|
OutstandingVoteCount?: number;
|
|
1656
1656
|
/**
|
|
1657
|
-
* @public
|
|
1658
1657
|
* <p>Tags assigned to the proposal. Each tag consists of a key and optional value.</p>
|
|
1659
1658
|
* <p>For more information about tags, see <a href="https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Ethereum Developer Guide</i>, or <a href="https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Hyperledger Fabric Developer Guide</i>.</p>
|
|
1659
|
+
* @public
|
|
1660
1660
|
*/
|
|
1661
1661
|
Tags?: Record<string, string>;
|
|
1662
1662
|
/**
|
|
1663
|
-
* @public
|
|
1664
1663
|
* <p>The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
1664
|
+
* @public
|
|
1665
1665
|
*/
|
|
1666
1666
|
Arn?: string;
|
|
1667
1667
|
}
|
|
@@ -1670,14 +1670,14 @@ export interface Proposal {
|
|
|
1670
1670
|
*/
|
|
1671
1671
|
export interface GetProposalOutput {
|
|
1672
1672
|
/**
|
|
1673
|
-
* @public
|
|
1674
1673
|
* <p>Information about a proposal.</p>
|
|
1674
|
+
* @public
|
|
1675
1675
|
*/
|
|
1676
1676
|
Proposal?: Proposal;
|
|
1677
1677
|
}
|
|
1678
1678
|
/**
|
|
1679
|
-
* @public
|
|
1680
1679
|
* <p></p>
|
|
1680
|
+
* @public
|
|
1681
1681
|
*/
|
|
1682
1682
|
export declare class IllegalActionException extends __BaseException {
|
|
1683
1683
|
readonly name: "IllegalActionException";
|
|
@@ -1689,48 +1689,48 @@ export declare class IllegalActionException extends __BaseException {
|
|
|
1689
1689
|
constructor(opts: __ExceptionOptionType<IllegalActionException, __BaseException>);
|
|
1690
1690
|
}
|
|
1691
1691
|
/**
|
|
1692
|
-
* @public
|
|
1693
1692
|
* <p>A summary of network configuration properties.</p>
|
|
1693
|
+
* @public
|
|
1694
1694
|
*/
|
|
1695
1695
|
export interface NetworkSummary {
|
|
1696
1696
|
/**
|
|
1697
|
-
* @public
|
|
1698
1697
|
* <p>The unique identifier of the network.</p>
|
|
1698
|
+
* @public
|
|
1699
1699
|
*/
|
|
1700
1700
|
Id?: string;
|
|
1701
1701
|
/**
|
|
1702
|
-
* @public
|
|
1703
1702
|
* <p>The name of the network.</p>
|
|
1703
|
+
* @public
|
|
1704
1704
|
*/
|
|
1705
1705
|
Name?: string;
|
|
1706
1706
|
/**
|
|
1707
|
-
* @public
|
|
1708
1707
|
* <p>An optional description of the network.</p>
|
|
1708
|
+
* @public
|
|
1709
1709
|
*/
|
|
1710
1710
|
Description?: string;
|
|
1711
1711
|
/**
|
|
1712
|
-
* @public
|
|
1713
1712
|
* <p>The blockchain framework that the network uses.</p>
|
|
1713
|
+
* @public
|
|
1714
1714
|
*/
|
|
1715
1715
|
Framework?: Framework;
|
|
1716
1716
|
/**
|
|
1717
|
-
* @public
|
|
1718
1717
|
* <p>The version of the blockchain framework that the network uses.</p>
|
|
1718
|
+
* @public
|
|
1719
1719
|
*/
|
|
1720
1720
|
FrameworkVersion?: string;
|
|
1721
1721
|
/**
|
|
1722
|
-
* @public
|
|
1723
1722
|
* <p>The current status of the network.</p>
|
|
1723
|
+
* @public
|
|
1724
1724
|
*/
|
|
1725
1725
|
Status?: NetworkStatus;
|
|
1726
1726
|
/**
|
|
1727
|
-
* @public
|
|
1728
1727
|
* <p>The date and time that the network was created.</p>
|
|
1728
|
+
* @public
|
|
1729
1729
|
*/
|
|
1730
1730
|
CreationDate?: Date;
|
|
1731
1731
|
/**
|
|
1732
|
-
* @public
|
|
1733
1732
|
* <p>The Amazon Resource Name (ARN) of the network. For more information about ARNs and their format, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
1733
|
+
* @public
|
|
1734
1734
|
*/
|
|
1735
1735
|
Arn?: string;
|
|
1736
1736
|
}
|
|
@@ -1750,28 +1750,27 @@ export declare const InvitationStatus: {
|
|
|
1750
1750
|
*/
|
|
1751
1751
|
export type InvitationStatus = (typeof InvitationStatus)[keyof typeof InvitationStatus];
|
|
1752
1752
|
/**
|
|
1753
|
-
* @public
|
|
1754
1753
|
* <p>An invitation to an Amazon Web Services account to create a member and join the network.</p>
|
|
1755
1754
|
* <p>Applies only to Hyperledger Fabric.</p>
|
|
1755
|
+
* @public
|
|
1756
1756
|
*/
|
|
1757
1757
|
export interface Invitation {
|
|
1758
1758
|
/**
|
|
1759
|
-
* @public
|
|
1760
1759
|
* <p>The unique identifier for the invitation.</p>
|
|
1760
|
+
* @public
|
|
1761
1761
|
*/
|
|
1762
1762
|
InvitationId?: string;
|
|
1763
1763
|
/**
|
|
1764
|
-
* @public
|
|
1765
1764
|
* <p>The date and time that the invitation was created.</p>
|
|
1765
|
+
* @public
|
|
1766
1766
|
*/
|
|
1767
1767
|
CreationDate?: Date;
|
|
1768
1768
|
/**
|
|
1769
|
-
* @public
|
|
1770
1769
|
* <p>The date and time that the invitation expires. This is the <code>CreationDate</code> plus the <code>ProposalDurationInHours</code> that is specified in the <code>ProposalThresholdPolicy</code>. After this date and time, the invitee can no longer create a member and join the network using this <code>InvitationId</code>.</p>
|
|
1770
|
+
* @public
|
|
1771
1771
|
*/
|
|
1772
1772
|
ExpirationDate?: Date;
|
|
1773
1773
|
/**
|
|
1774
|
-
* @public
|
|
1775
1774
|
* <p>The status of the invitation:</p>
|
|
1776
1775
|
* <ul>
|
|
1777
1776
|
* <li>
|
|
@@ -1795,16 +1794,17 @@ export interface Invitation {
|
|
|
1795
1794
|
* <code>EXPIRED</code> - The invitee neither created a member nor rejected the invitation before the <code>ExpirationDate</code>.</p>
|
|
1796
1795
|
* </li>
|
|
1797
1796
|
* </ul>
|
|
1797
|
+
* @public
|
|
1798
1798
|
*/
|
|
1799
1799
|
Status?: InvitationStatus;
|
|
1800
1800
|
/**
|
|
1801
|
-
* @public
|
|
1802
1801
|
* <p>A summary of network configuration properties.</p>
|
|
1802
|
+
* @public
|
|
1803
1803
|
*/
|
|
1804
1804
|
NetworkSummary?: NetworkSummary;
|
|
1805
1805
|
/**
|
|
1806
|
-
* @public
|
|
1807
1806
|
* <p>The Amazon Resource Name (ARN) of the invitation. For more information about ARNs and their format, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
1807
|
+
* @public
|
|
1808
1808
|
*/
|
|
1809
1809
|
Arn?: string;
|
|
1810
1810
|
}
|
|
@@ -1813,23 +1813,23 @@ export interface Invitation {
|
|
|
1813
1813
|
*/
|
|
1814
1814
|
export interface ListAccessorsInput {
|
|
1815
1815
|
/**
|
|
1816
|
-
* @public
|
|
1817
1816
|
* <p> The maximum number of accessors to list.</p>
|
|
1817
|
+
* @public
|
|
1818
1818
|
*/
|
|
1819
1819
|
MaxResults?: number;
|
|
1820
1820
|
/**
|
|
1821
|
-
* @public
|
|
1822
1821
|
* <p> The pagination token that indicates the next set of results to retrieve. </p>
|
|
1822
|
+
* @public
|
|
1823
1823
|
*/
|
|
1824
1824
|
NextToken?: string;
|
|
1825
1825
|
/**
|
|
1826
|
-
* @public
|
|
1827
1826
|
* <p>The blockchain network that the <code>Accessor</code> token is created for.</p>
|
|
1828
1827
|
* <note>
|
|
1829
1828
|
* <p>Use the value <code>ETHEREUM_MAINNET_AND_GOERLI</code> for all
|
|
1830
1829
|
* existing <code>Accessors</code> tokens that were created before the <code>networkType</code>
|
|
1831
1830
|
* property was introduced.</p>
|
|
1832
1831
|
* </note>
|
|
1832
|
+
* @public
|
|
1833
1833
|
*/
|
|
1834
1834
|
NetworkType?: AccessorNetworkType;
|
|
1835
1835
|
}
|
|
@@ -1838,14 +1838,14 @@ export interface ListAccessorsInput {
|
|
|
1838
1838
|
*/
|
|
1839
1839
|
export interface ListAccessorsOutput {
|
|
1840
1840
|
/**
|
|
1841
|
-
* @public
|
|
1842
1841
|
* <p>An array of AccessorSummary objects that contain configuration properties for
|
|
1843
1842
|
* each accessor.</p>
|
|
1843
|
+
* @public
|
|
1844
1844
|
*/
|
|
1845
1845
|
Accessors?: AccessorSummary[];
|
|
1846
1846
|
/**
|
|
1847
|
-
* @public
|
|
1848
1847
|
* <p> The pagination token that indicates the next set of results to retrieve. </p>
|
|
1848
|
+
* @public
|
|
1849
1849
|
*/
|
|
1850
1850
|
NextToken?: string;
|
|
1851
1851
|
}
|
|
@@ -1854,13 +1854,13 @@ export interface ListAccessorsOutput {
|
|
|
1854
1854
|
*/
|
|
1855
1855
|
export interface ListInvitationsInput {
|
|
1856
1856
|
/**
|
|
1857
|
-
* @public
|
|
1858
1857
|
* <p>The maximum number of invitations to return.</p>
|
|
1858
|
+
* @public
|
|
1859
1859
|
*/
|
|
1860
1860
|
MaxResults?: number;
|
|
1861
1861
|
/**
|
|
1862
|
-
* @public
|
|
1863
1862
|
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
1863
|
+
* @public
|
|
1864
1864
|
*/
|
|
1865
1865
|
NextToken?: string;
|
|
1866
1866
|
}
|
|
@@ -1869,13 +1869,13 @@ export interface ListInvitationsInput {
|
|
|
1869
1869
|
*/
|
|
1870
1870
|
export interface ListInvitationsOutput {
|
|
1871
1871
|
/**
|
|
1872
|
-
* @public
|
|
1873
1872
|
* <p>The invitations for the network.</p>
|
|
1873
|
+
* @public
|
|
1874
1874
|
*/
|
|
1875
1875
|
Invitations?: Invitation[];
|
|
1876
1876
|
/**
|
|
1877
|
-
* @public
|
|
1878
1877
|
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
1878
|
+
* @public
|
|
1879
1879
|
*/
|
|
1880
1880
|
NextToken?: string;
|
|
1881
1881
|
}
|
|
@@ -1884,61 +1884,60 @@ export interface ListInvitationsOutput {
|
|
|
1884
1884
|
*/
|
|
1885
1885
|
export interface ListMembersInput {
|
|
1886
1886
|
/**
|
|
1887
|
-
* @public
|
|
1888
1887
|
* <p>The unique identifier of the network for which to list members.</p>
|
|
1888
|
+
* @public
|
|
1889
1889
|
*/
|
|
1890
1890
|
NetworkId: string | undefined;
|
|
1891
1891
|
/**
|
|
1892
|
-
* @public
|
|
1893
1892
|
* <p>The optional name of the member to list.</p>
|
|
1893
|
+
* @public
|
|
1894
1894
|
*/
|
|
1895
1895
|
Name?: string;
|
|
1896
1896
|
/**
|
|
1897
|
-
* @public
|
|
1898
1897
|
* <p>An optional status specifier. If provided, only members currently in this status are listed.</p>
|
|
1898
|
+
* @public
|
|
1899
1899
|
*/
|
|
1900
1900
|
Status?: MemberStatus;
|
|
1901
1901
|
/**
|
|
1902
|
-
* @public
|
|
1903
1902
|
* <p>An optional Boolean value. If provided, the request is limited either to
|
|
1904
1903
|
* members that the current Amazon Web Services account owns (<code>true</code>) or that other Amazon Web Services accountsn
|
|
1905
1904
|
* own (<code>false</code>). If omitted, all members are listed.</p>
|
|
1905
|
+
* @public
|
|
1906
1906
|
*/
|
|
1907
1907
|
IsOwned?: boolean;
|
|
1908
1908
|
/**
|
|
1909
|
-
* @public
|
|
1910
1909
|
* <p>The maximum number of members to return in the request.</p>
|
|
1910
|
+
* @public
|
|
1911
1911
|
*/
|
|
1912
1912
|
MaxResults?: number;
|
|
1913
1913
|
/**
|
|
1914
|
-
* @public
|
|
1915
1914
|
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
1915
|
+
* @public
|
|
1916
1916
|
*/
|
|
1917
1917
|
NextToken?: string;
|
|
1918
1918
|
}
|
|
1919
1919
|
/**
|
|
1920
|
-
* @public
|
|
1921
1920
|
* <p>A summary of configuration properties for a member.</p>
|
|
1922
1921
|
* <p>Applies only to Hyperledger Fabric.</p>
|
|
1922
|
+
* @public
|
|
1923
1923
|
*/
|
|
1924
1924
|
export interface MemberSummary {
|
|
1925
1925
|
/**
|
|
1926
|
-
* @public
|
|
1927
1926
|
* <p>The unique identifier of the member.</p>
|
|
1927
|
+
* @public
|
|
1928
1928
|
*/
|
|
1929
1929
|
Id?: string;
|
|
1930
1930
|
/**
|
|
1931
|
-
* @public
|
|
1932
1931
|
* <p>The name of the member.</p>
|
|
1932
|
+
* @public
|
|
1933
1933
|
*/
|
|
1934
1934
|
Name?: string;
|
|
1935
1935
|
/**
|
|
1936
|
-
* @public
|
|
1937
1936
|
* <p>An optional description of the member.</p>
|
|
1937
|
+
* @public
|
|
1938
1938
|
*/
|
|
1939
1939
|
Description?: string;
|
|
1940
1940
|
/**
|
|
1941
|
-
* @public
|
|
1942
1941
|
* <p>The status of the member.</p>
|
|
1943
1942
|
* <ul>
|
|
1944
1943
|
* <li>
|
|
@@ -1973,21 +1972,22 @@ export interface MemberSummary {
|
|
|
1973
1972
|
* <p>The effect of disabling or deleting a key or of revoking a grant isn't immediate. It might take some time for the member resource to discover that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.</p>
|
|
1974
1973
|
* </li>
|
|
1975
1974
|
* </ul>
|
|
1975
|
+
* @public
|
|
1976
1976
|
*/
|
|
1977
1977
|
Status?: MemberStatus;
|
|
1978
1978
|
/**
|
|
1979
|
-
* @public
|
|
1980
1979
|
* <p>The date and time that the member was created.</p>
|
|
1980
|
+
* @public
|
|
1981
1981
|
*/
|
|
1982
1982
|
CreationDate?: Date;
|
|
1983
1983
|
/**
|
|
1984
|
-
* @public
|
|
1985
1984
|
* <p>An indicator of whether the member is owned by your Amazon Web Services account or a different Amazon Web Services account.</p>
|
|
1985
|
+
* @public
|
|
1986
1986
|
*/
|
|
1987
1987
|
IsOwned?: boolean;
|
|
1988
1988
|
/**
|
|
1989
|
-
* @public
|
|
1990
1989
|
* <p>The Amazon Resource Name (ARN) of the member. For more information about ARNs and their format, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
1990
|
+
* @public
|
|
1991
1991
|
*/
|
|
1992
1992
|
Arn?: string;
|
|
1993
1993
|
}
|
|
@@ -1996,13 +1996,13 @@ export interface MemberSummary {
|
|
|
1996
1996
|
*/
|
|
1997
1997
|
export interface ListMembersOutput {
|
|
1998
1998
|
/**
|
|
1999
|
-
* @public
|
|
2000
1999
|
* <p>An array of <code>MemberSummary</code> objects. Each object contains details about a network member.</p>
|
|
2000
|
+
* @public
|
|
2001
2001
|
*/
|
|
2002
2002
|
Members?: MemberSummary[];
|
|
2003
2003
|
/**
|
|
2004
|
-
* @public
|
|
2005
2004
|
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
2005
|
+
* @public
|
|
2006
2006
|
*/
|
|
2007
2007
|
NextToken?: string;
|
|
2008
2008
|
}
|
|
@@ -2011,29 +2011,29 @@ export interface ListMembersOutput {
|
|
|
2011
2011
|
*/
|
|
2012
2012
|
export interface ListNetworksInput {
|
|
2013
2013
|
/**
|
|
2014
|
-
* @public
|
|
2015
2014
|
* <p>The name of the network.</p>
|
|
2015
|
+
* @public
|
|
2016
2016
|
*/
|
|
2017
2017
|
Name?: string;
|
|
2018
2018
|
/**
|
|
2019
|
-
* @public
|
|
2020
2019
|
* <p>An optional framework specifier. If provided, only networks of this framework type are listed.</p>
|
|
2020
|
+
* @public
|
|
2021
2021
|
*/
|
|
2022
2022
|
Framework?: Framework;
|
|
2023
2023
|
/**
|
|
2024
|
-
* @public
|
|
2025
2024
|
* <p>An optional status specifier. If provided, only networks currently in this status are listed.</p>
|
|
2026
2025
|
* <p>Applies only to Hyperledger Fabric.</p>
|
|
2026
|
+
* @public
|
|
2027
2027
|
*/
|
|
2028
2028
|
Status?: NetworkStatus;
|
|
2029
2029
|
/**
|
|
2030
|
-
* @public
|
|
2031
2030
|
* <p>The maximum number of networks to list.</p>
|
|
2031
|
+
* @public
|
|
2032
2032
|
*/
|
|
2033
2033
|
MaxResults?: number;
|
|
2034
2034
|
/**
|
|
2035
|
-
* @public
|
|
2036
2035
|
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
2036
|
+
* @public
|
|
2037
2037
|
*/
|
|
2038
2038
|
NextToken?: string;
|
|
2039
2039
|
}
|
|
@@ -2042,13 +2042,13 @@ export interface ListNetworksInput {
|
|
|
2042
2042
|
*/
|
|
2043
2043
|
export interface ListNetworksOutput {
|
|
2044
2044
|
/**
|
|
2045
|
-
* @public
|
|
2046
2045
|
* <p>An array of <code>NetworkSummary</code> objects that contain configuration properties for each network.</p>
|
|
2046
|
+
* @public
|
|
2047
2047
|
*/
|
|
2048
2048
|
Networks?: NetworkSummary[];
|
|
2049
2049
|
/**
|
|
2050
|
-
* @public
|
|
2051
2050
|
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
2051
|
+
* @public
|
|
2052
2052
|
*/
|
|
2053
2053
|
NextToken?: string;
|
|
2054
2054
|
}
|
|
@@ -2057,65 +2057,65 @@ export interface ListNetworksOutput {
|
|
|
2057
2057
|
*/
|
|
2058
2058
|
export interface ListNodesInput {
|
|
2059
2059
|
/**
|
|
2060
|
-
* @public
|
|
2061
2060
|
* <p>The unique identifier of the network for which to list nodes.</p>
|
|
2061
|
+
* @public
|
|
2062
2062
|
*/
|
|
2063
2063
|
NetworkId: string | undefined;
|
|
2064
2064
|
/**
|
|
2065
|
-
* @public
|
|
2066
2065
|
* <p>The unique identifier of the member who owns the nodes to list.</p>
|
|
2067
2066
|
* <p>Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.</p>
|
|
2067
|
+
* @public
|
|
2068
2068
|
*/
|
|
2069
2069
|
MemberId?: string;
|
|
2070
2070
|
/**
|
|
2071
|
-
* @public
|
|
2072
2071
|
* <p>An optional status specifier. If provided, only nodes currently in this status are listed.</p>
|
|
2072
|
+
* @public
|
|
2073
2073
|
*/
|
|
2074
2074
|
Status?: NodeStatus;
|
|
2075
2075
|
/**
|
|
2076
|
-
* @public
|
|
2077
2076
|
* <p>The maximum number of nodes to list.</p>
|
|
2077
|
+
* @public
|
|
2078
2078
|
*/
|
|
2079
2079
|
MaxResults?: number;
|
|
2080
2080
|
/**
|
|
2081
|
-
* @public
|
|
2082
2081
|
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
2082
|
+
* @public
|
|
2083
2083
|
*/
|
|
2084
2084
|
NextToken?: string;
|
|
2085
2085
|
}
|
|
2086
2086
|
/**
|
|
2087
|
-
* @public
|
|
2088
2087
|
* <p>A summary of configuration properties for a node.</p>
|
|
2088
|
+
* @public
|
|
2089
2089
|
*/
|
|
2090
2090
|
export interface NodeSummary {
|
|
2091
2091
|
/**
|
|
2092
|
-
* @public
|
|
2093
2092
|
* <p>The unique identifier of the node.</p>
|
|
2093
|
+
* @public
|
|
2094
2094
|
*/
|
|
2095
2095
|
Id?: string;
|
|
2096
2096
|
/**
|
|
2097
|
-
* @public
|
|
2098
2097
|
* <p>The status of the node.</p>
|
|
2098
|
+
* @public
|
|
2099
2099
|
*/
|
|
2100
2100
|
Status?: NodeStatus;
|
|
2101
2101
|
/**
|
|
2102
|
-
* @public
|
|
2103
2102
|
* <p>The date and time that the node was created.</p>
|
|
2103
|
+
* @public
|
|
2104
2104
|
*/
|
|
2105
2105
|
CreationDate?: Date;
|
|
2106
2106
|
/**
|
|
2107
|
-
* @public
|
|
2108
2107
|
* <p>The Availability Zone in which the node exists.</p>
|
|
2108
|
+
* @public
|
|
2109
2109
|
*/
|
|
2110
2110
|
AvailabilityZone?: string;
|
|
2111
2111
|
/**
|
|
2112
|
-
* @public
|
|
2113
2112
|
* <p>The EC2 instance type for the node.</p>
|
|
2113
|
+
* @public
|
|
2114
2114
|
*/
|
|
2115
2115
|
InstanceType?: string;
|
|
2116
2116
|
/**
|
|
2117
|
-
* @public
|
|
2118
2117
|
* <p>The Amazon Resource Name (ARN) of the node. For more information about ARNs and their format, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
2118
|
+
* @public
|
|
2119
2119
|
*/
|
|
2120
2120
|
Arn?: string;
|
|
2121
2121
|
}
|
|
@@ -2124,13 +2124,13 @@ export interface NodeSummary {
|
|
|
2124
2124
|
*/
|
|
2125
2125
|
export interface ListNodesOutput {
|
|
2126
2126
|
/**
|
|
2127
|
-
* @public
|
|
2128
2127
|
* <p>An array of <code>NodeSummary</code> objects that contain configuration properties for each node.</p>
|
|
2128
|
+
* @public
|
|
2129
2129
|
*/
|
|
2130
2130
|
Nodes?: NodeSummary[];
|
|
2131
2131
|
/**
|
|
2132
|
-
* @public
|
|
2133
2132
|
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
2133
|
+
* @public
|
|
2134
2134
|
*/
|
|
2135
2135
|
NextToken?: string;
|
|
2136
2136
|
}
|
|
@@ -2139,63 +2139,62 @@ export interface ListNodesOutput {
|
|
|
2139
2139
|
*/
|
|
2140
2140
|
export interface ListProposalsInput {
|
|
2141
2141
|
/**
|
|
2142
|
-
* @public
|
|
2143
2142
|
* <p>
|
|
2144
2143
|
* The unique identifier of the network.
|
|
2145
2144
|
* </p>
|
|
2145
|
+
* @public
|
|
2146
2146
|
*/
|
|
2147
2147
|
NetworkId: string | undefined;
|
|
2148
2148
|
/**
|
|
2149
|
-
* @public
|
|
2150
2149
|
* <p>
|
|
2151
2150
|
* The maximum number of proposals to return.
|
|
2152
2151
|
* </p>
|
|
2152
|
+
* @public
|
|
2153
2153
|
*/
|
|
2154
2154
|
MaxResults?: number;
|
|
2155
2155
|
/**
|
|
2156
|
-
* @public
|
|
2157
2156
|
* <p>
|
|
2158
2157
|
* The pagination token that indicates the next set of results to retrieve.
|
|
2159
2158
|
* </p>
|
|
2159
|
+
* @public
|
|
2160
2160
|
*/
|
|
2161
2161
|
NextToken?: string;
|
|
2162
2162
|
}
|
|
2163
2163
|
/**
|
|
2164
|
-
* @public
|
|
2165
2164
|
* <p>Properties of a proposal.</p>
|
|
2166
2165
|
* <p>Applies only to Hyperledger Fabric.</p>
|
|
2166
|
+
* @public
|
|
2167
2167
|
*/
|
|
2168
2168
|
export interface ProposalSummary {
|
|
2169
2169
|
/**
|
|
2170
|
-
* @public
|
|
2171
2170
|
* <p>
|
|
2172
2171
|
* The unique identifier of the proposal.
|
|
2173
2172
|
* </p>
|
|
2173
|
+
* @public
|
|
2174
2174
|
*/
|
|
2175
2175
|
ProposalId?: string;
|
|
2176
2176
|
/**
|
|
2177
|
-
* @public
|
|
2178
2177
|
* <p>
|
|
2179
2178
|
* The description of the proposal.
|
|
2180
2179
|
* </p>
|
|
2180
|
+
* @public
|
|
2181
2181
|
*/
|
|
2182
2182
|
Description?: string;
|
|
2183
2183
|
/**
|
|
2184
|
-
* @public
|
|
2185
2184
|
* <p>
|
|
2186
2185
|
* The unique identifier of the member that created the proposal.
|
|
2187
2186
|
* </p>
|
|
2187
|
+
* @public
|
|
2188
2188
|
*/
|
|
2189
2189
|
ProposedByMemberId?: string;
|
|
2190
2190
|
/**
|
|
2191
|
-
* @public
|
|
2192
2191
|
* <p>
|
|
2193
2192
|
* The name of the member that created the proposal.
|
|
2194
2193
|
* </p>
|
|
2194
|
+
* @public
|
|
2195
2195
|
*/
|
|
2196
2196
|
ProposedByMemberName?: string;
|
|
2197
2197
|
/**
|
|
2198
|
-
* @public
|
|
2199
2198
|
* <p>The status of the proposal. Values are as follows:</p>
|
|
2200
2199
|
* <ul>
|
|
2201
2200
|
* <li>
|
|
@@ -2219,25 +2218,26 @@ export interface ProposalSummary {
|
|
|
2219
2218
|
* <code>ACTION_FAILED</code> - One or more of the specified <code>ProposalActions</code> in a proposal that was approved couldn't be completed because of an error.</p>
|
|
2220
2219
|
* </li>
|
|
2221
2220
|
* </ul>
|
|
2221
|
+
* @public
|
|
2222
2222
|
*/
|
|
2223
2223
|
Status?: ProposalStatus;
|
|
2224
2224
|
/**
|
|
2225
|
-
* @public
|
|
2226
2225
|
* <p>
|
|
2227
2226
|
* The date and time that the proposal was created.
|
|
2228
2227
|
* </p>
|
|
2228
|
+
* @public
|
|
2229
2229
|
*/
|
|
2230
2230
|
CreationDate?: Date;
|
|
2231
2231
|
/**
|
|
2232
|
-
* @public
|
|
2233
2232
|
* <p>
|
|
2234
2233
|
* The date and time that the proposal expires. This is the <code>CreationDate</code> plus the <code>ProposalDurationInHours</code> that is specified in the <code>ProposalThresholdPolicy</code>. After this date and time, if members haven't cast enough votes to determine the outcome according to the voting policy, the proposal is <code>EXPIRED</code> and <code>Actions</code> aren't carried out.
|
|
2235
2234
|
* </p>
|
|
2235
|
+
* @public
|
|
2236
2236
|
*/
|
|
2237
2237
|
ExpirationDate?: Date;
|
|
2238
2238
|
/**
|
|
2239
|
-
* @public
|
|
2240
2239
|
* <p>The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
2240
|
+
* @public
|
|
2241
2241
|
*/
|
|
2242
2242
|
Arn?: string;
|
|
2243
2243
|
}
|
|
@@ -2246,13 +2246,13 @@ export interface ProposalSummary {
|
|
|
2246
2246
|
*/
|
|
2247
2247
|
export interface ListProposalsOutput {
|
|
2248
2248
|
/**
|
|
2249
|
-
* @public
|
|
2250
2249
|
* <p>The summary of each proposal made on the network.</p>
|
|
2250
|
+
* @public
|
|
2251
2251
|
*/
|
|
2252
2252
|
Proposals?: ProposalSummary[];
|
|
2253
2253
|
/**
|
|
2254
|
-
* @public
|
|
2255
2254
|
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
2255
|
+
* @public
|
|
2256
2256
|
*/
|
|
2257
2257
|
NextToken?: string;
|
|
2258
2258
|
}
|
|
@@ -2261,31 +2261,31 @@ export interface ListProposalsOutput {
|
|
|
2261
2261
|
*/
|
|
2262
2262
|
export interface ListProposalVotesInput {
|
|
2263
2263
|
/**
|
|
2264
|
-
* @public
|
|
2265
2264
|
* <p>
|
|
2266
2265
|
* The unique identifier of the network.
|
|
2267
2266
|
* </p>
|
|
2267
|
+
* @public
|
|
2268
2268
|
*/
|
|
2269
2269
|
NetworkId: string | undefined;
|
|
2270
2270
|
/**
|
|
2271
|
-
* @public
|
|
2272
2271
|
* <p>
|
|
2273
2272
|
* The unique identifier of the proposal.
|
|
2274
2273
|
* </p>
|
|
2274
|
+
* @public
|
|
2275
2275
|
*/
|
|
2276
2276
|
ProposalId: string | undefined;
|
|
2277
2277
|
/**
|
|
2278
|
-
* @public
|
|
2279
2278
|
* <p>
|
|
2280
2279
|
* The maximum number of votes to return.
|
|
2281
2280
|
* </p>
|
|
2281
|
+
* @public
|
|
2282
2282
|
*/
|
|
2283
2283
|
MaxResults?: number;
|
|
2284
2284
|
/**
|
|
2285
|
-
* @public
|
|
2286
2285
|
* <p>
|
|
2287
2286
|
* The pagination token that indicates the next set of results to retrieve.
|
|
2288
2287
|
* </p>
|
|
2288
|
+
* @public
|
|
2289
2289
|
*/
|
|
2290
2290
|
NextToken?: string;
|
|
2291
2291
|
}
|
|
@@ -2302,32 +2302,32 @@ export declare const VoteValue: {
|
|
|
2302
2302
|
*/
|
|
2303
2303
|
export type VoteValue = (typeof VoteValue)[keyof typeof VoteValue];
|
|
2304
2304
|
/**
|
|
2305
|
-
* @public
|
|
2306
2305
|
* <p>
|
|
2307
2306
|
* Properties of an individual vote that a member cast for a proposal.
|
|
2308
2307
|
* </p>
|
|
2309
2308
|
* <p>Applies only to Hyperledger Fabric.</p>
|
|
2309
|
+
* @public
|
|
2310
2310
|
*/
|
|
2311
2311
|
export interface VoteSummary {
|
|
2312
2312
|
/**
|
|
2313
|
-
* @public
|
|
2314
2313
|
* <p>
|
|
2315
2314
|
* The vote value, either <code>YES</code> or <code>NO</code>.
|
|
2316
2315
|
* </p>
|
|
2316
|
+
* @public
|
|
2317
2317
|
*/
|
|
2318
2318
|
Vote?: VoteValue;
|
|
2319
2319
|
/**
|
|
2320
|
-
* @public
|
|
2321
2320
|
* <p>
|
|
2322
2321
|
* The name of the member that cast the vote.
|
|
2323
2322
|
* </p>
|
|
2323
|
+
* @public
|
|
2324
2324
|
*/
|
|
2325
2325
|
MemberName?: string;
|
|
2326
2326
|
/**
|
|
2327
|
-
* @public
|
|
2328
2327
|
* <p>
|
|
2329
2328
|
* The unique identifier of the member that cast the vote.
|
|
2330
2329
|
* </p>
|
|
2330
|
+
* @public
|
|
2331
2331
|
*/
|
|
2332
2332
|
MemberId?: string;
|
|
2333
2333
|
}
|
|
@@ -2336,17 +2336,17 @@ export interface VoteSummary {
|
|
|
2336
2336
|
*/
|
|
2337
2337
|
export interface ListProposalVotesOutput {
|
|
2338
2338
|
/**
|
|
2339
|
-
* @public
|
|
2340
2339
|
* <p>
|
|
2341
2340
|
* The list of votes.
|
|
2342
2341
|
* </p>
|
|
2342
|
+
* @public
|
|
2343
2343
|
*/
|
|
2344
2344
|
ProposalVotes?: VoteSummary[];
|
|
2345
2345
|
/**
|
|
2346
|
-
* @public
|
|
2347
2346
|
* <p>
|
|
2348
2347
|
* The pagination token that indicates the next set of results to retrieve.
|
|
2349
2348
|
* </p>
|
|
2349
|
+
* @public
|
|
2350
2350
|
*/
|
|
2351
2351
|
NextToken?: string;
|
|
2352
2352
|
}
|
|
@@ -2355,8 +2355,8 @@ export interface ListProposalVotesOutput {
|
|
|
2355
2355
|
*/
|
|
2356
2356
|
export interface ListTagsForResourceRequest {
|
|
2357
2357
|
/**
|
|
2358
|
-
* @public
|
|
2359
2358
|
* <p>The Amazon Resource Name (ARN) of the resource. For more information about ARNs and their format, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
2359
|
+
* @public
|
|
2360
2360
|
*/
|
|
2361
2361
|
ResourceArn: string | undefined;
|
|
2362
2362
|
}
|
|
@@ -2365,8 +2365,8 @@ export interface ListTagsForResourceRequest {
|
|
|
2365
2365
|
*/
|
|
2366
2366
|
export interface ListTagsForResourceResponse {
|
|
2367
2367
|
/**
|
|
2368
|
-
* @public
|
|
2369
2368
|
* <p>The tags assigned to the resource.</p>
|
|
2369
|
+
* @public
|
|
2370
2370
|
*/
|
|
2371
2371
|
Tags?: Record<string, string>;
|
|
2372
2372
|
}
|
|
@@ -2375,8 +2375,8 @@ export interface ListTagsForResourceResponse {
|
|
|
2375
2375
|
*/
|
|
2376
2376
|
export interface RejectInvitationInput {
|
|
2377
2377
|
/**
|
|
2378
|
-
* @public
|
|
2379
2378
|
* <p>The unique identifier of the invitation to reject.</p>
|
|
2379
|
+
* @public
|
|
2380
2380
|
*/
|
|
2381
2381
|
InvitationId: string | undefined;
|
|
2382
2382
|
}
|
|
@@ -2390,13 +2390,13 @@ export interface RejectInvitationOutput {
|
|
|
2390
2390
|
*/
|
|
2391
2391
|
export interface TagResourceRequest {
|
|
2392
2392
|
/**
|
|
2393
|
-
* @public
|
|
2394
2393
|
* <p>The Amazon Resource Name (ARN) of the resource. For more information about ARNs and their format, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
2394
|
+
* @public
|
|
2395
2395
|
*/
|
|
2396
2396
|
ResourceArn: string | undefined;
|
|
2397
2397
|
/**
|
|
2398
|
-
* @public
|
|
2399
2398
|
* <p>The tags to assign to the specified resource. Tag values can be empty, for example, <code>"MyTagKey" : ""</code>. You can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.</p>
|
|
2399
|
+
* @public
|
|
2400
2400
|
*/
|
|
2401
2401
|
Tags: Record<string, string> | undefined;
|
|
2402
2402
|
}
|
|
@@ -2410,13 +2410,13 @@ export interface TagResourceResponse {
|
|
|
2410
2410
|
*/
|
|
2411
2411
|
export interface UntagResourceRequest {
|
|
2412
2412
|
/**
|
|
2413
|
-
* @public
|
|
2414
2413
|
* <p>The Amazon Resource Name (ARN) of the resource. For more information about ARNs and their format, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
2414
|
+
* @public
|
|
2415
2415
|
*/
|
|
2416
2416
|
ResourceArn: string | undefined;
|
|
2417
2417
|
/**
|
|
2418
|
-
* @public
|
|
2419
2418
|
* <p>The tag keys.</p>
|
|
2419
|
+
* @public
|
|
2420
2420
|
*/
|
|
2421
2421
|
TagKeys: string[] | undefined;
|
|
2422
2422
|
}
|
|
@@ -2430,18 +2430,18 @@ export interface UntagResourceResponse {
|
|
|
2430
2430
|
*/
|
|
2431
2431
|
export interface UpdateMemberInput {
|
|
2432
2432
|
/**
|
|
2433
|
-
* @public
|
|
2434
2433
|
* <p>The unique identifier of the Managed Blockchain network to which the member belongs.</p>
|
|
2434
|
+
* @public
|
|
2435
2435
|
*/
|
|
2436
2436
|
NetworkId: string | undefined;
|
|
2437
2437
|
/**
|
|
2438
|
-
* @public
|
|
2439
2438
|
* <p>The unique identifier of the member.</p>
|
|
2439
|
+
* @public
|
|
2440
2440
|
*/
|
|
2441
2441
|
MemberId: string | undefined;
|
|
2442
2442
|
/**
|
|
2443
|
-
* @public
|
|
2444
2443
|
* <p>Configuration properties for publishing to Amazon CloudWatch Logs.</p>
|
|
2444
|
+
* @public
|
|
2445
2445
|
*/
|
|
2446
2446
|
LogPublishingConfiguration?: MemberLogPublishingConfiguration;
|
|
2447
2447
|
}
|
|
@@ -2455,24 +2455,24 @@ export interface UpdateMemberOutput {
|
|
|
2455
2455
|
*/
|
|
2456
2456
|
export interface UpdateNodeInput {
|
|
2457
2457
|
/**
|
|
2458
|
-
* @public
|
|
2459
2458
|
* <p>The unique identifier of the network that the node is on.</p>
|
|
2459
|
+
* @public
|
|
2460
2460
|
*/
|
|
2461
2461
|
NetworkId: string | undefined;
|
|
2462
2462
|
/**
|
|
2463
|
-
* @public
|
|
2464
2463
|
* <p>The unique identifier of the member that owns the node.</p>
|
|
2465
2464
|
* <p>Applies only to Hyperledger Fabric.</p>
|
|
2465
|
+
* @public
|
|
2466
2466
|
*/
|
|
2467
2467
|
MemberId?: string;
|
|
2468
2468
|
/**
|
|
2469
|
-
* @public
|
|
2470
2469
|
* <p>The unique identifier of the node.</p>
|
|
2470
|
+
* @public
|
|
2471
2471
|
*/
|
|
2472
2472
|
NodeId: string | undefined;
|
|
2473
2473
|
/**
|
|
2474
|
-
* @public
|
|
2475
2474
|
* <p>Configuration properties for publishing to Amazon CloudWatch Logs.</p>
|
|
2475
|
+
* @public
|
|
2476
2476
|
*/
|
|
2477
2477
|
LogPublishingConfiguration?: NodeLogPublishingConfiguration;
|
|
2478
2478
|
}
|
|
@@ -2486,30 +2486,30 @@ export interface UpdateNodeOutput {
|
|
|
2486
2486
|
*/
|
|
2487
2487
|
export interface VoteOnProposalInput {
|
|
2488
2488
|
/**
|
|
2489
|
-
* @public
|
|
2490
2489
|
* <p>
|
|
2491
2490
|
* The unique identifier of the network.
|
|
2492
2491
|
* </p>
|
|
2492
|
+
* @public
|
|
2493
2493
|
*/
|
|
2494
2494
|
NetworkId: string | undefined;
|
|
2495
2495
|
/**
|
|
2496
|
-
* @public
|
|
2497
2496
|
* <p>
|
|
2498
2497
|
* The unique identifier of the proposal.
|
|
2499
2498
|
* </p>
|
|
2499
|
+
* @public
|
|
2500
2500
|
*/
|
|
2501
2501
|
ProposalId: string | undefined;
|
|
2502
2502
|
/**
|
|
2503
|
-
* @public
|
|
2504
2503
|
* <p>The unique identifier of the member casting the vote.
|
|
2505
2504
|
* </p>
|
|
2505
|
+
* @public
|
|
2506
2506
|
*/
|
|
2507
2507
|
VoterMemberId: string | undefined;
|
|
2508
2508
|
/**
|
|
2509
|
-
* @public
|
|
2510
2509
|
* <p>
|
|
2511
2510
|
* The value of the vote.
|
|
2512
2511
|
* </p>
|
|
2512
|
+
* @public
|
|
2513
2513
|
*/
|
|
2514
2514
|
Vote: VoteValue | undefined;
|
|
2515
2515
|
}
|