aws-sdk-managedblockchain 1.17.0 → 1.18.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: 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
|
@@ -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
|
@@ -395,6 +397,8 @@ module Aws::ManagedBlockchain
|
|
395
397
|
|
396
398
|
# Creates a new blockchain network using Amazon Managed Blockchain.
|
397
399
|
#
|
400
|
+
# Applies only to Hyperledger Fabric.
|
401
|
+
#
|
398
402
|
# @option params [required, String] :client_request_token
|
399
403
|
# A unique, case-sensitive identifier that you provide to ensure the
|
400
404
|
# idempotency of the operation. An idempotent operation completes no
|
@@ -439,7 +443,7 @@ module Aws::ManagedBlockchain
|
|
439
443
|
# client_request_token: "ClientRequestTokenString", # required
|
440
444
|
# name: "NameString", # required
|
441
445
|
# description: "DescriptionString",
|
442
|
-
# framework: "HYPERLEDGER_FABRIC", # required, accepts HYPERLEDGER_FABRIC
|
446
|
+
# framework: "HYPERLEDGER_FABRIC", # required, accepts HYPERLEDGER_FABRIC, ETHEREUM
|
443
447
|
# framework_version: "FrameworkVersionString", # required
|
444
448
|
# framework_configuration: {
|
445
449
|
# fabric: {
|
@@ -488,7 +492,9 @@ module Aws::ManagedBlockchain
|
|
488
492
|
req.send_request(options)
|
489
493
|
end
|
490
494
|
|
491
|
-
# Creates a
|
495
|
+
# Creates a node on the specified blockchain network.
|
496
|
+
#
|
497
|
+
# Applies to Hyperledger Fabric and Ethereum.
|
492
498
|
#
|
493
499
|
# @option params [required, String] :client_request_token
|
494
500
|
# A unique, case-sensitive identifier that you provide to ensure the
|
@@ -501,11 +507,21 @@ module Aws::ManagedBlockchain
|
|
501
507
|
# not need to pass this option.**
|
502
508
|
#
|
503
509
|
# @option params [required, String] :network_id
|
504
|
-
# The unique identifier of the network
|
510
|
+
# The unique identifier of the network for the node.
|
505
511
|
#
|
506
|
-
#
|
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
|
507
521
|
# The unique identifier of the member that owns this node.
|
508
522
|
#
|
523
|
+
# Applies only to Hyperledger Fabric.
|
524
|
+
#
|
509
525
|
# @option params [required, Types::NodeConfiguration] :node_configuration
|
510
526
|
# The properties of a node configuration.
|
511
527
|
#
|
@@ -518,10 +534,10 @@ module Aws::ManagedBlockchain
|
|
518
534
|
# resp = client.create_node({
|
519
535
|
# client_request_token: "ClientRequestTokenString", # required
|
520
536
|
# network_id: "ResourceIdString", # required
|
521
|
-
# member_id: "ResourceIdString",
|
537
|
+
# member_id: "ResourceIdString",
|
522
538
|
# node_configuration: { # required
|
523
539
|
# instance_type: "InstanceTypeString", # required
|
524
|
-
# availability_zone: "AvailabilityZoneString",
|
540
|
+
# availability_zone: "AvailabilityZoneString",
|
525
541
|
# log_publishing_configuration: {
|
526
542
|
# fabric: {
|
527
543
|
# chaincode_logs: {
|
@@ -557,6 +573,8 @@ module Aws::ManagedBlockchain
|
|
557
573
|
# the network can vote on, for example, a proposal to add a new member
|
558
574
|
# to the network. Any member can create a proposal.
|
559
575
|
#
|
576
|
+
# Applies only to Hyperledger Fabric.
|
577
|
+
#
|
560
578
|
# @option params [required, String] :client_request_token
|
561
579
|
# A unique, case-sensitive identifier that you provide to ensure the
|
562
580
|
# idempotency of the operation. An idempotent operation completes no
|
@@ -632,6 +650,8 @@ module Aws::ManagedBlockchain
|
|
632
650
|
# member in a network specified by the last AWS account, the network is
|
633
651
|
# deleted also.
|
634
652
|
#
|
653
|
+
# Applies only to Hyperledger Fabric.
|
654
|
+
#
|
635
655
|
# @option params [required, String] :network_id
|
636
656
|
# The unique identifier of the network from which the member is removed.
|
637
657
|
#
|
@@ -656,15 +676,28 @@ module Aws::ManagedBlockchain
|
|
656
676
|
req.send_request(options)
|
657
677
|
end
|
658
678
|
|
659
|
-
# Deletes a
|
660
|
-
#
|
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.
|
661
683
|
#
|
662
684
|
# @option params [required, String] :network_id
|
663
|
-
# The unique identifier of the network that the node
|
685
|
+
# The unique identifier of the network that the node is on.
|
664
686
|
#
|
665
|
-
#
|
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
|
666
696
|
# The unique identifier of the member that owns this node.
|
667
697
|
#
|
698
|
+
# Applies only to Hyperledger Fabric and is required for Hyperledger
|
699
|
+
# Fabric.
|
700
|
+
#
|
668
701
|
# @option params [required, String] :node_id
|
669
702
|
# The unique identifier of the node.
|
670
703
|
#
|
@@ -674,7 +707,7 @@ module Aws::ManagedBlockchain
|
|
674
707
|
#
|
675
708
|
# resp = client.delete_node({
|
676
709
|
# network_id: "ResourceIdString", # required
|
677
|
-
# member_id: "ResourceIdString",
|
710
|
+
# member_id: "ResourceIdString",
|
678
711
|
# node_id: "ResourceIdString", # required
|
679
712
|
# })
|
680
713
|
#
|
@@ -689,6 +722,8 @@ module Aws::ManagedBlockchain
|
|
689
722
|
|
690
723
|
# Returns detailed information about a member.
|
691
724
|
#
|
725
|
+
# Applies only to Hyperledger Fabric.
|
726
|
+
#
|
692
727
|
# @option params [required, String] :network_id
|
693
728
|
# The unique identifier of the network to which the member belongs.
|
694
729
|
#
|
@@ -729,6 +764,8 @@ module Aws::ManagedBlockchain
|
|
729
764
|
|
730
765
|
# Returns detailed information about a network.
|
731
766
|
#
|
767
|
+
# Applies to Hyperledger Fabric and Ethereum.
|
768
|
+
#
|
732
769
|
# @option params [required, String] :network_id
|
733
770
|
# The unique identifier of the network to get information about.
|
734
771
|
#
|
@@ -747,10 +784,11 @@ module Aws::ManagedBlockchain
|
|
747
784
|
# resp.network.id #=> String
|
748
785
|
# resp.network.name #=> String
|
749
786
|
# resp.network.description #=> String
|
750
|
-
# resp.network.framework #=> String, one of "HYPERLEDGER_FABRIC"
|
787
|
+
# resp.network.framework #=> String, one of "HYPERLEDGER_FABRIC", "ETHEREUM"
|
751
788
|
# resp.network.framework_version #=> String
|
752
789
|
# resp.network.framework_attributes.fabric.ordering_service_endpoint #=> String
|
753
790
|
# resp.network.framework_attributes.fabric.edition #=> String, one of "STARTER", "STANDARD"
|
791
|
+
# resp.network.framework_attributes.ethereum.chain_id #=> String
|
754
792
|
# resp.network.vpc_endpoint_service_name #=> String
|
755
793
|
# resp.network.voting_policy.approval_threshold_policy.threshold_percentage #=> Integer
|
756
794
|
# resp.network.voting_policy.approval_threshold_policy.proposal_duration_in_hours #=> Integer
|
@@ -767,14 +805,19 @@ module Aws::ManagedBlockchain
|
|
767
805
|
req.send_request(options)
|
768
806
|
end
|
769
807
|
|
770
|
-
# Returns detailed information about a
|
808
|
+
# Returns detailed information about a node.
|
809
|
+
#
|
810
|
+
# Applies to Hyperledger Fabric and Ethereum.
|
771
811
|
#
|
772
812
|
# @option params [required, String] :network_id
|
773
|
-
# The unique identifier of the network
|
813
|
+
# The unique identifier of the network that the node is on.
|
774
814
|
#
|
775
|
-
# @option params [
|
815
|
+
# @option params [String] :member_id
|
776
816
|
# The unique identifier of the member that owns the node.
|
777
817
|
#
|
818
|
+
# Applies only to Hyperledger Fabric and is required for Hyperledger
|
819
|
+
# Fabric.
|
820
|
+
#
|
778
821
|
# @option params [required, String] :node_id
|
779
822
|
# The unique identifier of the node.
|
780
823
|
#
|
@@ -786,7 +829,7 @@ module Aws::ManagedBlockchain
|
|
786
829
|
#
|
787
830
|
# resp = client.get_node({
|
788
831
|
# network_id: "ResourceIdString", # required
|
789
|
-
# member_id: "ResourceIdString",
|
832
|
+
# member_id: "ResourceIdString",
|
790
833
|
# node_id: "ResourceIdString", # required
|
791
834
|
# })
|
792
835
|
#
|
@@ -799,10 +842,12 @@ module Aws::ManagedBlockchain
|
|
799
842
|
# resp.node.availability_zone #=> String
|
800
843
|
# resp.node.framework_attributes.fabric.peer_endpoint #=> String
|
801
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
|
802
847
|
# resp.node.log_publishing_configuration.fabric.chaincode_logs.cloudwatch.enabled #=> Boolean
|
803
848
|
# resp.node.log_publishing_configuration.fabric.peer_logs.cloudwatch.enabled #=> Boolean
|
804
849
|
# resp.node.state_db #=> String, one of "LevelDB", "CouchDB"
|
805
|
-
# resp.node.status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED", "FAILED"
|
850
|
+
# resp.node.status #=> String, one of "CREATING", "AVAILABLE", "UNHEALTHY", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED", "FAILED"
|
806
851
|
# resp.node.creation_date #=> Time
|
807
852
|
#
|
808
853
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNode AWS API Documentation
|
@@ -816,6 +861,8 @@ module Aws::ManagedBlockchain
|
|
816
861
|
|
817
862
|
# Returns detailed information about a proposal.
|
818
863
|
#
|
864
|
+
# Applies only to Hyperledger Fabric.
|
865
|
+
#
|
819
866
|
# @option params [required, String] :network_id
|
820
867
|
# The unique identifier of the network for which the proposal is made.
|
821
868
|
#
|
@@ -860,7 +907,9 @@ module Aws::ManagedBlockchain
|
|
860
907
|
req.send_request(options)
|
861
908
|
end
|
862
909
|
|
863
|
-
# Returns a
|
910
|
+
# Returns a list of all invitations for the current AWS account.
|
911
|
+
#
|
912
|
+
# Applies only to Hyperledger Fabric.
|
864
913
|
#
|
865
914
|
# @option params [Integer] :max_results
|
866
915
|
# The maximum number of invitations to return.
|
@@ -893,7 +942,7 @@ module Aws::ManagedBlockchain
|
|
893
942
|
# resp.invitations[0].network_summary.id #=> String
|
894
943
|
# resp.invitations[0].network_summary.name #=> String
|
895
944
|
# resp.invitations[0].network_summary.description #=> String
|
896
|
-
# resp.invitations[0].network_summary.framework #=> String, one of "HYPERLEDGER_FABRIC"
|
945
|
+
# resp.invitations[0].network_summary.framework #=> String, one of "HYPERLEDGER_FABRIC", "ETHEREUM"
|
897
946
|
# resp.invitations[0].network_summary.framework_version #=> String
|
898
947
|
# resp.invitations[0].network_summary.status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "DELETING", "DELETED"
|
899
948
|
# resp.invitations[0].network_summary.creation_date #=> Time
|
@@ -908,9 +957,11 @@ module Aws::ManagedBlockchain
|
|
908
957
|
req.send_request(options)
|
909
958
|
end
|
910
959
|
|
911
|
-
# Returns a
|
960
|
+
# Returns a list of the members in a network and properties of their
|
912
961
|
# configurations.
|
913
962
|
#
|
963
|
+
# Applies only to Hyperledger Fabric.
|
964
|
+
#
|
914
965
|
# @option params [required, String] :network_id
|
915
966
|
# The unique identifier of the network for which to list members.
|
916
967
|
#
|
@@ -972,7 +1023,9 @@ module Aws::ManagedBlockchain
|
|
972
1023
|
end
|
973
1024
|
|
974
1025
|
# Returns information about the networks in which the current AWS
|
975
|
-
# account
|
1026
|
+
# account participates.
|
1027
|
+
#
|
1028
|
+
# Applies to Hyperledger Fabric and Ethereum.
|
976
1029
|
#
|
977
1030
|
# @option params [String] :name
|
978
1031
|
# The name of the network.
|
@@ -985,6 +1038,8 @@ module Aws::ManagedBlockchain
|
|
985
1038
|
# An optional status specifier. If provided, only networks currently in
|
986
1039
|
# this status are listed.
|
987
1040
|
#
|
1041
|
+
# Applies only to Hyperledger Fabric.
|
1042
|
+
#
|
988
1043
|
# @option params [Integer] :max_results
|
989
1044
|
# The maximum number of networks to list.
|
990
1045
|
#
|
@@ -1003,7 +1058,7 @@ module Aws::ManagedBlockchain
|
|
1003
1058
|
#
|
1004
1059
|
# resp = client.list_networks({
|
1005
1060
|
# name: "String",
|
1006
|
-
# framework: "HYPERLEDGER_FABRIC", # accepts HYPERLEDGER_FABRIC
|
1061
|
+
# framework: "HYPERLEDGER_FABRIC", # accepts HYPERLEDGER_FABRIC, ETHEREUM
|
1007
1062
|
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, DELETING, DELETED
|
1008
1063
|
# max_results: 1,
|
1009
1064
|
# next_token: "PaginationToken",
|
@@ -1015,7 +1070,7 @@ module Aws::ManagedBlockchain
|
|
1015
1070
|
# resp.networks[0].id #=> String
|
1016
1071
|
# resp.networks[0].name #=> String
|
1017
1072
|
# resp.networks[0].description #=> String
|
1018
|
-
# resp.networks[0].framework #=> String, one of "HYPERLEDGER_FABRIC"
|
1073
|
+
# resp.networks[0].framework #=> String, one of "HYPERLEDGER_FABRIC", "ETHEREUM"
|
1019
1074
|
# resp.networks[0].framework_version #=> String
|
1020
1075
|
# resp.networks[0].status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "DELETING", "DELETED"
|
1021
1076
|
# resp.networks[0].creation_date #=> Time
|
@@ -1032,12 +1087,17 @@ module Aws::ManagedBlockchain
|
|
1032
1087
|
|
1033
1088
|
# Returns information about the nodes within a network.
|
1034
1089
|
#
|
1090
|
+
# Applies to Hyperledger Fabric and Ethereum.
|
1091
|
+
#
|
1035
1092
|
# @option params [required, String] :network_id
|
1036
1093
|
# The unique identifier of the network for which to list nodes.
|
1037
1094
|
#
|
1038
|
-
# @option params [
|
1095
|
+
# @option params [String] :member_id
|
1039
1096
|
# The unique identifier of the member who owns the nodes to list.
|
1040
1097
|
#
|
1098
|
+
# Applies only to Hyperledger Fabric and is required for Hyperledger
|
1099
|
+
# Fabric.
|
1100
|
+
#
|
1041
1101
|
# @option params [String] :status
|
1042
1102
|
# An optional status specifier. If provided, only nodes currently in
|
1043
1103
|
# this status are listed.
|
@@ -1060,8 +1120,8 @@ module Aws::ManagedBlockchain
|
|
1060
1120
|
#
|
1061
1121
|
# resp = client.list_nodes({
|
1062
1122
|
# network_id: "ResourceIdString", # required
|
1063
|
-
# member_id: "ResourceIdString",
|
1064
|
-
# 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
|
1065
1125
|
# max_results: 1,
|
1066
1126
|
# next_token: "PaginationToken",
|
1067
1127
|
# })
|
@@ -1070,7 +1130,7 @@ module Aws::ManagedBlockchain
|
|
1070
1130
|
#
|
1071
1131
|
# resp.nodes #=> Array
|
1072
1132
|
# resp.nodes[0].id #=> String
|
1073
|
-
# 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"
|
1074
1134
|
# resp.nodes[0].creation_date #=> Time
|
1075
1135
|
# resp.nodes[0].availability_zone #=> String
|
1076
1136
|
# resp.nodes[0].instance_type #=> String
|
@@ -1085,10 +1145,12 @@ module Aws::ManagedBlockchain
|
|
1085
1145
|
req.send_request(options)
|
1086
1146
|
end
|
1087
1147
|
|
1088
|
-
# Returns the
|
1148
|
+
# Returns the list of votes for a specified proposal, including the
|
1089
1149
|
# value of each vote and the unique identifier of the member that cast
|
1090
1150
|
# the vote.
|
1091
1151
|
#
|
1152
|
+
# Applies only to Hyperledger Fabric.
|
1153
|
+
#
|
1092
1154
|
# @option params [required, String] :network_id
|
1093
1155
|
# The unique identifier of the network.
|
1094
1156
|
#
|
@@ -1135,7 +1197,9 @@ module Aws::ManagedBlockchain
|
|
1135
1197
|
req.send_request(options)
|
1136
1198
|
end
|
1137
1199
|
|
1138
|
-
# Returns a
|
1200
|
+
# Returns a list of proposals for the network.
|
1201
|
+
#
|
1202
|
+
# Applies only to Hyperledger Fabric.
|
1139
1203
|
#
|
1140
1204
|
# @option params [required, String] :network_id
|
1141
1205
|
# The unique identifier of the network.
|
@@ -1187,6 +1251,8 @@ module Aws::ManagedBlockchain
|
|
1187
1251
|
# a principal in an AWS account that has received an invitation to
|
1188
1252
|
# create a member and join a network.
|
1189
1253
|
#
|
1254
|
+
# Applies only to Hyperledger Fabric.
|
1255
|
+
#
|
1190
1256
|
# @option params [required, String] :invitation_id
|
1191
1257
|
# The unique identifier of the invitation to reject.
|
1192
1258
|
#
|
@@ -1209,12 +1275,14 @@ module Aws::ManagedBlockchain
|
|
1209
1275
|
|
1210
1276
|
# Updates a member configuration with new parameters.
|
1211
1277
|
#
|
1278
|
+
# Applies only to Hyperledger Fabric.
|
1279
|
+
#
|
1212
1280
|
# @option params [required, String] :network_id
|
1213
|
-
# The unique
|
1214
|
-
# belongs.
|
1281
|
+
# The unique identifier of the Managed Blockchain network to which the
|
1282
|
+
# member belongs.
|
1215
1283
|
#
|
1216
1284
|
# @option params [required, String] :member_id
|
1217
|
-
# The unique
|
1285
|
+
# The unique identifier of the member.
|
1218
1286
|
#
|
1219
1287
|
# @option params [Types::MemberLogPublishingConfiguration] :log_publishing_configuration
|
1220
1288
|
# Configuration properties for publishing to Amazon CloudWatch Logs.
|
@@ -1248,15 +1316,18 @@ module Aws::ManagedBlockchain
|
|
1248
1316
|
|
1249
1317
|
# Updates a node configuration with new parameters.
|
1250
1318
|
#
|
1319
|
+
# Applies only to Hyperledger Fabric.
|
1320
|
+
#
|
1251
1321
|
# @option params [required, String] :network_id
|
1252
|
-
# The unique
|
1253
|
-
# belongs.
|
1322
|
+
# The unique identifier of the network that the node is on.
|
1254
1323
|
#
|
1255
|
-
# @option params [
|
1256
|
-
# 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.
|
1257
1328
|
#
|
1258
1329
|
# @option params [required, String] :node_id
|
1259
|
-
# The unique
|
1330
|
+
# The unique identifier of the node.
|
1260
1331
|
#
|
1261
1332
|
# @option params [Types::NodeLogPublishingConfiguration] :log_publishing_configuration
|
1262
1333
|
# Configuration properties for publishing to Amazon CloudWatch Logs.
|
@@ -1267,7 +1338,7 @@ module Aws::ManagedBlockchain
|
|
1267
1338
|
#
|
1268
1339
|
# resp = client.update_node({
|
1269
1340
|
# network_id: "ResourceIdString", # required
|
1270
|
-
# member_id: "ResourceIdString",
|
1341
|
+
# member_id: "ResourceIdString",
|
1271
1342
|
# node_id: "ResourceIdString", # required
|
1272
1343
|
# log_publishing_configuration: {
|
1273
1344
|
# fabric: {
|
@@ -1298,6 +1369,8 @@ module Aws::ManagedBlockchain
|
|
1298
1369
|
# member to vote as, specified by `VoterMemberId`, must be in the same
|
1299
1370
|
# AWS account as the principal that calls the action.
|
1300
1371
|
#
|
1372
|
+
# Applies only to Hyperledger Fabric.
|
1373
|
+
#
|
1301
1374
|
# @option params [required, String] :network_id
|
1302
1375
|
# The unique identifier of the network.
|
1303
1376
|
#
|
@@ -1343,7 +1416,7 @@ module Aws::ManagedBlockchain
|
|
1343
1416
|
params: params,
|
1344
1417
|
config: config)
|
1345
1418
|
context[:gem_name] = 'aws-sdk-managedblockchain'
|
1346
|
-
context[:gem_version] = '1.
|
1419
|
+
context[:gem_version] = '1.18.0'
|
1347
1420
|
Seahorse::Client::Request.new(handlers, context)
|
1348
1421
|
end
|
1349
1422
|
|
@@ -80,6 +80,7 @@ module Aws::ManagedBlockchain
|
|
80
80
|
MemberSummaryList = Shapes::ListShape.new(name: 'MemberSummaryList')
|
81
81
|
NameString = Shapes::StringShape.new(name: 'NameString')
|
82
82
|
Network = Shapes::StructureShape.new(name: 'Network')
|
83
|
+
NetworkEthereumAttributes = Shapes::StructureShape.new(name: 'NetworkEthereumAttributes')
|
83
84
|
NetworkFabricAttributes = Shapes::StructureShape.new(name: 'NetworkFabricAttributes')
|
84
85
|
NetworkFabricConfiguration = Shapes::StructureShape.new(name: 'NetworkFabricConfiguration')
|
85
86
|
NetworkFrameworkAttributes = Shapes::StructureShape.new(name: 'NetworkFrameworkAttributes')
|
@@ -91,6 +92,7 @@ module Aws::ManagedBlockchain
|
|
91
92
|
NetworkSummaryList = Shapes::ListShape.new(name: 'NetworkSummaryList')
|
92
93
|
Node = Shapes::StructureShape.new(name: 'Node')
|
93
94
|
NodeConfiguration = Shapes::StructureShape.new(name: 'NodeConfiguration')
|
95
|
+
NodeEthereumAttributes = Shapes::StructureShape.new(name: 'NodeEthereumAttributes')
|
94
96
|
NodeFabricAttributes = Shapes::StructureShape.new(name: 'NodeFabricAttributes')
|
95
97
|
NodeFabricLogPublishingConfiguration = Shapes::StructureShape.new(name: 'NodeFabricLogPublishingConfiguration')
|
96
98
|
NodeFrameworkAttributes = Shapes::StructureShape.new(name: 'NodeFrameworkAttributes')
|
@@ -137,6 +139,7 @@ module Aws::ManagedBlockchain
|
|
137
139
|
VoteValue = Shapes::StringShape.new(name: 'VoteValue')
|
138
140
|
VotingPolicy = Shapes::StructureShape.new(name: 'VotingPolicy')
|
139
141
|
|
142
|
+
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
140
143
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
141
144
|
|
142
145
|
ApprovalThresholdPolicy.add_member(:threshold_percentage, Shapes::ShapeRef.new(shape: ThresholdPercentageInt, location_name: "ThresholdPercentage"))
|
@@ -169,7 +172,7 @@ module Aws::ManagedBlockchain
|
|
169
172
|
|
170
173
|
CreateNodeInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, required: true, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
171
174
|
CreateNodeInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
|
172
|
-
CreateNodeInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString,
|
175
|
+
CreateNodeInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "MemberId"))
|
173
176
|
CreateNodeInput.add_member(:node_configuration, Shapes::ShapeRef.new(shape: NodeConfiguration, required: true, location_name: "NodeConfiguration"))
|
174
177
|
CreateNodeInput.struct_class = Types::CreateNodeInput
|
175
178
|
|
@@ -193,7 +196,7 @@ module Aws::ManagedBlockchain
|
|
193
196
|
DeleteMemberOutput.struct_class = Types::DeleteMemberOutput
|
194
197
|
|
195
198
|
DeleteNodeInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
|
196
|
-
DeleteNodeInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString,
|
199
|
+
DeleteNodeInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, location: "querystring", location_name: "memberId"))
|
197
200
|
DeleteNodeInput.add_member(:node_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "nodeId"))
|
198
201
|
DeleteNodeInput.struct_class = Types::DeleteNodeInput
|
199
202
|
|
@@ -213,7 +216,7 @@ module Aws::ManagedBlockchain
|
|
213
216
|
GetNetworkOutput.struct_class = Types::GetNetworkOutput
|
214
217
|
|
215
218
|
GetNodeInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
|
216
|
-
GetNodeInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString,
|
219
|
+
GetNodeInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, location: "querystring", location_name: "memberId"))
|
217
220
|
GetNodeInput.add_member(:node_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "nodeId"))
|
218
221
|
GetNodeInput.struct_class = Types::GetNodeInput
|
219
222
|
|
@@ -281,7 +284,7 @@ module Aws::ManagedBlockchain
|
|
281
284
|
ListNetworksOutput.struct_class = Types::ListNetworksOutput
|
282
285
|
|
283
286
|
ListNodesInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
|
284
|
-
ListNodesInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString,
|
287
|
+
ListNodesInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, location: "querystring", location_name: "memberId"))
|
285
288
|
ListNodesInput.add_member(:status, Shapes::ShapeRef.new(shape: NodeStatus, location: "querystring", location_name: "status"))
|
286
289
|
ListNodesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: NodeListMaxResults, location: "querystring", location_name: "maxResults"))
|
287
290
|
ListNodesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
@@ -374,6 +377,9 @@ module Aws::ManagedBlockchain
|
|
374
377
|
Network.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
|
375
378
|
Network.struct_class = Types::Network
|
376
379
|
|
380
|
+
NetworkEthereumAttributes.add_member(:chain_id, Shapes::ShapeRef.new(shape: String, location_name: "ChainId"))
|
381
|
+
NetworkEthereumAttributes.struct_class = Types::NetworkEthereumAttributes
|
382
|
+
|
377
383
|
NetworkFabricAttributes.add_member(:ordering_service_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "OrderingServiceEndpoint"))
|
378
384
|
NetworkFabricAttributes.add_member(:edition, Shapes::ShapeRef.new(shape: Edition, location_name: "Edition"))
|
379
385
|
NetworkFabricAttributes.struct_class = Types::NetworkFabricAttributes
|
@@ -382,6 +388,7 @@ module Aws::ManagedBlockchain
|
|
382
388
|
NetworkFabricConfiguration.struct_class = Types::NetworkFabricConfiguration
|
383
389
|
|
384
390
|
NetworkFrameworkAttributes.add_member(:fabric, Shapes::ShapeRef.new(shape: NetworkFabricAttributes, location_name: "Fabric"))
|
391
|
+
NetworkFrameworkAttributes.add_member(:ethereum, Shapes::ShapeRef.new(shape: NetworkEthereumAttributes, location_name: "Ethereum"))
|
385
392
|
NetworkFrameworkAttributes.struct_class = Types::NetworkFrameworkAttributes
|
386
393
|
|
387
394
|
NetworkFrameworkConfiguration.add_member(:fabric, Shapes::ShapeRef.new(shape: NetworkFabricConfiguration, location_name: "Fabric"))
|
@@ -411,11 +418,15 @@ module Aws::ManagedBlockchain
|
|
411
418
|
Node.struct_class = Types::Node
|
412
419
|
|
413
420
|
NodeConfiguration.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceTypeString, required: true, location_name: "InstanceType"))
|
414
|
-
NodeConfiguration.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneString,
|
421
|
+
NodeConfiguration.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneString, location_name: "AvailabilityZone"))
|
415
422
|
NodeConfiguration.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: NodeLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
|
416
423
|
NodeConfiguration.add_member(:state_db, Shapes::ShapeRef.new(shape: StateDBType, location_name: "StateDB"))
|
417
424
|
NodeConfiguration.struct_class = Types::NodeConfiguration
|
418
425
|
|
426
|
+
NodeEthereumAttributes.add_member(:http_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "HttpEndpoint"))
|
427
|
+
NodeEthereumAttributes.add_member(:web_socket_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "WebSocketEndpoint"))
|
428
|
+
NodeEthereumAttributes.struct_class = Types::NodeEthereumAttributes
|
429
|
+
|
419
430
|
NodeFabricAttributes.add_member(:peer_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "PeerEndpoint"))
|
420
431
|
NodeFabricAttributes.add_member(:peer_event_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "PeerEventEndpoint"))
|
421
432
|
NodeFabricAttributes.struct_class = Types::NodeFabricAttributes
|
@@ -425,6 +436,7 @@ module Aws::ManagedBlockchain
|
|
425
436
|
NodeFabricLogPublishingConfiguration.struct_class = Types::NodeFabricLogPublishingConfiguration
|
426
437
|
|
427
438
|
NodeFrameworkAttributes.add_member(:fabric, Shapes::ShapeRef.new(shape: NodeFabricAttributes, location_name: "Fabric"))
|
439
|
+
NodeFrameworkAttributes.add_member(:ethereum, Shapes::ShapeRef.new(shape: NodeEthereumAttributes, location_name: "Ethereum"))
|
428
440
|
NodeFrameworkAttributes.struct_class = Types::NodeFrameworkAttributes
|
429
441
|
|
430
442
|
NodeLogPublishingConfiguration.add_member(:fabric, Shapes::ShapeRef.new(shape: NodeFabricLogPublishingConfiguration, location_name: "Fabric"))
|
@@ -502,7 +514,7 @@ module Aws::ManagedBlockchain
|
|
502
514
|
UpdateMemberOutput.struct_class = Types::UpdateMemberOutput
|
503
515
|
|
504
516
|
UpdateNodeInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
|
505
|
-
UpdateNodeInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString,
|
517
|
+
UpdateNodeInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "MemberId"))
|
506
518
|
UpdateNodeInput.add_member(:node_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "nodeId"))
|
507
519
|
UpdateNodeInput.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: NodeLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
|
508
520
|
UpdateNodeInput.struct_class = Types::UpdateNodeInput
|
@@ -577,7 +589,7 @@ module Aws::ManagedBlockchain
|
|
577
589
|
api.add_operation(:create_node, Seahorse::Model::Operation.new.tap do |o|
|
578
590
|
o.name = "CreateNode"
|
579
591
|
o.http_method = "POST"
|
580
|
-
o.http_request_uri = "/networks/{networkId}/
|
592
|
+
o.http_request_uri = "/networks/{networkId}/nodes"
|
581
593
|
o.input = Shapes::ShapeRef.new(shape: CreateNodeInput)
|
582
594
|
o.output = Shapes::ShapeRef.new(shape: CreateNodeOutput)
|
583
595
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
@@ -621,7 +633,7 @@ module Aws::ManagedBlockchain
|
|
621
633
|
api.add_operation(:delete_node, Seahorse::Model::Operation.new.tap do |o|
|
622
634
|
o.name = "DeleteNode"
|
623
635
|
o.http_method = "DELETE"
|
624
|
-
o.http_request_uri = "/networks/{networkId}/
|
636
|
+
o.http_request_uri = "/networks/{networkId}/nodes/{nodeId}"
|
625
637
|
o.input = Shapes::ShapeRef.new(shape: DeleteNodeInput)
|
626
638
|
o.output = Shapes::ShapeRef.new(shape: DeleteNodeOutput)
|
627
639
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
@@ -661,7 +673,7 @@ module Aws::ManagedBlockchain
|
|
661
673
|
api.add_operation(:get_node, Seahorse::Model::Operation.new.tap do |o|
|
662
674
|
o.name = "GetNode"
|
663
675
|
o.http_method = "GET"
|
664
|
-
o.http_request_uri = "/networks/{networkId}/
|
676
|
+
o.http_request_uri = "/networks/{networkId}/nodes/{nodeId}"
|
665
677
|
o.input = Shapes::ShapeRef.new(shape: GetNodeInput)
|
666
678
|
o.output = Shapes::ShapeRef.new(shape: GetNodeOutput)
|
667
679
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
@@ -743,7 +755,7 @@ module Aws::ManagedBlockchain
|
|
743
755
|
api.add_operation(:list_nodes, Seahorse::Model::Operation.new.tap do |o|
|
744
756
|
o.name = "ListNodes"
|
745
757
|
o.http_method = "GET"
|
746
|
-
o.http_request_uri = "/networks/{networkId}/
|
758
|
+
o.http_request_uri = "/networks/{networkId}/nodes"
|
747
759
|
o.input = Shapes::ShapeRef.new(shape: ListNodesInput)
|
748
760
|
o.output = Shapes::ShapeRef.new(shape: ListNodesOutput)
|
749
761
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
@@ -825,7 +837,7 @@ module Aws::ManagedBlockchain
|
|
825
837
|
api.add_operation(:update_node, Seahorse::Model::Operation.new.tap do |o|
|
826
838
|
o.name = "UpdateNode"
|
827
839
|
o.http_method = "PATCH"
|
828
|
-
o.http_request_uri = "/networks/{networkId}/
|
840
|
+
o.http_request_uri = "/networks/{networkId}/nodes/{nodeId}"
|
829
841
|
o.input = Shapes::ShapeRef.new(shape: UpdateNodeInput)
|
830
842
|
o.output = Shapes::ShapeRef.new(shape: UpdateNodeOutput)
|
831
843
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
@@ -51,6 +51,11 @@ module Aws::ManagedBlockchain
|
|
51
51
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
52
52
|
super(context, message, data)
|
53
53
|
end
|
54
|
+
|
55
|
+
# @return [String]
|
56
|
+
def message
|
57
|
+
@message || @data[:message]
|
58
|
+
end
|
54
59
|
end
|
55
60
|
|
56
61
|
class IllegalActionException < ServiceError
|
@@ -12,9 +12,16 @@ module Aws::ManagedBlockchain
|
|
12
12
|
|
13
13
|
# You do not have sufficient access to perform this action.
|
14
14
|
#
|
15
|
+
# @!attribute [rw] message
|
16
|
+
# @return [String]
|
17
|
+
#
|
15
18
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/AccessDeniedException AWS API Documentation
|
16
19
|
#
|
17
|
-
class AccessDeniedException <
|
20
|
+
class AccessDeniedException < Struct.new(
|
21
|
+
:message)
|
22
|
+
SENSITIVE = []
|
23
|
+
include Aws::Structure
|
24
|
+
end
|
18
25
|
|
19
26
|
# A policy type that defines the voting rules for the network. The rules
|
20
27
|
# decide if a proposal is approved. Approval may be based on criteria
|
@@ -22,6 +29,8 @@ module Aws::ManagedBlockchain
|
|
22
29
|
# proposal. The policy applies to all proposals and is specified when
|
23
30
|
# the network is created.
|
24
31
|
#
|
32
|
+
# Applies only to Hyperledger Fabric.
|
33
|
+
#
|
25
34
|
# @note When making an API call, you may pass ApprovalThresholdPolicy
|
26
35
|
# data as a hash:
|
27
36
|
#
|
@@ -147,7 +156,7 @@ module Aws::ManagedBlockchain
|
|
147
156
|
# client_request_token: "ClientRequestTokenString", # required
|
148
157
|
# name: "NameString", # required
|
149
158
|
# description: "DescriptionString",
|
150
|
-
# framework: "HYPERLEDGER_FABRIC", # required, accepts HYPERLEDGER_FABRIC
|
159
|
+
# framework: "HYPERLEDGER_FABRIC", # required, accepts HYPERLEDGER_FABRIC, ETHEREUM
|
151
160
|
# framework_version: "FrameworkVersionString", # required
|
152
161
|
# framework_configuration: {
|
153
162
|
# fabric: {
|
@@ -261,10 +270,10 @@ module Aws::ManagedBlockchain
|
|
261
270
|
# {
|
262
271
|
# client_request_token: "ClientRequestTokenString", # required
|
263
272
|
# network_id: "ResourceIdString", # required
|
264
|
-
# member_id: "ResourceIdString",
|
273
|
+
# member_id: "ResourceIdString",
|
265
274
|
# node_configuration: { # required
|
266
275
|
# instance_type: "InstanceTypeString", # required
|
267
|
-
# availability_zone: "AvailabilityZoneString",
|
276
|
+
# availability_zone: "AvailabilityZoneString",
|
268
277
|
# log_publishing_configuration: {
|
269
278
|
# fabric: {
|
270
279
|
# chaincode_logs: {
|
@@ -295,11 +304,21 @@ module Aws::ManagedBlockchain
|
|
295
304
|
# @return [String]
|
296
305
|
#
|
297
306
|
# @!attribute [rw] network_id
|
298
|
-
# The unique identifier of the network
|
307
|
+
# The unique identifier of the network for the node.
|
308
|
+
#
|
309
|
+
# Ethereum public networks have the following `NetworkId`s:
|
310
|
+
#
|
311
|
+
# * `n-ethereum-mainnet`
|
312
|
+
#
|
313
|
+
# * `n-ethereum-rinkeby`
|
314
|
+
#
|
315
|
+
# * `n-ethereum-ropsten`
|
299
316
|
# @return [String]
|
300
317
|
#
|
301
318
|
# @!attribute [rw] member_id
|
302
319
|
# The unique identifier of the member that owns this node.
|
320
|
+
#
|
321
|
+
# Applies only to Hyperledger Fabric.
|
303
322
|
# @return [String]
|
304
323
|
#
|
305
324
|
# @!attribute [rw] node_configuration
|
@@ -444,16 +463,27 @@ module Aws::ManagedBlockchain
|
|
444
463
|
#
|
445
464
|
# {
|
446
465
|
# network_id: "ResourceIdString", # required
|
447
|
-
# member_id: "ResourceIdString",
|
466
|
+
# member_id: "ResourceIdString",
|
448
467
|
# node_id: "ResourceIdString", # required
|
449
468
|
# }
|
450
469
|
#
|
451
470
|
# @!attribute [rw] network_id
|
452
|
-
# The unique identifier of the network that the node
|
471
|
+
# The unique identifier of the network that the node is on.
|
472
|
+
#
|
473
|
+
# Ethereum public networks have the following `NetworkId`s:
|
474
|
+
#
|
475
|
+
# * `n-ethereum-mainnet`
|
476
|
+
#
|
477
|
+
# * `n-ethereum-rinkeby`
|
478
|
+
#
|
479
|
+
# * `n-ethereum-ropsten`
|
453
480
|
# @return [String]
|
454
481
|
#
|
455
482
|
# @!attribute [rw] member_id
|
456
483
|
# The unique identifier of the member that owns this node.
|
484
|
+
#
|
485
|
+
# Applies only to Hyperledger Fabric and is required for Hyperledger
|
486
|
+
# Fabric.
|
457
487
|
# @return [String]
|
458
488
|
#
|
459
489
|
# @!attribute [rw] node_id
|
@@ -547,16 +577,19 @@ module Aws::ManagedBlockchain
|
|
547
577
|
#
|
548
578
|
# {
|
549
579
|
# network_id: "ResourceIdString", # required
|
550
|
-
# member_id: "ResourceIdString",
|
580
|
+
# member_id: "ResourceIdString",
|
551
581
|
# node_id: "ResourceIdString", # required
|
552
582
|
# }
|
553
583
|
#
|
554
584
|
# @!attribute [rw] network_id
|
555
|
-
# The unique identifier of the network
|
585
|
+
# The unique identifier of the network that the node is on.
|
556
586
|
# @return [String]
|
557
587
|
#
|
558
588
|
# @!attribute [rw] member_id
|
559
589
|
# The unique identifier of the member that owns the node.
|
590
|
+
#
|
591
|
+
# Applies only to Hyperledger Fabric and is required for Hyperledger
|
592
|
+
# Fabric.
|
560
593
|
# @return [String]
|
561
594
|
#
|
562
595
|
# @!attribute [rw] node_id
|
@@ -657,6 +690,8 @@ module Aws::ManagedBlockchain
|
|
657
690
|
# An invitation to an AWS account to create a member and join the
|
658
691
|
# network.
|
659
692
|
#
|
693
|
+
# Applies only to Hyperledger Fabric.
|
694
|
+
#
|
660
695
|
# @!attribute [rw] invitation_id
|
661
696
|
# The unique identifier for the invitation.
|
662
697
|
# @return [String]
|
@@ -711,6 +746,8 @@ module Aws::ManagedBlockchain
|
|
711
746
|
# the network. The `InviteAction` is carried out when a `Proposal` is
|
712
747
|
# `APPROVED`.
|
713
748
|
#
|
749
|
+
# Applies only to Hyperledger Fabric.
|
750
|
+
#
|
714
751
|
# @note When making an API call, you may pass InviteAction
|
715
752
|
# data as a hash:
|
716
753
|
#
|
@@ -852,7 +889,7 @@ module Aws::ManagedBlockchain
|
|
852
889
|
#
|
853
890
|
# {
|
854
891
|
# name: "String",
|
855
|
-
# framework: "HYPERLEDGER_FABRIC", # accepts HYPERLEDGER_FABRIC
|
892
|
+
# framework: "HYPERLEDGER_FABRIC", # accepts HYPERLEDGER_FABRIC, ETHEREUM
|
856
893
|
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, DELETING, DELETED
|
857
894
|
# max_results: 1,
|
858
895
|
# next_token: "PaginationToken",
|
@@ -870,6 +907,8 @@ module Aws::ManagedBlockchain
|
|
870
907
|
# @!attribute [rw] status
|
871
908
|
# An optional status specifier. If provided, only networks currently
|
872
909
|
# in this status are listed.
|
910
|
+
#
|
911
|
+
# Applies only to Hyperledger Fabric.
|
873
912
|
# @return [String]
|
874
913
|
#
|
875
914
|
# @!attribute [rw] max_results
|
@@ -917,8 +956,8 @@ module Aws::ManagedBlockchain
|
|
917
956
|
#
|
918
957
|
# {
|
919
958
|
# network_id: "ResourceIdString", # required
|
920
|
-
# member_id: "ResourceIdString",
|
921
|
-
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, UPDATING, DELETING, DELETED, FAILED
|
959
|
+
# member_id: "ResourceIdString",
|
960
|
+
# status: "CREATING", # accepts CREATING, AVAILABLE, UNHEALTHY, CREATE_FAILED, UPDATING, DELETING, DELETED, FAILED
|
922
961
|
# max_results: 1,
|
923
962
|
# next_token: "PaginationToken",
|
924
963
|
# }
|
@@ -929,6 +968,9 @@ module Aws::ManagedBlockchain
|
|
929
968
|
#
|
930
969
|
# @!attribute [rw] member_id
|
931
970
|
# The unique identifier of the member who owns the nodes to list.
|
971
|
+
#
|
972
|
+
# Applies only to Hyperledger Fabric and is required for Hyperledger
|
973
|
+
# Fabric.
|
932
974
|
# @return [String]
|
933
975
|
#
|
934
976
|
# @!attribute [rw] status
|
@@ -1015,7 +1057,7 @@ module Aws::ManagedBlockchain
|
|
1015
1057
|
end
|
1016
1058
|
|
1017
1059
|
# @!attribute [rw] proposal_votes
|
1018
|
-
# The
|
1060
|
+
# The list of votes.
|
1019
1061
|
# @return [Array<Types::VoteSummary>]
|
1020
1062
|
#
|
1021
1063
|
# @!attribute [rw] next_token
|
@@ -1128,6 +1170,8 @@ module Aws::ManagedBlockchain
|
|
1128
1170
|
|
1129
1171
|
# Member configuration properties.
|
1130
1172
|
#
|
1173
|
+
# Applies only to Hyperledger Fabric.
|
1174
|
+
#
|
1131
1175
|
# @!attribute [rw] network_id
|
1132
1176
|
# The unique identifier of the network to which the member belongs.
|
1133
1177
|
# @return [String]
|
@@ -1198,6 +1242,8 @@ module Aws::ManagedBlockchain
|
|
1198
1242
|
|
1199
1243
|
# Configuration properties of the member.
|
1200
1244
|
#
|
1245
|
+
# Applies only to Hyperledger Fabric.
|
1246
|
+
#
|
1201
1247
|
# @note When making an API call, you may pass MemberConfiguration
|
1202
1248
|
# data as a hash:
|
1203
1249
|
#
|
@@ -1290,8 +1336,8 @@ module Aws::ManagedBlockchain
|
|
1290
1336
|
# `AdminPassword` must be at least eight characters long and no more
|
1291
1337
|
# than 32 characters. It must contain at least one uppercase letter,
|
1292
1338
|
# one lowercase letter, and one digit. It cannot have a single
|
1293
|
-
#
|
1294
|
-
# or a space.
|
1339
|
+
# quotation mark (‘), a double quotation marks (“), a forward
|
1340
|
+
# slash(/), a backward slash(\\), @, or a space.
|
1295
1341
|
# @return [String]
|
1296
1342
|
#
|
1297
1343
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/MemberFabricConfiguration AWS API Documentation
|
@@ -1407,6 +1453,8 @@ module Aws::ManagedBlockchain
|
|
1407
1453
|
|
1408
1454
|
# A summary of configuration properties for a member.
|
1409
1455
|
#
|
1456
|
+
# Applies only to Hyperledger Fabric.
|
1457
|
+
#
|
1410
1458
|
# @!attribute [rw] id
|
1411
1459
|
# The unique identifier of the member.
|
1412
1460
|
# @return [String]
|
@@ -1526,6 +1574,27 @@ module Aws::ManagedBlockchain
|
|
1526
1574
|
include Aws::Structure
|
1527
1575
|
end
|
1528
1576
|
|
1577
|
+
# Attributes of Ethereum for a network.
|
1578
|
+
#
|
1579
|
+
# @!attribute [rw] chain_id
|
1580
|
+
# The Ethereum `CHAIN_ID` associated with the Ethereum network. Chain
|
1581
|
+
# IDs are as follows:
|
1582
|
+
#
|
1583
|
+
# * mainnet = `1`
|
1584
|
+
#
|
1585
|
+
# * rinkeby = `4`
|
1586
|
+
#
|
1587
|
+
# * ropsten = `3`
|
1588
|
+
# @return [String]
|
1589
|
+
#
|
1590
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NetworkEthereumAttributes AWS API Documentation
|
1591
|
+
#
|
1592
|
+
class NetworkEthereumAttributes < Struct.new(
|
1593
|
+
:chain_id)
|
1594
|
+
SENSITIVE = []
|
1595
|
+
include Aws::Structure
|
1596
|
+
end
|
1597
|
+
|
1529
1598
|
# Attributes of Hyperledger Fabric for a network.
|
1530
1599
|
#
|
1531
1600
|
# @!attribute [rw] ordering_service_endpoint
|
@@ -1585,10 +1654,16 @@ module Aws::ManagedBlockchain
|
|
1585
1654
|
# that uses Hyperledger Fabric.
|
1586
1655
|
# @return [Types::NetworkFabricAttributes]
|
1587
1656
|
#
|
1657
|
+
# @!attribute [rw] ethereum
|
1658
|
+
# Attributes of an Ethereum network for Managed Blockchain resources
|
1659
|
+
# participating in an Ethereum network.
|
1660
|
+
# @return [Types::NetworkEthereumAttributes]
|
1661
|
+
#
|
1588
1662
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NetworkFrameworkAttributes AWS API Documentation
|
1589
1663
|
#
|
1590
1664
|
class NetworkFrameworkAttributes < Struct.new(
|
1591
|
-
:fabric
|
1665
|
+
:fabric,
|
1666
|
+
:ethereum)
|
1592
1667
|
SENSITIVE = []
|
1593
1668
|
include Aws::Structure
|
1594
1669
|
end
|
@@ -1662,14 +1737,16 @@ module Aws::ManagedBlockchain
|
|
1662
1737
|
include Aws::Structure
|
1663
1738
|
end
|
1664
1739
|
|
1665
|
-
# Configuration properties of a
|
1740
|
+
# Configuration properties of a node.
|
1666
1741
|
#
|
1667
1742
|
# @!attribute [rw] network_id
|
1668
|
-
# The unique identifier of the network that the node is
|
1743
|
+
# The unique identifier of the network that the node is on.
|
1669
1744
|
# @return [String]
|
1670
1745
|
#
|
1671
1746
|
# @!attribute [rw] member_id
|
1672
1747
|
# The unique identifier of the member to which the node belongs.
|
1748
|
+
#
|
1749
|
+
# Applies only to Hyperledger Fabric.
|
1673
1750
|
# @return [String]
|
1674
1751
|
#
|
1675
1752
|
# @!attribute [rw] id
|
@@ -1690,12 +1767,14 @@ module Aws::ManagedBlockchain
|
|
1690
1767
|
#
|
1691
1768
|
# @!attribute [rw] log_publishing_configuration
|
1692
1769
|
# Configuration properties for logging events associated with a peer
|
1693
|
-
# node
|
1770
|
+
# node on a Hyperledger Fabric network on Managed Blockchain.
|
1694
1771
|
# @return [Types::NodeLogPublishingConfiguration]
|
1695
1772
|
#
|
1696
1773
|
# @!attribute [rw] state_db
|
1697
1774
|
# The state database that the node uses. Values are `LevelDB` or
|
1698
1775
|
# `CouchDB`.
|
1776
|
+
#
|
1777
|
+
# Applies only to Hyperledger Fabric.
|
1699
1778
|
# @return [String]
|
1700
1779
|
#
|
1701
1780
|
# @!attribute [rw] status
|
@@ -1723,14 +1802,14 @@ module Aws::ManagedBlockchain
|
|
1723
1802
|
include Aws::Structure
|
1724
1803
|
end
|
1725
1804
|
|
1726
|
-
# Configuration properties of a
|
1805
|
+
# Configuration properties of a node.
|
1727
1806
|
#
|
1728
1807
|
# @note When making an API call, you may pass NodeConfiguration
|
1729
1808
|
# data as a hash:
|
1730
1809
|
#
|
1731
1810
|
# {
|
1732
1811
|
# instance_type: "InstanceTypeString", # required
|
1733
|
-
# availability_zone: "AvailabilityZoneString",
|
1812
|
+
# availability_zone: "AvailabilityZoneString",
|
1734
1813
|
# log_publishing_configuration: {
|
1735
1814
|
# fabric: {
|
1736
1815
|
# chaincode_logs: {
|
@@ -1758,13 +1837,15 @@ module Aws::ManagedBlockchain
|
|
1758
1837
|
#
|
1759
1838
|
# @!attribute [rw] log_publishing_configuration
|
1760
1839
|
# Configuration properties for logging events associated with a peer
|
1761
|
-
# node
|
1840
|
+
# node on a Hyperledger Fabric network on Managed Blockchain.
|
1762
1841
|
# @return [Types::NodeLogPublishingConfiguration]
|
1763
1842
|
#
|
1764
1843
|
# @!attribute [rw] state_db
|
1765
1844
|
# The state database that the node uses. Values are `LevelDB` or
|
1766
1845
|
# `CouchDB`. When using an Amazon Managed Blockchain network with
|
1767
1846
|
# Hyperledger Fabric version 1.4 or later, the default is `CouchDB`.
|
1847
|
+
#
|
1848
|
+
# Applies only to Hyperledger Fabric.
|
1768
1849
|
# @return [String]
|
1769
1850
|
#
|
1770
1851
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NodeConfiguration AWS API Documentation
|
@@ -1778,8 +1859,43 @@ module Aws::ManagedBlockchain
|
|
1778
1859
|
include Aws::Structure
|
1779
1860
|
end
|
1780
1861
|
|
1781
|
-
# Attributes of
|
1782
|
-
#
|
1862
|
+
# Attributes of an Ethereum node.
|
1863
|
+
#
|
1864
|
+
# @!attribute [rw] http_endpoint
|
1865
|
+
# The endpoint on which the Ethereum node listens to run Ethereum
|
1866
|
+
# JSON-RPC methods over HTTP connections from a client. Use this
|
1867
|
+
# endpoint in client code for smart contracts when using an HTTP
|
1868
|
+
# connection. Connections to this endpoint are authenticated using
|
1869
|
+
# [Signature Version 4][1].
|
1870
|
+
#
|
1871
|
+
#
|
1872
|
+
#
|
1873
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
|
1874
|
+
# @return [String]
|
1875
|
+
#
|
1876
|
+
# @!attribute [rw] web_socket_endpoint
|
1877
|
+
# The endpoint on which the Ethereum node listens to run Ethereum
|
1878
|
+
# JSON-RPC methods over WebSockets connections from a client. Use this
|
1879
|
+
# endpoint in client code for smart contracts when using a WebSockets
|
1880
|
+
# connection. Connections to this endpoint are authenticated using
|
1881
|
+
# [Signature Version 4][1].
|
1882
|
+
#
|
1883
|
+
#
|
1884
|
+
#
|
1885
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
|
1886
|
+
# @return [String]
|
1887
|
+
#
|
1888
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NodeEthereumAttributes AWS API Documentation
|
1889
|
+
#
|
1890
|
+
class NodeEthereumAttributes < Struct.new(
|
1891
|
+
:http_endpoint,
|
1892
|
+
:web_socket_endpoint)
|
1893
|
+
SENSITIVE = []
|
1894
|
+
include Aws::Structure
|
1895
|
+
end
|
1896
|
+
|
1897
|
+
# Attributes of Hyperledger Fabric for a peer node on a Hyperledger
|
1898
|
+
# Fabric network on Managed Blockchain.
|
1783
1899
|
#
|
1784
1900
|
# @!attribute [rw] peer_endpoint
|
1785
1901
|
# The endpoint that identifies the peer node for all services except
|
@@ -1844,24 +1960,30 @@ module Aws::ManagedBlockchain
|
|
1844
1960
|
include Aws::Structure
|
1845
1961
|
end
|
1846
1962
|
|
1847
|
-
# Attributes relevant to a
|
1848
|
-
#
|
1963
|
+
# Attributes relevant to a node on a Managed Blockchain network for the
|
1964
|
+
# blockchain framework that the network uses.
|
1849
1965
|
#
|
1850
1966
|
# @!attribute [rw] fabric
|
1851
1967
|
# Attributes of Hyperledger Fabric for a peer node on a Managed
|
1852
1968
|
# Blockchain network that uses Hyperledger Fabric.
|
1853
1969
|
# @return [Types::NodeFabricAttributes]
|
1854
1970
|
#
|
1971
|
+
# @!attribute [rw] ethereum
|
1972
|
+
# Attributes of Ethereum for a node on a Managed Blockchain network
|
1973
|
+
# that uses Ethereum.
|
1974
|
+
# @return [Types::NodeEthereumAttributes]
|
1975
|
+
#
|
1855
1976
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NodeFrameworkAttributes AWS API Documentation
|
1856
1977
|
#
|
1857
1978
|
class NodeFrameworkAttributes < Struct.new(
|
1858
|
-
:fabric
|
1979
|
+
:fabric,
|
1980
|
+
:ethereum)
|
1859
1981
|
SENSITIVE = []
|
1860
1982
|
include Aws::Structure
|
1861
1983
|
end
|
1862
1984
|
|
1863
1985
|
# Configuration properties for logging events associated with a peer
|
1864
|
-
# node
|
1986
|
+
# node on a Hyperledger Fabric network on Managed Blockchain.
|
1865
1987
|
#
|
1866
1988
|
# @note When making an API call, you may pass NodeLogPublishingConfiguration
|
1867
1989
|
# data as a hash:
|
@@ -1895,7 +2017,7 @@ module Aws::ManagedBlockchain
|
|
1895
2017
|
include Aws::Structure
|
1896
2018
|
end
|
1897
2019
|
|
1898
|
-
# A summary of configuration properties for a
|
2020
|
+
# A summary of configuration properties for a node.
|
1899
2021
|
#
|
1900
2022
|
# @!attribute [rw] id
|
1901
2023
|
# The unique identifier of the node.
|
@@ -1931,6 +2053,8 @@ module Aws::ManagedBlockchain
|
|
1931
2053
|
|
1932
2054
|
# Properties of a proposal on a Managed Blockchain network.
|
1933
2055
|
#
|
2056
|
+
# Applies only to Hyperledger Fabric.
|
2057
|
+
#
|
1934
2058
|
# @!attribute [rw] proposal_id
|
1935
2059
|
# The unique identifier of the proposal.
|
1936
2060
|
# @return [String]
|
@@ -2027,6 +2151,8 @@ module Aws::ManagedBlockchain
|
|
2027
2151
|
|
2028
2152
|
# The actions to carry out if a proposal is `APPROVED`.
|
2029
2153
|
#
|
2154
|
+
# Applies only to Hyperledger Fabric.
|
2155
|
+
#
|
2030
2156
|
# @note When making an API call, you may pass ProposalActions
|
2031
2157
|
# data as a hash:
|
2032
2158
|
#
|
@@ -2065,6 +2191,8 @@ module Aws::ManagedBlockchain
|
|
2065
2191
|
|
2066
2192
|
# Properties of a proposal.
|
2067
2193
|
#
|
2194
|
+
# Applies only to Hyperledger Fabric.
|
2195
|
+
#
|
2068
2196
|
# @!attribute [rw] proposal_id
|
2069
2197
|
# The unique identifier of the proposal.
|
2070
2198
|
# @return [String]
|
@@ -2158,6 +2286,8 @@ module Aws::ManagedBlockchain
|
|
2158
2286
|
# result of a removal proposal that is `APPROVED`. The member and all
|
2159
2287
|
# associated resources are deleted from the network.
|
2160
2288
|
#
|
2289
|
+
# Applies only to Hyperledger Fabric.
|
2290
|
+
#
|
2161
2291
|
# @note When making an API call, you may pass RemoveAction
|
2162
2292
|
# data as a hash:
|
2163
2293
|
#
|
@@ -2261,12 +2391,12 @@ module Aws::ManagedBlockchain
|
|
2261
2391
|
# }
|
2262
2392
|
#
|
2263
2393
|
# @!attribute [rw] network_id
|
2264
|
-
# The unique
|
2265
|
-
# belongs.
|
2394
|
+
# The unique identifier of the Managed Blockchain network to which the
|
2395
|
+
# member belongs.
|
2266
2396
|
# @return [String]
|
2267
2397
|
#
|
2268
2398
|
# @!attribute [rw] member_id
|
2269
|
-
# The unique
|
2399
|
+
# The unique identifier of the member.
|
2270
2400
|
# @return [String]
|
2271
2401
|
#
|
2272
2402
|
# @!attribute [rw] log_publishing_configuration
|
@@ -2292,7 +2422,7 @@ module Aws::ManagedBlockchain
|
|
2292
2422
|
#
|
2293
2423
|
# {
|
2294
2424
|
# network_id: "ResourceIdString", # required
|
2295
|
-
# member_id: "ResourceIdString",
|
2425
|
+
# member_id: "ResourceIdString",
|
2296
2426
|
# node_id: "ResourceIdString", # required
|
2297
2427
|
# log_publishing_configuration: {
|
2298
2428
|
# fabric: {
|
@@ -2311,16 +2441,17 @@ module Aws::ManagedBlockchain
|
|
2311
2441
|
# }
|
2312
2442
|
#
|
2313
2443
|
# @!attribute [rw] network_id
|
2314
|
-
# The unique
|
2315
|
-
# belongs.
|
2444
|
+
# The unique identifier of the network that the node is on.
|
2316
2445
|
# @return [String]
|
2317
2446
|
#
|
2318
2447
|
# @!attribute [rw] member_id
|
2319
|
-
# The unique
|
2448
|
+
# The unique identifier of the member that owns the node.
|
2449
|
+
#
|
2450
|
+
# Applies only to Hyperledger Fabric.
|
2320
2451
|
# @return [String]
|
2321
2452
|
#
|
2322
2453
|
# @!attribute [rw] node_id
|
2323
|
-
# The unique
|
2454
|
+
# The unique identifier of the node.
|
2324
2455
|
# @return [String]
|
2325
2456
|
#
|
2326
2457
|
# @!attribute [rw] log_publishing_configuration
|
@@ -2385,6 +2516,8 @@ module Aws::ManagedBlockchain
|
|
2385
2516
|
|
2386
2517
|
# Properties of an individual vote that a member cast for a proposal.
|
2387
2518
|
#
|
2519
|
+
# Applies only to Hyperledger Fabric.
|
2520
|
+
#
|
2388
2521
|
# @!attribute [rw] vote
|
2389
2522
|
# The vote value, either `YES` or `NO`.
|
2390
2523
|
# @return [String]
|
@@ -2409,6 +2542,8 @@ module Aws::ManagedBlockchain
|
|
2409
2542
|
|
2410
2543
|
# The voting rules for the network to decide if a proposal is accepted
|
2411
2544
|
#
|
2545
|
+
# Applies only to Hyperledger Fabric.
|
2546
|
+
#
|
2412
2547
|
# @note When making an API call, you may pass VotingPolicy
|
2413
2548
|
# data as a hash:
|
2414
2549
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-managedblockchain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|