@aws-sdk/client-managedblockchain 3.36.0 → 3.36.1
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/CHANGELOG.md +11 -0
- package/dist-cjs/ManagedBlockchain.js +0 -6
- package/dist-cjs/ManagedBlockchainClient.js +0 -11
- package/dist-cjs/commands/CreateMemberCommand.js +0 -25
- package/dist-cjs/commands/CreateNetworkCommand.js +0 -25
- package/dist-cjs/commands/CreateNodeCommand.js +0 -25
- package/dist-cjs/commands/CreateProposalCommand.js +0 -25
- package/dist-cjs/commands/DeleteMemberCommand.js +0 -25
- package/dist-cjs/commands/DeleteNodeCommand.js +0 -25
- package/dist-cjs/commands/GetMemberCommand.js +0 -25
- package/dist-cjs/commands/GetNetworkCommand.js +0 -25
- package/dist-cjs/commands/GetNodeCommand.js +0 -25
- package/dist-cjs/commands/GetProposalCommand.js +0 -25
- package/dist-cjs/commands/ListInvitationsCommand.js +0 -25
- package/dist-cjs/commands/ListMembersCommand.js +0 -25
- package/dist-cjs/commands/ListNetworksCommand.js +0 -25
- package/dist-cjs/commands/ListNodesCommand.js +0 -25
- package/dist-cjs/commands/ListProposalVotesCommand.js +0 -25
- package/dist-cjs/commands/ListProposalsCommand.js +0 -25
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/RejectInvitationCommand.js +0 -25
- package/dist-cjs/commands/TagResourceCommand.js +0 -27
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateMemberCommand.js +0 -25
- package/dist-cjs/commands/UpdateNodeCommand.js +0 -25
- package/dist-cjs/commands/VoteOnProposalCommand.js +0 -25
- package/dist-cjs/models/models_0.js +0 -273
- package/dist-cjs/pagination/ListInvitationsPaginator.js +0 -10
- package/dist-cjs/pagination/ListMembersPaginator.js +0 -10
- package/dist-cjs/pagination/ListNetworksPaginator.js +0 -10
- package/dist-cjs/pagination/ListNodesPaginator.js +0 -10
- package/dist-cjs/pagination/ListProposalVotesPaginator.js +0 -10
- package/dist-cjs/pagination/ListProposalsPaginator.js +0 -10
- package/dist-cjs/protocols/Aws_restJson1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-types/ts3.4/ManagedBlockchain.d.ts +24 -100
- package/dist-types/ts3.4/ManagedBlockchainClient.d.ts +24 -92
- package/dist-types/ts3.4/commands/CreateMemberCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateNetworkCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateNodeCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateProposalCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteMemberCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteNodeCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetMemberCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetNetworkCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetNodeCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetProposalCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListNetworksCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListNodesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListProposalVotesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListProposalsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/RejectInvitationCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateMemberCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateNodeCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/VoteOnProposalCommand.d.ts +2 -21
- package/dist-types/ts3.4/models/models_0.d.ts +371 -1455
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +3 -3
|
@@ -1,345 +1,210 @@
|
|
|
1
1
|
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
* <p>You do not have sufficient access to perform this action.</p>
|
|
4
|
-
*/
|
|
2
|
+
|
|
5
3
|
export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
|
|
6
4
|
name: "AccessDeniedException";
|
|
7
5
|
$fault: "client";
|
|
8
6
|
Message?: string;
|
|
9
7
|
}
|
|
10
8
|
export declare namespace AccessDeniedException {
|
|
11
|
-
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
9
|
+
|
|
14
10
|
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
15
11
|
}
|
|
16
12
|
export declare enum ThresholdComparator {
|
|
17
13
|
GREATER_THAN = "GREATER_THAN",
|
|
18
14
|
GREATER_THAN_OR_EQUAL_TO = "GREATER_THAN_OR_EQUAL_TO"
|
|
19
15
|
}
|
|
20
|
-
|
|
21
|
-
* <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>
|
|
22
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
23
|
-
*/
|
|
16
|
+
|
|
24
17
|
export interface ApprovalThresholdPolicy {
|
|
25
|
-
|
|
26
|
-
* <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>
|
|
27
|
-
*/
|
|
18
|
+
|
|
28
19
|
ThresholdPercentage?: number;
|
|
29
|
-
|
|
30
|
-
* <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> are not carried out.</p>
|
|
31
|
-
*/
|
|
20
|
+
|
|
32
21
|
ProposalDurationInHours?: number;
|
|
33
|
-
|
|
34
|
-
* <p>Determines whether the vote percentage must be greater than the <code>ThresholdPercentage</code> or must be greater than or equal to the <code>ThreholdPercentage</code> to be approved.</p>
|
|
35
|
-
*/
|
|
22
|
+
|
|
36
23
|
ThresholdComparator?: ThresholdComparator | string;
|
|
37
24
|
}
|
|
38
25
|
export declare namespace ApprovalThresholdPolicy {
|
|
39
|
-
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
26
|
+
|
|
42
27
|
const filterSensitiveLog: (obj: ApprovalThresholdPolicy) => any;
|
|
43
28
|
}
|
|
44
|
-
|
|
45
|
-
* <p>Configuration properties for Hyperledger Fabric for a member in a Managed Blockchain network using the Hyperledger Fabric framework.</p>
|
|
46
|
-
*/
|
|
29
|
+
|
|
47
30
|
export interface MemberFabricConfiguration {
|
|
48
|
-
|
|
49
|
-
* <p>The user name for the member's initial administrative user.</p>
|
|
50
|
-
*/
|
|
31
|
+
|
|
51
32
|
AdminUsername: string | undefined;
|
|
52
|
-
|
|
53
|
-
* <p>The password for the member's initial administrative user. The <code>AdminPassword</code> must be at least eight 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>
|
|
54
|
-
*/
|
|
33
|
+
|
|
55
34
|
AdminPassword: string | undefined;
|
|
56
35
|
}
|
|
57
36
|
export declare namespace MemberFabricConfiguration {
|
|
58
|
-
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
37
|
+
|
|
61
38
|
const filterSensitiveLog: (obj: MemberFabricConfiguration) => any;
|
|
62
39
|
}
|
|
63
|
-
|
|
64
|
-
* <p>Configuration properties relevant to a member for the blockchain framework that the Managed Blockchain network uses.</p>
|
|
65
|
-
*/
|
|
40
|
+
|
|
66
41
|
export interface MemberFrameworkConfiguration {
|
|
67
|
-
|
|
68
|
-
* <p>Attributes of Hyperledger Fabric for a member on a Managed Blockchain network that uses Hyperledger Fabric.</p>
|
|
69
|
-
*/
|
|
42
|
+
|
|
70
43
|
Fabric?: MemberFabricConfiguration;
|
|
71
44
|
}
|
|
72
45
|
export declare namespace MemberFrameworkConfiguration {
|
|
73
|
-
|
|
74
|
-
* @internal
|
|
75
|
-
*/
|
|
46
|
+
|
|
76
47
|
const filterSensitiveLog: (obj: MemberFrameworkConfiguration) => any;
|
|
77
48
|
}
|
|
78
|
-
|
|
79
|
-
* <p>A configuration for logging events.</p>
|
|
80
|
-
*/
|
|
49
|
+
|
|
81
50
|
export interface LogConfiguration {
|
|
82
|
-
|
|
83
|
-
* <p>Indicates whether logging is enabled.</p>
|
|
84
|
-
*/
|
|
51
|
+
|
|
85
52
|
Enabled?: boolean;
|
|
86
53
|
}
|
|
87
54
|
export declare namespace LogConfiguration {
|
|
88
|
-
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
55
|
+
|
|
91
56
|
const filterSensitiveLog: (obj: LogConfiguration) => any;
|
|
92
57
|
}
|
|
93
|
-
|
|
94
|
-
* <p>A collection of log configurations.</p>
|
|
95
|
-
*/
|
|
58
|
+
|
|
96
59
|
export interface LogConfigurations {
|
|
97
|
-
|
|
98
|
-
* <p>Parameters for publishing logs to Amazon CloudWatch Logs.</p>
|
|
99
|
-
*/
|
|
60
|
+
|
|
100
61
|
Cloudwatch?: LogConfiguration;
|
|
101
62
|
}
|
|
102
63
|
export declare namespace LogConfigurations {
|
|
103
|
-
|
|
104
|
-
* @internal
|
|
105
|
-
*/
|
|
64
|
+
|
|
106
65
|
const filterSensitiveLog: (obj: LogConfigurations) => any;
|
|
107
66
|
}
|
|
108
|
-
|
|
109
|
-
* <p>Configuration properties for logging events associated with a member of a Managed Blockchain network using the Hyperledger Fabric framework.</p>
|
|
110
|
-
*/
|
|
67
|
+
|
|
111
68
|
export interface MemberFabricLogPublishingConfiguration {
|
|
112
|
-
|
|
113
|
-
* <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>
|
|
114
|
-
*/
|
|
69
|
+
|
|
115
70
|
CaLogs?: LogConfigurations;
|
|
116
71
|
}
|
|
117
72
|
export declare namespace MemberFabricLogPublishingConfiguration {
|
|
118
|
-
|
|
119
|
-
* @internal
|
|
120
|
-
*/
|
|
73
|
+
|
|
121
74
|
const filterSensitiveLog: (obj: MemberFabricLogPublishingConfiguration) => any;
|
|
122
75
|
}
|
|
123
|
-
|
|
124
|
-
* <p>Configuration properties for logging events associated with a member of a Managed Blockchain network.</p>
|
|
125
|
-
*/
|
|
76
|
+
|
|
126
77
|
export interface MemberLogPublishingConfiguration {
|
|
127
|
-
|
|
128
|
-
* <p>Configuration properties for logging events associated with a member of a Managed Blockchain network using the Hyperledger Fabric framework.</p>
|
|
129
|
-
*/
|
|
78
|
+
|
|
130
79
|
Fabric?: MemberFabricLogPublishingConfiguration;
|
|
131
80
|
}
|
|
132
81
|
export declare namespace MemberLogPublishingConfiguration {
|
|
133
|
-
|
|
134
|
-
* @internal
|
|
135
|
-
*/
|
|
82
|
+
|
|
136
83
|
const filterSensitiveLog: (obj: MemberLogPublishingConfiguration) => any;
|
|
137
84
|
}
|
|
138
|
-
|
|
139
|
-
* <p>Configuration properties of the member.</p>
|
|
140
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
141
|
-
*/
|
|
85
|
+
|
|
142
86
|
export interface MemberConfiguration {
|
|
143
|
-
|
|
144
|
-
* <p>The name of the member.</p>
|
|
145
|
-
*/
|
|
87
|
+
|
|
146
88
|
Name: string | undefined;
|
|
147
|
-
|
|
148
|
-
* <p>An optional description of the member.</p>
|
|
149
|
-
*/
|
|
89
|
+
|
|
150
90
|
Description?: string;
|
|
151
|
-
|
|
152
|
-
* <p>Configuration properties of the blockchain framework relevant to the member.</p>
|
|
153
|
-
*/
|
|
91
|
+
|
|
154
92
|
FrameworkConfiguration: MemberFrameworkConfiguration | undefined;
|
|
155
|
-
|
|
156
|
-
* <p>Configuration properties for logging events associated with a member of a Managed Blockchain network.</p>
|
|
157
|
-
*/
|
|
93
|
+
|
|
158
94
|
LogPublishingConfiguration?: MemberLogPublishingConfiguration;
|
|
159
|
-
|
|
160
|
-
* <p>Tags assigned to the member. Tags consist of a key and optional value. For more information about tags, see <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>
|
|
161
|
-
* <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>
|
|
162
|
-
*/
|
|
95
|
+
|
|
163
96
|
Tags?: {
|
|
164
97
|
[key: string]: string;
|
|
165
98
|
};
|
|
166
|
-
|
|
167
|
-
* <p>The Amazon Resource Name (ARN) of the customer managed key in AWS Key Management Service (AWS KMS) to use for encryption at rest in the member. This parameter is inherited by any nodes that this member creates.</p>
|
|
168
|
-
* <p>Use one of the following options to specify this parameter:</p>
|
|
169
|
-
* <ul>
|
|
170
|
-
* <li>
|
|
171
|
-
* <p>
|
|
172
|
-
* <b>Undefined or empty string</b> - The member uses an AWS owned KMS key for encryption by default.</p>
|
|
173
|
-
* </li>
|
|
174
|
-
* <li>
|
|
175
|
-
* <p>
|
|
176
|
-
* <b>A valid symmetric customer managed KMS key</b> - The member uses the specified key for encryption.</p>
|
|
177
|
-
* <p>Amazon Managed Blockchain doesn't support asymmetric keys. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using symmetric and asymmetric keys</a> in the <i>AWS Key Management Service Developer Guide</i>.</p>
|
|
178
|
-
* <p>The following is an example of a KMS key ARN: <code>arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>
|
|
179
|
-
* </p>
|
|
180
|
-
* </li>
|
|
181
|
-
* </ul>
|
|
182
|
-
*/
|
|
99
|
+
|
|
183
100
|
KmsKeyArn?: string;
|
|
184
101
|
}
|
|
185
102
|
export declare namespace MemberConfiguration {
|
|
186
|
-
|
|
187
|
-
* @internal
|
|
188
|
-
*/
|
|
103
|
+
|
|
189
104
|
const filterSensitiveLog: (obj: MemberConfiguration) => any;
|
|
190
105
|
}
|
|
191
106
|
export interface CreateMemberInput {
|
|
192
|
-
|
|
193
|
-
* <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 AWS SDK or the AWS CLI.</p>
|
|
194
|
-
*/
|
|
107
|
+
|
|
195
108
|
ClientRequestToken?: string;
|
|
196
|
-
|
|
197
|
-
* <p>The unique identifier of the invitation that is sent to the member to join the network.</p>
|
|
198
|
-
*/
|
|
109
|
+
|
|
199
110
|
InvitationId: string | undefined;
|
|
200
|
-
|
|
201
|
-
* <p>The unique identifier of the network in which the member is created.</p>
|
|
202
|
-
*/
|
|
111
|
+
|
|
203
112
|
NetworkId: string | undefined;
|
|
204
|
-
|
|
205
|
-
* <p>Member configuration parameters.</p>
|
|
206
|
-
*/
|
|
113
|
+
|
|
207
114
|
MemberConfiguration: MemberConfiguration | undefined;
|
|
208
115
|
}
|
|
209
116
|
export declare namespace CreateMemberInput {
|
|
210
|
-
|
|
211
|
-
* @internal
|
|
212
|
-
*/
|
|
117
|
+
|
|
213
118
|
const filterSensitiveLog: (obj: CreateMemberInput) => any;
|
|
214
119
|
}
|
|
215
120
|
export interface CreateMemberOutput {
|
|
216
|
-
|
|
217
|
-
* <p>The unique identifier of the member.</p>
|
|
218
|
-
*/
|
|
121
|
+
|
|
219
122
|
MemberId?: string;
|
|
220
123
|
}
|
|
221
124
|
export declare namespace CreateMemberOutput {
|
|
222
|
-
|
|
223
|
-
* @internal
|
|
224
|
-
*/
|
|
125
|
+
|
|
225
126
|
const filterSensitiveLog: (obj: CreateMemberOutput) => any;
|
|
226
127
|
}
|
|
227
|
-
|
|
228
|
-
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
229
|
-
*/
|
|
128
|
+
|
|
230
129
|
export interface InternalServiceErrorException extends __SmithyException, $MetadataBearer {
|
|
231
130
|
name: "InternalServiceErrorException";
|
|
232
131
|
$fault: "server";
|
|
233
132
|
}
|
|
234
133
|
export declare namespace InternalServiceErrorException {
|
|
235
|
-
|
|
236
|
-
* @internal
|
|
237
|
-
*/
|
|
134
|
+
|
|
238
135
|
const filterSensitiveLog: (obj: InternalServiceErrorException) => any;
|
|
239
136
|
}
|
|
240
|
-
|
|
241
|
-
* <p>The action or operation requested is invalid. Verify that the action is typed correctly.</p>
|
|
242
|
-
*/
|
|
137
|
+
|
|
243
138
|
export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
|
|
244
139
|
name: "InvalidRequestException";
|
|
245
140
|
$fault: "client";
|
|
246
141
|
Message?: string;
|
|
247
142
|
}
|
|
248
143
|
export declare namespace InvalidRequestException {
|
|
249
|
-
|
|
250
|
-
* @internal
|
|
251
|
-
*/
|
|
144
|
+
|
|
252
145
|
const filterSensitiveLog: (obj: InvalidRequestException) => any;
|
|
253
146
|
}
|
|
254
|
-
|
|
255
|
-
* <p>A resource request is issued for a resource that already exists.</p>
|
|
256
|
-
*/
|
|
147
|
+
|
|
257
148
|
export interface ResourceAlreadyExistsException extends __SmithyException, $MetadataBearer {
|
|
258
149
|
name: "ResourceAlreadyExistsException";
|
|
259
150
|
$fault: "client";
|
|
260
151
|
Message?: string;
|
|
261
152
|
}
|
|
262
153
|
export declare namespace ResourceAlreadyExistsException {
|
|
263
|
-
|
|
264
|
-
* @internal
|
|
265
|
-
*/
|
|
154
|
+
|
|
266
155
|
const filterSensitiveLog: (obj: ResourceAlreadyExistsException) => any;
|
|
267
156
|
}
|
|
268
|
-
|
|
269
|
-
* <p>The maximum number of resources of that type already exist. Ensure the resources requested are within the boundaries of the service edition and your account limits.</p>
|
|
270
|
-
*/
|
|
157
|
+
|
|
271
158
|
export interface ResourceLimitExceededException extends __SmithyException, $MetadataBearer {
|
|
272
159
|
name: "ResourceLimitExceededException";
|
|
273
160
|
$fault: "client";
|
|
274
161
|
Message?: string;
|
|
275
162
|
}
|
|
276
163
|
export declare namespace ResourceLimitExceededException {
|
|
277
|
-
|
|
278
|
-
* @internal
|
|
279
|
-
*/
|
|
164
|
+
|
|
280
165
|
const filterSensitiveLog: (obj: ResourceLimitExceededException) => any;
|
|
281
166
|
}
|
|
282
|
-
|
|
283
|
-
* <p>A requested resource does not exist. It may have been deleted or referenced inaccurately.</p>
|
|
284
|
-
*/
|
|
167
|
+
|
|
285
168
|
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
286
169
|
name: "ResourceNotFoundException";
|
|
287
170
|
$fault: "client";
|
|
288
171
|
Message?: string;
|
|
289
|
-
|
|
290
|
-
* <p>A requested resource does not exist. It may have been deleted or referenced inaccurately.</p>
|
|
291
|
-
*/
|
|
172
|
+
|
|
292
173
|
ResourceName?: string;
|
|
293
174
|
}
|
|
294
175
|
export declare namespace ResourceNotFoundException {
|
|
295
|
-
|
|
296
|
-
* @internal
|
|
297
|
-
*/
|
|
176
|
+
|
|
298
177
|
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
299
178
|
}
|
|
300
|
-
|
|
301
|
-
* <p>The requested resource exists but is not in a status that can complete the operation.</p>
|
|
302
|
-
*/
|
|
179
|
+
|
|
303
180
|
export interface ResourceNotReadyException extends __SmithyException, $MetadataBearer {
|
|
304
181
|
name: "ResourceNotReadyException";
|
|
305
182
|
$fault: "client";
|
|
306
183
|
Message?: string;
|
|
307
184
|
}
|
|
308
185
|
export declare namespace ResourceNotReadyException {
|
|
309
|
-
|
|
310
|
-
* @internal
|
|
311
|
-
*/
|
|
186
|
+
|
|
312
187
|
const filterSensitiveLog: (obj: ResourceNotReadyException) => any;
|
|
313
188
|
}
|
|
314
|
-
|
|
315
|
-
* <p>The request or operation could not be performed because a service is throttling requests. The most common source of throttling errors is launching EC2 instances such that your service limit for EC2 instances is exceeded. Request a limit increase or delete unused resources if possible.</p>
|
|
316
|
-
*/
|
|
189
|
+
|
|
317
190
|
export interface ThrottlingException extends __SmithyException, $MetadataBearer {
|
|
318
191
|
name: "ThrottlingException";
|
|
319
192
|
$fault: "client";
|
|
320
193
|
}
|
|
321
194
|
export declare namespace ThrottlingException {
|
|
322
|
-
|
|
323
|
-
* @internal
|
|
324
|
-
*/
|
|
195
|
+
|
|
325
196
|
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
326
197
|
}
|
|
327
|
-
|
|
328
|
-
* <p></p>
|
|
329
|
-
*/
|
|
198
|
+
|
|
330
199
|
export interface TooManyTagsException extends __SmithyException, $MetadataBearer {
|
|
331
200
|
name: "TooManyTagsException";
|
|
332
201
|
$fault: "client";
|
|
333
202
|
Message?: string;
|
|
334
|
-
|
|
335
|
-
* <p></p>
|
|
336
|
-
*/
|
|
203
|
+
|
|
337
204
|
ResourceName?: string;
|
|
338
205
|
}
|
|
339
206
|
export declare namespace TooManyTagsException {
|
|
340
|
-
|
|
341
|
-
* @internal
|
|
342
|
-
*/
|
|
207
|
+
|
|
343
208
|
const filterSensitiveLog: (obj: TooManyTagsException) => any;
|
|
344
209
|
}
|
|
345
210
|
export declare enum Framework {
|
|
@@ -350,482 +215,253 @@ export declare enum Edition {
|
|
|
350
215
|
STANDARD = "STANDARD",
|
|
351
216
|
STARTER = "STARTER"
|
|
352
217
|
}
|
|
353
|
-
|
|
354
|
-
* <p>Hyperledger Fabric configuration properties for the network.</p>
|
|
355
|
-
*/
|
|
218
|
+
|
|
356
219
|
export interface NetworkFabricConfiguration {
|
|
357
|
-
|
|
358
|
-
* <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>
|
|
359
|
-
*/
|
|
220
|
+
|
|
360
221
|
Edition: Edition | string | undefined;
|
|
361
222
|
}
|
|
362
223
|
export declare namespace NetworkFabricConfiguration {
|
|
363
|
-
|
|
364
|
-
* @internal
|
|
365
|
-
*/
|
|
224
|
+
|
|
366
225
|
const filterSensitiveLog: (obj: NetworkFabricConfiguration) => any;
|
|
367
226
|
}
|
|
368
|
-
|
|
369
|
-
* <p>
|
|
370
|
-
* Configuration properties relevant to the network for the blockchain framework that the network uses.
|
|
371
|
-
* </p>
|
|
372
|
-
*/
|
|
227
|
+
|
|
373
228
|
export interface NetworkFrameworkConfiguration {
|
|
374
|
-
|
|
375
|
-
* <p>
|
|
376
|
-
* Hyperledger Fabric configuration properties for a Managed Blockchain network that uses Hyperledger Fabric.
|
|
377
|
-
* </p>
|
|
378
|
-
*/
|
|
229
|
+
|
|
379
230
|
Fabric?: NetworkFabricConfiguration;
|
|
380
231
|
}
|
|
381
232
|
export declare namespace NetworkFrameworkConfiguration {
|
|
382
|
-
|
|
383
|
-
* @internal
|
|
384
|
-
*/
|
|
233
|
+
|
|
385
234
|
const filterSensitiveLog: (obj: NetworkFrameworkConfiguration) => any;
|
|
386
235
|
}
|
|
387
|
-
|
|
388
|
-
* <p>
|
|
389
|
-
* The voting rules for the network to decide if a proposal is accepted
|
|
390
|
-
* </p>
|
|
391
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
392
|
-
*/
|
|
236
|
+
|
|
393
237
|
export interface VotingPolicy {
|
|
394
|
-
|
|
395
|
-
* <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>
|
|
396
|
-
*/
|
|
238
|
+
|
|
397
239
|
ApprovalThresholdPolicy?: ApprovalThresholdPolicy;
|
|
398
240
|
}
|
|
399
241
|
export declare namespace VotingPolicy {
|
|
400
|
-
|
|
401
|
-
* @internal
|
|
402
|
-
*/
|
|
242
|
+
|
|
403
243
|
const filterSensitiveLog: (obj: VotingPolicy) => any;
|
|
404
244
|
}
|
|
405
245
|
export interface CreateNetworkInput {
|
|
406
|
-
|
|
407
|
-
* <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 AWS SDK or the AWS CLI.</p>
|
|
408
|
-
*/
|
|
246
|
+
|
|
409
247
|
ClientRequestToken?: string;
|
|
410
|
-
|
|
411
|
-
* <p>The name of the network.</p>
|
|
412
|
-
*/
|
|
248
|
+
|
|
413
249
|
Name: string | undefined;
|
|
414
|
-
|
|
415
|
-
* <p>An optional description for the network.</p>
|
|
416
|
-
*/
|
|
250
|
+
|
|
417
251
|
Description?: string;
|
|
418
|
-
|
|
419
|
-
* <p>The blockchain framework that the network uses.</p>
|
|
420
|
-
*/
|
|
252
|
+
|
|
421
253
|
Framework: Framework | string | undefined;
|
|
422
|
-
|
|
423
|
-
* <p>The version of the blockchain framework that the network uses.</p>
|
|
424
|
-
*/
|
|
254
|
+
|
|
425
255
|
FrameworkVersion: string | undefined;
|
|
426
|
-
|
|
427
|
-
* <p>
|
|
428
|
-
* Configuration properties of the blockchain framework relevant to the network configuration.
|
|
429
|
-
* </p>
|
|
430
|
-
*/
|
|
256
|
+
|
|
431
257
|
FrameworkConfiguration?: NetworkFrameworkConfiguration;
|
|
432
|
-
|
|
433
|
-
* <p>
|
|
434
|
-
* The voting rules used by the network to determine if a proposal is approved.
|
|
435
|
-
* </p>
|
|
436
|
-
*/
|
|
258
|
+
|
|
437
259
|
VotingPolicy: VotingPolicy | undefined;
|
|
438
|
-
|
|
439
|
-
* <p>Configuration properties for the first member within the network.</p>
|
|
440
|
-
*/
|
|
260
|
+
|
|
441
261
|
MemberConfiguration: MemberConfiguration | undefined;
|
|
442
|
-
|
|
443
|
-
* <p>Tags to assign to the network. Each tag consists of a key and optional value.</p>
|
|
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>
|
|
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
|
-
*/
|
|
262
|
+
|
|
447
263
|
Tags?: {
|
|
448
264
|
[key: string]: string;
|
|
449
265
|
};
|
|
450
266
|
}
|
|
451
267
|
export declare namespace CreateNetworkInput {
|
|
452
|
-
|
|
453
|
-
* @internal
|
|
454
|
-
*/
|
|
268
|
+
|
|
455
269
|
const filterSensitiveLog: (obj: CreateNetworkInput) => any;
|
|
456
270
|
}
|
|
457
271
|
export interface CreateNetworkOutput {
|
|
458
|
-
|
|
459
|
-
* <p>The unique identifier for the network.</p>
|
|
460
|
-
*/
|
|
272
|
+
|
|
461
273
|
NetworkId?: string;
|
|
462
|
-
|
|
463
|
-
* <p>The unique identifier for the first member within the network.</p>
|
|
464
|
-
*/
|
|
274
|
+
|
|
465
275
|
MemberId?: string;
|
|
466
276
|
}
|
|
467
277
|
export declare namespace CreateNetworkOutput {
|
|
468
|
-
|
|
469
|
-
* @internal
|
|
470
|
-
*/
|
|
278
|
+
|
|
471
279
|
const filterSensitiveLog: (obj: CreateNetworkOutput) => any;
|
|
472
280
|
}
|
|
473
|
-
|
|
474
|
-
* <p>Configuration properties for logging events associated with a peer node owned by a member in a Managed Blockchain network.</p>
|
|
475
|
-
*/
|
|
281
|
+
|
|
476
282
|
export interface NodeFabricLogPublishingConfiguration {
|
|
477
|
-
|
|
478
|
-
* <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>
|
|
479
|
-
*/
|
|
283
|
+
|
|
480
284
|
ChaincodeLogs?: LogConfigurations;
|
|
481
|
-
|
|
482
|
-
* <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>
|
|
483
|
-
*/
|
|
285
|
+
|
|
484
286
|
PeerLogs?: LogConfigurations;
|
|
485
287
|
}
|
|
486
288
|
export declare namespace NodeFabricLogPublishingConfiguration {
|
|
487
|
-
|
|
488
|
-
* @internal
|
|
489
|
-
*/
|
|
289
|
+
|
|
490
290
|
const filterSensitiveLog: (obj: NodeFabricLogPublishingConfiguration) => any;
|
|
491
291
|
}
|
|
492
|
-
|
|
493
|
-
* <p>Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.</p>
|
|
494
|
-
*/
|
|
292
|
+
|
|
495
293
|
export interface NodeLogPublishingConfiguration {
|
|
496
|
-
|
|
497
|
-
* <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>
|
|
498
|
-
*/
|
|
294
|
+
|
|
499
295
|
Fabric?: NodeFabricLogPublishingConfiguration;
|
|
500
296
|
}
|
|
501
297
|
export declare namespace NodeLogPublishingConfiguration {
|
|
502
|
-
|
|
503
|
-
* @internal
|
|
504
|
-
*/
|
|
298
|
+
|
|
505
299
|
const filterSensitiveLog: (obj: NodeLogPublishingConfiguration) => any;
|
|
506
300
|
}
|
|
507
301
|
export declare enum StateDBType {
|
|
508
302
|
CouchDB = "CouchDB",
|
|
509
303
|
LevelDB = "LevelDB"
|
|
510
304
|
}
|
|
511
|
-
|
|
512
|
-
* <p>Configuration properties of a node.</p>
|
|
513
|
-
*/
|
|
305
|
+
|
|
514
306
|
export interface NodeConfiguration {
|
|
515
|
-
|
|
516
|
-
* <p>The Amazon Managed Blockchain instance type for the node.</p>
|
|
517
|
-
*/
|
|
307
|
+
|
|
518
308
|
InstanceType: string | undefined;
|
|
519
|
-
|
|
520
|
-
* <p>The Availability Zone in which the node exists. Required for Ethereum nodes. </p>
|
|
521
|
-
*/
|
|
309
|
+
|
|
522
310
|
AvailabilityZone?: string;
|
|
523
|
-
|
|
524
|
-
* <p>Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.
|
|
525
|
-
* </p>
|
|
526
|
-
*/
|
|
311
|
+
|
|
527
312
|
LogPublishingConfiguration?: NodeLogPublishingConfiguration;
|
|
528
|
-
|
|
529
|
-
* <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>
|
|
530
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
531
|
-
*/
|
|
313
|
+
|
|
532
314
|
StateDB?: StateDBType | string;
|
|
533
315
|
}
|
|
534
316
|
export declare namespace NodeConfiguration {
|
|
535
|
-
|
|
536
|
-
* @internal
|
|
537
|
-
*/
|
|
317
|
+
|
|
538
318
|
const filterSensitiveLog: (obj: NodeConfiguration) => any;
|
|
539
319
|
}
|
|
540
320
|
export interface CreateNodeInput {
|
|
541
|
-
|
|
542
|
-
* <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 AWS SDK or the AWS CLI.</p>
|
|
543
|
-
*/
|
|
321
|
+
|
|
544
322
|
ClientRequestToken?: string;
|
|
545
|
-
|
|
546
|
-
* <p>The unique identifier of the network for the node.</p>
|
|
547
|
-
* <p>Ethereum public networks have the following <code>NetworkId</code>s:</p>
|
|
548
|
-
* <ul>
|
|
549
|
-
* <li>
|
|
550
|
-
* <p>
|
|
551
|
-
* <code>n-ethereum-mainnet</code>
|
|
552
|
-
* </p>
|
|
553
|
-
* </li>
|
|
554
|
-
* <li>
|
|
555
|
-
* <p>
|
|
556
|
-
* <code>n-ethereum-rinkeby</code>
|
|
557
|
-
* </p>
|
|
558
|
-
* </li>
|
|
559
|
-
* <li>
|
|
560
|
-
* <p>
|
|
561
|
-
* <code>n-ethereum-ropsten</code>
|
|
562
|
-
* </p>
|
|
563
|
-
* </li>
|
|
564
|
-
* </ul>
|
|
565
|
-
*/
|
|
323
|
+
|
|
566
324
|
NetworkId: string | undefined;
|
|
567
|
-
|
|
568
|
-
* <p>The unique identifier of the member that owns this node.</p>
|
|
569
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
570
|
-
*/
|
|
325
|
+
|
|
571
326
|
MemberId?: string;
|
|
572
|
-
|
|
573
|
-
* <p>The properties of a node configuration.</p>
|
|
574
|
-
*/
|
|
327
|
+
|
|
575
328
|
NodeConfiguration: NodeConfiguration | undefined;
|
|
576
|
-
|
|
577
|
-
* <p>Tags to assign to the node. Each tag consists of a key and optional value.</p>
|
|
578
|
-
* <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>
|
|
579
|
-
* <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>
|
|
580
|
-
*/
|
|
329
|
+
|
|
581
330
|
Tags?: {
|
|
582
331
|
[key: string]: string;
|
|
583
332
|
};
|
|
584
333
|
}
|
|
585
334
|
export declare namespace CreateNodeInput {
|
|
586
|
-
|
|
587
|
-
* @internal
|
|
588
|
-
*/
|
|
335
|
+
|
|
589
336
|
const filterSensitiveLog: (obj: CreateNodeInput) => any;
|
|
590
337
|
}
|
|
591
338
|
export interface CreateNodeOutput {
|
|
592
|
-
|
|
593
|
-
* <p>The unique identifier of the node.</p>
|
|
594
|
-
*/
|
|
339
|
+
|
|
595
340
|
NodeId?: string;
|
|
596
341
|
}
|
|
597
342
|
export declare namespace CreateNodeOutput {
|
|
598
|
-
|
|
599
|
-
* @internal
|
|
600
|
-
*/
|
|
343
|
+
|
|
601
344
|
const filterSensitiveLog: (obj: CreateNodeOutput) => any;
|
|
602
345
|
}
|
|
603
|
-
|
|
604
|
-
* <p>An action to invite a specific AWS 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>
|
|
605
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
606
|
-
*/
|
|
346
|
+
|
|
607
347
|
export interface InviteAction {
|
|
608
|
-
|
|
609
|
-
* <p>The AWS account ID to invite.</p>
|
|
610
|
-
*/
|
|
348
|
+
|
|
611
349
|
Principal: string | undefined;
|
|
612
350
|
}
|
|
613
351
|
export declare namespace InviteAction {
|
|
614
|
-
|
|
615
|
-
* @internal
|
|
616
|
-
*/
|
|
352
|
+
|
|
617
353
|
const filterSensitiveLog: (obj: InviteAction) => any;
|
|
618
354
|
}
|
|
619
|
-
|
|
620
|
-
* <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>
|
|
621
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
622
|
-
*/
|
|
355
|
+
|
|
623
356
|
export interface RemoveAction {
|
|
624
|
-
|
|
625
|
-
* <p>The unique identifier of the member to remove.</p>
|
|
626
|
-
*/
|
|
357
|
+
|
|
627
358
|
MemberId: string | undefined;
|
|
628
359
|
}
|
|
629
360
|
export declare namespace RemoveAction {
|
|
630
|
-
|
|
631
|
-
* @internal
|
|
632
|
-
*/
|
|
361
|
+
|
|
633
362
|
const filterSensitiveLog: (obj: RemoveAction) => any;
|
|
634
363
|
}
|
|
635
|
-
|
|
636
|
-
* <p>
|
|
637
|
-
* The actions to carry out if a proposal is <code>APPROVED</code>.
|
|
638
|
-
* </p>
|
|
639
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
640
|
-
*/
|
|
364
|
+
|
|
641
365
|
export interface ProposalActions {
|
|
642
|
-
|
|
643
|
-
* <p>
|
|
644
|
-
* The actions to perform for an <code>APPROVED</code> proposal to invite an AWS account to create a member and join the network.
|
|
645
|
-
* </p>
|
|
646
|
-
*/
|
|
366
|
+
|
|
647
367
|
Invitations?: InviteAction[];
|
|
648
|
-
|
|
649
|
-
* <p>
|
|
650
|
-
* 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.
|
|
651
|
-
* </p>
|
|
652
|
-
*/
|
|
368
|
+
|
|
653
369
|
Removals?: RemoveAction[];
|
|
654
370
|
}
|
|
655
371
|
export declare namespace ProposalActions {
|
|
656
|
-
|
|
657
|
-
* @internal
|
|
658
|
-
*/
|
|
372
|
+
|
|
659
373
|
const filterSensitiveLog: (obj: ProposalActions) => any;
|
|
660
374
|
}
|
|
661
375
|
export interface CreateProposalInput {
|
|
662
|
-
|
|
663
|
-
* <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 AWS SDK or the AWS CLI.</p>
|
|
664
|
-
*/
|
|
376
|
+
|
|
665
377
|
ClientRequestToken?: string;
|
|
666
|
-
|
|
667
|
-
* <p>
|
|
668
|
-
* The unique identifier of the network for which the proposal is made.</p>
|
|
669
|
-
*/
|
|
378
|
+
|
|
670
379
|
NetworkId: string | undefined;
|
|
671
|
-
|
|
672
|
-
* <p>The unique identifier of the member that is creating the proposal. This identifier is especially useful for identifying the member making the proposal when multiple members exist in a single AWS account.</p>
|
|
673
|
-
*/
|
|
380
|
+
|
|
674
381
|
MemberId: string | undefined;
|
|
675
|
-
|
|
676
|
-
* <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>
|
|
677
|
-
*/
|
|
382
|
+
|
|
678
383
|
Actions: ProposalActions | undefined;
|
|
679
|
-
|
|
680
|
-
* <p>A description for the proposal that is visible to voting members, for example, "Proposal to add Example Corp. as member."</p>
|
|
681
|
-
*/
|
|
384
|
+
|
|
682
385
|
Description?: string;
|
|
683
|
-
|
|
684
|
-
* <p>Tags to assign to the proposal. Each tag consists of a key and optional value.</p>
|
|
685
|
-
* <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. If the proposal is for a network invitation, the invitation inherits the tags added to the proposal.</p>
|
|
686
|
-
* <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>
|
|
687
|
-
*/
|
|
386
|
+
|
|
688
387
|
Tags?: {
|
|
689
388
|
[key: string]: string;
|
|
690
389
|
};
|
|
691
390
|
}
|
|
692
391
|
export declare namespace CreateProposalInput {
|
|
693
|
-
|
|
694
|
-
* @internal
|
|
695
|
-
*/
|
|
392
|
+
|
|
696
393
|
const filterSensitiveLog: (obj: CreateProposalInput) => any;
|
|
697
394
|
}
|
|
698
395
|
export interface CreateProposalOutput {
|
|
699
|
-
|
|
700
|
-
* <p>The unique identifier of the proposal.</p>
|
|
701
|
-
*/
|
|
396
|
+
|
|
702
397
|
ProposalId?: string;
|
|
703
398
|
}
|
|
704
399
|
export declare namespace CreateProposalOutput {
|
|
705
|
-
|
|
706
|
-
* @internal
|
|
707
|
-
*/
|
|
400
|
+
|
|
708
401
|
const filterSensitiveLog: (obj: CreateProposalOutput) => any;
|
|
709
402
|
}
|
|
710
403
|
export interface DeleteMemberInput {
|
|
711
|
-
|
|
712
|
-
* <p>The unique identifier of the network from which the member is removed.</p>
|
|
713
|
-
*/
|
|
404
|
+
|
|
714
405
|
NetworkId: string | undefined;
|
|
715
|
-
|
|
716
|
-
* <p>The unique identifier of the member to remove.</p>
|
|
717
|
-
*/
|
|
406
|
+
|
|
718
407
|
MemberId: string | undefined;
|
|
719
408
|
}
|
|
720
409
|
export declare namespace DeleteMemberInput {
|
|
721
|
-
|
|
722
|
-
* @internal
|
|
723
|
-
*/
|
|
410
|
+
|
|
724
411
|
const filterSensitiveLog: (obj: DeleteMemberInput) => any;
|
|
725
412
|
}
|
|
726
413
|
export interface DeleteMemberOutput {
|
|
727
414
|
}
|
|
728
415
|
export declare namespace DeleteMemberOutput {
|
|
729
|
-
|
|
730
|
-
* @internal
|
|
731
|
-
*/
|
|
416
|
+
|
|
732
417
|
const filterSensitiveLog: (obj: DeleteMemberOutput) => any;
|
|
733
418
|
}
|
|
734
419
|
export interface DeleteNodeInput {
|
|
735
|
-
|
|
736
|
-
* <p>The unique identifier of the network that the node is on.</p>
|
|
737
|
-
* <p>Ethereum public networks have the following <code>NetworkId</code>s:</p>
|
|
738
|
-
* <ul>
|
|
739
|
-
* <li>
|
|
740
|
-
* <p>
|
|
741
|
-
* <code>n-ethereum-mainnet</code>
|
|
742
|
-
* </p>
|
|
743
|
-
* </li>
|
|
744
|
-
* <li>
|
|
745
|
-
* <p>
|
|
746
|
-
* <code>n-ethereum-rinkeby</code>
|
|
747
|
-
* </p>
|
|
748
|
-
* </li>
|
|
749
|
-
* <li>
|
|
750
|
-
* <p>
|
|
751
|
-
* <code>n-ethereum-ropsten</code>
|
|
752
|
-
* </p>
|
|
753
|
-
* </li>
|
|
754
|
-
* </ul>
|
|
755
|
-
*/
|
|
420
|
+
|
|
756
421
|
NetworkId: string | undefined;
|
|
757
|
-
|
|
758
|
-
* <p>The unique identifier of the member that owns this node.</p>
|
|
759
|
-
* <p>Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.</p>
|
|
760
|
-
*/
|
|
422
|
+
|
|
761
423
|
MemberId?: string;
|
|
762
|
-
|
|
763
|
-
* <p>The unique identifier of the node.</p>
|
|
764
|
-
*/
|
|
424
|
+
|
|
765
425
|
NodeId: string | undefined;
|
|
766
426
|
}
|
|
767
427
|
export declare namespace DeleteNodeInput {
|
|
768
|
-
|
|
769
|
-
* @internal
|
|
770
|
-
*/
|
|
428
|
+
|
|
771
429
|
const filterSensitiveLog: (obj: DeleteNodeInput) => any;
|
|
772
430
|
}
|
|
773
431
|
export interface DeleteNodeOutput {
|
|
774
432
|
}
|
|
775
433
|
export declare namespace DeleteNodeOutput {
|
|
776
|
-
|
|
777
|
-
* @internal
|
|
778
|
-
*/
|
|
434
|
+
|
|
779
435
|
const filterSensitiveLog: (obj: DeleteNodeOutput) => any;
|
|
780
436
|
}
|
|
781
437
|
export interface GetMemberInput {
|
|
782
|
-
|
|
783
|
-
* <p>The unique identifier of the network to which the member belongs.</p>
|
|
784
|
-
*/
|
|
438
|
+
|
|
785
439
|
NetworkId: string | undefined;
|
|
786
|
-
|
|
787
|
-
* <p>The unique identifier of the member.</p>
|
|
788
|
-
*/
|
|
440
|
+
|
|
789
441
|
MemberId: string | undefined;
|
|
790
442
|
}
|
|
791
443
|
export declare namespace GetMemberInput {
|
|
792
|
-
|
|
793
|
-
* @internal
|
|
794
|
-
*/
|
|
444
|
+
|
|
795
445
|
const filterSensitiveLog: (obj: GetMemberInput) => any;
|
|
796
446
|
}
|
|
797
|
-
|
|
798
|
-
* <p>Attributes of Hyperledger Fabric for a member in a Managed Blockchain network using the Hyperledger Fabric framework.</p>
|
|
799
|
-
*/
|
|
447
|
+
|
|
800
448
|
export interface MemberFabricAttributes {
|
|
801
|
-
|
|
802
|
-
* <p>The user name for the initial administrator user for the member.</p>
|
|
803
|
-
*/
|
|
449
|
+
|
|
804
450
|
AdminUsername?: string;
|
|
805
|
-
|
|
806
|
-
* <p>The endpoint used to access the member's certificate authority.</p>
|
|
807
|
-
*/
|
|
451
|
+
|
|
808
452
|
CaEndpoint?: string;
|
|
809
453
|
}
|
|
810
454
|
export declare namespace MemberFabricAttributes {
|
|
811
|
-
|
|
812
|
-
* @internal
|
|
813
|
-
*/
|
|
455
|
+
|
|
814
456
|
const filterSensitiveLog: (obj: MemberFabricAttributes) => any;
|
|
815
457
|
}
|
|
816
|
-
|
|
817
|
-
* <p>Attributes relevant to a member for the blockchain framework that the Managed Blockchain network uses.</p>
|
|
818
|
-
*/
|
|
458
|
+
|
|
819
459
|
export interface MemberFrameworkAttributes {
|
|
820
|
-
|
|
821
|
-
* <p>Attributes of Hyperledger Fabric relevant to a member on a Managed Blockchain network that uses Hyperledger Fabric.</p>
|
|
822
|
-
*/
|
|
460
|
+
|
|
823
461
|
Fabric?: MemberFabricAttributes;
|
|
824
462
|
}
|
|
825
463
|
export declare namespace MemberFrameworkAttributes {
|
|
826
|
-
|
|
827
|
-
* @internal
|
|
828
|
-
*/
|
|
464
|
+
|
|
829
465
|
const filterSensitiveLog: (obj: MemberFrameworkAttributes) => any;
|
|
830
466
|
}
|
|
831
467
|
export declare enum MemberStatus {
|
|
@@ -837,186 +473,82 @@ export declare enum MemberStatus {
|
|
|
837
473
|
INACCESSIBLE_ENCRYPTION_KEY = "INACCESSIBLE_ENCRYPTION_KEY",
|
|
838
474
|
UPDATING = "UPDATING"
|
|
839
475
|
}
|
|
840
|
-
|
|
841
|
-
* <p>Member configuration properties.</p>
|
|
842
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
843
|
-
*/
|
|
476
|
+
|
|
844
477
|
export interface Member {
|
|
845
|
-
|
|
846
|
-
* <p>The unique identifier of the network to which the member belongs.</p>
|
|
847
|
-
*/
|
|
478
|
+
|
|
848
479
|
NetworkId?: string;
|
|
849
|
-
|
|
850
|
-
* <p>The unique identifier of the member.</p>
|
|
851
|
-
*/
|
|
480
|
+
|
|
852
481
|
Id?: string;
|
|
853
|
-
|
|
854
|
-
* <p>The name of the member.</p>
|
|
855
|
-
*/
|
|
482
|
+
|
|
856
483
|
Name?: string;
|
|
857
|
-
|
|
858
|
-
* <p>An optional description for the member.</p>
|
|
859
|
-
*/
|
|
484
|
+
|
|
860
485
|
Description?: string;
|
|
861
|
-
|
|
862
|
-
* <p>Attributes relevant to a member for the blockchain framework that the Managed Blockchain network uses.</p>
|
|
863
|
-
*/
|
|
486
|
+
|
|
864
487
|
FrameworkAttributes?: MemberFrameworkAttributes;
|
|
865
|
-
|
|
866
|
-
* <p>Configuration properties for logging events associated with a member.</p>
|
|
867
|
-
*/
|
|
488
|
+
|
|
868
489
|
LogPublishingConfiguration?: MemberLogPublishingConfiguration;
|
|
869
|
-
|
|
870
|
-
* <p>The status of a member.</p>
|
|
871
|
-
* <ul>
|
|
872
|
-
* <li>
|
|
873
|
-
* <p>
|
|
874
|
-
* <code>CREATING</code> - The AWS account is in the process of creating a member.</p>
|
|
875
|
-
* </li>
|
|
876
|
-
* <li>
|
|
877
|
-
* <p>
|
|
878
|
-
* <code>AVAILABLE</code> - The member has been created and can participate in the network.</p>
|
|
879
|
-
* </li>
|
|
880
|
-
* <li>
|
|
881
|
-
* <p>
|
|
882
|
-
* <code>CREATE_FAILED</code> - The AWS account attempted to create a member and creation failed.</p>
|
|
883
|
-
* </li>
|
|
884
|
-
* <li>
|
|
885
|
-
* <p>
|
|
886
|
-
* <code>UPDATING</code> - The member is in the process of being updated.</p>
|
|
887
|
-
* </li>
|
|
888
|
-
* <li>
|
|
889
|
-
* <p>
|
|
890
|
-
* <code>DELETING</code> - The member and all associated resources are in the process of being deleted. Either the AWS account that owns the member deleted it, or the member is being deleted as the result of an <code>APPROVED</code>
|
|
891
|
-
* <code>PROPOSAL</code> to remove the member.</p>
|
|
892
|
-
* </li>
|
|
893
|
-
* <li>
|
|
894
|
-
* <p>
|
|
895
|
-
* <code>DELETED</code> - The member can no longer participate on the network and all associated resources are deleted. Either the AWS account that owns the member deleted it, or the member is being deleted as the result of an <code>APPROVED</code>
|
|
896
|
-
* <code>PROPOSAL</code> to remove the member.</p>
|
|
897
|
-
* </li>
|
|
898
|
-
* <li>
|
|
899
|
-
* <p>
|
|
900
|
-
* <code>INACCESSIBLE_ENCRYPTION_KEY</code> - The member is impaired and might not function as expected because it cannot access the specified customer managed key in AWS KMS for encryption at rest. Either the KMS key was disabled or deleted, or the grants on the key were revoked.</p>
|
|
901
|
-
* <p>The effect of disabling or deleting a key, or revoking a grant is not immediate. The member resource might take some time to find that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.</p>
|
|
902
|
-
* </li>
|
|
903
|
-
* </ul>
|
|
904
|
-
*/
|
|
490
|
+
|
|
905
491
|
Status?: MemberStatus | string;
|
|
906
|
-
|
|
907
|
-
* <p>The date and time that the member was created.</p>
|
|
908
|
-
*/
|
|
492
|
+
|
|
909
493
|
CreationDate?: Date;
|
|
910
|
-
|
|
911
|
-
* <p>Tags assigned to the member. Tags consist of a key and optional value. For more information about tags, see <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>
|
|
912
|
-
*/
|
|
494
|
+
|
|
913
495
|
Tags?: {
|
|
914
496
|
[key: string]: string;
|
|
915
497
|
};
|
|
916
|
-
|
|
917
|
-
* <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>AWS General Reference</i>.</p>
|
|
918
|
-
*/
|
|
498
|
+
|
|
919
499
|
Arn?: string;
|
|
920
|
-
|
|
921
|
-
* <p>The Amazon Resource Name (ARN) of the customer managed key in AWS Key Management Service (AWS 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 AWS owned KMS key for encryption. This parameter is inherited by the nodes that this member owns.</p>
|
|
922
|
-
*/
|
|
500
|
+
|
|
923
501
|
KmsKeyArn?: string;
|
|
924
502
|
}
|
|
925
503
|
export declare namespace Member {
|
|
926
|
-
|
|
927
|
-
* @internal
|
|
928
|
-
*/
|
|
504
|
+
|
|
929
505
|
const filterSensitiveLog: (obj: Member) => any;
|
|
930
506
|
}
|
|
931
507
|
export interface GetMemberOutput {
|
|
932
|
-
|
|
933
|
-
* <p>The properties of a member.</p>
|
|
934
|
-
*/
|
|
508
|
+
|
|
935
509
|
Member?: Member;
|
|
936
510
|
}
|
|
937
511
|
export declare namespace GetMemberOutput {
|
|
938
|
-
|
|
939
|
-
* @internal
|
|
940
|
-
*/
|
|
512
|
+
|
|
941
513
|
const filterSensitiveLog: (obj: GetMemberOutput) => any;
|
|
942
514
|
}
|
|
943
515
|
export interface GetNetworkInput {
|
|
944
|
-
|
|
945
|
-
* <p>The unique identifier of the network to get information about.</p>
|
|
946
|
-
*/
|
|
516
|
+
|
|
947
517
|
NetworkId: string | undefined;
|
|
948
518
|
}
|
|
949
519
|
export declare namespace GetNetworkInput {
|
|
950
|
-
|
|
951
|
-
* @internal
|
|
952
|
-
*/
|
|
520
|
+
|
|
953
521
|
const filterSensitiveLog: (obj: GetNetworkInput) => any;
|
|
954
522
|
}
|
|
955
|
-
|
|
956
|
-
* <p>Attributes of Ethereum for a network. </p>
|
|
957
|
-
*/
|
|
523
|
+
|
|
958
524
|
export interface NetworkEthereumAttributes {
|
|
959
|
-
|
|
960
|
-
* <p>The Ethereum <code>CHAIN_ID</code> associated with the Ethereum network. Chain IDs are as follows:</p>
|
|
961
|
-
* <ul>
|
|
962
|
-
* <li>
|
|
963
|
-
* <p>mainnet = <code>1</code>
|
|
964
|
-
* </p>
|
|
965
|
-
* </li>
|
|
966
|
-
* <li>
|
|
967
|
-
* <p>rinkeby = <code>4</code>
|
|
968
|
-
* </p>
|
|
969
|
-
* </li>
|
|
970
|
-
* <li>
|
|
971
|
-
* <p>ropsten = <code>3</code>
|
|
972
|
-
* </p>
|
|
973
|
-
* </li>
|
|
974
|
-
* </ul>
|
|
975
|
-
*/
|
|
525
|
+
|
|
976
526
|
ChainId?: string;
|
|
977
527
|
}
|
|
978
528
|
export declare namespace NetworkEthereumAttributes {
|
|
979
|
-
|
|
980
|
-
* @internal
|
|
981
|
-
*/
|
|
529
|
+
|
|
982
530
|
const filterSensitiveLog: (obj: NetworkEthereumAttributes) => any;
|
|
983
531
|
}
|
|
984
|
-
|
|
985
|
-
* <p>Attributes of Hyperledger Fabric for a network.</p>
|
|
986
|
-
*/
|
|
532
|
+
|
|
987
533
|
export interface NetworkFabricAttributes {
|
|
988
|
-
|
|
989
|
-
* <p>The endpoint of the ordering service for the network.</p>
|
|
990
|
-
*/
|
|
534
|
+
|
|
991
535
|
OrderingServiceEndpoint?: string;
|
|
992
|
-
|
|
993
|
-
* <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>
|
|
994
|
-
*/
|
|
536
|
+
|
|
995
537
|
Edition?: Edition | string;
|
|
996
538
|
}
|
|
997
539
|
export declare namespace NetworkFabricAttributes {
|
|
998
|
-
|
|
999
|
-
* @internal
|
|
1000
|
-
*/
|
|
540
|
+
|
|
1001
541
|
const filterSensitiveLog: (obj: NetworkFabricAttributes) => any;
|
|
1002
542
|
}
|
|
1003
|
-
|
|
1004
|
-
* <p>Attributes relevant to the network for the blockchain framework that the network uses.</p>
|
|
1005
|
-
*/
|
|
543
|
+
|
|
1006
544
|
export interface NetworkFrameworkAttributes {
|
|
1007
|
-
|
|
1008
|
-
* <p>Attributes of Hyperledger Fabric for a Managed Blockchain network that uses Hyperledger Fabric.</p>
|
|
1009
|
-
*/
|
|
545
|
+
|
|
1010
546
|
Fabric?: NetworkFabricAttributes;
|
|
1011
|
-
|
|
1012
|
-
* <p>Attributes of an Ethereum network for Managed Blockchain resources participating in an Ethereum network. </p>
|
|
1013
|
-
*/
|
|
547
|
+
|
|
1014
548
|
Ethereum?: NetworkEthereumAttributes;
|
|
1015
549
|
}
|
|
1016
550
|
export declare namespace NetworkFrameworkAttributes {
|
|
1017
|
-
|
|
1018
|
-
* @internal
|
|
1019
|
-
*/
|
|
551
|
+
|
|
1020
552
|
const filterSensitiveLog: (obj: NetworkFrameworkAttributes) => any;
|
|
1021
553
|
}
|
|
1022
554
|
export declare enum NetworkStatus {
|
|
@@ -1026,156 +558,90 @@ export declare enum NetworkStatus {
|
|
|
1026
558
|
DELETED = "DELETED",
|
|
1027
559
|
DELETING = "DELETING"
|
|
1028
560
|
}
|
|
1029
|
-
|
|
1030
|
-
* <p>Network configuration properties.</p>
|
|
1031
|
-
*/
|
|
561
|
+
|
|
1032
562
|
export interface Network {
|
|
1033
|
-
|
|
1034
|
-
* <p>The unique identifier of the network.</p>
|
|
1035
|
-
*/
|
|
563
|
+
|
|
1036
564
|
Id?: string;
|
|
1037
|
-
|
|
1038
|
-
* <p>The name of the network.</p>
|
|
1039
|
-
*/
|
|
565
|
+
|
|
1040
566
|
Name?: string;
|
|
1041
|
-
|
|
1042
|
-
* <p>Attributes of the blockchain framework for the network.</p>
|
|
1043
|
-
*/
|
|
567
|
+
|
|
1044
568
|
Description?: string;
|
|
1045
|
-
|
|
1046
|
-
* <p>The blockchain framework that the network uses.</p>
|
|
1047
|
-
*/
|
|
569
|
+
|
|
1048
570
|
Framework?: Framework | string;
|
|
1049
|
-
|
|
1050
|
-
* <p>The version of the blockchain framework that the network uses.</p>
|
|
1051
|
-
*/
|
|
571
|
+
|
|
1052
572
|
FrameworkVersion?: string;
|
|
1053
|
-
|
|
1054
|
-
* <p>Attributes of the blockchain framework that the network uses.</p>
|
|
1055
|
-
*/
|
|
573
|
+
|
|
1056
574
|
FrameworkAttributes?: NetworkFrameworkAttributes;
|
|
1057
|
-
|
|
1058
|
-
* <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>
|
|
1059
|
-
*/
|
|
575
|
+
|
|
1060
576
|
VpcEndpointServiceName?: string;
|
|
1061
|
-
|
|
1062
|
-
* <p>The voting rules for the network to decide if a proposal is accepted.</p>
|
|
1063
|
-
*/
|
|
577
|
+
|
|
1064
578
|
VotingPolicy?: VotingPolicy;
|
|
1065
|
-
|
|
1066
|
-
* <p>The current status of the network.</p>
|
|
1067
|
-
*/
|
|
579
|
+
|
|
1068
580
|
Status?: NetworkStatus | string;
|
|
1069
|
-
|
|
1070
|
-
* <p>The date and time that the network was created.</p>
|
|
1071
|
-
*/
|
|
581
|
+
|
|
1072
582
|
CreationDate?: Date;
|
|
1073
|
-
|
|
1074
|
-
* <p>Tags assigned to the network. Each tag consists of a key and optional value.</p>
|
|
1075
|
-
* <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>
|
|
1076
|
-
*/
|
|
583
|
+
|
|
1077
584
|
Tags?: {
|
|
1078
585
|
[key: string]: string;
|
|
1079
586
|
};
|
|
1080
|
-
|
|
1081
|
-
* <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>AWS General Reference</i>.</p>
|
|
1082
|
-
*/
|
|
587
|
+
|
|
1083
588
|
Arn?: string;
|
|
1084
589
|
}
|
|
1085
590
|
export declare namespace Network {
|
|
1086
|
-
|
|
1087
|
-
* @internal
|
|
1088
|
-
*/
|
|
591
|
+
|
|
1089
592
|
const filterSensitiveLog: (obj: Network) => any;
|
|
1090
593
|
}
|
|
1091
594
|
export interface GetNetworkOutput {
|
|
1092
|
-
|
|
1093
|
-
* <p>An object containing network configuration parameters.</p>
|
|
1094
|
-
*/
|
|
595
|
+
|
|
1095
596
|
Network?: Network;
|
|
1096
597
|
}
|
|
1097
598
|
export declare namespace GetNetworkOutput {
|
|
1098
|
-
|
|
1099
|
-
* @internal
|
|
1100
|
-
*/
|
|
599
|
+
|
|
1101
600
|
const filterSensitiveLog: (obj: GetNetworkOutput) => any;
|
|
1102
601
|
}
|
|
1103
602
|
export interface GetNodeInput {
|
|
1104
|
-
|
|
1105
|
-
* <p>The unique identifier of the network that the node is on.</p>
|
|
1106
|
-
*/
|
|
603
|
+
|
|
1107
604
|
NetworkId: string | undefined;
|
|
1108
|
-
|
|
1109
|
-
* <p>The unique identifier of the member that owns the node.</p>
|
|
1110
|
-
* <p>Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.</p>
|
|
1111
|
-
*/
|
|
605
|
+
|
|
1112
606
|
MemberId?: string;
|
|
1113
|
-
|
|
1114
|
-
* <p>The unique identifier of the node.</p>
|
|
1115
|
-
*/
|
|
607
|
+
|
|
1116
608
|
NodeId: string | undefined;
|
|
1117
609
|
}
|
|
1118
610
|
export declare namespace GetNodeInput {
|
|
1119
|
-
|
|
1120
|
-
* @internal
|
|
1121
|
-
*/
|
|
611
|
+
|
|
1122
612
|
const filterSensitiveLog: (obj: GetNodeInput) => any;
|
|
1123
613
|
}
|
|
1124
|
-
|
|
1125
|
-
* <p>Attributes of an Ethereum node.</p>
|
|
1126
|
-
*/
|
|
614
|
+
|
|
1127
615
|
export interface NodeEthereumAttributes {
|
|
1128
|
-
|
|
1129
|
-
* <p>The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC 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>
|
|
1130
|
-
*/
|
|
616
|
+
|
|
1131
617
|
HttpEndpoint?: string;
|
|
1132
|
-
|
|
1133
|
-
* <p>The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC methods over WebSockets connections from a client. Use this endpoint in client code for smart contracts when using a WebSockets 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>
|
|
1134
|
-
*/
|
|
618
|
+
|
|
1135
619
|
WebSocketEndpoint?: string;
|
|
1136
620
|
}
|
|
1137
621
|
export declare namespace NodeEthereumAttributes {
|
|
1138
|
-
|
|
1139
|
-
* @internal
|
|
1140
|
-
*/
|
|
622
|
+
|
|
1141
623
|
const filterSensitiveLog: (obj: NodeEthereumAttributes) => any;
|
|
1142
624
|
}
|
|
1143
|
-
|
|
1144
|
-
* <p>Attributes of Hyperledger Fabric for a peer node on a Hyperledger Fabric network on Managed Blockchain.</p>
|
|
1145
|
-
*/
|
|
625
|
+
|
|
1146
626
|
export interface NodeFabricAttributes {
|
|
1147
|
-
|
|
1148
|
-
* <p>The endpoint that identifies the peer node for all services except peer channel-based event services.</p>
|
|
1149
|
-
*/
|
|
627
|
+
|
|
1150
628
|
PeerEndpoint?: string;
|
|
1151
|
-
|
|
1152
|
-
* <p>The endpoint that identifies the peer node for peer channel-based event services.</p>
|
|
1153
|
-
*/
|
|
629
|
+
|
|
1154
630
|
PeerEventEndpoint?: string;
|
|
1155
631
|
}
|
|
1156
632
|
export declare namespace NodeFabricAttributes {
|
|
1157
|
-
|
|
1158
|
-
* @internal
|
|
1159
|
-
*/
|
|
633
|
+
|
|
1160
634
|
const filterSensitiveLog: (obj: NodeFabricAttributes) => any;
|
|
1161
635
|
}
|
|
1162
|
-
|
|
1163
|
-
* <p>Attributes relevant to a node on a Managed Blockchain network for the blockchain framework that the network uses.</p>
|
|
1164
|
-
*/
|
|
636
|
+
|
|
1165
637
|
export interface NodeFrameworkAttributes {
|
|
1166
|
-
|
|
1167
|
-
* <p>Attributes of Hyperledger Fabric for a peer node on a Managed Blockchain network that uses Hyperledger Fabric.</p>
|
|
1168
|
-
*/
|
|
638
|
+
|
|
1169
639
|
Fabric?: NodeFabricAttributes;
|
|
1170
|
-
|
|
1171
|
-
* <p>Attributes of Ethereum for a node on a Managed Blockchain network that uses Ethereum. </p>
|
|
1172
|
-
*/
|
|
640
|
+
|
|
1173
641
|
Ethereum?: NodeEthereumAttributes;
|
|
1174
642
|
}
|
|
1175
643
|
export declare namespace NodeFrameworkAttributes {
|
|
1176
|
-
|
|
1177
|
-
* @internal
|
|
1178
|
-
*/
|
|
644
|
+
|
|
1179
645
|
const filterSensitiveLog: (obj: NodeFrameworkAttributes) => any;
|
|
1180
646
|
}
|
|
1181
647
|
export declare enum NodeStatus {
|
|
@@ -1189,140 +655,57 @@ export declare enum NodeStatus {
|
|
|
1189
655
|
UNHEALTHY = "UNHEALTHY",
|
|
1190
656
|
UPDATING = "UPDATING"
|
|
1191
657
|
}
|
|
1192
|
-
|
|
1193
|
-
* <p>Configuration properties of a node.</p>
|
|
1194
|
-
*/
|
|
658
|
+
|
|
1195
659
|
export interface Node {
|
|
1196
|
-
|
|
1197
|
-
* <p>The unique identifier of the network that the node is on.</p>
|
|
1198
|
-
*/
|
|
660
|
+
|
|
1199
661
|
NetworkId?: string;
|
|
1200
|
-
|
|
1201
|
-
* <p>The unique identifier of the member to which the node belongs.</p>
|
|
1202
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
1203
|
-
*/
|
|
662
|
+
|
|
1204
663
|
MemberId?: string;
|
|
1205
|
-
|
|
1206
|
-
* <p>The unique identifier of the node.</p>
|
|
1207
|
-
*/
|
|
664
|
+
|
|
1208
665
|
Id?: string;
|
|
1209
|
-
|
|
1210
|
-
* <p>The instance type of the node.</p>
|
|
1211
|
-
*/
|
|
666
|
+
|
|
1212
667
|
InstanceType?: string;
|
|
1213
|
-
|
|
1214
|
-
* <p>The Availability Zone in which the node exists. Required for Ethereum nodes. </p>
|
|
1215
|
-
*/
|
|
668
|
+
|
|
1216
669
|
AvailabilityZone?: string;
|
|
1217
|
-
|
|
1218
|
-
* <p>Attributes of the blockchain framework being used.</p>
|
|
1219
|
-
*/
|
|
670
|
+
|
|
1220
671
|
FrameworkAttributes?: NodeFrameworkAttributes;
|
|
1221
|
-
|
|
1222
|
-
* <p>Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.</p>
|
|
1223
|
-
*/
|
|
672
|
+
|
|
1224
673
|
LogPublishingConfiguration?: NodeLogPublishingConfiguration;
|
|
1225
|
-
|
|
1226
|
-
* <p>The state database that the node uses. Values are <code>LevelDB</code> or <code>CouchDB</code>.</p>
|
|
1227
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
1228
|
-
*/
|
|
674
|
+
|
|
1229
675
|
StateDB?: StateDBType | string;
|
|
1230
|
-
|
|
1231
|
-
* <p>The status of the node.</p>
|
|
1232
|
-
* <ul>
|
|
1233
|
-
* <li>
|
|
1234
|
-
* <p>
|
|
1235
|
-
* <code>CREATING</code> - The AWS account is in the process of creating a node.</p>
|
|
1236
|
-
* </li>
|
|
1237
|
-
* <li>
|
|
1238
|
-
* <p>
|
|
1239
|
-
* <code>AVAILABLE</code> - The node has been created and can participate in the network.</p>
|
|
1240
|
-
* </li>
|
|
1241
|
-
* <li>
|
|
1242
|
-
* <p>
|
|
1243
|
-
* <code>UNHEALTHY</code> - The node is impaired and might not function as expected. Amazon Managed Blockchain automatically finds nodes in this state and tries to recover them. If a node is recoverable, it returns to <code>AVAILABLE</code>. Otherwise, it moves to <code>FAILED</code> status.</p>
|
|
1244
|
-
* </li>
|
|
1245
|
-
* <li>
|
|
1246
|
-
* <p>
|
|
1247
|
-
* <code>CREATE_FAILED</code> - The AWS account attempted to create a node and creation failed.</p>
|
|
1248
|
-
* </li>
|
|
1249
|
-
* <li>
|
|
1250
|
-
* <p>
|
|
1251
|
-
* <code>UPDATING</code> - The node is in the process of being updated.</p>
|
|
1252
|
-
* </li>
|
|
1253
|
-
* <li>
|
|
1254
|
-
* <p>
|
|
1255
|
-
* <code>DELETING</code> - The node is in the process of being deleted.</p>
|
|
1256
|
-
* </li>
|
|
1257
|
-
* <li>
|
|
1258
|
-
* <p>
|
|
1259
|
-
* <code>DELETED</code> - The node can no longer participate on the network.</p>
|
|
1260
|
-
* </li>
|
|
1261
|
-
* <li>
|
|
1262
|
-
* <p>
|
|
1263
|
-
* <code>FAILED</code> - The node is no longer functional, cannot be recovered, and must be deleted.</p>
|
|
1264
|
-
* </li>
|
|
1265
|
-
* <li>
|
|
1266
|
-
* <p>
|
|
1267
|
-
* <code>INACCESSIBLE_ENCRYPTION_KEY</code> - The node is impaired and might not function as expected because it cannot access the specified customer managed key in AWS KMS for encryption at rest. Either the KMS key was disabled or deleted, or the grants on the key were revoked.</p>
|
|
1268
|
-
* <p>The effect of disabling or deleting a key, or revoking a grant is not immediate. The node resource might take some time to find that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.</p>
|
|
1269
|
-
* </li>
|
|
1270
|
-
* </ul>
|
|
1271
|
-
*/
|
|
676
|
+
|
|
1272
677
|
Status?: NodeStatus | string;
|
|
1273
|
-
|
|
1274
|
-
* <p>The date and time that the node was created.</p>
|
|
1275
|
-
*/
|
|
678
|
+
|
|
1276
679
|
CreationDate?: Date;
|
|
1277
|
-
|
|
1278
|
-
* <p>Tags assigned to the node. Each tag consists of a key and optional value.</p>
|
|
1279
|
-
* <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>
|
|
1280
|
-
*/
|
|
680
|
+
|
|
1281
681
|
Tags?: {
|
|
1282
682
|
[key: string]: string;
|
|
1283
683
|
};
|
|
1284
|
-
|
|
1285
|
-
* <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>AWS General Reference</i>.</p>
|
|
1286
|
-
*/
|
|
684
|
+
|
|
1287
685
|
Arn?: string;
|
|
1288
|
-
|
|
1289
|
-
* <p>The Amazon Resource Name (ARN) of the customer managed key in AWS Key Management Service (AWS 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 AWS owned KMS key for encryption. The node inherits this parameter from the member that it belongs to.</p>
|
|
1290
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
1291
|
-
*/
|
|
686
|
+
|
|
1292
687
|
KmsKeyArn?: string;
|
|
1293
688
|
}
|
|
1294
689
|
export declare namespace Node {
|
|
1295
|
-
|
|
1296
|
-
* @internal
|
|
1297
|
-
*/
|
|
690
|
+
|
|
1298
691
|
const filterSensitiveLog: (obj: Node) => any;
|
|
1299
692
|
}
|
|
1300
693
|
export interface GetNodeOutput {
|
|
1301
|
-
|
|
1302
|
-
* <p>Properties of the node configuration.</p>
|
|
1303
|
-
*/
|
|
694
|
+
|
|
1304
695
|
Node?: Node;
|
|
1305
696
|
}
|
|
1306
697
|
export declare namespace GetNodeOutput {
|
|
1307
|
-
|
|
1308
|
-
* @internal
|
|
1309
|
-
*/
|
|
698
|
+
|
|
1310
699
|
const filterSensitiveLog: (obj: GetNodeOutput) => any;
|
|
1311
700
|
}
|
|
1312
701
|
export interface GetProposalInput {
|
|
1313
|
-
|
|
1314
|
-
* <p>The unique identifier of the network for which the proposal is made.</p>
|
|
1315
|
-
*/
|
|
702
|
+
|
|
1316
703
|
NetworkId: string | undefined;
|
|
1317
|
-
|
|
1318
|
-
* <p>The unique identifier of the proposal.</p>
|
|
1319
|
-
*/
|
|
704
|
+
|
|
1320
705
|
ProposalId: string | undefined;
|
|
1321
706
|
}
|
|
1322
707
|
export declare namespace GetProposalInput {
|
|
1323
|
-
|
|
1324
|
-
* @internal
|
|
1325
|
-
*/
|
|
708
|
+
|
|
1326
709
|
const filterSensitiveLog: (obj: GetProposalInput) => any;
|
|
1327
710
|
}
|
|
1328
711
|
export declare enum ProposalStatus {
|
|
@@ -1332,176 +715,82 @@ export declare enum ProposalStatus {
|
|
|
1332
715
|
IN_PROGRESS = "IN_PROGRESS",
|
|
1333
716
|
REJECTED = "REJECTED"
|
|
1334
717
|
}
|
|
1335
|
-
|
|
1336
|
-
* <p>Properties of a proposal on a Managed Blockchain network.</p>
|
|
1337
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
1338
|
-
*/
|
|
718
|
+
|
|
1339
719
|
export interface Proposal {
|
|
1340
|
-
|
|
1341
|
-
* <p>The unique identifier of the proposal.</p>
|
|
1342
|
-
*/
|
|
720
|
+
|
|
1343
721
|
ProposalId?: string;
|
|
1344
|
-
|
|
1345
|
-
* <p>The unique identifier of the network for which the proposal is made.</p>
|
|
1346
|
-
*/
|
|
722
|
+
|
|
1347
723
|
NetworkId?: string;
|
|
1348
|
-
|
|
1349
|
-
* <p>The description of the proposal.</p>
|
|
1350
|
-
*/
|
|
724
|
+
|
|
1351
725
|
Description?: string;
|
|
1352
|
-
|
|
1353
|
-
* <p>The actions to perform on the network if the proposal is <code>APPROVED</code>.</p>
|
|
1354
|
-
*/
|
|
726
|
+
|
|
1355
727
|
Actions?: ProposalActions;
|
|
1356
|
-
|
|
1357
|
-
* <p>The unique identifier of the member that created the proposal.</p>
|
|
1358
|
-
*/
|
|
728
|
+
|
|
1359
729
|
ProposedByMemberId?: string;
|
|
1360
|
-
|
|
1361
|
-
* <p>The name of the member that created the proposal.</p>
|
|
1362
|
-
*/
|
|
730
|
+
|
|
1363
731
|
ProposedByMemberName?: string;
|
|
1364
|
-
|
|
1365
|
-
* <p>The status of the proposal. Values are as follows:</p>
|
|
1366
|
-
* <ul>
|
|
1367
|
-
* <li>
|
|
1368
|
-
* <p>
|
|
1369
|
-
* <code>IN_PROGRESS</code> - The proposal is active and open for member voting.</p>
|
|
1370
|
-
* </li>
|
|
1371
|
-
* <li>
|
|
1372
|
-
* <p>
|
|
1373
|
-
* <code>APPROVED</code> - The proposal was approved with sufficient <code>YES</code> votes among members according to the <code>VotingPolicy</code> specified for the <code>Network</code>. The specified proposal actions are carried out.</p>
|
|
1374
|
-
* </li>
|
|
1375
|
-
* <li>
|
|
1376
|
-
* <p>
|
|
1377
|
-
* <code>REJECTED</code> - The proposal was rejected with insufficient <code>YES</code> votes among members according to the <code>VotingPolicy</code> specified for the <code>Network</code>. The specified <code>ProposalActions</code> are not carried out.</p>
|
|
1378
|
-
* </li>
|
|
1379
|
-
* <li>
|
|
1380
|
-
* <p>
|
|
1381
|
-
* <code>EXPIRED</code> - Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specified <code>ProposalActions</code> are not carried out.</p>
|
|
1382
|
-
* </li>
|
|
1383
|
-
* <li>
|
|
1384
|
-
* <p>
|
|
1385
|
-
* <code>ACTION_FAILED</code> - One or more of the specified <code>ProposalActions</code> in a proposal that was approved could not 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>
|
|
1386
|
-
* </li>
|
|
1387
|
-
* </ul>
|
|
1388
|
-
*/
|
|
732
|
+
|
|
1389
733
|
Status?: ProposalStatus | string;
|
|
1390
|
-
|
|
1391
|
-
* <p>
|
|
1392
|
-
* The date and time that the proposal was created.
|
|
1393
|
-
* </p>
|
|
1394
|
-
*/
|
|
734
|
+
|
|
1395
735
|
CreationDate?: Date;
|
|
1396
|
-
|
|
1397
|
-
* <p>
|
|
1398
|
-
* 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 have not cast enough votes to determine the outcome according to the voting policy, the proposal is <code>EXPIRED</code> and <code>Actions</code> are not carried out.
|
|
1399
|
-
* </p>
|
|
1400
|
-
*/
|
|
736
|
+
|
|
1401
737
|
ExpirationDate?: Date;
|
|
1402
|
-
|
|
1403
|
-
* <p>
|
|
1404
|
-
* The current total of <code>YES</code> votes cast on the proposal by members.
|
|
1405
|
-
* </p>
|
|
1406
|
-
*/
|
|
738
|
+
|
|
1407
739
|
YesVoteCount?: number;
|
|
1408
|
-
|
|
1409
|
-
* <p>
|
|
1410
|
-
* The current total of <code>NO</code> votes cast on the proposal by members.
|
|
1411
|
-
* </p>
|
|
1412
|
-
*/
|
|
740
|
+
|
|
1413
741
|
NoVoteCount?: number;
|
|
1414
|
-
|
|
1415
|
-
* <p>
|
|
1416
|
-
* 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.
|
|
1417
|
-
* </p>
|
|
1418
|
-
*/
|
|
742
|
+
|
|
1419
743
|
OutstandingVoteCount?: number;
|
|
1420
|
-
|
|
1421
|
-
* <p>Tags assigned to the proposal. Each tag consists of a key and optional value.</p>
|
|
1422
|
-
* <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>
|
|
1423
|
-
*/
|
|
744
|
+
|
|
1424
745
|
Tags?: {
|
|
1425
746
|
[key: string]: string;
|
|
1426
747
|
};
|
|
1427
|
-
|
|
1428
|
-
* <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>AWS General Reference</i>.</p>
|
|
1429
|
-
*/
|
|
748
|
+
|
|
1430
749
|
Arn?: string;
|
|
1431
750
|
}
|
|
1432
751
|
export declare namespace Proposal {
|
|
1433
|
-
|
|
1434
|
-
* @internal
|
|
1435
|
-
*/
|
|
752
|
+
|
|
1436
753
|
const filterSensitiveLog: (obj: Proposal) => any;
|
|
1437
754
|
}
|
|
1438
755
|
export interface GetProposalOutput {
|
|
1439
|
-
|
|
1440
|
-
* <p>Information about a proposal.</p>
|
|
1441
|
-
*/
|
|
756
|
+
|
|
1442
757
|
Proposal?: Proposal;
|
|
1443
758
|
}
|
|
1444
759
|
export declare namespace GetProposalOutput {
|
|
1445
|
-
|
|
1446
|
-
* @internal
|
|
1447
|
-
*/
|
|
760
|
+
|
|
1448
761
|
const filterSensitiveLog: (obj: GetProposalOutput) => any;
|
|
1449
762
|
}
|
|
1450
|
-
|
|
1451
|
-
* <p></p>
|
|
1452
|
-
*/
|
|
763
|
+
|
|
1453
764
|
export interface IllegalActionException extends __SmithyException, $MetadataBearer {
|
|
1454
765
|
name: "IllegalActionException";
|
|
1455
766
|
$fault: "client";
|
|
1456
767
|
Message?: string;
|
|
1457
768
|
}
|
|
1458
769
|
export declare namespace IllegalActionException {
|
|
1459
|
-
|
|
1460
|
-
* @internal
|
|
1461
|
-
*/
|
|
770
|
+
|
|
1462
771
|
const filterSensitiveLog: (obj: IllegalActionException) => any;
|
|
1463
772
|
}
|
|
1464
|
-
|
|
1465
|
-
* <p>A summary of network configuration properties.</p>
|
|
1466
|
-
*/
|
|
773
|
+
|
|
1467
774
|
export interface NetworkSummary {
|
|
1468
|
-
|
|
1469
|
-
* <p>The unique identifier of the network.</p>
|
|
1470
|
-
*/
|
|
775
|
+
|
|
1471
776
|
Id?: string;
|
|
1472
|
-
|
|
1473
|
-
* <p>The name of the network.</p>
|
|
1474
|
-
*/
|
|
777
|
+
|
|
1475
778
|
Name?: string;
|
|
1476
|
-
|
|
1477
|
-
* <p>An optional description of the network.</p>
|
|
1478
|
-
*/
|
|
779
|
+
|
|
1479
780
|
Description?: string;
|
|
1480
|
-
|
|
1481
|
-
* <p>The blockchain framework that the network uses.</p>
|
|
1482
|
-
*/
|
|
781
|
+
|
|
1483
782
|
Framework?: Framework | string;
|
|
1484
|
-
|
|
1485
|
-
* <p>The version of the blockchain framework that the network uses.</p>
|
|
1486
|
-
*/
|
|
783
|
+
|
|
1487
784
|
FrameworkVersion?: string;
|
|
1488
|
-
|
|
1489
|
-
* <p>The current status of the network.</p>
|
|
1490
|
-
*/
|
|
785
|
+
|
|
1491
786
|
Status?: NetworkStatus | string;
|
|
1492
|
-
|
|
1493
|
-
* <p>The date and time that the network was created.</p>
|
|
1494
|
-
*/
|
|
787
|
+
|
|
1495
788
|
CreationDate?: Date;
|
|
1496
|
-
|
|
1497
|
-
* <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>AWS General Reference</i>.</p>
|
|
1498
|
-
*/
|
|
789
|
+
|
|
1499
790
|
Arn?: string;
|
|
1500
791
|
}
|
|
1501
792
|
export declare namespace NetworkSummary {
|
|
1502
|
-
|
|
1503
|
-
* @internal
|
|
1504
|
-
*/
|
|
793
|
+
|
|
1505
794
|
const filterSensitiveLog: (obj: NetworkSummary) => any;
|
|
1506
795
|
}
|
|
1507
796
|
export declare enum InvitationStatus {
|
|
@@ -1511,745 +800,372 @@ export declare enum InvitationStatus {
|
|
|
1511
800
|
PENDING = "PENDING",
|
|
1512
801
|
REJECTED = "REJECTED"
|
|
1513
802
|
}
|
|
1514
|
-
|
|
1515
|
-
* <p>An invitation to an AWS account to create a member and join the network.</p>
|
|
1516
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
1517
|
-
*/
|
|
803
|
+
|
|
1518
804
|
export interface Invitation {
|
|
1519
|
-
|
|
1520
|
-
* <p>The unique identifier for the invitation.</p>
|
|
1521
|
-
*/
|
|
805
|
+
|
|
1522
806
|
InvitationId?: string;
|
|
1523
|
-
|
|
1524
|
-
* <p>The date and time that the invitation was created.</p>
|
|
1525
|
-
*/
|
|
807
|
+
|
|
1526
808
|
CreationDate?: Date;
|
|
1527
|
-
|
|
1528
|
-
* <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>
|
|
1529
|
-
*/
|
|
809
|
+
|
|
1530
810
|
ExpirationDate?: Date;
|
|
1531
|
-
|
|
1532
|
-
* <p>The status of the invitation:</p>
|
|
1533
|
-
* <ul>
|
|
1534
|
-
* <li>
|
|
1535
|
-
* <p>
|
|
1536
|
-
* <code>PENDING</code> - The invitee has not created a member to join the network, and the invitation has not yet expired.</p>
|
|
1537
|
-
* </li>
|
|
1538
|
-
* <li>
|
|
1539
|
-
* <p>
|
|
1540
|
-
* <code>ACCEPTING</code> - The invitee has begun creating a member, and creation has not yet completed.</p>
|
|
1541
|
-
* </li>
|
|
1542
|
-
* <li>
|
|
1543
|
-
* <p>
|
|
1544
|
-
* <code>ACCEPTED</code> - The invitee created a member and joined the network using the <code>InvitationID</code>.</p>
|
|
1545
|
-
* </li>
|
|
1546
|
-
* <li>
|
|
1547
|
-
* <p>
|
|
1548
|
-
* <code>REJECTED</code> - The invitee rejected the invitation.</p>
|
|
1549
|
-
* </li>
|
|
1550
|
-
* <li>
|
|
1551
|
-
* <p>
|
|
1552
|
-
* <code>EXPIRED</code> - The invitee neither created a member nor rejected the invitation before the <code>ExpirationDate</code>.</p>
|
|
1553
|
-
* </li>
|
|
1554
|
-
* </ul>
|
|
1555
|
-
*/
|
|
811
|
+
|
|
1556
812
|
Status?: InvitationStatus | string;
|
|
1557
|
-
|
|
1558
|
-
* <p>A summary of network configuration properties.</p>
|
|
1559
|
-
*/
|
|
813
|
+
|
|
1560
814
|
NetworkSummary?: NetworkSummary;
|
|
1561
|
-
|
|
1562
|
-
* <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>AWS General Reference</i>.</p>
|
|
1563
|
-
*/
|
|
815
|
+
|
|
1564
816
|
Arn?: string;
|
|
1565
817
|
}
|
|
1566
818
|
export declare namespace Invitation {
|
|
1567
|
-
|
|
1568
|
-
* @internal
|
|
1569
|
-
*/
|
|
819
|
+
|
|
1570
820
|
const filterSensitiveLog: (obj: Invitation) => any;
|
|
1571
821
|
}
|
|
1572
822
|
export interface ListInvitationsInput {
|
|
1573
|
-
|
|
1574
|
-
* <p>The maximum number of invitations to return.</p>
|
|
1575
|
-
*/
|
|
823
|
+
|
|
1576
824
|
MaxResults?: number;
|
|
1577
|
-
|
|
1578
|
-
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
1579
|
-
*/
|
|
825
|
+
|
|
1580
826
|
NextToken?: string;
|
|
1581
827
|
}
|
|
1582
828
|
export declare namespace ListInvitationsInput {
|
|
1583
|
-
|
|
1584
|
-
* @internal
|
|
1585
|
-
*/
|
|
829
|
+
|
|
1586
830
|
const filterSensitiveLog: (obj: ListInvitationsInput) => any;
|
|
1587
831
|
}
|
|
1588
832
|
export interface ListInvitationsOutput {
|
|
1589
|
-
|
|
1590
|
-
* <p>The invitations for the network.</p>
|
|
1591
|
-
*/
|
|
833
|
+
|
|
1592
834
|
Invitations?: Invitation[];
|
|
1593
|
-
|
|
1594
|
-
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
1595
|
-
*/
|
|
835
|
+
|
|
1596
836
|
NextToken?: string;
|
|
1597
837
|
}
|
|
1598
838
|
export declare namespace ListInvitationsOutput {
|
|
1599
|
-
|
|
1600
|
-
* @internal
|
|
1601
|
-
*/
|
|
839
|
+
|
|
1602
840
|
const filterSensitiveLog: (obj: ListInvitationsOutput) => any;
|
|
1603
841
|
}
|
|
1604
842
|
export interface ListMembersInput {
|
|
1605
|
-
|
|
1606
|
-
* <p>The unique identifier of the network for which to list members.</p>
|
|
1607
|
-
*/
|
|
843
|
+
|
|
1608
844
|
NetworkId: string | undefined;
|
|
1609
|
-
|
|
1610
|
-
* <p>The optional name of the member to list.</p>
|
|
1611
|
-
*/
|
|
845
|
+
|
|
1612
846
|
Name?: string;
|
|
1613
|
-
|
|
1614
|
-
* <p>An optional status specifier. If provided, only members currently in this status are listed.</p>
|
|
1615
|
-
*/
|
|
847
|
+
|
|
1616
848
|
Status?: MemberStatus | string;
|
|
1617
|
-
|
|
1618
|
-
* <p>An optional Boolean value. If provided, the request is limited either to
|
|
1619
|
-
* members that the current AWS account owns (<code>true</code>) or that other AWS accounts
|
|
1620
|
-
* own (<code>false</code>). If omitted, all members are listed.</p>
|
|
1621
|
-
*/
|
|
849
|
+
|
|
1622
850
|
IsOwned?: boolean;
|
|
1623
|
-
|
|
1624
|
-
* <p>The maximum number of members to return in the request.</p>
|
|
1625
|
-
*/
|
|
851
|
+
|
|
1626
852
|
MaxResults?: number;
|
|
1627
|
-
|
|
1628
|
-
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
1629
|
-
*/
|
|
853
|
+
|
|
1630
854
|
NextToken?: string;
|
|
1631
855
|
}
|
|
1632
856
|
export declare namespace ListMembersInput {
|
|
1633
|
-
|
|
1634
|
-
* @internal
|
|
1635
|
-
*/
|
|
857
|
+
|
|
1636
858
|
const filterSensitiveLog: (obj: ListMembersInput) => any;
|
|
1637
859
|
}
|
|
1638
|
-
|
|
1639
|
-
* <p>A summary of configuration properties for a member.</p>
|
|
1640
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
1641
|
-
*/
|
|
860
|
+
|
|
1642
861
|
export interface MemberSummary {
|
|
1643
|
-
|
|
1644
|
-
* <p>The unique identifier of the member.</p>
|
|
1645
|
-
*/
|
|
862
|
+
|
|
1646
863
|
Id?: string;
|
|
1647
|
-
|
|
1648
|
-
* <p>The name of the member.</p>
|
|
1649
|
-
*/
|
|
864
|
+
|
|
1650
865
|
Name?: string;
|
|
1651
|
-
|
|
1652
|
-
* <p>An optional description of the member.</p>
|
|
1653
|
-
*/
|
|
866
|
+
|
|
1654
867
|
Description?: string;
|
|
1655
|
-
|
|
1656
|
-
* <p>The status of the member.</p>
|
|
1657
|
-
* <ul>
|
|
1658
|
-
* <li>
|
|
1659
|
-
* <p>
|
|
1660
|
-
* <code>CREATING</code> - The AWS account is in the process of creating a member.</p>
|
|
1661
|
-
* </li>
|
|
1662
|
-
* <li>
|
|
1663
|
-
* <p>
|
|
1664
|
-
* <code>AVAILABLE</code> - The member has been created and can participate in the network.</p>
|
|
1665
|
-
* </li>
|
|
1666
|
-
* <li>
|
|
1667
|
-
* <p>
|
|
1668
|
-
* <code>CREATE_FAILED</code> - The AWS account attempted to create a member and creation failed.</p>
|
|
1669
|
-
* </li>
|
|
1670
|
-
* <li>
|
|
1671
|
-
* <p>
|
|
1672
|
-
* <code>UPDATING</code> - The member is in the process of being updated.</p>
|
|
1673
|
-
* </li>
|
|
1674
|
-
* <li>
|
|
1675
|
-
* <p>
|
|
1676
|
-
* <code>DELETING</code> - The member and all associated resources are in the process of being deleted. Either the AWS account that owns the member deleted it, or the member is being deleted as the result of an <code>APPROVED</code>
|
|
1677
|
-
* <code>PROPOSAL</code> to remove the member.</p>
|
|
1678
|
-
* </li>
|
|
1679
|
-
* <li>
|
|
1680
|
-
* <p>
|
|
1681
|
-
* <code>DELETED</code> - The member can no longer participate on the network and all associated resources are deleted. Either the AWS account that owns the member deleted it, or the member is being deleted as the result of an <code>APPROVED</code>
|
|
1682
|
-
* <code>PROPOSAL</code> to remove the member.</p>
|
|
1683
|
-
* </li>
|
|
1684
|
-
* <li>
|
|
1685
|
-
* <p>
|
|
1686
|
-
* <code>INACCESSIBLE_ENCRYPTION_KEY</code> - The member is impaired and might not function as expected because it cannot access the specified customer managed key in AWS Key Management Service (AWS KMS) for encryption at rest. Either the KMS key was disabled or deleted, or the grants on the key were revoked.</p>
|
|
1687
|
-
* <p>The effect of disabling or deleting a key, or revoking a grant is not immediate. The member resource might take some time to find that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.</p>
|
|
1688
|
-
* </li>
|
|
1689
|
-
* </ul>
|
|
1690
|
-
*/
|
|
868
|
+
|
|
1691
869
|
Status?: MemberStatus | string;
|
|
1692
|
-
|
|
1693
|
-
* <p>The date and time that the member was created.</p>
|
|
1694
|
-
*/
|
|
870
|
+
|
|
1695
871
|
CreationDate?: Date;
|
|
1696
|
-
|
|
1697
|
-
* <p>An indicator of whether the member is owned by your AWS account or a different AWS account.</p>
|
|
1698
|
-
*/
|
|
872
|
+
|
|
1699
873
|
IsOwned?: boolean;
|
|
1700
|
-
|
|
1701
|
-
* <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>AWS General Reference</i>.</p>
|
|
1702
|
-
*/
|
|
874
|
+
|
|
1703
875
|
Arn?: string;
|
|
1704
876
|
}
|
|
1705
877
|
export declare namespace MemberSummary {
|
|
1706
|
-
|
|
1707
|
-
* @internal
|
|
1708
|
-
*/
|
|
878
|
+
|
|
1709
879
|
const filterSensitiveLog: (obj: MemberSummary) => any;
|
|
1710
880
|
}
|
|
1711
881
|
export interface ListMembersOutput {
|
|
1712
|
-
|
|
1713
|
-
* <p>An array of <code>MemberSummary</code> objects. Each object contains details about a network member.</p>
|
|
1714
|
-
*/
|
|
882
|
+
|
|
1715
883
|
Members?: MemberSummary[];
|
|
1716
|
-
|
|
1717
|
-
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
1718
|
-
*/
|
|
884
|
+
|
|
1719
885
|
NextToken?: string;
|
|
1720
886
|
}
|
|
1721
887
|
export declare namespace ListMembersOutput {
|
|
1722
|
-
|
|
1723
|
-
* @internal
|
|
1724
|
-
*/
|
|
888
|
+
|
|
1725
889
|
const filterSensitiveLog: (obj: ListMembersOutput) => any;
|
|
1726
890
|
}
|
|
1727
891
|
export interface ListNetworksInput {
|
|
1728
|
-
|
|
1729
|
-
* <p>The name of the network.</p>
|
|
1730
|
-
*/
|
|
892
|
+
|
|
1731
893
|
Name?: string;
|
|
1732
|
-
|
|
1733
|
-
* <p>An optional framework specifier. If provided, only networks of this framework type are listed.</p>
|
|
1734
|
-
*/
|
|
894
|
+
|
|
1735
895
|
Framework?: Framework | string;
|
|
1736
|
-
|
|
1737
|
-
* <p>An optional status specifier. If provided, only networks currently in this status are listed.</p>
|
|
1738
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
1739
|
-
*/
|
|
896
|
+
|
|
1740
897
|
Status?: NetworkStatus | string;
|
|
1741
|
-
|
|
1742
|
-
* <p>The maximum number of networks to list.</p>
|
|
1743
|
-
*/
|
|
898
|
+
|
|
1744
899
|
MaxResults?: number;
|
|
1745
|
-
|
|
1746
|
-
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
1747
|
-
*/
|
|
900
|
+
|
|
1748
901
|
NextToken?: string;
|
|
1749
902
|
}
|
|
1750
903
|
export declare namespace ListNetworksInput {
|
|
1751
|
-
|
|
1752
|
-
* @internal
|
|
1753
|
-
*/
|
|
904
|
+
|
|
1754
905
|
const filterSensitiveLog: (obj: ListNetworksInput) => any;
|
|
1755
906
|
}
|
|
1756
907
|
export interface ListNetworksOutput {
|
|
1757
|
-
|
|
1758
|
-
* <p>An array of <code>NetworkSummary</code> objects that contain configuration properties for each network.</p>
|
|
1759
|
-
*/
|
|
908
|
+
|
|
1760
909
|
Networks?: NetworkSummary[];
|
|
1761
|
-
|
|
1762
|
-
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
1763
|
-
*/
|
|
910
|
+
|
|
1764
911
|
NextToken?: string;
|
|
1765
912
|
}
|
|
1766
913
|
export declare namespace ListNetworksOutput {
|
|
1767
|
-
|
|
1768
|
-
* @internal
|
|
1769
|
-
*/
|
|
914
|
+
|
|
1770
915
|
const filterSensitiveLog: (obj: ListNetworksOutput) => any;
|
|
1771
916
|
}
|
|
1772
917
|
export interface ListNodesInput {
|
|
1773
|
-
|
|
1774
|
-
* <p>The unique identifier of the network for which to list nodes.</p>
|
|
1775
|
-
*/
|
|
918
|
+
|
|
1776
919
|
NetworkId: string | undefined;
|
|
1777
|
-
|
|
1778
|
-
* <p>The unique identifier of the member who owns the nodes to list.</p>
|
|
1779
|
-
* <p>Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.</p>
|
|
1780
|
-
*/
|
|
920
|
+
|
|
1781
921
|
MemberId?: string;
|
|
1782
|
-
|
|
1783
|
-
* <p>An optional status specifier. If provided, only nodes currently in this status are listed.</p>
|
|
1784
|
-
*/
|
|
922
|
+
|
|
1785
923
|
Status?: NodeStatus | string;
|
|
1786
|
-
|
|
1787
|
-
* <p>The maximum number of nodes to list.</p>
|
|
1788
|
-
*/
|
|
924
|
+
|
|
1789
925
|
MaxResults?: number;
|
|
1790
|
-
|
|
1791
|
-
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
1792
|
-
*/
|
|
926
|
+
|
|
1793
927
|
NextToken?: string;
|
|
1794
928
|
}
|
|
1795
929
|
export declare namespace ListNodesInput {
|
|
1796
|
-
|
|
1797
|
-
* @internal
|
|
1798
|
-
*/
|
|
930
|
+
|
|
1799
931
|
const filterSensitiveLog: (obj: ListNodesInput) => any;
|
|
1800
932
|
}
|
|
1801
|
-
|
|
1802
|
-
* <p>A summary of configuration properties for a node.</p>
|
|
1803
|
-
*/
|
|
933
|
+
|
|
1804
934
|
export interface NodeSummary {
|
|
1805
|
-
|
|
1806
|
-
* <p>The unique identifier of the node.</p>
|
|
1807
|
-
*/
|
|
935
|
+
|
|
1808
936
|
Id?: string;
|
|
1809
|
-
|
|
1810
|
-
* <p>The status of the node.</p>
|
|
1811
|
-
*/
|
|
937
|
+
|
|
1812
938
|
Status?: NodeStatus | string;
|
|
1813
|
-
|
|
1814
|
-
* <p>The date and time that the node was created.</p>
|
|
1815
|
-
*/
|
|
939
|
+
|
|
1816
940
|
CreationDate?: Date;
|
|
1817
|
-
|
|
1818
|
-
* <p>The Availability Zone in which the node exists.</p>
|
|
1819
|
-
*/
|
|
941
|
+
|
|
1820
942
|
AvailabilityZone?: string;
|
|
1821
|
-
|
|
1822
|
-
* <p>The EC2 instance type for the node.</p>
|
|
1823
|
-
*/
|
|
943
|
+
|
|
1824
944
|
InstanceType?: string;
|
|
1825
|
-
|
|
1826
|
-
* <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>AWS General Reference</i>.</p>
|
|
1827
|
-
*/
|
|
945
|
+
|
|
1828
946
|
Arn?: string;
|
|
1829
947
|
}
|
|
1830
948
|
export declare namespace NodeSummary {
|
|
1831
|
-
|
|
1832
|
-
* @internal
|
|
1833
|
-
*/
|
|
949
|
+
|
|
1834
950
|
const filterSensitiveLog: (obj: NodeSummary) => any;
|
|
1835
951
|
}
|
|
1836
952
|
export interface ListNodesOutput {
|
|
1837
|
-
|
|
1838
|
-
* <p>An array of <code>NodeSummary</code> objects that contain configuration properties for each node.</p>
|
|
1839
|
-
*/
|
|
953
|
+
|
|
1840
954
|
Nodes?: NodeSummary[];
|
|
1841
|
-
|
|
1842
|
-
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
1843
|
-
*/
|
|
955
|
+
|
|
1844
956
|
NextToken?: string;
|
|
1845
957
|
}
|
|
1846
958
|
export declare namespace ListNodesOutput {
|
|
1847
|
-
|
|
1848
|
-
* @internal
|
|
1849
|
-
*/
|
|
959
|
+
|
|
1850
960
|
const filterSensitiveLog: (obj: ListNodesOutput) => any;
|
|
1851
961
|
}
|
|
1852
962
|
export interface ListProposalsInput {
|
|
1853
|
-
|
|
1854
|
-
* <p>
|
|
1855
|
-
* The unique identifier of the network.
|
|
1856
|
-
* </p>
|
|
1857
|
-
*/
|
|
963
|
+
|
|
1858
964
|
NetworkId: string | undefined;
|
|
1859
|
-
|
|
1860
|
-
* <p>
|
|
1861
|
-
* The maximum number of proposals to return.
|
|
1862
|
-
* </p>
|
|
1863
|
-
*/
|
|
965
|
+
|
|
1864
966
|
MaxResults?: number;
|
|
1865
|
-
|
|
1866
|
-
* <p>
|
|
1867
|
-
* The pagination token that indicates the next set of results to retrieve.
|
|
1868
|
-
* </p>
|
|
1869
|
-
*/
|
|
967
|
+
|
|
1870
968
|
NextToken?: string;
|
|
1871
969
|
}
|
|
1872
970
|
export declare namespace ListProposalsInput {
|
|
1873
|
-
|
|
1874
|
-
* @internal
|
|
1875
|
-
*/
|
|
971
|
+
|
|
1876
972
|
const filterSensitiveLog: (obj: ListProposalsInput) => any;
|
|
1877
973
|
}
|
|
1878
|
-
|
|
1879
|
-
* <p>Properties of a proposal.</p>
|
|
1880
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
1881
|
-
*/
|
|
974
|
+
|
|
1882
975
|
export interface ProposalSummary {
|
|
1883
|
-
|
|
1884
|
-
* <p>
|
|
1885
|
-
* The unique identifier of the proposal.
|
|
1886
|
-
* </p>
|
|
1887
|
-
*/
|
|
976
|
+
|
|
1888
977
|
ProposalId?: string;
|
|
1889
|
-
|
|
1890
|
-
* <p>
|
|
1891
|
-
* The description of the proposal.
|
|
1892
|
-
* </p>
|
|
1893
|
-
*/
|
|
978
|
+
|
|
1894
979
|
Description?: string;
|
|
1895
|
-
|
|
1896
|
-
* <p>
|
|
1897
|
-
* The unique identifier of the member that created the proposal.
|
|
1898
|
-
* </p>
|
|
1899
|
-
*/
|
|
980
|
+
|
|
1900
981
|
ProposedByMemberId?: string;
|
|
1901
|
-
|
|
1902
|
-
* <p>
|
|
1903
|
-
* The name of the member that created the proposal.
|
|
1904
|
-
* </p>
|
|
1905
|
-
*/
|
|
982
|
+
|
|
1906
983
|
ProposedByMemberName?: string;
|
|
1907
|
-
|
|
1908
|
-
* <p>The status of the proposal. Values are as follows:</p>
|
|
1909
|
-
* <ul>
|
|
1910
|
-
* <li>
|
|
1911
|
-
* <p>
|
|
1912
|
-
* <code>IN_PROGRESS</code> - The proposal is active and open for member voting.</p>
|
|
1913
|
-
* </li>
|
|
1914
|
-
* <li>
|
|
1915
|
-
* <p>
|
|
1916
|
-
* <code>APPROVED</code> - The proposal was approved with sufficient <code>YES</code> votes among members according to the <code>VotingPolicy</code> specified for the <code>Network</code>. The specified proposal actions are carried out.</p>
|
|
1917
|
-
* </li>
|
|
1918
|
-
* <li>
|
|
1919
|
-
* <p>
|
|
1920
|
-
* <code>REJECTED</code> - The proposal was rejected with insufficient <code>YES</code> votes among members according to the <code>VotingPolicy</code> specified for the <code>Network</code>. The specified <code>ProposalActions</code> are not carried out.</p>
|
|
1921
|
-
* </li>
|
|
1922
|
-
* <li>
|
|
1923
|
-
* <p>
|
|
1924
|
-
* <code>EXPIRED</code> - Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specified <code>ProposalActions</code> are not carried out.</p>
|
|
1925
|
-
* </li>
|
|
1926
|
-
* <li>
|
|
1927
|
-
* <p>
|
|
1928
|
-
* <code>ACTION_FAILED</code> - One or more of the specified <code>ProposalActions</code> in a proposal that was approved could not be completed because of an error.</p>
|
|
1929
|
-
* </li>
|
|
1930
|
-
* </ul>
|
|
1931
|
-
*/
|
|
984
|
+
|
|
1932
985
|
Status?: ProposalStatus | string;
|
|
1933
|
-
|
|
1934
|
-
* <p>
|
|
1935
|
-
* The date and time that the proposal was created.
|
|
1936
|
-
* </p>
|
|
1937
|
-
*/
|
|
986
|
+
|
|
1938
987
|
CreationDate?: Date;
|
|
1939
|
-
|
|
1940
|
-
* <p>
|
|
1941
|
-
* 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 have not cast enough votes to determine the outcome according to the voting policy, the proposal is <code>EXPIRED</code> and <code>Actions</code> are not carried out.
|
|
1942
|
-
* </p>
|
|
1943
|
-
*/
|
|
988
|
+
|
|
1944
989
|
ExpirationDate?: Date;
|
|
1945
|
-
|
|
1946
|
-
* <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>AWS General Reference</i>.</p>
|
|
1947
|
-
*/
|
|
990
|
+
|
|
1948
991
|
Arn?: string;
|
|
1949
992
|
}
|
|
1950
993
|
export declare namespace ProposalSummary {
|
|
1951
|
-
|
|
1952
|
-
* @internal
|
|
1953
|
-
*/
|
|
994
|
+
|
|
1954
995
|
const filterSensitiveLog: (obj: ProposalSummary) => any;
|
|
1955
996
|
}
|
|
1956
997
|
export interface ListProposalsOutput {
|
|
1957
|
-
|
|
1958
|
-
* <p>The summary of each proposal made on the network.</p>
|
|
1959
|
-
*/
|
|
998
|
+
|
|
1960
999
|
Proposals?: ProposalSummary[];
|
|
1961
|
-
|
|
1962
|
-
* <p>The pagination token that indicates the next set of results to retrieve.</p>
|
|
1963
|
-
*/
|
|
1000
|
+
|
|
1964
1001
|
NextToken?: string;
|
|
1965
1002
|
}
|
|
1966
1003
|
export declare namespace ListProposalsOutput {
|
|
1967
|
-
|
|
1968
|
-
* @internal
|
|
1969
|
-
*/
|
|
1004
|
+
|
|
1970
1005
|
const filterSensitiveLog: (obj: ListProposalsOutput) => any;
|
|
1971
1006
|
}
|
|
1972
1007
|
export interface ListProposalVotesInput {
|
|
1973
|
-
|
|
1974
|
-
* <p>
|
|
1975
|
-
* The unique identifier of the network.
|
|
1976
|
-
* </p>
|
|
1977
|
-
*/
|
|
1008
|
+
|
|
1978
1009
|
NetworkId: string | undefined;
|
|
1979
|
-
|
|
1980
|
-
* <p>
|
|
1981
|
-
* The unique identifier of the proposal.
|
|
1982
|
-
* </p>
|
|
1983
|
-
*/
|
|
1010
|
+
|
|
1984
1011
|
ProposalId: string | undefined;
|
|
1985
|
-
|
|
1986
|
-
* <p>
|
|
1987
|
-
* The maximum number of votes to return.
|
|
1988
|
-
* </p>
|
|
1989
|
-
*/
|
|
1012
|
+
|
|
1990
1013
|
MaxResults?: number;
|
|
1991
|
-
|
|
1992
|
-
* <p>
|
|
1993
|
-
* The pagination token that indicates the next set of results to retrieve.
|
|
1994
|
-
* </p>
|
|
1995
|
-
*/
|
|
1014
|
+
|
|
1996
1015
|
NextToken?: string;
|
|
1997
1016
|
}
|
|
1998
1017
|
export declare namespace ListProposalVotesInput {
|
|
1999
|
-
|
|
2000
|
-
* @internal
|
|
2001
|
-
*/
|
|
1018
|
+
|
|
2002
1019
|
const filterSensitiveLog: (obj: ListProposalVotesInput) => any;
|
|
2003
1020
|
}
|
|
2004
1021
|
export declare enum VoteValue {
|
|
2005
1022
|
NO = "NO",
|
|
2006
1023
|
YES = "YES"
|
|
2007
1024
|
}
|
|
2008
|
-
|
|
2009
|
-
* <p>
|
|
2010
|
-
* Properties of an individual vote that a member cast for a proposal.
|
|
2011
|
-
* </p>
|
|
2012
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
2013
|
-
*/
|
|
1025
|
+
|
|
2014
1026
|
export interface VoteSummary {
|
|
2015
|
-
|
|
2016
|
-
* <p>
|
|
2017
|
-
* The vote value, either <code>YES</code> or <code>NO</code>.
|
|
2018
|
-
* </p>
|
|
2019
|
-
*/
|
|
1027
|
+
|
|
2020
1028
|
Vote?: VoteValue | string;
|
|
2021
|
-
|
|
2022
|
-
* <p>
|
|
2023
|
-
* The name of the member that cast the vote.
|
|
2024
|
-
* </p>
|
|
2025
|
-
*/
|
|
1029
|
+
|
|
2026
1030
|
MemberName?: string;
|
|
2027
|
-
|
|
2028
|
-
* <p>
|
|
2029
|
-
* The unique identifier of the member that cast the vote.
|
|
2030
|
-
* </p>
|
|
2031
|
-
*/
|
|
1031
|
+
|
|
2032
1032
|
MemberId?: string;
|
|
2033
1033
|
}
|
|
2034
1034
|
export declare namespace VoteSummary {
|
|
2035
|
-
|
|
2036
|
-
* @internal
|
|
2037
|
-
*/
|
|
1035
|
+
|
|
2038
1036
|
const filterSensitiveLog: (obj: VoteSummary) => any;
|
|
2039
1037
|
}
|
|
2040
1038
|
export interface ListProposalVotesOutput {
|
|
2041
|
-
|
|
2042
|
-
* <p>
|
|
2043
|
-
* The list of votes.
|
|
2044
|
-
* </p>
|
|
2045
|
-
*/
|
|
1039
|
+
|
|
2046
1040
|
ProposalVotes?: VoteSummary[];
|
|
2047
|
-
|
|
2048
|
-
* <p>
|
|
2049
|
-
* The pagination token that indicates the next set of results to retrieve.
|
|
2050
|
-
* </p>
|
|
2051
|
-
*/
|
|
1041
|
+
|
|
2052
1042
|
NextToken?: string;
|
|
2053
1043
|
}
|
|
2054
1044
|
export declare namespace ListProposalVotesOutput {
|
|
2055
|
-
|
|
2056
|
-
* @internal
|
|
2057
|
-
*/
|
|
1045
|
+
|
|
2058
1046
|
const filterSensitiveLog: (obj: ListProposalVotesOutput) => any;
|
|
2059
1047
|
}
|
|
2060
1048
|
export interface ListTagsForResourceRequest {
|
|
2061
|
-
|
|
2062
|
-
* <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>AWS General Reference</i>.</p>
|
|
2063
|
-
*/
|
|
1049
|
+
|
|
2064
1050
|
ResourceArn: string | undefined;
|
|
2065
1051
|
}
|
|
2066
1052
|
export declare namespace ListTagsForResourceRequest {
|
|
2067
|
-
|
|
2068
|
-
* @internal
|
|
2069
|
-
*/
|
|
1053
|
+
|
|
2070
1054
|
const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
|
|
2071
1055
|
}
|
|
2072
1056
|
export interface ListTagsForResourceResponse {
|
|
2073
|
-
|
|
2074
|
-
* <p>The tags assigned to the resource.</p>
|
|
2075
|
-
*/
|
|
1057
|
+
|
|
2076
1058
|
Tags?: {
|
|
2077
1059
|
[key: string]: string;
|
|
2078
1060
|
};
|
|
2079
1061
|
}
|
|
2080
1062
|
export declare namespace ListTagsForResourceResponse {
|
|
2081
|
-
|
|
2082
|
-
* @internal
|
|
2083
|
-
*/
|
|
1063
|
+
|
|
2084
1064
|
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
2085
1065
|
}
|
|
2086
1066
|
export interface RejectInvitationInput {
|
|
2087
|
-
|
|
2088
|
-
* <p>The unique identifier of the invitation to reject.</p>
|
|
2089
|
-
*/
|
|
1067
|
+
|
|
2090
1068
|
InvitationId: string | undefined;
|
|
2091
1069
|
}
|
|
2092
1070
|
export declare namespace RejectInvitationInput {
|
|
2093
|
-
|
|
2094
|
-
* @internal
|
|
2095
|
-
*/
|
|
1071
|
+
|
|
2096
1072
|
const filterSensitiveLog: (obj: RejectInvitationInput) => any;
|
|
2097
1073
|
}
|
|
2098
1074
|
export interface RejectInvitationOutput {
|
|
2099
1075
|
}
|
|
2100
1076
|
export declare namespace RejectInvitationOutput {
|
|
2101
|
-
|
|
2102
|
-
* @internal
|
|
2103
|
-
*/
|
|
1077
|
+
|
|
2104
1078
|
const filterSensitiveLog: (obj: RejectInvitationOutput) => any;
|
|
2105
1079
|
}
|
|
2106
1080
|
export interface TagResourceRequest {
|
|
2107
|
-
|
|
2108
|
-
* <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>AWS General Reference</i>.</p>
|
|
2109
|
-
*/
|
|
1081
|
+
|
|
2110
1082
|
ResourceArn: string | undefined;
|
|
2111
|
-
|
|
2112
|
-
* <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>
|
|
2113
|
-
*/
|
|
1083
|
+
|
|
2114
1084
|
Tags: {
|
|
2115
1085
|
[key: string]: string;
|
|
2116
1086
|
} | undefined;
|
|
2117
1087
|
}
|
|
2118
1088
|
export declare namespace TagResourceRequest {
|
|
2119
|
-
|
|
2120
|
-
* @internal
|
|
2121
|
-
*/
|
|
1089
|
+
|
|
2122
1090
|
const filterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
2123
1091
|
}
|
|
2124
1092
|
export interface TagResourceResponse {
|
|
2125
1093
|
}
|
|
2126
1094
|
export declare namespace TagResourceResponse {
|
|
2127
|
-
|
|
2128
|
-
* @internal
|
|
2129
|
-
*/
|
|
1095
|
+
|
|
2130
1096
|
const filterSensitiveLog: (obj: TagResourceResponse) => any;
|
|
2131
1097
|
}
|
|
2132
1098
|
export interface UntagResourceRequest {
|
|
2133
|
-
|
|
2134
|
-
* <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>AWS General Reference</i>.</p>
|
|
2135
|
-
*/
|
|
1099
|
+
|
|
2136
1100
|
ResourceArn: string | undefined;
|
|
2137
|
-
|
|
2138
|
-
* <p>The tag keys.</p>
|
|
2139
|
-
*/
|
|
1101
|
+
|
|
2140
1102
|
TagKeys: string[] | undefined;
|
|
2141
1103
|
}
|
|
2142
1104
|
export declare namespace UntagResourceRequest {
|
|
2143
|
-
|
|
2144
|
-
* @internal
|
|
2145
|
-
*/
|
|
1105
|
+
|
|
2146
1106
|
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
2147
1107
|
}
|
|
2148
1108
|
export interface UntagResourceResponse {
|
|
2149
1109
|
}
|
|
2150
1110
|
export declare namespace UntagResourceResponse {
|
|
2151
|
-
|
|
2152
|
-
* @internal
|
|
2153
|
-
*/
|
|
1111
|
+
|
|
2154
1112
|
const filterSensitiveLog: (obj: UntagResourceResponse) => any;
|
|
2155
1113
|
}
|
|
2156
1114
|
export interface UpdateMemberInput {
|
|
2157
|
-
|
|
2158
|
-
* <p>The unique identifier of the Managed Blockchain network to which the member belongs.</p>
|
|
2159
|
-
*/
|
|
1115
|
+
|
|
2160
1116
|
NetworkId: string | undefined;
|
|
2161
|
-
|
|
2162
|
-
* <p>The unique identifier of the member.</p>
|
|
2163
|
-
*/
|
|
1117
|
+
|
|
2164
1118
|
MemberId: string | undefined;
|
|
2165
|
-
|
|
2166
|
-
* <p>Configuration properties for publishing to Amazon CloudWatch Logs.</p>
|
|
2167
|
-
*/
|
|
1119
|
+
|
|
2168
1120
|
LogPublishingConfiguration?: MemberLogPublishingConfiguration;
|
|
2169
1121
|
}
|
|
2170
1122
|
export declare namespace UpdateMemberInput {
|
|
2171
|
-
|
|
2172
|
-
* @internal
|
|
2173
|
-
*/
|
|
1123
|
+
|
|
2174
1124
|
const filterSensitiveLog: (obj: UpdateMemberInput) => any;
|
|
2175
1125
|
}
|
|
2176
1126
|
export interface UpdateMemberOutput {
|
|
2177
1127
|
}
|
|
2178
1128
|
export declare namespace UpdateMemberOutput {
|
|
2179
|
-
|
|
2180
|
-
* @internal
|
|
2181
|
-
*/
|
|
1129
|
+
|
|
2182
1130
|
const filterSensitiveLog: (obj: UpdateMemberOutput) => any;
|
|
2183
1131
|
}
|
|
2184
1132
|
export interface UpdateNodeInput {
|
|
2185
|
-
|
|
2186
|
-
* <p>The unique identifier of the network that the node is on.</p>
|
|
2187
|
-
*/
|
|
1133
|
+
|
|
2188
1134
|
NetworkId: string | undefined;
|
|
2189
|
-
|
|
2190
|
-
* <p>The unique identifier of the member that owns the node.</p>
|
|
2191
|
-
* <p>Applies only to Hyperledger Fabric.</p>
|
|
2192
|
-
*/
|
|
1135
|
+
|
|
2193
1136
|
MemberId?: string;
|
|
2194
|
-
|
|
2195
|
-
* <p>The unique identifier of the node.</p>
|
|
2196
|
-
*/
|
|
1137
|
+
|
|
2197
1138
|
NodeId: string | undefined;
|
|
2198
|
-
|
|
2199
|
-
* <p>Configuration properties for publishing to Amazon CloudWatch Logs.</p>
|
|
2200
|
-
*/
|
|
1139
|
+
|
|
2201
1140
|
LogPublishingConfiguration?: NodeLogPublishingConfiguration;
|
|
2202
1141
|
}
|
|
2203
1142
|
export declare namespace UpdateNodeInput {
|
|
2204
|
-
|
|
2205
|
-
* @internal
|
|
2206
|
-
*/
|
|
1143
|
+
|
|
2207
1144
|
const filterSensitiveLog: (obj: UpdateNodeInput) => any;
|
|
2208
1145
|
}
|
|
2209
1146
|
export interface UpdateNodeOutput {
|
|
2210
1147
|
}
|
|
2211
1148
|
export declare namespace UpdateNodeOutput {
|
|
2212
|
-
|
|
2213
|
-
* @internal
|
|
2214
|
-
*/
|
|
1149
|
+
|
|
2215
1150
|
const filterSensitiveLog: (obj: UpdateNodeOutput) => any;
|
|
2216
1151
|
}
|
|
2217
1152
|
export interface VoteOnProposalInput {
|
|
2218
|
-
|
|
2219
|
-
* <p>
|
|
2220
|
-
* The unique identifier of the network.
|
|
2221
|
-
* </p>
|
|
2222
|
-
*/
|
|
1153
|
+
|
|
2223
1154
|
NetworkId: string | undefined;
|
|
2224
|
-
|
|
2225
|
-
* <p>
|
|
2226
|
-
* The unique identifier of the proposal.
|
|
2227
|
-
* </p>
|
|
2228
|
-
*/
|
|
1155
|
+
|
|
2229
1156
|
ProposalId: string | undefined;
|
|
2230
|
-
|
|
2231
|
-
* <p>The unique identifier of the member casting the vote.
|
|
2232
|
-
* </p>
|
|
2233
|
-
*/
|
|
1157
|
+
|
|
2234
1158
|
VoterMemberId: string | undefined;
|
|
2235
|
-
|
|
2236
|
-
* <p>
|
|
2237
|
-
* The value of the vote.
|
|
2238
|
-
* </p>
|
|
2239
|
-
*/
|
|
1159
|
+
|
|
2240
1160
|
Vote: VoteValue | string | undefined;
|
|
2241
1161
|
}
|
|
2242
1162
|
export declare namespace VoteOnProposalInput {
|
|
2243
|
-
|
|
2244
|
-
* @internal
|
|
2245
|
-
*/
|
|
1163
|
+
|
|
2246
1164
|
const filterSensitiveLog: (obj: VoteOnProposalInput) => any;
|
|
2247
1165
|
}
|
|
2248
1166
|
export interface VoteOnProposalOutput {
|
|
2249
1167
|
}
|
|
2250
1168
|
export declare namespace VoteOnProposalOutput {
|
|
2251
|
-
|
|
2252
|
-
* @internal
|
|
2253
|
-
*/
|
|
1169
|
+
|
|
2254
1170
|
const filterSensitiveLog: (obj: VoteOnProposalOutput) => any;
|
|
2255
1171
|
}
|