aws-sdk-managedblockchain 1.12.1 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +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
@@ -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:
|
@@ -78,6 +80,7 @@ module Aws::ManagedBlockchain
|
|
78
80
|
MemberSummaryList = Shapes::ListShape.new(name: 'MemberSummaryList')
|
79
81
|
NameString = Shapes::StringShape.new(name: 'NameString')
|
80
82
|
Network = Shapes::StructureShape.new(name: 'Network')
|
83
|
+
NetworkEthereumAttributes = Shapes::StructureShape.new(name: 'NetworkEthereumAttributes')
|
81
84
|
NetworkFabricAttributes = Shapes::StructureShape.new(name: 'NetworkFabricAttributes')
|
82
85
|
NetworkFabricConfiguration = Shapes::StructureShape.new(name: 'NetworkFabricConfiguration')
|
83
86
|
NetworkFrameworkAttributes = Shapes::StructureShape.new(name: 'NetworkFrameworkAttributes')
|
@@ -89,6 +92,7 @@ module Aws::ManagedBlockchain
|
|
89
92
|
NetworkSummaryList = Shapes::ListShape.new(name: 'NetworkSummaryList')
|
90
93
|
Node = Shapes::StructureShape.new(name: 'Node')
|
91
94
|
NodeConfiguration = Shapes::StructureShape.new(name: 'NodeConfiguration')
|
95
|
+
NodeEthereumAttributes = Shapes::StructureShape.new(name: 'NodeEthereumAttributes')
|
92
96
|
NodeFabricAttributes = Shapes::StructureShape.new(name: 'NodeFabricAttributes')
|
93
97
|
NodeFabricLogPublishingConfiguration = Shapes::StructureShape.new(name: 'NodeFabricLogPublishingConfiguration')
|
94
98
|
NodeFrameworkAttributes = Shapes::StructureShape.new(name: 'NodeFrameworkAttributes')
|
@@ -117,6 +121,7 @@ module Aws::ManagedBlockchain
|
|
117
121
|
ResourceLimitExceededException = Shapes::StructureShape.new(name: 'ResourceLimitExceededException')
|
118
122
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
119
123
|
ResourceNotReadyException = Shapes::StructureShape.new(name: 'ResourceNotReadyException')
|
124
|
+
StateDBType = Shapes::StringShape.new(name: 'StateDBType')
|
120
125
|
String = Shapes::StringShape.new(name: 'String')
|
121
126
|
ThresholdComparator = Shapes::StringShape.new(name: 'ThresholdComparator')
|
122
127
|
ThresholdPercentageInt = Shapes::IntegerShape.new(name: 'ThresholdPercentageInt')
|
@@ -134,6 +139,7 @@ module Aws::ManagedBlockchain
|
|
134
139
|
VoteValue = Shapes::StringShape.new(name: 'VoteValue')
|
135
140
|
VotingPolicy = Shapes::StructureShape.new(name: 'VotingPolicy')
|
136
141
|
|
142
|
+
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
137
143
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
138
144
|
|
139
145
|
ApprovalThresholdPolicy.add_member(:threshold_percentage, Shapes::ShapeRef.new(shape: ThresholdPercentageInt, location_name: "ThresholdPercentage"))
|
@@ -166,7 +172,7 @@ module Aws::ManagedBlockchain
|
|
166
172
|
|
167
173
|
CreateNodeInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestTokenString, required: true, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
168
174
|
CreateNodeInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
|
169
|
-
CreateNodeInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString,
|
175
|
+
CreateNodeInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "MemberId"))
|
170
176
|
CreateNodeInput.add_member(:node_configuration, Shapes::ShapeRef.new(shape: NodeConfiguration, required: true, location_name: "NodeConfiguration"))
|
171
177
|
CreateNodeInput.struct_class = Types::CreateNodeInput
|
172
178
|
|
@@ -190,7 +196,7 @@ module Aws::ManagedBlockchain
|
|
190
196
|
DeleteMemberOutput.struct_class = Types::DeleteMemberOutput
|
191
197
|
|
192
198
|
DeleteNodeInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
|
193
|
-
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"))
|
194
200
|
DeleteNodeInput.add_member(:node_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "nodeId"))
|
195
201
|
DeleteNodeInput.struct_class = Types::DeleteNodeInput
|
196
202
|
|
@@ -210,7 +216,7 @@ module Aws::ManagedBlockchain
|
|
210
216
|
GetNetworkOutput.struct_class = Types::GetNetworkOutput
|
211
217
|
|
212
218
|
GetNodeInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
|
213
|
-
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"))
|
214
220
|
GetNodeInput.add_member(:node_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "nodeId"))
|
215
221
|
GetNodeInput.struct_class = Types::GetNodeInput
|
216
222
|
|
@@ -278,7 +284,7 @@ module Aws::ManagedBlockchain
|
|
278
284
|
ListNetworksOutput.struct_class = Types::ListNetworksOutput
|
279
285
|
|
280
286
|
ListNodesInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
|
281
|
-
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"))
|
282
288
|
ListNodesInput.add_member(:status, Shapes::ShapeRef.new(shape: NodeStatus, location: "querystring", location_name: "status"))
|
283
289
|
ListNodesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: NodeListMaxResults, location: "querystring", location_name: "maxResults"))
|
284
290
|
ListNodesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
@@ -371,6 +377,9 @@ module Aws::ManagedBlockchain
|
|
371
377
|
Network.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
|
372
378
|
Network.struct_class = Types::Network
|
373
379
|
|
380
|
+
NetworkEthereumAttributes.add_member(:chain_id, Shapes::ShapeRef.new(shape: String, location_name: "ChainId"))
|
381
|
+
NetworkEthereumAttributes.struct_class = Types::NetworkEthereumAttributes
|
382
|
+
|
374
383
|
NetworkFabricAttributes.add_member(:ordering_service_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "OrderingServiceEndpoint"))
|
375
384
|
NetworkFabricAttributes.add_member(:edition, Shapes::ShapeRef.new(shape: Edition, location_name: "Edition"))
|
376
385
|
NetworkFabricAttributes.struct_class = Types::NetworkFabricAttributes
|
@@ -379,6 +388,7 @@ module Aws::ManagedBlockchain
|
|
379
388
|
NetworkFabricConfiguration.struct_class = Types::NetworkFabricConfiguration
|
380
389
|
|
381
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"))
|
382
392
|
NetworkFrameworkAttributes.struct_class = Types::NetworkFrameworkAttributes
|
383
393
|
|
384
394
|
NetworkFrameworkConfiguration.add_member(:fabric, Shapes::ShapeRef.new(shape: NetworkFabricConfiguration, location_name: "Fabric"))
|
@@ -402,15 +412,21 @@ module Aws::ManagedBlockchain
|
|
402
412
|
Node.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneString, location_name: "AvailabilityZone"))
|
403
413
|
Node.add_member(:framework_attributes, Shapes::ShapeRef.new(shape: NodeFrameworkAttributes, location_name: "FrameworkAttributes"))
|
404
414
|
Node.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: NodeLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
|
415
|
+
Node.add_member(:state_db, Shapes::ShapeRef.new(shape: StateDBType, location_name: "StateDB"))
|
405
416
|
Node.add_member(:status, Shapes::ShapeRef.new(shape: NodeStatus, location_name: "Status"))
|
406
417
|
Node.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
|
407
418
|
Node.struct_class = Types::Node
|
408
419
|
|
409
420
|
NodeConfiguration.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceTypeString, required: true, location_name: "InstanceType"))
|
410
|
-
NodeConfiguration.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneString,
|
421
|
+
NodeConfiguration.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneString, location_name: "AvailabilityZone"))
|
411
422
|
NodeConfiguration.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: NodeLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
|
423
|
+
NodeConfiguration.add_member(:state_db, Shapes::ShapeRef.new(shape: StateDBType, location_name: "StateDB"))
|
412
424
|
NodeConfiguration.struct_class = Types::NodeConfiguration
|
413
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
|
+
|
414
430
|
NodeFabricAttributes.add_member(:peer_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "PeerEndpoint"))
|
415
431
|
NodeFabricAttributes.add_member(:peer_event_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "PeerEventEndpoint"))
|
416
432
|
NodeFabricAttributes.struct_class = Types::NodeFabricAttributes
|
@@ -420,6 +436,7 @@ module Aws::ManagedBlockchain
|
|
420
436
|
NodeFabricLogPublishingConfiguration.struct_class = Types::NodeFabricLogPublishingConfiguration
|
421
437
|
|
422
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"))
|
423
440
|
NodeFrameworkAttributes.struct_class = Types::NodeFrameworkAttributes
|
424
441
|
|
425
442
|
NodeLogPublishingConfiguration.add_member(:fabric, Shapes::ShapeRef.new(shape: NodeFabricLogPublishingConfiguration, location_name: "Fabric"))
|
@@ -497,7 +514,7 @@ module Aws::ManagedBlockchain
|
|
497
514
|
UpdateMemberOutput.struct_class = Types::UpdateMemberOutput
|
498
515
|
|
499
516
|
UpdateNodeInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
|
500
|
-
UpdateNodeInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString,
|
517
|
+
UpdateNodeInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "MemberId"))
|
501
518
|
UpdateNodeInput.add_member(:node_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "nodeId"))
|
502
519
|
UpdateNodeInput.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: NodeLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
|
503
520
|
UpdateNodeInput.struct_class = Types::UpdateNodeInput
|
@@ -572,7 +589,7 @@ module Aws::ManagedBlockchain
|
|
572
589
|
api.add_operation(:create_node, Seahorse::Model::Operation.new.tap do |o|
|
573
590
|
o.name = "CreateNode"
|
574
591
|
o.http_method = "POST"
|
575
|
-
o.http_request_uri = "/networks/{networkId}/
|
592
|
+
o.http_request_uri = "/networks/{networkId}/nodes"
|
576
593
|
o.input = Shapes::ShapeRef.new(shape: CreateNodeInput)
|
577
594
|
o.output = Shapes::ShapeRef.new(shape: CreateNodeOutput)
|
578
595
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
@@ -616,7 +633,7 @@ module Aws::ManagedBlockchain
|
|
616
633
|
api.add_operation(:delete_node, Seahorse::Model::Operation.new.tap do |o|
|
617
634
|
o.name = "DeleteNode"
|
618
635
|
o.http_method = "DELETE"
|
619
|
-
o.http_request_uri = "/networks/{networkId}/
|
636
|
+
o.http_request_uri = "/networks/{networkId}/nodes/{nodeId}"
|
620
637
|
o.input = Shapes::ShapeRef.new(shape: DeleteNodeInput)
|
621
638
|
o.output = Shapes::ShapeRef.new(shape: DeleteNodeOutput)
|
622
639
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
@@ -656,7 +673,7 @@ module Aws::ManagedBlockchain
|
|
656
673
|
api.add_operation(:get_node, Seahorse::Model::Operation.new.tap do |o|
|
657
674
|
o.name = "GetNode"
|
658
675
|
o.http_method = "GET"
|
659
|
-
o.http_request_uri = "/networks/{networkId}/
|
676
|
+
o.http_request_uri = "/networks/{networkId}/nodes/{nodeId}"
|
660
677
|
o.input = Shapes::ShapeRef.new(shape: GetNodeInput)
|
661
678
|
o.output = Shapes::ShapeRef.new(shape: GetNodeOutput)
|
662
679
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
@@ -738,7 +755,7 @@ module Aws::ManagedBlockchain
|
|
738
755
|
api.add_operation(:list_nodes, Seahorse::Model::Operation.new.tap do |o|
|
739
756
|
o.name = "ListNodes"
|
740
757
|
o.http_method = "GET"
|
741
|
-
o.http_request_uri = "/networks/{networkId}/
|
758
|
+
o.http_request_uri = "/networks/{networkId}/nodes"
|
742
759
|
o.input = Shapes::ShapeRef.new(shape: ListNodesInput)
|
743
760
|
o.output = Shapes::ShapeRef.new(shape: ListNodesOutput)
|
744
761
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
@@ -820,7 +837,7 @@ module Aws::ManagedBlockchain
|
|
820
837
|
api.add_operation(:update_node, Seahorse::Model::Operation.new.tap do |o|
|
821
838
|
o.name = "UpdateNode"
|
822
839
|
o.http_method = "PATCH"
|
823
|
-
o.http_request_uri = "/networks/{networkId}/
|
840
|
+
o.http_request_uri = "/networks/{networkId}/nodes/{nodeId}"
|
824
841
|
o.input = Shapes::ShapeRef.new(shape: UpdateNodeInput)
|
825
842
|
o.output = Shapes::ShapeRef.new(shape: UpdateNodeOutput)
|
826
843
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
@@ -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:
|
@@ -49,6 +51,11 @@ module Aws::ManagedBlockchain
|
|
49
51
|
def initialize(context, message, data = Aws::EmptyStructure.new)
|
50
52
|
super(context, message, data)
|
51
53
|
end
|
54
|
+
|
55
|
+
# @return [String]
|
56
|
+
def message
|
57
|
+
@message || @data[:message]
|
58
|
+
end
|
52
59
|
end
|
53
60
|
|
54
61
|
class IllegalActionException < ServiceError
|
@@ -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:
|
@@ -10,9 +12,16 @@ module Aws::ManagedBlockchain
|
|
10
12
|
|
11
13
|
# You do not have sufficient access to perform this action.
|
12
14
|
#
|
15
|
+
# @!attribute [rw] message
|
16
|
+
# @return [String]
|
17
|
+
#
|
13
18
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/AccessDeniedException AWS API Documentation
|
14
19
|
#
|
15
|
-
class AccessDeniedException <
|
20
|
+
class AccessDeniedException < Struct.new(
|
21
|
+
:message)
|
22
|
+
SENSITIVE = []
|
23
|
+
include Aws::Structure
|
24
|
+
end
|
16
25
|
|
17
26
|
# A policy type that defines the voting rules for the network. The rules
|
18
27
|
# decide if a proposal is approved. Approval may be based on criteria
|
@@ -20,6 +29,8 @@ module Aws::ManagedBlockchain
|
|
20
29
|
# proposal. The policy applies to all proposals and is specified when
|
21
30
|
# the network is created.
|
22
31
|
#
|
32
|
+
# Applies only to Hyperledger Fabric.
|
33
|
+
#
|
23
34
|
# @note When making an API call, you may pass ApprovalThresholdPolicy
|
24
35
|
# data as a hash:
|
25
36
|
#
|
@@ -59,6 +70,7 @@ module Aws::ManagedBlockchain
|
|
59
70
|
:threshold_percentage,
|
60
71
|
:proposal_duration_in_hours,
|
61
72
|
:threshold_comparator)
|
73
|
+
SENSITIVE = []
|
62
74
|
include Aws::Structure
|
63
75
|
end
|
64
76
|
|
@@ -121,6 +133,7 @@ module Aws::ManagedBlockchain
|
|
121
133
|
:invitation_id,
|
122
134
|
:network_id,
|
123
135
|
:member_configuration)
|
136
|
+
SENSITIVE = []
|
124
137
|
include Aws::Structure
|
125
138
|
end
|
126
139
|
|
@@ -132,6 +145,7 @@ module Aws::ManagedBlockchain
|
|
132
145
|
#
|
133
146
|
class CreateMemberOutput < Struct.new(
|
134
147
|
:member_id)
|
148
|
+
SENSITIVE = []
|
135
149
|
include Aws::Structure
|
136
150
|
end
|
137
151
|
|
@@ -142,7 +156,7 @@ module Aws::ManagedBlockchain
|
|
142
156
|
# client_request_token: "ClientRequestTokenString", # required
|
143
157
|
# name: "NameString", # required
|
144
158
|
# description: "DescriptionString",
|
145
|
-
# framework: "HYPERLEDGER_FABRIC", # required, accepts HYPERLEDGER_FABRIC
|
159
|
+
# framework: "HYPERLEDGER_FABRIC", # required, accepts HYPERLEDGER_FABRIC, ETHEREUM
|
146
160
|
# framework_version: "FrameworkVersionString", # required
|
147
161
|
# framework_configuration: {
|
148
162
|
# fabric: {
|
@@ -229,6 +243,7 @@ module Aws::ManagedBlockchain
|
|
229
243
|
:framework_configuration,
|
230
244
|
:voting_policy,
|
231
245
|
:member_configuration)
|
246
|
+
SENSITIVE = []
|
232
247
|
include Aws::Structure
|
233
248
|
end
|
234
249
|
|
@@ -245,6 +260,7 @@ module Aws::ManagedBlockchain
|
|
245
260
|
class CreateNetworkOutput < Struct.new(
|
246
261
|
:network_id,
|
247
262
|
:member_id)
|
263
|
+
SENSITIVE = []
|
248
264
|
include Aws::Structure
|
249
265
|
end
|
250
266
|
|
@@ -254,10 +270,10 @@ module Aws::ManagedBlockchain
|
|
254
270
|
# {
|
255
271
|
# client_request_token: "ClientRequestTokenString", # required
|
256
272
|
# network_id: "ResourceIdString", # required
|
257
|
-
# member_id: "ResourceIdString",
|
273
|
+
# member_id: "ResourceIdString",
|
258
274
|
# node_configuration: { # required
|
259
275
|
# instance_type: "InstanceTypeString", # required
|
260
|
-
# availability_zone: "AvailabilityZoneString",
|
276
|
+
# availability_zone: "AvailabilityZoneString",
|
261
277
|
# log_publishing_configuration: {
|
262
278
|
# fabric: {
|
263
279
|
# chaincode_logs: {
|
@@ -272,6 +288,7 @@ module Aws::ManagedBlockchain
|
|
272
288
|
# },
|
273
289
|
# },
|
274
290
|
# },
|
291
|
+
# state_db: "LevelDB", # accepts LevelDB, CouchDB
|
275
292
|
# },
|
276
293
|
# }
|
277
294
|
#
|
@@ -287,11 +304,21 @@ module Aws::ManagedBlockchain
|
|
287
304
|
# @return [String]
|
288
305
|
#
|
289
306
|
# @!attribute [rw] network_id
|
290
|
-
# 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`
|
291
316
|
# @return [String]
|
292
317
|
#
|
293
318
|
# @!attribute [rw] member_id
|
294
319
|
# The unique identifier of the member that owns this node.
|
320
|
+
#
|
321
|
+
# Applies only to Hyperledger Fabric.
|
295
322
|
# @return [String]
|
296
323
|
#
|
297
324
|
# @!attribute [rw] node_configuration
|
@@ -305,6 +332,7 @@ module Aws::ManagedBlockchain
|
|
305
332
|
:network_id,
|
306
333
|
:member_id,
|
307
334
|
:node_configuration)
|
335
|
+
SENSITIVE = []
|
308
336
|
include Aws::Structure
|
309
337
|
end
|
310
338
|
|
@@ -316,6 +344,7 @@ module Aws::ManagedBlockchain
|
|
316
344
|
#
|
317
345
|
class CreateNodeOutput < Struct.new(
|
318
346
|
:node_id)
|
347
|
+
SENSITIVE = []
|
319
348
|
include Aws::Structure
|
320
349
|
end
|
321
350
|
|
@@ -383,6 +412,7 @@ module Aws::ManagedBlockchain
|
|
383
412
|
:member_id,
|
384
413
|
:actions,
|
385
414
|
:description)
|
415
|
+
SENSITIVE = []
|
386
416
|
include Aws::Structure
|
387
417
|
end
|
388
418
|
|
@@ -394,6 +424,7 @@ module Aws::ManagedBlockchain
|
|
394
424
|
#
|
395
425
|
class CreateProposalOutput < Struct.new(
|
396
426
|
:proposal_id)
|
427
|
+
SENSITIVE = []
|
397
428
|
include Aws::Structure
|
398
429
|
end
|
399
430
|
|
@@ -419,6 +450,7 @@ module Aws::ManagedBlockchain
|
|
419
450
|
class DeleteMemberInput < Struct.new(
|
420
451
|
:network_id,
|
421
452
|
:member_id)
|
453
|
+
SENSITIVE = []
|
422
454
|
include Aws::Structure
|
423
455
|
end
|
424
456
|
|
@@ -431,16 +463,27 @@ module Aws::ManagedBlockchain
|
|
431
463
|
#
|
432
464
|
# {
|
433
465
|
# network_id: "ResourceIdString", # required
|
434
|
-
# member_id: "ResourceIdString",
|
466
|
+
# member_id: "ResourceIdString",
|
435
467
|
# node_id: "ResourceIdString", # required
|
436
468
|
# }
|
437
469
|
#
|
438
470
|
# @!attribute [rw] network_id
|
439
|
-
# 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`
|
440
480
|
# @return [String]
|
441
481
|
#
|
442
482
|
# @!attribute [rw] member_id
|
443
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.
|
444
487
|
# @return [String]
|
445
488
|
#
|
446
489
|
# @!attribute [rw] node_id
|
@@ -453,6 +496,7 @@ module Aws::ManagedBlockchain
|
|
453
496
|
:network_id,
|
454
497
|
:member_id,
|
455
498
|
:node_id)
|
499
|
+
SENSITIVE = []
|
456
500
|
include Aws::Structure
|
457
501
|
end
|
458
502
|
|
@@ -481,6 +525,7 @@ module Aws::ManagedBlockchain
|
|
481
525
|
class GetMemberInput < Struct.new(
|
482
526
|
:network_id,
|
483
527
|
:member_id)
|
528
|
+
SENSITIVE = []
|
484
529
|
include Aws::Structure
|
485
530
|
end
|
486
531
|
|
@@ -492,6 +537,7 @@ module Aws::ManagedBlockchain
|
|
492
537
|
#
|
493
538
|
class GetMemberOutput < Struct.new(
|
494
539
|
:member)
|
540
|
+
SENSITIVE = []
|
495
541
|
include Aws::Structure
|
496
542
|
end
|
497
543
|
|
@@ -510,6 +556,7 @@ module Aws::ManagedBlockchain
|
|
510
556
|
#
|
511
557
|
class GetNetworkInput < Struct.new(
|
512
558
|
:network_id)
|
559
|
+
SENSITIVE = []
|
513
560
|
include Aws::Structure
|
514
561
|
end
|
515
562
|
|
@@ -521,6 +568,7 @@ module Aws::ManagedBlockchain
|
|
521
568
|
#
|
522
569
|
class GetNetworkOutput < Struct.new(
|
523
570
|
:network)
|
571
|
+
SENSITIVE = []
|
524
572
|
include Aws::Structure
|
525
573
|
end
|
526
574
|
|
@@ -529,16 +577,19 @@ module Aws::ManagedBlockchain
|
|
529
577
|
#
|
530
578
|
# {
|
531
579
|
# network_id: "ResourceIdString", # required
|
532
|
-
# member_id: "ResourceIdString",
|
580
|
+
# member_id: "ResourceIdString",
|
533
581
|
# node_id: "ResourceIdString", # required
|
534
582
|
# }
|
535
583
|
#
|
536
584
|
# @!attribute [rw] network_id
|
537
|
-
# The unique identifier of the network
|
585
|
+
# The unique identifier of the network that the node is on.
|
538
586
|
# @return [String]
|
539
587
|
#
|
540
588
|
# @!attribute [rw] member_id
|
541
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.
|
542
593
|
# @return [String]
|
543
594
|
#
|
544
595
|
# @!attribute [rw] node_id
|
@@ -551,6 +602,7 @@ module Aws::ManagedBlockchain
|
|
551
602
|
:network_id,
|
552
603
|
:member_id,
|
553
604
|
:node_id)
|
605
|
+
SENSITIVE = []
|
554
606
|
include Aws::Structure
|
555
607
|
end
|
556
608
|
|
@@ -562,6 +614,7 @@ module Aws::ManagedBlockchain
|
|
562
614
|
#
|
563
615
|
class GetNodeOutput < Struct.new(
|
564
616
|
:node)
|
617
|
+
SENSITIVE = []
|
565
618
|
include Aws::Structure
|
566
619
|
end
|
567
620
|
|
@@ -586,6 +639,7 @@ module Aws::ManagedBlockchain
|
|
586
639
|
class GetProposalInput < Struct.new(
|
587
640
|
:network_id,
|
588
641
|
:proposal_id)
|
642
|
+
SENSITIVE = []
|
589
643
|
include Aws::Structure
|
590
644
|
end
|
591
645
|
|
@@ -597,6 +651,7 @@ module Aws::ManagedBlockchain
|
|
597
651
|
#
|
598
652
|
class GetProposalOutput < Struct.new(
|
599
653
|
:proposal)
|
654
|
+
SENSITIVE = []
|
600
655
|
include Aws::Structure
|
601
656
|
end
|
602
657
|
|
@@ -607,6 +662,7 @@ module Aws::ManagedBlockchain
|
|
607
662
|
#
|
608
663
|
class IllegalActionException < Struct.new(
|
609
664
|
:message)
|
665
|
+
SENSITIVE = []
|
610
666
|
include Aws::Structure
|
611
667
|
end
|
612
668
|
|
@@ -627,12 +683,15 @@ module Aws::ManagedBlockchain
|
|
627
683
|
#
|
628
684
|
class InvalidRequestException < Struct.new(
|
629
685
|
:message)
|
686
|
+
SENSITIVE = []
|
630
687
|
include Aws::Structure
|
631
688
|
end
|
632
689
|
|
633
690
|
# An invitation to an AWS account to create a member and join the
|
634
691
|
# network.
|
635
692
|
#
|
693
|
+
# Applies only to Hyperledger Fabric.
|
694
|
+
#
|
636
695
|
# @!attribute [rw] invitation_id
|
637
696
|
# The unique identifier for the invitation.
|
638
697
|
# @return [String]
|
@@ -679,6 +738,7 @@ module Aws::ManagedBlockchain
|
|
679
738
|
:expiration_date,
|
680
739
|
:status,
|
681
740
|
:network_summary)
|
741
|
+
SENSITIVE = []
|
682
742
|
include Aws::Structure
|
683
743
|
end
|
684
744
|
|
@@ -686,6 +746,8 @@ module Aws::ManagedBlockchain
|
|
686
746
|
# the network. The `InviteAction` is carried out when a `Proposal` is
|
687
747
|
# `APPROVED`.
|
688
748
|
#
|
749
|
+
# Applies only to Hyperledger Fabric.
|
750
|
+
#
|
689
751
|
# @note When making an API call, you may pass InviteAction
|
690
752
|
# data as a hash:
|
691
753
|
#
|
@@ -701,6 +763,7 @@ module Aws::ManagedBlockchain
|
|
701
763
|
#
|
702
764
|
class InviteAction < Struct.new(
|
703
765
|
:principal)
|
766
|
+
SENSITIVE = []
|
704
767
|
include Aws::Structure
|
705
768
|
end
|
706
769
|
|
@@ -726,6 +789,7 @@ module Aws::ManagedBlockchain
|
|
726
789
|
class ListInvitationsInput < Struct.new(
|
727
790
|
:max_results,
|
728
791
|
:next_token)
|
792
|
+
SENSITIVE = []
|
729
793
|
include Aws::Structure
|
730
794
|
end
|
731
795
|
|
@@ -743,6 +807,7 @@ module Aws::ManagedBlockchain
|
|
743
807
|
class ListInvitationsOutput < Struct.new(
|
744
808
|
:invitations,
|
745
809
|
:next_token)
|
810
|
+
SENSITIVE = []
|
746
811
|
include Aws::Structure
|
747
812
|
end
|
748
813
|
|
@@ -796,6 +861,7 @@ module Aws::ManagedBlockchain
|
|
796
861
|
:is_owned,
|
797
862
|
:max_results,
|
798
863
|
:next_token)
|
864
|
+
SENSITIVE = []
|
799
865
|
include Aws::Structure
|
800
866
|
end
|
801
867
|
|
@@ -814,6 +880,7 @@ module Aws::ManagedBlockchain
|
|
814
880
|
class ListMembersOutput < Struct.new(
|
815
881
|
:members,
|
816
882
|
:next_token)
|
883
|
+
SENSITIVE = []
|
817
884
|
include Aws::Structure
|
818
885
|
end
|
819
886
|
|
@@ -822,7 +889,7 @@ module Aws::ManagedBlockchain
|
|
822
889
|
#
|
823
890
|
# {
|
824
891
|
# name: "String",
|
825
|
-
# framework: "HYPERLEDGER_FABRIC", # accepts HYPERLEDGER_FABRIC
|
892
|
+
# framework: "HYPERLEDGER_FABRIC", # accepts HYPERLEDGER_FABRIC, ETHEREUM
|
826
893
|
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, DELETING, DELETED
|
827
894
|
# max_results: 1,
|
828
895
|
# next_token: "PaginationToken",
|
@@ -840,6 +907,8 @@ module Aws::ManagedBlockchain
|
|
840
907
|
# @!attribute [rw] status
|
841
908
|
# An optional status specifier. If provided, only networks currently
|
842
909
|
# in this status are listed.
|
910
|
+
#
|
911
|
+
# Applies only to Hyperledger Fabric.
|
843
912
|
# @return [String]
|
844
913
|
#
|
845
914
|
# @!attribute [rw] max_results
|
@@ -859,6 +928,7 @@ module Aws::ManagedBlockchain
|
|
859
928
|
:status,
|
860
929
|
:max_results,
|
861
930
|
:next_token)
|
931
|
+
SENSITIVE = []
|
862
932
|
include Aws::Structure
|
863
933
|
end
|
864
934
|
|
@@ -877,6 +947,7 @@ module Aws::ManagedBlockchain
|
|
877
947
|
class ListNetworksOutput < Struct.new(
|
878
948
|
:networks,
|
879
949
|
:next_token)
|
950
|
+
SENSITIVE = []
|
880
951
|
include Aws::Structure
|
881
952
|
end
|
882
953
|
|
@@ -885,8 +956,8 @@ module Aws::ManagedBlockchain
|
|
885
956
|
#
|
886
957
|
# {
|
887
958
|
# network_id: "ResourceIdString", # required
|
888
|
-
# member_id: "ResourceIdString",
|
889
|
-
# 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
|
890
961
|
# max_results: 1,
|
891
962
|
# next_token: "PaginationToken",
|
892
963
|
# }
|
@@ -897,6 +968,9 @@ module Aws::ManagedBlockchain
|
|
897
968
|
#
|
898
969
|
# @!attribute [rw] member_id
|
899
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.
|
900
974
|
# @return [String]
|
901
975
|
#
|
902
976
|
# @!attribute [rw] status
|
@@ -921,6 +995,7 @@ module Aws::ManagedBlockchain
|
|
921
995
|
:status,
|
922
996
|
:max_results,
|
923
997
|
:next_token)
|
998
|
+
SENSITIVE = []
|
924
999
|
include Aws::Structure
|
925
1000
|
end
|
926
1001
|
|
@@ -939,6 +1014,7 @@ module Aws::ManagedBlockchain
|
|
939
1014
|
class ListNodesOutput < Struct.new(
|
940
1015
|
:nodes,
|
941
1016
|
:next_token)
|
1017
|
+
SENSITIVE = []
|
942
1018
|
include Aws::Structure
|
943
1019
|
end
|
944
1020
|
|
@@ -976,11 +1052,12 @@ module Aws::ManagedBlockchain
|
|
976
1052
|
:proposal_id,
|
977
1053
|
:max_results,
|
978
1054
|
:next_token)
|
1055
|
+
SENSITIVE = []
|
979
1056
|
include Aws::Structure
|
980
1057
|
end
|
981
1058
|
|
982
1059
|
# @!attribute [rw] proposal_votes
|
983
|
-
# The
|
1060
|
+
# The list of votes.
|
984
1061
|
# @return [Array<Types::VoteSummary>]
|
985
1062
|
#
|
986
1063
|
# @!attribute [rw] next_token
|
@@ -993,6 +1070,7 @@ module Aws::ManagedBlockchain
|
|
993
1070
|
class ListProposalVotesOutput < Struct.new(
|
994
1071
|
:proposal_votes,
|
995
1072
|
:next_token)
|
1073
|
+
SENSITIVE = []
|
996
1074
|
include Aws::Structure
|
997
1075
|
end
|
998
1076
|
|
@@ -1024,6 +1102,7 @@ module Aws::ManagedBlockchain
|
|
1024
1102
|
:network_id,
|
1025
1103
|
:max_results,
|
1026
1104
|
:next_token)
|
1105
|
+
SENSITIVE = []
|
1027
1106
|
include Aws::Structure
|
1028
1107
|
end
|
1029
1108
|
|
@@ -1041,6 +1120,7 @@ module Aws::ManagedBlockchain
|
|
1041
1120
|
class ListProposalsOutput < Struct.new(
|
1042
1121
|
:proposals,
|
1043
1122
|
:next_token)
|
1123
|
+
SENSITIVE = []
|
1044
1124
|
include Aws::Structure
|
1045
1125
|
end
|
1046
1126
|
|
@@ -1061,6 +1141,7 @@ module Aws::ManagedBlockchain
|
|
1061
1141
|
#
|
1062
1142
|
class LogConfiguration < Struct.new(
|
1063
1143
|
:enabled)
|
1144
|
+
SENSITIVE = []
|
1064
1145
|
include Aws::Structure
|
1065
1146
|
end
|
1066
1147
|
|
@@ -1083,11 +1164,14 @@ module Aws::ManagedBlockchain
|
|
1083
1164
|
#
|
1084
1165
|
class LogConfigurations < Struct.new(
|
1085
1166
|
:cloudwatch)
|
1167
|
+
SENSITIVE = []
|
1086
1168
|
include Aws::Structure
|
1087
1169
|
end
|
1088
1170
|
|
1089
1171
|
# Member configuration properties.
|
1090
1172
|
#
|
1173
|
+
# Applies only to Hyperledger Fabric.
|
1174
|
+
#
|
1091
1175
|
# @!attribute [rw] network_id
|
1092
1176
|
# The unique identifier of the network to which the member belongs.
|
1093
1177
|
# @return [String]
|
@@ -1152,11 +1236,14 @@ module Aws::ManagedBlockchain
|
|
1152
1236
|
:log_publishing_configuration,
|
1153
1237
|
:status,
|
1154
1238
|
:creation_date)
|
1239
|
+
SENSITIVE = []
|
1155
1240
|
include Aws::Structure
|
1156
1241
|
end
|
1157
1242
|
|
1158
1243
|
# Configuration properties of the member.
|
1159
1244
|
#
|
1245
|
+
# Applies only to Hyperledger Fabric.
|
1246
|
+
#
|
1160
1247
|
# @note When making an API call, you may pass MemberConfiguration
|
1161
1248
|
# data as a hash:
|
1162
1249
|
#
|
@@ -1194,6 +1281,8 @@ module Aws::ManagedBlockchain
|
|
1194
1281
|
# @return [Types::MemberFrameworkConfiguration]
|
1195
1282
|
#
|
1196
1283
|
# @!attribute [rw] log_publishing_configuration
|
1284
|
+
# Configuration properties for logging events associated with a member
|
1285
|
+
# of a Managed Blockchain network.
|
1197
1286
|
# @return [Types::MemberLogPublishingConfiguration]
|
1198
1287
|
#
|
1199
1288
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/MemberConfiguration AWS API Documentation
|
@@ -1203,6 +1292,7 @@ module Aws::ManagedBlockchain
|
|
1203
1292
|
:description,
|
1204
1293
|
:framework_configuration,
|
1205
1294
|
:log_publishing_configuration)
|
1295
|
+
SENSITIVE = []
|
1206
1296
|
include Aws::Structure
|
1207
1297
|
end
|
1208
1298
|
|
@@ -1222,6 +1312,7 @@ module Aws::ManagedBlockchain
|
|
1222
1312
|
class MemberFabricAttributes < Struct.new(
|
1223
1313
|
:admin_username,
|
1224
1314
|
:ca_endpoint)
|
1315
|
+
SENSITIVE = []
|
1225
1316
|
include Aws::Structure
|
1226
1317
|
end
|
1227
1318
|
|
@@ -1245,8 +1336,8 @@ module Aws::ManagedBlockchain
|
|
1245
1336
|
# `AdminPassword` must be at least eight characters long and no more
|
1246
1337
|
# than 32 characters. It must contain at least one uppercase letter,
|
1247
1338
|
# one lowercase letter, and one digit. It cannot have a single
|
1248
|
-
#
|
1249
|
-
# or a space.
|
1339
|
+
# quotation mark (‘), a double quotation marks (“), a forward
|
1340
|
+
# slash(/), a backward slash(\\), @, or a space.
|
1250
1341
|
# @return [String]
|
1251
1342
|
#
|
1252
1343
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/MemberFabricConfiguration AWS API Documentation
|
@@ -1254,6 +1345,7 @@ module Aws::ManagedBlockchain
|
|
1254
1345
|
class MemberFabricConfiguration < Struct.new(
|
1255
1346
|
:admin_username,
|
1256
1347
|
:admin_password)
|
1348
|
+
SENSITIVE = [:admin_password]
|
1257
1349
|
include Aws::Structure
|
1258
1350
|
end
|
1259
1351
|
|
@@ -1283,6 +1375,7 @@ module Aws::ManagedBlockchain
|
|
1283
1375
|
#
|
1284
1376
|
class MemberFabricLogPublishingConfiguration < Struct.new(
|
1285
1377
|
:ca_logs)
|
1378
|
+
SENSITIVE = []
|
1286
1379
|
include Aws::Structure
|
1287
1380
|
end
|
1288
1381
|
|
@@ -1298,6 +1391,7 @@ module Aws::ManagedBlockchain
|
|
1298
1391
|
#
|
1299
1392
|
class MemberFrameworkAttributes < Struct.new(
|
1300
1393
|
:fabric)
|
1394
|
+
SENSITIVE = []
|
1301
1395
|
include Aws::Structure
|
1302
1396
|
end
|
1303
1397
|
|
@@ -1323,6 +1417,7 @@ module Aws::ManagedBlockchain
|
|
1323
1417
|
#
|
1324
1418
|
class MemberFrameworkConfiguration < Struct.new(
|
1325
1419
|
:fabric)
|
1420
|
+
SENSITIVE = []
|
1326
1421
|
include Aws::Structure
|
1327
1422
|
end
|
1328
1423
|
|
@@ -1352,11 +1447,14 @@ module Aws::ManagedBlockchain
|
|
1352
1447
|
#
|
1353
1448
|
class MemberLogPublishingConfiguration < Struct.new(
|
1354
1449
|
:fabric)
|
1450
|
+
SENSITIVE = []
|
1355
1451
|
include Aws::Structure
|
1356
1452
|
end
|
1357
1453
|
|
1358
1454
|
# A summary of configuration properties for a member.
|
1359
1455
|
#
|
1456
|
+
# Applies only to Hyperledger Fabric.
|
1457
|
+
#
|
1360
1458
|
# @!attribute [rw] id
|
1361
1459
|
# The unique identifier of the member.
|
1362
1460
|
# @return [String]
|
@@ -1410,6 +1508,7 @@ module Aws::ManagedBlockchain
|
|
1410
1508
|
:status,
|
1411
1509
|
:creation_date,
|
1412
1510
|
:is_owned)
|
1511
|
+
SENSITIVE = []
|
1413
1512
|
include Aws::Structure
|
1414
1513
|
end
|
1415
1514
|
|
@@ -1471,6 +1570,28 @@ module Aws::ManagedBlockchain
|
|
1471
1570
|
:voting_policy,
|
1472
1571
|
:status,
|
1473
1572
|
:creation_date)
|
1573
|
+
SENSITIVE = []
|
1574
|
+
include Aws::Structure
|
1575
|
+
end
|
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 = []
|
1474
1595
|
include Aws::Structure
|
1475
1596
|
end
|
1476
1597
|
|
@@ -1495,6 +1616,7 @@ module Aws::ManagedBlockchain
|
|
1495
1616
|
class NetworkFabricAttributes < Struct.new(
|
1496
1617
|
:ordering_service_endpoint,
|
1497
1618
|
:edition)
|
1619
|
+
SENSITIVE = []
|
1498
1620
|
include Aws::Structure
|
1499
1621
|
end
|
1500
1622
|
|
@@ -1520,6 +1642,7 @@ module Aws::ManagedBlockchain
|
|
1520
1642
|
#
|
1521
1643
|
class NetworkFabricConfiguration < Struct.new(
|
1522
1644
|
:edition)
|
1645
|
+
SENSITIVE = []
|
1523
1646
|
include Aws::Structure
|
1524
1647
|
end
|
1525
1648
|
|
@@ -1531,10 +1654,17 @@ module Aws::ManagedBlockchain
|
|
1531
1654
|
# that uses Hyperledger Fabric.
|
1532
1655
|
# @return [Types::NetworkFabricAttributes]
|
1533
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
|
+
#
|
1534
1662
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NetworkFrameworkAttributes AWS API Documentation
|
1535
1663
|
#
|
1536
1664
|
class NetworkFrameworkAttributes < Struct.new(
|
1537
|
-
:fabric
|
1665
|
+
:fabric,
|
1666
|
+
:ethereum)
|
1667
|
+
SENSITIVE = []
|
1538
1668
|
include Aws::Structure
|
1539
1669
|
end
|
1540
1670
|
|
@@ -1559,6 +1689,7 @@ module Aws::ManagedBlockchain
|
|
1559
1689
|
#
|
1560
1690
|
class NetworkFrameworkConfiguration < Struct.new(
|
1561
1691
|
:fabric)
|
1692
|
+
SENSITIVE = []
|
1562
1693
|
include Aws::Structure
|
1563
1694
|
end
|
1564
1695
|
|
@@ -1602,17 +1733,20 @@ module Aws::ManagedBlockchain
|
|
1602
1733
|
:framework_version,
|
1603
1734
|
:status,
|
1604
1735
|
:creation_date)
|
1736
|
+
SENSITIVE = []
|
1605
1737
|
include Aws::Structure
|
1606
1738
|
end
|
1607
1739
|
|
1608
|
-
# Configuration properties of a
|
1740
|
+
# Configuration properties of a node.
|
1609
1741
|
#
|
1610
1742
|
# @!attribute [rw] network_id
|
1611
|
-
# The unique identifier of the network that the node is
|
1743
|
+
# The unique identifier of the network that the node is on.
|
1612
1744
|
# @return [String]
|
1613
1745
|
#
|
1614
1746
|
# @!attribute [rw] member_id
|
1615
1747
|
# The unique identifier of the member to which the node belongs.
|
1748
|
+
#
|
1749
|
+
# Applies only to Hyperledger Fabric.
|
1616
1750
|
# @return [String]
|
1617
1751
|
#
|
1618
1752
|
# @!attribute [rw] id
|
@@ -1632,8 +1766,17 @@ module Aws::ManagedBlockchain
|
|
1632
1766
|
# @return [Types::NodeFrameworkAttributes]
|
1633
1767
|
#
|
1634
1768
|
# @!attribute [rw] log_publishing_configuration
|
1769
|
+
# Configuration properties for logging events associated with a peer
|
1770
|
+
# node on a Hyperledger Fabric network on Managed Blockchain.
|
1635
1771
|
# @return [Types::NodeLogPublishingConfiguration]
|
1636
1772
|
#
|
1773
|
+
# @!attribute [rw] state_db
|
1774
|
+
# The state database that the node uses. Values are `LevelDB` or
|
1775
|
+
# `CouchDB`.
|
1776
|
+
#
|
1777
|
+
# Applies only to Hyperledger Fabric.
|
1778
|
+
# @return [String]
|
1779
|
+
#
|
1637
1780
|
# @!attribute [rw] status
|
1638
1781
|
# The status of the node.
|
1639
1782
|
# @return [String]
|
@@ -1652,19 +1795,21 @@ module Aws::ManagedBlockchain
|
|
1652
1795
|
:availability_zone,
|
1653
1796
|
:framework_attributes,
|
1654
1797
|
:log_publishing_configuration,
|
1798
|
+
:state_db,
|
1655
1799
|
:status,
|
1656
1800
|
:creation_date)
|
1801
|
+
SENSITIVE = []
|
1657
1802
|
include Aws::Structure
|
1658
1803
|
end
|
1659
1804
|
|
1660
|
-
# Configuration properties of a
|
1805
|
+
# Configuration properties of a node.
|
1661
1806
|
#
|
1662
1807
|
# @note When making an API call, you may pass NodeConfiguration
|
1663
1808
|
# data as a hash:
|
1664
1809
|
#
|
1665
1810
|
# {
|
1666
1811
|
# instance_type: "InstanceTypeString", # required
|
1667
|
-
# availability_zone: "AvailabilityZoneString",
|
1812
|
+
# availability_zone: "AvailabilityZoneString",
|
1668
1813
|
# log_publishing_configuration: {
|
1669
1814
|
# fabric: {
|
1670
1815
|
# chaincode_logs: {
|
@@ -1679,6 +1824,7 @@ module Aws::ManagedBlockchain
|
|
1679
1824
|
# },
|
1680
1825
|
# },
|
1681
1826
|
# },
|
1827
|
+
# state_db: "LevelDB", # accepts LevelDB, CouchDB
|
1682
1828
|
# }
|
1683
1829
|
#
|
1684
1830
|
# @!attribute [rw] instance_type
|
@@ -1690,19 +1836,66 @@ module Aws::ManagedBlockchain
|
|
1690
1836
|
# @return [String]
|
1691
1837
|
#
|
1692
1838
|
# @!attribute [rw] log_publishing_configuration
|
1839
|
+
# Configuration properties for logging events associated with a peer
|
1840
|
+
# node on a Hyperledger Fabric network on Managed Blockchain.
|
1693
1841
|
# @return [Types::NodeLogPublishingConfiguration]
|
1694
1842
|
#
|
1843
|
+
# @!attribute [rw] state_db
|
1844
|
+
# The state database that the node uses. Values are `LevelDB` or
|
1845
|
+
# `CouchDB`. When using an Amazon Managed Blockchain network with
|
1846
|
+
# Hyperledger Fabric version 1.4 or later, the default is `CouchDB`.
|
1847
|
+
#
|
1848
|
+
# Applies only to Hyperledger Fabric.
|
1849
|
+
# @return [String]
|
1850
|
+
#
|
1695
1851
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NodeConfiguration AWS API Documentation
|
1696
1852
|
#
|
1697
1853
|
class NodeConfiguration < Struct.new(
|
1698
1854
|
:instance_type,
|
1699
1855
|
:availability_zone,
|
1700
|
-
:log_publishing_configuration
|
1856
|
+
:log_publishing_configuration,
|
1857
|
+
:state_db)
|
1858
|
+
SENSITIVE = []
|
1859
|
+
include Aws::Structure
|
1860
|
+
end
|
1861
|
+
|
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 = []
|
1701
1894
|
include Aws::Structure
|
1702
1895
|
end
|
1703
1896
|
|
1704
|
-
# Attributes of Hyperledger Fabric for a peer node on a
|
1705
|
-
#
|
1897
|
+
# Attributes of Hyperledger Fabric for a peer node on a Hyperledger
|
1898
|
+
# Fabric network on Managed Blockchain.
|
1706
1899
|
#
|
1707
1900
|
# @!attribute [rw] peer_endpoint
|
1708
1901
|
# The endpoint that identifies the peer node for all services except
|
@@ -1719,6 +1912,7 @@ module Aws::ManagedBlockchain
|
|
1719
1912
|
class NodeFabricAttributes < Struct.new(
|
1720
1913
|
:peer_endpoint,
|
1721
1914
|
:peer_event_endpoint)
|
1915
|
+
SENSITIVE = []
|
1722
1916
|
include Aws::Structure
|
1723
1917
|
end
|
1724
1918
|
|
@@ -1762,26 +1956,34 @@ module Aws::ManagedBlockchain
|
|
1762
1956
|
class NodeFabricLogPublishingConfiguration < Struct.new(
|
1763
1957
|
:chaincode_logs,
|
1764
1958
|
:peer_logs)
|
1959
|
+
SENSITIVE = []
|
1765
1960
|
include Aws::Structure
|
1766
1961
|
end
|
1767
1962
|
|
1768
|
-
# Attributes relevant to a
|
1769
|
-
#
|
1963
|
+
# Attributes relevant to a node on a Managed Blockchain network for the
|
1964
|
+
# blockchain framework that the network uses.
|
1770
1965
|
#
|
1771
1966
|
# @!attribute [rw] fabric
|
1772
1967
|
# Attributes of Hyperledger Fabric for a peer node on a Managed
|
1773
1968
|
# Blockchain network that uses Hyperledger Fabric.
|
1774
1969
|
# @return [Types::NodeFabricAttributes]
|
1775
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
|
+
#
|
1776
1976
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NodeFrameworkAttributes AWS API Documentation
|
1777
1977
|
#
|
1778
1978
|
class NodeFrameworkAttributes < Struct.new(
|
1779
|
-
:fabric
|
1979
|
+
:fabric,
|
1980
|
+
:ethereum)
|
1981
|
+
SENSITIVE = []
|
1780
1982
|
include Aws::Structure
|
1781
1983
|
end
|
1782
1984
|
|
1783
1985
|
# Configuration properties for logging events associated with a peer
|
1784
|
-
# node
|
1986
|
+
# node on a Hyperledger Fabric network on Managed Blockchain.
|
1785
1987
|
#
|
1786
1988
|
# @note When making an API call, you may pass NodeLogPublishingConfiguration
|
1787
1989
|
# data as a hash:
|
@@ -1811,10 +2013,11 @@ module Aws::ManagedBlockchain
|
|
1811
2013
|
#
|
1812
2014
|
class NodeLogPublishingConfiguration < Struct.new(
|
1813
2015
|
:fabric)
|
2016
|
+
SENSITIVE = []
|
1814
2017
|
include Aws::Structure
|
1815
2018
|
end
|
1816
2019
|
|
1817
|
-
# A summary of configuration properties for a
|
2020
|
+
# A summary of configuration properties for a node.
|
1818
2021
|
#
|
1819
2022
|
# @!attribute [rw] id
|
1820
2023
|
# The unique identifier of the node.
|
@@ -1844,11 +2047,14 @@ module Aws::ManagedBlockchain
|
|
1844
2047
|
:creation_date,
|
1845
2048
|
:availability_zone,
|
1846
2049
|
:instance_type)
|
2050
|
+
SENSITIVE = []
|
1847
2051
|
include Aws::Structure
|
1848
2052
|
end
|
1849
2053
|
|
1850
2054
|
# Properties of a proposal on a Managed Blockchain network.
|
1851
2055
|
#
|
2056
|
+
# Applies only to Hyperledger Fabric.
|
2057
|
+
#
|
1852
2058
|
# @!attribute [rw] proposal_id
|
1853
2059
|
# The unique identifier of the proposal.
|
1854
2060
|
# @return [String]
|
@@ -1939,11 +2145,14 @@ module Aws::ManagedBlockchain
|
|
1939
2145
|
:yes_vote_count,
|
1940
2146
|
:no_vote_count,
|
1941
2147
|
:outstanding_vote_count)
|
2148
|
+
SENSITIVE = []
|
1942
2149
|
include Aws::Structure
|
1943
2150
|
end
|
1944
2151
|
|
1945
2152
|
# The actions to carry out if a proposal is `APPROVED`.
|
1946
2153
|
#
|
2154
|
+
# Applies only to Hyperledger Fabric.
|
2155
|
+
#
|
1947
2156
|
# @note When making an API call, you may pass ProposalActions
|
1948
2157
|
# data as a hash:
|
1949
2158
|
#
|
@@ -1976,11 +2185,14 @@ module Aws::ManagedBlockchain
|
|
1976
2185
|
class ProposalActions < Struct.new(
|
1977
2186
|
:invitations,
|
1978
2187
|
:removals)
|
2188
|
+
SENSITIVE = []
|
1979
2189
|
include Aws::Structure
|
1980
2190
|
end
|
1981
2191
|
|
1982
2192
|
# Properties of a proposal.
|
1983
2193
|
#
|
2194
|
+
# Applies only to Hyperledger Fabric.
|
2195
|
+
#
|
1984
2196
|
# @!attribute [rw] proposal_id
|
1985
2197
|
# The unique identifier of the proposal.
|
1986
2198
|
# @return [String]
|
@@ -2043,6 +2255,7 @@ module Aws::ManagedBlockchain
|
|
2043
2255
|
:status,
|
2044
2256
|
:creation_date,
|
2045
2257
|
:expiration_date)
|
2258
|
+
SENSITIVE = []
|
2046
2259
|
include Aws::Structure
|
2047
2260
|
end
|
2048
2261
|
|
@@ -2061,6 +2274,7 @@ module Aws::ManagedBlockchain
|
|
2061
2274
|
#
|
2062
2275
|
class RejectInvitationInput < Struct.new(
|
2063
2276
|
:invitation_id)
|
2277
|
+
SENSITIVE = []
|
2064
2278
|
include Aws::Structure
|
2065
2279
|
end
|
2066
2280
|
|
@@ -2072,6 +2286,8 @@ module Aws::ManagedBlockchain
|
|
2072
2286
|
# result of a removal proposal that is `APPROVED`. The member and all
|
2073
2287
|
# associated resources are deleted from the network.
|
2074
2288
|
#
|
2289
|
+
# Applies only to Hyperledger Fabric.
|
2290
|
+
#
|
2075
2291
|
# @note When making an API call, you may pass RemoveAction
|
2076
2292
|
# data as a hash:
|
2077
2293
|
#
|
@@ -2087,6 +2303,7 @@ module Aws::ManagedBlockchain
|
|
2087
2303
|
#
|
2088
2304
|
class RemoveAction < Struct.new(
|
2089
2305
|
:member_id)
|
2306
|
+
SENSITIVE = []
|
2090
2307
|
include Aws::Structure
|
2091
2308
|
end
|
2092
2309
|
|
@@ -2099,6 +2316,7 @@ module Aws::ManagedBlockchain
|
|
2099
2316
|
#
|
2100
2317
|
class ResourceAlreadyExistsException < Struct.new(
|
2101
2318
|
:message)
|
2319
|
+
SENSITIVE = []
|
2102
2320
|
include Aws::Structure
|
2103
2321
|
end
|
2104
2322
|
|
@@ -2113,6 +2331,7 @@ module Aws::ManagedBlockchain
|
|
2113
2331
|
#
|
2114
2332
|
class ResourceLimitExceededException < Struct.new(
|
2115
2333
|
:message)
|
2334
|
+
SENSITIVE = []
|
2116
2335
|
include Aws::Structure
|
2117
2336
|
end
|
2118
2337
|
|
@@ -2126,6 +2345,7 @@ module Aws::ManagedBlockchain
|
|
2126
2345
|
#
|
2127
2346
|
class ResourceNotFoundException < Struct.new(
|
2128
2347
|
:message)
|
2348
|
+
SENSITIVE = []
|
2129
2349
|
include Aws::Structure
|
2130
2350
|
end
|
2131
2351
|
|
@@ -2139,6 +2359,7 @@ module Aws::ManagedBlockchain
|
|
2139
2359
|
#
|
2140
2360
|
class ResourceNotReadyException < Struct.new(
|
2141
2361
|
:message)
|
2362
|
+
SENSITIVE = []
|
2142
2363
|
include Aws::Structure
|
2143
2364
|
end
|
2144
2365
|
|
@@ -2170,12 +2391,12 @@ module Aws::ManagedBlockchain
|
|
2170
2391
|
# }
|
2171
2392
|
#
|
2172
2393
|
# @!attribute [rw] network_id
|
2173
|
-
# The unique
|
2174
|
-
# belongs.
|
2394
|
+
# The unique identifier of the Managed Blockchain network to which the
|
2395
|
+
# member belongs.
|
2175
2396
|
# @return [String]
|
2176
2397
|
#
|
2177
2398
|
# @!attribute [rw] member_id
|
2178
|
-
# The unique
|
2399
|
+
# The unique identifier of the member.
|
2179
2400
|
# @return [String]
|
2180
2401
|
#
|
2181
2402
|
# @!attribute [rw] log_publishing_configuration
|
@@ -2188,6 +2409,7 @@ module Aws::ManagedBlockchain
|
|
2188
2409
|
:network_id,
|
2189
2410
|
:member_id,
|
2190
2411
|
:log_publishing_configuration)
|
2412
|
+
SENSITIVE = []
|
2191
2413
|
include Aws::Structure
|
2192
2414
|
end
|
2193
2415
|
|
@@ -2200,7 +2422,7 @@ module Aws::ManagedBlockchain
|
|
2200
2422
|
#
|
2201
2423
|
# {
|
2202
2424
|
# network_id: "ResourceIdString", # required
|
2203
|
-
# member_id: "ResourceIdString",
|
2425
|
+
# member_id: "ResourceIdString",
|
2204
2426
|
# node_id: "ResourceIdString", # required
|
2205
2427
|
# log_publishing_configuration: {
|
2206
2428
|
# fabric: {
|
@@ -2219,16 +2441,17 @@ module Aws::ManagedBlockchain
|
|
2219
2441
|
# }
|
2220
2442
|
#
|
2221
2443
|
# @!attribute [rw] network_id
|
2222
|
-
# The unique
|
2223
|
-
# belongs.
|
2444
|
+
# The unique identifier of the network that the node is on.
|
2224
2445
|
# @return [String]
|
2225
2446
|
#
|
2226
2447
|
# @!attribute [rw] member_id
|
2227
|
-
# The unique
|
2448
|
+
# The unique identifier of the member that owns the node.
|
2449
|
+
#
|
2450
|
+
# Applies only to Hyperledger Fabric.
|
2228
2451
|
# @return [String]
|
2229
2452
|
#
|
2230
2453
|
# @!attribute [rw] node_id
|
2231
|
-
# The unique
|
2454
|
+
# The unique identifier of the node.
|
2232
2455
|
# @return [String]
|
2233
2456
|
#
|
2234
2457
|
# @!attribute [rw] log_publishing_configuration
|
@@ -2242,6 +2465,7 @@ module Aws::ManagedBlockchain
|
|
2242
2465
|
:member_id,
|
2243
2466
|
:node_id,
|
2244
2467
|
:log_publishing_configuration)
|
2468
|
+
SENSITIVE = []
|
2245
2469
|
include Aws::Structure
|
2246
2470
|
end
|
2247
2471
|
|
@@ -2282,6 +2506,7 @@ module Aws::ManagedBlockchain
|
|
2282
2506
|
:proposal_id,
|
2283
2507
|
:voter_member_id,
|
2284
2508
|
:vote)
|
2509
|
+
SENSITIVE = []
|
2285
2510
|
include Aws::Structure
|
2286
2511
|
end
|
2287
2512
|
|
@@ -2291,6 +2516,8 @@ module Aws::ManagedBlockchain
|
|
2291
2516
|
|
2292
2517
|
# Properties of an individual vote that a member cast for a proposal.
|
2293
2518
|
#
|
2519
|
+
# Applies only to Hyperledger Fabric.
|
2520
|
+
#
|
2294
2521
|
# @!attribute [rw] vote
|
2295
2522
|
# The vote value, either `YES` or `NO`.
|
2296
2523
|
# @return [String]
|
@@ -2309,11 +2536,14 @@ module Aws::ManagedBlockchain
|
|
2309
2536
|
:vote,
|
2310
2537
|
:member_name,
|
2311
2538
|
:member_id)
|
2539
|
+
SENSITIVE = []
|
2312
2540
|
include Aws::Structure
|
2313
2541
|
end
|
2314
2542
|
|
2315
2543
|
# The voting rules for the network to decide if a proposal is accepted
|
2316
2544
|
#
|
2545
|
+
# Applies only to Hyperledger Fabric.
|
2546
|
+
#
|
2317
2547
|
# @note When making an API call, you may pass VotingPolicy
|
2318
2548
|
# data as a hash:
|
2319
2549
|
#
|
@@ -2336,6 +2566,7 @@ module Aws::ManagedBlockchain
|
|
2336
2566
|
#
|
2337
2567
|
class VotingPolicy < Struct.new(
|
2338
2568
|
:approval_threshold_policy)
|
2569
|
+
SENSITIVE = []
|
2339
2570
|
include Aws::Structure
|
2340
2571
|
end
|
2341
2572
|
|