aws-sdk-managedblockchain 1.6.0 → 1.11.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 +5 -5
- data/lib/aws-sdk-managedblockchain.rb +7 -4
- data/lib/aws-sdk-managedblockchain/client.rb +208 -20
- data/lib/aws-sdk-managedblockchain/client_api.rb +81 -0
- data/lib/aws-sdk-managedblockchain/errors.rb +59 -4
- data/lib/aws-sdk-managedblockchain/resource.rb +1 -0
- data/lib/aws-sdk-managedblockchain/types.rb +378 -7
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 40e29e9021eccd842b85d67430643cfd42377f322742316e0369ba4cf7e697bc
|
4
|
+
data.tar.gz: a4379775b0e2dcf7f72a55e2280aeb97f25e001ef48086ce4545b490dae50beb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d45e0303cb412365c981c16a9ea7f27f7964ae08e536216debd988661a0a288a5c8c3ea2c1d2c8f11303e0e9d1466f87cbf249e9edf4ff21403c3ea21a6e8944
|
7
|
+
data.tar.gz: d2336e1483755d898b9de65260585290485d1fb2eb370fc67e50e372c997642c09e40d5342365e4741364edcce7e0e645bad81e68bf7409a9d8d82e427774cb5
|
@@ -24,17 +24,20 @@ require_relative 'aws-sdk-managedblockchain/customizations'
|
|
24
24
|
# methods each accept a hash of request parameters and return a response
|
25
25
|
# structure.
|
26
26
|
#
|
27
|
+
# managed_blockchain = Aws::ManagedBlockchain::Client.new
|
28
|
+
# resp = managed_blockchain.create_member(params)
|
29
|
+
#
|
27
30
|
# See {Client} for more information.
|
28
31
|
#
|
29
32
|
# # Errors
|
30
33
|
#
|
31
|
-
# Errors returned from Amazon Managed Blockchain
|
32
|
-
# extend {Errors::ServiceError}.
|
34
|
+
# Errors returned from Amazon Managed Blockchain are defined in the
|
35
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
33
36
|
#
|
34
37
|
# begin
|
35
38
|
# # do stuff
|
36
39
|
# rescue Aws::ManagedBlockchain::Errors::ServiceError
|
37
|
-
# # rescues all
|
40
|
+
# # rescues all Amazon Managed Blockchain API errors
|
38
41
|
# end
|
39
42
|
#
|
40
43
|
# See {Errors} for more information.
|
@@ -42,6 +45,6 @@ require_relative 'aws-sdk-managedblockchain/customizations'
|
|
42
45
|
# @service
|
43
46
|
module Aws::ManagedBlockchain
|
44
47
|
|
45
|
-
GEM_VERSION = '1.
|
48
|
+
GEM_VERSION = '1.11.0'
|
46
49
|
|
47
50
|
end
|
@@ -30,6 +30,18 @@ require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
|
30
30
|
Aws::Plugins::GlobalConfiguration.add_identifier(:managedblockchain)
|
31
31
|
|
32
32
|
module Aws::ManagedBlockchain
|
33
|
+
# An API client for ManagedBlockchain. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
|
+
#
|
35
|
+
# client = Aws::ManagedBlockchain::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
|
+
#
|
41
|
+
# For details on configuring region and credentials see
|
42
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
43
|
+
#
|
44
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
45
|
class Client < Seahorse::Client::Base
|
34
46
|
|
35
47
|
include Aws::ClientStubs
|
@@ -93,7 +105,7 @@ module Aws::ManagedBlockchain
|
|
93
105
|
# @option options [required, String] :region
|
94
106
|
# The AWS region to connect to. The configured `:region` is
|
95
107
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
97
109
|
#
|
98
110
|
# * `Aws.config[:region]`
|
99
111
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +120,12 @@ module Aws::ManagedBlockchain
|
|
108
120
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
121
|
# the background every 60 secs (default). Defaults to `false`.
|
110
122
|
#
|
123
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
124
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
125
|
+
# until there is sufficent client side capacity to retry the request.
|
126
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
127
|
+
# not retry instead of sleeping.
|
128
|
+
#
|
111
129
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
130
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
131
|
# this client.
|
@@ -132,6 +150,10 @@ module Aws::ManagedBlockchain
|
|
132
150
|
# When `true`, an attempt is made to coerce request parameters into
|
133
151
|
# the required types.
|
134
152
|
#
|
153
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
154
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
155
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
156
|
+
#
|
135
157
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
158
|
# Set to true to disable SDK automatically adding host prefix
|
137
159
|
# to default service endpoint when available.
|
@@ -139,7 +161,7 @@ module Aws::ManagedBlockchain
|
|
139
161
|
# @option options [String] :endpoint
|
140
162
|
# The client endpoint is normally constructed from the `:region`
|
141
163
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
143
165
|
#
|
144
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +176,7 @@ module Aws::ManagedBlockchain
|
|
154
176
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
177
|
#
|
156
178
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
179
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
180
|
#
|
159
181
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
182
|
# The log formatter.
|
@@ -166,15 +188,29 @@ module Aws::ManagedBlockchain
|
|
166
188
|
# The Logger instance to send log messages to. If this option
|
167
189
|
# is not set, logging will be disabled.
|
168
190
|
#
|
191
|
+
# @option options [Integer] :max_attempts (3)
|
192
|
+
# An integer representing the maximum number attempts that will be made for
|
193
|
+
# a single request, including the initial attempt. For example,
|
194
|
+
# setting this value to 5 will result in a request being retried up to
|
195
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
196
|
+
#
|
169
197
|
# @option options [String] :profile ("default")
|
170
198
|
# Used when loading credentials from the shared credentials file
|
171
199
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
200
|
#
|
201
|
+
# @option options [Proc] :retry_backoff
|
202
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
203
|
+
# This option is only used in the `legacy` retry mode.
|
204
|
+
#
|
173
205
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
206
|
+
# The base delay in seconds used by the default backoff function. This option
|
207
|
+
# is only used in the `legacy` retry mode.
|
175
208
|
#
|
176
209
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
210
|
+
# A delay randomiser function used by the default backoff function.
|
211
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
212
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
213
|
+
# in the `legacy` retry mode.
|
178
214
|
#
|
179
215
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
216
|
#
|
@@ -182,11 +218,30 @@ module Aws::ManagedBlockchain
|
|
182
218
|
# The maximum number of times to retry failed requests. Only
|
183
219
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
220
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
221
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
222
|
+
# endpoint discovery, and errors from expired credentials.
|
223
|
+
# This option is only used in the `legacy` retry mode.
|
187
224
|
#
|
188
225
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
226
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
227
|
+
# used by the default backoff function. This option is only used in the
|
228
|
+
# `legacy` retry mode.
|
229
|
+
#
|
230
|
+
# @option options [String] :retry_mode ("legacy")
|
231
|
+
# Specifies which retry algorithm to use. Values are:
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
190
245
|
#
|
191
246
|
# @option options [String] :secret_access_key
|
192
247
|
#
|
@@ -209,16 +264,15 @@ module Aws::ManagedBlockchain
|
|
209
264
|
# requests through. Formatted like 'http://proxy.com:123'.
|
210
265
|
#
|
211
266
|
# @option options [Float] :http_open_timeout (15) The number of
|
212
|
-
# seconds to wait when opening a HTTP session before
|
267
|
+
# seconds to wait when opening a HTTP session before raising a
|
213
268
|
# `Timeout::Error`.
|
214
269
|
#
|
215
270
|
# @option options [Integer] :http_read_timeout (60) The default
|
216
271
|
# number of seconds to wait for response data. This value can
|
217
|
-
# safely be set
|
218
|
-
# per-request on the session yeidled by {#session_for}.
|
272
|
+
# safely be set per-request on the session.
|
219
273
|
#
|
220
274
|
# @option options [Float] :http_idle_timeout (5) The number of
|
221
|
-
# seconds a connection is allowed to sit
|
275
|
+
# seconds a connection is allowed to sit idle before it is
|
222
276
|
# considered stale. Stale connections are closed and removed
|
223
277
|
# from the pool before making a request.
|
224
278
|
#
|
@@ -227,7 +281,7 @@ module Aws::ManagedBlockchain
|
|
227
281
|
# request body. This option has no effect unless the request has
|
228
282
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
229
283
|
# disables this behaviour. This value can safely be set per
|
230
|
-
# request on the session
|
284
|
+
# request on the session.
|
231
285
|
#
|
232
286
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
233
287
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -295,6 +349,15 @@ module Aws::ManagedBlockchain
|
|
295
349
|
# admin_password: "PasswordString", # required
|
296
350
|
# },
|
297
351
|
# },
|
352
|
+
# log_publishing_configuration: {
|
353
|
+
# fabric: {
|
354
|
+
# ca_logs: {
|
355
|
+
# cloudwatch: {
|
356
|
+
# enabled: false,
|
357
|
+
# },
|
358
|
+
# },
|
359
|
+
# },
|
360
|
+
# },
|
298
361
|
# },
|
299
362
|
# })
|
300
363
|
#
|
@@ -380,6 +443,15 @@ module Aws::ManagedBlockchain
|
|
380
443
|
# admin_password: "PasswordString", # required
|
381
444
|
# },
|
382
445
|
# },
|
446
|
+
# log_publishing_configuration: {
|
447
|
+
# fabric: {
|
448
|
+
# ca_logs: {
|
449
|
+
# cloudwatch: {
|
450
|
+
# enabled: false,
|
451
|
+
# },
|
452
|
+
# },
|
453
|
+
# },
|
454
|
+
# },
|
383
455
|
# },
|
384
456
|
# })
|
385
457
|
#
|
@@ -431,6 +503,20 @@ module Aws::ManagedBlockchain
|
|
431
503
|
# node_configuration: { # required
|
432
504
|
# instance_type: "InstanceTypeString", # required
|
433
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
|
+
# },
|
434
520
|
# },
|
435
521
|
# })
|
436
522
|
#
|
@@ -608,7 +694,8 @@ module Aws::ManagedBlockchain
|
|
608
694
|
# resp.member.description #=> String
|
609
695
|
# resp.member.framework_attributes.fabric.admin_username #=> String
|
610
696
|
# resp.member.framework_attributes.fabric.ca_endpoint #=> String
|
611
|
-
# 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"
|
612
699
|
# resp.member.creation_date #=> Time
|
613
700
|
#
|
614
701
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetMember AWS API Documentation
|
@@ -692,7 +779,9 @@ module Aws::ManagedBlockchain
|
|
692
779
|
# resp.node.availability_zone #=> String
|
693
780
|
# resp.node.framework_attributes.fabric.peer_endpoint #=> String
|
694
781
|
# resp.node.framework_attributes.fabric.peer_event_endpoint #=> String
|
695
|
-
# 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"
|
696
785
|
# resp.node.creation_date #=> Time
|
697
786
|
#
|
698
787
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNode AWS API Documentation
|
@@ -764,6 +853,8 @@ module Aws::ManagedBlockchain
|
|
764
853
|
# * {Types::ListInvitationsOutput#invitations #invitations} => Array<Types::Invitation>
|
765
854
|
# * {Types::ListInvitationsOutput#next_token #next_token} => String
|
766
855
|
#
|
856
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
857
|
+
#
|
767
858
|
# @example Request syntax with placeholder values
|
768
859
|
#
|
769
860
|
# resp = client.list_invitations({
|
@@ -826,12 +917,14 @@ module Aws::ManagedBlockchain
|
|
826
917
|
# * {Types::ListMembersOutput#members #members} => Array<Types::MemberSummary>
|
827
918
|
# * {Types::ListMembersOutput#next_token #next_token} => String
|
828
919
|
#
|
920
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
921
|
+
#
|
829
922
|
# @example Request syntax with placeholder values
|
830
923
|
#
|
831
924
|
# resp = client.list_members({
|
832
925
|
# network_id: "ResourceIdString", # required
|
833
926
|
# name: "String",
|
834
|
-
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, DELETING, DELETED
|
927
|
+
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, UPDATING, DELETING, DELETED
|
835
928
|
# is_owned: false,
|
836
929
|
# max_results: 1,
|
837
930
|
# next_token: "PaginationToken",
|
@@ -843,7 +936,7 @@ module Aws::ManagedBlockchain
|
|
843
936
|
# resp.members[0].id #=> String
|
844
937
|
# resp.members[0].name #=> String
|
845
938
|
# resp.members[0].description #=> String
|
846
|
-
# 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"
|
847
940
|
# resp.members[0].creation_date #=> Time
|
848
941
|
# resp.members[0].is_owned #=> Boolean
|
849
942
|
# resp.next_token #=> String
|
@@ -883,6 +976,8 @@ module Aws::ManagedBlockchain
|
|
883
976
|
# * {Types::ListNetworksOutput#networks #networks} => Array<Types::NetworkSummary>
|
884
977
|
# * {Types::ListNetworksOutput#next_token #next_token} => String
|
885
978
|
#
|
979
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
980
|
+
#
|
886
981
|
# @example Request syntax with placeholder values
|
887
982
|
#
|
888
983
|
# resp = client.list_networks({
|
@@ -938,12 +1033,14 @@ module Aws::ManagedBlockchain
|
|
938
1033
|
# * {Types::ListNodesOutput#nodes #nodes} => Array<Types::NodeSummary>
|
939
1034
|
# * {Types::ListNodesOutput#next_token #next_token} => String
|
940
1035
|
#
|
1036
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1037
|
+
#
|
941
1038
|
# @example Request syntax with placeholder values
|
942
1039
|
#
|
943
1040
|
# resp = client.list_nodes({
|
944
1041
|
# network_id: "ResourceIdString", # required
|
945
1042
|
# member_id: "ResourceIdString", # required
|
946
|
-
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, DELETING, DELETED, FAILED
|
1043
|
+
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, UPDATING, DELETING, DELETED, FAILED
|
947
1044
|
# max_results: 1,
|
948
1045
|
# next_token: "PaginationToken",
|
949
1046
|
# })
|
@@ -952,7 +1049,7 @@ module Aws::ManagedBlockchain
|
|
952
1049
|
#
|
953
1050
|
# resp.nodes #=> Array
|
954
1051
|
# resp.nodes[0].id #=> String
|
955
|
-
# 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"
|
956
1053
|
# resp.nodes[0].creation_date #=> Time
|
957
1054
|
# resp.nodes[0].availability_zone #=> String
|
958
1055
|
# resp.nodes[0].instance_type #=> String
|
@@ -989,6 +1086,8 @@ module Aws::ManagedBlockchain
|
|
989
1086
|
# * {Types::ListProposalVotesOutput#proposal_votes #proposal_votes} => Array<Types::VoteSummary>
|
990
1087
|
# * {Types::ListProposalVotesOutput#next_token #next_token} => String
|
991
1088
|
#
|
1089
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1090
|
+
#
|
992
1091
|
# @example Request syntax with placeholder values
|
993
1092
|
#
|
994
1093
|
# resp = client.list_proposal_votes({
|
@@ -1032,6 +1131,8 @@ module Aws::ManagedBlockchain
|
|
1032
1131
|
# * {Types::ListProposalsOutput#proposals #proposals} => Array<Types::ProposalSummary>
|
1033
1132
|
# * {Types::ListProposalsOutput#next_token #next_token} => String
|
1034
1133
|
#
|
1134
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1135
|
+
#
|
1035
1136
|
# @example Request syntax with placeholder values
|
1036
1137
|
#
|
1037
1138
|
# resp = client.list_proposals({
|
@@ -1085,6 +1186,93 @@ module Aws::ManagedBlockchain
|
|
1085
1186
|
req.send_request(options)
|
1086
1187
|
end
|
1087
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
|
+
|
1088
1276
|
# Casts a vote for a specified `ProposalId` on behalf of a member. The
|
1089
1277
|
# member to vote as, specified by `VoterMemberId`, must be in the same
|
1090
1278
|
# AWS account as the principal that calls the action.
|
@@ -1134,7 +1322,7 @@ module Aws::ManagedBlockchain
|
|
1134
1322
|
params: params,
|
1135
1323
|
config: config)
|
1136
1324
|
context[:gem_name] = 'aws-sdk-managedblockchain'
|
1137
|
-
context[:gem_version] = '1.
|
1325
|
+
context[:gem_version] = '1.11.0'
|
1138
1326
|
Seahorse::Client::Request.new(handlers, context)
|
1139
1327
|
end
|
1140
1328
|
|