aws-sdk-managedblockchain 1.7.0 → 1.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-managedblockchain.rb +7 -4
- data/lib/aws-sdk-managedblockchain/client.rb +210 -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: 217d9028518df08e93b5ed7a6e8d71b022582f5ed619a7569dd166a61f3d6995
|
4
|
+
data.tar.gz: 42e7219e53b6c8d0fb2500e6875ddae270ceddf602c515c72a6e92dbc4550e70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6230e351192d3619c6a0a18b07290a6d91ae0d5b057234c4b2d43cb39fd85dbcf51b1a85e953637fd6cf7cfa0c043a7978ad56abad0249fbe849a10c1a59baf
|
7
|
+
data.tar.gz: 27853d184c5d50ed0a6e2b899cbd3bf131e182a104e6748e08d82eb3268fec04ddf399b899fef228fdae6b6ec6ad3fcf588801a2bed1d376808e76de5b9f5dda
|
@@ -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.12.1'
|
46
49
|
|
47
50
|
end
|
@@ -24,12 +24,25 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
24
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
25
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
26
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
27
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
28
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
29
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
30
|
|
30
31
|
Aws::Plugins::GlobalConfiguration.add_identifier(:managedblockchain)
|
31
32
|
|
32
33
|
module Aws::ManagedBlockchain
|
34
|
+
# An API client for ManagedBlockchain. To construct a client, you need to configure a `:region` and `:credentials`.
|
35
|
+
#
|
36
|
+
# client = Aws::ManagedBlockchain::Client.new(
|
37
|
+
# region: region_name,
|
38
|
+
# credentials: credentials,
|
39
|
+
# # ...
|
40
|
+
# )
|
41
|
+
#
|
42
|
+
# For details on configuring region and credentials see
|
43
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
44
|
+
#
|
45
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
46
|
class Client < Seahorse::Client::Base
|
34
47
|
|
35
48
|
include Aws::ClientStubs
|
@@ -57,6 +70,7 @@ module Aws::ManagedBlockchain
|
|
57
70
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
58
71
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
59
72
|
add_plugin(Aws::Plugins::TransferEncoding)
|
73
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
60
74
|
add_plugin(Aws::Plugins::SignatureV4)
|
61
75
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
62
76
|
|
@@ -93,7 +107,7 @@ module Aws::ManagedBlockchain
|
|
93
107
|
# @option options [required, String] :region
|
94
108
|
# The AWS region to connect to. The configured `:region` is
|
95
109
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
110
|
+
# a default `:region` is searched for in the following locations:
|
97
111
|
#
|
98
112
|
# * `Aws.config[:region]`
|
99
113
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +122,12 @@ module Aws::ManagedBlockchain
|
|
108
122
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
123
|
# the background every 60 secs (default). Defaults to `false`.
|
110
124
|
#
|
125
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
126
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
127
|
+
# until there is sufficent client side capacity to retry the request.
|
128
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
129
|
+
# not retry instead of sleeping.
|
130
|
+
#
|
111
131
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
132
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
133
|
# this client.
|
@@ -132,6 +152,10 @@ module Aws::ManagedBlockchain
|
|
132
152
|
# When `true`, an attempt is made to coerce request parameters into
|
133
153
|
# the required types.
|
134
154
|
#
|
155
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
156
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
157
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
158
|
+
#
|
135
159
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
160
|
# Set to true to disable SDK automatically adding host prefix
|
137
161
|
# to default service endpoint when available.
|
@@ -139,7 +163,7 @@ module Aws::ManagedBlockchain
|
|
139
163
|
# @option options [String] :endpoint
|
140
164
|
# The client endpoint is normally constructed from the `:region`
|
141
165
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
166
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
143
167
|
#
|
144
168
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
169
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +178,7 @@ module Aws::ManagedBlockchain
|
|
154
178
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
179
|
#
|
156
180
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
181
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
182
|
#
|
159
183
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
184
|
# The log formatter.
|
@@ -166,15 +190,29 @@ module Aws::ManagedBlockchain
|
|
166
190
|
# The Logger instance to send log messages to. If this option
|
167
191
|
# is not set, logging will be disabled.
|
168
192
|
#
|
193
|
+
# @option options [Integer] :max_attempts (3)
|
194
|
+
# An integer representing the maximum number attempts that will be made for
|
195
|
+
# a single request, including the initial attempt. For example,
|
196
|
+
# setting this value to 5 will result in a request being retried up to
|
197
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
198
|
+
#
|
169
199
|
# @option options [String] :profile ("default")
|
170
200
|
# Used when loading credentials from the shared credentials file
|
171
201
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
202
|
#
|
203
|
+
# @option options [Proc] :retry_backoff
|
204
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
205
|
+
# This option is only used in the `legacy` retry mode.
|
206
|
+
#
|
173
207
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
208
|
+
# The base delay in seconds used by the default backoff function. This option
|
209
|
+
# is only used in the `legacy` retry mode.
|
175
210
|
#
|
176
211
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
212
|
+
# A delay randomiser function used by the default backoff function.
|
213
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
214
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
215
|
+
# in the `legacy` retry mode.
|
178
216
|
#
|
179
217
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
218
|
#
|
@@ -182,11 +220,30 @@ module Aws::ManagedBlockchain
|
|
182
220
|
# The maximum number of times to retry failed requests. Only
|
183
221
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
222
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
223
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
224
|
+
# endpoint discovery, and errors from expired credentials.
|
225
|
+
# This option is only used in the `legacy` retry mode.
|
187
226
|
#
|
188
227
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
228
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
229
|
+
# used by the default backoff function. This option is only used in the
|
230
|
+
# `legacy` retry mode.
|
231
|
+
#
|
232
|
+
# @option options [String] :retry_mode ("legacy")
|
233
|
+
# Specifies which retry algorithm to use. Values are:
|
234
|
+
#
|
235
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
236
|
+
# no retry mode is provided.
|
237
|
+
#
|
238
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
239
|
+
# This includes support for retry quotas, which limit the number of
|
240
|
+
# unsuccessful retries a client can make.
|
241
|
+
#
|
242
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
243
|
+
# functionality of `standard` mode along with automatic client side
|
244
|
+
# throttling. This is a provisional mode that may change behavior
|
245
|
+
# in the future.
|
246
|
+
#
|
190
247
|
#
|
191
248
|
# @option options [String] :secret_access_key
|
192
249
|
#
|
@@ -209,16 +266,15 @@ module Aws::ManagedBlockchain
|
|
209
266
|
# requests through. Formatted like 'http://proxy.com:123'.
|
210
267
|
#
|
211
268
|
# @option options [Float] :http_open_timeout (15) The number of
|
212
|
-
# seconds to wait when opening a HTTP session before
|
269
|
+
# seconds to wait when opening a HTTP session before raising a
|
213
270
|
# `Timeout::Error`.
|
214
271
|
#
|
215
272
|
# @option options [Integer] :http_read_timeout (60) The default
|
216
273
|
# 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}.
|
274
|
+
# safely be set per-request on the session.
|
219
275
|
#
|
220
276
|
# @option options [Float] :http_idle_timeout (5) The number of
|
221
|
-
# seconds a connection is allowed to sit
|
277
|
+
# seconds a connection is allowed to sit idle before it is
|
222
278
|
# considered stale. Stale connections are closed and removed
|
223
279
|
# from the pool before making a request.
|
224
280
|
#
|
@@ -227,7 +283,7 @@ module Aws::ManagedBlockchain
|
|
227
283
|
# request body. This option has no effect unless the request has
|
228
284
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
229
285
|
# disables this behaviour. This value can safely be set per
|
230
|
-
# request on the session
|
286
|
+
# request on the session.
|
231
287
|
#
|
232
288
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
233
289
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -295,6 +351,15 @@ module Aws::ManagedBlockchain
|
|
295
351
|
# admin_password: "PasswordString", # required
|
296
352
|
# },
|
297
353
|
# },
|
354
|
+
# log_publishing_configuration: {
|
355
|
+
# fabric: {
|
356
|
+
# ca_logs: {
|
357
|
+
# cloudwatch: {
|
358
|
+
# enabled: false,
|
359
|
+
# },
|
360
|
+
# },
|
361
|
+
# },
|
362
|
+
# },
|
298
363
|
# },
|
299
364
|
# })
|
300
365
|
#
|
@@ -380,6 +445,15 @@ module Aws::ManagedBlockchain
|
|
380
445
|
# admin_password: "PasswordString", # required
|
381
446
|
# },
|
382
447
|
# },
|
448
|
+
# log_publishing_configuration: {
|
449
|
+
# fabric: {
|
450
|
+
# ca_logs: {
|
451
|
+
# cloudwatch: {
|
452
|
+
# enabled: false,
|
453
|
+
# },
|
454
|
+
# },
|
455
|
+
# },
|
456
|
+
# },
|
383
457
|
# },
|
384
458
|
# })
|
385
459
|
#
|
@@ -431,6 +505,20 @@ module Aws::ManagedBlockchain
|
|
431
505
|
# node_configuration: { # required
|
432
506
|
# instance_type: "InstanceTypeString", # required
|
433
507
|
# availability_zone: "AvailabilityZoneString", # required
|
508
|
+
# log_publishing_configuration: {
|
509
|
+
# fabric: {
|
510
|
+
# chaincode_logs: {
|
511
|
+
# cloudwatch: {
|
512
|
+
# enabled: false,
|
513
|
+
# },
|
514
|
+
# },
|
515
|
+
# peer_logs: {
|
516
|
+
# cloudwatch: {
|
517
|
+
# enabled: false,
|
518
|
+
# },
|
519
|
+
# },
|
520
|
+
# },
|
521
|
+
# },
|
434
522
|
# },
|
435
523
|
# })
|
436
524
|
#
|
@@ -608,7 +696,8 @@ module Aws::ManagedBlockchain
|
|
608
696
|
# resp.member.description #=> String
|
609
697
|
# resp.member.framework_attributes.fabric.admin_username #=> String
|
610
698
|
# resp.member.framework_attributes.fabric.ca_endpoint #=> String
|
611
|
-
# resp.member.
|
699
|
+
# resp.member.log_publishing_configuration.fabric.ca_logs.cloudwatch.enabled #=> Boolean
|
700
|
+
# resp.member.status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED"
|
612
701
|
# resp.member.creation_date #=> Time
|
613
702
|
#
|
614
703
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetMember AWS API Documentation
|
@@ -692,7 +781,9 @@ module Aws::ManagedBlockchain
|
|
692
781
|
# resp.node.availability_zone #=> String
|
693
782
|
# resp.node.framework_attributes.fabric.peer_endpoint #=> String
|
694
783
|
# resp.node.framework_attributes.fabric.peer_event_endpoint #=> String
|
695
|
-
# resp.node.
|
784
|
+
# resp.node.log_publishing_configuration.fabric.chaincode_logs.cloudwatch.enabled #=> Boolean
|
785
|
+
# resp.node.log_publishing_configuration.fabric.peer_logs.cloudwatch.enabled #=> Boolean
|
786
|
+
# resp.node.status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED", "FAILED"
|
696
787
|
# resp.node.creation_date #=> Time
|
697
788
|
#
|
698
789
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNode AWS API Documentation
|
@@ -764,6 +855,8 @@ module Aws::ManagedBlockchain
|
|
764
855
|
# * {Types::ListInvitationsOutput#invitations #invitations} => Array<Types::Invitation>
|
765
856
|
# * {Types::ListInvitationsOutput#next_token #next_token} => String
|
766
857
|
#
|
858
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
859
|
+
#
|
767
860
|
# @example Request syntax with placeholder values
|
768
861
|
#
|
769
862
|
# resp = client.list_invitations({
|
@@ -826,12 +919,14 @@ module Aws::ManagedBlockchain
|
|
826
919
|
# * {Types::ListMembersOutput#members #members} => Array<Types::MemberSummary>
|
827
920
|
# * {Types::ListMembersOutput#next_token #next_token} => String
|
828
921
|
#
|
922
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
923
|
+
#
|
829
924
|
# @example Request syntax with placeholder values
|
830
925
|
#
|
831
926
|
# resp = client.list_members({
|
832
927
|
# network_id: "ResourceIdString", # required
|
833
928
|
# name: "String",
|
834
|
-
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, DELETING, DELETED
|
929
|
+
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, UPDATING, DELETING, DELETED
|
835
930
|
# is_owned: false,
|
836
931
|
# max_results: 1,
|
837
932
|
# next_token: "PaginationToken",
|
@@ -843,7 +938,7 @@ module Aws::ManagedBlockchain
|
|
843
938
|
# resp.members[0].id #=> String
|
844
939
|
# resp.members[0].name #=> String
|
845
940
|
# resp.members[0].description #=> String
|
846
|
-
# resp.members[0].status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "DELETING", "DELETED"
|
941
|
+
# resp.members[0].status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED"
|
847
942
|
# resp.members[0].creation_date #=> Time
|
848
943
|
# resp.members[0].is_owned #=> Boolean
|
849
944
|
# resp.next_token #=> String
|
@@ -883,6 +978,8 @@ module Aws::ManagedBlockchain
|
|
883
978
|
# * {Types::ListNetworksOutput#networks #networks} => Array<Types::NetworkSummary>
|
884
979
|
# * {Types::ListNetworksOutput#next_token #next_token} => String
|
885
980
|
#
|
981
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
982
|
+
#
|
886
983
|
# @example Request syntax with placeholder values
|
887
984
|
#
|
888
985
|
# resp = client.list_networks({
|
@@ -938,12 +1035,14 @@ module Aws::ManagedBlockchain
|
|
938
1035
|
# * {Types::ListNodesOutput#nodes #nodes} => Array<Types::NodeSummary>
|
939
1036
|
# * {Types::ListNodesOutput#next_token #next_token} => String
|
940
1037
|
#
|
1038
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1039
|
+
#
|
941
1040
|
# @example Request syntax with placeholder values
|
942
1041
|
#
|
943
1042
|
# resp = client.list_nodes({
|
944
1043
|
# network_id: "ResourceIdString", # required
|
945
1044
|
# member_id: "ResourceIdString", # required
|
946
|
-
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, DELETING, DELETED, FAILED
|
1045
|
+
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, UPDATING, DELETING, DELETED, FAILED
|
947
1046
|
# max_results: 1,
|
948
1047
|
# next_token: "PaginationToken",
|
949
1048
|
# })
|
@@ -952,7 +1051,7 @@ module Aws::ManagedBlockchain
|
|
952
1051
|
#
|
953
1052
|
# resp.nodes #=> Array
|
954
1053
|
# resp.nodes[0].id #=> String
|
955
|
-
# resp.nodes[0].status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "DELETING", "DELETED", "FAILED"
|
1054
|
+
# resp.nodes[0].status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED", "FAILED"
|
956
1055
|
# resp.nodes[0].creation_date #=> Time
|
957
1056
|
# resp.nodes[0].availability_zone #=> String
|
958
1057
|
# resp.nodes[0].instance_type #=> String
|
@@ -989,6 +1088,8 @@ module Aws::ManagedBlockchain
|
|
989
1088
|
# * {Types::ListProposalVotesOutput#proposal_votes #proposal_votes} => Array<Types::VoteSummary>
|
990
1089
|
# * {Types::ListProposalVotesOutput#next_token #next_token} => String
|
991
1090
|
#
|
1091
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1092
|
+
#
|
992
1093
|
# @example Request syntax with placeholder values
|
993
1094
|
#
|
994
1095
|
# resp = client.list_proposal_votes({
|
@@ -1032,6 +1133,8 @@ module Aws::ManagedBlockchain
|
|
1032
1133
|
# * {Types::ListProposalsOutput#proposals #proposals} => Array<Types::ProposalSummary>
|
1033
1134
|
# * {Types::ListProposalsOutput#next_token #next_token} => String
|
1034
1135
|
#
|
1136
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1137
|
+
#
|
1035
1138
|
# @example Request syntax with placeholder values
|
1036
1139
|
#
|
1037
1140
|
# resp = client.list_proposals({
|
@@ -1085,6 +1188,93 @@ module Aws::ManagedBlockchain
|
|
1085
1188
|
req.send_request(options)
|
1086
1189
|
end
|
1087
1190
|
|
1191
|
+
# Updates a member configuration with new parameters.
|
1192
|
+
#
|
1193
|
+
# @option params [required, String] :network_id
|
1194
|
+
# The unique ID of the Managed Blockchain network to which the member
|
1195
|
+
# belongs.
|
1196
|
+
#
|
1197
|
+
# @option params [required, String] :member_id
|
1198
|
+
# The unique ID of the member.
|
1199
|
+
#
|
1200
|
+
# @option params [Types::MemberLogPublishingConfiguration] :log_publishing_configuration
|
1201
|
+
# Configuration properties for publishing to Amazon CloudWatch Logs.
|
1202
|
+
#
|
1203
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1204
|
+
#
|
1205
|
+
# @example Request syntax with placeholder values
|
1206
|
+
#
|
1207
|
+
# resp = client.update_member({
|
1208
|
+
# network_id: "ResourceIdString", # required
|
1209
|
+
# member_id: "ResourceIdString", # required
|
1210
|
+
# log_publishing_configuration: {
|
1211
|
+
# fabric: {
|
1212
|
+
# ca_logs: {
|
1213
|
+
# cloudwatch: {
|
1214
|
+
# enabled: false,
|
1215
|
+
# },
|
1216
|
+
# },
|
1217
|
+
# },
|
1218
|
+
# },
|
1219
|
+
# })
|
1220
|
+
#
|
1221
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UpdateMember AWS API Documentation
|
1222
|
+
#
|
1223
|
+
# @overload update_member(params = {})
|
1224
|
+
# @param [Hash] params ({})
|
1225
|
+
def update_member(params = {}, options = {})
|
1226
|
+
req = build_request(:update_member, params)
|
1227
|
+
req.send_request(options)
|
1228
|
+
end
|
1229
|
+
|
1230
|
+
# Updates a node configuration with new parameters.
|
1231
|
+
#
|
1232
|
+
# @option params [required, String] :network_id
|
1233
|
+
# The unique ID of the Managed Blockchain network to which the node
|
1234
|
+
# belongs.
|
1235
|
+
#
|
1236
|
+
# @option params [required, String] :member_id
|
1237
|
+
# The unique ID of the member that owns the node.
|
1238
|
+
#
|
1239
|
+
# @option params [required, String] :node_id
|
1240
|
+
# The unique ID of the node.
|
1241
|
+
#
|
1242
|
+
# @option params [Types::NodeLogPublishingConfiguration] :log_publishing_configuration
|
1243
|
+
# Configuration properties for publishing to Amazon CloudWatch Logs.
|
1244
|
+
#
|
1245
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1246
|
+
#
|
1247
|
+
# @example Request syntax with placeholder values
|
1248
|
+
#
|
1249
|
+
# resp = client.update_node({
|
1250
|
+
# network_id: "ResourceIdString", # required
|
1251
|
+
# member_id: "ResourceIdString", # required
|
1252
|
+
# node_id: "ResourceIdString", # required
|
1253
|
+
# log_publishing_configuration: {
|
1254
|
+
# fabric: {
|
1255
|
+
# chaincode_logs: {
|
1256
|
+
# cloudwatch: {
|
1257
|
+
# enabled: false,
|
1258
|
+
# },
|
1259
|
+
# },
|
1260
|
+
# peer_logs: {
|
1261
|
+
# cloudwatch: {
|
1262
|
+
# enabled: false,
|
1263
|
+
# },
|
1264
|
+
# },
|
1265
|
+
# },
|
1266
|
+
# },
|
1267
|
+
# })
|
1268
|
+
#
|
1269
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UpdateNode AWS API Documentation
|
1270
|
+
#
|
1271
|
+
# @overload update_node(params = {})
|
1272
|
+
# @param [Hash] params ({})
|
1273
|
+
def update_node(params = {}, options = {})
|
1274
|
+
req = build_request(:update_node, params)
|
1275
|
+
req.send_request(options)
|
1276
|
+
end
|
1277
|
+
|
1088
1278
|
# Casts a vote for a specified `ProposalId` on behalf of a member. The
|
1089
1279
|
# member to vote as, specified by `VoterMemberId`, must be in the same
|
1090
1280
|
# AWS account as the principal that calls the action.
|
@@ -1134,7 +1324,7 @@ module Aws::ManagedBlockchain
|
|
1134
1324
|
params: params,
|
1135
1325
|
config: config)
|
1136
1326
|
context[:gem_name] = 'aws-sdk-managedblockchain'
|
1137
|
-
context[:gem_version] = '1.
|
1327
|
+
context[:gem_version] = '1.12.1'
|
1138
1328
|
Seahorse::Client::Request.new(handlers, context)
|
1139
1329
|
end
|
1140
1330
|
|