aws-sdk-managedblockchain 1.8.0 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 0f803ac1fe9b95c256482e5423340eafbf0d033e
|
4
|
+
data.tar.gz: 20975c296ccfb0e2619f0d7e4e7f6af419b49793
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c1dd6290920b69c2211ff7ae4626ae21e8e93b56d7ba5a8350434127ed88ab36a5fc9843ca4f97cce352b0a87fa348f71f76f8ae461e49eb0c4287f30ee999d
|
7
|
+
data.tar.gz: 2e6e4d42ddbd892332a598771be5ca8dc064cc3fd2b7aaba89adf35e931da07af8bfc849533bb7ea9e73dbeaccb9610dd1bd3345de3e1f81040c4edaf6da0ec6
|
@@ -269,8 +269,7 @@ module Aws::ManagedBlockchain
|
|
269
269
|
#
|
270
270
|
# @option options [Integer] :http_read_timeout (60) The default
|
271
271
|
# number of seconds to wait for response data. This value can
|
272
|
-
# safely be set
|
273
|
-
# per-request on the session yielded by {#session_for}.
|
272
|
+
# safely be set per-request on the session.
|
274
273
|
#
|
275
274
|
# @option options [Float] :http_idle_timeout (5) The number of
|
276
275
|
# seconds a connection is allowed to sit idle before it is
|
@@ -282,7 +281,7 @@ module Aws::ManagedBlockchain
|
|
282
281
|
# request body. This option has no effect unless the request has
|
283
282
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
284
283
|
# disables this behaviour. This value can safely be set per
|
285
|
-
# request on the session
|
284
|
+
# request on the session.
|
286
285
|
#
|
287
286
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
288
287
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -350,6 +349,15 @@ module Aws::ManagedBlockchain
|
|
350
349
|
# admin_password: "PasswordString", # required
|
351
350
|
# },
|
352
351
|
# },
|
352
|
+
# log_publishing_configuration: {
|
353
|
+
# fabric: {
|
354
|
+
# ca_logs: {
|
355
|
+
# cloudwatch: {
|
356
|
+
# enabled: false,
|
357
|
+
# },
|
358
|
+
# },
|
359
|
+
# },
|
360
|
+
# },
|
353
361
|
# },
|
354
362
|
# })
|
355
363
|
#
|
@@ -435,6 +443,15 @@ module Aws::ManagedBlockchain
|
|
435
443
|
# admin_password: "PasswordString", # required
|
436
444
|
# },
|
437
445
|
# },
|
446
|
+
# log_publishing_configuration: {
|
447
|
+
# fabric: {
|
448
|
+
# ca_logs: {
|
449
|
+
# cloudwatch: {
|
450
|
+
# enabled: false,
|
451
|
+
# },
|
452
|
+
# },
|
453
|
+
# },
|
454
|
+
# },
|
438
455
|
# },
|
439
456
|
# })
|
440
457
|
#
|
@@ -486,6 +503,20 @@ module Aws::ManagedBlockchain
|
|
486
503
|
# node_configuration: { # required
|
487
504
|
# instance_type: "InstanceTypeString", # required
|
488
505
|
# availability_zone: "AvailabilityZoneString", # required
|
506
|
+
# log_publishing_configuration: {
|
507
|
+
# fabric: {
|
508
|
+
# chaincode_logs: {
|
509
|
+
# cloudwatch: {
|
510
|
+
# enabled: false,
|
511
|
+
# },
|
512
|
+
# },
|
513
|
+
# peer_logs: {
|
514
|
+
# cloudwatch: {
|
515
|
+
# enabled: false,
|
516
|
+
# },
|
517
|
+
# },
|
518
|
+
# },
|
519
|
+
# },
|
489
520
|
# },
|
490
521
|
# })
|
491
522
|
#
|
@@ -663,7 +694,8 @@ module Aws::ManagedBlockchain
|
|
663
694
|
# resp.member.description #=> String
|
664
695
|
# resp.member.framework_attributes.fabric.admin_username #=> String
|
665
696
|
# resp.member.framework_attributes.fabric.ca_endpoint #=> String
|
666
|
-
# resp.member.
|
697
|
+
# resp.member.log_publishing_configuration.fabric.ca_logs.cloudwatch.enabled #=> Boolean
|
698
|
+
# resp.member.status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED"
|
667
699
|
# resp.member.creation_date #=> Time
|
668
700
|
#
|
669
701
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetMember AWS API Documentation
|
@@ -747,7 +779,9 @@ module Aws::ManagedBlockchain
|
|
747
779
|
# resp.node.availability_zone #=> String
|
748
780
|
# resp.node.framework_attributes.fabric.peer_endpoint #=> String
|
749
781
|
# resp.node.framework_attributes.fabric.peer_event_endpoint #=> String
|
750
|
-
# resp.node.
|
782
|
+
# resp.node.log_publishing_configuration.fabric.chaincode_logs.cloudwatch.enabled #=> Boolean
|
783
|
+
# resp.node.log_publishing_configuration.fabric.peer_logs.cloudwatch.enabled #=> Boolean
|
784
|
+
# resp.node.status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED", "FAILED"
|
751
785
|
# resp.node.creation_date #=> Time
|
752
786
|
#
|
753
787
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNode AWS API Documentation
|
@@ -819,6 +853,8 @@ module Aws::ManagedBlockchain
|
|
819
853
|
# * {Types::ListInvitationsOutput#invitations #invitations} => Array<Types::Invitation>
|
820
854
|
# * {Types::ListInvitationsOutput#next_token #next_token} => String
|
821
855
|
#
|
856
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
857
|
+
#
|
822
858
|
# @example Request syntax with placeholder values
|
823
859
|
#
|
824
860
|
# resp = client.list_invitations({
|
@@ -881,12 +917,14 @@ module Aws::ManagedBlockchain
|
|
881
917
|
# * {Types::ListMembersOutput#members #members} => Array<Types::MemberSummary>
|
882
918
|
# * {Types::ListMembersOutput#next_token #next_token} => String
|
883
919
|
#
|
920
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
921
|
+
#
|
884
922
|
# @example Request syntax with placeholder values
|
885
923
|
#
|
886
924
|
# resp = client.list_members({
|
887
925
|
# network_id: "ResourceIdString", # required
|
888
926
|
# name: "String",
|
889
|
-
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, DELETING, DELETED
|
927
|
+
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, UPDATING, DELETING, DELETED
|
890
928
|
# is_owned: false,
|
891
929
|
# max_results: 1,
|
892
930
|
# next_token: "PaginationToken",
|
@@ -898,7 +936,7 @@ module Aws::ManagedBlockchain
|
|
898
936
|
# resp.members[0].id #=> String
|
899
937
|
# resp.members[0].name #=> String
|
900
938
|
# resp.members[0].description #=> String
|
901
|
-
# resp.members[0].status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "DELETING", "DELETED"
|
939
|
+
# resp.members[0].status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED"
|
902
940
|
# resp.members[0].creation_date #=> Time
|
903
941
|
# resp.members[0].is_owned #=> Boolean
|
904
942
|
# resp.next_token #=> String
|
@@ -938,6 +976,8 @@ module Aws::ManagedBlockchain
|
|
938
976
|
# * {Types::ListNetworksOutput#networks #networks} => Array<Types::NetworkSummary>
|
939
977
|
# * {Types::ListNetworksOutput#next_token #next_token} => String
|
940
978
|
#
|
979
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
980
|
+
#
|
941
981
|
# @example Request syntax with placeholder values
|
942
982
|
#
|
943
983
|
# resp = client.list_networks({
|
@@ -993,12 +1033,14 @@ module Aws::ManagedBlockchain
|
|
993
1033
|
# * {Types::ListNodesOutput#nodes #nodes} => Array<Types::NodeSummary>
|
994
1034
|
# * {Types::ListNodesOutput#next_token #next_token} => String
|
995
1035
|
#
|
1036
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1037
|
+
#
|
996
1038
|
# @example Request syntax with placeholder values
|
997
1039
|
#
|
998
1040
|
# resp = client.list_nodes({
|
999
1041
|
# network_id: "ResourceIdString", # required
|
1000
1042
|
# member_id: "ResourceIdString", # required
|
1001
|
-
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, DELETING, DELETED, FAILED
|
1043
|
+
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, UPDATING, DELETING, DELETED, FAILED
|
1002
1044
|
# max_results: 1,
|
1003
1045
|
# next_token: "PaginationToken",
|
1004
1046
|
# })
|
@@ -1007,7 +1049,7 @@ module Aws::ManagedBlockchain
|
|
1007
1049
|
#
|
1008
1050
|
# resp.nodes #=> Array
|
1009
1051
|
# resp.nodes[0].id #=> String
|
1010
|
-
# resp.nodes[0].status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "DELETING", "DELETED", "FAILED"
|
1052
|
+
# resp.nodes[0].status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED", "FAILED"
|
1011
1053
|
# resp.nodes[0].creation_date #=> Time
|
1012
1054
|
# resp.nodes[0].availability_zone #=> String
|
1013
1055
|
# resp.nodes[0].instance_type #=> String
|
@@ -1044,6 +1086,8 @@ module Aws::ManagedBlockchain
|
|
1044
1086
|
# * {Types::ListProposalVotesOutput#proposal_votes #proposal_votes} => Array<Types::VoteSummary>
|
1045
1087
|
# * {Types::ListProposalVotesOutput#next_token #next_token} => String
|
1046
1088
|
#
|
1089
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1090
|
+
#
|
1047
1091
|
# @example Request syntax with placeholder values
|
1048
1092
|
#
|
1049
1093
|
# resp = client.list_proposal_votes({
|
@@ -1087,6 +1131,8 @@ module Aws::ManagedBlockchain
|
|
1087
1131
|
# * {Types::ListProposalsOutput#proposals #proposals} => Array<Types::ProposalSummary>
|
1088
1132
|
# * {Types::ListProposalsOutput#next_token #next_token} => String
|
1089
1133
|
#
|
1134
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1135
|
+
#
|
1090
1136
|
# @example Request syntax with placeholder values
|
1091
1137
|
#
|
1092
1138
|
# resp = client.list_proposals({
|
@@ -1140,6 +1186,93 @@ module Aws::ManagedBlockchain
|
|
1140
1186
|
req.send_request(options)
|
1141
1187
|
end
|
1142
1188
|
|
1189
|
+
# Updates a member configuration with new parameters.
|
1190
|
+
#
|
1191
|
+
# @option params [required, String] :network_id
|
1192
|
+
# The unique ID of the Managed Blockchain network to which the member
|
1193
|
+
# belongs.
|
1194
|
+
#
|
1195
|
+
# @option params [required, String] :member_id
|
1196
|
+
# The unique ID of the member.
|
1197
|
+
#
|
1198
|
+
# @option params [Types::MemberLogPublishingConfiguration] :log_publishing_configuration
|
1199
|
+
# Configuration properties for publishing to Amazon CloudWatch Logs.
|
1200
|
+
#
|
1201
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1202
|
+
#
|
1203
|
+
# @example Request syntax with placeholder values
|
1204
|
+
#
|
1205
|
+
# resp = client.update_member({
|
1206
|
+
# network_id: "ResourceIdString", # required
|
1207
|
+
# member_id: "ResourceIdString", # required
|
1208
|
+
# log_publishing_configuration: {
|
1209
|
+
# fabric: {
|
1210
|
+
# ca_logs: {
|
1211
|
+
# cloudwatch: {
|
1212
|
+
# enabled: false,
|
1213
|
+
# },
|
1214
|
+
# },
|
1215
|
+
# },
|
1216
|
+
# },
|
1217
|
+
# })
|
1218
|
+
#
|
1219
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UpdateMember AWS API Documentation
|
1220
|
+
#
|
1221
|
+
# @overload update_member(params = {})
|
1222
|
+
# @param [Hash] params ({})
|
1223
|
+
def update_member(params = {}, options = {})
|
1224
|
+
req = build_request(:update_member, params)
|
1225
|
+
req.send_request(options)
|
1226
|
+
end
|
1227
|
+
|
1228
|
+
# Updates a node configuration with new parameters.
|
1229
|
+
#
|
1230
|
+
# @option params [required, String] :network_id
|
1231
|
+
# The unique ID of the Managed Blockchain network to which the node
|
1232
|
+
# belongs.
|
1233
|
+
#
|
1234
|
+
# @option params [required, String] :member_id
|
1235
|
+
# The unique ID of the member that owns the node.
|
1236
|
+
#
|
1237
|
+
# @option params [required, String] :node_id
|
1238
|
+
# The unique ID of the node.
|
1239
|
+
#
|
1240
|
+
# @option params [Types::NodeLogPublishingConfiguration] :log_publishing_configuration
|
1241
|
+
# Configuration properties for publishing to Amazon CloudWatch Logs.
|
1242
|
+
#
|
1243
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1244
|
+
#
|
1245
|
+
# @example Request syntax with placeholder values
|
1246
|
+
#
|
1247
|
+
# resp = client.update_node({
|
1248
|
+
# network_id: "ResourceIdString", # required
|
1249
|
+
# member_id: "ResourceIdString", # required
|
1250
|
+
# node_id: "ResourceIdString", # required
|
1251
|
+
# log_publishing_configuration: {
|
1252
|
+
# fabric: {
|
1253
|
+
# chaincode_logs: {
|
1254
|
+
# cloudwatch: {
|
1255
|
+
# enabled: false,
|
1256
|
+
# },
|
1257
|
+
# },
|
1258
|
+
# peer_logs: {
|
1259
|
+
# cloudwatch: {
|
1260
|
+
# enabled: false,
|
1261
|
+
# },
|
1262
|
+
# },
|
1263
|
+
# },
|
1264
|
+
# },
|
1265
|
+
# })
|
1266
|
+
#
|
1267
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UpdateNode AWS API Documentation
|
1268
|
+
#
|
1269
|
+
# @overload update_node(params = {})
|
1270
|
+
# @param [Hash] params ({})
|
1271
|
+
def update_node(params = {}, options = {})
|
1272
|
+
req = build_request(:update_node, params)
|
1273
|
+
req.send_request(options)
|
1274
|
+
end
|
1275
|
+
|
1143
1276
|
# Casts a vote for a specified `ProposalId` on behalf of a member. The
|
1144
1277
|
# member to vote as, specified by `VoterMemberId`, must be in the same
|
1145
1278
|
# AWS account as the principal that calls the action.
|
@@ -1189,7 +1322,7 @@ module Aws::ManagedBlockchain
|
|
1189
1322
|
params: params,
|
1190
1323
|
config: config)
|
1191
1324
|
context[:gem_name] = 'aws-sdk-managedblockchain'
|
1192
|
-
context[:gem_version] = '1.
|
1325
|
+
context[:gem_version] = '1.9.0'
|
1193
1326
|
Seahorse::Client::Request.new(handlers, context)
|
1194
1327
|
end
|
1195
1328
|
|
@@ -29,6 +29,7 @@ module Aws::ManagedBlockchain
|
|
29
29
|
DeleteNodeOutput = Shapes::StructureShape.new(name: 'DeleteNodeOutput')
|
30
30
|
DescriptionString = Shapes::StringShape.new(name: 'DescriptionString')
|
31
31
|
Edition = Shapes::StringShape.new(name: 'Edition')
|
32
|
+
Enabled = Shapes::BooleanShape.new(name: 'Enabled')
|
32
33
|
Framework = Shapes::StringShape.new(name: 'Framework')
|
33
34
|
FrameworkVersionString = Shapes::StringShape.new(name: 'FrameworkVersionString')
|
34
35
|
GetMemberInput = Shapes::StructureShape.new(name: 'GetMemberInput')
|
@@ -61,13 +62,17 @@ module Aws::ManagedBlockchain
|
|
61
62
|
ListProposalVotesOutput = Shapes::StructureShape.new(name: 'ListProposalVotesOutput')
|
62
63
|
ListProposalsInput = Shapes::StructureShape.new(name: 'ListProposalsInput')
|
63
64
|
ListProposalsOutput = Shapes::StructureShape.new(name: 'ListProposalsOutput')
|
65
|
+
LogConfiguration = Shapes::StructureShape.new(name: 'LogConfiguration')
|
66
|
+
LogConfigurations = Shapes::StructureShape.new(name: 'LogConfigurations')
|
64
67
|
Member = Shapes::StructureShape.new(name: 'Member')
|
65
68
|
MemberConfiguration = Shapes::StructureShape.new(name: 'MemberConfiguration')
|
66
69
|
MemberFabricAttributes = Shapes::StructureShape.new(name: 'MemberFabricAttributes')
|
67
70
|
MemberFabricConfiguration = Shapes::StructureShape.new(name: 'MemberFabricConfiguration')
|
71
|
+
MemberFabricLogPublishingConfiguration = Shapes::StructureShape.new(name: 'MemberFabricLogPublishingConfiguration')
|
68
72
|
MemberFrameworkAttributes = Shapes::StructureShape.new(name: 'MemberFrameworkAttributes')
|
69
73
|
MemberFrameworkConfiguration = Shapes::StructureShape.new(name: 'MemberFrameworkConfiguration')
|
70
74
|
MemberListMaxResults = Shapes::IntegerShape.new(name: 'MemberListMaxResults')
|
75
|
+
MemberLogPublishingConfiguration = Shapes::StructureShape.new(name: 'MemberLogPublishingConfiguration')
|
71
76
|
MemberStatus = Shapes::StringShape.new(name: 'MemberStatus')
|
72
77
|
MemberSummary = Shapes::StructureShape.new(name: 'MemberSummary')
|
73
78
|
MemberSummaryList = Shapes::ListShape.new(name: 'MemberSummaryList')
|
@@ -85,8 +90,10 @@ module Aws::ManagedBlockchain
|
|
85
90
|
Node = Shapes::StructureShape.new(name: 'Node')
|
86
91
|
NodeConfiguration = Shapes::StructureShape.new(name: 'NodeConfiguration')
|
87
92
|
NodeFabricAttributes = Shapes::StructureShape.new(name: 'NodeFabricAttributes')
|
93
|
+
NodeFabricLogPublishingConfiguration = Shapes::StructureShape.new(name: 'NodeFabricLogPublishingConfiguration')
|
88
94
|
NodeFrameworkAttributes = Shapes::StructureShape.new(name: 'NodeFrameworkAttributes')
|
89
95
|
NodeListMaxResults = Shapes::IntegerShape.new(name: 'NodeListMaxResults')
|
96
|
+
NodeLogPublishingConfiguration = Shapes::StructureShape.new(name: 'NodeLogPublishingConfiguration')
|
90
97
|
NodeStatus = Shapes::StringShape.new(name: 'NodeStatus')
|
91
98
|
NodeSummary = Shapes::StructureShape.new(name: 'NodeSummary')
|
92
99
|
NodeSummaryList = Shapes::ListShape.new(name: 'NodeSummaryList')
|
@@ -115,6 +122,10 @@ module Aws::ManagedBlockchain
|
|
115
122
|
ThresholdPercentageInt = Shapes::IntegerShape.new(name: 'ThresholdPercentageInt')
|
116
123
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
117
124
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
|
125
|
+
UpdateMemberInput = Shapes::StructureShape.new(name: 'UpdateMemberInput')
|
126
|
+
UpdateMemberOutput = Shapes::StructureShape.new(name: 'UpdateMemberOutput')
|
127
|
+
UpdateNodeInput = Shapes::StructureShape.new(name: 'UpdateNodeInput')
|
128
|
+
UpdateNodeOutput = Shapes::StructureShape.new(name: 'UpdateNodeOutput')
|
118
129
|
UsernameString = Shapes::StringShape.new(name: 'UsernameString')
|
119
130
|
VoteCount = Shapes::IntegerShape.new(name: 'VoteCount')
|
120
131
|
VoteOnProposalInput = Shapes::StructureShape.new(name: 'VoteOnProposalInput')
|
@@ -296,11 +307,18 @@ module Aws::ManagedBlockchain
|
|
296
307
|
ListProposalsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
297
308
|
ListProposalsOutput.struct_class = Types::ListProposalsOutput
|
298
309
|
|
310
|
+
LogConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
|
311
|
+
LogConfiguration.struct_class = Types::LogConfiguration
|
312
|
+
|
313
|
+
LogConfigurations.add_member(:cloudwatch, Shapes::ShapeRef.new(shape: LogConfiguration, location_name: "Cloudwatch"))
|
314
|
+
LogConfigurations.struct_class = Types::LogConfigurations
|
315
|
+
|
299
316
|
Member.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "NetworkId"))
|
300
317
|
Member.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "Id"))
|
301
318
|
Member.add_member(:name, Shapes::ShapeRef.new(shape: NetworkMemberNameString, location_name: "Name"))
|
302
319
|
Member.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
|
303
320
|
Member.add_member(:framework_attributes, Shapes::ShapeRef.new(shape: MemberFrameworkAttributes, location_name: "FrameworkAttributes"))
|
321
|
+
Member.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: MemberLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
|
304
322
|
Member.add_member(:status, Shapes::ShapeRef.new(shape: MemberStatus, location_name: "Status"))
|
305
323
|
Member.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
|
306
324
|
Member.struct_class = Types::Member
|
@@ -308,6 +326,7 @@ module Aws::ManagedBlockchain
|
|
308
326
|
MemberConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: NetworkMemberNameString, required: true, location_name: "Name"))
|
309
327
|
MemberConfiguration.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
|
310
328
|
MemberConfiguration.add_member(:framework_configuration, Shapes::ShapeRef.new(shape: MemberFrameworkConfiguration, required: true, location_name: "FrameworkConfiguration"))
|
329
|
+
MemberConfiguration.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: MemberLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
|
311
330
|
MemberConfiguration.struct_class = Types::MemberConfiguration
|
312
331
|
|
313
332
|
MemberFabricAttributes.add_member(:admin_username, Shapes::ShapeRef.new(shape: UsernameString, location_name: "AdminUsername"))
|
@@ -318,12 +337,18 @@ module Aws::ManagedBlockchain
|
|
318
337
|
MemberFabricConfiguration.add_member(:admin_password, Shapes::ShapeRef.new(shape: PasswordString, required: true, location_name: "AdminPassword"))
|
319
338
|
MemberFabricConfiguration.struct_class = Types::MemberFabricConfiguration
|
320
339
|
|
340
|
+
MemberFabricLogPublishingConfiguration.add_member(:ca_logs, Shapes::ShapeRef.new(shape: LogConfigurations, location_name: "CaLogs"))
|
341
|
+
MemberFabricLogPublishingConfiguration.struct_class = Types::MemberFabricLogPublishingConfiguration
|
342
|
+
|
321
343
|
MemberFrameworkAttributes.add_member(:fabric, Shapes::ShapeRef.new(shape: MemberFabricAttributes, location_name: "Fabric"))
|
322
344
|
MemberFrameworkAttributes.struct_class = Types::MemberFrameworkAttributes
|
323
345
|
|
324
346
|
MemberFrameworkConfiguration.add_member(:fabric, Shapes::ShapeRef.new(shape: MemberFabricConfiguration, location_name: "Fabric"))
|
325
347
|
MemberFrameworkConfiguration.struct_class = Types::MemberFrameworkConfiguration
|
326
348
|
|
349
|
+
MemberLogPublishingConfiguration.add_member(:fabric, Shapes::ShapeRef.new(shape: MemberFabricLogPublishingConfiguration, location_name: "Fabric"))
|
350
|
+
MemberLogPublishingConfiguration.struct_class = Types::MemberLogPublishingConfiguration
|
351
|
+
|
327
352
|
MemberSummary.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "Id"))
|
328
353
|
MemberSummary.add_member(:name, Shapes::ShapeRef.new(shape: NetworkMemberNameString, location_name: "Name"))
|
329
354
|
MemberSummary.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
|
@@ -376,21 +401,30 @@ module Aws::ManagedBlockchain
|
|
376
401
|
Node.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceTypeString, location_name: "InstanceType"))
|
377
402
|
Node.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneString, location_name: "AvailabilityZone"))
|
378
403
|
Node.add_member(:framework_attributes, Shapes::ShapeRef.new(shape: NodeFrameworkAttributes, location_name: "FrameworkAttributes"))
|
404
|
+
Node.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: NodeLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
|
379
405
|
Node.add_member(:status, Shapes::ShapeRef.new(shape: NodeStatus, location_name: "Status"))
|
380
406
|
Node.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
|
381
407
|
Node.struct_class = Types::Node
|
382
408
|
|
383
409
|
NodeConfiguration.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceTypeString, required: true, location_name: "InstanceType"))
|
384
410
|
NodeConfiguration.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneString, required: true, location_name: "AvailabilityZone"))
|
411
|
+
NodeConfiguration.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: NodeLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
|
385
412
|
NodeConfiguration.struct_class = Types::NodeConfiguration
|
386
413
|
|
387
414
|
NodeFabricAttributes.add_member(:peer_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "PeerEndpoint"))
|
388
415
|
NodeFabricAttributes.add_member(:peer_event_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "PeerEventEndpoint"))
|
389
416
|
NodeFabricAttributes.struct_class = Types::NodeFabricAttributes
|
390
417
|
|
418
|
+
NodeFabricLogPublishingConfiguration.add_member(:chaincode_logs, Shapes::ShapeRef.new(shape: LogConfigurations, location_name: "ChaincodeLogs"))
|
419
|
+
NodeFabricLogPublishingConfiguration.add_member(:peer_logs, Shapes::ShapeRef.new(shape: LogConfigurations, location_name: "PeerLogs"))
|
420
|
+
NodeFabricLogPublishingConfiguration.struct_class = Types::NodeFabricLogPublishingConfiguration
|
421
|
+
|
391
422
|
NodeFrameworkAttributes.add_member(:fabric, Shapes::ShapeRef.new(shape: NodeFabricAttributes, location_name: "Fabric"))
|
392
423
|
NodeFrameworkAttributes.struct_class = Types::NodeFrameworkAttributes
|
393
424
|
|
425
|
+
NodeLogPublishingConfiguration.add_member(:fabric, Shapes::ShapeRef.new(shape: NodeFabricLogPublishingConfiguration, location_name: "Fabric"))
|
426
|
+
NodeLogPublishingConfiguration.struct_class = Types::NodeLogPublishingConfiguration
|
427
|
+
|
394
428
|
NodeSummary.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "Id"))
|
395
429
|
NodeSummary.add_member(:status, Shapes::ShapeRef.new(shape: NodeStatus, location_name: "Status"))
|
396
430
|
NodeSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
|
@@ -455,6 +489,21 @@ module Aws::ManagedBlockchain
|
|
455
489
|
|
456
490
|
ThrottlingException.struct_class = Types::ThrottlingException
|
457
491
|
|
492
|
+
UpdateMemberInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
|
493
|
+
UpdateMemberInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "memberId"))
|
494
|
+
UpdateMemberInput.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: MemberLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
|
495
|
+
UpdateMemberInput.struct_class = Types::UpdateMemberInput
|
496
|
+
|
497
|
+
UpdateMemberOutput.struct_class = Types::UpdateMemberOutput
|
498
|
+
|
499
|
+
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, required: true, location: "uri", location_name: "memberId"))
|
501
|
+
UpdateNodeInput.add_member(:node_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "nodeId"))
|
502
|
+
UpdateNodeInput.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: NodeLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
|
503
|
+
UpdateNodeInput.struct_class = Types::UpdateNodeInput
|
504
|
+
|
505
|
+
UpdateNodeOutput.struct_class = Types::UpdateNodeOutput
|
506
|
+
|
458
507
|
VoteOnProposalInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
|
459
508
|
VoteOnProposalInput.add_member(:proposal_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "proposalId"))
|
460
509
|
VoteOnProposalInput.add_member(:voter_member_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location_name: "VoterMemberId"))
|
@@ -755,6 +804,32 @@ module Aws::ManagedBlockchain
|
|
755
804
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
756
805
|
end)
|
757
806
|
|
807
|
+
api.add_operation(:update_member, Seahorse::Model::Operation.new.tap do |o|
|
808
|
+
o.name = "UpdateMember"
|
809
|
+
o.http_method = "PATCH"
|
810
|
+
o.http_request_uri = "/networks/{networkId}/members/{memberId}"
|
811
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateMemberInput)
|
812
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateMemberOutput)
|
813
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
814
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
815
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
816
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
817
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
818
|
+
end)
|
819
|
+
|
820
|
+
api.add_operation(:update_node, Seahorse::Model::Operation.new.tap do |o|
|
821
|
+
o.name = "UpdateNode"
|
822
|
+
o.http_method = "PATCH"
|
823
|
+
o.http_request_uri = "/networks/{networkId}/members/{memberId}/nodes/{nodeId}"
|
824
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateNodeInput)
|
825
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateNodeOutput)
|
826
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
827
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
828
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
829
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
830
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
831
|
+
end)
|
832
|
+
|
758
833
|
api.add_operation(:vote_on_proposal, Seahorse::Model::Operation.new.tap do |o|
|
759
834
|
o.name = "VoteOnProposal"
|
760
835
|
o.http_method = "POST"
|
@@ -6,13 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
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)
|
9
|
+
|
16
10
|
class Resource
|
17
11
|
|
18
12
|
# @param options ({})
|
@@ -78,6 +78,15 @@ module Aws::ManagedBlockchain
|
|
78
78
|
# admin_password: "PasswordString", # required
|
79
79
|
# },
|
80
80
|
# },
|
81
|
+
# log_publishing_configuration: {
|
82
|
+
# fabric: {
|
83
|
+
# ca_logs: {
|
84
|
+
# cloudwatch: {
|
85
|
+
# enabled: false,
|
86
|
+
# },
|
87
|
+
# },
|
88
|
+
# },
|
89
|
+
# },
|
81
90
|
# },
|
82
91
|
# }
|
83
92
|
#
|
@@ -156,6 +165,15 @@ module Aws::ManagedBlockchain
|
|
156
165
|
# admin_password: "PasswordString", # required
|
157
166
|
# },
|
158
167
|
# },
|
168
|
+
# log_publishing_configuration: {
|
169
|
+
# fabric: {
|
170
|
+
# ca_logs: {
|
171
|
+
# cloudwatch: {
|
172
|
+
# enabled: false,
|
173
|
+
# },
|
174
|
+
# },
|
175
|
+
# },
|
176
|
+
# },
|
159
177
|
# },
|
160
178
|
# }
|
161
179
|
#
|
@@ -240,6 +258,20 @@ module Aws::ManagedBlockchain
|
|
240
258
|
# node_configuration: { # required
|
241
259
|
# instance_type: "InstanceTypeString", # required
|
242
260
|
# availability_zone: "AvailabilityZoneString", # required
|
261
|
+
# log_publishing_configuration: {
|
262
|
+
# fabric: {
|
263
|
+
# chaincode_logs: {
|
264
|
+
# cloudwatch: {
|
265
|
+
# enabled: false,
|
266
|
+
# },
|
267
|
+
# },
|
268
|
+
# peer_logs: {
|
269
|
+
# cloudwatch: {
|
270
|
+
# enabled: false,
|
271
|
+
# },
|
272
|
+
# },
|
273
|
+
# },
|
274
|
+
# },
|
243
275
|
# },
|
244
276
|
# }
|
245
277
|
#
|
@@ -720,7 +752,7 @@ module Aws::ManagedBlockchain
|
|
720
752
|
# {
|
721
753
|
# network_id: "ResourceIdString", # required
|
722
754
|
# name: "String",
|
723
|
-
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, DELETING, DELETED
|
755
|
+
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, UPDATING, DELETING, DELETED
|
724
756
|
# is_owned: false,
|
725
757
|
# max_results: 1,
|
726
758
|
# next_token: "PaginationToken",
|
@@ -854,7 +886,7 @@ module Aws::ManagedBlockchain
|
|
854
886
|
# {
|
855
887
|
# network_id: "ResourceIdString", # required
|
856
888
|
# member_id: "ResourceIdString", # required
|
857
|
-
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, DELETING, DELETED, FAILED
|
889
|
+
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, UPDATING, DELETING, DELETED, FAILED
|
858
890
|
# max_results: 1,
|
859
891
|
# next_token: "PaginationToken",
|
860
892
|
# }
|
@@ -1012,6 +1044,48 @@ module Aws::ManagedBlockchain
|
|
1012
1044
|
include Aws::Structure
|
1013
1045
|
end
|
1014
1046
|
|
1047
|
+
# A configuration for logging events.
|
1048
|
+
#
|
1049
|
+
# @note When making an API call, you may pass LogConfiguration
|
1050
|
+
# data as a hash:
|
1051
|
+
#
|
1052
|
+
# {
|
1053
|
+
# enabled: false,
|
1054
|
+
# }
|
1055
|
+
#
|
1056
|
+
# @!attribute [rw] enabled
|
1057
|
+
# Indicates whether logging is enabled.
|
1058
|
+
# @return [Boolean]
|
1059
|
+
#
|
1060
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/LogConfiguration AWS API Documentation
|
1061
|
+
#
|
1062
|
+
class LogConfiguration < Struct.new(
|
1063
|
+
:enabled)
|
1064
|
+
include Aws::Structure
|
1065
|
+
end
|
1066
|
+
|
1067
|
+
# A collection of log configurations.
|
1068
|
+
#
|
1069
|
+
# @note When making an API call, you may pass LogConfigurations
|
1070
|
+
# data as a hash:
|
1071
|
+
#
|
1072
|
+
# {
|
1073
|
+
# cloudwatch: {
|
1074
|
+
# enabled: false,
|
1075
|
+
# },
|
1076
|
+
# }
|
1077
|
+
#
|
1078
|
+
# @!attribute [rw] cloudwatch
|
1079
|
+
# Parameters for publishing logs to Amazon CloudWatch Logs.
|
1080
|
+
# @return [Types::LogConfiguration]
|
1081
|
+
#
|
1082
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/LogConfigurations AWS API Documentation
|
1083
|
+
#
|
1084
|
+
class LogConfigurations < Struct.new(
|
1085
|
+
:cloudwatch)
|
1086
|
+
include Aws::Structure
|
1087
|
+
end
|
1088
|
+
|
1015
1089
|
# Member configuration properties.
|
1016
1090
|
#
|
1017
1091
|
# @!attribute [rw] network_id
|
@@ -1035,6 +1109,11 @@ module Aws::ManagedBlockchain
|
|
1035
1109
|
# the Managed Blockchain network uses.
|
1036
1110
|
# @return [Types::MemberFrameworkAttributes]
|
1037
1111
|
#
|
1112
|
+
# @!attribute [rw] log_publishing_configuration
|
1113
|
+
# Configuration properties for logging events associated with a
|
1114
|
+
# member.
|
1115
|
+
# @return [Types::MemberLogPublishingConfiguration]
|
1116
|
+
#
|
1038
1117
|
# @!attribute [rw] status
|
1039
1118
|
# The status of a member.
|
1040
1119
|
#
|
@@ -1070,6 +1149,7 @@ module Aws::ManagedBlockchain
|
|
1070
1149
|
:name,
|
1071
1150
|
:description,
|
1072
1151
|
:framework_attributes,
|
1152
|
+
:log_publishing_configuration,
|
1073
1153
|
:status,
|
1074
1154
|
:creation_date)
|
1075
1155
|
include Aws::Structure
|
@@ -1089,6 +1169,15 @@ module Aws::ManagedBlockchain
|
|
1089
1169
|
# admin_password: "PasswordString", # required
|
1090
1170
|
# },
|
1091
1171
|
# },
|
1172
|
+
# log_publishing_configuration: {
|
1173
|
+
# fabric: {
|
1174
|
+
# ca_logs: {
|
1175
|
+
# cloudwatch: {
|
1176
|
+
# enabled: false,
|
1177
|
+
# },
|
1178
|
+
# },
|
1179
|
+
# },
|
1180
|
+
# },
|
1092
1181
|
# }
|
1093
1182
|
#
|
1094
1183
|
# @!attribute [rw] name
|
@@ -1104,12 +1193,16 @@ module Aws::ManagedBlockchain
|
|
1104
1193
|
# member.
|
1105
1194
|
# @return [Types::MemberFrameworkConfiguration]
|
1106
1195
|
#
|
1196
|
+
# @!attribute [rw] log_publishing_configuration
|
1197
|
+
# @return [Types::MemberLogPublishingConfiguration]
|
1198
|
+
#
|
1107
1199
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/MemberConfiguration AWS API Documentation
|
1108
1200
|
#
|
1109
1201
|
class MemberConfiguration < Struct.new(
|
1110
1202
|
:name,
|
1111
1203
|
:description,
|
1112
|
-
:framework_configuration
|
1204
|
+
:framework_configuration,
|
1205
|
+
:log_publishing_configuration)
|
1113
1206
|
include Aws::Structure
|
1114
1207
|
end
|
1115
1208
|
|
@@ -1164,6 +1257,35 @@ module Aws::ManagedBlockchain
|
|
1164
1257
|
include Aws::Structure
|
1165
1258
|
end
|
1166
1259
|
|
1260
|
+
# Configuration properties for logging events associated with a member
|
1261
|
+
# of a Managed Blockchain network using the Hyperledger Fabric
|
1262
|
+
# framework.
|
1263
|
+
#
|
1264
|
+
# @note When making an API call, you may pass MemberFabricLogPublishingConfiguration
|
1265
|
+
# data as a hash:
|
1266
|
+
#
|
1267
|
+
# {
|
1268
|
+
# ca_logs: {
|
1269
|
+
# cloudwatch: {
|
1270
|
+
# enabled: false,
|
1271
|
+
# },
|
1272
|
+
# },
|
1273
|
+
# }
|
1274
|
+
#
|
1275
|
+
# @!attribute [rw] ca_logs
|
1276
|
+
# Configuration properties for logging events associated with a
|
1277
|
+
# member's Certificate Authority (CA). CA logs help you determine
|
1278
|
+
# when a member in your account joins the network, or when new peers
|
1279
|
+
# register with a member CA.
|
1280
|
+
# @return [Types::LogConfigurations]
|
1281
|
+
#
|
1282
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/MemberFabricLogPublishingConfiguration AWS API Documentation
|
1283
|
+
#
|
1284
|
+
class MemberFabricLogPublishingConfiguration < Struct.new(
|
1285
|
+
:ca_logs)
|
1286
|
+
include Aws::Structure
|
1287
|
+
end
|
1288
|
+
|
1167
1289
|
# Attributes relevant to a member for the blockchain framework that the
|
1168
1290
|
# Managed Blockchain network uses.
|
1169
1291
|
#
|
@@ -1204,6 +1326,35 @@ module Aws::ManagedBlockchain
|
|
1204
1326
|
include Aws::Structure
|
1205
1327
|
end
|
1206
1328
|
|
1329
|
+
# Configuration properties for logging events associated with a member
|
1330
|
+
# of a Managed Blockchain network.
|
1331
|
+
#
|
1332
|
+
# @note When making an API call, you may pass MemberLogPublishingConfiguration
|
1333
|
+
# data as a hash:
|
1334
|
+
#
|
1335
|
+
# {
|
1336
|
+
# fabric: {
|
1337
|
+
# ca_logs: {
|
1338
|
+
# cloudwatch: {
|
1339
|
+
# enabled: false,
|
1340
|
+
# },
|
1341
|
+
# },
|
1342
|
+
# },
|
1343
|
+
# }
|
1344
|
+
#
|
1345
|
+
# @!attribute [rw] fabric
|
1346
|
+
# Configuration properties for logging events associated with a member
|
1347
|
+
# of a Managed Blockchain network using the Hyperledger Fabric
|
1348
|
+
# framework.
|
1349
|
+
# @return [Types::MemberFabricLogPublishingConfiguration]
|
1350
|
+
#
|
1351
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/MemberLogPublishingConfiguration AWS API Documentation
|
1352
|
+
#
|
1353
|
+
class MemberLogPublishingConfiguration < Struct.new(
|
1354
|
+
:fabric)
|
1355
|
+
include Aws::Structure
|
1356
|
+
end
|
1357
|
+
|
1207
1358
|
# A summary of configuration properties for a member.
|
1208
1359
|
#
|
1209
1360
|
# @!attribute [rw] id
|
@@ -1336,7 +1487,7 @@ module Aws::ManagedBlockchain
|
|
1336
1487
|
#
|
1337
1488
|
#
|
1338
1489
|
#
|
1339
|
-
# [1]:
|
1490
|
+
# [1]: http://aws.amazon.com/managed-blockchain/pricing/
|
1340
1491
|
# @return [String]
|
1341
1492
|
#
|
1342
1493
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NetworkFabricAttributes AWS API Documentation
|
@@ -1362,7 +1513,7 @@ module Aws::ManagedBlockchain
|
|
1362
1513
|
#
|
1363
1514
|
#
|
1364
1515
|
#
|
1365
|
-
# [1]:
|
1516
|
+
# [1]: http://aws.amazon.com/managed-blockchain/pricing/
|
1366
1517
|
# @return [String]
|
1367
1518
|
#
|
1368
1519
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NetworkFabricConfiguration AWS API Documentation
|
@@ -1480,6 +1631,9 @@ module Aws::ManagedBlockchain
|
|
1480
1631
|
# Attributes of the blockchain framework being used.
|
1481
1632
|
# @return [Types::NodeFrameworkAttributes]
|
1482
1633
|
#
|
1634
|
+
# @!attribute [rw] log_publishing_configuration
|
1635
|
+
# @return [Types::NodeLogPublishingConfiguration]
|
1636
|
+
#
|
1483
1637
|
# @!attribute [rw] status
|
1484
1638
|
# The status of the node.
|
1485
1639
|
# @return [String]
|
@@ -1497,6 +1651,7 @@ module Aws::ManagedBlockchain
|
|
1497
1651
|
:instance_type,
|
1498
1652
|
:availability_zone,
|
1499
1653
|
:framework_attributes,
|
1654
|
+
:log_publishing_configuration,
|
1500
1655
|
:status,
|
1501
1656
|
:creation_date)
|
1502
1657
|
include Aws::Structure
|
@@ -1510,6 +1665,20 @@ module Aws::ManagedBlockchain
|
|
1510
1665
|
# {
|
1511
1666
|
# instance_type: "InstanceTypeString", # required
|
1512
1667
|
# availability_zone: "AvailabilityZoneString", # required
|
1668
|
+
# log_publishing_configuration: {
|
1669
|
+
# fabric: {
|
1670
|
+
# chaincode_logs: {
|
1671
|
+
# cloudwatch: {
|
1672
|
+
# enabled: false,
|
1673
|
+
# },
|
1674
|
+
# },
|
1675
|
+
# peer_logs: {
|
1676
|
+
# cloudwatch: {
|
1677
|
+
# enabled: false,
|
1678
|
+
# },
|
1679
|
+
# },
|
1680
|
+
# },
|
1681
|
+
# },
|
1513
1682
|
# }
|
1514
1683
|
#
|
1515
1684
|
# @!attribute [rw] instance_type
|
@@ -1520,11 +1689,15 @@ module Aws::ManagedBlockchain
|
|
1520
1689
|
# The Availability Zone in which the node exists.
|
1521
1690
|
# @return [String]
|
1522
1691
|
#
|
1692
|
+
# @!attribute [rw] log_publishing_configuration
|
1693
|
+
# @return [Types::NodeLogPublishingConfiguration]
|
1694
|
+
#
|
1523
1695
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NodeConfiguration AWS API Documentation
|
1524
1696
|
#
|
1525
1697
|
class NodeConfiguration < Struct.new(
|
1526
1698
|
:instance_type,
|
1527
|
-
:availability_zone
|
1699
|
+
:availability_zone,
|
1700
|
+
:log_publishing_configuration)
|
1528
1701
|
include Aws::Structure
|
1529
1702
|
end
|
1530
1703
|
|
@@ -1549,6 +1722,49 @@ module Aws::ManagedBlockchain
|
|
1549
1722
|
include Aws::Structure
|
1550
1723
|
end
|
1551
1724
|
|
1725
|
+
# Configuration properties for logging events associated with a peer
|
1726
|
+
# node owned by a member in a Managed Blockchain network.
|
1727
|
+
#
|
1728
|
+
# @note When making an API call, you may pass NodeFabricLogPublishingConfiguration
|
1729
|
+
# data as a hash:
|
1730
|
+
#
|
1731
|
+
# {
|
1732
|
+
# chaincode_logs: {
|
1733
|
+
# cloudwatch: {
|
1734
|
+
# enabled: false,
|
1735
|
+
# },
|
1736
|
+
# },
|
1737
|
+
# peer_logs: {
|
1738
|
+
# cloudwatch: {
|
1739
|
+
# enabled: false,
|
1740
|
+
# },
|
1741
|
+
# },
|
1742
|
+
# }
|
1743
|
+
#
|
1744
|
+
# @!attribute [rw] chaincode_logs
|
1745
|
+
# Configuration properties for logging events associated with
|
1746
|
+
# chaincode execution on a peer node. Chaincode logs contain the
|
1747
|
+
# results of instantiating, invoking, and querying the chaincode. A
|
1748
|
+
# peer can run multiple instances of chaincode. When enabled, a log
|
1749
|
+
# stream is created for all chaincodes, with an individual log stream
|
1750
|
+
# for each chaincode.
|
1751
|
+
# @return [Types::LogConfigurations]
|
1752
|
+
#
|
1753
|
+
# @!attribute [rw] peer_logs
|
1754
|
+
# Configuration properties for a peer node log. Peer node logs contain
|
1755
|
+
# messages generated when your client submits transaction proposals to
|
1756
|
+
# peer nodes, requests to join channels, enrolls an admin peer, and
|
1757
|
+
# lists the chaincode instances on a peer node.
|
1758
|
+
# @return [Types::LogConfigurations]
|
1759
|
+
#
|
1760
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NodeFabricLogPublishingConfiguration AWS API Documentation
|
1761
|
+
#
|
1762
|
+
class NodeFabricLogPublishingConfiguration < Struct.new(
|
1763
|
+
:chaincode_logs,
|
1764
|
+
:peer_logs)
|
1765
|
+
include Aws::Structure
|
1766
|
+
end
|
1767
|
+
|
1552
1768
|
# Attributes relevant to a peer node on a Managed Blockchain network for
|
1553
1769
|
# the blockchain framework that the network uses.
|
1554
1770
|
#
|
@@ -1564,6 +1780,40 @@ module Aws::ManagedBlockchain
|
|
1564
1780
|
include Aws::Structure
|
1565
1781
|
end
|
1566
1782
|
|
1783
|
+
# Configuration properties for logging events associated with a peer
|
1784
|
+
# node owned by a member in a Managed Blockchain network.
|
1785
|
+
#
|
1786
|
+
# @note When making an API call, you may pass NodeLogPublishingConfiguration
|
1787
|
+
# data as a hash:
|
1788
|
+
#
|
1789
|
+
# {
|
1790
|
+
# fabric: {
|
1791
|
+
# chaincode_logs: {
|
1792
|
+
# cloudwatch: {
|
1793
|
+
# enabled: false,
|
1794
|
+
# },
|
1795
|
+
# },
|
1796
|
+
# peer_logs: {
|
1797
|
+
# cloudwatch: {
|
1798
|
+
# enabled: false,
|
1799
|
+
# },
|
1800
|
+
# },
|
1801
|
+
# },
|
1802
|
+
# }
|
1803
|
+
#
|
1804
|
+
# @!attribute [rw] fabric
|
1805
|
+
# Configuration properties for logging events associated with a node
|
1806
|
+
# that is owned by a member of a Managed Blockchain network using the
|
1807
|
+
# Hyperledger Fabric framework.
|
1808
|
+
# @return [Types::NodeFabricLogPublishingConfiguration]
|
1809
|
+
#
|
1810
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/NodeLogPublishingConfiguration AWS API Documentation
|
1811
|
+
#
|
1812
|
+
class NodeLogPublishingConfiguration < Struct.new(
|
1813
|
+
:fabric)
|
1814
|
+
include Aws::Structure
|
1815
|
+
end
|
1816
|
+
|
1567
1817
|
# A summary of configuration properties for a peer node.
|
1568
1818
|
#
|
1569
1819
|
# @!attribute [rw] id
|
@@ -1643,7 +1893,8 @@ module Aws::ManagedBlockchain
|
|
1643
1893
|
#
|
1644
1894
|
# * `ACTION_FAILED` - One or more of the specified `ProposalActions`
|
1645
1895
|
# in a proposal that was approved could not be completed because of
|
1646
|
-
# an error.
|
1896
|
+
# an error. The `ACTION_FAILED` status occurs even if only one
|
1897
|
+
# ProposalAction fails and other actions are successful.
|
1647
1898
|
# @return [String]
|
1648
1899
|
#
|
1649
1900
|
# @!attribute [rw] creation_date
|
@@ -1901,6 +2152,103 @@ module Aws::ManagedBlockchain
|
|
1901
2152
|
#
|
1902
2153
|
class ThrottlingException < Aws::EmptyStructure; end
|
1903
2154
|
|
2155
|
+
# @note When making an API call, you may pass UpdateMemberInput
|
2156
|
+
# data as a hash:
|
2157
|
+
#
|
2158
|
+
# {
|
2159
|
+
# network_id: "ResourceIdString", # required
|
2160
|
+
# member_id: "ResourceIdString", # required
|
2161
|
+
# log_publishing_configuration: {
|
2162
|
+
# fabric: {
|
2163
|
+
# ca_logs: {
|
2164
|
+
# cloudwatch: {
|
2165
|
+
# enabled: false,
|
2166
|
+
# },
|
2167
|
+
# },
|
2168
|
+
# },
|
2169
|
+
# },
|
2170
|
+
# }
|
2171
|
+
#
|
2172
|
+
# @!attribute [rw] network_id
|
2173
|
+
# The unique ID of the Managed Blockchain network to which the member
|
2174
|
+
# belongs.
|
2175
|
+
# @return [String]
|
2176
|
+
#
|
2177
|
+
# @!attribute [rw] member_id
|
2178
|
+
# The unique ID of the member.
|
2179
|
+
# @return [String]
|
2180
|
+
#
|
2181
|
+
# @!attribute [rw] log_publishing_configuration
|
2182
|
+
# Configuration properties for publishing to Amazon CloudWatch Logs.
|
2183
|
+
# @return [Types::MemberLogPublishingConfiguration]
|
2184
|
+
#
|
2185
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UpdateMemberInput AWS API Documentation
|
2186
|
+
#
|
2187
|
+
class UpdateMemberInput < Struct.new(
|
2188
|
+
:network_id,
|
2189
|
+
:member_id,
|
2190
|
+
:log_publishing_configuration)
|
2191
|
+
include Aws::Structure
|
2192
|
+
end
|
2193
|
+
|
2194
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UpdateMemberOutput AWS API Documentation
|
2195
|
+
#
|
2196
|
+
class UpdateMemberOutput < Aws::EmptyStructure; end
|
2197
|
+
|
2198
|
+
# @note When making an API call, you may pass UpdateNodeInput
|
2199
|
+
# data as a hash:
|
2200
|
+
#
|
2201
|
+
# {
|
2202
|
+
# network_id: "ResourceIdString", # required
|
2203
|
+
# member_id: "ResourceIdString", # required
|
2204
|
+
# node_id: "ResourceIdString", # required
|
2205
|
+
# log_publishing_configuration: {
|
2206
|
+
# fabric: {
|
2207
|
+
# chaincode_logs: {
|
2208
|
+
# cloudwatch: {
|
2209
|
+
# enabled: false,
|
2210
|
+
# },
|
2211
|
+
# },
|
2212
|
+
# peer_logs: {
|
2213
|
+
# cloudwatch: {
|
2214
|
+
# enabled: false,
|
2215
|
+
# },
|
2216
|
+
# },
|
2217
|
+
# },
|
2218
|
+
# },
|
2219
|
+
# }
|
2220
|
+
#
|
2221
|
+
# @!attribute [rw] network_id
|
2222
|
+
# The unique ID of the Managed Blockchain network to which the node
|
2223
|
+
# belongs.
|
2224
|
+
# @return [String]
|
2225
|
+
#
|
2226
|
+
# @!attribute [rw] member_id
|
2227
|
+
# The unique ID of the member that owns the node.
|
2228
|
+
# @return [String]
|
2229
|
+
#
|
2230
|
+
# @!attribute [rw] node_id
|
2231
|
+
# The unique ID of the node.
|
2232
|
+
# @return [String]
|
2233
|
+
#
|
2234
|
+
# @!attribute [rw] log_publishing_configuration
|
2235
|
+
# Configuration properties for publishing to Amazon CloudWatch Logs.
|
2236
|
+
# @return [Types::NodeLogPublishingConfiguration]
|
2237
|
+
#
|
2238
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UpdateNodeInput AWS API Documentation
|
2239
|
+
#
|
2240
|
+
class UpdateNodeInput < Struct.new(
|
2241
|
+
:network_id,
|
2242
|
+
:member_id,
|
2243
|
+
:node_id,
|
2244
|
+
:log_publishing_configuration)
|
2245
|
+
include Aws::Structure
|
2246
|
+
end
|
2247
|
+
|
2248
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UpdateNodeOutput AWS API Documentation
|
2249
|
+
#
|
2250
|
+
class UpdateNodeOutput < Aws::EmptyStructure; end
|
2251
|
+
|
1904
2252
|
# @note When making an API call, you may pass VoteOnProposalInput
|
1905
2253
|
# data as a hash:
|
1906
2254
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-managedblockchain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -80,7 +80,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
|
-
|
83
|
+
rubyforge_project:
|
84
|
+
rubygems_version: 2.5.2.3
|
84
85
|
signing_key:
|
85
86
|
specification_version: 4
|
86
87
|
summary: AWS SDK for Ruby - ManagedBlockchain
|