aws-sdk-managedblockchain 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
File without changes
@@ -0,0 +1,14 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::ManagedBlockchain
9
+ module Errors
10
+
11
+ extend Aws::Errors::DynamicErrors
12
+
13
+ end
14
+ end
@@ -0,0 +1,23 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::ManagedBlockchain
9
+ class Resource
10
+
11
+ # @param options ({})
12
+ # @option options [Client] :client
13
+ def initialize(options = {})
14
+ @client = options[:client] || Client.new(options)
15
+ end
16
+
17
+ # @return [Client]
18
+ def client
19
+ @client
20
+ end
21
+
22
+ end
23
+ end
@@ -0,0 +1,1897 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::ManagedBlockchain
9
+ module Types
10
+
11
+ # A policy type that defines the voting rules for the network. The rules
12
+ # decide if a proposal is approved. Approval may be based on criteria
13
+ # such as the percentage of `YES` votes and the duration of the
14
+ # proposal. The policy applies to all proposals and is specified when
15
+ # the network is created.
16
+ #
17
+ # @note When making an API call, you may pass ApprovalThresholdPolicy
18
+ # data as a hash:
19
+ #
20
+ # {
21
+ # threshold_percentage: 1,
22
+ # proposal_duration_in_hours: 1,
23
+ # threshold_comparator: "GREATER_THAN", # accepts GREATER_THAN, GREATER_THAN_OR_EQUAL_TO
24
+ # }
25
+ #
26
+ # @!attribute [rw] threshold_percentage
27
+ # The percentage of votes among all members that must be `YES` for a
28
+ # proposal to be approved. For example, a `ThresholdPercentage` value
29
+ # of `50` indicates 50%. The `ThresholdComparator` determines the
30
+ # precise comparison. If a `ThresholdPercentage` value of `50` is
31
+ # specified on a network with 10 members, along with a
32
+ # `ThresholdComparator` value of `GREATER_THAN`, this indicates that 6
33
+ # `YES` votes are required for the proposal to be approved.
34
+ # @return [Integer]
35
+ #
36
+ # @!attribute [rw] proposal_duration_in_hours
37
+ # The duration from the time that a proposal is created until it
38
+ # expires. If members cast neither the required number of `YES` votes
39
+ # to approve the proposal nor the number of `NO` votes required to
40
+ # reject it before the duration expires, the proposal is `EXPIRED` and
41
+ # `ProposalActions` are not carried out.
42
+ # @return [Integer]
43
+ #
44
+ # @!attribute [rw] threshold_comparator
45
+ # Determines whether the vote percentage must be greater than the
46
+ # `ThresholdPercentage` or must be greater than or equal to the
47
+ # `ThreholdPercentage` to be approved.
48
+ # @return [String]
49
+ #
50
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ApprovalThresholdPolicy AWS API Documentation
51
+ #
52
+ class ApprovalThresholdPolicy < Struct.new(
53
+ :threshold_percentage,
54
+ :proposal_duration_in_hours,
55
+ :threshold_comparator)
56
+ include Aws::Structure
57
+ end
58
+
59
+ # @note When making an API call, you may pass CreateMemberInput
60
+ # data as a hash:
61
+ #
62
+ # {
63
+ # client_request_token: "ClientRequestTokenString", # required
64
+ # invitation_id: "ResourceIdString", # required
65
+ # network_id: "ResourceIdString", # required
66
+ # member_configuration: { # required
67
+ # name: "NetworkMemberNameString", # required
68
+ # description: "DescriptionString",
69
+ # framework_configuration: { # required
70
+ # fabric: {
71
+ # admin_username: "UsernameString", # required
72
+ # admin_password: "PasswordString", # required
73
+ # },
74
+ # },
75
+ # },
76
+ # }
77
+ #
78
+ # @!attribute [rw] client_request_token
79
+ # A unique, case-sensitive identifier that you provide to ensure the
80
+ # idempotency of the operation. An idempotent operation completes no
81
+ # more than one time. This identifier is required only if you make a
82
+ # service request directly using an HTTP client. It is generated
83
+ # automatically if you use an AWS SDK or the AWS CLI.
84
+ #
85
+ # **A suitable default value is auto-generated.** You should normally
86
+ # not need to pass this option.
87
+ # @return [String]
88
+ #
89
+ # @!attribute [rw] invitation_id
90
+ # The unique identifier of the invitation that is sent to the member
91
+ # to join the network.
92
+ # @return [String]
93
+ #
94
+ # @!attribute [rw] network_id
95
+ # The unique identifier of the network in which the member is created.
96
+ # @return [String]
97
+ #
98
+ # @!attribute [rw] member_configuration
99
+ # Member configuration parameters.
100
+ # @return [Types::MemberConfiguration]
101
+ #
102
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateMemberInput AWS API Documentation
103
+ #
104
+ class CreateMemberInput < Struct.new(
105
+ :client_request_token,
106
+ :invitation_id,
107
+ :network_id,
108
+ :member_configuration)
109
+ include Aws::Structure
110
+ end
111
+
112
+ # @!attribute [rw] member_id
113
+ # The unique identifier of the member.
114
+ # @return [String]
115
+ #
116
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateMemberOutput AWS API Documentation
117
+ #
118
+ class CreateMemberOutput < Struct.new(
119
+ :member_id)
120
+ include Aws::Structure
121
+ end
122
+
123
+ # @note When making an API call, you may pass CreateNetworkInput
124
+ # data as a hash:
125
+ #
126
+ # {
127
+ # client_request_token: "ClientRequestTokenString", # required
128
+ # name: "NameString", # required
129
+ # description: "DescriptionString",
130
+ # framework: "HYPERLEDGER_FABRIC", # required, accepts HYPERLEDGER_FABRIC
131
+ # framework_version: "FrameworkVersionString", # required
132
+ # framework_configuration: {
133
+ # fabric: {
134
+ # edition: "STARTER", # required, accepts STARTER, STANDARD
135
+ # },
136
+ # },
137
+ # voting_policy: { # required
138
+ # approval_threshold_policy: {
139
+ # threshold_percentage: 1,
140
+ # proposal_duration_in_hours: 1,
141
+ # threshold_comparator: "GREATER_THAN", # accepts GREATER_THAN, GREATER_THAN_OR_EQUAL_TO
142
+ # },
143
+ # },
144
+ # member_configuration: { # required
145
+ # name: "NetworkMemberNameString", # required
146
+ # description: "DescriptionString",
147
+ # framework_configuration: { # required
148
+ # fabric: {
149
+ # admin_username: "UsernameString", # required
150
+ # admin_password: "PasswordString", # required
151
+ # },
152
+ # },
153
+ # },
154
+ # }
155
+ #
156
+ # @!attribute [rw] client_request_token
157
+ # A unique, case-sensitive identifier that you provide to ensure the
158
+ # idempotency of the operation. An idempotent operation completes no
159
+ # more than one time. This identifier is required only if you make a
160
+ # service request directly using an HTTP client. It is generated
161
+ # automatically if you use an AWS SDK or the AWS CLI.
162
+ #
163
+ # **A suitable default value is auto-generated.** You should normally
164
+ # not need to pass this option.
165
+ # @return [String]
166
+ #
167
+ # @!attribute [rw] name
168
+ # The name of the network.
169
+ # @return [String]
170
+ #
171
+ # @!attribute [rw] description
172
+ # An optional description for the network.
173
+ # @return [String]
174
+ #
175
+ # @!attribute [rw] framework
176
+ # The blockchain framework that the network uses.
177
+ # @return [String]
178
+ #
179
+ # @!attribute [rw] framework_version
180
+ # The version of the blockchain framework that the network uses.
181
+ # @return [String]
182
+ #
183
+ # @!attribute [rw] framework_configuration
184
+ # Configuration properties of the blockchain framework relevant to the
185
+ # network configuration.
186
+ # @return [Types::NetworkFrameworkConfiguration]
187
+ #
188
+ # @!attribute [rw] voting_policy
189
+ # The voting rules used by the network to determine if a proposal is
190
+ # approved.
191
+ # @return [Types::VotingPolicy]
192
+ #
193
+ # @!attribute [rw] member_configuration
194
+ # Configuration properties for the first member within the network.
195
+ # @return [Types::MemberConfiguration]
196
+ #
197
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateNetworkInput AWS API Documentation
198
+ #
199
+ class CreateNetworkInput < Struct.new(
200
+ :client_request_token,
201
+ :name,
202
+ :description,
203
+ :framework,
204
+ :framework_version,
205
+ :framework_configuration,
206
+ :voting_policy,
207
+ :member_configuration)
208
+ include Aws::Structure
209
+ end
210
+
211
+ # @!attribute [rw] network_id
212
+ # The unique identifier for the network.
213
+ # @return [String]
214
+ #
215
+ # @!attribute [rw] member_id
216
+ # The unique identifier for the first member within the network.
217
+ # @return [String]
218
+ #
219
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateNetworkOutput AWS API Documentation
220
+ #
221
+ class CreateNetworkOutput < Struct.new(
222
+ :network_id,
223
+ :member_id)
224
+ include Aws::Structure
225
+ end
226
+
227
+ # @note When making an API call, you may pass CreateNodeInput
228
+ # data as a hash:
229
+ #
230
+ # {
231
+ # client_request_token: "ClientRequestTokenString", # required
232
+ # network_id: "ResourceIdString", # required
233
+ # member_id: "ResourceIdString", # required
234
+ # node_configuration: { # required
235
+ # instance_type: "InstanceTypeString", # required
236
+ # availability_zone: "AvailabilityZoneString", # required
237
+ # },
238
+ # }
239
+ #
240
+ # @!attribute [rw] client_request_token
241
+ # A unique, case-sensitive identifier that you provide to ensure the
242
+ # idempotency of the operation. An idempotent operation completes no
243
+ # more than one time. This identifier is required only if you make a
244
+ # service request directly using an HTTP client. It is generated
245
+ # automatically if you use an AWS SDK or the AWS CLI.
246
+ #
247
+ # **A suitable default value is auto-generated.** You should normally
248
+ # not need to pass this option.
249
+ # @return [String]
250
+ #
251
+ # @!attribute [rw] network_id
252
+ # The unique identifier of the network in which this node runs.
253
+ # @return [String]
254
+ #
255
+ # @!attribute [rw] member_id
256
+ # The unique identifier of the member that owns this node.
257
+ # @return [String]
258
+ #
259
+ # @!attribute [rw] node_configuration
260
+ # The properties of a node configuration.
261
+ # @return [Types::NodeConfiguration]
262
+ #
263
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateNodeInput AWS API Documentation
264
+ #
265
+ class CreateNodeInput < Struct.new(
266
+ :client_request_token,
267
+ :network_id,
268
+ :member_id,
269
+ :node_configuration)
270
+ include Aws::Structure
271
+ end
272
+
273
+ # @!attribute [rw] node_id
274
+ # The unique identifier of the node.
275
+ # @return [String]
276
+ #
277
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateNodeOutput AWS API Documentation
278
+ #
279
+ class CreateNodeOutput < Struct.new(
280
+ :node_id)
281
+ include Aws::Structure
282
+ end
283
+
284
+ # @note When making an API call, you may pass CreateProposalInput
285
+ # data as a hash:
286
+ #
287
+ # {
288
+ # client_request_token: "ClientRequestTokenString", # required
289
+ # network_id: "ResourceIdString", # required
290
+ # member_id: "ResourceIdString", # required
291
+ # actions: { # required
292
+ # invitations: [
293
+ # {
294
+ # principal: "PrincipalString", # required
295
+ # },
296
+ # ],
297
+ # removals: [
298
+ # {
299
+ # member_id: "ResourceIdString", # required
300
+ # },
301
+ # ],
302
+ # },
303
+ # description: "DescriptionString",
304
+ # }
305
+ #
306
+ # @!attribute [rw] client_request_token
307
+ # A unique, case-sensitive identifier that you provide to ensure the
308
+ # idempotency of the operation. An idempotent operation completes no
309
+ # more than one time. This identifier is required only if you make a
310
+ # service request directly using an HTTP client. It is generated
311
+ # automatically if you use an AWS SDK or the AWS CLI.
312
+ #
313
+ # **A suitable default value is auto-generated.** You should normally
314
+ # not need to pass this option.
315
+ # @return [String]
316
+ #
317
+ # @!attribute [rw] network_id
318
+ # The unique identifier of the network for which the proposal is made.
319
+ # @return [String]
320
+ #
321
+ # @!attribute [rw] member_id
322
+ # The unique identifier of the member that is creating the proposal.
323
+ # This identifier is especially useful for identifying the member
324
+ # making the proposal when multiple members exist in a single AWS
325
+ # account.
326
+ # @return [String]
327
+ #
328
+ # @!attribute [rw] actions
329
+ # The type of actions proposed, such as inviting a member or removing
330
+ # a member. The types of `Actions` in a proposal are mutually
331
+ # exclusive. For example, a proposal with `Invitations` actions cannot
332
+ # also contain `Removals` actions.
333
+ # @return [Types::ProposalActions]
334
+ #
335
+ # @!attribute [rw] description
336
+ # A description for the proposal that is visible to voting members,
337
+ # for example, "Proposal to add Example Corp. as member."
338
+ # @return [String]
339
+ #
340
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateProposalInput AWS API Documentation
341
+ #
342
+ class CreateProposalInput < Struct.new(
343
+ :client_request_token,
344
+ :network_id,
345
+ :member_id,
346
+ :actions,
347
+ :description)
348
+ include Aws::Structure
349
+ end
350
+
351
+ # @!attribute [rw] proposal_id
352
+ # The unique identifier of the proposal.
353
+ # @return [String]
354
+ #
355
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateProposalOutput AWS API Documentation
356
+ #
357
+ class CreateProposalOutput < Struct.new(
358
+ :proposal_id)
359
+ include Aws::Structure
360
+ end
361
+
362
+ # @note When making an API call, you may pass DeleteMemberInput
363
+ # data as a hash:
364
+ #
365
+ # {
366
+ # network_id: "ResourceIdString", # required
367
+ # member_id: "ResourceIdString", # required
368
+ # }
369
+ #
370
+ # @!attribute [rw] network_id
371
+ # The unique identifier of the network from which the member is
372
+ # removed.
373
+ # @return [String]
374
+ #
375
+ # @!attribute [rw] member_id
376
+ # The unique identifier of the member to remove.
377
+ # @return [String]
378
+ #
379
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/DeleteMemberInput AWS API Documentation
380
+ #
381
+ class DeleteMemberInput < Struct.new(
382
+ :network_id,
383
+ :member_id)
384
+ include Aws::Structure
385
+ end
386
+
387
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/DeleteMemberOutput AWS API Documentation
388
+ #
389
+ class DeleteMemberOutput < Aws::EmptyStructure; end
390
+
391
+ # @note When making an API call, you may pass DeleteNodeInput
392
+ # data as a hash:
393
+ #
394
+ # {
395
+ # network_id: "ResourceIdString", # required
396
+ # member_id: "ResourceIdString", # required
397
+ # node_id: "ResourceIdString", # required
398
+ # }
399
+ #
400
+ # @!attribute [rw] network_id
401
+ # The unique identifier of the network that the node belongs to.
402
+ # @return [String]
403
+ #
404
+ # @!attribute [rw] member_id
405
+ # The unique identifier of the member that owns this node.
406
+ # @return [String]
407
+ #
408
+ # @!attribute [rw] node_id
409
+ # The unique identifier of the node.
410
+ # @return [String]
411
+ #
412
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/DeleteNodeInput AWS API Documentation
413
+ #
414
+ class DeleteNodeInput < Struct.new(
415
+ :network_id,
416
+ :member_id,
417
+ :node_id)
418
+ include Aws::Structure
419
+ end
420
+
421
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/DeleteNodeOutput AWS API Documentation
422
+ #
423
+ class DeleteNodeOutput < Aws::EmptyStructure; end
424
+
425
+ # @note When making an API call, you may pass GetMemberInput
426
+ # data as a hash:
427
+ #
428
+ # {
429
+ # network_id: "ResourceIdString", # required
430
+ # member_id: "ResourceIdString", # required
431
+ # }
432
+ #
433
+ # @!attribute [rw] network_id
434
+ # The unique identifier of the network to which the member belongs.
435
+ # @return [String]
436
+ #
437
+ # @!attribute [rw] member_id
438
+ # The unique identifier of the member.
439
+ # @return [String]
440
+ #
441
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetMemberInput AWS API Documentation
442
+ #
443
+ class GetMemberInput < Struct.new(
444
+ :network_id,
445
+ :member_id)
446
+ include Aws::Structure
447
+ end
448
+
449
+ # @!attribute [rw] member
450
+ # The properties of a member.
451
+ # @return [Types::Member]
452
+ #
453
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetMemberOutput AWS API Documentation
454
+ #
455
+ class GetMemberOutput < Struct.new(
456
+ :member)
457
+ include Aws::Structure
458
+ end
459
+
460
+ # @note When making an API call, you may pass GetNetworkInput
461
+ # data as a hash:
462
+ #
463
+ # {
464
+ # network_id: "ResourceIdString", # required
465
+ # }
466
+ #
467
+ # @!attribute [rw] network_id
468
+ # The unique identifier of the network to get information about.
469
+ # @return [String]
470
+ #
471
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNetworkInput AWS API Documentation
472
+ #
473
+ class GetNetworkInput < Struct.new(
474
+ :network_id)
475
+ include Aws::Structure
476
+ end
477
+
478
+ # @!attribute [rw] network
479
+ # An object containing network configuration parameters.
480
+ # @return [Types::Network]
481
+ #
482
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNetworkOutput AWS API Documentation
483
+ #
484
+ class GetNetworkOutput < Struct.new(
485
+ :network)
486
+ include Aws::Structure
487
+ end
488
+
489
+ # @note When making an API call, you may pass GetNodeInput
490
+ # data as a hash:
491
+ #
492
+ # {
493
+ # network_id: "ResourceIdString", # required
494
+ # member_id: "ResourceIdString", # required
495
+ # node_id: "ResourceIdString", # required
496
+ # }
497
+ #
498
+ # @!attribute [rw] network_id
499
+ # The unique identifier of the network to which the node belongs.
500
+ # @return [String]
501
+ #
502
+ # @!attribute [rw] member_id
503
+ # The unique identifier of the member that owns the node.
504
+ # @return [String]
505
+ #
506
+ # @!attribute [rw] node_id
507
+ # The unique identifier of the node.
508
+ # @return [String]
509
+ #
510
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNodeInput AWS API Documentation
511
+ #
512
+ class GetNodeInput < Struct.new(
513
+ :network_id,
514
+ :member_id,
515
+ :node_id)
516
+ include Aws::Structure
517
+ end
518
+
519
+ # @!attribute [rw] node
520
+ # Properties of the node configuration.
521
+ # @return [Types::Node]
522
+ #
523
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNodeOutput AWS API Documentation
524
+ #
525
+ class GetNodeOutput < Struct.new(
526
+ :node)
527
+ include Aws::Structure
528
+ end
529
+
530
+ # @note When making an API call, you may pass GetProposalInput
531
+ # data as a hash:
532
+ #
533
+ # {
534
+ # network_id: "ResourceIdString", # required
535
+ # proposal_id: "ResourceIdString", # required
536
+ # }
537
+ #
538
+ # @!attribute [rw] network_id
539
+ # The unique identifier of the network for which the proposal is made.
540
+ # @return [String]
541
+ #
542
+ # @!attribute [rw] proposal_id
543
+ # The unique identifier of the proposal.
544
+ # @return [String]
545
+ #
546
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetProposalInput AWS API Documentation
547
+ #
548
+ class GetProposalInput < Struct.new(
549
+ :network_id,
550
+ :proposal_id)
551
+ include Aws::Structure
552
+ end
553
+
554
+ # @!attribute [rw] proposal
555
+ # Information about a proposal.
556
+ # @return [Types::Proposal]
557
+ #
558
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetProposalOutput AWS API Documentation
559
+ #
560
+ class GetProposalOutput < Struct.new(
561
+ :proposal)
562
+ include Aws::Structure
563
+ end
564
+
565
+ # An invitation to an AWS account to create a member and join the
566
+ # network.
567
+ #
568
+ # @!attribute [rw] invitation_id
569
+ # The unique identifier for the invitation.
570
+ # @return [String]
571
+ #
572
+ # @!attribute [rw] creation_date
573
+ # The date and time that the invitation was created.
574
+ # @return [Time]
575
+ #
576
+ # @!attribute [rw] expiration_date
577
+ # The date and time that the invitation expires. This is the
578
+ # `CreationDate` plus the `ProposalDurationInHours` that is specified
579
+ # in the `ProposalThresholdPolicy`. After this date and time, the
580
+ # invitee can no longer create a member and join the network using
581
+ # this `InvitationId`.
582
+ # @return [Time]
583
+ #
584
+ # @!attribute [rw] status
585
+ # The status of the invitation:
586
+ #
587
+ # * `PENDING` - The invitee has not created a member to join the
588
+ # network, and the invitation has not yet expired.
589
+ #
590
+ # * `ACCEPTING` - The invitee has begun creating a member, and
591
+ # creation has not yet completed.
592
+ #
593
+ # * `ACCEPTED` - The invitee created a member and joined the network
594
+ # using the `InvitationID`.
595
+ #
596
+ # * `REJECTED` - The invitee rejected the invitation.
597
+ #
598
+ # * `EXPIRED` - The invitee neither created a member nor rejected the
599
+ # invitation before the `ExpirationDate`.
600
+ # @return [String]
601
+ #
602
+ # @!attribute [rw] network_summary
603
+ # A summary of network configuration properties.
604
+ # @return [Types::NetworkSummary]
605
+ #
606
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/Invitation AWS API Documentation
607
+ #
608
+ class Invitation < Struct.new(
609
+ :invitation_id,
610
+ :creation_date,
611
+ :expiration_date,
612
+ :status,
613
+ :network_summary)
614
+ include Aws::Structure
615
+ end
616
+
617
+ # An action to invite a specific AWS account to create a member and join
618
+ # the network. The `InviteAction` is carried out when a `Proposal` is
619
+ # `APPROVED`.
620
+ #
621
+ # @note When making an API call, you may pass InviteAction
622
+ # data as a hash:
623
+ #
624
+ # {
625
+ # principal: "PrincipalString", # required
626
+ # }
627
+ #
628
+ # @!attribute [rw] principal
629
+ # The AWS account ID to invite.
630
+ # @return [String]
631
+ #
632
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/InviteAction AWS API Documentation
633
+ #
634
+ class InviteAction < Struct.new(
635
+ :principal)
636
+ include Aws::Structure
637
+ end
638
+
639
+ # @note When making an API call, you may pass ListInvitationsInput
640
+ # data as a hash:
641
+ #
642
+ # {
643
+ # max_results: 1,
644
+ # next_token: "PaginationToken",
645
+ # }
646
+ #
647
+ # @!attribute [rw] max_results
648
+ # The maximum number of invitations to return.
649
+ # @return [Integer]
650
+ #
651
+ # @!attribute [rw] next_token
652
+ # The pagination token that indicates the next set of results to
653
+ # retrieve.
654
+ # @return [String]
655
+ #
656
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListInvitationsInput AWS API Documentation
657
+ #
658
+ class ListInvitationsInput < Struct.new(
659
+ :max_results,
660
+ :next_token)
661
+ include Aws::Structure
662
+ end
663
+
664
+ # @!attribute [rw] invitations
665
+ # The invitations for the network.
666
+ # @return [Array<Types::Invitation>]
667
+ #
668
+ # @!attribute [rw] next_token
669
+ # The pagination token that indicates the next set of results to
670
+ # retrieve.
671
+ # @return [String]
672
+ #
673
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListInvitationsOutput AWS API Documentation
674
+ #
675
+ class ListInvitationsOutput < Struct.new(
676
+ :invitations,
677
+ :next_token)
678
+ include Aws::Structure
679
+ end
680
+
681
+ # @note When making an API call, you may pass ListMembersInput
682
+ # data as a hash:
683
+ #
684
+ # {
685
+ # network_id: "ResourceIdString", # required
686
+ # name: "String",
687
+ # status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, DELETING, DELETED
688
+ # is_owned: false,
689
+ # max_results: 1,
690
+ # next_token: "PaginationToken",
691
+ # }
692
+ #
693
+ # @!attribute [rw] network_id
694
+ # The unique identifier of the network for which to list members.
695
+ # @return [String]
696
+ #
697
+ # @!attribute [rw] name
698
+ # The optional name of the member to list.
699
+ # @return [String]
700
+ #
701
+ # @!attribute [rw] status
702
+ # An optional status specifier. If provided, only members currently in
703
+ # this status are listed.
704
+ # @return [String]
705
+ #
706
+ # @!attribute [rw] is_owned
707
+ # An optional Boolean value. If provided, the request is limited
708
+ # either to members that the current AWS account owns (`true`) or that
709
+ # other AWS accounts own (`false`). If omitted, all members are
710
+ # listed.
711
+ # @return [Boolean]
712
+ #
713
+ # @!attribute [rw] max_results
714
+ # The maximum number of members to return in the request.
715
+ # @return [Integer]
716
+ #
717
+ # @!attribute [rw] next_token
718
+ # The pagination token that indicates the next set of results to
719
+ # retrieve.
720
+ # @return [String]
721
+ #
722
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListMembersInput AWS API Documentation
723
+ #
724
+ class ListMembersInput < Struct.new(
725
+ :network_id,
726
+ :name,
727
+ :status,
728
+ :is_owned,
729
+ :max_results,
730
+ :next_token)
731
+ include Aws::Structure
732
+ end
733
+
734
+ # @!attribute [rw] members
735
+ # An array of `MemberSummary` objects. Each object contains details
736
+ # about a network member.
737
+ # @return [Array<Types::MemberSummary>]
738
+ #
739
+ # @!attribute [rw] next_token
740
+ # The pagination token that indicates the next set of results to
741
+ # retrieve.
742
+ # @return [String]
743
+ #
744
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListMembersOutput AWS API Documentation
745
+ #
746
+ class ListMembersOutput < Struct.new(
747
+ :members,
748
+ :next_token)
749
+ include Aws::Structure
750
+ end
751
+
752
+ # @note When making an API call, you may pass ListNetworksInput
753
+ # data as a hash:
754
+ #
755
+ # {
756
+ # name: "String",
757
+ # framework: "HYPERLEDGER_FABRIC", # accepts HYPERLEDGER_FABRIC
758
+ # status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, DELETING, DELETED
759
+ # max_results: 1,
760
+ # next_token: "PaginationToken",
761
+ # }
762
+ #
763
+ # @!attribute [rw] name
764
+ # The name of the network.
765
+ # @return [String]
766
+ #
767
+ # @!attribute [rw] framework
768
+ # An optional framework specifier. If provided, only networks of this
769
+ # framework type are listed.
770
+ # @return [String]
771
+ #
772
+ # @!attribute [rw] status
773
+ # An optional status specifier. If provided, only networks currently
774
+ # in this status are listed.
775
+ # @return [String]
776
+ #
777
+ # @!attribute [rw] max_results
778
+ # The maximum number of networks to list.
779
+ # @return [Integer]
780
+ #
781
+ # @!attribute [rw] next_token
782
+ # The pagination token that indicates the next set of results to
783
+ # retrieve.
784
+ # @return [String]
785
+ #
786
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListNetworksInput AWS API Documentation
787
+ #
788
+ class ListNetworksInput < Struct.new(
789
+ :name,
790
+ :framework,
791
+ :status,
792
+ :max_results,
793
+ :next_token)
794
+ include Aws::Structure
795
+ end
796
+
797
+ # @!attribute [rw] networks
798
+ # An array of `NetworkSummary` objects that contain configuration
799
+ # properties for each network.
800
+ # @return [Array<Types::NetworkSummary>]
801
+ #
802
+ # @!attribute [rw] next_token
803
+ # The pagination token that indicates the next set of results to
804
+ # retrieve.
805
+ # @return [String]
806
+ #
807
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListNetworksOutput AWS API Documentation
808
+ #
809
+ class ListNetworksOutput < Struct.new(
810
+ :networks,
811
+ :next_token)
812
+ include Aws::Structure
813
+ end
814
+
815
+ # @note When making an API call, you may pass ListNodesInput
816
+ # data as a hash:
817
+ #
818
+ # {
819
+ # network_id: "ResourceIdString", # required
820
+ # member_id: "ResourceIdString", # required
821
+ # status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, DELETING, DELETED, FAILED
822
+ # max_results: 1,
823
+ # next_token: "PaginationToken",
824
+ # }
825
+ #
826
+ # @!attribute [rw] network_id
827
+ # The unique identifier of the network for which to list nodes.
828
+ # @return [String]
829
+ #
830
+ # @!attribute [rw] member_id
831
+ # The unique identifier of the member who owns the nodes to list.
832
+ # @return [String]
833
+ #
834
+ # @!attribute [rw] status
835
+ # An optional status specifier. If provided, only nodes currently in
836
+ # this status are listed.
837
+ # @return [String]
838
+ #
839
+ # @!attribute [rw] max_results
840
+ # The maximum number of nodes to list.
841
+ # @return [Integer]
842
+ #
843
+ # @!attribute [rw] next_token
844
+ # The pagination token that indicates the next set of results to
845
+ # retrieve.
846
+ # @return [String]
847
+ #
848
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListNodesInput AWS API Documentation
849
+ #
850
+ class ListNodesInput < Struct.new(
851
+ :network_id,
852
+ :member_id,
853
+ :status,
854
+ :max_results,
855
+ :next_token)
856
+ include Aws::Structure
857
+ end
858
+
859
+ # @!attribute [rw] nodes
860
+ # An array of `NodeSummary` objects that contain configuration
861
+ # properties for each node.
862
+ # @return [Array<Types::NodeSummary>]
863
+ #
864
+ # @!attribute [rw] next_token
865
+ # The pagination token that indicates the next set of results to
866
+ # retrieve.
867
+ # @return [String]
868
+ #
869
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListNodesOutput AWS API Documentation
870
+ #
871
+ class ListNodesOutput < Struct.new(
872
+ :nodes,
873
+ :next_token)
874
+ include Aws::Structure
875
+ end
876
+
877
+ # @note When making an API call, you may pass ListProposalVotesInput
878
+ # data as a hash:
879
+ #
880
+ # {
881
+ # network_id: "ResourceIdString", # required
882
+ # proposal_id: "ResourceIdString", # required
883
+ # max_results: 1,
884
+ # next_token: "PaginationToken",
885
+ # }
886
+ #
887
+ # @!attribute [rw] network_id
888
+ # The unique identifier of the network.
889
+ # @return [String]
890
+ #
891
+ # @!attribute [rw] proposal_id
892
+ # The unique identifier of the proposal.
893
+ # @return [String]
894
+ #
895
+ # @!attribute [rw] max_results
896
+ # The maximum number of votes to return.
897
+ # @return [Integer]
898
+ #
899
+ # @!attribute [rw] next_token
900
+ # The pagination token that indicates the next set of results to
901
+ # retrieve.
902
+ # @return [String]
903
+ #
904
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListProposalVotesInput AWS API Documentation
905
+ #
906
+ class ListProposalVotesInput < Struct.new(
907
+ :network_id,
908
+ :proposal_id,
909
+ :max_results,
910
+ :next_token)
911
+ include Aws::Structure
912
+ end
913
+
914
+ # @!attribute [rw] proposal_votes
915
+ # The listing of votes.
916
+ # @return [Array<Types::VoteSummary>]
917
+ #
918
+ # @!attribute [rw] next_token
919
+ # The pagination token that indicates the next set of results to
920
+ # retrieve.
921
+ # @return [String]
922
+ #
923
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListProposalVotesOutput AWS API Documentation
924
+ #
925
+ class ListProposalVotesOutput < Struct.new(
926
+ :proposal_votes,
927
+ :next_token)
928
+ include Aws::Structure
929
+ end
930
+
931
+ # @note When making an API call, you may pass ListProposalsInput
932
+ # data as a hash:
933
+ #
934
+ # {
935
+ # network_id: "ResourceIdString", # required
936
+ # max_results: 1,
937
+ # next_token: "PaginationToken",
938
+ # }
939
+ #
940
+ # @!attribute [rw] network_id
941
+ # The unique identifier of the network.
942
+ # @return [String]
943
+ #
944
+ # @!attribute [rw] max_results
945
+ # The maximum number of proposals to return.
946
+ # @return [Integer]
947
+ #
948
+ # @!attribute [rw] next_token
949
+ # The pagination token that indicates the next set of results to
950
+ # retrieve.
951
+ # @return [String]
952
+ #
953
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListProposalsInput AWS API Documentation
954
+ #
955
+ class ListProposalsInput < Struct.new(
956
+ :network_id,
957
+ :max_results,
958
+ :next_token)
959
+ include Aws::Structure
960
+ end
961
+
962
+ # @!attribute [rw] proposals
963
+ # The summary of each proposal made on the network.
964
+ # @return [Array<Types::ProposalSummary>]
965
+ #
966
+ # @!attribute [rw] next_token
967
+ # The pagination token that indicates the next set of results to
968
+ # retrieve.
969
+ # @return [String]
970
+ #
971
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListProposalsOutput AWS API Documentation
972
+ #
973
+ class ListProposalsOutput < Struct.new(
974
+ :proposals,
975
+ :next_token)
976
+ include Aws::Structure
977
+ end
978
+
979
+ # Member configuration properties.
980
+ #
981
+ # @!attribute [rw] network_id
982
+ # The unique identifier of the network to which the member belongs.
983
+ # @return [String]
984
+ #
985
+ # @!attribute [rw] id
986
+ # The unique identifier of the member.
987
+ # @return [String]
988
+ #
989
+ # @!attribute [rw] name
990
+ # The name of the member.
991
+ # @return [String]
992
+ #
993
+ # @!attribute [rw] description
994
+ # An optional description for the member.
995
+ # @return [String]
996
+ #
997
+ # @!attribute [rw] framework_attributes
998
+ # Attributes relevant to a member for the blockchain framework that
999
+ # the Managed Blockchain network uses.
1000
+ # @return [Types::MemberFrameworkAttributes]
1001
+ #
1002
+ # @!attribute [rw] status
1003
+ # The status of a member.
1004
+ #
1005
+ # * `CREATING` - The AWS account is in the process of creating a
1006
+ # member.
1007
+ #
1008
+ # * `AVAILABLE` - The member has been created and can participate in
1009
+ # the network.
1010
+ #
1011
+ # * `CREATE_FAILED` - The AWS account attempted to create a member and
1012
+ # creation failed.
1013
+ #
1014
+ # * `DELETING` - The member and all associated resources are in the
1015
+ # process of being deleted. Either the AWS account that owns the
1016
+ # member deleted it, or the member is being deleted as the result of
1017
+ # an `APPROVED` `PROPOSAL` to remove the member.
1018
+ #
1019
+ # * `DELETED` - The member can no longer participate on the network
1020
+ # and all associated resources are deleted. Either the AWS account
1021
+ # that owns the member deleted it, or the member is being deleted as
1022
+ # the result of an `APPROVED` `PROPOSAL` to remove the member.
1023
+ # @return [String]
1024
+ #
1025
+ # @!attribute [rw] creation_date
1026
+ # The date and time that the member was created.
1027
+ # @return [Time]
1028
+ #
1029
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/Member AWS API Documentation
1030
+ #
1031
+ class Member < Struct.new(
1032
+ :network_id,
1033
+ :id,
1034
+ :name,
1035
+ :description,
1036
+ :framework_attributes,
1037
+ :status,
1038
+ :creation_date)
1039
+ include Aws::Structure
1040
+ end
1041
+
1042
+ # Configuration properties of the member.
1043
+ #
1044
+ # @note When making an API call, you may pass MemberConfiguration
1045
+ # data as a hash:
1046
+ #
1047
+ # {
1048
+ # name: "NetworkMemberNameString", # required
1049
+ # description: "DescriptionString",
1050
+ # framework_configuration: { # required
1051
+ # fabric: {
1052
+ # admin_username: "UsernameString", # required
1053
+ # admin_password: "PasswordString", # required
1054
+ # },
1055
+ # },
1056
+ # }
1057
+ #
1058
+ # @!attribute [rw] name
1059
+ # The name of the member.
1060
+ # @return [String]
1061
+ #
1062
+ # @!attribute [rw] description
1063
+ # An optional description of the member.
1064
+ # @return [String]
1065
+ #
1066
+ # @!attribute [rw] framework_configuration
1067
+ # Configuration properties of the blockchain framework relevant to the
1068
+ # member.
1069
+ # @return [Types::MemberFrameworkConfiguration]
1070
+ #
1071
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/MemberConfiguration AWS API Documentation
1072
+ #
1073
+ class MemberConfiguration < Struct.new(
1074
+ :name,
1075
+ :description,
1076
+ :framework_configuration)
1077
+ include Aws::Structure
1078
+ end
1079
+
1080
+ # Attributes of Hyperledger Fabric for a member in a Managed Blockchain
1081
+ # network using the Hyperledger Fabric framework.
1082
+ #
1083
+ # @!attribute [rw] admin_username
1084
+ # The user name for the initial administrator user for the member.
1085
+ # @return [String]
1086
+ #
1087
+ # @!attribute [rw] ca_endpoint
1088
+ # The endpoint used to access the member's certificate authority.
1089
+ # @return [String]
1090
+ #
1091
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/MemberFabricAttributes AWS API Documentation
1092
+ #
1093
+ class MemberFabricAttributes < Struct.new(
1094
+ :admin_username,
1095
+ :ca_endpoint)
1096
+ include Aws::Structure
1097
+ end
1098
+
1099
+ # Configuration properties for Hyperledger Fabric for a member in a
1100
+ # Managed Blockchain network using the Hyperledger Fabric framework.
1101
+ #
1102
+ # @note When making an API call, you may pass MemberFabricConfiguration
1103
+ # data as a hash:
1104
+ #
1105
+ # {
1106
+ # admin_username: "UsernameString", # required
1107
+ # admin_password: "PasswordString", # required
1108
+ # }
1109
+ #
1110
+ # @!attribute [rw] admin_username
1111
+ # The user name for the member's initial administrative user.
1112
+ # @return [String]
1113
+ #
1114
+ # @!attribute [rw] admin_password
1115
+ # The password for the member's initial administrative user. The
1116
+ # `AdminPassword` must be at least eight characters long and no more
1117
+ # than 32 characters. It must contain at least one uppercase letter,
1118
+ # one lowercase letter, and one digit. It cannot have a single
1119
+ # quote(‘), double quote(“), forward slash(/), backward slash(\\), @,
1120
+ # or a space.
1121
+ # @return [String]
1122
+ #
1123
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/MemberFabricConfiguration AWS API Documentation
1124
+ #
1125
+ class MemberFabricConfiguration < Struct.new(
1126
+ :admin_username,
1127
+ :admin_password)
1128
+ include Aws::Structure
1129
+ end
1130
+
1131
+ # Attributes relevant to a member for the blockchain framework that the
1132
+ # Managed Blockchain network uses.
1133
+ #
1134
+ # @!attribute [rw] fabric
1135
+ # Attributes of Hyperledger Fabric relevant to a member on a Managed
1136
+ # Blockchain network that uses Hyperledger Fabric.
1137
+ # @return [Types::MemberFabricAttributes]
1138
+ #
1139
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/MemberFrameworkAttributes AWS API Documentation
1140
+ #
1141
+ class MemberFrameworkAttributes < Struct.new(
1142
+ :fabric)
1143
+ include Aws::Structure
1144
+ end
1145
+
1146
+ # Configuration properties relevant to a member for the blockchain
1147
+ # framework that the Managed Blockchain network uses.
1148
+ #
1149
+ # @note When making an API call, you may pass MemberFrameworkConfiguration
1150
+ # data as a hash:
1151
+ #
1152
+ # {
1153
+ # fabric: {
1154
+ # admin_username: "UsernameString", # required
1155
+ # admin_password: "PasswordString", # required
1156
+ # },
1157
+ # }
1158
+ #
1159
+ # @!attribute [rw] fabric
1160
+ # Attributes of Hyperledger Fabric for a member on a Managed
1161
+ # Blockchain network that uses Hyperledger Fabric.
1162
+ # @return [Types::MemberFabricConfiguration]
1163
+ #
1164
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/MemberFrameworkConfiguration AWS API Documentation
1165
+ #
1166
+ class MemberFrameworkConfiguration < Struct.new(
1167
+ :fabric)
1168
+ include Aws::Structure
1169
+ end
1170
+
1171
+ # A summary of configuration properties for a member.
1172
+ #
1173
+ # @!attribute [rw] id
1174
+ # The unique identifier of the member.
1175
+ # @return [String]
1176
+ #
1177
+ # @!attribute [rw] name
1178
+ # The name of the member.
1179
+ # @return [String]
1180
+ #
1181
+ # @!attribute [rw] description
1182
+ # An optional description of the member.
1183
+ # @return [String]
1184
+ #
1185
+ # @!attribute [rw] status
1186
+ # The status of the member.
1187
+ #
1188
+ # * `CREATING` - The AWS account is in the process of creating a
1189
+ # member.
1190
+ #
1191
+ # * `AVAILABLE` - The member has been created and can participate in
1192
+ # the network.
1193
+ #
1194
+ # * `CREATE_FAILED` - The AWS account attempted to create a member and
1195
+ # creation failed.
1196
+ #
1197
+ # * `DELETING` - The member and all associated resources are in the
1198
+ # process of being deleted. Either the AWS account that owns the
1199
+ # member deleted it, or the member is being deleted as the result of
1200
+ # an `APPROVED` `PROPOSAL` to remove the member.
1201
+ #
1202
+ # * `DELETED` - The member can no longer participate on the network
1203
+ # and all associated resources are deleted. Either the AWS account
1204
+ # that owns the member deleted it, or the member is being deleted as
1205
+ # the result of an `APPROVED` `PROPOSAL` to remove the member.
1206
+ # @return [String]
1207
+ #
1208
+ # @!attribute [rw] creation_date
1209
+ # The date and time that the member was created.
1210
+ # @return [Time]
1211
+ #
1212
+ # @!attribute [rw] is_owned
1213
+ # An indicator of whether the member is owned by your AWS account or a
1214
+ # different AWS account.
1215
+ # @return [Boolean]
1216
+ #
1217
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/MemberSummary AWS API Documentation
1218
+ #
1219
+ class MemberSummary < Struct.new(
1220
+ :id,
1221
+ :name,
1222
+ :description,
1223
+ :status,
1224
+ :creation_date,
1225
+ :is_owned)
1226
+ include Aws::Structure
1227
+ end
1228
+
1229
+ # Network configuration properties.
1230
+ #
1231
+ # @!attribute [rw] id
1232
+ # The unique identifier of the network.
1233
+ # @return [String]
1234
+ #
1235
+ # @!attribute [rw] name
1236
+ # The name of the network.
1237
+ # @return [String]
1238
+ #
1239
+ # @!attribute [rw] description
1240
+ # Attributes of the blockchain framework for the network.
1241
+ # @return [String]
1242
+ #
1243
+ # @!attribute [rw] framework
1244
+ # The blockchain framework that the network uses.
1245
+ # @return [String]
1246
+ #
1247
+ # @!attribute [rw] framework_version
1248
+ # The version of the blockchain framework that the network uses.
1249
+ # @return [String]
1250
+ #
1251
+ # @!attribute [rw] framework_attributes
1252
+ # Attributes of the blockchain framework that the network uses.
1253
+ # @return [Types::NetworkFrameworkAttributes]
1254
+ #
1255
+ # @!attribute [rw] vpc_endpoint_service_name
1256
+ # The VPC endpoint service name of the VPC endpoint service of the
1257
+ # network. Members use the VPC endpoint service name to create a VPC
1258
+ # endpoint to access network resources.
1259
+ # @return [String]
1260
+ #
1261
+ # @!attribute [rw] voting_policy
1262
+ # The voting rules for the network to decide if a proposal is
1263
+ # accepted.
1264
+ # @return [Types::VotingPolicy]
1265
+ #
1266
+ # @!attribute [rw] status
1267
+ # The current status of the network.
1268
+ # @return [String]
1269
+ #
1270
+ # @!attribute [rw] creation_date
1271
+ # The date and time that the network was created.
1272
+ # @return [Time]
1273
+ #
1274
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/Network AWS API Documentation
1275
+ #
1276
+ class Network < Struct.new(
1277
+ :id,
1278
+ :name,
1279
+ :description,
1280
+ :framework,
1281
+ :framework_version,
1282
+ :framework_attributes,
1283
+ :vpc_endpoint_service_name,
1284
+ :voting_policy,
1285
+ :status,
1286
+ :creation_date)
1287
+ include Aws::Structure
1288
+ end
1289
+
1290
+ # Attributes of Hyperledger Fabric for a network.
1291
+ #
1292
+ # @!attribute [rw] ordering_service_endpoint
1293
+ # The endpoint of the ordering service for the network.
1294
+ # @return [String]
1295
+ #
1296
+ # @!attribute [rw] edition
1297
+ # The edition of Amazon Managed Blockchain that Hyperledger Fabric
1298
+ # uses. For more information, see [Amazon Managed Blockchain
1299
+ # Pricing][1].
1300
+ #
1301
+ #
1302
+ #
1303
+ # [1]: https://aws.amazon.com/managed-blockchain/pricing/
1304
+ # @return [String]
1305
+ #
1306
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NetworkFabricAttributes AWS API Documentation
1307
+ #
1308
+ class NetworkFabricAttributes < Struct.new(
1309
+ :ordering_service_endpoint,
1310
+ :edition)
1311
+ include Aws::Structure
1312
+ end
1313
+
1314
+ # Hyperledger Fabric configuration properties for the network.
1315
+ #
1316
+ # @note When making an API call, you may pass NetworkFabricConfiguration
1317
+ # data as a hash:
1318
+ #
1319
+ # {
1320
+ # edition: "STARTER", # required, accepts STARTER, STANDARD
1321
+ # }
1322
+ #
1323
+ # @!attribute [rw] edition
1324
+ # The edition of Amazon Managed Blockchain that the network uses. For
1325
+ # more information, see [Amazon Managed Blockchain Pricing][1].
1326
+ #
1327
+ #
1328
+ #
1329
+ # [1]: https://aws.amazon.com/managed-blockchain/pricing/
1330
+ # @return [String]
1331
+ #
1332
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NetworkFabricConfiguration AWS API Documentation
1333
+ #
1334
+ class NetworkFabricConfiguration < Struct.new(
1335
+ :edition)
1336
+ include Aws::Structure
1337
+ end
1338
+
1339
+ # Attributes relevant to the network for the blockchain framework that
1340
+ # the network uses.
1341
+ #
1342
+ # @!attribute [rw] fabric
1343
+ # Attributes of Hyperledger Fabric for a Managed Blockchain network
1344
+ # that uses Hyperledger Fabric.
1345
+ # @return [Types::NetworkFabricAttributes]
1346
+ #
1347
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NetworkFrameworkAttributes AWS API Documentation
1348
+ #
1349
+ class NetworkFrameworkAttributes < Struct.new(
1350
+ :fabric)
1351
+ include Aws::Structure
1352
+ end
1353
+
1354
+ # Configuration properties relevant to the network for the blockchain
1355
+ # framework that the network uses.
1356
+ #
1357
+ # @note When making an API call, you may pass NetworkFrameworkConfiguration
1358
+ # data as a hash:
1359
+ #
1360
+ # {
1361
+ # fabric: {
1362
+ # edition: "STARTER", # required, accepts STARTER, STANDARD
1363
+ # },
1364
+ # }
1365
+ #
1366
+ # @!attribute [rw] fabric
1367
+ # Hyperledger Fabric configuration properties for a Managed Blockchain
1368
+ # network that uses Hyperledger Fabric.
1369
+ # @return [Types::NetworkFabricConfiguration]
1370
+ #
1371
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NetworkFrameworkConfiguration AWS API Documentation
1372
+ #
1373
+ class NetworkFrameworkConfiguration < Struct.new(
1374
+ :fabric)
1375
+ include Aws::Structure
1376
+ end
1377
+
1378
+ # A summary of network configuration properties.
1379
+ #
1380
+ # @!attribute [rw] id
1381
+ # The unique identifier of the network.
1382
+ # @return [String]
1383
+ #
1384
+ # @!attribute [rw] name
1385
+ # The name of the network.
1386
+ # @return [String]
1387
+ #
1388
+ # @!attribute [rw] description
1389
+ # An optional description of the network.
1390
+ # @return [String]
1391
+ #
1392
+ # @!attribute [rw] framework
1393
+ # The blockchain framework that the network uses.
1394
+ # @return [String]
1395
+ #
1396
+ # @!attribute [rw] framework_version
1397
+ # The version of the blockchain framework that the network uses.
1398
+ # @return [String]
1399
+ #
1400
+ # @!attribute [rw] status
1401
+ # The current status of the network.
1402
+ # @return [String]
1403
+ #
1404
+ # @!attribute [rw] creation_date
1405
+ # The date and time that the network was created.
1406
+ # @return [Time]
1407
+ #
1408
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NetworkSummary AWS API Documentation
1409
+ #
1410
+ class NetworkSummary < Struct.new(
1411
+ :id,
1412
+ :name,
1413
+ :description,
1414
+ :framework,
1415
+ :framework_version,
1416
+ :status,
1417
+ :creation_date)
1418
+ include Aws::Structure
1419
+ end
1420
+
1421
+ # Configuration properties of a peer node.
1422
+ #
1423
+ # @!attribute [rw] network_id
1424
+ # The unique identifier of the network that the node is in.
1425
+ # @return [String]
1426
+ #
1427
+ # @!attribute [rw] member_id
1428
+ # The unique identifier of the member to which the node belongs.
1429
+ # @return [String]
1430
+ #
1431
+ # @!attribute [rw] id
1432
+ # The unique identifier of the node.
1433
+ # @return [String]
1434
+ #
1435
+ # @!attribute [rw] instance_type
1436
+ # The instance type of the node.
1437
+ # @return [String]
1438
+ #
1439
+ # @!attribute [rw] availability_zone
1440
+ # The Availability Zone in which the node exists.
1441
+ # @return [String]
1442
+ #
1443
+ # @!attribute [rw] framework_attributes
1444
+ # Attributes of the blockchain framework being used.
1445
+ # @return [Types::NodeFrameworkAttributes]
1446
+ #
1447
+ # @!attribute [rw] status
1448
+ # The status of the node.
1449
+ # @return [String]
1450
+ #
1451
+ # @!attribute [rw] creation_date
1452
+ # The date and time that the node was created.
1453
+ # @return [Time]
1454
+ #
1455
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/Node AWS API Documentation
1456
+ #
1457
+ class Node < Struct.new(
1458
+ :network_id,
1459
+ :member_id,
1460
+ :id,
1461
+ :instance_type,
1462
+ :availability_zone,
1463
+ :framework_attributes,
1464
+ :status,
1465
+ :creation_date)
1466
+ include Aws::Structure
1467
+ end
1468
+
1469
+ # Configuration properties of a peer node.
1470
+ #
1471
+ # @note When making an API call, you may pass NodeConfiguration
1472
+ # data as a hash:
1473
+ #
1474
+ # {
1475
+ # instance_type: "InstanceTypeString", # required
1476
+ # availability_zone: "AvailabilityZoneString", # required
1477
+ # }
1478
+ #
1479
+ # @!attribute [rw] instance_type
1480
+ # The Amazon Managed Blockchain instance type for the node.
1481
+ # @return [String]
1482
+ #
1483
+ # @!attribute [rw] availability_zone
1484
+ # The Availability Zone in which the node exists.
1485
+ # @return [String]
1486
+ #
1487
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NodeConfiguration AWS API Documentation
1488
+ #
1489
+ class NodeConfiguration < Struct.new(
1490
+ :instance_type,
1491
+ :availability_zone)
1492
+ include Aws::Structure
1493
+ end
1494
+
1495
+ # Attributes of Hyperledger Fabric for a peer node on a Managed
1496
+ # Blockchain network that uses Hyperledger Fabric.
1497
+ #
1498
+ # @!attribute [rw] peer_endpoint
1499
+ # The endpoint that identifies the peer node for all services except
1500
+ # peer channel-based event services.
1501
+ # @return [String]
1502
+ #
1503
+ # @!attribute [rw] peer_event_endpoint
1504
+ # The endpoint that identifies the peer node for peer channel-based
1505
+ # event services.
1506
+ # @return [String]
1507
+ #
1508
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NodeFabricAttributes AWS API Documentation
1509
+ #
1510
+ class NodeFabricAttributes < Struct.new(
1511
+ :peer_endpoint,
1512
+ :peer_event_endpoint)
1513
+ include Aws::Structure
1514
+ end
1515
+
1516
+ # Attributes relevant to a peer node on a Managed Blockchain network for
1517
+ # the blockchain framework that the network uses.
1518
+ #
1519
+ # @!attribute [rw] fabric
1520
+ # Attributes of Hyperledger Fabric for a peer node on a Managed
1521
+ # Blockchain network that uses Hyperledger Fabric.
1522
+ # @return [Types::NodeFabricAttributes]
1523
+ #
1524
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NodeFrameworkAttributes AWS API Documentation
1525
+ #
1526
+ class NodeFrameworkAttributes < Struct.new(
1527
+ :fabric)
1528
+ include Aws::Structure
1529
+ end
1530
+
1531
+ # A summary of configuration properties for a peer node.
1532
+ #
1533
+ # @!attribute [rw] id
1534
+ # The unique identifier of the node.
1535
+ # @return [String]
1536
+ #
1537
+ # @!attribute [rw] status
1538
+ # The status of the node.
1539
+ # @return [String]
1540
+ #
1541
+ # @!attribute [rw] creation_date
1542
+ # The date and time that the node was created.
1543
+ # @return [Time]
1544
+ #
1545
+ # @!attribute [rw] availability_zone
1546
+ # The Availability Zone in which the node exists.
1547
+ # @return [String]
1548
+ #
1549
+ # @!attribute [rw] instance_type
1550
+ # The EC2 instance type for the node.
1551
+ # @return [String]
1552
+ #
1553
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NodeSummary AWS API Documentation
1554
+ #
1555
+ class NodeSummary < Struct.new(
1556
+ :id,
1557
+ :status,
1558
+ :creation_date,
1559
+ :availability_zone,
1560
+ :instance_type)
1561
+ include Aws::Structure
1562
+ end
1563
+
1564
+ # Properties of a proposal on a Managed Blockchain network.
1565
+ #
1566
+ # @!attribute [rw] proposal_id
1567
+ # The unique identifier of the proposal.
1568
+ # @return [String]
1569
+ #
1570
+ # @!attribute [rw] network_id
1571
+ # The unique identifier of the network for which the proposal is made.
1572
+ # @return [String]
1573
+ #
1574
+ # @!attribute [rw] description
1575
+ # The description of the proposal.
1576
+ # @return [String]
1577
+ #
1578
+ # @!attribute [rw] actions
1579
+ # The actions to perform on the network if the proposal is `APPROVED`.
1580
+ # @return [Types::ProposalActions]
1581
+ #
1582
+ # @!attribute [rw] proposed_by_member_id
1583
+ # The unique identifier of the member that created the proposal.
1584
+ # @return [String]
1585
+ #
1586
+ # @!attribute [rw] proposed_by_member_name
1587
+ # The name of the member that created the proposal.
1588
+ # @return [String]
1589
+ #
1590
+ # @!attribute [rw] status
1591
+ # The status of the proposal. Values are as follows:
1592
+ #
1593
+ # * `IN_PROGRESS` - The proposal is active and open for member voting.
1594
+ #
1595
+ # * `APPROVED` - The proposal was approved with sufficient `YES` votes
1596
+ # among members according to the `VotingPolicy` specified for the
1597
+ # `Network`. The specified proposal actions are carried out.
1598
+ #
1599
+ # * `REJECTED` - The proposal was rejected with insufficient `YES`
1600
+ # votes among members according to the `VotingPolicy` specified for
1601
+ # the `Network`. The specified `ProposalActions` are not carried
1602
+ # out.
1603
+ #
1604
+ # * `EXPIRED` - Members did not cast the number of votes required to
1605
+ # determine the proposal outcome before the proposal expired. The
1606
+ # specified `ProposalActions` are not carried out.
1607
+ #
1608
+ # * `ACTION_FAILED` - One or more of the specified `ProposalActions`
1609
+ # in a proposal that was approved could not be completed because of
1610
+ # an error.
1611
+ # @return [String]
1612
+ #
1613
+ # @!attribute [rw] creation_date
1614
+ # The date and time that the proposal was created.
1615
+ # @return [Time]
1616
+ #
1617
+ # @!attribute [rw] expiration_date
1618
+ # The date and time that the proposal expires. This is the
1619
+ # `CreationDate` plus the `ProposalDurationInHours` that is specified
1620
+ # in the `ProposalThresholdPolicy`. After this date and time, if
1621
+ # members have not cast enough votes to determine the outcome
1622
+ # according to the voting policy, the proposal is `EXPIRED` and
1623
+ # `Actions` are not carried out.
1624
+ # @return [Time]
1625
+ #
1626
+ # @!attribute [rw] yes_vote_count
1627
+ # The current total of `YES` votes cast on the proposal by members.
1628
+ # @return [Integer]
1629
+ #
1630
+ # @!attribute [rw] no_vote_count
1631
+ # The current total of `NO` votes cast on the proposal by members.
1632
+ # @return [Integer]
1633
+ #
1634
+ # @!attribute [rw] outstanding_vote_count
1635
+ # The number of votes remaining to be cast on the proposal by members.
1636
+ # In other words, the number of members minus the sum of `YES` votes
1637
+ # and `NO` votes.
1638
+ # @return [Integer]
1639
+ #
1640
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/Proposal AWS API Documentation
1641
+ #
1642
+ class Proposal < Struct.new(
1643
+ :proposal_id,
1644
+ :network_id,
1645
+ :description,
1646
+ :actions,
1647
+ :proposed_by_member_id,
1648
+ :proposed_by_member_name,
1649
+ :status,
1650
+ :creation_date,
1651
+ :expiration_date,
1652
+ :yes_vote_count,
1653
+ :no_vote_count,
1654
+ :outstanding_vote_count)
1655
+ include Aws::Structure
1656
+ end
1657
+
1658
+ # The actions to carry out if a proposal is `APPROVED`.
1659
+ #
1660
+ # @note When making an API call, you may pass ProposalActions
1661
+ # data as a hash:
1662
+ #
1663
+ # {
1664
+ # invitations: [
1665
+ # {
1666
+ # principal: "PrincipalString", # required
1667
+ # },
1668
+ # ],
1669
+ # removals: [
1670
+ # {
1671
+ # member_id: "ResourceIdString", # required
1672
+ # },
1673
+ # ],
1674
+ # }
1675
+ #
1676
+ # @!attribute [rw] invitations
1677
+ # The actions to perform for an `APPROVED` proposal to invite an AWS
1678
+ # account to create a member and join the network.
1679
+ # @return [Array<Types::InviteAction>]
1680
+ #
1681
+ # @!attribute [rw] removals
1682
+ # The actions to perform for an `APPROVED` proposal to remove a member
1683
+ # from the network, which deletes the member and all associated member
1684
+ # resources from the network.
1685
+ # @return [Array<Types::RemoveAction>]
1686
+ #
1687
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ProposalActions AWS API Documentation
1688
+ #
1689
+ class ProposalActions < Struct.new(
1690
+ :invitations,
1691
+ :removals)
1692
+ include Aws::Structure
1693
+ end
1694
+
1695
+ # Properties of a proposal.
1696
+ #
1697
+ # @!attribute [rw] proposal_id
1698
+ # The unique identifier of the proposal.
1699
+ # @return [String]
1700
+ #
1701
+ # @!attribute [rw] description
1702
+ # The description of the proposal.
1703
+ # @return [String]
1704
+ #
1705
+ # @!attribute [rw] proposed_by_member_id
1706
+ # The unique identifier of the member that created the proposal.
1707
+ # @return [String]
1708
+ #
1709
+ # @!attribute [rw] proposed_by_member_name
1710
+ # The name of the member that created the proposal.
1711
+ # @return [String]
1712
+ #
1713
+ # @!attribute [rw] status
1714
+ # The status of the proposal. Values are as follows:
1715
+ #
1716
+ # * `IN_PROGRESS` - The proposal is active and open for member voting.
1717
+ #
1718
+ # * `APPROVED` - The proposal was approved with sufficient `YES` votes
1719
+ # among members according to the `VotingPolicy` specified for the
1720
+ # `Network`. The specified proposal actions are carried out.
1721
+ #
1722
+ # * `REJECTED` - The proposal was rejected with insufficient `YES`
1723
+ # votes among members according to the `VotingPolicy` specified for
1724
+ # the `Network`. The specified `ProposalActions` are not carried
1725
+ # out.
1726
+ #
1727
+ # * `EXPIRED` - Members did not cast the number of votes required to
1728
+ # determine the proposal outcome before the proposal expired. The
1729
+ # specified `ProposalActions` are not carried out.
1730
+ #
1731
+ # * `ACTION_FAILED` - One or more of the specified `ProposalActions`
1732
+ # in a proposal that was approved could not be completed because of
1733
+ # an error.
1734
+ # @return [String]
1735
+ #
1736
+ # @!attribute [rw] creation_date
1737
+ # The date and time that the proposal was created.
1738
+ # @return [Time]
1739
+ #
1740
+ # @!attribute [rw] expiration_date
1741
+ # The date and time that the proposal expires. This is the
1742
+ # `CreationDate` plus the `ProposalDurationInHours` that is specified
1743
+ # in the `ProposalThresholdPolicy`. After this date and time, if
1744
+ # members have not cast enough votes to determine the outcome
1745
+ # according to the voting policy, the proposal is `EXPIRED` and
1746
+ # `Actions` are not carried out.
1747
+ # @return [Time]
1748
+ #
1749
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ProposalSummary AWS API Documentation
1750
+ #
1751
+ class ProposalSummary < Struct.new(
1752
+ :proposal_id,
1753
+ :description,
1754
+ :proposed_by_member_id,
1755
+ :proposed_by_member_name,
1756
+ :status,
1757
+ :creation_date,
1758
+ :expiration_date)
1759
+ include Aws::Structure
1760
+ end
1761
+
1762
+ # @note When making an API call, you may pass RejectInvitationInput
1763
+ # data as a hash:
1764
+ #
1765
+ # {
1766
+ # invitation_id: "ResourceIdString", # required
1767
+ # }
1768
+ #
1769
+ # @!attribute [rw] invitation_id
1770
+ # The unique identifier of the invitation to reject.
1771
+ # @return [String]
1772
+ #
1773
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/RejectInvitationInput AWS API Documentation
1774
+ #
1775
+ class RejectInvitationInput < Struct.new(
1776
+ :invitation_id)
1777
+ include Aws::Structure
1778
+ end
1779
+
1780
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/RejectInvitationOutput AWS API Documentation
1781
+ #
1782
+ class RejectInvitationOutput < Aws::EmptyStructure; end
1783
+
1784
+ # An action to remove a member from a Managed Blockchain network as the
1785
+ # result of a removal proposal that is `APPROVED`. The member and all
1786
+ # associated resources are deleted from the network.
1787
+ #
1788
+ # @note When making an API call, you may pass RemoveAction
1789
+ # data as a hash:
1790
+ #
1791
+ # {
1792
+ # member_id: "ResourceIdString", # required
1793
+ # }
1794
+ #
1795
+ # @!attribute [rw] member_id
1796
+ # The unique identifier of the member to remove.
1797
+ # @return [String]
1798
+ #
1799
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/RemoveAction AWS API Documentation
1800
+ #
1801
+ class RemoveAction < Struct.new(
1802
+ :member_id)
1803
+ include Aws::Structure
1804
+ end
1805
+
1806
+ # @note When making an API call, you may pass VoteOnProposalInput
1807
+ # data as a hash:
1808
+ #
1809
+ # {
1810
+ # network_id: "ResourceIdString", # required
1811
+ # proposal_id: "ResourceIdString", # required
1812
+ # voter_member_id: "ResourceIdString", # required
1813
+ # vote: "YES", # required, accepts YES, NO
1814
+ # }
1815
+ #
1816
+ # @!attribute [rw] network_id
1817
+ # The unique identifier of the network.
1818
+ # @return [String]
1819
+ #
1820
+ # @!attribute [rw] proposal_id
1821
+ # The unique identifier of the proposal.
1822
+ # @return [String]
1823
+ #
1824
+ # @!attribute [rw] voter_member_id
1825
+ # The unique identifier of the member casting the vote.
1826
+ # @return [String]
1827
+ #
1828
+ # @!attribute [rw] vote
1829
+ # The value of the vote.
1830
+ # @return [String]
1831
+ #
1832
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/VoteOnProposalInput AWS API Documentation
1833
+ #
1834
+ class VoteOnProposalInput < Struct.new(
1835
+ :network_id,
1836
+ :proposal_id,
1837
+ :voter_member_id,
1838
+ :vote)
1839
+ include Aws::Structure
1840
+ end
1841
+
1842
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/VoteOnProposalOutput AWS API Documentation
1843
+ #
1844
+ class VoteOnProposalOutput < Aws::EmptyStructure; end
1845
+
1846
+ # Properties of an individual vote that a member cast for a proposal.
1847
+ #
1848
+ # @!attribute [rw] vote
1849
+ # The vote value, either `YES` or `NO`.
1850
+ # @return [String]
1851
+ #
1852
+ # @!attribute [rw] member_name
1853
+ # The name of the member that cast the vote.
1854
+ # @return [String]
1855
+ #
1856
+ # @!attribute [rw] member_id
1857
+ # The unique identifier of the member that cast the vote.
1858
+ # @return [String]
1859
+ #
1860
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/VoteSummary AWS API Documentation
1861
+ #
1862
+ class VoteSummary < Struct.new(
1863
+ :vote,
1864
+ :member_name,
1865
+ :member_id)
1866
+ include Aws::Structure
1867
+ end
1868
+
1869
+ # The voting rules for the network to decide if a proposal is accepted
1870
+ #
1871
+ # @note When making an API call, you may pass VotingPolicy
1872
+ # data as a hash:
1873
+ #
1874
+ # {
1875
+ # approval_threshold_policy: {
1876
+ # threshold_percentage: 1,
1877
+ # proposal_duration_in_hours: 1,
1878
+ # threshold_comparator: "GREATER_THAN", # accepts GREATER_THAN, GREATER_THAN_OR_EQUAL_TO
1879
+ # },
1880
+ # }
1881
+ #
1882
+ # @!attribute [rw] approval_threshold_policy
1883
+ # Defines the rules for the network for voting on proposals, such as
1884
+ # the percentage of `YES` votes required for the proposal to be
1885
+ # approved and the duration of the proposal. The policy applies to all
1886
+ # proposals and is specified when the network is created.
1887
+ # @return [Types::ApprovalThresholdPolicy]
1888
+ #
1889
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/VotingPolicy AWS API Documentation
1890
+ #
1891
+ class VotingPolicy < Struct.new(
1892
+ :approval_threshold_policy)
1893
+ include Aws::Structure
1894
+ end
1895
+
1896
+ end
1897
+ end