aws-sdk-managedblockchain 1.8.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-managedblockchain.rb +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
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 44766fe13708635539460e640696cc62be7a9d044593b83c66d4486f29bd5b1e
|
|
4
|
+
data.tar.gz: b659c0a97d01513ed7b66b90478c61d08d326a2230d9dd6fb139459dd4eed334
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 43884aa12159a7019e0202770b585d647a35874e8f98bef191b5b2d1857cd0fd531fb6165b0df398e532581cb8650f5d4a3a756354d4d4a7fe87684c7891a75b
|
|
7
|
+
data.tar.gz: 7ccc56aeb15cc9155edcdf58f98aef27f901cd62069ad568733d52624a4a435ae41cec3c0e92cdf1d385d0f30473c2500d20b19733f671512b1bb621a155a255
|
|
@@ -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:
|
|
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-managedblockchain/customizations'
|
|
|
45
47
|
# @service
|
|
46
48
|
module Aws::ManagedBlockchain
|
|
47
49
|
|
|
48
|
-
GEM_VERSION = '1.
|
|
50
|
+
GEM_VERSION = '1.13.0'
|
|
49
51
|
|
|
50
52
|
end
|
|
@@ -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:
|
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
|
28
31
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
|
29
32
|
|
|
@@ -69,6 +72,7 @@ module Aws::ManagedBlockchain
|
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
|
73
77
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
|
74
78
|
|
|
@@ -105,7 +109,7 @@ module Aws::ManagedBlockchain
|
|
|
105
109
|
# @option options [required, String] :region
|
|
106
110
|
# The AWS region to connect to. The configured `:region` is
|
|
107
111
|
# used to determine the service `:endpoint`. When not passed,
|
|
108
|
-
# a default `:region` is
|
|
112
|
+
# a default `:region` is searched for in the following locations:
|
|
109
113
|
#
|
|
110
114
|
# * `Aws.config[:region]`
|
|
111
115
|
# * `ENV['AWS_REGION']`
|
|
@@ -161,7 +165,7 @@ module Aws::ManagedBlockchain
|
|
|
161
165
|
# @option options [String] :endpoint
|
|
162
166
|
# The client endpoint is normally constructed from the `:region`
|
|
163
167
|
# option. You should only configure an `:endpoint` when connecting
|
|
164
|
-
# to test endpoints. This should be
|
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
|
165
169
|
#
|
|
166
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
|
167
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
|
@@ -176,7 +180,7 @@ module Aws::ManagedBlockchain
|
|
|
176
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
|
177
181
|
#
|
|
178
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
|
180
184
|
#
|
|
181
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
|
182
186
|
# The log formatter.
|
|
@@ -269,8 +273,7 @@ module Aws::ManagedBlockchain
|
|
|
269
273
|
#
|
|
270
274
|
# @option options [Integer] :http_read_timeout (60) The default
|
|
271
275
|
# 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}.
|
|
276
|
+
# safely be set per-request on the session.
|
|
274
277
|
#
|
|
275
278
|
# @option options [Float] :http_idle_timeout (5) The number of
|
|
276
279
|
# seconds a connection is allowed to sit idle before it is
|
|
@@ -282,7 +285,7 @@ module Aws::ManagedBlockchain
|
|
|
282
285
|
# request body. This option has no effect unless the request has
|
|
283
286
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
|
284
287
|
# disables this behaviour. This value can safely be set per
|
|
285
|
-
# request on the session
|
|
288
|
+
# request on the session.
|
|
286
289
|
#
|
|
287
290
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
|
288
291
|
# HTTP debug output will be sent to the `:logger`.
|
|
@@ -350,6 +353,15 @@ module Aws::ManagedBlockchain
|
|
|
350
353
|
# admin_password: "PasswordString", # required
|
|
351
354
|
# },
|
|
352
355
|
# },
|
|
356
|
+
# log_publishing_configuration: {
|
|
357
|
+
# fabric: {
|
|
358
|
+
# ca_logs: {
|
|
359
|
+
# cloudwatch: {
|
|
360
|
+
# enabled: false,
|
|
361
|
+
# },
|
|
362
|
+
# },
|
|
363
|
+
# },
|
|
364
|
+
# },
|
|
353
365
|
# },
|
|
354
366
|
# })
|
|
355
367
|
#
|
|
@@ -435,6 +447,15 @@ module Aws::ManagedBlockchain
|
|
|
435
447
|
# admin_password: "PasswordString", # required
|
|
436
448
|
# },
|
|
437
449
|
# },
|
|
450
|
+
# log_publishing_configuration: {
|
|
451
|
+
# fabric: {
|
|
452
|
+
# ca_logs: {
|
|
453
|
+
# cloudwatch: {
|
|
454
|
+
# enabled: false,
|
|
455
|
+
# },
|
|
456
|
+
# },
|
|
457
|
+
# },
|
|
458
|
+
# },
|
|
438
459
|
# },
|
|
439
460
|
# })
|
|
440
461
|
#
|
|
@@ -486,6 +507,20 @@ module Aws::ManagedBlockchain
|
|
|
486
507
|
# node_configuration: { # required
|
|
487
508
|
# instance_type: "InstanceTypeString", # required
|
|
488
509
|
# availability_zone: "AvailabilityZoneString", # required
|
|
510
|
+
# log_publishing_configuration: {
|
|
511
|
+
# fabric: {
|
|
512
|
+
# chaincode_logs: {
|
|
513
|
+
# cloudwatch: {
|
|
514
|
+
# enabled: false,
|
|
515
|
+
# },
|
|
516
|
+
# },
|
|
517
|
+
# peer_logs: {
|
|
518
|
+
# cloudwatch: {
|
|
519
|
+
# enabled: false,
|
|
520
|
+
# },
|
|
521
|
+
# },
|
|
522
|
+
# },
|
|
523
|
+
# },
|
|
489
524
|
# },
|
|
490
525
|
# })
|
|
491
526
|
#
|
|
@@ -663,7 +698,8 @@ module Aws::ManagedBlockchain
|
|
|
663
698
|
# resp.member.description #=> String
|
|
664
699
|
# resp.member.framework_attributes.fabric.admin_username #=> String
|
|
665
700
|
# resp.member.framework_attributes.fabric.ca_endpoint #=> String
|
|
666
|
-
# resp.member.
|
|
701
|
+
# resp.member.log_publishing_configuration.fabric.ca_logs.cloudwatch.enabled #=> Boolean
|
|
702
|
+
# resp.member.status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED"
|
|
667
703
|
# resp.member.creation_date #=> Time
|
|
668
704
|
#
|
|
669
705
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetMember AWS API Documentation
|
|
@@ -747,7 +783,9 @@ module Aws::ManagedBlockchain
|
|
|
747
783
|
# resp.node.availability_zone #=> String
|
|
748
784
|
# resp.node.framework_attributes.fabric.peer_endpoint #=> String
|
|
749
785
|
# resp.node.framework_attributes.fabric.peer_event_endpoint #=> String
|
|
750
|
-
# resp.node.
|
|
786
|
+
# resp.node.log_publishing_configuration.fabric.chaincode_logs.cloudwatch.enabled #=> Boolean
|
|
787
|
+
# resp.node.log_publishing_configuration.fabric.peer_logs.cloudwatch.enabled #=> Boolean
|
|
788
|
+
# resp.node.status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED", "FAILED"
|
|
751
789
|
# resp.node.creation_date #=> Time
|
|
752
790
|
#
|
|
753
791
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNode AWS API Documentation
|
|
@@ -819,6 +857,8 @@ module Aws::ManagedBlockchain
|
|
|
819
857
|
# * {Types::ListInvitationsOutput#invitations #invitations} => Array<Types::Invitation>
|
|
820
858
|
# * {Types::ListInvitationsOutput#next_token #next_token} => String
|
|
821
859
|
#
|
|
860
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
861
|
+
#
|
|
822
862
|
# @example Request syntax with placeholder values
|
|
823
863
|
#
|
|
824
864
|
# resp = client.list_invitations({
|
|
@@ -881,12 +921,14 @@ module Aws::ManagedBlockchain
|
|
|
881
921
|
# * {Types::ListMembersOutput#members #members} => Array<Types::MemberSummary>
|
|
882
922
|
# * {Types::ListMembersOutput#next_token #next_token} => String
|
|
883
923
|
#
|
|
924
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
925
|
+
#
|
|
884
926
|
# @example Request syntax with placeholder values
|
|
885
927
|
#
|
|
886
928
|
# resp = client.list_members({
|
|
887
929
|
# network_id: "ResourceIdString", # required
|
|
888
930
|
# name: "String",
|
|
889
|
-
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, DELETING, DELETED
|
|
931
|
+
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, UPDATING, DELETING, DELETED
|
|
890
932
|
# is_owned: false,
|
|
891
933
|
# max_results: 1,
|
|
892
934
|
# next_token: "PaginationToken",
|
|
@@ -898,7 +940,7 @@ module Aws::ManagedBlockchain
|
|
|
898
940
|
# resp.members[0].id #=> String
|
|
899
941
|
# resp.members[0].name #=> String
|
|
900
942
|
# resp.members[0].description #=> String
|
|
901
|
-
# resp.members[0].status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "DELETING", "DELETED"
|
|
943
|
+
# resp.members[0].status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED"
|
|
902
944
|
# resp.members[0].creation_date #=> Time
|
|
903
945
|
# resp.members[0].is_owned #=> Boolean
|
|
904
946
|
# resp.next_token #=> String
|
|
@@ -938,6 +980,8 @@ module Aws::ManagedBlockchain
|
|
|
938
980
|
# * {Types::ListNetworksOutput#networks #networks} => Array<Types::NetworkSummary>
|
|
939
981
|
# * {Types::ListNetworksOutput#next_token #next_token} => String
|
|
940
982
|
#
|
|
983
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
984
|
+
#
|
|
941
985
|
# @example Request syntax with placeholder values
|
|
942
986
|
#
|
|
943
987
|
# resp = client.list_networks({
|
|
@@ -993,12 +1037,14 @@ module Aws::ManagedBlockchain
|
|
|
993
1037
|
# * {Types::ListNodesOutput#nodes #nodes} => Array<Types::NodeSummary>
|
|
994
1038
|
# * {Types::ListNodesOutput#next_token #next_token} => String
|
|
995
1039
|
#
|
|
1040
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1041
|
+
#
|
|
996
1042
|
# @example Request syntax with placeholder values
|
|
997
1043
|
#
|
|
998
1044
|
# resp = client.list_nodes({
|
|
999
1045
|
# network_id: "ResourceIdString", # required
|
|
1000
1046
|
# member_id: "ResourceIdString", # required
|
|
1001
|
-
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, DELETING, DELETED, FAILED
|
|
1047
|
+
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, UPDATING, DELETING, DELETED, FAILED
|
|
1002
1048
|
# max_results: 1,
|
|
1003
1049
|
# next_token: "PaginationToken",
|
|
1004
1050
|
# })
|
|
@@ -1007,7 +1053,7 @@ module Aws::ManagedBlockchain
|
|
|
1007
1053
|
#
|
|
1008
1054
|
# resp.nodes #=> Array
|
|
1009
1055
|
# resp.nodes[0].id #=> String
|
|
1010
|
-
# resp.nodes[0].status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "DELETING", "DELETED", "FAILED"
|
|
1056
|
+
# resp.nodes[0].status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED", "FAILED"
|
|
1011
1057
|
# resp.nodes[0].creation_date #=> Time
|
|
1012
1058
|
# resp.nodes[0].availability_zone #=> String
|
|
1013
1059
|
# resp.nodes[0].instance_type #=> String
|
|
@@ -1044,6 +1090,8 @@ module Aws::ManagedBlockchain
|
|
|
1044
1090
|
# * {Types::ListProposalVotesOutput#proposal_votes #proposal_votes} => Array<Types::VoteSummary>
|
|
1045
1091
|
# * {Types::ListProposalVotesOutput#next_token #next_token} => String
|
|
1046
1092
|
#
|
|
1093
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1094
|
+
#
|
|
1047
1095
|
# @example Request syntax with placeholder values
|
|
1048
1096
|
#
|
|
1049
1097
|
# resp = client.list_proposal_votes({
|
|
@@ -1087,6 +1135,8 @@ module Aws::ManagedBlockchain
|
|
|
1087
1135
|
# * {Types::ListProposalsOutput#proposals #proposals} => Array<Types::ProposalSummary>
|
|
1088
1136
|
# * {Types::ListProposalsOutput#next_token #next_token} => String
|
|
1089
1137
|
#
|
|
1138
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1139
|
+
#
|
|
1090
1140
|
# @example Request syntax with placeholder values
|
|
1091
1141
|
#
|
|
1092
1142
|
# resp = client.list_proposals({
|
|
@@ -1140,6 +1190,93 @@ module Aws::ManagedBlockchain
|
|
|
1140
1190
|
req.send_request(options)
|
|
1141
1191
|
end
|
|
1142
1192
|
|
|
1193
|
+
# Updates a member configuration with new parameters.
|
|
1194
|
+
#
|
|
1195
|
+
# @option params [required, String] :network_id
|
|
1196
|
+
# The unique ID of the Managed Blockchain network to which the member
|
|
1197
|
+
# belongs.
|
|
1198
|
+
#
|
|
1199
|
+
# @option params [required, String] :member_id
|
|
1200
|
+
# The unique ID of the member.
|
|
1201
|
+
#
|
|
1202
|
+
# @option params [Types::MemberLogPublishingConfiguration] :log_publishing_configuration
|
|
1203
|
+
# Configuration properties for publishing to Amazon CloudWatch Logs.
|
|
1204
|
+
#
|
|
1205
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1206
|
+
#
|
|
1207
|
+
# @example Request syntax with placeholder values
|
|
1208
|
+
#
|
|
1209
|
+
# resp = client.update_member({
|
|
1210
|
+
# network_id: "ResourceIdString", # required
|
|
1211
|
+
# member_id: "ResourceIdString", # required
|
|
1212
|
+
# log_publishing_configuration: {
|
|
1213
|
+
# fabric: {
|
|
1214
|
+
# ca_logs: {
|
|
1215
|
+
# cloudwatch: {
|
|
1216
|
+
# enabled: false,
|
|
1217
|
+
# },
|
|
1218
|
+
# },
|
|
1219
|
+
# },
|
|
1220
|
+
# },
|
|
1221
|
+
# })
|
|
1222
|
+
#
|
|
1223
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UpdateMember AWS API Documentation
|
|
1224
|
+
#
|
|
1225
|
+
# @overload update_member(params = {})
|
|
1226
|
+
# @param [Hash] params ({})
|
|
1227
|
+
def update_member(params = {}, options = {})
|
|
1228
|
+
req = build_request(:update_member, params)
|
|
1229
|
+
req.send_request(options)
|
|
1230
|
+
end
|
|
1231
|
+
|
|
1232
|
+
# Updates a node configuration with new parameters.
|
|
1233
|
+
#
|
|
1234
|
+
# @option params [required, String] :network_id
|
|
1235
|
+
# The unique ID of the Managed Blockchain network to which the node
|
|
1236
|
+
# belongs.
|
|
1237
|
+
#
|
|
1238
|
+
# @option params [required, String] :member_id
|
|
1239
|
+
# The unique ID of the member that owns the node.
|
|
1240
|
+
#
|
|
1241
|
+
# @option params [required, String] :node_id
|
|
1242
|
+
# The unique ID of the node.
|
|
1243
|
+
#
|
|
1244
|
+
# @option params [Types::NodeLogPublishingConfiguration] :log_publishing_configuration
|
|
1245
|
+
# Configuration properties for publishing to Amazon CloudWatch Logs.
|
|
1246
|
+
#
|
|
1247
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1248
|
+
#
|
|
1249
|
+
# @example Request syntax with placeholder values
|
|
1250
|
+
#
|
|
1251
|
+
# resp = client.update_node({
|
|
1252
|
+
# network_id: "ResourceIdString", # required
|
|
1253
|
+
# member_id: "ResourceIdString", # required
|
|
1254
|
+
# node_id: "ResourceIdString", # required
|
|
1255
|
+
# log_publishing_configuration: {
|
|
1256
|
+
# fabric: {
|
|
1257
|
+
# chaincode_logs: {
|
|
1258
|
+
# cloudwatch: {
|
|
1259
|
+
# enabled: false,
|
|
1260
|
+
# },
|
|
1261
|
+
# },
|
|
1262
|
+
# peer_logs: {
|
|
1263
|
+
# cloudwatch: {
|
|
1264
|
+
# enabled: false,
|
|
1265
|
+
# },
|
|
1266
|
+
# },
|
|
1267
|
+
# },
|
|
1268
|
+
# },
|
|
1269
|
+
# })
|
|
1270
|
+
#
|
|
1271
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UpdateNode AWS API Documentation
|
|
1272
|
+
#
|
|
1273
|
+
# @overload update_node(params = {})
|
|
1274
|
+
# @param [Hash] params ({})
|
|
1275
|
+
def update_node(params = {}, options = {})
|
|
1276
|
+
req = build_request(:update_node, params)
|
|
1277
|
+
req.send_request(options)
|
|
1278
|
+
end
|
|
1279
|
+
|
|
1143
1280
|
# Casts a vote for a specified `ProposalId` on behalf of a member. The
|
|
1144
1281
|
# member to vote as, specified by `VoterMemberId`, must be in the same
|
|
1145
1282
|
# AWS account as the principal that calls the action.
|
|
@@ -1189,7 +1326,7 @@ module Aws::ManagedBlockchain
|
|
|
1189
1326
|
params: params,
|
|
1190
1327
|
config: config)
|
|
1191
1328
|
context[:gem_name] = 'aws-sdk-managedblockchain'
|
|
1192
|
-
context[:gem_version] = '1.
|
|
1329
|
+
context[:gem_version] = '1.13.0'
|
|
1193
1330
|
Seahorse::Client::Request.new(handlers, context)
|
|
1194
1331
|
end
|
|
1195
1332
|
|
|
@@ -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:
|
|
@@ -29,6 +31,7 @@ module Aws::ManagedBlockchain
|
|
|
29
31
|
DeleteNodeOutput = Shapes::StructureShape.new(name: 'DeleteNodeOutput')
|
|
30
32
|
DescriptionString = Shapes::StringShape.new(name: 'DescriptionString')
|
|
31
33
|
Edition = Shapes::StringShape.new(name: 'Edition')
|
|
34
|
+
Enabled = Shapes::BooleanShape.new(name: 'Enabled')
|
|
32
35
|
Framework = Shapes::StringShape.new(name: 'Framework')
|
|
33
36
|
FrameworkVersionString = Shapes::StringShape.new(name: 'FrameworkVersionString')
|
|
34
37
|
GetMemberInput = Shapes::StructureShape.new(name: 'GetMemberInput')
|
|
@@ -61,13 +64,17 @@ module Aws::ManagedBlockchain
|
|
|
61
64
|
ListProposalVotesOutput = Shapes::StructureShape.new(name: 'ListProposalVotesOutput')
|
|
62
65
|
ListProposalsInput = Shapes::StructureShape.new(name: 'ListProposalsInput')
|
|
63
66
|
ListProposalsOutput = Shapes::StructureShape.new(name: 'ListProposalsOutput')
|
|
67
|
+
LogConfiguration = Shapes::StructureShape.new(name: 'LogConfiguration')
|
|
68
|
+
LogConfigurations = Shapes::StructureShape.new(name: 'LogConfigurations')
|
|
64
69
|
Member = Shapes::StructureShape.new(name: 'Member')
|
|
65
70
|
MemberConfiguration = Shapes::StructureShape.new(name: 'MemberConfiguration')
|
|
66
71
|
MemberFabricAttributes = Shapes::StructureShape.new(name: 'MemberFabricAttributes')
|
|
67
72
|
MemberFabricConfiguration = Shapes::StructureShape.new(name: 'MemberFabricConfiguration')
|
|
73
|
+
MemberFabricLogPublishingConfiguration = Shapes::StructureShape.new(name: 'MemberFabricLogPublishingConfiguration')
|
|
68
74
|
MemberFrameworkAttributes = Shapes::StructureShape.new(name: 'MemberFrameworkAttributes')
|
|
69
75
|
MemberFrameworkConfiguration = Shapes::StructureShape.new(name: 'MemberFrameworkConfiguration')
|
|
70
76
|
MemberListMaxResults = Shapes::IntegerShape.new(name: 'MemberListMaxResults')
|
|
77
|
+
MemberLogPublishingConfiguration = Shapes::StructureShape.new(name: 'MemberLogPublishingConfiguration')
|
|
71
78
|
MemberStatus = Shapes::StringShape.new(name: 'MemberStatus')
|
|
72
79
|
MemberSummary = Shapes::StructureShape.new(name: 'MemberSummary')
|
|
73
80
|
MemberSummaryList = Shapes::ListShape.new(name: 'MemberSummaryList')
|
|
@@ -85,8 +92,10 @@ module Aws::ManagedBlockchain
|
|
|
85
92
|
Node = Shapes::StructureShape.new(name: 'Node')
|
|
86
93
|
NodeConfiguration = Shapes::StructureShape.new(name: 'NodeConfiguration')
|
|
87
94
|
NodeFabricAttributes = Shapes::StructureShape.new(name: 'NodeFabricAttributes')
|
|
95
|
+
NodeFabricLogPublishingConfiguration = Shapes::StructureShape.new(name: 'NodeFabricLogPublishingConfiguration')
|
|
88
96
|
NodeFrameworkAttributes = Shapes::StructureShape.new(name: 'NodeFrameworkAttributes')
|
|
89
97
|
NodeListMaxResults = Shapes::IntegerShape.new(name: 'NodeListMaxResults')
|
|
98
|
+
NodeLogPublishingConfiguration = Shapes::StructureShape.new(name: 'NodeLogPublishingConfiguration')
|
|
90
99
|
NodeStatus = Shapes::StringShape.new(name: 'NodeStatus')
|
|
91
100
|
NodeSummary = Shapes::StructureShape.new(name: 'NodeSummary')
|
|
92
101
|
NodeSummaryList = Shapes::ListShape.new(name: 'NodeSummaryList')
|
|
@@ -115,6 +124,10 @@ module Aws::ManagedBlockchain
|
|
|
115
124
|
ThresholdPercentageInt = Shapes::IntegerShape.new(name: 'ThresholdPercentageInt')
|
|
116
125
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
|
117
126
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
|
|
127
|
+
UpdateMemberInput = Shapes::StructureShape.new(name: 'UpdateMemberInput')
|
|
128
|
+
UpdateMemberOutput = Shapes::StructureShape.new(name: 'UpdateMemberOutput')
|
|
129
|
+
UpdateNodeInput = Shapes::StructureShape.new(name: 'UpdateNodeInput')
|
|
130
|
+
UpdateNodeOutput = Shapes::StructureShape.new(name: 'UpdateNodeOutput')
|
|
118
131
|
UsernameString = Shapes::StringShape.new(name: 'UsernameString')
|
|
119
132
|
VoteCount = Shapes::IntegerShape.new(name: 'VoteCount')
|
|
120
133
|
VoteOnProposalInput = Shapes::StructureShape.new(name: 'VoteOnProposalInput')
|
|
@@ -296,11 +309,18 @@ module Aws::ManagedBlockchain
|
|
|
296
309
|
ListProposalsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
|
297
310
|
ListProposalsOutput.struct_class = Types::ListProposalsOutput
|
|
298
311
|
|
|
312
|
+
LogConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
|
|
313
|
+
LogConfiguration.struct_class = Types::LogConfiguration
|
|
314
|
+
|
|
315
|
+
LogConfigurations.add_member(:cloudwatch, Shapes::ShapeRef.new(shape: LogConfiguration, location_name: "Cloudwatch"))
|
|
316
|
+
LogConfigurations.struct_class = Types::LogConfigurations
|
|
317
|
+
|
|
299
318
|
Member.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "NetworkId"))
|
|
300
319
|
Member.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "Id"))
|
|
301
320
|
Member.add_member(:name, Shapes::ShapeRef.new(shape: NetworkMemberNameString, location_name: "Name"))
|
|
302
321
|
Member.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
|
|
303
322
|
Member.add_member(:framework_attributes, Shapes::ShapeRef.new(shape: MemberFrameworkAttributes, location_name: "FrameworkAttributes"))
|
|
323
|
+
Member.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: MemberLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
|
|
304
324
|
Member.add_member(:status, Shapes::ShapeRef.new(shape: MemberStatus, location_name: "Status"))
|
|
305
325
|
Member.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
|
|
306
326
|
Member.struct_class = Types::Member
|
|
@@ -308,6 +328,7 @@ module Aws::ManagedBlockchain
|
|
|
308
328
|
MemberConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: NetworkMemberNameString, required: true, location_name: "Name"))
|
|
309
329
|
MemberConfiguration.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
|
|
310
330
|
MemberConfiguration.add_member(:framework_configuration, Shapes::ShapeRef.new(shape: MemberFrameworkConfiguration, required: true, location_name: "FrameworkConfiguration"))
|
|
331
|
+
MemberConfiguration.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: MemberLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
|
|
311
332
|
MemberConfiguration.struct_class = Types::MemberConfiguration
|
|
312
333
|
|
|
313
334
|
MemberFabricAttributes.add_member(:admin_username, Shapes::ShapeRef.new(shape: UsernameString, location_name: "AdminUsername"))
|
|
@@ -318,12 +339,18 @@ module Aws::ManagedBlockchain
|
|
|
318
339
|
MemberFabricConfiguration.add_member(:admin_password, Shapes::ShapeRef.new(shape: PasswordString, required: true, location_name: "AdminPassword"))
|
|
319
340
|
MemberFabricConfiguration.struct_class = Types::MemberFabricConfiguration
|
|
320
341
|
|
|
342
|
+
MemberFabricLogPublishingConfiguration.add_member(:ca_logs, Shapes::ShapeRef.new(shape: LogConfigurations, location_name: "CaLogs"))
|
|
343
|
+
MemberFabricLogPublishingConfiguration.struct_class = Types::MemberFabricLogPublishingConfiguration
|
|
344
|
+
|
|
321
345
|
MemberFrameworkAttributes.add_member(:fabric, Shapes::ShapeRef.new(shape: MemberFabricAttributes, location_name: "Fabric"))
|
|
322
346
|
MemberFrameworkAttributes.struct_class = Types::MemberFrameworkAttributes
|
|
323
347
|
|
|
324
348
|
MemberFrameworkConfiguration.add_member(:fabric, Shapes::ShapeRef.new(shape: MemberFabricConfiguration, location_name: "Fabric"))
|
|
325
349
|
MemberFrameworkConfiguration.struct_class = Types::MemberFrameworkConfiguration
|
|
326
350
|
|
|
351
|
+
MemberLogPublishingConfiguration.add_member(:fabric, Shapes::ShapeRef.new(shape: MemberFabricLogPublishingConfiguration, location_name: "Fabric"))
|
|
352
|
+
MemberLogPublishingConfiguration.struct_class = Types::MemberLogPublishingConfiguration
|
|
353
|
+
|
|
327
354
|
MemberSummary.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "Id"))
|
|
328
355
|
MemberSummary.add_member(:name, Shapes::ShapeRef.new(shape: NetworkMemberNameString, location_name: "Name"))
|
|
329
356
|
MemberSummary.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
|
|
@@ -376,21 +403,30 @@ module Aws::ManagedBlockchain
|
|
|
376
403
|
Node.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceTypeString, location_name: "InstanceType"))
|
|
377
404
|
Node.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneString, location_name: "AvailabilityZone"))
|
|
378
405
|
Node.add_member(:framework_attributes, Shapes::ShapeRef.new(shape: NodeFrameworkAttributes, location_name: "FrameworkAttributes"))
|
|
406
|
+
Node.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: NodeLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
|
|
379
407
|
Node.add_member(:status, Shapes::ShapeRef.new(shape: NodeStatus, location_name: "Status"))
|
|
380
408
|
Node.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
|
|
381
409
|
Node.struct_class = Types::Node
|
|
382
410
|
|
|
383
411
|
NodeConfiguration.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceTypeString, required: true, location_name: "InstanceType"))
|
|
384
412
|
NodeConfiguration.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneString, required: true, location_name: "AvailabilityZone"))
|
|
413
|
+
NodeConfiguration.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: NodeLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
|
|
385
414
|
NodeConfiguration.struct_class = Types::NodeConfiguration
|
|
386
415
|
|
|
387
416
|
NodeFabricAttributes.add_member(:peer_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "PeerEndpoint"))
|
|
388
417
|
NodeFabricAttributes.add_member(:peer_event_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "PeerEventEndpoint"))
|
|
389
418
|
NodeFabricAttributes.struct_class = Types::NodeFabricAttributes
|
|
390
419
|
|
|
420
|
+
NodeFabricLogPublishingConfiguration.add_member(:chaincode_logs, Shapes::ShapeRef.new(shape: LogConfigurations, location_name: "ChaincodeLogs"))
|
|
421
|
+
NodeFabricLogPublishingConfiguration.add_member(:peer_logs, Shapes::ShapeRef.new(shape: LogConfigurations, location_name: "PeerLogs"))
|
|
422
|
+
NodeFabricLogPublishingConfiguration.struct_class = Types::NodeFabricLogPublishingConfiguration
|
|
423
|
+
|
|
391
424
|
NodeFrameworkAttributes.add_member(:fabric, Shapes::ShapeRef.new(shape: NodeFabricAttributes, location_name: "Fabric"))
|
|
392
425
|
NodeFrameworkAttributes.struct_class = Types::NodeFrameworkAttributes
|
|
393
426
|
|
|
427
|
+
NodeLogPublishingConfiguration.add_member(:fabric, Shapes::ShapeRef.new(shape: NodeFabricLogPublishingConfiguration, location_name: "Fabric"))
|
|
428
|
+
NodeLogPublishingConfiguration.struct_class = Types::NodeLogPublishingConfiguration
|
|
429
|
+
|
|
394
430
|
NodeSummary.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "Id"))
|
|
395
431
|
NodeSummary.add_member(:status, Shapes::ShapeRef.new(shape: NodeStatus, location_name: "Status"))
|
|
396
432
|
NodeSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationDate"))
|
|
@@ -455,6 +491,21 @@ module Aws::ManagedBlockchain
|
|
|
455
491
|
|
|
456
492
|
ThrottlingException.struct_class = Types::ThrottlingException
|
|
457
493
|
|
|
494
|
+
UpdateMemberInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
|
|
495
|
+
UpdateMemberInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "memberId"))
|
|
496
|
+
UpdateMemberInput.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: MemberLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
|
|
497
|
+
UpdateMemberInput.struct_class = Types::UpdateMemberInput
|
|
498
|
+
|
|
499
|
+
UpdateMemberOutput.struct_class = Types::UpdateMemberOutput
|
|
500
|
+
|
|
501
|
+
UpdateNodeInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
|
|
502
|
+
UpdateNodeInput.add_member(:member_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "memberId"))
|
|
503
|
+
UpdateNodeInput.add_member(:node_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "nodeId"))
|
|
504
|
+
UpdateNodeInput.add_member(:log_publishing_configuration, Shapes::ShapeRef.new(shape: NodeLogPublishingConfiguration, location_name: "LogPublishingConfiguration"))
|
|
505
|
+
UpdateNodeInput.struct_class = Types::UpdateNodeInput
|
|
506
|
+
|
|
507
|
+
UpdateNodeOutput.struct_class = Types::UpdateNodeOutput
|
|
508
|
+
|
|
458
509
|
VoteOnProposalInput.add_member(:network_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "networkId"))
|
|
459
510
|
VoteOnProposalInput.add_member(:proposal_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "proposalId"))
|
|
460
511
|
VoteOnProposalInput.add_member(:voter_member_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location_name: "VoterMemberId"))
|
|
@@ -755,6 +806,32 @@ module Aws::ManagedBlockchain
|
|
|
755
806
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
|
756
807
|
end)
|
|
757
808
|
|
|
809
|
+
api.add_operation(:update_member, Seahorse::Model::Operation.new.tap do |o|
|
|
810
|
+
o.name = "UpdateMember"
|
|
811
|
+
o.http_method = "PATCH"
|
|
812
|
+
o.http_request_uri = "/networks/{networkId}/members/{memberId}"
|
|
813
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateMemberInput)
|
|
814
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateMemberOutput)
|
|
815
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
816
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
817
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
818
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
819
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
|
820
|
+
end)
|
|
821
|
+
|
|
822
|
+
api.add_operation(:update_node, Seahorse::Model::Operation.new.tap do |o|
|
|
823
|
+
o.name = "UpdateNode"
|
|
824
|
+
o.http_method = "PATCH"
|
|
825
|
+
o.http_request_uri = "/networks/{networkId}/members/{memberId}/nodes/{nodeId}"
|
|
826
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateNodeInput)
|
|
827
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateNodeOutput)
|
|
828
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
829
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
830
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
831
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
832
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
|
833
|
+
end)
|
|
834
|
+
|
|
758
835
|
api.add_operation(:vote_on_proposal, Seahorse::Model::Operation.new.tap do |o|
|
|
759
836
|
o.name = "VoteOnProposal"
|
|
760
837
|
o.http_method = "POST"
|