aws-sdk-managedblockchain 1.14.0 → 1.20.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e95cb043b60e36f7f7e82f80d114f82b6b7bf1ccef2d83508bf9d7b9787ea021
|
4
|
+
data.tar.gz: ae451fe3b686f9bd164c3d51695d403d99d106b89ef695e78f93f4d582bbeec7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9897ee25d33280ae15affd0a267e8568a007d940accccbcdcea6f9b7a5c16e874b7e33af9b5c7ea897f0362ad594e156686a90b0abc082d2364d3af3cc07a487
|
7
|
+
data.tar.gz: 57270decd6dbf9be7e8d272f9730b8ce3b81b7f0d6e175050447c02a28f8897961ab213b93a8e5d356fc8fe6b5d1fd4c181782b54aa02b0c9cbf0fc1f8197ec6
|
@@ -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
|
|
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-managedblockchain/customizations'
|
|
47
48
|
# @!group service
|
48
49
|
module Aws::ManagedBlockchain
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.20.0'
|
51
52
|
|
52
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
|
+
# 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,12 @@ module Aws::ManagedBlockchain
|
|
488
519
|
req.send_request(options)
|
489
520
|
end
|
490
521
|
|
491
|
-
# Creates a
|
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.
|
492
528
|
#
|
493
529
|
# @option params [required, String] :client_request_token
|
494
530
|
# A unique, case-sensitive identifier that you provide to ensure the
|
@@ -501,14 +537,42 @@ module Aws::ManagedBlockchain
|
|
501
537
|
# not need to pass this option.**
|
502
538
|
#
|
503
539
|
# @option params [required, String] :network_id
|
504
|
-
# The unique identifier of the network
|
540
|
+
# The unique identifier of the network for the node.
|
505
541
|
#
|
506
|
-
#
|
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
|
507
551
|
# The unique identifier of the member that owns this node.
|
508
552
|
#
|
553
|
+
# Applies only to Hyperledger Fabric.
|
554
|
+
#
|
509
555
|
# @option params [required, Types::NodeConfiguration] :node_configuration
|
510
556
|
# The properties of a node configuration.
|
511
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
|
+
#
|
512
576
|
# @return [Types::CreateNodeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
513
577
|
#
|
514
578
|
# * {Types::CreateNodeOutput#node_id #node_id} => String
|
@@ -518,10 +582,10 @@ module Aws::ManagedBlockchain
|
|
518
582
|
# resp = client.create_node({
|
519
583
|
# client_request_token: "ClientRequestTokenString", # required
|
520
584
|
# network_id: "ResourceIdString", # required
|
521
|
-
# member_id: "ResourceIdString",
|
585
|
+
# member_id: "ResourceIdString",
|
522
586
|
# node_configuration: { # required
|
523
587
|
# instance_type: "InstanceTypeString", # required
|
524
|
-
# availability_zone: "AvailabilityZoneString",
|
588
|
+
# availability_zone: "AvailabilityZoneString",
|
525
589
|
# log_publishing_configuration: {
|
526
590
|
# fabric: {
|
527
591
|
# chaincode_logs: {
|
@@ -536,6 +600,10 @@ module Aws::ManagedBlockchain
|
|
536
600
|
# },
|
537
601
|
# },
|
538
602
|
# },
|
603
|
+
# state_db: "LevelDB", # accepts LevelDB, CouchDB
|
604
|
+
# },
|
605
|
+
# tags: {
|
606
|
+
# "TagKey" => "TagValue",
|
539
607
|
# },
|
540
608
|
# })
|
541
609
|
#
|
@@ -556,6 +624,8 @@ module Aws::ManagedBlockchain
|
|
556
624
|
# the network can vote on, for example, a proposal to add a new member
|
557
625
|
# to the network. Any member can create a proposal.
|
558
626
|
#
|
627
|
+
# Applies only to Hyperledger Fabric.
|
628
|
+
#
|
559
629
|
# @option params [required, String] :client_request_token
|
560
630
|
# A unique, case-sensitive identifier that you provide to ensure the
|
561
631
|
# idempotency of the operation. An idempotent operation completes no
|
@@ -584,6 +654,25 @@ module Aws::ManagedBlockchain
|
|
584
654
|
# A description for the proposal that is visible to voting members, for
|
585
655
|
# example, "Proposal to add Example Corp. as member."
|
586
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
|
+
#
|
587
676
|
# @return [Types::CreateProposalOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
588
677
|
#
|
589
678
|
# * {Types::CreateProposalOutput#proposal_id #proposal_id} => String
|
@@ -607,6 +696,9 @@ module Aws::ManagedBlockchain
|
|
607
696
|
# ],
|
608
697
|
# },
|
609
698
|
# description: "DescriptionString",
|
699
|
+
# tags: {
|
700
|
+
# "TagKey" => "TagValue",
|
701
|
+
# },
|
610
702
|
# })
|
611
703
|
#
|
612
704
|
# @example Response structure
|
@@ -631,6 +723,8 @@ module Aws::ManagedBlockchain
|
|
631
723
|
# member in a network specified by the last AWS account, the network is
|
632
724
|
# deleted also.
|
633
725
|
#
|
726
|
+
# Applies only to Hyperledger Fabric.
|
727
|
+
#
|
634
728
|
# @option params [required, String] :network_id
|
635
729
|
# The unique identifier of the network from which the member is removed.
|
636
730
|
#
|
@@ -655,15 +749,28 @@ module Aws::ManagedBlockchain
|
|
655
749
|
req.send_request(options)
|
656
750
|
end
|
657
751
|
|
658
|
-
# Deletes a
|
659
|
-
#
|
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.
|
660
756
|
#
|
661
757
|
# @option params [required, String] :network_id
|
662
|
-
# The unique identifier of the network that the node
|
758
|
+
# The unique identifier of the network that the node is on.
|
663
759
|
#
|
664
|
-
#
|
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
|
665
769
|
# The unique identifier of the member that owns this node.
|
666
770
|
#
|
771
|
+
# Applies only to Hyperledger Fabric and is required for Hyperledger
|
772
|
+
# Fabric.
|
773
|
+
#
|
667
774
|
# @option params [required, String] :node_id
|
668
775
|
# The unique identifier of the node.
|
669
776
|
#
|
@@ -673,7 +780,7 @@ module Aws::ManagedBlockchain
|
|
673
780
|
#
|
674
781
|
# resp = client.delete_node({
|
675
782
|
# network_id: "ResourceIdString", # required
|
676
|
-
# member_id: "ResourceIdString",
|
783
|
+
# member_id: "ResourceIdString",
|
677
784
|
# node_id: "ResourceIdString", # required
|
678
785
|
# })
|
679
786
|
#
|
@@ -688,6 +795,8 @@ module Aws::ManagedBlockchain
|
|
688
795
|
|
689
796
|
# Returns detailed information about a member.
|
690
797
|
#
|
798
|
+
# Applies only to Hyperledger Fabric.
|
799
|
+
#
|
691
800
|
# @option params [required, String] :network_id
|
692
801
|
# The unique identifier of the network to which the member belongs.
|
693
802
|
#
|
@@ -716,6 +825,9 @@ module Aws::ManagedBlockchain
|
|
716
825
|
# resp.member.log_publishing_configuration.fabric.ca_logs.cloudwatch.enabled #=> Boolean
|
717
826
|
# resp.member.status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED"
|
718
827
|
# resp.member.creation_date #=> Time
|
828
|
+
# resp.member.tags #=> Hash
|
829
|
+
# resp.member.tags["TagKey"] #=> String
|
830
|
+
# resp.member.arn #=> String
|
719
831
|
#
|
720
832
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetMember AWS API Documentation
|
721
833
|
#
|
@@ -728,6 +840,8 @@ module Aws::ManagedBlockchain
|
|
728
840
|
|
729
841
|
# Returns detailed information about a network.
|
730
842
|
#
|
843
|
+
# Applies to Hyperledger Fabric and Ethereum.
|
844
|
+
#
|
731
845
|
# @option params [required, String] :network_id
|
732
846
|
# The unique identifier of the network to get information about.
|
733
847
|
#
|
@@ -746,16 +860,20 @@ module Aws::ManagedBlockchain
|
|
746
860
|
# resp.network.id #=> String
|
747
861
|
# resp.network.name #=> String
|
748
862
|
# resp.network.description #=> String
|
749
|
-
# resp.network.framework #=> String, one of "HYPERLEDGER_FABRIC"
|
863
|
+
# resp.network.framework #=> String, one of "HYPERLEDGER_FABRIC", "ETHEREUM"
|
750
864
|
# resp.network.framework_version #=> String
|
751
865
|
# resp.network.framework_attributes.fabric.ordering_service_endpoint #=> String
|
752
866
|
# resp.network.framework_attributes.fabric.edition #=> String, one of "STARTER", "STANDARD"
|
867
|
+
# resp.network.framework_attributes.ethereum.chain_id #=> String
|
753
868
|
# resp.network.vpc_endpoint_service_name #=> String
|
754
869
|
# resp.network.voting_policy.approval_threshold_policy.threshold_percentage #=> Integer
|
755
870
|
# resp.network.voting_policy.approval_threshold_policy.proposal_duration_in_hours #=> Integer
|
756
871
|
# resp.network.voting_policy.approval_threshold_policy.threshold_comparator #=> String, one of "GREATER_THAN", "GREATER_THAN_OR_EQUAL_TO"
|
757
872
|
# resp.network.status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "DELETING", "DELETED"
|
758
873
|
# resp.network.creation_date #=> Time
|
874
|
+
# resp.network.tags #=> Hash
|
875
|
+
# resp.network.tags["TagKey"] #=> String
|
876
|
+
# resp.network.arn #=> String
|
759
877
|
#
|
760
878
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNetwork AWS API Documentation
|
761
879
|
#
|
@@ -766,14 +884,19 @@ module Aws::ManagedBlockchain
|
|
766
884
|
req.send_request(options)
|
767
885
|
end
|
768
886
|
|
769
|
-
# Returns detailed information about a
|
887
|
+
# Returns detailed information about a node.
|
888
|
+
#
|
889
|
+
# Applies to Hyperledger Fabric and Ethereum.
|
770
890
|
#
|
771
891
|
# @option params [required, String] :network_id
|
772
|
-
# The unique identifier of the network
|
892
|
+
# The unique identifier of the network that the node is on.
|
773
893
|
#
|
774
|
-
# @option params [
|
894
|
+
# @option params [String] :member_id
|
775
895
|
# The unique identifier of the member that owns the node.
|
776
896
|
#
|
897
|
+
# Applies only to Hyperledger Fabric and is required for Hyperledger
|
898
|
+
# Fabric.
|
899
|
+
#
|
777
900
|
# @option params [required, String] :node_id
|
778
901
|
# The unique identifier of the node.
|
779
902
|
#
|
@@ -785,7 +908,7 @@ module Aws::ManagedBlockchain
|
|
785
908
|
#
|
786
909
|
# resp = client.get_node({
|
787
910
|
# network_id: "ResourceIdString", # required
|
788
|
-
# member_id: "ResourceIdString",
|
911
|
+
# member_id: "ResourceIdString",
|
789
912
|
# node_id: "ResourceIdString", # required
|
790
913
|
# })
|
791
914
|
#
|
@@ -798,10 +921,16 @@ module Aws::ManagedBlockchain
|
|
798
921
|
# resp.node.availability_zone #=> String
|
799
922
|
# resp.node.framework_attributes.fabric.peer_endpoint #=> String
|
800
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
|
801
926
|
# resp.node.log_publishing_configuration.fabric.chaincode_logs.cloudwatch.enabled #=> Boolean
|
802
927
|
# resp.node.log_publishing_configuration.fabric.peer_logs.cloudwatch.enabled #=> Boolean
|
803
|
-
# resp.node.
|
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"
|
804
930
|
# resp.node.creation_date #=> Time
|
931
|
+
# resp.node.tags #=> Hash
|
932
|
+
# resp.node.tags["TagKey"] #=> String
|
933
|
+
# resp.node.arn #=> String
|
805
934
|
#
|
806
935
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNode AWS API Documentation
|
807
936
|
#
|
@@ -814,6 +943,8 @@ module Aws::ManagedBlockchain
|
|
814
943
|
|
815
944
|
# Returns detailed information about a proposal.
|
816
945
|
#
|
946
|
+
# Applies only to Hyperledger Fabric.
|
947
|
+
#
|
817
948
|
# @option params [required, String] :network_id
|
818
949
|
# The unique identifier of the network for which the proposal is made.
|
819
950
|
#
|
@@ -848,6 +979,9 @@ module Aws::ManagedBlockchain
|
|
848
979
|
# resp.proposal.yes_vote_count #=> Integer
|
849
980
|
# resp.proposal.no_vote_count #=> Integer
|
850
981
|
# resp.proposal.outstanding_vote_count #=> Integer
|
982
|
+
# resp.proposal.tags #=> Hash
|
983
|
+
# resp.proposal.tags["TagKey"] #=> String
|
984
|
+
# resp.proposal.arn #=> String
|
851
985
|
#
|
852
986
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetProposal AWS API Documentation
|
853
987
|
#
|
@@ -858,7 +992,9 @@ module Aws::ManagedBlockchain
|
|
858
992
|
req.send_request(options)
|
859
993
|
end
|
860
994
|
|
861
|
-
# Returns a
|
995
|
+
# Returns a list of all invitations for the current AWS account.
|
996
|
+
#
|
997
|
+
# Applies only to Hyperledger Fabric.
|
862
998
|
#
|
863
999
|
# @option params [Integer] :max_results
|
864
1000
|
# The maximum number of invitations to return.
|
@@ -891,10 +1027,12 @@ module Aws::ManagedBlockchain
|
|
891
1027
|
# resp.invitations[0].network_summary.id #=> String
|
892
1028
|
# resp.invitations[0].network_summary.name #=> String
|
893
1029
|
# resp.invitations[0].network_summary.description #=> String
|
894
|
-
# resp.invitations[0].network_summary.framework #=> String, one of "HYPERLEDGER_FABRIC"
|
1030
|
+
# resp.invitations[0].network_summary.framework #=> String, one of "HYPERLEDGER_FABRIC", "ETHEREUM"
|
895
1031
|
# resp.invitations[0].network_summary.framework_version #=> String
|
896
1032
|
# resp.invitations[0].network_summary.status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "DELETING", "DELETED"
|
897
1033
|
# resp.invitations[0].network_summary.creation_date #=> Time
|
1034
|
+
# resp.invitations[0].network_summary.arn #=> String
|
1035
|
+
# resp.invitations[0].arn #=> String
|
898
1036
|
# resp.next_token #=> String
|
899
1037
|
#
|
900
1038
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListInvitations AWS API Documentation
|
@@ -906,9 +1044,11 @@ module Aws::ManagedBlockchain
|
|
906
1044
|
req.send_request(options)
|
907
1045
|
end
|
908
1046
|
|
909
|
-
# Returns a
|
1047
|
+
# Returns a list of the members in a network and properties of their
|
910
1048
|
# configurations.
|
911
1049
|
#
|
1050
|
+
# Applies only to Hyperledger Fabric.
|
1051
|
+
#
|
912
1052
|
# @option params [required, String] :network_id
|
913
1053
|
# The unique identifier of the network for which to list members.
|
914
1054
|
#
|
@@ -958,6 +1098,7 @@ module Aws::ManagedBlockchain
|
|
958
1098
|
# resp.members[0].status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED"
|
959
1099
|
# resp.members[0].creation_date #=> Time
|
960
1100
|
# resp.members[0].is_owned #=> Boolean
|
1101
|
+
# resp.members[0].arn #=> String
|
961
1102
|
# resp.next_token #=> String
|
962
1103
|
#
|
963
1104
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListMembers AWS API Documentation
|
@@ -970,7 +1111,9 @@ module Aws::ManagedBlockchain
|
|
970
1111
|
end
|
971
1112
|
|
972
1113
|
# Returns information about the networks in which the current AWS
|
973
|
-
# account
|
1114
|
+
# account participates.
|
1115
|
+
#
|
1116
|
+
# Applies to Hyperledger Fabric and Ethereum.
|
974
1117
|
#
|
975
1118
|
# @option params [String] :name
|
976
1119
|
# The name of the network.
|
@@ -983,6 +1126,8 @@ module Aws::ManagedBlockchain
|
|
983
1126
|
# An optional status specifier. If provided, only networks currently in
|
984
1127
|
# this status are listed.
|
985
1128
|
#
|
1129
|
+
# Applies only to Hyperledger Fabric.
|
1130
|
+
#
|
986
1131
|
# @option params [Integer] :max_results
|
987
1132
|
# The maximum number of networks to list.
|
988
1133
|
#
|
@@ -1001,7 +1146,7 @@ module Aws::ManagedBlockchain
|
|
1001
1146
|
#
|
1002
1147
|
# resp = client.list_networks({
|
1003
1148
|
# name: "String",
|
1004
|
-
# framework: "HYPERLEDGER_FABRIC", # accepts HYPERLEDGER_FABRIC
|
1149
|
+
# framework: "HYPERLEDGER_FABRIC", # accepts HYPERLEDGER_FABRIC, ETHEREUM
|
1005
1150
|
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, DELETING, DELETED
|
1006
1151
|
# max_results: 1,
|
1007
1152
|
# next_token: "PaginationToken",
|
@@ -1013,10 +1158,11 @@ module Aws::ManagedBlockchain
|
|
1013
1158
|
# resp.networks[0].id #=> String
|
1014
1159
|
# resp.networks[0].name #=> String
|
1015
1160
|
# resp.networks[0].description #=> String
|
1016
|
-
# resp.networks[0].framework #=> String, one of "HYPERLEDGER_FABRIC"
|
1161
|
+
# resp.networks[0].framework #=> String, one of "HYPERLEDGER_FABRIC", "ETHEREUM"
|
1017
1162
|
# resp.networks[0].framework_version #=> String
|
1018
1163
|
# resp.networks[0].status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "DELETING", "DELETED"
|
1019
1164
|
# resp.networks[0].creation_date #=> Time
|
1165
|
+
# resp.networks[0].arn #=> String
|
1020
1166
|
# resp.next_token #=> String
|
1021
1167
|
#
|
1022
1168
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListNetworks AWS API Documentation
|
@@ -1030,12 +1176,17 @@ module Aws::ManagedBlockchain
|
|
1030
1176
|
|
1031
1177
|
# Returns information about the nodes within a network.
|
1032
1178
|
#
|
1179
|
+
# Applies to Hyperledger Fabric and Ethereum.
|
1180
|
+
#
|
1033
1181
|
# @option params [required, String] :network_id
|
1034
1182
|
# The unique identifier of the network for which to list nodes.
|
1035
1183
|
#
|
1036
|
-
# @option params [
|
1184
|
+
# @option params [String] :member_id
|
1037
1185
|
# The unique identifier of the member who owns the nodes to list.
|
1038
1186
|
#
|
1187
|
+
# Applies only to Hyperledger Fabric and is required for Hyperledger
|
1188
|
+
# Fabric.
|
1189
|
+
#
|
1039
1190
|
# @option params [String] :status
|
1040
1191
|
# An optional status specifier. If provided, only nodes currently in
|
1041
1192
|
# this status are listed.
|
@@ -1058,8 +1209,8 @@ module Aws::ManagedBlockchain
|
|
1058
1209
|
#
|
1059
1210
|
# resp = client.list_nodes({
|
1060
1211
|
# network_id: "ResourceIdString", # required
|
1061
|
-
# member_id: "ResourceIdString",
|
1062
|
-
# 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
|
1063
1214
|
# max_results: 1,
|
1064
1215
|
# next_token: "PaginationToken",
|
1065
1216
|
# })
|
@@ -1068,10 +1219,11 @@ module Aws::ManagedBlockchain
|
|
1068
1219
|
#
|
1069
1220
|
# resp.nodes #=> Array
|
1070
1221
|
# resp.nodes[0].id #=> String
|
1071
|
-
# 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"
|
1072
1223
|
# resp.nodes[0].creation_date #=> Time
|
1073
1224
|
# resp.nodes[0].availability_zone #=> String
|
1074
1225
|
# resp.nodes[0].instance_type #=> String
|
1226
|
+
# resp.nodes[0].arn #=> String
|
1075
1227
|
# resp.next_token #=> String
|
1076
1228
|
#
|
1077
1229
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListNodes AWS API Documentation
|
@@ -1083,10 +1235,12 @@ module Aws::ManagedBlockchain
|
|
1083
1235
|
req.send_request(options)
|
1084
1236
|
end
|
1085
1237
|
|
1086
|
-
# Returns the
|
1238
|
+
# Returns the list of votes for a specified proposal, including the
|
1087
1239
|
# value of each vote and the unique identifier of the member that cast
|
1088
1240
|
# the vote.
|
1089
1241
|
#
|
1242
|
+
# Applies only to Hyperledger Fabric.
|
1243
|
+
#
|
1090
1244
|
# @option params [required, String] :network_id
|
1091
1245
|
# The unique identifier of the network.
|
1092
1246
|
#
|
@@ -1133,7 +1287,9 @@ module Aws::ManagedBlockchain
|
|
1133
1287
|
req.send_request(options)
|
1134
1288
|
end
|
1135
1289
|
|
1136
|
-
# Returns a
|
1290
|
+
# Returns a list of proposals for the network.
|
1291
|
+
#
|
1292
|
+
# Applies only to Hyperledger Fabric.
|
1137
1293
|
#
|
1138
1294
|
# @option params [required, String] :network_id
|
1139
1295
|
# The unique identifier of the network.
|
@@ -1170,6 +1326,7 @@ module Aws::ManagedBlockchain
|
|
1170
1326
|
# resp.proposals[0].status #=> String, one of "IN_PROGRESS", "APPROVED", "REJECTED", "EXPIRED", "ACTION_FAILED"
|
1171
1327
|
# resp.proposals[0].creation_date #=> Time
|
1172
1328
|
# resp.proposals[0].expiration_date #=> Time
|
1329
|
+
# resp.proposals[0].arn #=> String
|
1173
1330
|
# resp.next_token #=> String
|
1174
1331
|
#
|
1175
1332
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListProposals AWS API Documentation
|
@@ -1181,10 +1338,58 @@ module Aws::ManagedBlockchain
|
|
1181
1338
|
req.send_request(options)
|
1182
1339
|
end
|
1183
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<String,String>
|
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
|
+
|
1184
1387
|
# Rejects an invitation to join a network. This action can be called by
|
1185
1388
|
# a principal in an AWS account that has received an invitation to
|
1186
1389
|
# create a member and join a network.
|
1187
1390
|
#
|
1391
|
+
# Applies only to Hyperledger Fabric.
|
1392
|
+
#
|
1188
1393
|
# @option params [required, String] :invitation_id
|
1189
1394
|
# The unique identifier of the invitation to reject.
|
1190
1395
|
#
|
@@ -1205,14 +1410,114 @@ module Aws::ManagedBlockchain
|
|
1205
1410
|
req.send_request(options)
|
1206
1411
|
end
|
1207
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
|
+
|
1208
1511
|
# Updates a member configuration with new parameters.
|
1209
1512
|
#
|
1513
|
+
# Applies only to Hyperledger Fabric.
|
1514
|
+
#
|
1210
1515
|
# @option params [required, String] :network_id
|
1211
|
-
# The unique
|
1212
|
-
# belongs.
|
1516
|
+
# The unique identifier of the Managed Blockchain network to which the
|
1517
|
+
# member belongs.
|
1213
1518
|
#
|
1214
1519
|
# @option params [required, String] :member_id
|
1215
|
-
# The unique
|
1520
|
+
# The unique identifier of the member.
|
1216
1521
|
#
|
1217
1522
|
# @option params [Types::MemberLogPublishingConfiguration] :log_publishing_configuration
|
1218
1523
|
# Configuration properties for publishing to Amazon CloudWatch Logs.
|
@@ -1246,15 +1551,18 @@ module Aws::ManagedBlockchain
|
|
1246
1551
|
|
1247
1552
|
# Updates a node configuration with new parameters.
|
1248
1553
|
#
|
1554
|
+
# Applies only to Hyperledger Fabric.
|
1555
|
+
#
|
1249
1556
|
# @option params [required, String] :network_id
|
1250
|
-
# The unique
|
1251
|
-
# belongs.
|
1557
|
+
# The unique identifier of the network that the node is on.
|
1252
1558
|
#
|
1253
|
-
# @option params [
|
1254
|
-
# The unique
|
1559
|
+
# @option params [String] :member_id
|
1560
|
+
# The unique identifier of the member that owns the node.
|
1561
|
+
#
|
1562
|
+
# Applies only to Hyperledger Fabric.
|
1255
1563
|
#
|
1256
1564
|
# @option params [required, String] :node_id
|
1257
|
-
# The unique
|
1565
|
+
# The unique identifier of the node.
|
1258
1566
|
#
|
1259
1567
|
# @option params [Types::NodeLogPublishingConfiguration] :log_publishing_configuration
|
1260
1568
|
# Configuration properties for publishing to Amazon CloudWatch Logs.
|
@@ -1265,7 +1573,7 @@ module Aws::ManagedBlockchain
|
|
1265
1573
|
#
|
1266
1574
|
# resp = client.update_node({
|
1267
1575
|
# network_id: "ResourceIdString", # required
|
1268
|
-
# member_id: "ResourceIdString",
|
1576
|
+
# member_id: "ResourceIdString",
|
1269
1577
|
# node_id: "ResourceIdString", # required
|
1270
1578
|
# log_publishing_configuration: {
|
1271
1579
|
# fabric: {
|
@@ -1296,6 +1604,8 @@ module Aws::ManagedBlockchain
|
|
1296
1604
|
# member to vote as, specified by `VoterMemberId`, must be in the same
|
1297
1605
|
# AWS account as the principal that calls the action.
|
1298
1606
|
#
|
1607
|
+
# Applies only to Hyperledger Fabric.
|
1608
|
+
#
|
1299
1609
|
# @option params [required, String] :network_id
|
1300
1610
|
# The unique identifier of the network.
|
1301
1611
|
#
|
@@ -1341,7 +1651,7 @@ module Aws::ManagedBlockchain
|
|
1341
1651
|
params: params,
|
1342
1652
|
config: config)
|
1343
1653
|
context[:gem_name] = 'aws-sdk-managedblockchain'
|
1344
|
-
context[:gem_version] = '1.
|
1654
|
+
context[:gem_version] = '1.20.0'
|
1345
1655
|
Seahorse::Client::Request.new(handlers, context)
|
1346
1656
|
end
|
1347
1657
|
|