aws-sdk-managedblockchain 1.16.0 → 1.21.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: beda203913a5d0bb84271c4f59f82642d633f91ccc30d0cc265f2984aeef5c4c
4
- data.tar.gz: df3bd8f34114c4d8138d78b2ad2e420fb8183d95b76cf2661a4f40133abc4dfb
3
+ metadata.gz: 9ccc6feb30ff2d911233b6c3c160b962a557be5d4b86b3fb8186cd2dd552e2b2
4
+ data.tar.gz: 83b940c56630d541e17dd3fb1c3f923af3014d5e3875d480868a36576e8a8261
5
5
  SHA512:
6
- metadata.gz: 9aa6cf46159d6668129448fbcc18c59d737d8d88228f843956e60180a6047b252a4ff5056450022b9e0e776bb00f4d2cbe1ed0d2c6a1f82cbb43a38d7b34ae83
7
- data.tar.gz: 37a2332ffef33b038e493d40abf3f4824bbedca6f82e8c33ed4d181af4a4d5c3e68ce869e3a3d514e2f8ecfde8f183fe233f38a35e36357c1b333c371a27025f
6
+ metadata.gz: cd565f1f6cad9a19d94ac30ddfd99e8bdbad51b9d235283dd3ccb9abe8d5489fa12dd101e8b22fb2ded1ba046f7b6651936d4e30ad9d6713245bc1fc4bb26ce6
7
+ data.tar.gz: cc1b50d57790924d5bf94e690f1ed510a9ef2ef06bd920b8932c733b4b605fa2ff471539ede76d4a54b725fcf7c13457b2f060604fc6d34281d029f4e0836f2c
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-managedblockchain/customizations'
48
48
  # @!group service
49
49
  module Aws::ManagedBlockchain
50
50
 
51
- GEM_VERSION = '1.16.0'
51
+ GEM_VERSION = '1.21.0'
52
52
 
53
53
  end
@@ -329,6 +329,8 @@ module Aws::ManagedBlockchain
329
329
 
330
330
  # Creates a member within a Managed Blockchain network.
331
331
  #
332
+ # Applies only to Hyperledger Fabric.
333
+ #
332
334
  # @option params [required, String] :client_request_token
333
335
  # A unique, case-sensitive identifier that you provide to ensure the
334
336
  # idempotency of the operation. An idempotent operation completes no
@@ -377,6 +379,9 @@ module Aws::ManagedBlockchain
377
379
  # },
378
380
  # },
379
381
  # },
382
+ # tags: {
383
+ # "TagKey" => "TagValue",
384
+ # },
380
385
  # },
381
386
  # })
382
387
  #
@@ -395,6 +400,8 @@ module Aws::ManagedBlockchain
395
400
 
396
401
  # Creates a new blockchain network using Amazon Managed Blockchain.
397
402
  #
403
+ # Applies only to Hyperledger Fabric.
404
+ #
398
405
  # @option params [required, String] :client_request_token
399
406
  # A unique, case-sensitive identifier that you provide to ensure the
400
407
  # idempotency of the operation. An idempotent operation completes no
@@ -428,6 +435,24 @@ module Aws::ManagedBlockchain
428
435
  # @option params [required, Types::MemberConfiguration] :member_configuration
429
436
  # Configuration properties for the first member within the network.
430
437
  #
438
+ # @option params [Hash<String,String>] :tags
439
+ # Tags to assign to the network. Each tag consists of a key and optional
440
+ # value.
441
+ #
442
+ # When specifying tags during creation, you can specify multiple
443
+ # key-value pairs in a single request, with an overall maximum of 50
444
+ # tags added to each resource.
445
+ #
446
+ # For more information about tags, see [Tagging Resources][1] in the
447
+ # *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
448
+ # Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
449
+ # Developer Guide*.
450
+ #
451
+ #
452
+ #
453
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
454
+ # [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
455
+ #
431
456
  # @return [Types::CreateNetworkOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
432
457
  #
433
458
  # * {Types::CreateNetworkOutput#network_id #network_id} => String
@@ -439,7 +464,7 @@ module Aws::ManagedBlockchain
439
464
  # client_request_token: "ClientRequestTokenString", # required
440
465
  # name: "NameString", # required
441
466
  # description: "DescriptionString",
442
- # framework: "HYPERLEDGER_FABRIC", # required, accepts HYPERLEDGER_FABRIC
467
+ # framework: "HYPERLEDGER_FABRIC", # required, accepts HYPERLEDGER_FABRIC, ETHEREUM
443
468
  # framework_version: "FrameworkVersionString", # required
444
469
  # framework_configuration: {
445
470
  # fabric: {
@@ -471,6 +496,12 @@ module Aws::ManagedBlockchain
471
496
  # },
472
497
  # },
473
498
  # },
499
+ # tags: {
500
+ # "TagKey" => "TagValue",
501
+ # },
502
+ # },
503
+ # tags: {
504
+ # "TagKey" => "TagValue",
474
505
  # },
475
506
  # })
476
507
  #
@@ -488,7 +519,9 @@ module Aws::ManagedBlockchain
488
519
  req.send_request(options)
489
520
  end
490
521
 
491
- # Creates a peer node in a member.
522
+ # Creates a node on the specified blockchain network.
523
+ #
524
+ # Applies to Hyperledger Fabric and Ethereum.
492
525
  #
493
526
  # @option params [required, String] :client_request_token
494
527
  # A unique, case-sensitive identifier that you provide to ensure the
@@ -501,14 +534,42 @@ module Aws::ManagedBlockchain
501
534
  # not need to pass this option.**
502
535
  #
503
536
  # @option params [required, String] :network_id
504
- # The unique identifier of the network in which this node runs.
537
+ # The unique identifier of the network for the node.
505
538
  #
506
- # @option params [required, String] :member_id
539
+ # Ethereum public networks have the following `NetworkId`s:
540
+ #
541
+ # * `n-ethereum-mainnet`
542
+ #
543
+ # * `n-ethereum-rinkeby`
544
+ #
545
+ # * `n-ethereum-ropsten`
546
+ #
547
+ # @option params [String] :member_id
507
548
  # The unique identifier of the member that owns this node.
508
549
  #
550
+ # Applies only to Hyperledger Fabric.
551
+ #
509
552
  # @option params [required, Types::NodeConfiguration] :node_configuration
510
553
  # The properties of a node configuration.
511
554
  #
555
+ # @option params [Hash<String,String>] :tags
556
+ # Tags to assign to the node. Each tag consists of a key and optional
557
+ # value.
558
+ #
559
+ # When specifying tags during creation, you can specify multiple
560
+ # key-value pairs in a single request, with an overall maximum of 50
561
+ # tags added to each resource.
562
+ #
563
+ # For more information about tags, see [Tagging Resources][1] in the
564
+ # *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
565
+ # Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
566
+ # Developer Guide*.
567
+ #
568
+ #
569
+ #
570
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
571
+ # [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
572
+ #
512
573
  # @return [Types::CreateNodeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
513
574
  #
514
575
  # * {Types::CreateNodeOutput#node_id #node_id} => String
@@ -518,10 +579,10 @@ module Aws::ManagedBlockchain
518
579
  # resp = client.create_node({
519
580
  # client_request_token: "ClientRequestTokenString", # required
520
581
  # network_id: "ResourceIdString", # required
521
- # member_id: "ResourceIdString", # required
582
+ # member_id: "ResourceIdString",
522
583
  # node_configuration: { # required
523
584
  # instance_type: "InstanceTypeString", # required
524
- # availability_zone: "AvailabilityZoneString", # required
585
+ # availability_zone: "AvailabilityZoneString",
525
586
  # log_publishing_configuration: {
526
587
  # fabric: {
527
588
  # chaincode_logs: {
@@ -538,6 +599,9 @@ module Aws::ManagedBlockchain
538
599
  # },
539
600
  # state_db: "LevelDB", # accepts LevelDB, CouchDB
540
601
  # },
602
+ # tags: {
603
+ # "TagKey" => "TagValue",
604
+ # },
541
605
  # })
542
606
  #
543
607
  # @example Response structure
@@ -557,6 +621,8 @@ module Aws::ManagedBlockchain
557
621
  # the network can vote on, for example, a proposal to add a new member
558
622
  # to the network. Any member can create a proposal.
559
623
  #
624
+ # Applies only to Hyperledger Fabric.
625
+ #
560
626
  # @option params [required, String] :client_request_token
561
627
  # A unique, case-sensitive identifier that you provide to ensure the
562
628
  # idempotency of the operation. An idempotent operation completes no
@@ -585,6 +651,25 @@ module Aws::ManagedBlockchain
585
651
  # A description for the proposal that is visible to voting members, for
586
652
  # example, "Proposal to add Example Corp. as member."
587
653
  #
654
+ # @option params [Hash<String,String>] :tags
655
+ # Tags to assign to the proposal. Each tag consists of a key and
656
+ # optional value.
657
+ #
658
+ # When specifying tags during creation, you can specify multiple
659
+ # key-value pairs in a single request, with an overall maximum of 50
660
+ # tags added to each resource. If the proposal is for a network
661
+ # invitation, the invitation inherits the tags added to the proposal.
662
+ #
663
+ # For more information about tags, see [Tagging Resources][1] in the
664
+ # *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
665
+ # Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
666
+ # Developer Guide*.
667
+ #
668
+ #
669
+ #
670
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
671
+ # [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
672
+ #
588
673
  # @return [Types::CreateProposalOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
589
674
  #
590
675
  # * {Types::CreateProposalOutput#proposal_id #proposal_id} => String
@@ -608,6 +693,9 @@ module Aws::ManagedBlockchain
608
693
  # ],
609
694
  # },
610
695
  # description: "DescriptionString",
696
+ # tags: {
697
+ # "TagKey" => "TagValue",
698
+ # },
611
699
  # })
612
700
  #
613
701
  # @example Response structure
@@ -632,6 +720,8 @@ module Aws::ManagedBlockchain
632
720
  # member in a network specified by the last AWS account, the network is
633
721
  # deleted also.
634
722
  #
723
+ # Applies only to Hyperledger Fabric.
724
+ #
635
725
  # @option params [required, String] :network_id
636
726
  # The unique identifier of the network from which the member is removed.
637
727
  #
@@ -656,15 +746,28 @@ module Aws::ManagedBlockchain
656
746
  req.send_request(options)
657
747
  end
658
748
 
659
- # Deletes a peer node from a member that your AWS account owns. All data
660
- # on the node is lost and cannot be recovered.
749
+ # Deletes a node that your AWS account owns. All data on the node is
750
+ # lost and cannot be recovered.
751
+ #
752
+ # Applies to Hyperledger Fabric and Ethereum.
661
753
  #
662
754
  # @option params [required, String] :network_id
663
- # The unique identifier of the network that the node belongs to.
755
+ # The unique identifier of the network that the node is on.
664
756
  #
665
- # @option params [required, String] :member_id
757
+ # Ethereum public networks have the following `NetworkId`s:
758
+ #
759
+ # * `n-ethereum-mainnet`
760
+ #
761
+ # * `n-ethereum-rinkeby`
762
+ #
763
+ # * `n-ethereum-ropsten`
764
+ #
765
+ # @option params [String] :member_id
666
766
  # The unique identifier of the member that owns this node.
667
767
  #
768
+ # Applies only to Hyperledger Fabric and is required for Hyperledger
769
+ # Fabric.
770
+ #
668
771
  # @option params [required, String] :node_id
669
772
  # The unique identifier of the node.
670
773
  #
@@ -674,7 +777,7 @@ module Aws::ManagedBlockchain
674
777
  #
675
778
  # resp = client.delete_node({
676
779
  # network_id: "ResourceIdString", # required
677
- # member_id: "ResourceIdString", # required
780
+ # member_id: "ResourceIdString",
678
781
  # node_id: "ResourceIdString", # required
679
782
  # })
680
783
  #
@@ -689,6 +792,8 @@ module Aws::ManagedBlockchain
689
792
 
690
793
  # Returns detailed information about a member.
691
794
  #
795
+ # Applies only to Hyperledger Fabric.
796
+ #
692
797
  # @option params [required, String] :network_id
693
798
  # The unique identifier of the network to which the member belongs.
694
799
  #
@@ -717,6 +822,9 @@ module Aws::ManagedBlockchain
717
822
  # resp.member.log_publishing_configuration.fabric.ca_logs.cloudwatch.enabled #=> Boolean
718
823
  # resp.member.status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED"
719
824
  # resp.member.creation_date #=> Time
825
+ # resp.member.tags #=> Hash
826
+ # resp.member.tags["TagKey"] #=> String
827
+ # resp.member.arn #=> String
720
828
  #
721
829
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetMember AWS API Documentation
722
830
  #
@@ -729,6 +837,8 @@ module Aws::ManagedBlockchain
729
837
 
730
838
  # Returns detailed information about a network.
731
839
  #
840
+ # Applies to Hyperledger Fabric and Ethereum.
841
+ #
732
842
  # @option params [required, String] :network_id
733
843
  # The unique identifier of the network to get information about.
734
844
  #
@@ -747,16 +857,20 @@ module Aws::ManagedBlockchain
747
857
  # resp.network.id #=> String
748
858
  # resp.network.name #=> String
749
859
  # resp.network.description #=> String
750
- # resp.network.framework #=> String, one of "HYPERLEDGER_FABRIC"
860
+ # resp.network.framework #=> String, one of "HYPERLEDGER_FABRIC", "ETHEREUM"
751
861
  # resp.network.framework_version #=> String
752
862
  # resp.network.framework_attributes.fabric.ordering_service_endpoint #=> String
753
863
  # resp.network.framework_attributes.fabric.edition #=> String, one of "STARTER", "STANDARD"
864
+ # resp.network.framework_attributes.ethereum.chain_id #=> String
754
865
  # resp.network.vpc_endpoint_service_name #=> String
755
866
  # resp.network.voting_policy.approval_threshold_policy.threshold_percentage #=> Integer
756
867
  # resp.network.voting_policy.approval_threshold_policy.proposal_duration_in_hours #=> Integer
757
868
  # resp.network.voting_policy.approval_threshold_policy.threshold_comparator #=> String, one of "GREATER_THAN", "GREATER_THAN_OR_EQUAL_TO"
758
869
  # resp.network.status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "DELETING", "DELETED"
759
870
  # resp.network.creation_date #=> Time
871
+ # resp.network.tags #=> Hash
872
+ # resp.network.tags["TagKey"] #=> String
873
+ # resp.network.arn #=> String
760
874
  #
761
875
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNetwork AWS API Documentation
762
876
  #
@@ -767,14 +881,19 @@ module Aws::ManagedBlockchain
767
881
  req.send_request(options)
768
882
  end
769
883
 
770
- # Returns detailed information about a peer node.
884
+ # Returns detailed information about a node.
885
+ #
886
+ # Applies to Hyperledger Fabric and Ethereum.
771
887
  #
772
888
  # @option params [required, String] :network_id
773
- # The unique identifier of the network to which the node belongs.
889
+ # The unique identifier of the network that the node is on.
774
890
  #
775
- # @option params [required, String] :member_id
891
+ # @option params [String] :member_id
776
892
  # The unique identifier of the member that owns the node.
777
893
  #
894
+ # Applies only to Hyperledger Fabric and is required for Hyperledger
895
+ # Fabric.
896
+ #
778
897
  # @option params [required, String] :node_id
779
898
  # The unique identifier of the node.
780
899
  #
@@ -786,7 +905,7 @@ module Aws::ManagedBlockchain
786
905
  #
787
906
  # resp = client.get_node({
788
907
  # network_id: "ResourceIdString", # required
789
- # member_id: "ResourceIdString", # required
908
+ # member_id: "ResourceIdString",
790
909
  # node_id: "ResourceIdString", # required
791
910
  # })
792
911
  #
@@ -799,11 +918,16 @@ module Aws::ManagedBlockchain
799
918
  # resp.node.availability_zone #=> String
800
919
  # resp.node.framework_attributes.fabric.peer_endpoint #=> String
801
920
  # resp.node.framework_attributes.fabric.peer_event_endpoint #=> String
921
+ # resp.node.framework_attributes.ethereum.http_endpoint #=> String
922
+ # resp.node.framework_attributes.ethereum.web_socket_endpoint #=> String
802
923
  # resp.node.log_publishing_configuration.fabric.chaincode_logs.cloudwatch.enabled #=> Boolean
803
924
  # resp.node.log_publishing_configuration.fabric.peer_logs.cloudwatch.enabled #=> Boolean
804
925
  # resp.node.state_db #=> String, one of "LevelDB", "CouchDB"
805
- # resp.node.status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED", "FAILED"
926
+ # resp.node.status #=> String, one of "CREATING", "AVAILABLE", "UNHEALTHY", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED", "FAILED"
806
927
  # resp.node.creation_date #=> Time
928
+ # resp.node.tags #=> Hash
929
+ # resp.node.tags["TagKey"] #=> String
930
+ # resp.node.arn #=> String
807
931
  #
808
932
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNode AWS API Documentation
809
933
  #
@@ -816,6 +940,8 @@ module Aws::ManagedBlockchain
816
940
 
817
941
  # Returns detailed information about a proposal.
818
942
  #
943
+ # Applies only to Hyperledger Fabric.
944
+ #
819
945
  # @option params [required, String] :network_id
820
946
  # The unique identifier of the network for which the proposal is made.
821
947
  #
@@ -850,6 +976,9 @@ module Aws::ManagedBlockchain
850
976
  # resp.proposal.yes_vote_count #=> Integer
851
977
  # resp.proposal.no_vote_count #=> Integer
852
978
  # resp.proposal.outstanding_vote_count #=> Integer
979
+ # resp.proposal.tags #=> Hash
980
+ # resp.proposal.tags["TagKey"] #=> String
981
+ # resp.proposal.arn #=> String
853
982
  #
854
983
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetProposal AWS API Documentation
855
984
  #
@@ -860,7 +989,9 @@ module Aws::ManagedBlockchain
860
989
  req.send_request(options)
861
990
  end
862
991
 
863
- # Returns a listing of all invitations for the current AWS account.
992
+ # Returns a list of all invitations for the current AWS account.
993
+ #
994
+ # Applies only to Hyperledger Fabric.
864
995
  #
865
996
  # @option params [Integer] :max_results
866
997
  # The maximum number of invitations to return.
@@ -893,10 +1024,12 @@ module Aws::ManagedBlockchain
893
1024
  # resp.invitations[0].network_summary.id #=> String
894
1025
  # resp.invitations[0].network_summary.name #=> String
895
1026
  # resp.invitations[0].network_summary.description #=> String
896
- # resp.invitations[0].network_summary.framework #=> String, one of "HYPERLEDGER_FABRIC"
1027
+ # resp.invitations[0].network_summary.framework #=> String, one of "HYPERLEDGER_FABRIC", "ETHEREUM"
897
1028
  # resp.invitations[0].network_summary.framework_version #=> String
898
1029
  # resp.invitations[0].network_summary.status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "DELETING", "DELETED"
899
1030
  # resp.invitations[0].network_summary.creation_date #=> Time
1031
+ # resp.invitations[0].network_summary.arn #=> String
1032
+ # resp.invitations[0].arn #=> String
900
1033
  # resp.next_token #=> String
901
1034
  #
902
1035
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListInvitations AWS API Documentation
@@ -908,9 +1041,11 @@ module Aws::ManagedBlockchain
908
1041
  req.send_request(options)
909
1042
  end
910
1043
 
911
- # Returns a listing of the members in a network and properties of their
1044
+ # Returns a list of the members in a network and properties of their
912
1045
  # configurations.
913
1046
  #
1047
+ # Applies only to Hyperledger Fabric.
1048
+ #
914
1049
  # @option params [required, String] :network_id
915
1050
  # The unique identifier of the network for which to list members.
916
1051
  #
@@ -960,6 +1095,7 @@ module Aws::ManagedBlockchain
960
1095
  # resp.members[0].status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED"
961
1096
  # resp.members[0].creation_date #=> Time
962
1097
  # resp.members[0].is_owned #=> Boolean
1098
+ # resp.members[0].arn #=> String
963
1099
  # resp.next_token #=> String
964
1100
  #
965
1101
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListMembers AWS API Documentation
@@ -972,7 +1108,9 @@ module Aws::ManagedBlockchain
972
1108
  end
973
1109
 
974
1110
  # Returns information about the networks in which the current AWS
975
- # account has members.
1111
+ # account participates.
1112
+ #
1113
+ # Applies to Hyperledger Fabric and Ethereum.
976
1114
  #
977
1115
  # @option params [String] :name
978
1116
  # The name of the network.
@@ -985,6 +1123,8 @@ module Aws::ManagedBlockchain
985
1123
  # An optional status specifier. If provided, only networks currently in
986
1124
  # this status are listed.
987
1125
  #
1126
+ # Applies only to Hyperledger Fabric.
1127
+ #
988
1128
  # @option params [Integer] :max_results
989
1129
  # The maximum number of networks to list.
990
1130
  #
@@ -1003,7 +1143,7 @@ module Aws::ManagedBlockchain
1003
1143
  #
1004
1144
  # resp = client.list_networks({
1005
1145
  # name: "String",
1006
- # framework: "HYPERLEDGER_FABRIC", # accepts HYPERLEDGER_FABRIC
1146
+ # framework: "HYPERLEDGER_FABRIC", # accepts HYPERLEDGER_FABRIC, ETHEREUM
1007
1147
  # status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, DELETING, DELETED
1008
1148
  # max_results: 1,
1009
1149
  # next_token: "PaginationToken",
@@ -1015,10 +1155,11 @@ module Aws::ManagedBlockchain
1015
1155
  # resp.networks[0].id #=> String
1016
1156
  # resp.networks[0].name #=> String
1017
1157
  # resp.networks[0].description #=> String
1018
- # resp.networks[0].framework #=> String, one of "HYPERLEDGER_FABRIC"
1158
+ # resp.networks[0].framework #=> String, one of "HYPERLEDGER_FABRIC", "ETHEREUM"
1019
1159
  # resp.networks[0].framework_version #=> String
1020
1160
  # resp.networks[0].status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "DELETING", "DELETED"
1021
1161
  # resp.networks[0].creation_date #=> Time
1162
+ # resp.networks[0].arn #=> String
1022
1163
  # resp.next_token #=> String
1023
1164
  #
1024
1165
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListNetworks AWS API Documentation
@@ -1032,12 +1173,17 @@ module Aws::ManagedBlockchain
1032
1173
 
1033
1174
  # Returns information about the nodes within a network.
1034
1175
  #
1176
+ # Applies to Hyperledger Fabric and Ethereum.
1177
+ #
1035
1178
  # @option params [required, String] :network_id
1036
1179
  # The unique identifier of the network for which to list nodes.
1037
1180
  #
1038
- # @option params [required, String] :member_id
1181
+ # @option params [String] :member_id
1039
1182
  # The unique identifier of the member who owns the nodes to list.
1040
1183
  #
1184
+ # Applies only to Hyperledger Fabric and is required for Hyperledger
1185
+ # Fabric.
1186
+ #
1041
1187
  # @option params [String] :status
1042
1188
  # An optional status specifier. If provided, only nodes currently in
1043
1189
  # this status are listed.
@@ -1060,8 +1206,8 @@ module Aws::ManagedBlockchain
1060
1206
  #
1061
1207
  # resp = client.list_nodes({
1062
1208
  # network_id: "ResourceIdString", # required
1063
- # member_id: "ResourceIdString", # required
1064
- # status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, UPDATING, DELETING, DELETED, FAILED
1209
+ # member_id: "ResourceIdString",
1210
+ # status: "CREATING", # accepts CREATING, AVAILABLE, UNHEALTHY, CREATE_FAILED, UPDATING, DELETING, DELETED, FAILED
1065
1211
  # max_results: 1,
1066
1212
  # next_token: "PaginationToken",
1067
1213
  # })
@@ -1070,10 +1216,11 @@ module Aws::ManagedBlockchain
1070
1216
  #
1071
1217
  # resp.nodes #=> Array
1072
1218
  # resp.nodes[0].id #=> String
1073
- # resp.nodes[0].status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED", "FAILED"
1219
+ # resp.nodes[0].status #=> String, one of "CREATING", "AVAILABLE", "UNHEALTHY", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED", "FAILED"
1074
1220
  # resp.nodes[0].creation_date #=> Time
1075
1221
  # resp.nodes[0].availability_zone #=> String
1076
1222
  # resp.nodes[0].instance_type #=> String
1223
+ # resp.nodes[0].arn #=> String
1077
1224
  # resp.next_token #=> String
1078
1225
  #
1079
1226
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListNodes AWS API Documentation
@@ -1085,10 +1232,12 @@ module Aws::ManagedBlockchain
1085
1232
  req.send_request(options)
1086
1233
  end
1087
1234
 
1088
- # Returns the listing of votes for a specified proposal, including the
1235
+ # Returns the list of votes for a specified proposal, including the
1089
1236
  # value of each vote and the unique identifier of the member that cast
1090
1237
  # the vote.
1091
1238
  #
1239
+ # Applies only to Hyperledger Fabric.
1240
+ #
1092
1241
  # @option params [required, String] :network_id
1093
1242
  # The unique identifier of the network.
1094
1243
  #
@@ -1135,7 +1284,9 @@ module Aws::ManagedBlockchain
1135
1284
  req.send_request(options)
1136
1285
  end
1137
1286
 
1138
- # Returns a listing of proposals for the network.
1287
+ # Returns a list of proposals for the network.
1288
+ #
1289
+ # Applies only to Hyperledger Fabric.
1139
1290
  #
1140
1291
  # @option params [required, String] :network_id
1141
1292
  # The unique identifier of the network.
@@ -1172,6 +1323,7 @@ module Aws::ManagedBlockchain
1172
1323
  # resp.proposals[0].status #=> String, one of "IN_PROGRESS", "APPROVED", "REJECTED", "EXPIRED", "ACTION_FAILED"
1173
1324
  # resp.proposals[0].creation_date #=> Time
1174
1325
  # resp.proposals[0].expiration_date #=> Time
1326
+ # resp.proposals[0].arn #=> String
1175
1327
  # resp.next_token #=> String
1176
1328
  #
1177
1329
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListProposals AWS API Documentation
@@ -1183,10 +1335,58 @@ module Aws::ManagedBlockchain
1183
1335
  req.send_request(options)
1184
1336
  end
1185
1337
 
1338
+ # Returns a list of tags for the specified resource. Each tag consists
1339
+ # of a key and optional value.
1340
+ #
1341
+ # For more information about tags, see [Tagging Resources][1] in the
1342
+ # *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
1343
+ # Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
1344
+ # Developer Guide*.
1345
+ #
1346
+ #
1347
+ #
1348
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
1349
+ # [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
1350
+ #
1351
+ # @option params [required, String] :resource_arn
1352
+ # The Amazon Resource Name (ARN) of the resource. For more information
1353
+ # about ARNs and their format, see [Amazon Resource Names (ARNs)][1] in
1354
+ # the *AWS General Reference*.
1355
+ #
1356
+ #
1357
+ #
1358
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1359
+ #
1360
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1361
+ #
1362
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Hash&lt;String,String&gt;
1363
+ #
1364
+ # @example Request syntax with placeholder values
1365
+ #
1366
+ # resp = client.list_tags_for_resource({
1367
+ # resource_arn: "ArnString", # required
1368
+ # })
1369
+ #
1370
+ # @example Response structure
1371
+ #
1372
+ # resp.tags #=> Hash
1373
+ # resp.tags["TagKey"] #=> String
1374
+ #
1375
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListTagsForResource AWS API Documentation
1376
+ #
1377
+ # @overload list_tags_for_resource(params = {})
1378
+ # @param [Hash] params ({})
1379
+ def list_tags_for_resource(params = {}, options = {})
1380
+ req = build_request(:list_tags_for_resource, params)
1381
+ req.send_request(options)
1382
+ end
1383
+
1186
1384
  # Rejects an invitation to join a network. This action can be called by
1187
1385
  # a principal in an AWS account that has received an invitation to
1188
1386
  # create a member and join a network.
1189
1387
  #
1388
+ # Applies only to Hyperledger Fabric.
1389
+ #
1190
1390
  # @option params [required, String] :invitation_id
1191
1391
  # The unique identifier of the invitation to reject.
1192
1392
  #
@@ -1207,14 +1407,114 @@ module Aws::ManagedBlockchain
1207
1407
  req.send_request(options)
1208
1408
  end
1209
1409
 
1410
+ # Adds or overwrites the specified tags for the specified Amazon Managed
1411
+ # Blockchain resource. Each tag consists of a key and optional value.
1412
+ #
1413
+ # When you specify a tag key that already exists, the tag value is
1414
+ # overwritten with the new value. Use `UntagResource` to remove tag
1415
+ # keys.
1416
+ #
1417
+ # A resource can have up to 50 tags. If you try to create more than 50
1418
+ # tags for a resource, your request fails and returns an error.
1419
+ #
1420
+ # For more information about tags, see [Tagging Resources][1] in the
1421
+ # *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
1422
+ # Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
1423
+ # Developer Guide*.
1424
+ #
1425
+ #
1426
+ #
1427
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
1428
+ # [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
1429
+ #
1430
+ # @option params [required, String] :resource_arn
1431
+ # The Amazon Resource Name (ARN) of the resource. For more information
1432
+ # about ARNs and their format, see [Amazon Resource Names (ARNs)][1] in
1433
+ # the *AWS General Reference*.
1434
+ #
1435
+ #
1436
+ #
1437
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1438
+ #
1439
+ # @option params [required, Hash<String,String>] :tags
1440
+ # The tags to assign to the specified resource. Tag values can be empty,
1441
+ # for example, `"MyTagKey" : ""`. You can specify multiple key-value
1442
+ # pairs in a single request, with an overall maximum of 50 tags added to
1443
+ # each resource.
1444
+ #
1445
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1446
+ #
1447
+ # @example Request syntax with placeholder values
1448
+ #
1449
+ # resp = client.tag_resource({
1450
+ # resource_arn: "ArnString", # required
1451
+ # tags: { # required
1452
+ # "TagKey" => "TagValue",
1453
+ # },
1454
+ # })
1455
+ #
1456
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/TagResource AWS API Documentation
1457
+ #
1458
+ # @overload tag_resource(params = {})
1459
+ # @param [Hash] params ({})
1460
+ def tag_resource(params = {}, options = {})
1461
+ req = build_request(:tag_resource, params)
1462
+ req.send_request(options)
1463
+ end
1464
+
1465
+ # Removes the specified tags from the Amazon Managed Blockchain
1466
+ # resource.
1467
+ #
1468
+ # For more information about tags, see [Tagging Resources][1] in the
1469
+ # *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
1470
+ # Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
1471
+ # Developer Guide*.
1472
+ #
1473
+ #
1474
+ #
1475
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
1476
+ # [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
1477
+ #
1478
+ # @option params [required, String] :resource_arn
1479
+ # The Amazon Resource Name (ARN) of the resource. For more information
1480
+ # about ARNs and their format, see [Amazon Resource Names (ARNs)][1] in
1481
+ # the *AWS General Reference*.
1482
+ #
1483
+ #
1484
+ #
1485
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1486
+ #
1487
+ # @option params [required, Array<String>] :tag_keys
1488
+ # The tag keys.
1489
+ #
1490
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1491
+ #
1492
+ # @example Request syntax with placeholder values
1493
+ #
1494
+ # resp = client.untag_resource({
1495
+ # resource_arn: "ArnString", # required
1496
+ # tag_keys: ["TagKey"], # required
1497
+ # })
1498
+ #
1499
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UntagResource AWS API Documentation
1500
+ #
1501
+ # @overload untag_resource(params = {})
1502
+ # @param [Hash] params ({})
1503
+ def untag_resource(params = {}, options = {})
1504
+ req = build_request(:untag_resource, params)
1505
+ req.send_request(options)
1506
+ end
1507
+
1210
1508
  # Updates a member configuration with new parameters.
1211
1509
  #
1510
+ # Applies only to Hyperledger Fabric.
1511
+ #
1212
1512
  # @option params [required, String] :network_id
1213
- # The unique ID of the Managed Blockchain network to which the member
1214
- # belongs.
1513
+ # The unique identifier of the Managed Blockchain network to which the
1514
+ # member belongs.
1215
1515
  #
1216
1516
  # @option params [required, String] :member_id
1217
- # The unique ID of the member.
1517
+ # The unique identifier of the member.
1218
1518
  #
1219
1519
  # @option params [Types::MemberLogPublishingConfiguration] :log_publishing_configuration
1220
1520
  # Configuration properties for publishing to Amazon CloudWatch Logs.
@@ -1248,15 +1548,18 @@ module Aws::ManagedBlockchain
1248
1548
 
1249
1549
  # Updates a node configuration with new parameters.
1250
1550
  #
1551
+ # Applies only to Hyperledger Fabric.
1552
+ #
1251
1553
  # @option params [required, String] :network_id
1252
- # The unique ID of the Managed Blockchain network to which the node
1253
- # belongs.
1554
+ # The unique identifier of the network that the node is on.
1254
1555
  #
1255
- # @option params [required, String] :member_id
1256
- # The unique ID of the member that owns the node.
1556
+ # @option params [String] :member_id
1557
+ # The unique identifier of the member that owns the node.
1558
+ #
1559
+ # Applies only to Hyperledger Fabric.
1257
1560
  #
1258
1561
  # @option params [required, String] :node_id
1259
- # The unique ID of the node.
1562
+ # The unique identifier of the node.
1260
1563
  #
1261
1564
  # @option params [Types::NodeLogPublishingConfiguration] :log_publishing_configuration
1262
1565
  # Configuration properties for publishing to Amazon CloudWatch Logs.
@@ -1267,7 +1570,7 @@ module Aws::ManagedBlockchain
1267
1570
  #
1268
1571
  # resp = client.update_node({
1269
1572
  # network_id: "ResourceIdString", # required
1270
- # member_id: "ResourceIdString", # required
1573
+ # member_id: "ResourceIdString",
1271
1574
  # node_id: "ResourceIdString", # required
1272
1575
  # log_publishing_configuration: {
1273
1576
  # fabric: {
@@ -1298,6 +1601,8 @@ module Aws::ManagedBlockchain
1298
1601
  # member to vote as, specified by `VoterMemberId`, must be in the same
1299
1602
  # AWS account as the principal that calls the action.
1300
1603
  #
1604
+ # Applies only to Hyperledger Fabric.
1605
+ #
1301
1606
  # @option params [required, String] :network_id
1302
1607
  # The unique identifier of the network.
1303
1608
  #
@@ -1343,7 +1648,7 @@ module Aws::ManagedBlockchain
1343
1648
  params: params,
1344
1649
  config: config)
1345
1650
  context[:gem_name] = 'aws-sdk-managedblockchain'
1346
- context[:gem_version] = '1.16.0'
1651
+ context[:gem_version] = '1.21.0'
1347
1652
  Seahorse::Client::Request.new(handlers, context)
1348
1653
  end
1349
1654