aws-sdk-managedblockchain 1.12.1 → 1.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-managedblockchain.rb +5 -2
- data/lib/aws-sdk-managedblockchain/client.rb +138 -46
- data/lib/aws-sdk-managedblockchain/client_api.rb +28 -11
- data/lib/aws-sdk-managedblockchain/errors.rb +7 -0
- data/lib/aws-sdk-managedblockchain/resource.rb +2 -0
- data/lib/aws-sdk-managedblockchain/types.rb +267 -36
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6a216150f1901acb059dc12fda790490f061d73ae82579ce84a8ff85f359a7e
|
4
|
+
data.tar.gz: 2ef6723b27656cb47a9df676baf39e7f96958806b9066b9d4f86736c1c600021
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad62a2b8539471ab64366f9fd3b6638fbe0340d0f34c3b6a9dd97c5a0dae735c65522a32f10417e770528efacf63df7671b5bc1933bbaaf6ab87aad096eade08
|
7
|
+
data.tar.gz: f6d8b9f2d0a4d00d264039e52d394357be88c6487d3e15a90336daca90c582591e5e8c6a1e506890b6f5849e7032c0c848266e87478399fc14190394ac45ab44
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -5,6 +7,7 @@
|
|
5
7
|
#
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
10
|
+
|
8
11
|
require 'aws-sdk-core'
|
9
12
|
require 'aws-sigv4'
|
10
13
|
|
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-managedblockchain/customizations'
|
|
42
45
|
#
|
43
46
|
# See {Errors} for more information.
|
44
47
|
#
|
45
|
-
#
|
48
|
+
# @!group service
|
46
49
|
module Aws::ManagedBlockchain
|
47
50
|
|
48
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.18.0'
|
49
52
|
|
50
53
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -83,13 +85,28 @@ module Aws::ManagedBlockchain
|
|
83
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
84
86
|
# credentials.
|
85
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
|
+
#
|
86
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
87
103
|
# from an EC2 IMDS on an EC2 instance.
|
88
104
|
#
|
89
|
-
# * `Aws::
|
90
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
91
107
|
#
|
92
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
93
110
|
#
|
94
111
|
# When `:credentials` are not configured directly, the following
|
95
112
|
# locations will be searched for credentials:
|
@@ -99,10 +116,10 @@ module Aws::ManagedBlockchain
|
|
99
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
100
117
|
# * `~/.aws/credentials`
|
101
118
|
# * `~/.aws/config`
|
102
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
103
|
-
# very aggressive. Construct and pass an instance of
|
104
|
-
# `Aws::InstanceProfileCredentails`
|
105
|
-
# 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.
|
106
123
|
#
|
107
124
|
# @option options [required, String] :region
|
108
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -312,6 +329,8 @@ module Aws::ManagedBlockchain
|
|
312
329
|
|
313
330
|
# Creates a member within a Managed Blockchain network.
|
314
331
|
#
|
332
|
+
# Applies only to Hyperledger Fabric.
|
333
|
+
#
|
315
334
|
# @option params [required, String] :client_request_token
|
316
335
|
# A unique, case-sensitive identifier that you provide to ensure the
|
317
336
|
# idempotency of the operation. An idempotent operation completes no
|
@@ -378,6 +397,8 @@ module Aws::ManagedBlockchain
|
|
378
397
|
|
379
398
|
# Creates a new blockchain network using Amazon Managed Blockchain.
|
380
399
|
#
|
400
|
+
# Applies only to Hyperledger Fabric.
|
401
|
+
#
|
381
402
|
# @option params [required, String] :client_request_token
|
382
403
|
# A unique, case-sensitive identifier that you provide to ensure the
|
383
404
|
# idempotency of the operation. An idempotent operation completes no
|
@@ -422,7 +443,7 @@ module Aws::ManagedBlockchain
|
|
422
443
|
# client_request_token: "ClientRequestTokenString", # required
|
423
444
|
# name: "NameString", # required
|
424
445
|
# description: "DescriptionString",
|
425
|
-
# framework: "HYPERLEDGER_FABRIC", # required, accepts HYPERLEDGER_FABRIC
|
446
|
+
# framework: "HYPERLEDGER_FABRIC", # required, accepts HYPERLEDGER_FABRIC, ETHEREUM
|
426
447
|
# framework_version: "FrameworkVersionString", # required
|
427
448
|
# framework_configuration: {
|
428
449
|
# fabric: {
|
@@ -471,7 +492,9 @@ module Aws::ManagedBlockchain
|
|
471
492
|
req.send_request(options)
|
472
493
|
end
|
473
494
|
|
474
|
-
# Creates a
|
495
|
+
# Creates a node on the specified blockchain network.
|
496
|
+
#
|
497
|
+
# Applies to Hyperledger Fabric and Ethereum.
|
475
498
|
#
|
476
499
|
# @option params [required, String] :client_request_token
|
477
500
|
# A unique, case-sensitive identifier that you provide to ensure the
|
@@ -484,11 +507,21 @@ module Aws::ManagedBlockchain
|
|
484
507
|
# not need to pass this option.**
|
485
508
|
#
|
486
509
|
# @option params [required, String] :network_id
|
487
|
-
# The unique identifier of the network
|
510
|
+
# The unique identifier of the network for the node.
|
488
511
|
#
|
489
|
-
#
|
512
|
+
# Ethereum public networks have the following `NetworkId`s:
|
513
|
+
#
|
514
|
+
# * `n-ethereum-mainnet`
|
515
|
+
#
|
516
|
+
# * `n-ethereum-rinkeby`
|
517
|
+
#
|
518
|
+
# * `n-ethereum-ropsten`
|
519
|
+
#
|
520
|
+
# @option params [String] :member_id
|
490
521
|
# The unique identifier of the member that owns this node.
|
491
522
|
#
|
523
|
+
# Applies only to Hyperledger Fabric.
|
524
|
+
#
|
492
525
|
# @option params [required, Types::NodeConfiguration] :node_configuration
|
493
526
|
# The properties of a node configuration.
|
494
527
|
#
|
@@ -501,10 +534,10 @@ module Aws::ManagedBlockchain
|
|
501
534
|
# resp = client.create_node({
|
502
535
|
# client_request_token: "ClientRequestTokenString", # required
|
503
536
|
# network_id: "ResourceIdString", # required
|
504
|
-
# member_id: "ResourceIdString",
|
537
|
+
# member_id: "ResourceIdString",
|
505
538
|
# node_configuration: { # required
|
506
539
|
# instance_type: "InstanceTypeString", # required
|
507
|
-
# availability_zone: "AvailabilityZoneString",
|
540
|
+
# availability_zone: "AvailabilityZoneString",
|
508
541
|
# log_publishing_configuration: {
|
509
542
|
# fabric: {
|
510
543
|
# chaincode_logs: {
|
@@ -519,6 +552,7 @@ module Aws::ManagedBlockchain
|
|
519
552
|
# },
|
520
553
|
# },
|
521
554
|
# },
|
555
|
+
# state_db: "LevelDB", # accepts LevelDB, CouchDB
|
522
556
|
# },
|
523
557
|
# })
|
524
558
|
#
|
@@ -539,6 +573,8 @@ module Aws::ManagedBlockchain
|
|
539
573
|
# the network can vote on, for example, a proposal to add a new member
|
540
574
|
# to the network. Any member can create a proposal.
|
541
575
|
#
|
576
|
+
# Applies only to Hyperledger Fabric.
|
577
|
+
#
|
542
578
|
# @option params [required, String] :client_request_token
|
543
579
|
# A unique, case-sensitive identifier that you provide to ensure the
|
544
580
|
# idempotency of the operation. An idempotent operation completes no
|
@@ -614,6 +650,8 @@ module Aws::ManagedBlockchain
|
|
614
650
|
# member in a network specified by the last AWS account, the network is
|
615
651
|
# deleted also.
|
616
652
|
#
|
653
|
+
# Applies only to Hyperledger Fabric.
|
654
|
+
#
|
617
655
|
# @option params [required, String] :network_id
|
618
656
|
# The unique identifier of the network from which the member is removed.
|
619
657
|
#
|
@@ -638,15 +676,28 @@ module Aws::ManagedBlockchain
|
|
638
676
|
req.send_request(options)
|
639
677
|
end
|
640
678
|
|
641
|
-
# Deletes a
|
642
|
-
#
|
679
|
+
# Deletes a node that your AWS account owns. All data on the node is
|
680
|
+
# lost and cannot be recovered.
|
681
|
+
#
|
682
|
+
# Applies to Hyperledger Fabric and Ethereum.
|
643
683
|
#
|
644
684
|
# @option params [required, String] :network_id
|
645
|
-
# The unique identifier of the network that the node
|
685
|
+
# The unique identifier of the network that the node is on.
|
646
686
|
#
|
647
|
-
#
|
687
|
+
# Ethereum public networks have the following `NetworkId`s:
|
688
|
+
#
|
689
|
+
# * `n-ethereum-mainnet`
|
690
|
+
#
|
691
|
+
# * `n-ethereum-rinkeby`
|
692
|
+
#
|
693
|
+
# * `n-ethereum-ropsten`
|
694
|
+
#
|
695
|
+
# @option params [String] :member_id
|
648
696
|
# The unique identifier of the member that owns this node.
|
649
697
|
#
|
698
|
+
# Applies only to Hyperledger Fabric and is required for Hyperledger
|
699
|
+
# Fabric.
|
700
|
+
#
|
650
701
|
# @option params [required, String] :node_id
|
651
702
|
# The unique identifier of the node.
|
652
703
|
#
|
@@ -656,7 +707,7 @@ module Aws::ManagedBlockchain
|
|
656
707
|
#
|
657
708
|
# resp = client.delete_node({
|
658
709
|
# network_id: "ResourceIdString", # required
|
659
|
-
# member_id: "ResourceIdString",
|
710
|
+
# member_id: "ResourceIdString",
|
660
711
|
# node_id: "ResourceIdString", # required
|
661
712
|
# })
|
662
713
|
#
|
@@ -671,6 +722,8 @@ module Aws::ManagedBlockchain
|
|
671
722
|
|
672
723
|
# Returns detailed information about a member.
|
673
724
|
#
|
725
|
+
# Applies only to Hyperledger Fabric.
|
726
|
+
#
|
674
727
|
# @option params [required, String] :network_id
|
675
728
|
# The unique identifier of the network to which the member belongs.
|
676
729
|
#
|
@@ -711,6 +764,8 @@ module Aws::ManagedBlockchain
|
|
711
764
|
|
712
765
|
# Returns detailed information about a network.
|
713
766
|
#
|
767
|
+
# Applies to Hyperledger Fabric and Ethereum.
|
768
|
+
#
|
714
769
|
# @option params [required, String] :network_id
|
715
770
|
# The unique identifier of the network to get information about.
|
716
771
|
#
|
@@ -729,10 +784,11 @@ module Aws::ManagedBlockchain
|
|
729
784
|
# resp.network.id #=> String
|
730
785
|
# resp.network.name #=> String
|
731
786
|
# resp.network.description #=> String
|
732
|
-
# resp.network.framework #=> String, one of "HYPERLEDGER_FABRIC"
|
787
|
+
# resp.network.framework #=> String, one of "HYPERLEDGER_FABRIC", "ETHEREUM"
|
733
788
|
# resp.network.framework_version #=> String
|
734
789
|
# resp.network.framework_attributes.fabric.ordering_service_endpoint #=> String
|
735
790
|
# resp.network.framework_attributes.fabric.edition #=> String, one of "STARTER", "STANDARD"
|
791
|
+
# resp.network.framework_attributes.ethereum.chain_id #=> String
|
736
792
|
# resp.network.vpc_endpoint_service_name #=> String
|
737
793
|
# resp.network.voting_policy.approval_threshold_policy.threshold_percentage #=> Integer
|
738
794
|
# resp.network.voting_policy.approval_threshold_policy.proposal_duration_in_hours #=> Integer
|
@@ -749,14 +805,19 @@ module Aws::ManagedBlockchain
|
|
749
805
|
req.send_request(options)
|
750
806
|
end
|
751
807
|
|
752
|
-
# Returns detailed information about a
|
808
|
+
# Returns detailed information about a node.
|
809
|
+
#
|
810
|
+
# Applies to Hyperledger Fabric and Ethereum.
|
753
811
|
#
|
754
812
|
# @option params [required, String] :network_id
|
755
|
-
# The unique identifier of the network
|
813
|
+
# The unique identifier of the network that the node is on.
|
756
814
|
#
|
757
|
-
# @option params [
|
815
|
+
# @option params [String] :member_id
|
758
816
|
# The unique identifier of the member that owns the node.
|
759
817
|
#
|
818
|
+
# Applies only to Hyperledger Fabric and is required for Hyperledger
|
819
|
+
# Fabric.
|
820
|
+
#
|
760
821
|
# @option params [required, String] :node_id
|
761
822
|
# The unique identifier of the node.
|
762
823
|
#
|
@@ -768,7 +829,7 @@ module Aws::ManagedBlockchain
|
|
768
829
|
#
|
769
830
|
# resp = client.get_node({
|
770
831
|
# network_id: "ResourceIdString", # required
|
771
|
-
# member_id: "ResourceIdString",
|
832
|
+
# member_id: "ResourceIdString",
|
772
833
|
# node_id: "ResourceIdString", # required
|
773
834
|
# })
|
774
835
|
#
|
@@ -781,9 +842,12 @@ module Aws::ManagedBlockchain
|
|
781
842
|
# resp.node.availability_zone #=> String
|
782
843
|
# resp.node.framework_attributes.fabric.peer_endpoint #=> String
|
783
844
|
# resp.node.framework_attributes.fabric.peer_event_endpoint #=> String
|
845
|
+
# resp.node.framework_attributes.ethereum.http_endpoint #=> String
|
846
|
+
# resp.node.framework_attributes.ethereum.web_socket_endpoint #=> String
|
784
847
|
# resp.node.log_publishing_configuration.fabric.chaincode_logs.cloudwatch.enabled #=> Boolean
|
785
848
|
# resp.node.log_publishing_configuration.fabric.peer_logs.cloudwatch.enabled #=> Boolean
|
786
|
-
# resp.node.
|
849
|
+
# resp.node.state_db #=> String, one of "LevelDB", "CouchDB"
|
850
|
+
# resp.node.status #=> String, one of "CREATING", "AVAILABLE", "UNHEALTHY", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED", "FAILED"
|
787
851
|
# resp.node.creation_date #=> Time
|
788
852
|
#
|
789
853
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNode AWS API Documentation
|
@@ -797,6 +861,8 @@ module Aws::ManagedBlockchain
|
|
797
861
|
|
798
862
|
# Returns detailed information about a proposal.
|
799
863
|
#
|
864
|
+
# Applies only to Hyperledger Fabric.
|
865
|
+
#
|
800
866
|
# @option params [required, String] :network_id
|
801
867
|
# The unique identifier of the network for which the proposal is made.
|
802
868
|
#
|
@@ -841,7 +907,9 @@ module Aws::ManagedBlockchain
|
|
841
907
|
req.send_request(options)
|
842
908
|
end
|
843
909
|
|
844
|
-
# Returns a
|
910
|
+
# Returns a list of all invitations for the current AWS account.
|
911
|
+
#
|
912
|
+
# Applies only to Hyperledger Fabric.
|
845
913
|
#
|
846
914
|
# @option params [Integer] :max_results
|
847
915
|
# The maximum number of invitations to return.
|
@@ -874,7 +942,7 @@ module Aws::ManagedBlockchain
|
|
874
942
|
# resp.invitations[0].network_summary.id #=> String
|
875
943
|
# resp.invitations[0].network_summary.name #=> String
|
876
944
|
# resp.invitations[0].network_summary.description #=> String
|
877
|
-
# resp.invitations[0].network_summary.framework #=> String, one of "HYPERLEDGER_FABRIC"
|
945
|
+
# resp.invitations[0].network_summary.framework #=> String, one of "HYPERLEDGER_FABRIC", "ETHEREUM"
|
878
946
|
# resp.invitations[0].network_summary.framework_version #=> String
|
879
947
|
# resp.invitations[0].network_summary.status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "DELETING", "DELETED"
|
880
948
|
# resp.invitations[0].network_summary.creation_date #=> Time
|
@@ -889,9 +957,11 @@ module Aws::ManagedBlockchain
|
|
889
957
|
req.send_request(options)
|
890
958
|
end
|
891
959
|
|
892
|
-
# Returns a
|
960
|
+
# Returns a list of the members in a network and properties of their
|
893
961
|
# configurations.
|
894
962
|
#
|
963
|
+
# Applies only to Hyperledger Fabric.
|
964
|
+
#
|
895
965
|
# @option params [required, String] :network_id
|
896
966
|
# The unique identifier of the network for which to list members.
|
897
967
|
#
|
@@ -953,7 +1023,9 @@ module Aws::ManagedBlockchain
|
|
953
1023
|
end
|
954
1024
|
|
955
1025
|
# Returns information about the networks in which the current AWS
|
956
|
-
# account
|
1026
|
+
# account participates.
|
1027
|
+
#
|
1028
|
+
# Applies to Hyperledger Fabric and Ethereum.
|
957
1029
|
#
|
958
1030
|
# @option params [String] :name
|
959
1031
|
# The name of the network.
|
@@ -966,6 +1038,8 @@ module Aws::ManagedBlockchain
|
|
966
1038
|
# An optional status specifier. If provided, only networks currently in
|
967
1039
|
# this status are listed.
|
968
1040
|
#
|
1041
|
+
# Applies only to Hyperledger Fabric.
|
1042
|
+
#
|
969
1043
|
# @option params [Integer] :max_results
|
970
1044
|
# The maximum number of networks to list.
|
971
1045
|
#
|
@@ -984,7 +1058,7 @@ module Aws::ManagedBlockchain
|
|
984
1058
|
#
|
985
1059
|
# resp = client.list_networks({
|
986
1060
|
# name: "String",
|
987
|
-
# framework: "HYPERLEDGER_FABRIC", # accepts HYPERLEDGER_FABRIC
|
1061
|
+
# framework: "HYPERLEDGER_FABRIC", # accepts HYPERLEDGER_FABRIC, ETHEREUM
|
988
1062
|
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, DELETING, DELETED
|
989
1063
|
# max_results: 1,
|
990
1064
|
# next_token: "PaginationToken",
|
@@ -996,7 +1070,7 @@ module Aws::ManagedBlockchain
|
|
996
1070
|
# resp.networks[0].id #=> String
|
997
1071
|
# resp.networks[0].name #=> String
|
998
1072
|
# resp.networks[0].description #=> String
|
999
|
-
# resp.networks[0].framework #=> String, one of "HYPERLEDGER_FABRIC"
|
1073
|
+
# resp.networks[0].framework #=> String, one of "HYPERLEDGER_FABRIC", "ETHEREUM"
|
1000
1074
|
# resp.networks[0].framework_version #=> String
|
1001
1075
|
# resp.networks[0].status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "DELETING", "DELETED"
|
1002
1076
|
# resp.networks[0].creation_date #=> Time
|
@@ -1013,12 +1087,17 @@ module Aws::ManagedBlockchain
|
|
1013
1087
|
|
1014
1088
|
# Returns information about the nodes within a network.
|
1015
1089
|
#
|
1090
|
+
# Applies to Hyperledger Fabric and Ethereum.
|
1091
|
+
#
|
1016
1092
|
# @option params [required, String] :network_id
|
1017
1093
|
# The unique identifier of the network for which to list nodes.
|
1018
1094
|
#
|
1019
|
-
# @option params [
|
1095
|
+
# @option params [String] :member_id
|
1020
1096
|
# The unique identifier of the member who owns the nodes to list.
|
1021
1097
|
#
|
1098
|
+
# Applies only to Hyperledger Fabric and is required for Hyperledger
|
1099
|
+
# Fabric.
|
1100
|
+
#
|
1022
1101
|
# @option params [String] :status
|
1023
1102
|
# An optional status specifier. If provided, only nodes currently in
|
1024
1103
|
# this status are listed.
|
@@ -1041,8 +1120,8 @@ module Aws::ManagedBlockchain
|
|
1041
1120
|
#
|
1042
1121
|
# resp = client.list_nodes({
|
1043
1122
|
# network_id: "ResourceIdString", # required
|
1044
|
-
# member_id: "ResourceIdString",
|
1045
|
-
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, UPDATING, DELETING, DELETED, FAILED
|
1123
|
+
# member_id: "ResourceIdString",
|
1124
|
+
# status: "CREATING", # accepts CREATING, AVAILABLE, UNHEALTHY, CREATE_FAILED, UPDATING, DELETING, DELETED, FAILED
|
1046
1125
|
# max_results: 1,
|
1047
1126
|
# next_token: "PaginationToken",
|
1048
1127
|
# })
|
@@ -1051,7 +1130,7 @@ module Aws::ManagedBlockchain
|
|
1051
1130
|
#
|
1052
1131
|
# resp.nodes #=> Array
|
1053
1132
|
# resp.nodes[0].id #=> String
|
1054
|
-
# resp.nodes[0].status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED", "FAILED"
|
1133
|
+
# resp.nodes[0].status #=> String, one of "CREATING", "AVAILABLE", "UNHEALTHY", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED", "FAILED"
|
1055
1134
|
# resp.nodes[0].creation_date #=> Time
|
1056
1135
|
# resp.nodes[0].availability_zone #=> String
|
1057
1136
|
# resp.nodes[0].instance_type #=> String
|
@@ -1066,10 +1145,12 @@ module Aws::ManagedBlockchain
|
|
1066
1145
|
req.send_request(options)
|
1067
1146
|
end
|
1068
1147
|
|
1069
|
-
# Returns the
|
1148
|
+
# Returns the list of votes for a specified proposal, including the
|
1070
1149
|
# value of each vote and the unique identifier of the member that cast
|
1071
1150
|
# the vote.
|
1072
1151
|
#
|
1152
|
+
# Applies only to Hyperledger Fabric.
|
1153
|
+
#
|
1073
1154
|
# @option params [required, String] :network_id
|
1074
1155
|
# The unique identifier of the network.
|
1075
1156
|
#
|
@@ -1116,7 +1197,9 @@ module Aws::ManagedBlockchain
|
|
1116
1197
|
req.send_request(options)
|
1117
1198
|
end
|
1118
1199
|
|
1119
|
-
# Returns a
|
1200
|
+
# Returns a list of proposals for the network.
|
1201
|
+
#
|
1202
|
+
# Applies only to Hyperledger Fabric.
|
1120
1203
|
#
|
1121
1204
|
# @option params [required, String] :network_id
|
1122
1205
|
# The unique identifier of the network.
|
@@ -1168,6 +1251,8 @@ module Aws::ManagedBlockchain
|
|
1168
1251
|
# a principal in an AWS account that has received an invitation to
|
1169
1252
|
# create a member and join a network.
|
1170
1253
|
#
|
1254
|
+
# Applies only to Hyperledger Fabric.
|
1255
|
+
#
|
1171
1256
|
# @option params [required, String] :invitation_id
|
1172
1257
|
# The unique identifier of the invitation to reject.
|
1173
1258
|
#
|
@@ -1190,12 +1275,14 @@ module Aws::ManagedBlockchain
|
|
1190
1275
|
|
1191
1276
|
# Updates a member configuration with new parameters.
|
1192
1277
|
#
|
1278
|
+
# Applies only to Hyperledger Fabric.
|
1279
|
+
#
|
1193
1280
|
# @option params [required, String] :network_id
|
1194
|
-
# The unique
|
1195
|
-
# belongs.
|
1281
|
+
# The unique identifier of the Managed Blockchain network to which the
|
1282
|
+
# member belongs.
|
1196
1283
|
#
|
1197
1284
|
# @option params [required, String] :member_id
|
1198
|
-
# The unique
|
1285
|
+
# The unique identifier of the member.
|
1199
1286
|
#
|
1200
1287
|
# @option params [Types::MemberLogPublishingConfiguration] :log_publishing_configuration
|
1201
1288
|
# Configuration properties for publishing to Amazon CloudWatch Logs.
|
@@ -1229,15 +1316,18 @@ module Aws::ManagedBlockchain
|
|
1229
1316
|
|
1230
1317
|
# Updates a node configuration with new parameters.
|
1231
1318
|
#
|
1319
|
+
# Applies only to Hyperledger Fabric.
|
1320
|
+
#
|
1232
1321
|
# @option params [required, String] :network_id
|
1233
|
-
# The unique
|
1234
|
-
# belongs.
|
1322
|
+
# The unique identifier of the network that the node is on.
|
1235
1323
|
#
|
1236
|
-
# @option params [
|
1237
|
-
# The unique
|
1324
|
+
# @option params [String] :member_id
|
1325
|
+
# The unique identifier of the member that owns the node.
|
1326
|
+
#
|
1327
|
+
# Applies only to Hyperledger Fabric.
|
1238
1328
|
#
|
1239
1329
|
# @option params [required, String] :node_id
|
1240
|
-
# The unique
|
1330
|
+
# The unique identifier of the node.
|
1241
1331
|
#
|
1242
1332
|
# @option params [Types::NodeLogPublishingConfiguration] :log_publishing_configuration
|
1243
1333
|
# Configuration properties for publishing to Amazon CloudWatch Logs.
|
@@ -1248,7 +1338,7 @@ module Aws::ManagedBlockchain
|
|
1248
1338
|
#
|
1249
1339
|
# resp = client.update_node({
|
1250
1340
|
# network_id: "ResourceIdString", # required
|
1251
|
-
# member_id: "ResourceIdString",
|
1341
|
+
# member_id: "ResourceIdString",
|
1252
1342
|
# node_id: "ResourceIdString", # required
|
1253
1343
|
# log_publishing_configuration: {
|
1254
1344
|
# fabric: {
|
@@ -1279,6 +1369,8 @@ module Aws::ManagedBlockchain
|
|
1279
1369
|
# member to vote as, specified by `VoterMemberId`, must be in the same
|
1280
1370
|
# AWS account as the principal that calls the action.
|
1281
1371
|
#
|
1372
|
+
# Applies only to Hyperledger Fabric.
|
1373
|
+
#
|
1282
1374
|
# @option params [required, String] :network_id
|
1283
1375
|
# The unique identifier of the network.
|
1284
1376
|
#
|
@@ -1324,7 +1416,7 @@ module Aws::ManagedBlockchain
|
|
1324
1416
|
params: params,
|
1325
1417
|
config: config)
|
1326
1418
|
context[:gem_name] = 'aws-sdk-managedblockchain'
|
1327
|
-
context[:gem_version] = '1.
|
1419
|
+
context[:gem_version] = '1.18.0'
|
1328
1420
|
Seahorse::Client::Request.new(handlers, context)
|
1329
1421
|
end
|
1330
1422
|
|