aws-sdk-managedblockchain 1.14.0 → 1.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,9 +12,16 @@ module Aws::ManagedBlockchain
12
12
 
13
13
  # You do not have sufficient access to perform this action.
14
14
  #
15
+ # @!attribute [rw] message
16
+ # @return [String]
17
+ #
15
18
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/AccessDeniedException AWS API Documentation
16
19
  #
17
- class AccessDeniedException < Aws::EmptyStructure; end
20
+ class AccessDeniedException < Struct.new(
21
+ :message)
22
+ SENSITIVE = []
23
+ include Aws::Structure
24
+ end
18
25
 
19
26
  # A policy type that defines the voting rules for the network. The rules
20
27
  # decide if a proposal is approved. Approval may be based on criteria
@@ -22,6 +29,8 @@ module Aws::ManagedBlockchain
22
29
  # proposal. The policy applies to all proposals and is specified when
23
30
  # the network is created.
24
31
  #
32
+ # Applies only to Hyperledger Fabric.
33
+ #
25
34
  # @note When making an API call, you may pass ApprovalThresholdPolicy
26
35
  # data as a hash:
27
36
  #
@@ -90,6 +99,9 @@ module Aws::ManagedBlockchain
90
99
  # },
91
100
  # },
92
101
  # },
102
+ # tags: {
103
+ # "TagKey" => "TagValue",
104
+ # },
93
105
  # },
94
106
  # }
95
107
  #
@@ -147,7 +159,7 @@ module Aws::ManagedBlockchain
147
159
  # client_request_token: "ClientRequestTokenString", # required
148
160
  # name: "NameString", # required
149
161
  # description: "DescriptionString",
150
- # framework: "HYPERLEDGER_FABRIC", # required, accepts HYPERLEDGER_FABRIC
162
+ # framework: "HYPERLEDGER_FABRIC", # required, accepts HYPERLEDGER_FABRIC, ETHEREUM
151
163
  # framework_version: "FrameworkVersionString", # required
152
164
  # framework_configuration: {
153
165
  # fabric: {
@@ -179,6 +191,12 @@ module Aws::ManagedBlockchain
179
191
  # },
180
192
  # },
181
193
  # },
194
+ # tags: {
195
+ # "TagKey" => "TagValue",
196
+ # },
197
+ # },
198
+ # tags: {
199
+ # "TagKey" => "TagValue",
182
200
  # },
183
201
  # }
184
202
  #
@@ -223,6 +241,25 @@ module Aws::ManagedBlockchain
223
241
  # Configuration properties for the first member within the network.
224
242
  # @return [Types::MemberConfiguration]
225
243
  #
244
+ # @!attribute [rw] tags
245
+ # Tags to assign to the network. Each tag consists of a key and
246
+ # optional value.
247
+ #
248
+ # When specifying tags during creation, you can specify multiple
249
+ # key-value pairs in a single request, with an overall maximum of 50
250
+ # added to each resource.
251
+ #
252
+ # For more information about tags, see [Tagging Resources][1] in the
253
+ # *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
254
+ # Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
255
+ # Developer Guide*.
256
+ #
257
+ #
258
+ #
259
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
260
+ # [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
261
+ # @return [Hash<String,String>]
262
+ #
226
263
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateNetworkInput AWS API Documentation
227
264
  #
228
265
  class CreateNetworkInput < Struct.new(
@@ -233,7 +270,8 @@ module Aws::ManagedBlockchain
233
270
  :framework_version,
234
271
  :framework_configuration,
235
272
  :voting_policy,
236
- :member_configuration)
273
+ :member_configuration,
274
+ :tags)
237
275
  SENSITIVE = []
238
276
  include Aws::Structure
239
277
  end
@@ -261,10 +299,10 @@ module Aws::ManagedBlockchain
261
299
  # {
262
300
  # client_request_token: "ClientRequestTokenString", # required
263
301
  # network_id: "ResourceIdString", # required
264
- # member_id: "ResourceIdString", # required
302
+ # member_id: "ResourceIdString",
265
303
  # node_configuration: { # required
266
304
  # instance_type: "InstanceTypeString", # required
267
- # availability_zone: "AvailabilityZoneString", # required
305
+ # availability_zone: "AvailabilityZoneString",
268
306
  # log_publishing_configuration: {
269
307
  # fabric: {
270
308
  # chaincode_logs: {
@@ -279,6 +317,10 @@ module Aws::ManagedBlockchain
279
317
  # },
280
318
  # },
281
319
  # },
320
+ # state_db: "LevelDB", # accepts LevelDB, CouchDB
321
+ # },
322
+ # tags: {
323
+ # "TagKey" => "TagValue",
282
324
  # },
283
325
  # }
284
326
  #
@@ -294,24 +336,54 @@ module Aws::ManagedBlockchain
294
336
  # @return [String]
295
337
  #
296
338
  # @!attribute [rw] network_id
297
- # The unique identifier of the network in which this node runs.
339
+ # The unique identifier of the network for the node.
340
+ #
341
+ # Ethereum public networks have the following `NetworkId`s:
342
+ #
343
+ # * `n-ethereum-mainnet`
344
+ #
345
+ # * `n-ethereum-rinkeby`
346
+ #
347
+ # * `n-ethereum-ropsten`
298
348
  # @return [String]
299
349
  #
300
350
  # @!attribute [rw] member_id
301
351
  # The unique identifier of the member that owns this node.
352
+ #
353
+ # Applies only to Hyperledger Fabric.
302
354
  # @return [String]
303
355
  #
304
356
  # @!attribute [rw] node_configuration
305
357
  # The properties of a node configuration.
306
358
  # @return [Types::NodeConfiguration]
307
359
  #
360
+ # @!attribute [rw] tags
361
+ # Tags to assign to the node. Each tag consists of a key and optional
362
+ # value.
363
+ #
364
+ # When specifying tags during creation, you can specify multiple
365
+ # key-value pairs in a single request, with an overall maximum of 50
366
+ # added to each resource.
367
+ #
368
+ # For more information about tags, see [Tagging Resources][1] in the
369
+ # *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
370
+ # Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
371
+ # Developer Guide*.
372
+ #
373
+ #
374
+ #
375
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
376
+ # [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
377
+ # @return [Hash<String,String>]
378
+ #
308
379
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateNodeInput AWS API Documentation
309
380
  #
310
381
  class CreateNodeInput < Struct.new(
311
382
  :client_request_token,
312
383
  :network_id,
313
384
  :member_id,
314
- :node_configuration)
385
+ :node_configuration,
386
+ :tags)
315
387
  SENSITIVE = []
316
388
  include Aws::Structure
317
389
  end
@@ -348,6 +420,9 @@ module Aws::ManagedBlockchain
348
420
  # ],
349
421
  # },
350
422
  # description: "DescriptionString",
423
+ # tags: {
424
+ # "TagKey" => "TagValue",
425
+ # },
351
426
  # }
352
427
  #
353
428
  # @!attribute [rw] client_request_token
@@ -384,6 +459,26 @@ module Aws::ManagedBlockchain
384
459
  # for example, "Proposal to add Example Corp. as member."
385
460
  # @return [String]
386
461
  #
462
+ # @!attribute [rw] tags
463
+ # Tags to assign to the proposal. Each tag consists of a key and
464
+ # optional value.
465
+ #
466
+ # When specifying tags during creation, you can specify multiple
467
+ # key-value pairs in a single request, with an overall maximum of 50
468
+ # added to each resource. If the proposal is for a network invitation,
469
+ # the invitation inherits the tags added to the proposal.
470
+ #
471
+ # For more information about tags, see [Tagging Resources][1] in the
472
+ # *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
473
+ # Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
474
+ # Developer Guide*.
475
+ #
476
+ #
477
+ #
478
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
479
+ # [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
480
+ # @return [Hash<String,String>]
481
+ #
387
482
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateProposalInput AWS API Documentation
388
483
  #
389
484
  class CreateProposalInput < Struct.new(
@@ -391,7 +486,8 @@ module Aws::ManagedBlockchain
391
486
  :network_id,
392
487
  :member_id,
393
488
  :actions,
394
- :description)
489
+ :description,
490
+ :tags)
395
491
  SENSITIVE = []
396
492
  include Aws::Structure
397
493
  end
@@ -443,16 +539,27 @@ module Aws::ManagedBlockchain
443
539
  #
444
540
  # {
445
541
  # network_id: "ResourceIdString", # required
446
- # member_id: "ResourceIdString", # required
542
+ # member_id: "ResourceIdString",
447
543
  # node_id: "ResourceIdString", # required
448
544
  # }
449
545
  #
450
546
  # @!attribute [rw] network_id
451
- # The unique identifier of the network that the node belongs to.
547
+ # The unique identifier of the network that the node is on.
548
+ #
549
+ # Ethereum public networks have the following `NetworkId`s:
550
+ #
551
+ # * `n-ethereum-mainnet`
552
+ #
553
+ # * `n-ethereum-rinkeby`
554
+ #
555
+ # * `n-ethereum-ropsten`
452
556
  # @return [String]
453
557
  #
454
558
  # @!attribute [rw] member_id
455
559
  # The unique identifier of the member that owns this node.
560
+ #
561
+ # Applies only to Hyperledger Fabric and is required for Hyperledger
562
+ # Fabric.
456
563
  # @return [String]
457
564
  #
458
565
  # @!attribute [rw] node_id
@@ -546,16 +653,19 @@ module Aws::ManagedBlockchain
546
653
  #
547
654
  # {
548
655
  # network_id: "ResourceIdString", # required
549
- # member_id: "ResourceIdString", # required
656
+ # member_id: "ResourceIdString",
550
657
  # node_id: "ResourceIdString", # required
551
658
  # }
552
659
  #
553
660
  # @!attribute [rw] network_id
554
- # The unique identifier of the network to which the node belongs.
661
+ # The unique identifier of the network that the node is on.
555
662
  # @return [String]
556
663
  #
557
664
  # @!attribute [rw] member_id
558
665
  # The unique identifier of the member that owns the node.
666
+ #
667
+ # Applies only to Hyperledger Fabric and is required for Hyperledger
668
+ # Fabric.
559
669
  # @return [String]
560
670
  #
561
671
  # @!attribute [rw] node_id
@@ -656,6 +766,8 @@ module Aws::ManagedBlockchain
656
766
  # An invitation to an AWS account to create a member and join the
657
767
  # network.
658
768
  #
769
+ # Applies only to Hyperledger Fabric.
770
+ #
659
771
  # @!attribute [rw] invitation_id
660
772
  # The unique identifier for the invitation.
661
773
  # @return [String]
@@ -694,6 +806,16 @@ module Aws::ManagedBlockchain
694
806
  # A summary of network configuration properties.
695
807
  # @return [Types::NetworkSummary]
696
808
  #
809
+ # @!attribute [rw] arn
810
+ # The Amazon Resource Name (ARN) of the invitation. For more
811
+ # information about ARNs and their format, see [Amazon Resource Names
812
+ # (ARNs)][1] in the *AWS General Reference*.
813
+ #
814
+ #
815
+ #
816
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
817
+ # @return [String]
818
+ #
697
819
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/Invitation AWS API Documentation
698
820
  #
699
821
  class Invitation < Struct.new(
@@ -701,7 +823,8 @@ module Aws::ManagedBlockchain
701
823
  :creation_date,
702
824
  :expiration_date,
703
825
  :status,
704
- :network_summary)
826
+ :network_summary,
827
+ :arn)
705
828
  SENSITIVE = []
706
829
  include Aws::Structure
707
830
  end
@@ -710,6 +833,8 @@ module Aws::ManagedBlockchain
710
833
  # the network. The `InviteAction` is carried out when a `Proposal` is
711
834
  # `APPROVED`.
712
835
  #
836
+ # Applies only to Hyperledger Fabric.
837
+ #
713
838
  # @note When making an API call, you may pass InviteAction
714
839
  # data as a hash:
715
840
  #
@@ -851,7 +976,7 @@ module Aws::ManagedBlockchain
851
976
  #
852
977
  # {
853
978
  # name: "String",
854
- # framework: "HYPERLEDGER_FABRIC", # accepts HYPERLEDGER_FABRIC
979
+ # framework: "HYPERLEDGER_FABRIC", # accepts HYPERLEDGER_FABRIC, ETHEREUM
855
980
  # status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, DELETING, DELETED
856
981
  # max_results: 1,
857
982
  # next_token: "PaginationToken",
@@ -869,6 +994,8 @@ module Aws::ManagedBlockchain
869
994
  # @!attribute [rw] status
870
995
  # An optional status specifier. If provided, only networks currently
871
996
  # in this status are listed.
997
+ #
998
+ # Applies only to Hyperledger Fabric.
872
999
  # @return [String]
873
1000
  #
874
1001
  # @!attribute [rw] max_results
@@ -916,8 +1043,8 @@ module Aws::ManagedBlockchain
916
1043
  #
917
1044
  # {
918
1045
  # network_id: "ResourceIdString", # required
919
- # member_id: "ResourceIdString", # required
920
- # status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, UPDATING, DELETING, DELETED, FAILED
1046
+ # member_id: "ResourceIdString",
1047
+ # status: "CREATING", # accepts CREATING, AVAILABLE, UNHEALTHY, CREATE_FAILED, UPDATING, DELETING, DELETED, FAILED
921
1048
  # max_results: 1,
922
1049
  # next_token: "PaginationToken",
923
1050
  # }
@@ -928,6 +1055,9 @@ module Aws::ManagedBlockchain
928
1055
  #
929
1056
  # @!attribute [rw] member_id
930
1057
  # The unique identifier of the member who owns the nodes to list.
1058
+ #
1059
+ # Applies only to Hyperledger Fabric and is required for Hyperledger
1060
+ # Fabric.
931
1061
  # @return [String]
932
1062
  #
933
1063
  # @!attribute [rw] status
@@ -1014,7 +1144,7 @@ module Aws::ManagedBlockchain
1014
1144
  end
1015
1145
 
1016
1146
  # @!attribute [rw] proposal_votes
1017
- # The listing of votes.
1147
+ # The list of votes.
1018
1148
  # @return [Array<Types::VoteSummary>]
1019
1149
  #
1020
1150
  # @!attribute [rw] next_token
@@ -1081,6 +1211,43 @@ module Aws::ManagedBlockchain
1081
1211
  include Aws::Structure
1082
1212
  end
1083
1213
 
1214
+ # @note When making an API call, you may pass ListTagsForResourceRequest
1215
+ # data as a hash:
1216
+ #
1217
+ # {
1218
+ # resource_arn: "ArnString", # required
1219
+ # }
1220
+ #
1221
+ # @!attribute [rw] resource_arn
1222
+ # The Amazon Resource Name (ARN) of the resource. For more information
1223
+ # about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
1224
+ # in the *AWS General Reference*.
1225
+ #
1226
+ #
1227
+ #
1228
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1229
+ # @return [String]
1230
+ #
1231
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListTagsForResourceRequest AWS API Documentation
1232
+ #
1233
+ class ListTagsForResourceRequest < Struct.new(
1234
+ :resource_arn)
1235
+ SENSITIVE = []
1236
+ include Aws::Structure
1237
+ end
1238
+
1239
+ # @!attribute [rw] tags
1240
+ # The tags assigned to the resource.
1241
+ # @return [Hash<String,String>]
1242
+ #
1243
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListTagsForResourceResponse AWS API Documentation
1244
+ #
1245
+ class ListTagsForResourceResponse < Struct.new(
1246
+ :tags)
1247
+ SENSITIVE = []
1248
+ include Aws::Structure
1249
+ end
1250
+
1084
1251
  # A configuration for logging events.
1085
1252
  #
1086
1253
  # @note When making an API call, you may pass LogConfiguration
@@ -1127,6 +1294,8 @@ module Aws::ManagedBlockchain
1127
1294
 
1128
1295
  # Member configuration properties.
1129
1296
  #
1297
+ # Applies only to Hyperledger Fabric.
1298
+ #
1130
1299
  # @!attribute [rw] network_id
1131
1300
  # The unique identifier of the network to which the member belongs.
1132
1301
  # @return [String]
@@ -1180,6 +1349,27 @@ module Aws::ManagedBlockchain
1180
1349
  # The date and time that the member was created.
1181
1350
  # @return [Time]
1182
1351
  #
1352
+ # @!attribute [rw] tags
1353
+ # Tags assigned to the member. Tags consist of a key and optional
1354
+ # value. For more information about tags, see [Tagging Resources][1]
1355
+ # in the *Amazon Managed Blockchain Hyperledger Fabric Developer
1356
+ # Guide*.
1357
+ #
1358
+ #
1359
+ #
1360
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
1361
+ # @return [Hash<String,String>]
1362
+ #
1363
+ # @!attribute [rw] arn
1364
+ # The Amazon Resource Name (ARN) of the member. For more information
1365
+ # about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
1366
+ # in the *AWS General Reference*.
1367
+ #
1368
+ #
1369
+ #
1370
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1371
+ # @return [String]
1372
+ #
1183
1373
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/Member AWS API Documentation
1184
1374
  #
1185
1375
  class Member < Struct.new(
@@ -1190,13 +1380,17 @@ module Aws::ManagedBlockchain
1190
1380
  :framework_attributes,
1191
1381
  :log_publishing_configuration,
1192
1382
  :status,
1193
- :creation_date)
1383
+ :creation_date,
1384
+ :tags,
1385
+ :arn)
1194
1386
  SENSITIVE = []
1195
1387
  include Aws::Structure
1196
1388
  end
1197
1389
 
1198
1390
  # Configuration properties of the member.
1199
1391
  #
1392
+ # Applies only to Hyperledger Fabric.
1393
+ #
1200
1394
  # @note When making an API call, you may pass MemberConfiguration
1201
1395
  # data as a hash:
1202
1396
  #
@@ -1218,6 +1412,9 @@ module Aws::ManagedBlockchain
1218
1412
  # },
1219
1413
  # },
1220
1414
  # },
1415
+ # tags: {
1416
+ # "TagKey" => "TagValue",
1417
+ # },
1221
1418
  # }
1222
1419
  #
1223
1420
  # @!attribute [rw] name
@@ -1234,15 +1431,33 @@ module Aws::ManagedBlockchain
1234
1431
  # @return [Types::MemberFrameworkConfiguration]
1235
1432
  #
1236
1433
  # @!attribute [rw] log_publishing_configuration
1434
+ # Configuration properties for logging events associated with a member
1435
+ # of a Managed Blockchain network.
1237
1436
  # @return [Types::MemberLogPublishingConfiguration]
1238
1437
  #
1438
+ # @!attribute [rw] tags
1439
+ # Tags assigned to the member. Tags consist of a key and optional
1440
+ # value. For more information about tags, see [Tagging Resources][1]
1441
+ # in the *Amazon Managed Blockchain Hyperledger Fabric Developer
1442
+ # Guide*.
1443
+ #
1444
+ # When specifying tags during creation, you can specify multiple
1445
+ # key-value pairs in a single request, with an overall maximum of 50
1446
+ # added to each resource.
1447
+ #
1448
+ #
1449
+ #
1450
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
1451
+ # @return [Hash<String,String>]
1452
+ #
1239
1453
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/MemberConfiguration AWS API Documentation
1240
1454
  #
1241
1455
  class MemberConfiguration < Struct.new(
1242
1456
  :name,
1243
1457
  :description,
1244
1458
  :framework_configuration,
1245
- :log_publishing_configuration)
1459
+ :log_publishing_configuration,
1460
+ :tags)
1246
1461
  SENSITIVE = []
1247
1462
  include Aws::Structure
1248
1463
  end
@@ -1287,8 +1502,8 @@ module Aws::ManagedBlockchain
1287
1502
  # `AdminPassword` must be at least eight characters long and no more
1288
1503
  # than 32 characters. It must contain at least one uppercase letter,
1289
1504
  # one lowercase letter, and one digit. It cannot have a single
1290
- # quote(‘), double quote(“), forward slash(/), backward slash(\\), @,
1291
- # or a space.
1505
+ # quotation mark (‘), a double quotation marks (), a forward
1506
+ # slash(/), a backward slash(\\), @, or a space.
1292
1507
  # @return [String]
1293
1508
  #
1294
1509
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/MemberFabricConfiguration AWS API Documentation
@@ -1404,6 +1619,8 @@ module Aws::ManagedBlockchain
1404
1619
 
1405
1620
  # A summary of configuration properties for a member.
1406
1621
  #
1622
+ # Applies only to Hyperledger Fabric.
1623
+ #
1407
1624
  # @!attribute [rw] id
1408
1625
  # The unique identifier of the member.
1409
1626
  # @return [String]
@@ -1448,6 +1665,16 @@ module Aws::ManagedBlockchain
1448
1665
  # different AWS account.
1449
1666
  # @return [Boolean]
1450
1667
  #
1668
+ # @!attribute [rw] arn
1669
+ # The Amazon Resource Name (ARN) of the member. For more information
1670
+ # about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
1671
+ # in the *AWS General Reference*.
1672
+ #
1673
+ #
1674
+ #
1675
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1676
+ # @return [String]
1677
+ #
1451
1678
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/MemberSummary AWS API Documentation
1452
1679
  #
1453
1680
  class MemberSummary < Struct.new(
@@ -1456,7 +1683,8 @@ module Aws::ManagedBlockchain
1456
1683
  :description,
1457
1684
  :status,
1458
1685
  :creation_date,
1459
- :is_owned)
1686
+ :is_owned,
1687
+ :arn)
1460
1688
  SENSITIVE = []
1461
1689
  include Aws::Structure
1462
1690
  end
@@ -1506,6 +1734,31 @@ module Aws::ManagedBlockchain
1506
1734
  # The date and time that the network was created.
1507
1735
  # @return [Time]
1508
1736
  #
1737
+ # @!attribute [rw] tags
1738
+ # Tags assigned to the network. Each tag consists of a key and
1739
+ # optional value.
1740
+ #
1741
+ # For more information about tags, see [Tagging Resources][1] in the
1742
+ # *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
1743
+ # Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
1744
+ # Developer Guide*.
1745
+ #
1746
+ #
1747
+ #
1748
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
1749
+ # [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
1750
+ # @return [Hash<String,String>]
1751
+ #
1752
+ # @!attribute [rw] arn
1753
+ # The Amazon Resource Name (ARN) of the network. For more information
1754
+ # about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
1755
+ # in the *AWS General Reference*.
1756
+ #
1757
+ #
1758
+ #
1759
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1760
+ # @return [String]
1761
+ #
1509
1762
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/Network AWS API Documentation
1510
1763
  #
1511
1764
  class Network < Struct.new(
@@ -1518,7 +1771,31 @@ module Aws::ManagedBlockchain
1518
1771
  :vpc_endpoint_service_name,
1519
1772
  :voting_policy,
1520
1773
  :status,
1521
- :creation_date)
1774
+ :creation_date,
1775
+ :tags,
1776
+ :arn)
1777
+ SENSITIVE = []
1778
+ include Aws::Structure
1779
+ end
1780
+
1781
+ # Attributes of Ethereum for a network. Ethereum on Managed Blockchain
1782
+ # is in preview release and is subject to change.
1783
+ #
1784
+ # @!attribute [rw] chain_id
1785
+ # The Ethereum `CHAIN_ID` associated with the Ethereum network. Chain
1786
+ # IDs are as follows:
1787
+ #
1788
+ # * mainnet = `1`
1789
+ #
1790
+ # * rinkeby = `4`
1791
+ #
1792
+ # * ropsten = `3`
1793
+ # @return [String]
1794
+ #
1795
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NetworkEthereumAttributes AWS API Documentation
1796
+ #
1797
+ class NetworkEthereumAttributes < Struct.new(
1798
+ :chain_id)
1522
1799
  SENSITIVE = []
1523
1800
  include Aws::Structure
1524
1801
  end
@@ -1582,10 +1859,17 @@ module Aws::ManagedBlockchain
1582
1859
  # that uses Hyperledger Fabric.
1583
1860
  # @return [Types::NetworkFabricAttributes]
1584
1861
  #
1862
+ # @!attribute [rw] ethereum
1863
+ # Attributes of an Ethereum network for Managed Blockchain resources
1864
+ # participating in an Ethereum network. Ethereum on Managed Blockchain
1865
+ # is in preview release and is subject to change.
1866
+ # @return [Types::NetworkEthereumAttributes]
1867
+ #
1585
1868
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NetworkFrameworkAttributes AWS API Documentation
1586
1869
  #
1587
1870
  class NetworkFrameworkAttributes < Struct.new(
1588
- :fabric)
1871
+ :fabric,
1872
+ :ethereum)
1589
1873
  SENSITIVE = []
1590
1874
  include Aws::Structure
1591
1875
  end
@@ -1645,6 +1929,16 @@ module Aws::ManagedBlockchain
1645
1929
  # The date and time that the network was created.
1646
1930
  # @return [Time]
1647
1931
  #
1932
+ # @!attribute [rw] arn
1933
+ # The Amazon Resource Name (ARN) of the network. For more information
1934
+ # about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
1935
+ # in the *AWS General Reference*.
1936
+ #
1937
+ #
1938
+ #
1939
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1940
+ # @return [String]
1941
+ #
1648
1942
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NetworkSummary AWS API Documentation
1649
1943
  #
1650
1944
  class NetworkSummary < Struct.new(
@@ -1654,19 +1948,22 @@ module Aws::ManagedBlockchain
1654
1948
  :framework,
1655
1949
  :framework_version,
1656
1950
  :status,
1657
- :creation_date)
1951
+ :creation_date,
1952
+ :arn)
1658
1953
  SENSITIVE = []
1659
1954
  include Aws::Structure
1660
1955
  end
1661
1956
 
1662
- # Configuration properties of a peer node.
1957
+ # Configuration properties of a node.
1663
1958
  #
1664
1959
  # @!attribute [rw] network_id
1665
- # The unique identifier of the network that the node is in.
1960
+ # The unique identifier of the network that the node is on.
1666
1961
  # @return [String]
1667
1962
  #
1668
1963
  # @!attribute [rw] member_id
1669
1964
  # The unique identifier of the member to which the node belongs.
1965
+ #
1966
+ # Applies only to Hyperledger Fabric.
1670
1967
  # @return [String]
1671
1968
  #
1672
1969
  # @!attribute [rw] id
@@ -1678,7 +1975,9 @@ module Aws::ManagedBlockchain
1678
1975
  # @return [String]
1679
1976
  #
1680
1977
  # @!attribute [rw] availability_zone
1681
- # The Availability Zone in which the node exists.
1978
+ # The Availability Zone in which the node exists. Required for
1979
+ # Ethereum nodes. Ethereum on Managed Blockchain is in preview release
1980
+ # and is subject to change.
1682
1981
  # @return [String]
1683
1982
  #
1684
1983
  # @!attribute [rw] framework_attributes
@@ -1686,8 +1985,17 @@ module Aws::ManagedBlockchain
1686
1985
  # @return [Types::NodeFrameworkAttributes]
1687
1986
  #
1688
1987
  # @!attribute [rw] log_publishing_configuration
1988
+ # Configuration properties for logging events associated with a peer
1989
+ # node on a Hyperledger Fabric network on Managed Blockchain.
1689
1990
  # @return [Types::NodeLogPublishingConfiguration]
1690
1991
  #
1992
+ # @!attribute [rw] state_db
1993
+ # The state database that the node uses. Values are `LevelDB` or
1994
+ # `CouchDB`.
1995
+ #
1996
+ # Applies only to Hyperledger Fabric.
1997
+ # @return [String]
1998
+ #
1691
1999
  # @!attribute [rw] status
1692
2000
  # The status of the node.
1693
2001
  # @return [String]
@@ -1696,6 +2004,31 @@ module Aws::ManagedBlockchain
1696
2004
  # The date and time that the node was created.
1697
2005
  # @return [Time]
1698
2006
  #
2007
+ # @!attribute [rw] tags
2008
+ # Tags assigned to the node. Each tag consists of a key and optional
2009
+ # value.
2010
+ #
2011
+ # For more information about tags, see [Tagging Resources][1] in the
2012
+ # *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
2013
+ # Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
2014
+ # Developer Guide*.
2015
+ #
2016
+ #
2017
+ #
2018
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
2019
+ # [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
2020
+ # @return [Hash<String,String>]
2021
+ #
2022
+ # @!attribute [rw] arn
2023
+ # The Amazon Resource Name (ARN) of the node. For more information
2024
+ # about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
2025
+ # in the *AWS General Reference*.
2026
+ #
2027
+ #
2028
+ #
2029
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2030
+ # @return [String]
2031
+ #
1699
2032
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/Node AWS API Documentation
1700
2033
  #
1701
2034
  class Node < Struct.new(
@@ -1706,20 +2039,23 @@ module Aws::ManagedBlockchain
1706
2039
  :availability_zone,
1707
2040
  :framework_attributes,
1708
2041
  :log_publishing_configuration,
2042
+ :state_db,
1709
2043
  :status,
1710
- :creation_date)
2044
+ :creation_date,
2045
+ :tags,
2046
+ :arn)
1711
2047
  SENSITIVE = []
1712
2048
  include Aws::Structure
1713
2049
  end
1714
2050
 
1715
- # Configuration properties of a peer node.
2051
+ # Configuration properties of a node.
1716
2052
  #
1717
2053
  # @note When making an API call, you may pass NodeConfiguration
1718
2054
  # data as a hash:
1719
2055
  #
1720
2056
  # {
1721
2057
  # instance_type: "InstanceTypeString", # required
1722
- # availability_zone: "AvailabilityZoneString", # required
2058
+ # availability_zone: "AvailabilityZoneString",
1723
2059
  # log_publishing_configuration: {
1724
2060
  # fabric: {
1725
2061
  # chaincode_logs: {
@@ -1734,6 +2070,7 @@ module Aws::ManagedBlockchain
1734
2070
  # },
1735
2071
  # },
1736
2072
  # },
2073
+ # state_db: "LevelDB", # accepts LevelDB, CouchDB
1737
2074
  # }
1738
2075
  #
1739
2076
  # @!attribute [rw] instance_type
@@ -1741,24 +2078,73 @@ module Aws::ManagedBlockchain
1741
2078
  # @return [String]
1742
2079
  #
1743
2080
  # @!attribute [rw] availability_zone
1744
- # The Availability Zone in which the node exists.
2081
+ # The Availability Zone in which the node exists. Required for
2082
+ # Ethereum nodes. Ethereum on Managed Blockchain is in preview release
2083
+ # and is subject to change.
1745
2084
  # @return [String]
1746
2085
  #
1747
2086
  # @!attribute [rw] log_publishing_configuration
2087
+ # Configuration properties for logging events associated with a peer
2088
+ # node on a Hyperledger Fabric network on Managed Blockchain.
1748
2089
  # @return [Types::NodeLogPublishingConfiguration]
1749
2090
  #
2091
+ # @!attribute [rw] state_db
2092
+ # The state database that the node uses. Values are `LevelDB` or
2093
+ # `CouchDB`. When using an Amazon Managed Blockchain network with
2094
+ # Hyperledger Fabric version 1.4 or later, the default is `CouchDB`.
2095
+ #
2096
+ # Applies only to Hyperledger Fabric.
2097
+ # @return [String]
2098
+ #
1750
2099
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NodeConfiguration AWS API Documentation
1751
2100
  #
1752
2101
  class NodeConfiguration < Struct.new(
1753
2102
  :instance_type,
1754
2103
  :availability_zone,
1755
- :log_publishing_configuration)
2104
+ :log_publishing_configuration,
2105
+ :state_db)
1756
2106
  SENSITIVE = []
1757
2107
  include Aws::Structure
1758
2108
  end
1759
2109
 
1760
- # Attributes of Hyperledger Fabric for a peer node on a Managed
1761
- # Blockchain network that uses Hyperledger Fabric.
2110
+ # Attributes of an Ethereum node. Ethereum on Managed Blockchain is in
2111
+ # preview release and is subject to change.
2112
+ #
2113
+ # @!attribute [rw] http_endpoint
2114
+ # The endpoint on which the Ethereum node listens to run Ethereum
2115
+ # JSON-RPC methods over HTTP connections from a client. Use this
2116
+ # endpoint in client code for smart contracts when using an HTTP
2117
+ # connection. Connections to this endpoint are authenticated using
2118
+ # [Signature Version 4][1].
2119
+ #
2120
+ #
2121
+ #
2122
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
2123
+ # @return [String]
2124
+ #
2125
+ # @!attribute [rw] web_socket_endpoint
2126
+ # The endpoint on which the Ethereum node listens to run Ethereum
2127
+ # JSON-RPC methods over WebSockets connections from a client. Use this
2128
+ # endpoint in client code for smart contracts when using a WebSockets
2129
+ # connection. Connections to this endpoint are authenticated using
2130
+ # [Signature Version 4][1].
2131
+ #
2132
+ #
2133
+ #
2134
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
2135
+ # @return [String]
2136
+ #
2137
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NodeEthereumAttributes AWS API Documentation
2138
+ #
2139
+ class NodeEthereumAttributes < Struct.new(
2140
+ :http_endpoint,
2141
+ :web_socket_endpoint)
2142
+ SENSITIVE = []
2143
+ include Aws::Structure
2144
+ end
2145
+
2146
+ # Attributes of Hyperledger Fabric for a peer node on a Hyperledger
2147
+ # Fabric network on Managed Blockchain.
1762
2148
  #
1763
2149
  # @!attribute [rw] peer_endpoint
1764
2150
  # The endpoint that identifies the peer node for all services except
@@ -1823,24 +2209,31 @@ module Aws::ManagedBlockchain
1823
2209
  include Aws::Structure
1824
2210
  end
1825
2211
 
1826
- # Attributes relevant to a peer node on a Managed Blockchain network for
1827
- # the blockchain framework that the network uses.
2212
+ # Attributes relevant to a node on a Managed Blockchain network for the
2213
+ # blockchain framework that the network uses.
1828
2214
  #
1829
2215
  # @!attribute [rw] fabric
1830
2216
  # Attributes of Hyperledger Fabric for a peer node on a Managed
1831
2217
  # Blockchain network that uses Hyperledger Fabric.
1832
2218
  # @return [Types::NodeFabricAttributes]
1833
2219
  #
2220
+ # @!attribute [rw] ethereum
2221
+ # Attributes of Ethereum for a node on a Managed Blockchain network
2222
+ # that uses Ethereum. Ethereum on Managed Blockchain is in preview
2223
+ # release and is subject to change.
2224
+ # @return [Types::NodeEthereumAttributes]
2225
+ #
1834
2226
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NodeFrameworkAttributes AWS API Documentation
1835
2227
  #
1836
2228
  class NodeFrameworkAttributes < Struct.new(
1837
- :fabric)
2229
+ :fabric,
2230
+ :ethereum)
1838
2231
  SENSITIVE = []
1839
2232
  include Aws::Structure
1840
2233
  end
1841
2234
 
1842
2235
  # Configuration properties for logging events associated with a peer
1843
- # node owned by a member in a Managed Blockchain network.
2236
+ # node on a Hyperledger Fabric network on Managed Blockchain.
1844
2237
  #
1845
2238
  # @note When making an API call, you may pass NodeLogPublishingConfiguration
1846
2239
  # data as a hash:
@@ -1874,7 +2267,7 @@ module Aws::ManagedBlockchain
1874
2267
  include Aws::Structure
1875
2268
  end
1876
2269
 
1877
- # A summary of configuration properties for a peer node.
2270
+ # A summary of configuration properties for a node.
1878
2271
  #
1879
2272
  # @!attribute [rw] id
1880
2273
  # The unique identifier of the node.
@@ -1896,6 +2289,16 @@ module Aws::ManagedBlockchain
1896
2289
  # The EC2 instance type for the node.
1897
2290
  # @return [String]
1898
2291
  #
2292
+ # @!attribute [rw] arn
2293
+ # The Amazon Resource Name (ARN) of the node. For more information
2294
+ # about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
2295
+ # in the *AWS General Reference*.
2296
+ #
2297
+ #
2298
+ #
2299
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2300
+ # @return [String]
2301
+ #
1899
2302
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NodeSummary AWS API Documentation
1900
2303
  #
1901
2304
  class NodeSummary < Struct.new(
@@ -1903,13 +2306,16 @@ module Aws::ManagedBlockchain
1903
2306
  :status,
1904
2307
  :creation_date,
1905
2308
  :availability_zone,
1906
- :instance_type)
2309
+ :instance_type,
2310
+ :arn)
1907
2311
  SENSITIVE = []
1908
2312
  include Aws::Structure
1909
2313
  end
1910
2314
 
1911
2315
  # Properties of a proposal on a Managed Blockchain network.
1912
2316
  #
2317
+ # Applies only to Hyperledger Fabric.
2318
+ #
1913
2319
  # @!attribute [rw] proposal_id
1914
2320
  # The unique identifier of the proposal.
1915
2321
  # @return [String]
@@ -1985,6 +2391,31 @@ module Aws::ManagedBlockchain
1985
2391
  # and `NO` votes.
1986
2392
  # @return [Integer]
1987
2393
  #
2394
+ # @!attribute [rw] tags
2395
+ # Tags assigned to the proposal. Each tag consists of a key and
2396
+ # optional value.
2397
+ #
2398
+ # For more information about tags, see [Tagging Resources][1] in the
2399
+ # *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
2400
+ # Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
2401
+ # Developer Guide*.
2402
+ #
2403
+ #
2404
+ #
2405
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
2406
+ # [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
2407
+ # @return [Hash<String,String>]
2408
+ #
2409
+ # @!attribute [rw] arn
2410
+ # The Amazon Resource Name (ARN) of the proposal. For more information
2411
+ # about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
2412
+ # in the *AWS General Reference*.
2413
+ #
2414
+ #
2415
+ #
2416
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2417
+ # @return [String]
2418
+ #
1988
2419
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/Proposal AWS API Documentation
1989
2420
  #
1990
2421
  class Proposal < Struct.new(
@@ -1999,13 +2430,17 @@ module Aws::ManagedBlockchain
1999
2430
  :expiration_date,
2000
2431
  :yes_vote_count,
2001
2432
  :no_vote_count,
2002
- :outstanding_vote_count)
2433
+ :outstanding_vote_count,
2434
+ :tags,
2435
+ :arn)
2003
2436
  SENSITIVE = []
2004
2437
  include Aws::Structure
2005
2438
  end
2006
2439
 
2007
2440
  # The actions to carry out if a proposal is `APPROVED`.
2008
2441
  #
2442
+ # Applies only to Hyperledger Fabric.
2443
+ #
2009
2444
  # @note When making an API call, you may pass ProposalActions
2010
2445
  # data as a hash:
2011
2446
  #
@@ -2044,6 +2479,8 @@ module Aws::ManagedBlockchain
2044
2479
 
2045
2480
  # Properties of a proposal.
2046
2481
  #
2482
+ # Applies only to Hyperledger Fabric.
2483
+ #
2047
2484
  # @!attribute [rw] proposal_id
2048
2485
  # The unique identifier of the proposal.
2049
2486
  # @return [String]
@@ -2096,6 +2533,16 @@ module Aws::ManagedBlockchain
2096
2533
  # `Actions` are not carried out.
2097
2534
  # @return [Time]
2098
2535
  #
2536
+ # @!attribute [rw] arn
2537
+ # The Amazon Resource Name (ARN) of the proposal. For more information
2538
+ # about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
2539
+ # in the *AWS General Reference*.
2540
+ #
2541
+ #
2542
+ #
2543
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2544
+ # @return [String]
2545
+ #
2099
2546
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ProposalSummary AWS API Documentation
2100
2547
  #
2101
2548
  class ProposalSummary < Struct.new(
@@ -2105,7 +2552,8 @@ module Aws::ManagedBlockchain
2105
2552
  :proposed_by_member_name,
2106
2553
  :status,
2107
2554
  :creation_date,
2108
- :expiration_date)
2555
+ :expiration_date,
2556
+ :arn)
2109
2557
  SENSITIVE = []
2110
2558
  include Aws::Structure
2111
2559
  end
@@ -2137,6 +2585,8 @@ module Aws::ManagedBlockchain
2137
2585
  # result of a removal proposal that is `APPROVED`. The member and all
2138
2586
  # associated resources are deleted from the network.
2139
2587
  #
2588
+ # Applies only to Hyperledger Fabric.
2589
+ #
2140
2590
  # @note When making an API call, you may pass RemoveAction
2141
2591
  # data as a hash:
2142
2592
  #
@@ -2184,16 +2634,22 @@ module Aws::ManagedBlockchain
2184
2634
  include Aws::Structure
2185
2635
  end
2186
2636
 
2187
- # A requested resource does not exist on the network. It may have been
2188
- # deleted or referenced inaccurately.
2637
+ # A requested resource does not exist. It may have been deleted or
2638
+ # referenced inaccurately.
2189
2639
  #
2190
2640
  # @!attribute [rw] message
2191
2641
  # @return [String]
2192
2642
  #
2643
+ # @!attribute [rw] resource_name
2644
+ # A requested resource does not exist. It may have been deleted or
2645
+ # referenced inaccurately.
2646
+ # @return [String]
2647
+ #
2193
2648
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ResourceNotFoundException AWS API Documentation
2194
2649
  #
2195
2650
  class ResourceNotFoundException < Struct.new(
2196
- :message)
2651
+ :message,
2652
+ :resource_name)
2197
2653
  SENSITIVE = []
2198
2654
  include Aws::Structure
2199
2655
  end
@@ -2212,6 +2668,46 @@ module Aws::ManagedBlockchain
2212
2668
  include Aws::Structure
2213
2669
  end
2214
2670
 
2671
+ # @note When making an API call, you may pass TagResourceRequest
2672
+ # data as a hash:
2673
+ #
2674
+ # {
2675
+ # resource_arn: "ArnString", # required
2676
+ # tags: { # required
2677
+ # "TagKey" => "TagValue",
2678
+ # },
2679
+ # }
2680
+ #
2681
+ # @!attribute [rw] resource_arn
2682
+ # The Amazon Resource Name (ARN) of the resource. For more information
2683
+ # about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
2684
+ # in the *AWS General Reference*.
2685
+ #
2686
+ #
2687
+ #
2688
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2689
+ # @return [String]
2690
+ #
2691
+ # @!attribute [rw] tags
2692
+ # The tags to assign to the specified resource. Tag values can be
2693
+ # empty, for example, `"MyTagKey" : ""`. You can specify multiple
2694
+ # key-value pairs in a single request, with an overall maximum of 50
2695
+ # added to each resource.
2696
+ # @return [Hash<String,String>]
2697
+ #
2698
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/TagResourceRequest AWS API Documentation
2699
+ #
2700
+ class TagResourceRequest < Struct.new(
2701
+ :resource_arn,
2702
+ :tags)
2703
+ SENSITIVE = []
2704
+ include Aws::Structure
2705
+ end
2706
+
2707
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/TagResourceResponse AWS API Documentation
2708
+ #
2709
+ class TagResourceResponse < Aws::EmptyStructure; end
2710
+
2215
2711
  # The request or operation could not be performed because a service is
2216
2712
  # throttling requests. The most common source of throttling errors is
2217
2713
  # launching EC2 instances such that your service limit for EC2 instances
@@ -2222,6 +2718,56 @@ module Aws::ManagedBlockchain
2222
2718
  #
2223
2719
  class ThrottlingException < Aws::EmptyStructure; end
2224
2720
 
2721
+ # @!attribute [rw] message
2722
+ # @return [String]
2723
+ #
2724
+ # @!attribute [rw] resource_name
2725
+ # @return [String]
2726
+ #
2727
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/TooManyTagsException AWS API Documentation
2728
+ #
2729
+ class TooManyTagsException < Struct.new(
2730
+ :message,
2731
+ :resource_name)
2732
+ SENSITIVE = []
2733
+ include Aws::Structure
2734
+ end
2735
+
2736
+ # @note When making an API call, you may pass UntagResourceRequest
2737
+ # data as a hash:
2738
+ #
2739
+ # {
2740
+ # resource_arn: "ArnString", # required
2741
+ # tag_keys: ["TagKey"], # required
2742
+ # }
2743
+ #
2744
+ # @!attribute [rw] resource_arn
2745
+ # The Amazon Resource Name (ARN) of the resource. For more information
2746
+ # about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
2747
+ # in the *AWS General Reference*.
2748
+ #
2749
+ #
2750
+ #
2751
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2752
+ # @return [String]
2753
+ #
2754
+ # @!attribute [rw] tag_keys
2755
+ # The tag keys.
2756
+ # @return [Array<String>]
2757
+ #
2758
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UntagResourceRequest AWS API Documentation
2759
+ #
2760
+ class UntagResourceRequest < Struct.new(
2761
+ :resource_arn,
2762
+ :tag_keys)
2763
+ SENSITIVE = []
2764
+ include Aws::Structure
2765
+ end
2766
+
2767
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UntagResourceResponse AWS API Documentation
2768
+ #
2769
+ class UntagResourceResponse < Aws::EmptyStructure; end
2770
+
2225
2771
  # @note When making an API call, you may pass UpdateMemberInput
2226
2772
  # data as a hash:
2227
2773
  #
@@ -2240,12 +2786,12 @@ module Aws::ManagedBlockchain
2240
2786
  # }
2241
2787
  #
2242
2788
  # @!attribute [rw] network_id
2243
- # The unique ID of the Managed Blockchain network to which the member
2244
- # belongs.
2789
+ # The unique identifier of the Managed Blockchain network to which the
2790
+ # member belongs.
2245
2791
  # @return [String]
2246
2792
  #
2247
2793
  # @!attribute [rw] member_id
2248
- # The unique ID of the member.
2794
+ # The unique identifier of the member.
2249
2795
  # @return [String]
2250
2796
  #
2251
2797
  # @!attribute [rw] log_publishing_configuration
@@ -2271,7 +2817,7 @@ module Aws::ManagedBlockchain
2271
2817
  #
2272
2818
  # {
2273
2819
  # network_id: "ResourceIdString", # required
2274
- # member_id: "ResourceIdString", # required
2820
+ # member_id: "ResourceIdString",
2275
2821
  # node_id: "ResourceIdString", # required
2276
2822
  # log_publishing_configuration: {
2277
2823
  # fabric: {
@@ -2290,16 +2836,17 @@ module Aws::ManagedBlockchain
2290
2836
  # }
2291
2837
  #
2292
2838
  # @!attribute [rw] network_id
2293
- # The unique ID of the Managed Blockchain network to which the node
2294
- # belongs.
2839
+ # The unique identifier of the network that the node is on.
2295
2840
  # @return [String]
2296
2841
  #
2297
2842
  # @!attribute [rw] member_id
2298
- # The unique ID of the member that owns the node.
2843
+ # The unique identifier of the member that owns the node.
2844
+ #
2845
+ # Applies only to Hyperledger Fabric.
2299
2846
  # @return [String]
2300
2847
  #
2301
2848
  # @!attribute [rw] node_id
2302
- # The unique ID of the node.
2849
+ # The unique identifier of the node.
2303
2850
  # @return [String]
2304
2851
  #
2305
2852
  # @!attribute [rw] log_publishing_configuration
@@ -2364,6 +2911,8 @@ module Aws::ManagedBlockchain
2364
2911
 
2365
2912
  # Properties of an individual vote that a member cast for a proposal.
2366
2913
  #
2914
+ # Applies only to Hyperledger Fabric.
2915
+ #
2367
2916
  # @!attribute [rw] vote
2368
2917
  # The vote value, either `YES` or `NO`.
2369
2918
  # @return [String]
@@ -2388,6 +2937,8 @@ module Aws::ManagedBlockchain
2388
2937
 
2389
2938
  # The voting rules for the network to decide if a proposal is accepted
2390
2939
  #
2940
+ # Applies only to Hyperledger Fabric.
2941
+ #
2391
2942
  # @note When making an API call, you may pass VotingPolicy
2392
2943
  # data as a hash:
2393
2944
  #