aws-sdk-managedblockchain 1.8.0 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-managedblockchain.rb +3 -1
- data/lib/aws-sdk-managedblockchain/client.rb +150 -13
- data/lib/aws-sdk-managedblockchain/client_api.rb +77 -0
- data/lib/aws-sdk-managedblockchain/errors.rb +2 -0
- data/lib/aws-sdk-managedblockchain/resource.rb +3 -7
- data/lib/aws-sdk-managedblockchain/types.rb +430 -7
- metadata +6 -5
@@ -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:
|
@@ -6,13 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::ManagedBlockchain
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::ManagedBlockchain::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::ManagedBlockchain::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::ManagedBlockchain::Resource.new(client: client)
|
11
|
+
|
16
12
|
class Resource
|
17
13
|
|
18
14
|
# @param options ({})
|
@@ -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:
|
@@ -59,6 +61,7 @@ module Aws::ManagedBlockchain
|
|
59
61
|
:threshold_percentage,
|
60
62
|
:proposal_duration_in_hours,
|
61
63
|
:threshold_comparator)
|
64
|
+
SENSITIVE = []
|
62
65
|
include Aws::Structure
|
63
66
|
end
|
64
67
|
|
@@ -78,6 +81,15 @@ module Aws::ManagedBlockchain
|
|
78
81
|
# admin_password: "PasswordString", # required
|
79
82
|
# },
|
80
83
|
# },
|
84
|
+
# log_publishing_configuration: {
|
85
|
+
# fabric: {
|
86
|
+
# ca_logs: {
|
87
|
+
# cloudwatch: {
|
88
|
+
# enabled: false,
|
89
|
+
# },
|
90
|
+
# },
|
91
|
+
# },
|
92
|
+
# },
|
81
93
|
# },
|
82
94
|
# }
|
83
95
|
#
|
@@ -112,6 +124,7 @@ module Aws::ManagedBlockchain
|
|
112
124
|
:invitation_id,
|
113
125
|
:network_id,
|
114
126
|
:member_configuration)
|
127
|
+
SENSITIVE = []
|
115
128
|
include Aws::Structure
|
116
129
|
end
|
117
130
|
|
@@ -123,6 +136,7 @@ module Aws::ManagedBlockchain
|
|
123
136
|
#
|
124
137
|
class CreateMemberOutput < Struct.new(
|
125
138
|
:member_id)
|
139
|
+
SENSITIVE = []
|
126
140
|
include Aws::Structure
|
127
141
|
end
|
128
142
|
|
@@ -156,6 +170,15 @@ module Aws::ManagedBlockchain
|
|
156
170
|
# admin_password: "PasswordString", # required
|
157
171
|
# },
|
158
172
|
# },
|
173
|
+
# log_publishing_configuration: {
|
174
|
+
# fabric: {
|
175
|
+
# ca_logs: {
|
176
|
+
# cloudwatch: {
|
177
|
+
# enabled: false,
|
178
|
+
# },
|
179
|
+
# },
|
180
|
+
# },
|
181
|
+
# },
|
159
182
|
# },
|
160
183
|
# }
|
161
184
|
#
|
@@ -211,6 +234,7 @@ module Aws::ManagedBlockchain
|
|
211
234
|
:framework_configuration,
|
212
235
|
:voting_policy,
|
213
236
|
:member_configuration)
|
237
|
+
SENSITIVE = []
|
214
238
|
include Aws::Structure
|
215
239
|
end
|
216
240
|
|
@@ -227,6 +251,7 @@ module Aws::ManagedBlockchain
|
|
227
251
|
class CreateNetworkOutput < Struct.new(
|
228
252
|
:network_id,
|
229
253
|
:member_id)
|
254
|
+
SENSITIVE = []
|
230
255
|
include Aws::Structure
|
231
256
|
end
|
232
257
|
|
@@ -240,6 +265,20 @@ module Aws::ManagedBlockchain
|
|
240
265
|
# node_configuration: { # required
|
241
266
|
# instance_type: "InstanceTypeString", # required
|
242
267
|
# availability_zone: "AvailabilityZoneString", # required
|
268
|
+
# log_publishing_configuration: {
|
269
|
+
# fabric: {
|
270
|
+
# chaincode_logs: {
|
271
|
+
# cloudwatch: {
|
272
|
+
# enabled: false,
|
273
|
+
# },
|
274
|
+
# },
|
275
|
+
# peer_logs: {
|
276
|
+
# cloudwatch: {
|
277
|
+
# enabled: false,
|
278
|
+
# },
|
279
|
+
# },
|
280
|
+
# },
|
281
|
+
# },
|
243
282
|
# },
|
244
283
|
# }
|
245
284
|
#
|
@@ -273,6 +312,7 @@ module Aws::ManagedBlockchain
|
|
273
312
|
:network_id,
|
274
313
|
:member_id,
|
275
314
|
:node_configuration)
|
315
|
+
SENSITIVE = []
|
276
316
|
include Aws::Structure
|
277
317
|
end
|
278
318
|
|
@@ -284,6 +324,7 @@ module Aws::ManagedBlockchain
|
|
284
324
|
#
|
285
325
|
class CreateNodeOutput < Struct.new(
|
286
326
|
:node_id)
|
327
|
+
SENSITIVE = []
|
287
328
|
include Aws::Structure
|
288
329
|
end
|
289
330
|
|
@@ -351,6 +392,7 @@ module Aws::ManagedBlockchain
|
|
351
392
|
:member_id,
|
352
393
|
:actions,
|
353
394
|
:description)
|
395
|
+
SENSITIVE = []
|
354
396
|
include Aws::Structure
|
355
397
|
end
|
356
398
|
|
@@ -362,6 +404,7 @@ module Aws::ManagedBlockchain
|
|
362
404
|
#
|
363
405
|
class CreateProposalOutput < Struct.new(
|
364
406
|
:proposal_id)
|
407
|
+
SENSITIVE = []
|
365
408
|
include Aws::Structure
|
366
409
|
end
|
367
410
|
|
@@ -387,6 +430,7 @@ module Aws::ManagedBlockchain
|
|
387
430
|
class DeleteMemberInput < Struct.new(
|
388
431
|
:network_id,
|
389
432
|
:member_id)
|
433
|
+
SENSITIVE = []
|
390
434
|
include Aws::Structure
|
391
435
|
end
|
392
436
|
|
@@ -421,6 +465,7 @@ module Aws::ManagedBlockchain
|
|
421
465
|
:network_id,
|
422
466
|
:member_id,
|
423
467
|
:node_id)
|
468
|
+
SENSITIVE = []
|
424
469
|
include Aws::Structure
|
425
470
|
end
|
426
471
|
|
@@ -449,6 +494,7 @@ module Aws::ManagedBlockchain
|
|
449
494
|
class GetMemberInput < Struct.new(
|
450
495
|
:network_id,
|
451
496
|
:member_id)
|
497
|
+
SENSITIVE = []
|
452
498
|
include Aws::Structure
|
453
499
|
end
|
454
500
|
|
@@ -460,6 +506,7 @@ module Aws::ManagedBlockchain
|
|
460
506
|
#
|
461
507
|
class GetMemberOutput < Struct.new(
|
462
508
|
:member)
|
509
|
+
SENSITIVE = []
|
463
510
|
include Aws::Structure
|
464
511
|
end
|
465
512
|
|
@@ -478,6 +525,7 @@ module Aws::ManagedBlockchain
|
|
478
525
|
#
|
479
526
|
class GetNetworkInput < Struct.new(
|
480
527
|
:network_id)
|
528
|
+
SENSITIVE = []
|
481
529
|
include Aws::Structure
|
482
530
|
end
|
483
531
|
|
@@ -489,6 +537,7 @@ module Aws::ManagedBlockchain
|
|
489
537
|
#
|
490
538
|
class GetNetworkOutput < Struct.new(
|
491
539
|
:network)
|
540
|
+
SENSITIVE = []
|
492
541
|
include Aws::Structure
|
493
542
|
end
|
494
543
|
|
@@ -519,6 +568,7 @@ module Aws::ManagedBlockchain
|
|
519
568
|
:network_id,
|
520
569
|
:member_id,
|
521
570
|
:node_id)
|
571
|
+
SENSITIVE = []
|
522
572
|
include Aws::Structure
|
523
573
|
end
|
524
574
|
|
@@ -530,6 +580,7 @@ module Aws::ManagedBlockchain
|
|
530
580
|
#
|
531
581
|
class GetNodeOutput < Struct.new(
|
532
582
|
:node)
|
583
|
+
SENSITIVE = []
|
533
584
|
include Aws::Structure
|
534
585
|
end
|
535
586
|
|
@@ -554,6 +605,7 @@ module Aws::ManagedBlockchain
|
|
554
605
|
class GetProposalInput < Struct.new(
|
555
606
|
:network_id,
|
556
607
|
:proposal_id)
|
608
|
+
SENSITIVE = []
|
557
609
|
include Aws::Structure
|
558
610
|
end
|
559
611
|
|
@@ -565,6 +617,7 @@ module Aws::ManagedBlockchain
|
|
565
617
|
#
|
566
618
|
class GetProposalOutput < Struct.new(
|
567
619
|
:proposal)
|
620
|
+
SENSITIVE = []
|
568
621
|
include Aws::Structure
|
569
622
|
end
|
570
623
|
|
@@ -575,6 +628,7 @@ module Aws::ManagedBlockchain
|
|
575
628
|
#
|
576
629
|
class IllegalActionException < Struct.new(
|
577
630
|
:message)
|
631
|
+
SENSITIVE = []
|
578
632
|
include Aws::Structure
|
579
633
|
end
|
580
634
|
|
@@ -595,6 +649,7 @@ module Aws::ManagedBlockchain
|
|
595
649
|
#
|
596
650
|
class InvalidRequestException < Struct.new(
|
597
651
|
:message)
|
652
|
+
SENSITIVE = []
|
598
653
|
include Aws::Structure
|
599
654
|
end
|
600
655
|
|
@@ -647,6 +702,7 @@ module Aws::ManagedBlockchain
|
|
647
702
|
:expiration_date,
|
648
703
|
:status,
|
649
704
|
:network_summary)
|
705
|
+
SENSITIVE = []
|
650
706
|
include Aws::Structure
|
651
707
|
end
|
652
708
|
|
@@ -669,6 +725,7 @@ module Aws::ManagedBlockchain
|
|
669
725
|
#
|
670
726
|
class InviteAction < Struct.new(
|
671
727
|
:principal)
|
728
|
+
SENSITIVE = []
|
672
729
|
include Aws::Structure
|
673
730
|
end
|
674
731
|
|
@@ -694,6 +751,7 @@ module Aws::ManagedBlockchain
|
|
694
751
|
class ListInvitationsInput < Struct.new(
|
695
752
|
:max_results,
|
696
753
|
:next_token)
|
754
|
+
SENSITIVE = []
|
697
755
|
include Aws::Structure
|
698
756
|
end
|
699
757
|
|
@@ -711,6 +769,7 @@ module Aws::ManagedBlockchain
|
|
711
769
|
class ListInvitationsOutput < Struct.new(
|
712
770
|
:invitations,
|
713
771
|
:next_token)
|
772
|
+
SENSITIVE = []
|
714
773
|
include Aws::Structure
|
715
774
|
end
|
716
775
|
|
@@ -720,7 +779,7 @@ module Aws::ManagedBlockchain
|
|
720
779
|
# {
|
721
780
|
# network_id: "ResourceIdString", # required
|
722
781
|
# name: "String",
|
723
|
-
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, DELETING, DELETED
|
782
|
+
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, UPDATING, DELETING, DELETED
|
724
783
|
# is_owned: false,
|
725
784
|
# max_results: 1,
|
726
785
|
# next_token: "PaginationToken",
|
@@ -764,6 +823,7 @@ module Aws::ManagedBlockchain
|
|
764
823
|
:is_owned,
|
765
824
|
:max_results,
|
766
825
|
:next_token)
|
826
|
+
SENSITIVE = []
|
767
827
|
include Aws::Structure
|
768
828
|
end
|
769
829
|
|
@@ -782,6 +842,7 @@ module Aws::ManagedBlockchain
|
|
782
842
|
class ListMembersOutput < Struct.new(
|
783
843
|
:members,
|
784
844
|
:next_token)
|
845
|
+
SENSITIVE = []
|
785
846
|
include Aws::Structure
|
786
847
|
end
|
787
848
|
|
@@ -827,6 +888,7 @@ module Aws::ManagedBlockchain
|
|
827
888
|
:status,
|
828
889
|
:max_results,
|
829
890
|
:next_token)
|
891
|
+
SENSITIVE = []
|
830
892
|
include Aws::Structure
|
831
893
|
end
|
832
894
|
|
@@ -845,6 +907,7 @@ module Aws::ManagedBlockchain
|
|
845
907
|
class ListNetworksOutput < Struct.new(
|
846
908
|
:networks,
|
847
909
|
:next_token)
|
910
|
+
SENSITIVE = []
|
848
911
|
include Aws::Structure
|
849
912
|
end
|
850
913
|
|
@@ -854,7 +917,7 @@ module Aws::ManagedBlockchain
|
|
854
917
|
# {
|
855
918
|
# network_id: "ResourceIdString", # required
|
856
919
|
# member_id: "ResourceIdString", # required
|
857
|
-
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, DELETING, DELETED, FAILED
|
920
|
+
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, UPDATING, DELETING, DELETED, FAILED
|
858
921
|
# max_results: 1,
|
859
922
|
# next_token: "PaginationToken",
|
860
923
|
# }
|
@@ -889,6 +952,7 @@ module Aws::ManagedBlockchain
|
|
889
952
|
:status,
|
890
953
|
:max_results,
|
891
954
|
:next_token)
|
955
|
+
SENSITIVE = []
|
892
956
|
include Aws::Structure
|
893
957
|
end
|
894
958
|
|
@@ -907,6 +971,7 @@ module Aws::ManagedBlockchain
|
|
907
971
|
class ListNodesOutput < Struct.new(
|
908
972
|
:nodes,
|
909
973
|
:next_token)
|
974
|
+
SENSITIVE = []
|
910
975
|
include Aws::Structure
|
911
976
|
end
|
912
977
|
|
@@ -944,6 +1009,7 @@ module Aws::ManagedBlockchain
|
|
944
1009
|
:proposal_id,
|
945
1010
|
:max_results,
|
946
1011
|
:next_token)
|
1012
|
+
SENSITIVE = []
|
947
1013
|
include Aws::Structure
|
948
1014
|
end
|
949
1015
|
|
@@ -961,6 +1027,7 @@ module Aws::ManagedBlockchain
|
|
961
1027
|
class ListProposalVotesOutput < Struct.new(
|
962
1028
|
:proposal_votes,
|
963
1029
|
:next_token)
|
1030
|
+
SENSITIVE = []
|
964
1031
|
include Aws::Structure
|
965
1032
|
end
|
966
1033
|
|
@@ -992,6 +1059,7 @@ module Aws::ManagedBlockchain
|
|
992
1059
|
:network_id,
|
993
1060
|
:max_results,
|
994
1061
|
:next_token)
|
1062
|
+
SENSITIVE = []
|
995
1063
|
include Aws::Structure
|
996
1064
|
end
|
997
1065
|
|
@@ -1009,6 +1077,51 @@ module Aws::ManagedBlockchain
|
|
1009
1077
|
class ListProposalsOutput < Struct.new(
|
1010
1078
|
:proposals,
|
1011
1079
|
:next_token)
|
1080
|
+
SENSITIVE = []
|
1081
|
+
include Aws::Structure
|
1082
|
+
end
|
1083
|
+
|
1084
|
+
# A configuration for logging events.
|
1085
|
+
#
|
1086
|
+
# @note When making an API call, you may pass LogConfiguration
|
1087
|
+
# data as a hash:
|
1088
|
+
#
|
1089
|
+
# {
|
1090
|
+
# enabled: false,
|
1091
|
+
# }
|
1092
|
+
#
|
1093
|
+
# @!attribute [rw] enabled
|
1094
|
+
# Indicates whether logging is enabled.
|
1095
|
+
# @return [Boolean]
|
1096
|
+
#
|
1097
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/LogConfiguration AWS API Documentation
|
1098
|
+
#
|
1099
|
+
class LogConfiguration < Struct.new(
|
1100
|
+
:enabled)
|
1101
|
+
SENSITIVE = []
|
1102
|
+
include Aws::Structure
|
1103
|
+
end
|
1104
|
+
|
1105
|
+
# A collection of log configurations.
|
1106
|
+
#
|
1107
|
+
# @note When making an API call, you may pass LogConfigurations
|
1108
|
+
# data as a hash:
|
1109
|
+
#
|
1110
|
+
# {
|
1111
|
+
# cloudwatch: {
|
1112
|
+
# enabled: false,
|
1113
|
+
# },
|
1114
|
+
# }
|
1115
|
+
#
|
1116
|
+
# @!attribute [rw] cloudwatch
|
1117
|
+
# Parameters for publishing logs to Amazon CloudWatch Logs.
|
1118
|
+
# @return [Types::LogConfiguration]
|
1119
|
+
#
|
1120
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/LogConfigurations AWS API Documentation
|
1121
|
+
#
|
1122
|
+
class LogConfigurations < Struct.new(
|
1123
|
+
:cloudwatch)
|
1124
|
+
SENSITIVE = []
|
1012
1125
|
include Aws::Structure
|
1013
1126
|
end
|
1014
1127
|
|
@@ -1035,6 +1148,11 @@ module Aws::ManagedBlockchain
|
|
1035
1148
|
# the Managed Blockchain network uses.
|
1036
1149
|
# @return [Types::MemberFrameworkAttributes]
|
1037
1150
|
#
|
1151
|
+
# @!attribute [rw] log_publishing_configuration
|
1152
|
+
# Configuration properties for logging events associated with a
|
1153
|
+
# member.
|
1154
|
+
# @return [Types::MemberLogPublishingConfiguration]
|
1155
|
+
#
|
1038
1156
|
# @!attribute [rw] status
|
1039
1157
|
# The status of a member.
|
1040
1158
|
#
|
@@ -1070,8 +1188,10 @@ module Aws::ManagedBlockchain
|
|
1070
1188
|
:name,
|
1071
1189
|
:description,
|
1072
1190
|
:framework_attributes,
|
1191
|
+
:log_publishing_configuration,
|
1073
1192
|
:status,
|
1074
1193
|
:creation_date)
|
1194
|
+
SENSITIVE = []
|
1075
1195
|
include Aws::Structure
|
1076
1196
|
end
|
1077
1197
|
|
@@ -1089,6 +1209,15 @@ module Aws::ManagedBlockchain
|
|
1089
1209
|
# admin_password: "PasswordString", # required
|
1090
1210
|
# },
|
1091
1211
|
# },
|
1212
|
+
# log_publishing_configuration: {
|
1213
|
+
# fabric: {
|
1214
|
+
# ca_logs: {
|
1215
|
+
# cloudwatch: {
|
1216
|
+
# enabled: false,
|
1217
|
+
# },
|
1218
|
+
# },
|
1219
|
+
# },
|
1220
|
+
# },
|
1092
1221
|
# }
|
1093
1222
|
#
|
1094
1223
|
# @!attribute [rw] name
|
@@ -1104,12 +1233,17 @@ module Aws::ManagedBlockchain
|
|
1104
1233
|
# member.
|
1105
1234
|
# @return [Types::MemberFrameworkConfiguration]
|
1106
1235
|
#
|
1236
|
+
# @!attribute [rw] log_publishing_configuration
|
1237
|
+
# @return [Types::MemberLogPublishingConfiguration]
|
1238
|
+
#
|
1107
1239
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/MemberConfiguration AWS API Documentation
|
1108
1240
|
#
|
1109
1241
|
class MemberConfiguration < Struct.new(
|
1110
1242
|
:name,
|
1111
1243
|
:description,
|
1112
|
-
:framework_configuration
|
1244
|
+
:framework_configuration,
|
1245
|
+
:log_publishing_configuration)
|
1246
|
+
SENSITIVE = []
|
1113
1247
|
include Aws::Structure
|
1114
1248
|
end
|
1115
1249
|
|
@@ -1129,6 +1263,7 @@ module Aws::ManagedBlockchain
|
|
1129
1263
|
class MemberFabricAttributes < Struct.new(
|
1130
1264
|
:admin_username,
|
1131
1265
|
:ca_endpoint)
|
1266
|
+
SENSITIVE = []
|
1132
1267
|
include Aws::Structure
|
1133
1268
|
end
|
1134
1269
|
|
@@ -1161,6 +1296,37 @@ module Aws::ManagedBlockchain
|
|
1161
1296
|
class MemberFabricConfiguration < Struct.new(
|
1162
1297
|
:admin_username,
|
1163
1298
|
:admin_password)
|
1299
|
+
SENSITIVE = [:admin_password]
|
1300
|
+
include Aws::Structure
|
1301
|
+
end
|
1302
|
+
|
1303
|
+
# Configuration properties for logging events associated with a member
|
1304
|
+
# of a Managed Blockchain network using the Hyperledger Fabric
|
1305
|
+
# framework.
|
1306
|
+
#
|
1307
|
+
# @note When making an API call, you may pass MemberFabricLogPublishingConfiguration
|
1308
|
+
# data as a hash:
|
1309
|
+
#
|
1310
|
+
# {
|
1311
|
+
# ca_logs: {
|
1312
|
+
# cloudwatch: {
|
1313
|
+
# enabled: false,
|
1314
|
+
# },
|
1315
|
+
# },
|
1316
|
+
# }
|
1317
|
+
#
|
1318
|
+
# @!attribute [rw] ca_logs
|
1319
|
+
# Configuration properties for logging events associated with a
|
1320
|
+
# member's Certificate Authority (CA). CA logs help you determine
|
1321
|
+
# when a member in your account joins the network, or when new peers
|
1322
|
+
# register with a member CA.
|
1323
|
+
# @return [Types::LogConfigurations]
|
1324
|
+
#
|
1325
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/MemberFabricLogPublishingConfiguration AWS API Documentation
|
1326
|
+
#
|
1327
|
+
class MemberFabricLogPublishingConfiguration < Struct.new(
|
1328
|
+
:ca_logs)
|
1329
|
+
SENSITIVE = []
|
1164
1330
|
include Aws::Structure
|
1165
1331
|
end
|
1166
1332
|
|
@@ -1176,6 +1342,7 @@ module Aws::ManagedBlockchain
|
|
1176
1342
|
#
|
1177
1343
|
class MemberFrameworkAttributes < Struct.new(
|
1178
1344
|
:fabric)
|
1345
|
+
SENSITIVE = []
|
1179
1346
|
include Aws::Structure
|
1180
1347
|
end
|
1181
1348
|
|
@@ -1201,6 +1368,37 @@ module Aws::ManagedBlockchain
|
|
1201
1368
|
#
|
1202
1369
|
class MemberFrameworkConfiguration < Struct.new(
|
1203
1370
|
:fabric)
|
1371
|
+
SENSITIVE = []
|
1372
|
+
include Aws::Structure
|
1373
|
+
end
|
1374
|
+
|
1375
|
+
# Configuration properties for logging events associated with a member
|
1376
|
+
# of a Managed Blockchain network.
|
1377
|
+
#
|
1378
|
+
# @note When making an API call, you may pass MemberLogPublishingConfiguration
|
1379
|
+
# data as a hash:
|
1380
|
+
#
|
1381
|
+
# {
|
1382
|
+
# fabric: {
|
1383
|
+
# ca_logs: {
|
1384
|
+
# cloudwatch: {
|
1385
|
+
# enabled: false,
|
1386
|
+
# },
|
1387
|
+
# },
|
1388
|
+
# },
|
1389
|
+
# }
|
1390
|
+
#
|
1391
|
+
# @!attribute [rw] fabric
|
1392
|
+
# Configuration properties for logging events associated with a member
|
1393
|
+
# of a Managed Blockchain network using the Hyperledger Fabric
|
1394
|
+
# framework.
|
1395
|
+
# @return [Types::MemberFabricLogPublishingConfiguration]
|
1396
|
+
#
|
1397
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/MemberLogPublishingConfiguration AWS API Documentation
|
1398
|
+
#
|
1399
|
+
class MemberLogPublishingConfiguration < Struct.new(
|
1400
|
+
:fabric)
|
1401
|
+
SENSITIVE = []
|
1204
1402
|
include Aws::Structure
|
1205
1403
|
end
|
1206
1404
|
|
@@ -1259,6 +1457,7 @@ module Aws::ManagedBlockchain
|
|
1259
1457
|
:status,
|
1260
1458
|
:creation_date,
|
1261
1459
|
:is_owned)
|
1460
|
+
SENSITIVE = []
|
1262
1461
|
include Aws::Structure
|
1263
1462
|
end
|
1264
1463
|
|
@@ -1320,6 +1519,7 @@ module Aws::ManagedBlockchain
|
|
1320
1519
|
:voting_policy,
|
1321
1520
|
:status,
|
1322
1521
|
:creation_date)
|
1522
|
+
SENSITIVE = []
|
1323
1523
|
include Aws::Structure
|
1324
1524
|
end
|
1325
1525
|
|
@@ -1336,7 +1536,7 @@ module Aws::ManagedBlockchain
|
|
1336
1536
|
#
|
1337
1537
|
#
|
1338
1538
|
#
|
1339
|
-
# [1]:
|
1539
|
+
# [1]: http://aws.amazon.com/managed-blockchain/pricing/
|
1340
1540
|
# @return [String]
|
1341
1541
|
#
|
1342
1542
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NetworkFabricAttributes AWS API Documentation
|
@@ -1344,6 +1544,7 @@ module Aws::ManagedBlockchain
|
|
1344
1544
|
class NetworkFabricAttributes < Struct.new(
|
1345
1545
|
:ordering_service_endpoint,
|
1346
1546
|
:edition)
|
1547
|
+
SENSITIVE = []
|
1347
1548
|
include Aws::Structure
|
1348
1549
|
end
|
1349
1550
|
|
@@ -1362,13 +1563,14 @@ module Aws::ManagedBlockchain
|
|
1362
1563
|
#
|
1363
1564
|
#
|
1364
1565
|
#
|
1365
|
-
# [1]:
|
1566
|
+
# [1]: http://aws.amazon.com/managed-blockchain/pricing/
|
1366
1567
|
# @return [String]
|
1367
1568
|
#
|
1368
1569
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NetworkFabricConfiguration AWS API Documentation
|
1369
1570
|
#
|
1370
1571
|
class NetworkFabricConfiguration < Struct.new(
|
1371
1572
|
:edition)
|
1573
|
+
SENSITIVE = []
|
1372
1574
|
include Aws::Structure
|
1373
1575
|
end
|
1374
1576
|
|
@@ -1384,6 +1586,7 @@ module Aws::ManagedBlockchain
|
|
1384
1586
|
#
|
1385
1587
|
class NetworkFrameworkAttributes < Struct.new(
|
1386
1588
|
:fabric)
|
1589
|
+
SENSITIVE = []
|
1387
1590
|
include Aws::Structure
|
1388
1591
|
end
|
1389
1592
|
|
@@ -1408,6 +1611,7 @@ module Aws::ManagedBlockchain
|
|
1408
1611
|
#
|
1409
1612
|
class NetworkFrameworkConfiguration < Struct.new(
|
1410
1613
|
:fabric)
|
1614
|
+
SENSITIVE = []
|
1411
1615
|
include Aws::Structure
|
1412
1616
|
end
|
1413
1617
|
|
@@ -1451,6 +1655,7 @@ module Aws::ManagedBlockchain
|
|
1451
1655
|
:framework_version,
|
1452
1656
|
:status,
|
1453
1657
|
:creation_date)
|
1658
|
+
SENSITIVE = []
|
1454
1659
|
include Aws::Structure
|
1455
1660
|
end
|
1456
1661
|
|
@@ -1480,6 +1685,9 @@ module Aws::ManagedBlockchain
|
|
1480
1685
|
# Attributes of the blockchain framework being used.
|
1481
1686
|
# @return [Types::NodeFrameworkAttributes]
|
1482
1687
|
#
|
1688
|
+
# @!attribute [rw] log_publishing_configuration
|
1689
|
+
# @return [Types::NodeLogPublishingConfiguration]
|
1690
|
+
#
|
1483
1691
|
# @!attribute [rw] status
|
1484
1692
|
# The status of the node.
|
1485
1693
|
# @return [String]
|
@@ -1497,8 +1705,10 @@ module Aws::ManagedBlockchain
|
|
1497
1705
|
:instance_type,
|
1498
1706
|
:availability_zone,
|
1499
1707
|
:framework_attributes,
|
1708
|
+
:log_publishing_configuration,
|
1500
1709
|
:status,
|
1501
1710
|
:creation_date)
|
1711
|
+
SENSITIVE = []
|
1502
1712
|
include Aws::Structure
|
1503
1713
|
end
|
1504
1714
|
|
@@ -1510,6 +1720,20 @@ module Aws::ManagedBlockchain
|
|
1510
1720
|
# {
|
1511
1721
|
# instance_type: "InstanceTypeString", # required
|
1512
1722
|
# availability_zone: "AvailabilityZoneString", # required
|
1723
|
+
# log_publishing_configuration: {
|
1724
|
+
# fabric: {
|
1725
|
+
# chaincode_logs: {
|
1726
|
+
# cloudwatch: {
|
1727
|
+
# enabled: false,
|
1728
|
+
# },
|
1729
|
+
# },
|
1730
|
+
# peer_logs: {
|
1731
|
+
# cloudwatch: {
|
1732
|
+
# enabled: false,
|
1733
|
+
# },
|
1734
|
+
# },
|
1735
|
+
# },
|
1736
|
+
# },
|
1513
1737
|
# }
|
1514
1738
|
#
|
1515
1739
|
# @!attribute [rw] instance_type
|
@@ -1520,11 +1744,16 @@ module Aws::ManagedBlockchain
|
|
1520
1744
|
# The Availability Zone in which the node exists.
|
1521
1745
|
# @return [String]
|
1522
1746
|
#
|
1747
|
+
# @!attribute [rw] log_publishing_configuration
|
1748
|
+
# @return [Types::NodeLogPublishingConfiguration]
|
1749
|
+
#
|
1523
1750
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NodeConfiguration AWS API Documentation
|
1524
1751
|
#
|
1525
1752
|
class NodeConfiguration < Struct.new(
|
1526
1753
|
:instance_type,
|
1527
|
-
:availability_zone
|
1754
|
+
:availability_zone,
|
1755
|
+
:log_publishing_configuration)
|
1756
|
+
SENSITIVE = []
|
1528
1757
|
include Aws::Structure
|
1529
1758
|
end
|
1530
1759
|
|
@@ -1546,6 +1775,51 @@ module Aws::ManagedBlockchain
|
|
1546
1775
|
class NodeFabricAttributes < Struct.new(
|
1547
1776
|
:peer_endpoint,
|
1548
1777
|
:peer_event_endpoint)
|
1778
|
+
SENSITIVE = []
|
1779
|
+
include Aws::Structure
|
1780
|
+
end
|
1781
|
+
|
1782
|
+
# Configuration properties for logging events associated with a peer
|
1783
|
+
# node owned by a member in a Managed Blockchain network.
|
1784
|
+
#
|
1785
|
+
# @note When making an API call, you may pass NodeFabricLogPublishingConfiguration
|
1786
|
+
# data as a hash:
|
1787
|
+
#
|
1788
|
+
# {
|
1789
|
+
# chaincode_logs: {
|
1790
|
+
# cloudwatch: {
|
1791
|
+
# enabled: false,
|
1792
|
+
# },
|
1793
|
+
# },
|
1794
|
+
# peer_logs: {
|
1795
|
+
# cloudwatch: {
|
1796
|
+
# enabled: false,
|
1797
|
+
# },
|
1798
|
+
# },
|
1799
|
+
# }
|
1800
|
+
#
|
1801
|
+
# @!attribute [rw] chaincode_logs
|
1802
|
+
# Configuration properties for logging events associated with
|
1803
|
+
# chaincode execution on a peer node. Chaincode logs contain the
|
1804
|
+
# results of instantiating, invoking, and querying the chaincode. A
|
1805
|
+
# peer can run multiple instances of chaincode. When enabled, a log
|
1806
|
+
# stream is created for all chaincodes, with an individual log stream
|
1807
|
+
# for each chaincode.
|
1808
|
+
# @return [Types::LogConfigurations]
|
1809
|
+
#
|
1810
|
+
# @!attribute [rw] peer_logs
|
1811
|
+
# Configuration properties for a peer node log. Peer node logs contain
|
1812
|
+
# messages generated when your client submits transaction proposals to
|
1813
|
+
# peer nodes, requests to join channels, enrolls an admin peer, and
|
1814
|
+
# lists the chaincode instances on a peer node.
|
1815
|
+
# @return [Types::LogConfigurations]
|
1816
|
+
#
|
1817
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NodeFabricLogPublishingConfiguration AWS API Documentation
|
1818
|
+
#
|
1819
|
+
class NodeFabricLogPublishingConfiguration < Struct.new(
|
1820
|
+
:chaincode_logs,
|
1821
|
+
:peer_logs)
|
1822
|
+
SENSITIVE = []
|
1549
1823
|
include Aws::Structure
|
1550
1824
|
end
|
1551
1825
|
|
@@ -1561,6 +1835,42 @@ module Aws::ManagedBlockchain
|
|
1561
1835
|
#
|
1562
1836
|
class NodeFrameworkAttributes < Struct.new(
|
1563
1837
|
:fabric)
|
1838
|
+
SENSITIVE = []
|
1839
|
+
include Aws::Structure
|
1840
|
+
end
|
1841
|
+
|
1842
|
+
# Configuration properties for logging events associated with a peer
|
1843
|
+
# node owned by a member in a Managed Blockchain network.
|
1844
|
+
#
|
1845
|
+
# @note When making an API call, you may pass NodeLogPublishingConfiguration
|
1846
|
+
# data as a hash:
|
1847
|
+
#
|
1848
|
+
# {
|
1849
|
+
# fabric: {
|
1850
|
+
# chaincode_logs: {
|
1851
|
+
# cloudwatch: {
|
1852
|
+
# enabled: false,
|
1853
|
+
# },
|
1854
|
+
# },
|
1855
|
+
# peer_logs: {
|
1856
|
+
# cloudwatch: {
|
1857
|
+
# enabled: false,
|
1858
|
+
# },
|
1859
|
+
# },
|
1860
|
+
# },
|
1861
|
+
# }
|
1862
|
+
#
|
1863
|
+
# @!attribute [rw] fabric
|
1864
|
+
# Configuration properties for logging events associated with a node
|
1865
|
+
# that is owned by a member of a Managed Blockchain network using the
|
1866
|
+
# Hyperledger Fabric framework.
|
1867
|
+
# @return [Types::NodeFabricLogPublishingConfiguration]
|
1868
|
+
#
|
1869
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NodeLogPublishingConfiguration AWS API Documentation
|
1870
|
+
#
|
1871
|
+
class NodeLogPublishingConfiguration < Struct.new(
|
1872
|
+
:fabric)
|
1873
|
+
SENSITIVE = []
|
1564
1874
|
include Aws::Structure
|
1565
1875
|
end
|
1566
1876
|
|
@@ -1594,6 +1904,7 @@ module Aws::ManagedBlockchain
|
|
1594
1904
|
:creation_date,
|
1595
1905
|
:availability_zone,
|
1596
1906
|
:instance_type)
|
1907
|
+
SENSITIVE = []
|
1597
1908
|
include Aws::Structure
|
1598
1909
|
end
|
1599
1910
|
|
@@ -1643,7 +1954,8 @@ module Aws::ManagedBlockchain
|
|
1643
1954
|
#
|
1644
1955
|
# * `ACTION_FAILED` - One or more of the specified `ProposalActions`
|
1645
1956
|
# in a proposal that was approved could not be completed because of
|
1646
|
-
# an error.
|
1957
|
+
# an error. The `ACTION_FAILED` status occurs even if only one
|
1958
|
+
# ProposalAction fails and other actions are successful.
|
1647
1959
|
# @return [String]
|
1648
1960
|
#
|
1649
1961
|
# @!attribute [rw] creation_date
|
@@ -1688,6 +2000,7 @@ module Aws::ManagedBlockchain
|
|
1688
2000
|
:yes_vote_count,
|
1689
2001
|
:no_vote_count,
|
1690
2002
|
:outstanding_vote_count)
|
2003
|
+
SENSITIVE = []
|
1691
2004
|
include Aws::Structure
|
1692
2005
|
end
|
1693
2006
|
|
@@ -1725,6 +2038,7 @@ module Aws::ManagedBlockchain
|
|
1725
2038
|
class ProposalActions < Struct.new(
|
1726
2039
|
:invitations,
|
1727
2040
|
:removals)
|
2041
|
+
SENSITIVE = []
|
1728
2042
|
include Aws::Structure
|
1729
2043
|
end
|
1730
2044
|
|
@@ -1792,6 +2106,7 @@ module Aws::ManagedBlockchain
|
|
1792
2106
|
:status,
|
1793
2107
|
:creation_date,
|
1794
2108
|
:expiration_date)
|
2109
|
+
SENSITIVE = []
|
1795
2110
|
include Aws::Structure
|
1796
2111
|
end
|
1797
2112
|
|
@@ -1810,6 +2125,7 @@ module Aws::ManagedBlockchain
|
|
1810
2125
|
#
|
1811
2126
|
class RejectInvitationInput < Struct.new(
|
1812
2127
|
:invitation_id)
|
2128
|
+
SENSITIVE = []
|
1813
2129
|
include Aws::Structure
|
1814
2130
|
end
|
1815
2131
|
|
@@ -1836,6 +2152,7 @@ module Aws::ManagedBlockchain
|
|
1836
2152
|
#
|
1837
2153
|
class RemoveAction < Struct.new(
|
1838
2154
|
:member_id)
|
2155
|
+
SENSITIVE = []
|
1839
2156
|
include Aws::Structure
|
1840
2157
|
end
|
1841
2158
|
|
@@ -1848,6 +2165,7 @@ module Aws::ManagedBlockchain
|
|
1848
2165
|
#
|
1849
2166
|
class ResourceAlreadyExistsException < Struct.new(
|
1850
2167
|
:message)
|
2168
|
+
SENSITIVE = []
|
1851
2169
|
include Aws::Structure
|
1852
2170
|
end
|
1853
2171
|
|
@@ -1862,6 +2180,7 @@ module Aws::ManagedBlockchain
|
|
1862
2180
|
#
|
1863
2181
|
class ResourceLimitExceededException < Struct.new(
|
1864
2182
|
:message)
|
2183
|
+
SENSITIVE = []
|
1865
2184
|
include Aws::Structure
|
1866
2185
|
end
|
1867
2186
|
|
@@ -1875,6 +2194,7 @@ module Aws::ManagedBlockchain
|
|
1875
2194
|
#
|
1876
2195
|
class ResourceNotFoundException < Struct.new(
|
1877
2196
|
:message)
|
2197
|
+
SENSITIVE = []
|
1878
2198
|
include Aws::Structure
|
1879
2199
|
end
|
1880
2200
|
|
@@ -1888,6 +2208,7 @@ module Aws::ManagedBlockchain
|
|
1888
2208
|
#
|
1889
2209
|
class ResourceNotReadyException < Struct.new(
|
1890
2210
|
:message)
|
2211
|
+
SENSITIVE = []
|
1891
2212
|
include Aws::Structure
|
1892
2213
|
end
|
1893
2214
|
|
@@ -1901,6 +2222,105 @@ module Aws::ManagedBlockchain
|
|
1901
2222
|
#
|
1902
2223
|
class ThrottlingException < Aws::EmptyStructure; end
|
1903
2224
|
|
2225
|
+
# @note When making an API call, you may pass UpdateMemberInput
|
2226
|
+
# data as a hash:
|
2227
|
+
#
|
2228
|
+
# {
|
2229
|
+
# network_id: "ResourceIdString", # required
|
2230
|
+
# member_id: "ResourceIdString", # required
|
2231
|
+
# log_publishing_configuration: {
|
2232
|
+
# fabric: {
|
2233
|
+
# ca_logs: {
|
2234
|
+
# cloudwatch: {
|
2235
|
+
# enabled: false,
|
2236
|
+
# },
|
2237
|
+
# },
|
2238
|
+
# },
|
2239
|
+
# },
|
2240
|
+
# }
|
2241
|
+
#
|
2242
|
+
# @!attribute [rw] network_id
|
2243
|
+
# The unique ID of the Managed Blockchain network to which the member
|
2244
|
+
# belongs.
|
2245
|
+
# @return [String]
|
2246
|
+
#
|
2247
|
+
# @!attribute [rw] member_id
|
2248
|
+
# The unique ID of the member.
|
2249
|
+
# @return [String]
|
2250
|
+
#
|
2251
|
+
# @!attribute [rw] log_publishing_configuration
|
2252
|
+
# Configuration properties for publishing to Amazon CloudWatch Logs.
|
2253
|
+
# @return [Types::MemberLogPublishingConfiguration]
|
2254
|
+
#
|
2255
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UpdateMemberInput AWS API Documentation
|
2256
|
+
#
|
2257
|
+
class UpdateMemberInput < Struct.new(
|
2258
|
+
:network_id,
|
2259
|
+
:member_id,
|
2260
|
+
:log_publishing_configuration)
|
2261
|
+
SENSITIVE = []
|
2262
|
+
include Aws::Structure
|
2263
|
+
end
|
2264
|
+
|
2265
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UpdateMemberOutput AWS API Documentation
|
2266
|
+
#
|
2267
|
+
class UpdateMemberOutput < Aws::EmptyStructure; end
|
2268
|
+
|
2269
|
+
# @note When making an API call, you may pass UpdateNodeInput
|
2270
|
+
# data as a hash:
|
2271
|
+
#
|
2272
|
+
# {
|
2273
|
+
# network_id: "ResourceIdString", # required
|
2274
|
+
# member_id: "ResourceIdString", # required
|
2275
|
+
# node_id: "ResourceIdString", # required
|
2276
|
+
# log_publishing_configuration: {
|
2277
|
+
# fabric: {
|
2278
|
+
# chaincode_logs: {
|
2279
|
+
# cloudwatch: {
|
2280
|
+
# enabled: false,
|
2281
|
+
# },
|
2282
|
+
# },
|
2283
|
+
# peer_logs: {
|
2284
|
+
# cloudwatch: {
|
2285
|
+
# enabled: false,
|
2286
|
+
# },
|
2287
|
+
# },
|
2288
|
+
# },
|
2289
|
+
# },
|
2290
|
+
# }
|
2291
|
+
#
|
2292
|
+
# @!attribute [rw] network_id
|
2293
|
+
# The unique ID of the Managed Blockchain network to which the node
|
2294
|
+
# belongs.
|
2295
|
+
# @return [String]
|
2296
|
+
#
|
2297
|
+
# @!attribute [rw] member_id
|
2298
|
+
# The unique ID of the member that owns the node.
|
2299
|
+
# @return [String]
|
2300
|
+
#
|
2301
|
+
# @!attribute [rw] node_id
|
2302
|
+
# The unique ID of the node.
|
2303
|
+
# @return [String]
|
2304
|
+
#
|
2305
|
+
# @!attribute [rw] log_publishing_configuration
|
2306
|
+
# Configuration properties for publishing to Amazon CloudWatch Logs.
|
2307
|
+
# @return [Types::NodeLogPublishingConfiguration]
|
2308
|
+
#
|
2309
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UpdateNodeInput AWS API Documentation
|
2310
|
+
#
|
2311
|
+
class UpdateNodeInput < Struct.new(
|
2312
|
+
:network_id,
|
2313
|
+
:member_id,
|
2314
|
+
:node_id,
|
2315
|
+
:log_publishing_configuration)
|
2316
|
+
SENSITIVE = []
|
2317
|
+
include Aws::Structure
|
2318
|
+
end
|
2319
|
+
|
2320
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UpdateNodeOutput AWS API Documentation
|
2321
|
+
#
|
2322
|
+
class UpdateNodeOutput < Aws::EmptyStructure; end
|
2323
|
+
|
1904
2324
|
# @note When making an API call, you may pass VoteOnProposalInput
|
1905
2325
|
# data as a hash:
|
1906
2326
|
#
|
@@ -1934,6 +2354,7 @@ module Aws::ManagedBlockchain
|
|
1934
2354
|
:proposal_id,
|
1935
2355
|
:voter_member_id,
|
1936
2356
|
:vote)
|
2357
|
+
SENSITIVE = []
|
1937
2358
|
include Aws::Structure
|
1938
2359
|
end
|
1939
2360
|
|
@@ -1961,6 +2382,7 @@ module Aws::ManagedBlockchain
|
|
1961
2382
|
:vote,
|
1962
2383
|
:member_name,
|
1963
2384
|
:member_id)
|
2385
|
+
SENSITIVE = []
|
1964
2386
|
include Aws::Structure
|
1965
2387
|
end
|
1966
2388
|
|
@@ -1988,6 +2410,7 @@ module Aws::ManagedBlockchain
|
|
1988
2410
|
#
|
1989
2411
|
class VotingPolicy < Struct.new(
|
1990
2412
|
:approval_threshold_policy)
|
2413
|
+
SENSITIVE = []
|
1991
2414
|
include Aws::Structure
|
1992
2415
|
end
|
1993
2416
|
|