aws-sdk-managedblockchain 1.16.0 → 1.21.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.
@@ -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
|
#
|
@@ -90,6 +99,9 @@ module Aws::ManagedBlockchain
|
|
90
99
|
# },
|
91
100
|
# },
|
92
101
|
# },
|
102
|
+
# tags: {
|
103
|
+
# "TagKey" => "TagValue",
|
104
|
+
# },
|
93
105
|
# },
|
94
106
|
# }
|
95
107
|
#
|
@@ -147,7 +159,7 @@ module Aws::ManagedBlockchain
|
|
147
159
|
# client_request_token: "ClientRequestTokenString", # required
|
148
160
|
# name: "NameString", # required
|
149
161
|
# description: "DescriptionString",
|
150
|
-
# framework: "HYPERLEDGER_FABRIC", # required, accepts HYPERLEDGER_FABRIC
|
162
|
+
# framework: "HYPERLEDGER_FABRIC", # required, accepts HYPERLEDGER_FABRIC, ETHEREUM
|
151
163
|
# framework_version: "FrameworkVersionString", # required
|
152
164
|
# framework_configuration: {
|
153
165
|
# fabric: {
|
@@ -179,6 +191,12 @@ module Aws::ManagedBlockchain
|
|
179
191
|
# },
|
180
192
|
# },
|
181
193
|
# },
|
194
|
+
# tags: {
|
195
|
+
# "TagKey" => "TagValue",
|
196
|
+
# },
|
197
|
+
# },
|
198
|
+
# tags: {
|
199
|
+
# "TagKey" => "TagValue",
|
182
200
|
# },
|
183
201
|
# }
|
184
202
|
#
|
@@ -223,6 +241,25 @@ module Aws::ManagedBlockchain
|
|
223
241
|
# Configuration properties for the first member within the network.
|
224
242
|
# @return [Types::MemberConfiguration]
|
225
243
|
#
|
244
|
+
# @!attribute [rw] tags
|
245
|
+
# Tags to assign to the network. Each tag consists of a key and
|
246
|
+
# optional value.
|
247
|
+
#
|
248
|
+
# When specifying tags during creation, you can specify multiple
|
249
|
+
# key-value pairs in a single request, with an overall maximum of 50
|
250
|
+
# tags added to each resource.
|
251
|
+
#
|
252
|
+
# For more information about tags, see [Tagging Resources][1] in the
|
253
|
+
# *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
|
254
|
+
# Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
|
255
|
+
# Developer Guide*.
|
256
|
+
#
|
257
|
+
#
|
258
|
+
#
|
259
|
+
# [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
|
260
|
+
# [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
|
261
|
+
# @return [Hash<String,String>]
|
262
|
+
#
|
226
263
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateNetworkInput AWS API Documentation
|
227
264
|
#
|
228
265
|
class CreateNetworkInput < Struct.new(
|
@@ -233,7 +270,8 @@ module Aws::ManagedBlockchain
|
|
233
270
|
:framework_version,
|
234
271
|
:framework_configuration,
|
235
272
|
:voting_policy,
|
236
|
-
:member_configuration
|
273
|
+
:member_configuration,
|
274
|
+
:tags)
|
237
275
|
SENSITIVE = []
|
238
276
|
include Aws::Structure
|
239
277
|
end
|
@@ -261,10 +299,10 @@ module Aws::ManagedBlockchain
|
|
261
299
|
# {
|
262
300
|
# client_request_token: "ClientRequestTokenString", # required
|
263
301
|
# network_id: "ResourceIdString", # required
|
264
|
-
# member_id: "ResourceIdString",
|
302
|
+
# member_id: "ResourceIdString",
|
265
303
|
# node_configuration: { # required
|
266
304
|
# instance_type: "InstanceTypeString", # required
|
267
|
-
# availability_zone: "AvailabilityZoneString",
|
305
|
+
# availability_zone: "AvailabilityZoneString",
|
268
306
|
# log_publishing_configuration: {
|
269
307
|
# fabric: {
|
270
308
|
# chaincode_logs: {
|
@@ -281,6 +319,9 @@ module Aws::ManagedBlockchain
|
|
281
319
|
# },
|
282
320
|
# state_db: "LevelDB", # accepts LevelDB, CouchDB
|
283
321
|
# },
|
322
|
+
# tags: {
|
323
|
+
# "TagKey" => "TagValue",
|
324
|
+
# },
|
284
325
|
# }
|
285
326
|
#
|
286
327
|
# @!attribute [rw] client_request_token
|
@@ -295,24 +336,54 @@ module Aws::ManagedBlockchain
|
|
295
336
|
# @return [String]
|
296
337
|
#
|
297
338
|
# @!attribute [rw] network_id
|
298
|
-
# The unique identifier of the network
|
339
|
+
# The unique identifier of the network for the node.
|
340
|
+
#
|
341
|
+
# Ethereum public networks have the following `NetworkId`s:
|
342
|
+
#
|
343
|
+
# * `n-ethereum-mainnet`
|
344
|
+
#
|
345
|
+
# * `n-ethereum-rinkeby`
|
346
|
+
#
|
347
|
+
# * `n-ethereum-ropsten`
|
299
348
|
# @return [String]
|
300
349
|
#
|
301
350
|
# @!attribute [rw] member_id
|
302
351
|
# The unique identifier of the member that owns this node.
|
352
|
+
#
|
353
|
+
# Applies only to Hyperledger Fabric.
|
303
354
|
# @return [String]
|
304
355
|
#
|
305
356
|
# @!attribute [rw] node_configuration
|
306
357
|
# The properties of a node configuration.
|
307
358
|
# @return [Types::NodeConfiguration]
|
308
359
|
#
|
360
|
+
# @!attribute [rw] tags
|
361
|
+
# Tags to assign to the node. Each tag consists of a key and optional
|
362
|
+
# value.
|
363
|
+
#
|
364
|
+
# When specifying tags during creation, you can specify multiple
|
365
|
+
# key-value pairs in a single request, with an overall maximum of 50
|
366
|
+
# tags added to each resource.
|
367
|
+
#
|
368
|
+
# For more information about tags, see [Tagging Resources][1] in the
|
369
|
+
# *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
|
370
|
+
# Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
|
371
|
+
# Developer Guide*.
|
372
|
+
#
|
373
|
+
#
|
374
|
+
#
|
375
|
+
# [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
|
376
|
+
# [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
|
377
|
+
# @return [Hash<String,String>]
|
378
|
+
#
|
309
379
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateNodeInput AWS API Documentation
|
310
380
|
#
|
311
381
|
class CreateNodeInput < Struct.new(
|
312
382
|
:client_request_token,
|
313
383
|
:network_id,
|
314
384
|
:member_id,
|
315
|
-
:node_configuration
|
385
|
+
:node_configuration,
|
386
|
+
:tags)
|
316
387
|
SENSITIVE = []
|
317
388
|
include Aws::Structure
|
318
389
|
end
|
@@ -349,6 +420,9 @@ module Aws::ManagedBlockchain
|
|
349
420
|
# ],
|
350
421
|
# },
|
351
422
|
# description: "DescriptionString",
|
423
|
+
# tags: {
|
424
|
+
# "TagKey" => "TagValue",
|
425
|
+
# },
|
352
426
|
# }
|
353
427
|
#
|
354
428
|
# @!attribute [rw] client_request_token
|
@@ -385,6 +459,26 @@ module Aws::ManagedBlockchain
|
|
385
459
|
# for example, "Proposal to add Example Corp. as member."
|
386
460
|
# @return [String]
|
387
461
|
#
|
462
|
+
# @!attribute [rw] tags
|
463
|
+
# Tags to assign to the proposal. Each tag consists of a key and
|
464
|
+
# optional value.
|
465
|
+
#
|
466
|
+
# When specifying tags during creation, you can specify multiple
|
467
|
+
# key-value pairs in a single request, with an overall maximum of 50
|
468
|
+
# tags added to each resource. If the proposal is for a network
|
469
|
+
# invitation, the invitation inherits the tags added to the proposal.
|
470
|
+
#
|
471
|
+
# For more information about tags, see [Tagging Resources][1] in the
|
472
|
+
# *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
|
473
|
+
# Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
|
474
|
+
# Developer Guide*.
|
475
|
+
#
|
476
|
+
#
|
477
|
+
#
|
478
|
+
# [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
|
479
|
+
# [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
|
480
|
+
# @return [Hash<String,String>]
|
481
|
+
#
|
388
482
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateProposalInput AWS API Documentation
|
389
483
|
#
|
390
484
|
class CreateProposalInput < Struct.new(
|
@@ -392,7 +486,8 @@ module Aws::ManagedBlockchain
|
|
392
486
|
:network_id,
|
393
487
|
:member_id,
|
394
488
|
:actions,
|
395
|
-
:description
|
489
|
+
:description,
|
490
|
+
:tags)
|
396
491
|
SENSITIVE = []
|
397
492
|
include Aws::Structure
|
398
493
|
end
|
@@ -444,16 +539,27 @@ module Aws::ManagedBlockchain
|
|
444
539
|
#
|
445
540
|
# {
|
446
541
|
# network_id: "ResourceIdString", # required
|
447
|
-
# member_id: "ResourceIdString",
|
542
|
+
# member_id: "ResourceIdString",
|
448
543
|
# node_id: "ResourceIdString", # required
|
449
544
|
# }
|
450
545
|
#
|
451
546
|
# @!attribute [rw] network_id
|
452
|
-
# The unique identifier of the network that the node
|
547
|
+
# The unique identifier of the network that the node is on.
|
548
|
+
#
|
549
|
+
# Ethereum public networks have the following `NetworkId`s:
|
550
|
+
#
|
551
|
+
# * `n-ethereum-mainnet`
|
552
|
+
#
|
553
|
+
# * `n-ethereum-rinkeby`
|
554
|
+
#
|
555
|
+
# * `n-ethereum-ropsten`
|
453
556
|
# @return [String]
|
454
557
|
#
|
455
558
|
# @!attribute [rw] member_id
|
456
559
|
# The unique identifier of the member that owns this node.
|
560
|
+
#
|
561
|
+
# Applies only to Hyperledger Fabric and is required for Hyperledger
|
562
|
+
# Fabric.
|
457
563
|
# @return [String]
|
458
564
|
#
|
459
565
|
# @!attribute [rw] node_id
|
@@ -547,16 +653,19 @@ module Aws::ManagedBlockchain
|
|
547
653
|
#
|
548
654
|
# {
|
549
655
|
# network_id: "ResourceIdString", # required
|
550
|
-
# member_id: "ResourceIdString",
|
656
|
+
# member_id: "ResourceIdString",
|
551
657
|
# node_id: "ResourceIdString", # required
|
552
658
|
# }
|
553
659
|
#
|
554
660
|
# @!attribute [rw] network_id
|
555
|
-
# The unique identifier of the network
|
661
|
+
# The unique identifier of the network that the node is on.
|
556
662
|
# @return [String]
|
557
663
|
#
|
558
664
|
# @!attribute [rw] member_id
|
559
665
|
# The unique identifier of the member that owns the node.
|
666
|
+
#
|
667
|
+
# Applies only to Hyperledger Fabric and is required for Hyperledger
|
668
|
+
# Fabric.
|
560
669
|
# @return [String]
|
561
670
|
#
|
562
671
|
# @!attribute [rw] node_id
|
@@ -657,6 +766,8 @@ module Aws::ManagedBlockchain
|
|
657
766
|
# An invitation to an AWS account to create a member and join the
|
658
767
|
# network.
|
659
768
|
#
|
769
|
+
# Applies only to Hyperledger Fabric.
|
770
|
+
#
|
660
771
|
# @!attribute [rw] invitation_id
|
661
772
|
# The unique identifier for the invitation.
|
662
773
|
# @return [String]
|
@@ -695,6 +806,16 @@ module Aws::ManagedBlockchain
|
|
695
806
|
# A summary of network configuration properties.
|
696
807
|
# @return [Types::NetworkSummary]
|
697
808
|
#
|
809
|
+
# @!attribute [rw] arn
|
810
|
+
# The Amazon Resource Name (ARN) of the invitation. For more
|
811
|
+
# information about ARNs and their format, see [Amazon Resource Names
|
812
|
+
# (ARNs)][1] in the *AWS General Reference*.
|
813
|
+
#
|
814
|
+
#
|
815
|
+
#
|
816
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
817
|
+
# @return [String]
|
818
|
+
#
|
698
819
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/Invitation AWS API Documentation
|
699
820
|
#
|
700
821
|
class Invitation < Struct.new(
|
@@ -702,7 +823,8 @@ module Aws::ManagedBlockchain
|
|
702
823
|
:creation_date,
|
703
824
|
:expiration_date,
|
704
825
|
:status,
|
705
|
-
:network_summary
|
826
|
+
:network_summary,
|
827
|
+
:arn)
|
706
828
|
SENSITIVE = []
|
707
829
|
include Aws::Structure
|
708
830
|
end
|
@@ -711,6 +833,8 @@ module Aws::ManagedBlockchain
|
|
711
833
|
# the network. The `InviteAction` is carried out when a `Proposal` is
|
712
834
|
# `APPROVED`.
|
713
835
|
#
|
836
|
+
# Applies only to Hyperledger Fabric.
|
837
|
+
#
|
714
838
|
# @note When making an API call, you may pass InviteAction
|
715
839
|
# data as a hash:
|
716
840
|
#
|
@@ -852,7 +976,7 @@ module Aws::ManagedBlockchain
|
|
852
976
|
#
|
853
977
|
# {
|
854
978
|
# name: "String",
|
855
|
-
# framework: "HYPERLEDGER_FABRIC", # accepts HYPERLEDGER_FABRIC
|
979
|
+
# framework: "HYPERLEDGER_FABRIC", # accepts HYPERLEDGER_FABRIC, ETHEREUM
|
856
980
|
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, DELETING, DELETED
|
857
981
|
# max_results: 1,
|
858
982
|
# next_token: "PaginationToken",
|
@@ -870,6 +994,8 @@ module Aws::ManagedBlockchain
|
|
870
994
|
# @!attribute [rw] status
|
871
995
|
# An optional status specifier. If provided, only networks currently
|
872
996
|
# in this status are listed.
|
997
|
+
#
|
998
|
+
# Applies only to Hyperledger Fabric.
|
873
999
|
# @return [String]
|
874
1000
|
#
|
875
1001
|
# @!attribute [rw] max_results
|
@@ -917,8 +1043,8 @@ module Aws::ManagedBlockchain
|
|
917
1043
|
#
|
918
1044
|
# {
|
919
1045
|
# network_id: "ResourceIdString", # required
|
920
|
-
# member_id: "ResourceIdString",
|
921
|
-
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, UPDATING, DELETING, DELETED, FAILED
|
1046
|
+
# member_id: "ResourceIdString",
|
1047
|
+
# status: "CREATING", # accepts CREATING, AVAILABLE, UNHEALTHY, CREATE_FAILED, UPDATING, DELETING, DELETED, FAILED
|
922
1048
|
# max_results: 1,
|
923
1049
|
# next_token: "PaginationToken",
|
924
1050
|
# }
|
@@ -929,6 +1055,9 @@ module Aws::ManagedBlockchain
|
|
929
1055
|
#
|
930
1056
|
# @!attribute [rw] member_id
|
931
1057
|
# The unique identifier of the member who owns the nodes to list.
|
1058
|
+
#
|
1059
|
+
# Applies only to Hyperledger Fabric and is required for Hyperledger
|
1060
|
+
# Fabric.
|
932
1061
|
# @return [String]
|
933
1062
|
#
|
934
1063
|
# @!attribute [rw] status
|
@@ -1015,7 +1144,7 @@ module Aws::ManagedBlockchain
|
|
1015
1144
|
end
|
1016
1145
|
|
1017
1146
|
# @!attribute [rw] proposal_votes
|
1018
|
-
# The
|
1147
|
+
# The list of votes.
|
1019
1148
|
# @return [Array<Types::VoteSummary>]
|
1020
1149
|
#
|
1021
1150
|
# @!attribute [rw] next_token
|
@@ -1082,6 +1211,43 @@ module Aws::ManagedBlockchain
|
|
1082
1211
|
include Aws::Structure
|
1083
1212
|
end
|
1084
1213
|
|
1214
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
1215
|
+
# data as a hash:
|
1216
|
+
#
|
1217
|
+
# {
|
1218
|
+
# resource_arn: "ArnString", # required
|
1219
|
+
# }
|
1220
|
+
#
|
1221
|
+
# @!attribute [rw] resource_arn
|
1222
|
+
# The Amazon Resource Name (ARN) of the resource. For more information
|
1223
|
+
# about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
|
1224
|
+
# in the *AWS General Reference*.
|
1225
|
+
#
|
1226
|
+
#
|
1227
|
+
#
|
1228
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1229
|
+
# @return [String]
|
1230
|
+
#
|
1231
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListTagsForResourceRequest AWS API Documentation
|
1232
|
+
#
|
1233
|
+
class ListTagsForResourceRequest < Struct.new(
|
1234
|
+
:resource_arn)
|
1235
|
+
SENSITIVE = []
|
1236
|
+
include Aws::Structure
|
1237
|
+
end
|
1238
|
+
|
1239
|
+
# @!attribute [rw] tags
|
1240
|
+
# The tags assigned to the resource.
|
1241
|
+
# @return [Hash<String,String>]
|
1242
|
+
#
|
1243
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListTagsForResourceResponse AWS API Documentation
|
1244
|
+
#
|
1245
|
+
class ListTagsForResourceResponse < Struct.new(
|
1246
|
+
:tags)
|
1247
|
+
SENSITIVE = []
|
1248
|
+
include Aws::Structure
|
1249
|
+
end
|
1250
|
+
|
1085
1251
|
# A configuration for logging events.
|
1086
1252
|
#
|
1087
1253
|
# @note When making an API call, you may pass LogConfiguration
|
@@ -1128,6 +1294,8 @@ module Aws::ManagedBlockchain
|
|
1128
1294
|
|
1129
1295
|
# Member configuration properties.
|
1130
1296
|
#
|
1297
|
+
# Applies only to Hyperledger Fabric.
|
1298
|
+
#
|
1131
1299
|
# @!attribute [rw] network_id
|
1132
1300
|
# The unique identifier of the network to which the member belongs.
|
1133
1301
|
# @return [String]
|
@@ -1181,6 +1349,27 @@ module Aws::ManagedBlockchain
|
|
1181
1349
|
# The date and time that the member was created.
|
1182
1350
|
# @return [Time]
|
1183
1351
|
#
|
1352
|
+
# @!attribute [rw] tags
|
1353
|
+
# Tags assigned to the member. Tags consist of a key and optional
|
1354
|
+
# value. For more information about tags, see [Tagging Resources][1]
|
1355
|
+
# in the *Amazon Managed Blockchain Hyperledger Fabric Developer
|
1356
|
+
# Guide*.
|
1357
|
+
#
|
1358
|
+
#
|
1359
|
+
#
|
1360
|
+
# [1]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
|
1361
|
+
# @return [Hash<String,String>]
|
1362
|
+
#
|
1363
|
+
# @!attribute [rw] arn
|
1364
|
+
# The Amazon Resource Name (ARN) of the member. For more information
|
1365
|
+
# about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
|
1366
|
+
# in the *AWS General Reference*.
|
1367
|
+
#
|
1368
|
+
#
|
1369
|
+
#
|
1370
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1371
|
+
# @return [String]
|
1372
|
+
#
|
1184
1373
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/Member AWS API Documentation
|
1185
1374
|
#
|
1186
1375
|
class Member < Struct.new(
|
@@ -1191,13 +1380,17 @@ module Aws::ManagedBlockchain
|
|
1191
1380
|
:framework_attributes,
|
1192
1381
|
:log_publishing_configuration,
|
1193
1382
|
:status,
|
1194
|
-
:creation_date
|
1383
|
+
:creation_date,
|
1384
|
+
:tags,
|
1385
|
+
:arn)
|
1195
1386
|
SENSITIVE = []
|
1196
1387
|
include Aws::Structure
|
1197
1388
|
end
|
1198
1389
|
|
1199
1390
|
# Configuration properties of the member.
|
1200
1391
|
#
|
1392
|
+
# Applies only to Hyperledger Fabric.
|
1393
|
+
#
|
1201
1394
|
# @note When making an API call, you may pass MemberConfiguration
|
1202
1395
|
# data as a hash:
|
1203
1396
|
#
|
@@ -1219,6 +1412,9 @@ module Aws::ManagedBlockchain
|
|
1219
1412
|
# },
|
1220
1413
|
# },
|
1221
1414
|
# },
|
1415
|
+
# tags: {
|
1416
|
+
# "TagKey" => "TagValue",
|
1417
|
+
# },
|
1222
1418
|
# }
|
1223
1419
|
#
|
1224
1420
|
# @!attribute [rw] name
|
@@ -1239,13 +1435,29 @@ module Aws::ManagedBlockchain
|
|
1239
1435
|
# of a Managed Blockchain network.
|
1240
1436
|
# @return [Types::MemberLogPublishingConfiguration]
|
1241
1437
|
#
|
1438
|
+
# @!attribute [rw] tags
|
1439
|
+
# Tags assigned to the member. Tags consist of a key and optional
|
1440
|
+
# value. For more information about tags, see [Tagging Resources][1]
|
1441
|
+
# in the *Amazon Managed Blockchain Hyperledger Fabric Developer
|
1442
|
+
# Guide*.
|
1443
|
+
#
|
1444
|
+
# When specifying tags during creation, you can specify multiple
|
1445
|
+
# key-value pairs in a single request, with an overall maximum of 50
|
1446
|
+
# tags added to each resource.
|
1447
|
+
#
|
1448
|
+
#
|
1449
|
+
#
|
1450
|
+
# [1]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
|
1451
|
+
# @return [Hash<String,String>]
|
1452
|
+
#
|
1242
1453
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/MemberConfiguration AWS API Documentation
|
1243
1454
|
#
|
1244
1455
|
class MemberConfiguration < Struct.new(
|
1245
1456
|
:name,
|
1246
1457
|
:description,
|
1247
1458
|
:framework_configuration,
|
1248
|
-
:log_publishing_configuration
|
1459
|
+
:log_publishing_configuration,
|
1460
|
+
:tags)
|
1249
1461
|
SENSITIVE = []
|
1250
1462
|
include Aws::Structure
|
1251
1463
|
end
|
@@ -1290,8 +1502,8 @@ module Aws::ManagedBlockchain
|
|
1290
1502
|
# `AdminPassword` must be at least eight characters long and no more
|
1291
1503
|
# than 32 characters. It must contain at least one uppercase letter,
|
1292
1504
|
# one lowercase letter, and one digit. It cannot have a single
|
1293
|
-
#
|
1294
|
-
# or a space.
|
1505
|
+
# quotation mark (‘), a double quotation marks (“), a forward
|
1506
|
+
# slash(/), a backward slash(\\), @, or a space.
|
1295
1507
|
# @return [String]
|
1296
1508
|
#
|
1297
1509
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/MemberFabricConfiguration AWS API Documentation
|
@@ -1407,6 +1619,8 @@ module Aws::ManagedBlockchain
|
|
1407
1619
|
|
1408
1620
|
# A summary of configuration properties for a member.
|
1409
1621
|
#
|
1622
|
+
# Applies only to Hyperledger Fabric.
|
1623
|
+
#
|
1410
1624
|
# @!attribute [rw] id
|
1411
1625
|
# The unique identifier of the member.
|
1412
1626
|
# @return [String]
|
@@ -1451,6 +1665,16 @@ module Aws::ManagedBlockchain
|
|
1451
1665
|
# different AWS account.
|
1452
1666
|
# @return [Boolean]
|
1453
1667
|
#
|
1668
|
+
# @!attribute [rw] arn
|
1669
|
+
# The Amazon Resource Name (ARN) of the member. For more information
|
1670
|
+
# about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
|
1671
|
+
# in the *AWS General Reference*.
|
1672
|
+
#
|
1673
|
+
#
|
1674
|
+
#
|
1675
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1676
|
+
# @return [String]
|
1677
|
+
#
|
1454
1678
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/MemberSummary AWS API Documentation
|
1455
1679
|
#
|
1456
1680
|
class MemberSummary < Struct.new(
|
@@ -1459,7 +1683,8 @@ module Aws::ManagedBlockchain
|
|
1459
1683
|
:description,
|
1460
1684
|
:status,
|
1461
1685
|
:creation_date,
|
1462
|
-
:is_owned
|
1686
|
+
:is_owned,
|
1687
|
+
:arn)
|
1463
1688
|
SENSITIVE = []
|
1464
1689
|
include Aws::Structure
|
1465
1690
|
end
|
@@ -1509,6 +1734,31 @@ module Aws::ManagedBlockchain
|
|
1509
1734
|
# The date and time that the network was created.
|
1510
1735
|
# @return [Time]
|
1511
1736
|
#
|
1737
|
+
# @!attribute [rw] tags
|
1738
|
+
# Tags assigned to the network. Each tag consists of a key and
|
1739
|
+
# optional value.
|
1740
|
+
#
|
1741
|
+
# For more information about tags, see [Tagging Resources][1] in the
|
1742
|
+
# *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
|
1743
|
+
# Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
|
1744
|
+
# Developer Guide*.
|
1745
|
+
#
|
1746
|
+
#
|
1747
|
+
#
|
1748
|
+
# [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
|
1749
|
+
# [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
|
1750
|
+
# @return [Hash<String,String>]
|
1751
|
+
#
|
1752
|
+
# @!attribute [rw] arn
|
1753
|
+
# The Amazon Resource Name (ARN) of the network. For more information
|
1754
|
+
# about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
|
1755
|
+
# in the *AWS General Reference*.
|
1756
|
+
#
|
1757
|
+
#
|
1758
|
+
#
|
1759
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1760
|
+
# @return [String]
|
1761
|
+
#
|
1512
1762
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/Network AWS API Documentation
|
1513
1763
|
#
|
1514
1764
|
class Network < Struct.new(
|
@@ -1521,7 +1771,30 @@ module Aws::ManagedBlockchain
|
|
1521
1771
|
:vpc_endpoint_service_name,
|
1522
1772
|
:voting_policy,
|
1523
1773
|
:status,
|
1524
|
-
:creation_date
|
1774
|
+
:creation_date,
|
1775
|
+
:tags,
|
1776
|
+
:arn)
|
1777
|
+
SENSITIVE = []
|
1778
|
+
include Aws::Structure
|
1779
|
+
end
|
1780
|
+
|
1781
|
+
# Attributes of Ethereum for a network.
|
1782
|
+
#
|
1783
|
+
# @!attribute [rw] chain_id
|
1784
|
+
# The Ethereum `CHAIN_ID` associated with the Ethereum network. Chain
|
1785
|
+
# IDs are as follows:
|
1786
|
+
#
|
1787
|
+
# * mainnet = `1`
|
1788
|
+
#
|
1789
|
+
# * rinkeby = `4`
|
1790
|
+
#
|
1791
|
+
# * ropsten = `3`
|
1792
|
+
# @return [String]
|
1793
|
+
#
|
1794
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NetworkEthereumAttributes AWS API Documentation
|
1795
|
+
#
|
1796
|
+
class NetworkEthereumAttributes < Struct.new(
|
1797
|
+
:chain_id)
|
1525
1798
|
SENSITIVE = []
|
1526
1799
|
include Aws::Structure
|
1527
1800
|
end
|
@@ -1585,10 +1858,16 @@ module Aws::ManagedBlockchain
|
|
1585
1858
|
# that uses Hyperledger Fabric.
|
1586
1859
|
# @return [Types::NetworkFabricAttributes]
|
1587
1860
|
#
|
1861
|
+
# @!attribute [rw] ethereum
|
1862
|
+
# Attributes of an Ethereum network for Managed Blockchain resources
|
1863
|
+
# participating in an Ethereum network.
|
1864
|
+
# @return [Types::NetworkEthereumAttributes]
|
1865
|
+
#
|
1588
1866
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NetworkFrameworkAttributes AWS API Documentation
|
1589
1867
|
#
|
1590
1868
|
class NetworkFrameworkAttributes < Struct.new(
|
1591
|
-
:fabric
|
1869
|
+
:fabric,
|
1870
|
+
:ethereum)
|
1592
1871
|
SENSITIVE = []
|
1593
1872
|
include Aws::Structure
|
1594
1873
|
end
|
@@ -1648,6 +1927,16 @@ module Aws::ManagedBlockchain
|
|
1648
1927
|
# The date and time that the network was created.
|
1649
1928
|
# @return [Time]
|
1650
1929
|
#
|
1930
|
+
# @!attribute [rw] arn
|
1931
|
+
# The Amazon Resource Name (ARN) of the network. For more information
|
1932
|
+
# about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
|
1933
|
+
# in the *AWS General Reference*.
|
1934
|
+
#
|
1935
|
+
#
|
1936
|
+
#
|
1937
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1938
|
+
# @return [String]
|
1939
|
+
#
|
1651
1940
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NetworkSummary AWS API Documentation
|
1652
1941
|
#
|
1653
1942
|
class NetworkSummary < Struct.new(
|
@@ -1657,19 +1946,22 @@ module Aws::ManagedBlockchain
|
|
1657
1946
|
:framework,
|
1658
1947
|
:framework_version,
|
1659
1948
|
:status,
|
1660
|
-
:creation_date
|
1949
|
+
:creation_date,
|
1950
|
+
:arn)
|
1661
1951
|
SENSITIVE = []
|
1662
1952
|
include Aws::Structure
|
1663
1953
|
end
|
1664
1954
|
|
1665
|
-
# Configuration properties of a
|
1955
|
+
# Configuration properties of a node.
|
1666
1956
|
#
|
1667
1957
|
# @!attribute [rw] network_id
|
1668
|
-
# The unique identifier of the network that the node is
|
1958
|
+
# The unique identifier of the network that the node is on.
|
1669
1959
|
# @return [String]
|
1670
1960
|
#
|
1671
1961
|
# @!attribute [rw] member_id
|
1672
1962
|
# The unique identifier of the member to which the node belongs.
|
1963
|
+
#
|
1964
|
+
# Applies only to Hyperledger Fabric.
|
1673
1965
|
# @return [String]
|
1674
1966
|
#
|
1675
1967
|
# @!attribute [rw] id
|
@@ -1681,7 +1973,8 @@ module Aws::ManagedBlockchain
|
|
1681
1973
|
# @return [String]
|
1682
1974
|
#
|
1683
1975
|
# @!attribute [rw] availability_zone
|
1684
|
-
# The Availability Zone in which the node exists.
|
1976
|
+
# The Availability Zone in which the node exists. Required for
|
1977
|
+
# Ethereum nodes.
|
1685
1978
|
# @return [String]
|
1686
1979
|
#
|
1687
1980
|
# @!attribute [rw] framework_attributes
|
@@ -1690,12 +1983,14 @@ module Aws::ManagedBlockchain
|
|
1690
1983
|
#
|
1691
1984
|
# @!attribute [rw] log_publishing_configuration
|
1692
1985
|
# Configuration properties for logging events associated with a peer
|
1693
|
-
# node
|
1986
|
+
# node on a Hyperledger Fabric network on Managed Blockchain.
|
1694
1987
|
# @return [Types::NodeLogPublishingConfiguration]
|
1695
1988
|
#
|
1696
1989
|
# @!attribute [rw] state_db
|
1697
1990
|
# The state database that the node uses. Values are `LevelDB` or
|
1698
1991
|
# `CouchDB`.
|
1992
|
+
#
|
1993
|
+
# Applies only to Hyperledger Fabric.
|
1699
1994
|
# @return [String]
|
1700
1995
|
#
|
1701
1996
|
# @!attribute [rw] status
|
@@ -1706,6 +2001,31 @@ module Aws::ManagedBlockchain
|
|
1706
2001
|
# The date and time that the node was created.
|
1707
2002
|
# @return [Time]
|
1708
2003
|
#
|
2004
|
+
# @!attribute [rw] tags
|
2005
|
+
# Tags assigned to the node. Each tag consists of a key and optional
|
2006
|
+
# value.
|
2007
|
+
#
|
2008
|
+
# For more information about tags, see [Tagging Resources][1] in the
|
2009
|
+
# *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
|
2010
|
+
# Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
|
2011
|
+
# Developer Guide*.
|
2012
|
+
#
|
2013
|
+
#
|
2014
|
+
#
|
2015
|
+
# [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
|
2016
|
+
# [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
|
2017
|
+
# @return [Hash<String,String>]
|
2018
|
+
#
|
2019
|
+
# @!attribute [rw] arn
|
2020
|
+
# The Amazon Resource Name (ARN) of the node. For more information
|
2021
|
+
# about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
|
2022
|
+
# in the *AWS General Reference*.
|
2023
|
+
#
|
2024
|
+
#
|
2025
|
+
#
|
2026
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2027
|
+
# @return [String]
|
2028
|
+
#
|
1709
2029
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/Node AWS API Documentation
|
1710
2030
|
#
|
1711
2031
|
class Node < Struct.new(
|
@@ -1718,19 +2038,21 @@ module Aws::ManagedBlockchain
|
|
1718
2038
|
:log_publishing_configuration,
|
1719
2039
|
:state_db,
|
1720
2040
|
:status,
|
1721
|
-
:creation_date
|
2041
|
+
:creation_date,
|
2042
|
+
:tags,
|
2043
|
+
:arn)
|
1722
2044
|
SENSITIVE = []
|
1723
2045
|
include Aws::Structure
|
1724
2046
|
end
|
1725
2047
|
|
1726
|
-
# Configuration properties of a
|
2048
|
+
# Configuration properties of a node.
|
1727
2049
|
#
|
1728
2050
|
# @note When making an API call, you may pass NodeConfiguration
|
1729
2051
|
# data as a hash:
|
1730
2052
|
#
|
1731
2053
|
# {
|
1732
2054
|
# instance_type: "InstanceTypeString", # required
|
1733
|
-
# availability_zone: "AvailabilityZoneString",
|
2055
|
+
# availability_zone: "AvailabilityZoneString",
|
1734
2056
|
# log_publishing_configuration: {
|
1735
2057
|
# fabric: {
|
1736
2058
|
# chaincode_logs: {
|
@@ -1753,18 +2075,21 @@ module Aws::ManagedBlockchain
|
|
1753
2075
|
# @return [String]
|
1754
2076
|
#
|
1755
2077
|
# @!attribute [rw] availability_zone
|
1756
|
-
# The Availability Zone in which the node exists.
|
2078
|
+
# The Availability Zone in which the node exists. Required for
|
2079
|
+
# Ethereum nodes.
|
1757
2080
|
# @return [String]
|
1758
2081
|
#
|
1759
2082
|
# @!attribute [rw] log_publishing_configuration
|
1760
2083
|
# Configuration properties for logging events associated with a peer
|
1761
|
-
# node
|
2084
|
+
# node on a Hyperledger Fabric network on Managed Blockchain.
|
1762
2085
|
# @return [Types::NodeLogPublishingConfiguration]
|
1763
2086
|
#
|
1764
2087
|
# @!attribute [rw] state_db
|
1765
2088
|
# The state database that the node uses. Values are `LevelDB` or
|
1766
2089
|
# `CouchDB`. When using an Amazon Managed Blockchain network with
|
1767
2090
|
# Hyperledger Fabric version 1.4 or later, the default is `CouchDB`.
|
2091
|
+
#
|
2092
|
+
# Applies only to Hyperledger Fabric.
|
1768
2093
|
# @return [String]
|
1769
2094
|
#
|
1770
2095
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NodeConfiguration AWS API Documentation
|
@@ -1778,8 +2103,43 @@ module Aws::ManagedBlockchain
|
|
1778
2103
|
include Aws::Structure
|
1779
2104
|
end
|
1780
2105
|
|
1781
|
-
# Attributes of
|
1782
|
-
#
|
2106
|
+
# Attributes of an Ethereum node.
|
2107
|
+
#
|
2108
|
+
# @!attribute [rw] http_endpoint
|
2109
|
+
# The endpoint on which the Ethereum node listens to run Ethereum
|
2110
|
+
# JSON-RPC methods over HTTP connections from a client. Use this
|
2111
|
+
# endpoint in client code for smart contracts when using an HTTP
|
2112
|
+
# connection. Connections to this endpoint are authenticated using
|
2113
|
+
# [Signature Version 4][1].
|
2114
|
+
#
|
2115
|
+
#
|
2116
|
+
#
|
2117
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
|
2118
|
+
# @return [String]
|
2119
|
+
#
|
2120
|
+
# @!attribute [rw] web_socket_endpoint
|
2121
|
+
# The endpoint on which the Ethereum node listens to run Ethereum
|
2122
|
+
# JSON-RPC methods over WebSockets connections from a client. Use this
|
2123
|
+
# endpoint in client code for smart contracts when using a WebSockets
|
2124
|
+
# connection. Connections to this endpoint are authenticated using
|
2125
|
+
# [Signature Version 4][1].
|
2126
|
+
#
|
2127
|
+
#
|
2128
|
+
#
|
2129
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
|
2130
|
+
# @return [String]
|
2131
|
+
#
|
2132
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NodeEthereumAttributes AWS API Documentation
|
2133
|
+
#
|
2134
|
+
class NodeEthereumAttributes < Struct.new(
|
2135
|
+
:http_endpoint,
|
2136
|
+
:web_socket_endpoint)
|
2137
|
+
SENSITIVE = []
|
2138
|
+
include Aws::Structure
|
2139
|
+
end
|
2140
|
+
|
2141
|
+
# Attributes of Hyperledger Fabric for a peer node on a Hyperledger
|
2142
|
+
# Fabric network on Managed Blockchain.
|
1783
2143
|
#
|
1784
2144
|
# @!attribute [rw] peer_endpoint
|
1785
2145
|
# The endpoint that identifies the peer node for all services except
|
@@ -1844,24 +2204,30 @@ module Aws::ManagedBlockchain
|
|
1844
2204
|
include Aws::Structure
|
1845
2205
|
end
|
1846
2206
|
|
1847
|
-
# Attributes relevant to a
|
1848
|
-
#
|
2207
|
+
# Attributes relevant to a node on a Managed Blockchain network for the
|
2208
|
+
# blockchain framework that the network uses.
|
1849
2209
|
#
|
1850
2210
|
# @!attribute [rw] fabric
|
1851
2211
|
# Attributes of Hyperledger Fabric for a peer node on a Managed
|
1852
2212
|
# Blockchain network that uses Hyperledger Fabric.
|
1853
2213
|
# @return [Types::NodeFabricAttributes]
|
1854
2214
|
#
|
2215
|
+
# @!attribute [rw] ethereum
|
2216
|
+
# Attributes of Ethereum for a node on a Managed Blockchain network
|
2217
|
+
# that uses Ethereum.
|
2218
|
+
# @return [Types::NodeEthereumAttributes]
|
2219
|
+
#
|
1855
2220
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NodeFrameworkAttributes AWS API Documentation
|
1856
2221
|
#
|
1857
2222
|
class NodeFrameworkAttributes < Struct.new(
|
1858
|
-
:fabric
|
2223
|
+
:fabric,
|
2224
|
+
:ethereum)
|
1859
2225
|
SENSITIVE = []
|
1860
2226
|
include Aws::Structure
|
1861
2227
|
end
|
1862
2228
|
|
1863
2229
|
# Configuration properties for logging events associated with a peer
|
1864
|
-
# node
|
2230
|
+
# node on a Hyperledger Fabric network on Managed Blockchain.
|
1865
2231
|
#
|
1866
2232
|
# @note When making an API call, you may pass NodeLogPublishingConfiguration
|
1867
2233
|
# data as a hash:
|
@@ -1895,7 +2261,7 @@ module Aws::ManagedBlockchain
|
|
1895
2261
|
include Aws::Structure
|
1896
2262
|
end
|
1897
2263
|
|
1898
|
-
# A summary of configuration properties for a
|
2264
|
+
# A summary of configuration properties for a node.
|
1899
2265
|
#
|
1900
2266
|
# @!attribute [rw] id
|
1901
2267
|
# The unique identifier of the node.
|
@@ -1917,6 +2283,16 @@ module Aws::ManagedBlockchain
|
|
1917
2283
|
# The EC2 instance type for the node.
|
1918
2284
|
# @return [String]
|
1919
2285
|
#
|
2286
|
+
# @!attribute [rw] arn
|
2287
|
+
# The Amazon Resource Name (ARN) of the node. For more information
|
2288
|
+
# about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
|
2289
|
+
# in the *AWS General Reference*.
|
2290
|
+
#
|
2291
|
+
#
|
2292
|
+
#
|
2293
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2294
|
+
# @return [String]
|
2295
|
+
#
|
1920
2296
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NodeSummary AWS API Documentation
|
1921
2297
|
#
|
1922
2298
|
class NodeSummary < Struct.new(
|
@@ -1924,13 +2300,16 @@ module Aws::ManagedBlockchain
|
|
1924
2300
|
:status,
|
1925
2301
|
:creation_date,
|
1926
2302
|
:availability_zone,
|
1927
|
-
:instance_type
|
2303
|
+
:instance_type,
|
2304
|
+
:arn)
|
1928
2305
|
SENSITIVE = []
|
1929
2306
|
include Aws::Structure
|
1930
2307
|
end
|
1931
2308
|
|
1932
2309
|
# Properties of a proposal on a Managed Blockchain network.
|
1933
2310
|
#
|
2311
|
+
# Applies only to Hyperledger Fabric.
|
2312
|
+
#
|
1934
2313
|
# @!attribute [rw] proposal_id
|
1935
2314
|
# The unique identifier of the proposal.
|
1936
2315
|
# @return [String]
|
@@ -2006,6 +2385,31 @@ module Aws::ManagedBlockchain
|
|
2006
2385
|
# and `NO` votes.
|
2007
2386
|
# @return [Integer]
|
2008
2387
|
#
|
2388
|
+
# @!attribute [rw] tags
|
2389
|
+
# Tags assigned to the proposal. Each tag consists of a key and
|
2390
|
+
# optional value.
|
2391
|
+
#
|
2392
|
+
# For more information about tags, see [Tagging Resources][1] in the
|
2393
|
+
# *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
|
2394
|
+
# Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
|
2395
|
+
# Developer Guide*.
|
2396
|
+
#
|
2397
|
+
#
|
2398
|
+
#
|
2399
|
+
# [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
|
2400
|
+
# [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
|
2401
|
+
# @return [Hash<String,String>]
|
2402
|
+
#
|
2403
|
+
# @!attribute [rw] arn
|
2404
|
+
# The Amazon Resource Name (ARN) of the proposal. For more information
|
2405
|
+
# about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
|
2406
|
+
# in the *AWS General Reference*.
|
2407
|
+
#
|
2408
|
+
#
|
2409
|
+
#
|
2410
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2411
|
+
# @return [String]
|
2412
|
+
#
|
2009
2413
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/Proposal AWS API Documentation
|
2010
2414
|
#
|
2011
2415
|
class Proposal < Struct.new(
|
@@ -2020,13 +2424,17 @@ module Aws::ManagedBlockchain
|
|
2020
2424
|
:expiration_date,
|
2021
2425
|
:yes_vote_count,
|
2022
2426
|
:no_vote_count,
|
2023
|
-
:outstanding_vote_count
|
2427
|
+
:outstanding_vote_count,
|
2428
|
+
:tags,
|
2429
|
+
:arn)
|
2024
2430
|
SENSITIVE = []
|
2025
2431
|
include Aws::Structure
|
2026
2432
|
end
|
2027
2433
|
|
2028
2434
|
# The actions to carry out if a proposal is `APPROVED`.
|
2029
2435
|
#
|
2436
|
+
# Applies only to Hyperledger Fabric.
|
2437
|
+
#
|
2030
2438
|
# @note When making an API call, you may pass ProposalActions
|
2031
2439
|
# data as a hash:
|
2032
2440
|
#
|
@@ -2065,6 +2473,8 @@ module Aws::ManagedBlockchain
|
|
2065
2473
|
|
2066
2474
|
# Properties of a proposal.
|
2067
2475
|
#
|
2476
|
+
# Applies only to Hyperledger Fabric.
|
2477
|
+
#
|
2068
2478
|
# @!attribute [rw] proposal_id
|
2069
2479
|
# The unique identifier of the proposal.
|
2070
2480
|
# @return [String]
|
@@ -2117,6 +2527,16 @@ module Aws::ManagedBlockchain
|
|
2117
2527
|
# `Actions` are not carried out.
|
2118
2528
|
# @return [Time]
|
2119
2529
|
#
|
2530
|
+
# @!attribute [rw] arn
|
2531
|
+
# The Amazon Resource Name (ARN) of the proposal. For more information
|
2532
|
+
# about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
|
2533
|
+
# in the *AWS General Reference*.
|
2534
|
+
#
|
2535
|
+
#
|
2536
|
+
#
|
2537
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2538
|
+
# @return [String]
|
2539
|
+
#
|
2120
2540
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ProposalSummary AWS API Documentation
|
2121
2541
|
#
|
2122
2542
|
class ProposalSummary < Struct.new(
|
@@ -2126,7 +2546,8 @@ module Aws::ManagedBlockchain
|
|
2126
2546
|
:proposed_by_member_name,
|
2127
2547
|
:status,
|
2128
2548
|
:creation_date,
|
2129
|
-
:expiration_date
|
2549
|
+
:expiration_date,
|
2550
|
+
:arn)
|
2130
2551
|
SENSITIVE = []
|
2131
2552
|
include Aws::Structure
|
2132
2553
|
end
|
@@ -2158,6 +2579,8 @@ module Aws::ManagedBlockchain
|
|
2158
2579
|
# result of a removal proposal that is `APPROVED`. The member and all
|
2159
2580
|
# associated resources are deleted from the network.
|
2160
2581
|
#
|
2582
|
+
# Applies only to Hyperledger Fabric.
|
2583
|
+
#
|
2161
2584
|
# @note When making an API call, you may pass RemoveAction
|
2162
2585
|
# data as a hash:
|
2163
2586
|
#
|
@@ -2205,16 +2628,22 @@ module Aws::ManagedBlockchain
|
|
2205
2628
|
include Aws::Structure
|
2206
2629
|
end
|
2207
2630
|
|
2208
|
-
# A requested resource does not exist
|
2209
|
-
#
|
2631
|
+
# A requested resource does not exist. It may have been deleted or
|
2632
|
+
# referenced inaccurately.
|
2210
2633
|
#
|
2211
2634
|
# @!attribute [rw] message
|
2212
2635
|
# @return [String]
|
2213
2636
|
#
|
2637
|
+
# @!attribute [rw] resource_name
|
2638
|
+
# A requested resource does not exist. It may have been deleted or
|
2639
|
+
# referenced inaccurately.
|
2640
|
+
# @return [String]
|
2641
|
+
#
|
2214
2642
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ResourceNotFoundException AWS API Documentation
|
2215
2643
|
#
|
2216
2644
|
class ResourceNotFoundException < Struct.new(
|
2217
|
-
:message
|
2645
|
+
:message,
|
2646
|
+
:resource_name)
|
2218
2647
|
SENSITIVE = []
|
2219
2648
|
include Aws::Structure
|
2220
2649
|
end
|
@@ -2233,6 +2662,46 @@ module Aws::ManagedBlockchain
|
|
2233
2662
|
include Aws::Structure
|
2234
2663
|
end
|
2235
2664
|
|
2665
|
+
# @note When making an API call, you may pass TagResourceRequest
|
2666
|
+
# data as a hash:
|
2667
|
+
#
|
2668
|
+
# {
|
2669
|
+
# resource_arn: "ArnString", # required
|
2670
|
+
# tags: { # required
|
2671
|
+
# "TagKey" => "TagValue",
|
2672
|
+
# },
|
2673
|
+
# }
|
2674
|
+
#
|
2675
|
+
# @!attribute [rw] resource_arn
|
2676
|
+
# The Amazon Resource Name (ARN) of the resource. For more information
|
2677
|
+
# about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
|
2678
|
+
# in the *AWS General Reference*.
|
2679
|
+
#
|
2680
|
+
#
|
2681
|
+
#
|
2682
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2683
|
+
# @return [String]
|
2684
|
+
#
|
2685
|
+
# @!attribute [rw] tags
|
2686
|
+
# The tags to assign to the specified resource. Tag values can be
|
2687
|
+
# empty, for example, `"MyTagKey" : ""`. You can specify multiple
|
2688
|
+
# key-value pairs in a single request, with an overall maximum of 50
|
2689
|
+
# tags added to each resource.
|
2690
|
+
# @return [Hash<String,String>]
|
2691
|
+
#
|
2692
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/TagResourceRequest AWS API Documentation
|
2693
|
+
#
|
2694
|
+
class TagResourceRequest < Struct.new(
|
2695
|
+
:resource_arn,
|
2696
|
+
:tags)
|
2697
|
+
SENSITIVE = []
|
2698
|
+
include Aws::Structure
|
2699
|
+
end
|
2700
|
+
|
2701
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/TagResourceResponse AWS API Documentation
|
2702
|
+
#
|
2703
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
2704
|
+
|
2236
2705
|
# The request or operation could not be performed because a service is
|
2237
2706
|
# throttling requests. The most common source of throttling errors is
|
2238
2707
|
# launching EC2 instances such that your service limit for EC2 instances
|
@@ -2243,6 +2712,56 @@ module Aws::ManagedBlockchain
|
|
2243
2712
|
#
|
2244
2713
|
class ThrottlingException < Aws::EmptyStructure; end
|
2245
2714
|
|
2715
|
+
# @!attribute [rw] message
|
2716
|
+
# @return [String]
|
2717
|
+
#
|
2718
|
+
# @!attribute [rw] resource_name
|
2719
|
+
# @return [String]
|
2720
|
+
#
|
2721
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/TooManyTagsException AWS API Documentation
|
2722
|
+
#
|
2723
|
+
class TooManyTagsException < Struct.new(
|
2724
|
+
:message,
|
2725
|
+
:resource_name)
|
2726
|
+
SENSITIVE = []
|
2727
|
+
include Aws::Structure
|
2728
|
+
end
|
2729
|
+
|
2730
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
2731
|
+
# data as a hash:
|
2732
|
+
#
|
2733
|
+
# {
|
2734
|
+
# resource_arn: "ArnString", # required
|
2735
|
+
# tag_keys: ["TagKey"], # required
|
2736
|
+
# }
|
2737
|
+
#
|
2738
|
+
# @!attribute [rw] resource_arn
|
2739
|
+
# The Amazon Resource Name (ARN) of the resource. For more information
|
2740
|
+
# about ARNs and their format, see [Amazon Resource Names (ARNs)][1]
|
2741
|
+
# in the *AWS General Reference*.
|
2742
|
+
#
|
2743
|
+
#
|
2744
|
+
#
|
2745
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2746
|
+
# @return [String]
|
2747
|
+
#
|
2748
|
+
# @!attribute [rw] tag_keys
|
2749
|
+
# The tag keys.
|
2750
|
+
# @return [Array<String>]
|
2751
|
+
#
|
2752
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UntagResourceRequest AWS API Documentation
|
2753
|
+
#
|
2754
|
+
class UntagResourceRequest < Struct.new(
|
2755
|
+
:resource_arn,
|
2756
|
+
:tag_keys)
|
2757
|
+
SENSITIVE = []
|
2758
|
+
include Aws::Structure
|
2759
|
+
end
|
2760
|
+
|
2761
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UntagResourceResponse AWS API Documentation
|
2762
|
+
#
|
2763
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
2764
|
+
|
2246
2765
|
# @note When making an API call, you may pass UpdateMemberInput
|
2247
2766
|
# data as a hash:
|
2248
2767
|
#
|
@@ -2261,12 +2780,12 @@ module Aws::ManagedBlockchain
|
|
2261
2780
|
# }
|
2262
2781
|
#
|
2263
2782
|
# @!attribute [rw] network_id
|
2264
|
-
# The unique
|
2265
|
-
# belongs.
|
2783
|
+
# The unique identifier of the Managed Blockchain network to which the
|
2784
|
+
# member belongs.
|
2266
2785
|
# @return [String]
|
2267
2786
|
#
|
2268
2787
|
# @!attribute [rw] member_id
|
2269
|
-
# The unique
|
2788
|
+
# The unique identifier of the member.
|
2270
2789
|
# @return [String]
|
2271
2790
|
#
|
2272
2791
|
# @!attribute [rw] log_publishing_configuration
|
@@ -2292,7 +2811,7 @@ module Aws::ManagedBlockchain
|
|
2292
2811
|
#
|
2293
2812
|
# {
|
2294
2813
|
# network_id: "ResourceIdString", # required
|
2295
|
-
# member_id: "ResourceIdString",
|
2814
|
+
# member_id: "ResourceIdString",
|
2296
2815
|
# node_id: "ResourceIdString", # required
|
2297
2816
|
# log_publishing_configuration: {
|
2298
2817
|
# fabric: {
|
@@ -2311,16 +2830,17 @@ module Aws::ManagedBlockchain
|
|
2311
2830
|
# }
|
2312
2831
|
#
|
2313
2832
|
# @!attribute [rw] network_id
|
2314
|
-
# The unique
|
2315
|
-
# belongs.
|
2833
|
+
# The unique identifier of the network that the node is on.
|
2316
2834
|
# @return [String]
|
2317
2835
|
#
|
2318
2836
|
# @!attribute [rw] member_id
|
2319
|
-
# The unique
|
2837
|
+
# The unique identifier of the member that owns the node.
|
2838
|
+
#
|
2839
|
+
# Applies only to Hyperledger Fabric.
|
2320
2840
|
# @return [String]
|
2321
2841
|
#
|
2322
2842
|
# @!attribute [rw] node_id
|
2323
|
-
# The unique
|
2843
|
+
# The unique identifier of the node.
|
2324
2844
|
# @return [String]
|
2325
2845
|
#
|
2326
2846
|
# @!attribute [rw] log_publishing_configuration
|
@@ -2385,6 +2905,8 @@ module Aws::ManagedBlockchain
|
|
2385
2905
|
|
2386
2906
|
# Properties of an individual vote that a member cast for a proposal.
|
2387
2907
|
#
|
2908
|
+
# Applies only to Hyperledger Fabric.
|
2909
|
+
#
|
2388
2910
|
# @!attribute [rw] vote
|
2389
2911
|
# The vote value, either `YES` or `NO`.
|
2390
2912
|
# @return [String]
|
@@ -2409,6 +2931,8 @@ module Aws::ManagedBlockchain
|
|
2409
2931
|
|
2410
2932
|
# The voting rules for the network to decide if a proposal is accepted
|
2411
2933
|
#
|
2934
|
+
# Applies only to Hyperledger Fabric.
|
2935
|
+
#
|
2412
2936
|
# @note When making an API call, you may pass VotingPolicy
|
2413
2937
|
# data as a hash:
|
2414
2938
|
#
|