aws-sdk-managedblockchain 1.13.0 → 1.19.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 44766fe13708635539460e640696cc62be7a9d044593b83c66d4486f29bd5b1e
4
- data.tar.gz: b659c0a97d01513ed7b66b90478c61d08d326a2230d9dd6fb139459dd4eed334
3
+ metadata.gz: d156426f9bed9b7f5596d4374a1d4efe70851b448c5039e3c009f96e62bb3f69
4
+ data.tar.gz: bf2c96746dade4adb51a90944c9c973f0f6e88ec68e6b3df9b01c3dcce9cc8d2
5
5
  SHA512:
6
- metadata.gz: 43884aa12159a7019e0202770b585d647a35874e8f98bef191b5b2d1857cd0fd531fb6165b0df398e532581cb8650f5d4a3a756354d4d4a7fe87684c7891a75b
7
- data.tar.gz: 7ccc56aeb15cc9155edcdf58f98aef27f901cd62069ad568733d52624a4a435ae41cec3c0e92cdf1d385d0f30473c2500d20b19733f671512b1bb621a155a255
6
+ metadata.gz: 72f23fbce8122ddf15e47353cdd8d160843e88632cda2196b6441a3339ab64ad71d405c269e8274e577f930adec8cb51ec595a984dc875940733b80338d9cac1
7
+ data.tar.gz: 8533b4f30b26b9329a1b702ede396a08de1836c0e330bf9c7a76b25b9eb6118e3011720d9f9deccd5773c542bd9dd3e19bc65812379ef424feb44cc89be59c67
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-managedblockchain/customizations'
44
45
  #
45
46
  # See {Errors} for more information.
46
47
  #
47
- # @service
48
+ # @!group service
48
49
  module Aws::ManagedBlockchain
49
50
 
50
- GEM_VERSION = '1.13.0'
51
+ GEM_VERSION = '1.19.0'
51
52
 
52
53
  end
@@ -85,13 +85,28 @@ module Aws::ManagedBlockchain
85
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
86
  # credentials.
87
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
88
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
89
103
  # from an EC2 IMDS on an EC2 instance.
90
104
  #
91
- # * `Aws::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
95
110
  #
96
111
  # When `:credentials` are not configured directly, the following
97
112
  # locations will be searched for credentials:
@@ -101,10 +116,10 @@ module Aws::ManagedBlockchain
101
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
102
117
  # * `~/.aws/credentials`
103
118
  # * `~/.aws/config`
104
- # * EC2 IMDS instance profile - When used by default, the timeouts are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
107
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
108
123
  #
109
124
  # @option options [required, String] :region
110
125
  # The AWS region to connect to. The configured `:region` is
@@ -314,6 +329,8 @@ module Aws::ManagedBlockchain
314
329
 
315
330
  # Creates a member within a Managed Blockchain network.
316
331
  #
332
+ # Applies only to Hyperledger Fabric.
333
+ #
317
334
  # @option params [required, String] :client_request_token
318
335
  # A unique, case-sensitive identifier that you provide to ensure the
319
336
  # idempotency of the operation. An idempotent operation completes no
@@ -362,6 +379,9 @@ module Aws::ManagedBlockchain
362
379
  # },
363
380
  # },
364
381
  # },
382
+ # tags: {
383
+ # "TagKey" => "TagValue",
384
+ # },
365
385
  # },
366
386
  # })
367
387
  #
@@ -380,6 +400,8 @@ module Aws::ManagedBlockchain
380
400
 
381
401
  # Creates a new blockchain network using Amazon Managed Blockchain.
382
402
  #
403
+ # Applies only to Hyperledger Fabric.
404
+ #
383
405
  # @option params [required, String] :client_request_token
384
406
  # A unique, case-sensitive identifier that you provide to ensure the
385
407
  # idempotency of the operation. An idempotent operation completes no
@@ -413,6 +435,24 @@ module Aws::ManagedBlockchain
413
435
  # @option params [required, Types::MemberConfiguration] :member_configuration
414
436
  # Configuration properties for the first member within the network.
415
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
+ # 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
+ #
416
456
  # @return [Types::CreateNetworkOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
417
457
  #
418
458
  # * {Types::CreateNetworkOutput#network_id #network_id} => String
@@ -424,7 +464,7 @@ module Aws::ManagedBlockchain
424
464
  # client_request_token: "ClientRequestTokenString", # required
425
465
  # name: "NameString", # required
426
466
  # description: "DescriptionString",
427
- # framework: "HYPERLEDGER_FABRIC", # required, accepts HYPERLEDGER_FABRIC
467
+ # framework: "HYPERLEDGER_FABRIC", # required, accepts HYPERLEDGER_FABRIC, ETHEREUM
428
468
  # framework_version: "FrameworkVersionString", # required
429
469
  # framework_configuration: {
430
470
  # fabric: {
@@ -456,6 +496,12 @@ module Aws::ManagedBlockchain
456
496
  # },
457
497
  # },
458
498
  # },
499
+ # tags: {
500
+ # "TagKey" => "TagValue",
501
+ # },
502
+ # },
503
+ # tags: {
504
+ # "TagKey" => "TagValue",
459
505
  # },
460
506
  # })
461
507
  #
@@ -473,7 +519,12 @@ module Aws::ManagedBlockchain
473
519
  req.send_request(options)
474
520
  end
475
521
 
476
- # Creates a peer node in a member.
522
+ # Creates a node on the specified blockchain network.
523
+ #
524
+ # Applies to Hyperledger Fabric and Ethereum.
525
+ #
526
+ # Ethereum on Managed Blockchain is in preview release and is subject to
527
+ # change.
477
528
  #
478
529
  # @option params [required, String] :client_request_token
479
530
  # A unique, case-sensitive identifier that you provide to ensure the
@@ -486,14 +537,42 @@ module Aws::ManagedBlockchain
486
537
  # not need to pass this option.**
487
538
  #
488
539
  # @option params [required, String] :network_id
489
- # The unique identifier of the network in which this node runs.
540
+ # The unique identifier of the network for the node.
490
541
  #
491
- # @option params [required, String] :member_id
542
+ # Ethereum public networks have the following `NetworkId`s:
543
+ #
544
+ # * `n-ethereum-mainnet`
545
+ #
546
+ # * `n-ethereum-rinkeby`
547
+ #
548
+ # * `n-ethereum-ropsten`
549
+ #
550
+ # @option params [String] :member_id
492
551
  # The unique identifier of the member that owns this node.
493
552
  #
553
+ # Applies only to Hyperledger Fabric.
554
+ #
494
555
  # @option params [required, Types::NodeConfiguration] :node_configuration
495
556
  # The properties of a node configuration.
496
557
  #
558
+ # @option params [Hash<String,String>] :tags
559
+ # Tags to assign to the node. Each tag consists of a key and optional
560
+ # value.
561
+ #
562
+ # When specifying tags during creation, you can specify multiple
563
+ # key-value pairs in a single request, with an overall maximum of 50
564
+ # added to each resource.
565
+ #
566
+ # For more information about tags, see [Tagging Resources][1] in the
567
+ # *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
568
+ # Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
569
+ # Developer Guide*.
570
+ #
571
+ #
572
+ #
573
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
574
+ # [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
575
+ #
497
576
  # @return [Types::CreateNodeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
498
577
  #
499
578
  # * {Types::CreateNodeOutput#node_id #node_id} => String
@@ -503,10 +582,10 @@ module Aws::ManagedBlockchain
503
582
  # resp = client.create_node({
504
583
  # client_request_token: "ClientRequestTokenString", # required
505
584
  # network_id: "ResourceIdString", # required
506
- # member_id: "ResourceIdString", # required
585
+ # member_id: "ResourceIdString",
507
586
  # node_configuration: { # required
508
587
  # instance_type: "InstanceTypeString", # required
509
- # availability_zone: "AvailabilityZoneString", # required
588
+ # availability_zone: "AvailabilityZoneString",
510
589
  # log_publishing_configuration: {
511
590
  # fabric: {
512
591
  # chaincode_logs: {
@@ -521,6 +600,10 @@ module Aws::ManagedBlockchain
521
600
  # },
522
601
  # },
523
602
  # },
603
+ # state_db: "LevelDB", # accepts LevelDB, CouchDB
604
+ # },
605
+ # tags: {
606
+ # "TagKey" => "TagValue",
524
607
  # },
525
608
  # })
526
609
  #
@@ -541,6 +624,8 @@ module Aws::ManagedBlockchain
541
624
  # the network can vote on, for example, a proposal to add a new member
542
625
  # to the network. Any member can create a proposal.
543
626
  #
627
+ # Applies only to Hyperledger Fabric.
628
+ #
544
629
  # @option params [required, String] :client_request_token
545
630
  # A unique, case-sensitive identifier that you provide to ensure the
546
631
  # idempotency of the operation. An idempotent operation completes no
@@ -569,6 +654,25 @@ module Aws::ManagedBlockchain
569
654
  # A description for the proposal that is visible to voting members, for
570
655
  # example, "Proposal to add Example Corp. as member."
571
656
  #
657
+ # @option params [Hash<String,String>] :tags
658
+ # Tags to assign to the proposal. Each tag consists of a key and
659
+ # optional value.
660
+ #
661
+ # When specifying tags during creation, you can specify multiple
662
+ # key-value pairs in a single request, with an overall maximum of 50
663
+ # added to each resource. If the proposal is for a network invitation,
664
+ # the invitation inherits the tags added to the proposal.
665
+ #
666
+ # For more information about tags, see [Tagging Resources][1] in the
667
+ # *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
668
+ # Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
669
+ # Developer Guide*.
670
+ #
671
+ #
672
+ #
673
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
674
+ # [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
675
+ #
572
676
  # @return [Types::CreateProposalOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
573
677
  #
574
678
  # * {Types::CreateProposalOutput#proposal_id #proposal_id} => String
@@ -592,6 +696,9 @@ module Aws::ManagedBlockchain
592
696
  # ],
593
697
  # },
594
698
  # description: "DescriptionString",
699
+ # tags: {
700
+ # "TagKey" => "TagValue",
701
+ # },
595
702
  # })
596
703
  #
597
704
  # @example Response structure
@@ -616,6 +723,8 @@ module Aws::ManagedBlockchain
616
723
  # member in a network specified by the last AWS account, the network is
617
724
  # deleted also.
618
725
  #
726
+ # Applies only to Hyperledger Fabric.
727
+ #
619
728
  # @option params [required, String] :network_id
620
729
  # The unique identifier of the network from which the member is removed.
621
730
  #
@@ -640,15 +749,28 @@ module Aws::ManagedBlockchain
640
749
  req.send_request(options)
641
750
  end
642
751
 
643
- # Deletes a peer node from a member that your AWS account owns. All data
644
- # on the node is lost and cannot be recovered.
752
+ # Deletes a node that your AWS account owns. All data on the node is
753
+ # lost and cannot be recovered.
754
+ #
755
+ # Applies to Hyperledger Fabric and Ethereum.
645
756
  #
646
757
  # @option params [required, String] :network_id
647
- # The unique identifier of the network that the node belongs to.
758
+ # The unique identifier of the network that the node is on.
648
759
  #
649
- # @option params [required, String] :member_id
760
+ # Ethereum public networks have the following `NetworkId`s:
761
+ #
762
+ # * `n-ethereum-mainnet`
763
+ #
764
+ # * `n-ethereum-rinkeby`
765
+ #
766
+ # * `n-ethereum-ropsten`
767
+ #
768
+ # @option params [String] :member_id
650
769
  # The unique identifier of the member that owns this node.
651
770
  #
771
+ # Applies only to Hyperledger Fabric and is required for Hyperledger
772
+ # Fabric.
773
+ #
652
774
  # @option params [required, String] :node_id
653
775
  # The unique identifier of the node.
654
776
  #
@@ -658,7 +780,7 @@ module Aws::ManagedBlockchain
658
780
  #
659
781
  # resp = client.delete_node({
660
782
  # network_id: "ResourceIdString", # required
661
- # member_id: "ResourceIdString", # required
783
+ # member_id: "ResourceIdString",
662
784
  # node_id: "ResourceIdString", # required
663
785
  # })
664
786
  #
@@ -673,6 +795,8 @@ module Aws::ManagedBlockchain
673
795
 
674
796
  # Returns detailed information about a member.
675
797
  #
798
+ # Applies only to Hyperledger Fabric.
799
+ #
676
800
  # @option params [required, String] :network_id
677
801
  # The unique identifier of the network to which the member belongs.
678
802
  #
@@ -701,6 +825,9 @@ module Aws::ManagedBlockchain
701
825
  # resp.member.log_publishing_configuration.fabric.ca_logs.cloudwatch.enabled #=> Boolean
702
826
  # resp.member.status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED"
703
827
  # resp.member.creation_date #=> Time
828
+ # resp.member.tags #=> Hash
829
+ # resp.member.tags["TagKey"] #=> String
830
+ # resp.member.arn #=> String
704
831
  #
705
832
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetMember AWS API Documentation
706
833
  #
@@ -713,6 +840,8 @@ module Aws::ManagedBlockchain
713
840
 
714
841
  # Returns detailed information about a network.
715
842
  #
843
+ # Applies to Hyperledger Fabric and Ethereum.
844
+ #
716
845
  # @option params [required, String] :network_id
717
846
  # The unique identifier of the network to get information about.
718
847
  #
@@ -731,16 +860,20 @@ module Aws::ManagedBlockchain
731
860
  # resp.network.id #=> String
732
861
  # resp.network.name #=> String
733
862
  # resp.network.description #=> String
734
- # resp.network.framework #=> String, one of "HYPERLEDGER_FABRIC"
863
+ # resp.network.framework #=> String, one of "HYPERLEDGER_FABRIC", "ETHEREUM"
735
864
  # resp.network.framework_version #=> String
736
865
  # resp.network.framework_attributes.fabric.ordering_service_endpoint #=> String
737
866
  # resp.network.framework_attributes.fabric.edition #=> String, one of "STARTER", "STANDARD"
867
+ # resp.network.framework_attributes.ethereum.chain_id #=> String
738
868
  # resp.network.vpc_endpoint_service_name #=> String
739
869
  # resp.network.voting_policy.approval_threshold_policy.threshold_percentage #=> Integer
740
870
  # resp.network.voting_policy.approval_threshold_policy.proposal_duration_in_hours #=> Integer
741
871
  # resp.network.voting_policy.approval_threshold_policy.threshold_comparator #=> String, one of "GREATER_THAN", "GREATER_THAN_OR_EQUAL_TO"
742
872
  # resp.network.status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "DELETING", "DELETED"
743
873
  # resp.network.creation_date #=> Time
874
+ # resp.network.tags #=> Hash
875
+ # resp.network.tags["TagKey"] #=> String
876
+ # resp.network.arn #=> String
744
877
  #
745
878
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNetwork AWS API Documentation
746
879
  #
@@ -751,14 +884,19 @@ module Aws::ManagedBlockchain
751
884
  req.send_request(options)
752
885
  end
753
886
 
754
- # Returns detailed information about a peer node.
887
+ # Returns detailed information about a node.
888
+ #
889
+ # Applies to Hyperledger Fabric and Ethereum.
755
890
  #
756
891
  # @option params [required, String] :network_id
757
- # The unique identifier of the network to which the node belongs.
892
+ # The unique identifier of the network that the node is on.
758
893
  #
759
- # @option params [required, String] :member_id
894
+ # @option params [String] :member_id
760
895
  # The unique identifier of the member that owns the node.
761
896
  #
897
+ # Applies only to Hyperledger Fabric and is required for Hyperledger
898
+ # Fabric.
899
+ #
762
900
  # @option params [required, String] :node_id
763
901
  # The unique identifier of the node.
764
902
  #
@@ -770,7 +908,7 @@ module Aws::ManagedBlockchain
770
908
  #
771
909
  # resp = client.get_node({
772
910
  # network_id: "ResourceIdString", # required
773
- # member_id: "ResourceIdString", # required
911
+ # member_id: "ResourceIdString",
774
912
  # node_id: "ResourceIdString", # required
775
913
  # })
776
914
  #
@@ -783,10 +921,16 @@ module Aws::ManagedBlockchain
783
921
  # resp.node.availability_zone #=> String
784
922
  # resp.node.framework_attributes.fabric.peer_endpoint #=> String
785
923
  # resp.node.framework_attributes.fabric.peer_event_endpoint #=> String
924
+ # resp.node.framework_attributes.ethereum.http_endpoint #=> String
925
+ # resp.node.framework_attributes.ethereum.web_socket_endpoint #=> String
786
926
  # resp.node.log_publishing_configuration.fabric.chaincode_logs.cloudwatch.enabled #=> Boolean
787
927
  # resp.node.log_publishing_configuration.fabric.peer_logs.cloudwatch.enabled #=> Boolean
788
- # resp.node.status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED", "FAILED"
928
+ # resp.node.state_db #=> String, one of "LevelDB", "CouchDB"
929
+ # resp.node.status #=> String, one of "CREATING", "AVAILABLE", "UNHEALTHY", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED", "FAILED"
789
930
  # resp.node.creation_date #=> Time
931
+ # resp.node.tags #=> Hash
932
+ # resp.node.tags["TagKey"] #=> String
933
+ # resp.node.arn #=> String
790
934
  #
791
935
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNode AWS API Documentation
792
936
  #
@@ -799,6 +943,8 @@ module Aws::ManagedBlockchain
799
943
 
800
944
  # Returns detailed information about a proposal.
801
945
  #
946
+ # Applies only to Hyperledger Fabric.
947
+ #
802
948
  # @option params [required, String] :network_id
803
949
  # The unique identifier of the network for which the proposal is made.
804
950
  #
@@ -833,6 +979,9 @@ module Aws::ManagedBlockchain
833
979
  # resp.proposal.yes_vote_count #=> Integer
834
980
  # resp.proposal.no_vote_count #=> Integer
835
981
  # resp.proposal.outstanding_vote_count #=> Integer
982
+ # resp.proposal.tags #=> Hash
983
+ # resp.proposal.tags["TagKey"] #=> String
984
+ # resp.proposal.arn #=> String
836
985
  #
837
986
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetProposal AWS API Documentation
838
987
  #
@@ -843,7 +992,9 @@ module Aws::ManagedBlockchain
843
992
  req.send_request(options)
844
993
  end
845
994
 
846
- # Returns a listing of all invitations made on the specified network.
995
+ # Returns a list of all invitations for the current AWS account.
996
+ #
997
+ # Applies only to Hyperledger Fabric.
847
998
  #
848
999
  # @option params [Integer] :max_results
849
1000
  # The maximum number of invitations to return.
@@ -876,10 +1027,12 @@ module Aws::ManagedBlockchain
876
1027
  # resp.invitations[0].network_summary.id #=> String
877
1028
  # resp.invitations[0].network_summary.name #=> String
878
1029
  # resp.invitations[0].network_summary.description #=> String
879
- # resp.invitations[0].network_summary.framework #=> String, one of "HYPERLEDGER_FABRIC"
1030
+ # resp.invitations[0].network_summary.framework #=> String, one of "HYPERLEDGER_FABRIC", "ETHEREUM"
880
1031
  # resp.invitations[0].network_summary.framework_version #=> String
881
1032
  # resp.invitations[0].network_summary.status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "DELETING", "DELETED"
882
1033
  # resp.invitations[0].network_summary.creation_date #=> Time
1034
+ # resp.invitations[0].network_summary.arn #=> String
1035
+ # resp.invitations[0].arn #=> String
883
1036
  # resp.next_token #=> String
884
1037
  #
885
1038
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListInvitations AWS API Documentation
@@ -891,9 +1044,11 @@ module Aws::ManagedBlockchain
891
1044
  req.send_request(options)
892
1045
  end
893
1046
 
894
- # Returns a listing of the members in a network and properties of their
1047
+ # Returns a list of the members in a network and properties of their
895
1048
  # configurations.
896
1049
  #
1050
+ # Applies only to Hyperledger Fabric.
1051
+ #
897
1052
  # @option params [required, String] :network_id
898
1053
  # The unique identifier of the network for which to list members.
899
1054
  #
@@ -943,6 +1098,7 @@ module Aws::ManagedBlockchain
943
1098
  # resp.members[0].status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED"
944
1099
  # resp.members[0].creation_date #=> Time
945
1100
  # resp.members[0].is_owned #=> Boolean
1101
+ # resp.members[0].arn #=> String
946
1102
  # resp.next_token #=> String
947
1103
  #
948
1104
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListMembers AWS API Documentation
@@ -955,7 +1111,9 @@ module Aws::ManagedBlockchain
955
1111
  end
956
1112
 
957
1113
  # Returns information about the networks in which the current AWS
958
- # account has members.
1114
+ # account participates.
1115
+ #
1116
+ # Applies to Hyperledger Fabric and Ethereum.
959
1117
  #
960
1118
  # @option params [String] :name
961
1119
  # The name of the network.
@@ -968,6 +1126,8 @@ module Aws::ManagedBlockchain
968
1126
  # An optional status specifier. If provided, only networks currently in
969
1127
  # this status are listed.
970
1128
  #
1129
+ # Applies only to Hyperledger Fabric.
1130
+ #
971
1131
  # @option params [Integer] :max_results
972
1132
  # The maximum number of networks to list.
973
1133
  #
@@ -986,7 +1146,7 @@ module Aws::ManagedBlockchain
986
1146
  #
987
1147
  # resp = client.list_networks({
988
1148
  # name: "String",
989
- # framework: "HYPERLEDGER_FABRIC", # accepts HYPERLEDGER_FABRIC
1149
+ # framework: "HYPERLEDGER_FABRIC", # accepts HYPERLEDGER_FABRIC, ETHEREUM
990
1150
  # status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, DELETING, DELETED
991
1151
  # max_results: 1,
992
1152
  # next_token: "PaginationToken",
@@ -998,10 +1158,11 @@ module Aws::ManagedBlockchain
998
1158
  # resp.networks[0].id #=> String
999
1159
  # resp.networks[0].name #=> String
1000
1160
  # resp.networks[0].description #=> String
1001
- # resp.networks[0].framework #=> String, one of "HYPERLEDGER_FABRIC"
1161
+ # resp.networks[0].framework #=> String, one of "HYPERLEDGER_FABRIC", "ETHEREUM"
1002
1162
  # resp.networks[0].framework_version #=> String
1003
1163
  # resp.networks[0].status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "DELETING", "DELETED"
1004
1164
  # resp.networks[0].creation_date #=> Time
1165
+ # resp.networks[0].arn #=> String
1005
1166
  # resp.next_token #=> String
1006
1167
  #
1007
1168
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListNetworks AWS API Documentation
@@ -1015,12 +1176,17 @@ module Aws::ManagedBlockchain
1015
1176
 
1016
1177
  # Returns information about the nodes within a network.
1017
1178
  #
1179
+ # Applies to Hyperledger Fabric and Ethereum.
1180
+ #
1018
1181
  # @option params [required, String] :network_id
1019
1182
  # The unique identifier of the network for which to list nodes.
1020
1183
  #
1021
- # @option params [required, String] :member_id
1184
+ # @option params [String] :member_id
1022
1185
  # The unique identifier of the member who owns the nodes to list.
1023
1186
  #
1187
+ # Applies only to Hyperledger Fabric and is required for Hyperledger
1188
+ # Fabric.
1189
+ #
1024
1190
  # @option params [String] :status
1025
1191
  # An optional status specifier. If provided, only nodes currently in
1026
1192
  # this status are listed.
@@ -1043,8 +1209,8 @@ module Aws::ManagedBlockchain
1043
1209
  #
1044
1210
  # resp = client.list_nodes({
1045
1211
  # network_id: "ResourceIdString", # required
1046
- # member_id: "ResourceIdString", # required
1047
- # status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, UPDATING, DELETING, DELETED, FAILED
1212
+ # member_id: "ResourceIdString",
1213
+ # status: "CREATING", # accepts CREATING, AVAILABLE, UNHEALTHY, CREATE_FAILED, UPDATING, DELETING, DELETED, FAILED
1048
1214
  # max_results: 1,
1049
1215
  # next_token: "PaginationToken",
1050
1216
  # })
@@ -1053,10 +1219,11 @@ module Aws::ManagedBlockchain
1053
1219
  #
1054
1220
  # resp.nodes #=> Array
1055
1221
  # resp.nodes[0].id #=> String
1056
- # resp.nodes[0].status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED", "FAILED"
1222
+ # resp.nodes[0].status #=> String, one of "CREATING", "AVAILABLE", "UNHEALTHY", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED", "FAILED"
1057
1223
  # resp.nodes[0].creation_date #=> Time
1058
1224
  # resp.nodes[0].availability_zone #=> String
1059
1225
  # resp.nodes[0].instance_type #=> String
1226
+ # resp.nodes[0].arn #=> String
1060
1227
  # resp.next_token #=> String
1061
1228
  #
1062
1229
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListNodes AWS API Documentation
@@ -1068,10 +1235,12 @@ module Aws::ManagedBlockchain
1068
1235
  req.send_request(options)
1069
1236
  end
1070
1237
 
1071
- # Returns the listing of votes for a specified proposal, including the
1238
+ # Returns the list of votes for a specified proposal, including the
1072
1239
  # value of each vote and the unique identifier of the member that cast
1073
1240
  # the vote.
1074
1241
  #
1242
+ # Applies only to Hyperledger Fabric.
1243
+ #
1075
1244
  # @option params [required, String] :network_id
1076
1245
  # The unique identifier of the network.
1077
1246
  #
@@ -1118,7 +1287,9 @@ module Aws::ManagedBlockchain
1118
1287
  req.send_request(options)
1119
1288
  end
1120
1289
 
1121
- # Returns a listing of proposals for the network.
1290
+ # Returns a list of proposals for the network.
1291
+ #
1292
+ # Applies only to Hyperledger Fabric.
1122
1293
  #
1123
1294
  # @option params [required, String] :network_id
1124
1295
  # The unique identifier of the network.
@@ -1155,6 +1326,7 @@ module Aws::ManagedBlockchain
1155
1326
  # resp.proposals[0].status #=> String, one of "IN_PROGRESS", "APPROVED", "REJECTED", "EXPIRED", "ACTION_FAILED"
1156
1327
  # resp.proposals[0].creation_date #=> Time
1157
1328
  # resp.proposals[0].expiration_date #=> Time
1329
+ # resp.proposals[0].arn #=> String
1158
1330
  # resp.next_token #=> String
1159
1331
  #
1160
1332
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListProposals AWS API Documentation
@@ -1166,10 +1338,58 @@ module Aws::ManagedBlockchain
1166
1338
  req.send_request(options)
1167
1339
  end
1168
1340
 
1341
+ # Returns a list of tags for the specified resource. Each tag consists
1342
+ # of a key and optional value.
1343
+ #
1344
+ # For more information about tags, see [Tagging Resources][1] in the
1345
+ # *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
1346
+ # Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
1347
+ # Developer Guide*.
1348
+ #
1349
+ #
1350
+ #
1351
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
1352
+ # [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
1353
+ #
1354
+ # @option params [required, String] :resource_arn
1355
+ # The Amazon Resource Name (ARN) of the resource. For more information
1356
+ # about ARNs and their format, see [Amazon Resource Names (ARNs)][1] in
1357
+ # the *AWS General Reference*.
1358
+ #
1359
+ #
1360
+ #
1361
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1362
+ #
1363
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1364
+ #
1365
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Hash&lt;String,String&gt;
1366
+ #
1367
+ # @example Request syntax with placeholder values
1368
+ #
1369
+ # resp = client.list_tags_for_resource({
1370
+ # resource_arn: "ArnString", # required
1371
+ # })
1372
+ #
1373
+ # @example Response structure
1374
+ #
1375
+ # resp.tags #=> Hash
1376
+ # resp.tags["TagKey"] #=> String
1377
+ #
1378
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListTagsForResource AWS API Documentation
1379
+ #
1380
+ # @overload list_tags_for_resource(params = {})
1381
+ # @param [Hash] params ({})
1382
+ def list_tags_for_resource(params = {}, options = {})
1383
+ req = build_request(:list_tags_for_resource, params)
1384
+ req.send_request(options)
1385
+ end
1386
+
1169
1387
  # Rejects an invitation to join a network. This action can be called by
1170
1388
  # a principal in an AWS account that has received an invitation to
1171
1389
  # create a member and join a network.
1172
1390
  #
1391
+ # Applies only to Hyperledger Fabric.
1392
+ #
1173
1393
  # @option params [required, String] :invitation_id
1174
1394
  # The unique identifier of the invitation to reject.
1175
1395
  #
@@ -1190,14 +1410,114 @@ module Aws::ManagedBlockchain
1190
1410
  req.send_request(options)
1191
1411
  end
1192
1412
 
1413
+ # Adds or overwrites the specified tags for the specified Amazon Managed
1414
+ # Blockchain resource. Each tag consists of a key and optional value.
1415
+ #
1416
+ # When you specify a tag key that already exists, the tag value is
1417
+ # overwritten with the new value. Use `UntagResource` to remove tag
1418
+ # keys.
1419
+ #
1420
+ # A resource can have up to 50 tags. If you try to create more than 50
1421
+ # tags for a resource, your request fails and returns an error.
1422
+ #
1423
+ # For more information about tags, see [Tagging Resources][1] in the
1424
+ # *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
1425
+ # Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
1426
+ # Developer Guide*.
1427
+ #
1428
+ #
1429
+ #
1430
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
1431
+ # [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
1432
+ #
1433
+ # @option params [required, String] :resource_arn
1434
+ # The Amazon Resource Name (ARN) of the resource. For more information
1435
+ # about ARNs and their format, see [Amazon Resource Names (ARNs)][1] in
1436
+ # the *AWS General Reference*.
1437
+ #
1438
+ #
1439
+ #
1440
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1441
+ #
1442
+ # @option params [required, Hash<String,String>] :tags
1443
+ # The tags to assign to the specified resource. Tag values can be empty,
1444
+ # for example, `"MyTagKey" : ""`. You can specify multiple key-value
1445
+ # pairs in a single request, with an overall maximum of 50 added to each
1446
+ # resource.
1447
+ #
1448
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1449
+ #
1450
+ # @example Request syntax with placeholder values
1451
+ #
1452
+ # resp = client.tag_resource({
1453
+ # resource_arn: "ArnString", # required
1454
+ # tags: { # required
1455
+ # "TagKey" => "TagValue",
1456
+ # },
1457
+ # })
1458
+ #
1459
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/TagResource AWS API Documentation
1460
+ #
1461
+ # @overload tag_resource(params = {})
1462
+ # @param [Hash] params ({})
1463
+ def tag_resource(params = {}, options = {})
1464
+ req = build_request(:tag_resource, params)
1465
+ req.send_request(options)
1466
+ end
1467
+
1468
+ # Removes the specified tags from the Amazon Managed Blockchain
1469
+ # resource.
1470
+ #
1471
+ # For more information about tags, see [Tagging Resources][1] in the
1472
+ # *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
1473
+ # Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
1474
+ # Developer Guide*.
1475
+ #
1476
+ #
1477
+ #
1478
+ # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
1479
+ # [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
1480
+ #
1481
+ # @option params [required, String] :resource_arn
1482
+ # The Amazon Resource Name (ARN) of the resource. For more information
1483
+ # about ARNs and their format, see [Amazon Resource Names (ARNs)][1] in
1484
+ # the *AWS General Reference*.
1485
+ #
1486
+ #
1487
+ #
1488
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1489
+ #
1490
+ # @option params [required, Array<String>] :tag_keys
1491
+ # The tag keys.
1492
+ #
1493
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1494
+ #
1495
+ # @example Request syntax with placeholder values
1496
+ #
1497
+ # resp = client.untag_resource({
1498
+ # resource_arn: "ArnString", # required
1499
+ # tag_keys: ["TagKey"], # required
1500
+ # })
1501
+ #
1502
+ # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UntagResource AWS API Documentation
1503
+ #
1504
+ # @overload untag_resource(params = {})
1505
+ # @param [Hash] params ({})
1506
+ def untag_resource(params = {}, options = {})
1507
+ req = build_request(:untag_resource, params)
1508
+ req.send_request(options)
1509
+ end
1510
+
1193
1511
  # Updates a member configuration with new parameters.
1194
1512
  #
1513
+ # Applies only to Hyperledger Fabric.
1514
+ #
1195
1515
  # @option params [required, String] :network_id
1196
- # The unique ID of the Managed Blockchain network to which the member
1197
- # belongs.
1516
+ # The unique identifier of the Managed Blockchain network to which the
1517
+ # member belongs.
1198
1518
  #
1199
1519
  # @option params [required, String] :member_id
1200
- # The unique ID of the member.
1520
+ # The unique identifier of the member.
1201
1521
  #
1202
1522
  # @option params [Types::MemberLogPublishingConfiguration] :log_publishing_configuration
1203
1523
  # Configuration properties for publishing to Amazon CloudWatch Logs.
@@ -1231,15 +1551,18 @@ module Aws::ManagedBlockchain
1231
1551
 
1232
1552
  # Updates a node configuration with new parameters.
1233
1553
  #
1554
+ # Applies only to Hyperledger Fabric.
1555
+ #
1234
1556
  # @option params [required, String] :network_id
1235
- # The unique ID of the Managed Blockchain network to which the node
1236
- # belongs.
1557
+ # The unique identifier of the network that the node is on.
1237
1558
  #
1238
- # @option params [required, String] :member_id
1239
- # The unique ID of the member that owns the node.
1559
+ # @option params [String] :member_id
1560
+ # The unique identifier of the member that owns the node.
1561
+ #
1562
+ # Applies only to Hyperledger Fabric.
1240
1563
  #
1241
1564
  # @option params [required, String] :node_id
1242
- # The unique ID of the node.
1565
+ # The unique identifier of the node.
1243
1566
  #
1244
1567
  # @option params [Types::NodeLogPublishingConfiguration] :log_publishing_configuration
1245
1568
  # Configuration properties for publishing to Amazon CloudWatch Logs.
@@ -1250,7 +1573,7 @@ module Aws::ManagedBlockchain
1250
1573
  #
1251
1574
  # resp = client.update_node({
1252
1575
  # network_id: "ResourceIdString", # required
1253
- # member_id: "ResourceIdString", # required
1576
+ # member_id: "ResourceIdString",
1254
1577
  # node_id: "ResourceIdString", # required
1255
1578
  # log_publishing_configuration: {
1256
1579
  # fabric: {
@@ -1281,6 +1604,8 @@ module Aws::ManagedBlockchain
1281
1604
  # member to vote as, specified by `VoterMemberId`, must be in the same
1282
1605
  # AWS account as the principal that calls the action.
1283
1606
  #
1607
+ # Applies only to Hyperledger Fabric.
1608
+ #
1284
1609
  # @option params [required, String] :network_id
1285
1610
  # The unique identifier of the network.
1286
1611
  #
@@ -1326,7 +1651,7 @@ module Aws::ManagedBlockchain
1326
1651
  params: params,
1327
1652
  config: config)
1328
1653
  context[:gem_name] = 'aws-sdk-managedblockchain'
1329
- context[:gem_version] = '1.13.0'
1654
+ context[:gem_version] = '1.19.0'
1330
1655
  Seahorse::Client::Request.new(handlers, context)
1331
1656
  end
1332
1657