aws-sdk-managedblockchain 1.48.0 → 1.49.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-managedblockchain/client.rb +1 -1
- data/lib/aws-sdk-managedblockchain/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-managedblockchain.rb +1 -1
- data/sig/client.rbs +509 -0
- data/sig/errors.rbs +46 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +676 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73f52542c53d47426777bb44b8d42cf5510312e2c481b7db9f07638960abb26a
|
4
|
+
data.tar.gz: bbe18f8696a96ba4f19ce59bce9d33681e6c3584b85367a0155b14eb988738b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d8081a2fa4d3d3b065c53f77fb0f0ec0fff21674138ec15eaa316585ed7e2d84ec8142707a1d82a7417c5e93ebfe1420ed27683f00b8b1a2ee185a698964509
|
7
|
+
data.tar.gz: 7e254f9ff210f99ced127ff5ab110e939641780eb228902f558bf59caba860442d4a03ad98e956ab6154f1ada8b3ffdfb5b449fff00e29389ae9a554b6c613e2
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.49.0
|
@@ -1918,7 +1918,7 @@ module Aws::ManagedBlockchain
|
|
1918
1918
|
params: params,
|
1919
1919
|
config: config)
|
1920
1920
|
context[:gem_name] = 'aws-sdk-managedblockchain'
|
1921
|
-
context[:gem_version] = '1.
|
1921
|
+
context[:gem_version] = '1.49.0'
|
1922
1922
|
Seahorse::Client::Request.new(handlers, context)
|
1923
1923
|
end
|
1924
1924
|
|
@@ -14,6 +14,7 @@ module Aws::ManagedBlockchain
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::ManagedBlockchain::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|
data/sig/client.rbs
ADDED
@@ -0,0 +1,509 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module ManagedBlockchain
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchain/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> instance
|
72
|
+
| (?Hash[Symbol, untyped]) -> instance
|
73
|
+
|
74
|
+
|
75
|
+
interface _CreateAccessorResponseSuccess
|
76
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateAccessorOutput]
|
77
|
+
def accessor_id: () -> ::String
|
78
|
+
def billing_token: () -> ::String
|
79
|
+
def network_type: () -> ("ETHEREUM_GOERLI" | "ETHEREUM_MAINNET" | "ETHEREUM_MAINNET_AND_GOERLI" | "POLYGON_MAINNET" | "POLYGON_MUMBAI")
|
80
|
+
end
|
81
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchain/Client.html#create_accessor-instance_method
|
82
|
+
def create_accessor: (
|
83
|
+
client_request_token: ::String,
|
84
|
+
accessor_type: ("BILLING_TOKEN"),
|
85
|
+
?tags: Hash[::String, ::String],
|
86
|
+
?network_type: ("ETHEREUM_GOERLI" | "ETHEREUM_MAINNET" | "ETHEREUM_MAINNET_AND_GOERLI" | "POLYGON_MAINNET" | "POLYGON_MUMBAI")
|
87
|
+
) -> _CreateAccessorResponseSuccess
|
88
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAccessorResponseSuccess
|
89
|
+
|
90
|
+
interface _CreateMemberResponseSuccess
|
91
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateMemberOutput]
|
92
|
+
def member_id: () -> ::String
|
93
|
+
end
|
94
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchain/Client.html#create_member-instance_method
|
95
|
+
def create_member: (
|
96
|
+
client_request_token: ::String,
|
97
|
+
invitation_id: ::String,
|
98
|
+
network_id: ::String,
|
99
|
+
member_configuration: {
|
100
|
+
name: ::String,
|
101
|
+
description: ::String?,
|
102
|
+
framework_configuration: {
|
103
|
+
fabric: {
|
104
|
+
admin_username: ::String,
|
105
|
+
admin_password: ::String
|
106
|
+
}?
|
107
|
+
},
|
108
|
+
log_publishing_configuration: {
|
109
|
+
fabric: {
|
110
|
+
ca_logs: {
|
111
|
+
cloudwatch: {
|
112
|
+
enabled: bool?
|
113
|
+
}?
|
114
|
+
}?
|
115
|
+
}?
|
116
|
+
}?,
|
117
|
+
tags: Hash[::String, ::String]?,
|
118
|
+
kms_key_arn: ::String?
|
119
|
+
}
|
120
|
+
) -> _CreateMemberResponseSuccess
|
121
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMemberResponseSuccess
|
122
|
+
|
123
|
+
interface _CreateNetworkResponseSuccess
|
124
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateNetworkOutput]
|
125
|
+
def network_id: () -> ::String
|
126
|
+
def member_id: () -> ::String
|
127
|
+
end
|
128
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchain/Client.html#create_network-instance_method
|
129
|
+
def create_network: (
|
130
|
+
client_request_token: ::String,
|
131
|
+
name: ::String,
|
132
|
+
?description: ::String,
|
133
|
+
framework: ("HYPERLEDGER_FABRIC" | "ETHEREUM"),
|
134
|
+
framework_version: ::String,
|
135
|
+
?framework_configuration: {
|
136
|
+
fabric: {
|
137
|
+
edition: ("STARTER" | "STANDARD")
|
138
|
+
}?
|
139
|
+
},
|
140
|
+
voting_policy: {
|
141
|
+
approval_threshold_policy: {
|
142
|
+
threshold_percentage: ::Integer?,
|
143
|
+
proposal_duration_in_hours: ::Integer?,
|
144
|
+
threshold_comparator: ("GREATER_THAN" | "GREATER_THAN_OR_EQUAL_TO")?
|
145
|
+
}?
|
146
|
+
},
|
147
|
+
member_configuration: {
|
148
|
+
name: ::String,
|
149
|
+
description: ::String?,
|
150
|
+
framework_configuration: {
|
151
|
+
fabric: {
|
152
|
+
admin_username: ::String,
|
153
|
+
admin_password: ::String
|
154
|
+
}?
|
155
|
+
},
|
156
|
+
log_publishing_configuration: {
|
157
|
+
fabric: {
|
158
|
+
ca_logs: {
|
159
|
+
cloudwatch: {
|
160
|
+
enabled: bool?
|
161
|
+
}?
|
162
|
+
}?
|
163
|
+
}?
|
164
|
+
}?,
|
165
|
+
tags: Hash[::String, ::String]?,
|
166
|
+
kms_key_arn: ::String?
|
167
|
+
},
|
168
|
+
?tags: Hash[::String, ::String]
|
169
|
+
) -> _CreateNetworkResponseSuccess
|
170
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateNetworkResponseSuccess
|
171
|
+
|
172
|
+
interface _CreateNodeResponseSuccess
|
173
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateNodeOutput]
|
174
|
+
def node_id: () -> ::String
|
175
|
+
end
|
176
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchain/Client.html#create_node-instance_method
|
177
|
+
def create_node: (
|
178
|
+
client_request_token: ::String,
|
179
|
+
network_id: ::String,
|
180
|
+
?member_id: ::String,
|
181
|
+
node_configuration: {
|
182
|
+
instance_type: ::String,
|
183
|
+
availability_zone: ::String?,
|
184
|
+
log_publishing_configuration: {
|
185
|
+
fabric: {
|
186
|
+
chaincode_logs: {
|
187
|
+
cloudwatch: {
|
188
|
+
enabled: bool?
|
189
|
+
}?
|
190
|
+
}?,
|
191
|
+
peer_logs: {
|
192
|
+
cloudwatch: {
|
193
|
+
enabled: bool?
|
194
|
+
}?
|
195
|
+
}?
|
196
|
+
}?
|
197
|
+
}?,
|
198
|
+
state_db: ("LevelDB" | "CouchDB")?
|
199
|
+
},
|
200
|
+
?tags: Hash[::String, ::String]
|
201
|
+
) -> _CreateNodeResponseSuccess
|
202
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateNodeResponseSuccess
|
203
|
+
|
204
|
+
interface _CreateProposalResponseSuccess
|
205
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateProposalOutput]
|
206
|
+
def proposal_id: () -> ::String
|
207
|
+
end
|
208
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchain/Client.html#create_proposal-instance_method
|
209
|
+
def create_proposal: (
|
210
|
+
client_request_token: ::String,
|
211
|
+
network_id: ::String,
|
212
|
+
member_id: ::String,
|
213
|
+
actions: {
|
214
|
+
invitations: Array[
|
215
|
+
{
|
216
|
+
principal: ::String
|
217
|
+
},
|
218
|
+
]?,
|
219
|
+
removals: Array[
|
220
|
+
{
|
221
|
+
member_id: ::String
|
222
|
+
},
|
223
|
+
]?
|
224
|
+
},
|
225
|
+
?description: ::String,
|
226
|
+
?tags: Hash[::String, ::String]
|
227
|
+
) -> _CreateProposalResponseSuccess
|
228
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateProposalResponseSuccess
|
229
|
+
|
230
|
+
interface _DeleteAccessorResponseSuccess
|
231
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAccessorOutput]
|
232
|
+
end
|
233
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchain/Client.html#delete_accessor-instance_method
|
234
|
+
def delete_accessor: (
|
235
|
+
accessor_id: ::String
|
236
|
+
) -> _DeleteAccessorResponseSuccess
|
237
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAccessorResponseSuccess
|
238
|
+
|
239
|
+
interface _DeleteMemberResponseSuccess
|
240
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteMemberOutput]
|
241
|
+
end
|
242
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchain/Client.html#delete_member-instance_method
|
243
|
+
def delete_member: (
|
244
|
+
network_id: ::String,
|
245
|
+
member_id: ::String
|
246
|
+
) -> _DeleteMemberResponseSuccess
|
247
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMemberResponseSuccess
|
248
|
+
|
249
|
+
interface _DeleteNodeResponseSuccess
|
250
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteNodeOutput]
|
251
|
+
end
|
252
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchain/Client.html#delete_node-instance_method
|
253
|
+
def delete_node: (
|
254
|
+
network_id: ::String,
|
255
|
+
?member_id: ::String,
|
256
|
+
node_id: ::String
|
257
|
+
) -> _DeleteNodeResponseSuccess
|
258
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteNodeResponseSuccess
|
259
|
+
|
260
|
+
interface _GetAccessorResponseSuccess
|
261
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetAccessorOutput]
|
262
|
+
def accessor: () -> Types::Accessor
|
263
|
+
end
|
264
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchain/Client.html#get_accessor-instance_method
|
265
|
+
def get_accessor: (
|
266
|
+
accessor_id: ::String
|
267
|
+
) -> _GetAccessorResponseSuccess
|
268
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAccessorResponseSuccess
|
269
|
+
|
270
|
+
interface _GetMemberResponseSuccess
|
271
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetMemberOutput]
|
272
|
+
def member: () -> Types::Member
|
273
|
+
end
|
274
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchain/Client.html#get_member-instance_method
|
275
|
+
def get_member: (
|
276
|
+
network_id: ::String,
|
277
|
+
member_id: ::String
|
278
|
+
) -> _GetMemberResponseSuccess
|
279
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMemberResponseSuccess
|
280
|
+
|
281
|
+
interface _GetNetworkResponseSuccess
|
282
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetNetworkOutput]
|
283
|
+
def network: () -> Types::Network
|
284
|
+
end
|
285
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchain/Client.html#get_network-instance_method
|
286
|
+
def get_network: (
|
287
|
+
network_id: ::String
|
288
|
+
) -> _GetNetworkResponseSuccess
|
289
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetNetworkResponseSuccess
|
290
|
+
|
291
|
+
interface _GetNodeResponseSuccess
|
292
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetNodeOutput]
|
293
|
+
def node: () -> Types::Node
|
294
|
+
end
|
295
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchain/Client.html#get_node-instance_method
|
296
|
+
def get_node: (
|
297
|
+
network_id: ::String,
|
298
|
+
?member_id: ::String,
|
299
|
+
node_id: ::String
|
300
|
+
) -> _GetNodeResponseSuccess
|
301
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetNodeResponseSuccess
|
302
|
+
|
303
|
+
interface _GetProposalResponseSuccess
|
304
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetProposalOutput]
|
305
|
+
def proposal: () -> Types::Proposal
|
306
|
+
end
|
307
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchain/Client.html#get_proposal-instance_method
|
308
|
+
def get_proposal: (
|
309
|
+
network_id: ::String,
|
310
|
+
proposal_id: ::String
|
311
|
+
) -> _GetProposalResponseSuccess
|
312
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetProposalResponseSuccess
|
313
|
+
|
314
|
+
interface _ListAccessorsResponseSuccess
|
315
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListAccessorsOutput]
|
316
|
+
def accessors: () -> ::Array[Types::AccessorSummary]
|
317
|
+
def next_token: () -> ::String
|
318
|
+
end
|
319
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchain/Client.html#list_accessors-instance_method
|
320
|
+
def list_accessors: (
|
321
|
+
?max_results: ::Integer,
|
322
|
+
?next_token: ::String,
|
323
|
+
?network_type: ("ETHEREUM_GOERLI" | "ETHEREUM_MAINNET" | "ETHEREUM_MAINNET_AND_GOERLI" | "POLYGON_MAINNET" | "POLYGON_MUMBAI")
|
324
|
+
) -> _ListAccessorsResponseSuccess
|
325
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAccessorsResponseSuccess
|
326
|
+
|
327
|
+
interface _ListInvitationsResponseSuccess
|
328
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListInvitationsOutput]
|
329
|
+
def invitations: () -> ::Array[Types::Invitation]
|
330
|
+
def next_token: () -> ::String
|
331
|
+
end
|
332
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchain/Client.html#list_invitations-instance_method
|
333
|
+
def list_invitations: (
|
334
|
+
?max_results: ::Integer,
|
335
|
+
?next_token: ::String
|
336
|
+
) -> _ListInvitationsResponseSuccess
|
337
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInvitationsResponseSuccess
|
338
|
+
|
339
|
+
interface _ListMembersResponseSuccess
|
340
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListMembersOutput]
|
341
|
+
def members: () -> ::Array[Types::MemberSummary]
|
342
|
+
def next_token: () -> ::String
|
343
|
+
end
|
344
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchain/Client.html#list_members-instance_method
|
345
|
+
def list_members: (
|
346
|
+
network_id: ::String,
|
347
|
+
?name: ::String,
|
348
|
+
?status: ("CREATING" | "AVAILABLE" | "CREATE_FAILED" | "UPDATING" | "DELETING" | "DELETED" | "INACCESSIBLE_ENCRYPTION_KEY"),
|
349
|
+
?is_owned: bool,
|
350
|
+
?max_results: ::Integer,
|
351
|
+
?next_token: ::String
|
352
|
+
) -> _ListMembersResponseSuccess
|
353
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMembersResponseSuccess
|
354
|
+
|
355
|
+
interface _ListNetworksResponseSuccess
|
356
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListNetworksOutput]
|
357
|
+
def networks: () -> ::Array[Types::NetworkSummary]
|
358
|
+
def next_token: () -> ::String
|
359
|
+
end
|
360
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchain/Client.html#list_networks-instance_method
|
361
|
+
def list_networks: (
|
362
|
+
?name: ::String,
|
363
|
+
?framework: ("HYPERLEDGER_FABRIC" | "ETHEREUM"),
|
364
|
+
?status: ("CREATING" | "AVAILABLE" | "CREATE_FAILED" | "DELETING" | "DELETED"),
|
365
|
+
?max_results: ::Integer,
|
366
|
+
?next_token: ::String
|
367
|
+
) -> _ListNetworksResponseSuccess
|
368
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNetworksResponseSuccess
|
369
|
+
|
370
|
+
interface _ListNodesResponseSuccess
|
371
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListNodesOutput]
|
372
|
+
def nodes: () -> ::Array[Types::NodeSummary]
|
373
|
+
def next_token: () -> ::String
|
374
|
+
end
|
375
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchain/Client.html#list_nodes-instance_method
|
376
|
+
def list_nodes: (
|
377
|
+
network_id: ::String,
|
378
|
+
?member_id: ::String,
|
379
|
+
?status: ("CREATING" | "AVAILABLE" | "UNHEALTHY" | "CREATE_FAILED" | "UPDATING" | "DELETING" | "DELETED" | "FAILED" | "INACCESSIBLE_ENCRYPTION_KEY"),
|
380
|
+
?max_results: ::Integer,
|
381
|
+
?next_token: ::String
|
382
|
+
) -> _ListNodesResponseSuccess
|
383
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNodesResponseSuccess
|
384
|
+
|
385
|
+
interface _ListProposalVotesResponseSuccess
|
386
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListProposalVotesOutput]
|
387
|
+
def proposal_votes: () -> ::Array[Types::VoteSummary]
|
388
|
+
def next_token: () -> ::String
|
389
|
+
end
|
390
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchain/Client.html#list_proposal_votes-instance_method
|
391
|
+
def list_proposal_votes: (
|
392
|
+
network_id: ::String,
|
393
|
+
proposal_id: ::String,
|
394
|
+
?max_results: ::Integer,
|
395
|
+
?next_token: ::String
|
396
|
+
) -> _ListProposalVotesResponseSuccess
|
397
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProposalVotesResponseSuccess
|
398
|
+
|
399
|
+
interface _ListProposalsResponseSuccess
|
400
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListProposalsOutput]
|
401
|
+
def proposals: () -> ::Array[Types::ProposalSummary]
|
402
|
+
def next_token: () -> ::String
|
403
|
+
end
|
404
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchain/Client.html#list_proposals-instance_method
|
405
|
+
def list_proposals: (
|
406
|
+
network_id: ::String,
|
407
|
+
?max_results: ::Integer,
|
408
|
+
?next_token: ::String
|
409
|
+
) -> _ListProposalsResponseSuccess
|
410
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProposalsResponseSuccess
|
411
|
+
|
412
|
+
interface _ListTagsForResourceResponseSuccess
|
413
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
414
|
+
def tags: () -> ::Hash[::String, ::String]
|
415
|
+
end
|
416
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchain/Client.html#list_tags_for_resource-instance_method
|
417
|
+
def list_tags_for_resource: (
|
418
|
+
resource_arn: ::String
|
419
|
+
) -> _ListTagsForResourceResponseSuccess
|
420
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
421
|
+
|
422
|
+
interface _RejectInvitationResponseSuccess
|
423
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::RejectInvitationOutput]
|
424
|
+
end
|
425
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchain/Client.html#reject_invitation-instance_method
|
426
|
+
def reject_invitation: (
|
427
|
+
invitation_id: ::String
|
428
|
+
) -> _RejectInvitationResponseSuccess
|
429
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RejectInvitationResponseSuccess
|
430
|
+
|
431
|
+
interface _TagResourceResponseSuccess
|
432
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
433
|
+
end
|
434
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchain/Client.html#tag_resource-instance_method
|
435
|
+
def tag_resource: (
|
436
|
+
resource_arn: ::String,
|
437
|
+
tags: Hash[::String, ::String]
|
438
|
+
) -> _TagResourceResponseSuccess
|
439
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
440
|
+
|
441
|
+
interface _UntagResourceResponseSuccess
|
442
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
443
|
+
end
|
444
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchain/Client.html#untag_resource-instance_method
|
445
|
+
def untag_resource: (
|
446
|
+
resource_arn: ::String,
|
447
|
+
tag_keys: Array[::String]
|
448
|
+
) -> _UntagResourceResponseSuccess
|
449
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
450
|
+
|
451
|
+
interface _UpdateMemberResponseSuccess
|
452
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateMemberOutput]
|
453
|
+
end
|
454
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchain/Client.html#update_member-instance_method
|
455
|
+
def update_member: (
|
456
|
+
network_id: ::String,
|
457
|
+
member_id: ::String,
|
458
|
+
?log_publishing_configuration: {
|
459
|
+
fabric: {
|
460
|
+
ca_logs: {
|
461
|
+
cloudwatch: {
|
462
|
+
enabled: bool?
|
463
|
+
}?
|
464
|
+
}?
|
465
|
+
}?
|
466
|
+
}
|
467
|
+
) -> _UpdateMemberResponseSuccess
|
468
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateMemberResponseSuccess
|
469
|
+
|
470
|
+
interface _UpdateNodeResponseSuccess
|
471
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateNodeOutput]
|
472
|
+
end
|
473
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchain/Client.html#update_node-instance_method
|
474
|
+
def update_node: (
|
475
|
+
network_id: ::String,
|
476
|
+
?member_id: ::String,
|
477
|
+
node_id: ::String,
|
478
|
+
?log_publishing_configuration: {
|
479
|
+
fabric: {
|
480
|
+
chaincode_logs: {
|
481
|
+
cloudwatch: {
|
482
|
+
enabled: bool?
|
483
|
+
}?
|
484
|
+
}?,
|
485
|
+
peer_logs: {
|
486
|
+
cloudwatch: {
|
487
|
+
enabled: bool?
|
488
|
+
}?
|
489
|
+
}?
|
490
|
+
}?
|
491
|
+
}
|
492
|
+
) -> _UpdateNodeResponseSuccess
|
493
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateNodeResponseSuccess
|
494
|
+
|
495
|
+
interface _VoteOnProposalResponseSuccess
|
496
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::VoteOnProposalOutput]
|
497
|
+
end
|
498
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchain/Client.html#vote_on_proposal-instance_method
|
499
|
+
def vote_on_proposal: (
|
500
|
+
network_id: ::String,
|
501
|
+
proposal_id: ::String,
|
502
|
+
voter_member_id: ::String,
|
503
|
+
vote: ("YES" | "NO")
|
504
|
+
) -> _VoteOnProposalResponseSuccess
|
505
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _VoteOnProposalResponseSuccess
|
506
|
+
end
|
507
|
+
end
|
508
|
+
end
|
509
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module ManagedBlockchain
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
17
|
+
class IllegalActionException < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
end
|
20
|
+
class InternalServiceErrorException < ::Aws::Errors::ServiceError
|
21
|
+
end
|
22
|
+
class InvalidRequestException < ::Aws::Errors::ServiceError
|
23
|
+
def message: () -> ::String
|
24
|
+
end
|
25
|
+
class ResourceAlreadyExistsException < ::Aws::Errors::ServiceError
|
26
|
+
def message: () -> ::String
|
27
|
+
end
|
28
|
+
class ResourceLimitExceededException < ::Aws::Errors::ServiceError
|
29
|
+
def message: () -> ::String
|
30
|
+
end
|
31
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
32
|
+
def message: () -> ::String
|
33
|
+
def resource_name: () -> ::String
|
34
|
+
end
|
35
|
+
class ResourceNotReadyException < ::Aws::Errors::ServiceError
|
36
|
+
def message: () -> ::String
|
37
|
+
end
|
38
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
39
|
+
end
|
40
|
+
class TooManyTagsException < ::Aws::Errors::ServiceError
|
41
|
+
def message: () -> ::String
|
42
|
+
def resource_name: () -> ::String
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|