aws-sdk-managedblockchain 1.17.0 → 1.22.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 +123 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-managedblockchain.rb +2 -2
- data/lib/aws-sdk-managedblockchain/client.rb +345 -40
- data/lib/aws-sdk-managedblockchain/client_api.rb +127 -12
- data/lib/aws-sdk-managedblockchain/errors.rb +32 -1
- data/lib/aws-sdk-managedblockchain/resource.rb +1 -1
- data/lib/aws-sdk-managedblockchain/types.rb +580 -56
- metadata +8 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 374786f7f86b66f4fcce73dd5349c7355509d97f4d543b3b5b404cd497f6948d
|
4
|
+
data.tar.gz: da56ae3be5a5d0b5b11acc074edeb5cb76d37625ea106d71facbb92acfec4bd2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 788915166a2bfbc799db1b94ef498bcd76b047ec7438bca4a64c00682332a3a35df80b9858854c9e7b273c83f758545369125f722a30c12bc084f4cf42183199
|
7
|
+
data.tar.gz: 188af0a3167dc8efbb7afe89d9414e2d8ed15a7f5f857a71a2c5d8bc6798dad645d688b6efec07b45d213694d4d6e66fc221995a8cabea9f67825f54f99f1ad4
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,123 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.22.0 (2021-03-10)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.21.0 (2021-03-02)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Updates for Ethereum general availability release.
|
13
|
+
|
14
|
+
1.20.0 (2021-02-02)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.19.0 (2021-01-28)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - This release supports tagging on Amazon Managed Blockchain resources.
|
23
|
+
|
24
|
+
1.18.0 (2020-12-21)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Added support for provisioning and managing public Ethereum nodes on main and test networks supporting secure access using Sigv4 and standard open-source Ethereum APIs.
|
28
|
+
|
29
|
+
1.17.0 (2020-09-30)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
33
|
+
|
34
|
+
1.16.0 (2020-09-15)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
38
|
+
|
39
|
+
1.15.0 (2020-09-14)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - Introducing support for Hyperledger Fabric 1.4. When using framework version 1.4, the state database may optionally be specified when creating peer nodes (defaults to CouchDB).
|
43
|
+
|
44
|
+
1.14.0 (2020-08-25)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
48
|
+
|
49
|
+
1.13.0 (2020-06-23)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
53
|
+
|
54
|
+
1.12.1 (2020-06-11)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
58
|
+
|
59
|
+
1.12.0 (2020-06-10)
|
60
|
+
------------------
|
61
|
+
|
62
|
+
* Issue - This version has been yanked. (#2327).
|
63
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
64
|
+
|
65
|
+
1.11.0 (2020-05-28)
|
66
|
+
------------------
|
67
|
+
|
68
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
69
|
+
|
70
|
+
1.10.0 (2020-05-07)
|
71
|
+
------------------
|
72
|
+
|
73
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
74
|
+
|
75
|
+
1.9.0 (2020-03-25)
|
76
|
+
------------------
|
77
|
+
|
78
|
+
* Feature - Amazon Managed Blockchain now has support to publish Hyperledger Fabric peer node, chaincode, and certificate authority (CA) logs to Amazon CloudWatch Logs.
|
79
|
+
|
80
|
+
1.8.0 (2020-03-09)
|
81
|
+
------------------
|
82
|
+
|
83
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
84
|
+
|
85
|
+
1.7.0 (2019-10-23)
|
86
|
+
------------------
|
87
|
+
|
88
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
89
|
+
|
90
|
+
1.6.0 (2019-07-25)
|
91
|
+
------------------
|
92
|
+
|
93
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
94
|
+
|
95
|
+
1.5.0 (2019-07-01)
|
96
|
+
------------------
|
97
|
+
|
98
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
99
|
+
|
100
|
+
1.4.0 (2019-06-17)
|
101
|
+
------------------
|
102
|
+
|
103
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
104
|
+
|
105
|
+
1.3.0 (2019-05-21)
|
106
|
+
------------------
|
107
|
+
|
108
|
+
* Feature - API update.
|
109
|
+
|
110
|
+
1.2.0 (2019-05-15)
|
111
|
+
------------------
|
112
|
+
|
113
|
+
* Feature - API update.
|
114
|
+
|
115
|
+
1.1.0 (2019-05-14)
|
116
|
+
------------------
|
117
|
+
|
118
|
+
* Feature - API update.
|
119
|
+
|
120
|
+
1.0.0 (2019-04-30)
|
121
|
+
------------------
|
122
|
+
|
123
|
+
* Feature - Initial release of `aws-sdk-managedblockchain`.
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
178
|
+
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
180
|
+
|
181
|
+
To apply the Apache License to your work, attach the following
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
+
replaced with your own identifying information. (Don't include
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
185
|
+
comment syntax for the file format. We also recommend that a
|
186
|
+
file or class name and description of purpose be included on the
|
187
|
+
same "printed page" as the copyright notice for easier
|
188
|
+
identification within third-party archives.
|
189
|
+
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
191
|
+
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
+
you may not use this file except in compliance with the License.
|
194
|
+
You may obtain a copy of the License at
|
195
|
+
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
+
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
+
See the License for the specific language governing permissions and
|
202
|
+
limitations under the License.
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.22.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-managedblockchain/customizations'
|
|
48
48
|
# @!group service
|
49
49
|
module Aws::ManagedBlockchain
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.22.0'
|
52
52
|
|
53
53
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -329,6 +329,8 @@ module Aws::ManagedBlockchain
|
|
329
329
|
|
330
330
|
# Creates a member within a Managed Blockchain network.
|
331
331
|
#
|
332
|
+
# Applies only to Hyperledger Fabric.
|
333
|
+
#
|
332
334
|
# @option params [required, String] :client_request_token
|
333
335
|
# A unique, case-sensitive identifier that you provide to ensure the
|
334
336
|
# idempotency of the operation. An idempotent operation completes no
|
@@ -377,6 +379,9 @@ module Aws::ManagedBlockchain
|
|
377
379
|
# },
|
378
380
|
# },
|
379
381
|
# },
|
382
|
+
# tags: {
|
383
|
+
# "TagKey" => "TagValue",
|
384
|
+
# },
|
380
385
|
# },
|
381
386
|
# })
|
382
387
|
#
|
@@ -395,6 +400,8 @@ module Aws::ManagedBlockchain
|
|
395
400
|
|
396
401
|
# Creates a new blockchain network using Amazon Managed Blockchain.
|
397
402
|
#
|
403
|
+
# Applies only to Hyperledger Fabric.
|
404
|
+
#
|
398
405
|
# @option params [required, String] :client_request_token
|
399
406
|
# A unique, case-sensitive identifier that you provide to ensure the
|
400
407
|
# idempotency of the operation. An idempotent operation completes no
|
@@ -428,6 +435,24 @@ module Aws::ManagedBlockchain
|
|
428
435
|
# @option params [required, Types::MemberConfiguration] :member_configuration
|
429
436
|
# Configuration properties for the first member within the network.
|
430
437
|
#
|
438
|
+
# @option params [Hash<String,String>] :tags
|
439
|
+
# Tags to assign to the network. Each tag consists of a key and optional
|
440
|
+
# value.
|
441
|
+
#
|
442
|
+
# When specifying tags during creation, you can specify multiple
|
443
|
+
# key-value pairs in a single request, with an overall maximum of 50
|
444
|
+
# tags added to each resource.
|
445
|
+
#
|
446
|
+
# For more information about tags, see [Tagging Resources][1] in the
|
447
|
+
# *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
|
448
|
+
# Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
|
449
|
+
# Developer Guide*.
|
450
|
+
#
|
451
|
+
#
|
452
|
+
#
|
453
|
+
# [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
|
454
|
+
# [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
|
455
|
+
#
|
431
456
|
# @return [Types::CreateNetworkOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
432
457
|
#
|
433
458
|
# * {Types::CreateNetworkOutput#network_id #network_id} => String
|
@@ -439,7 +464,7 @@ module Aws::ManagedBlockchain
|
|
439
464
|
# client_request_token: "ClientRequestTokenString", # required
|
440
465
|
# name: "NameString", # required
|
441
466
|
# description: "DescriptionString",
|
442
|
-
# framework: "HYPERLEDGER_FABRIC", # required, accepts HYPERLEDGER_FABRIC
|
467
|
+
# framework: "HYPERLEDGER_FABRIC", # required, accepts HYPERLEDGER_FABRIC, ETHEREUM
|
443
468
|
# framework_version: "FrameworkVersionString", # required
|
444
469
|
# framework_configuration: {
|
445
470
|
# fabric: {
|
@@ -471,6 +496,12 @@ module Aws::ManagedBlockchain
|
|
471
496
|
# },
|
472
497
|
# },
|
473
498
|
# },
|
499
|
+
# tags: {
|
500
|
+
# "TagKey" => "TagValue",
|
501
|
+
# },
|
502
|
+
# },
|
503
|
+
# tags: {
|
504
|
+
# "TagKey" => "TagValue",
|
474
505
|
# },
|
475
506
|
# })
|
476
507
|
#
|
@@ -488,7 +519,9 @@ module Aws::ManagedBlockchain
|
|
488
519
|
req.send_request(options)
|
489
520
|
end
|
490
521
|
|
491
|
-
# Creates a
|
522
|
+
# Creates a node on the specified blockchain network.
|
523
|
+
#
|
524
|
+
# Applies to Hyperledger Fabric and Ethereum.
|
492
525
|
#
|
493
526
|
# @option params [required, String] :client_request_token
|
494
527
|
# A unique, case-sensitive identifier that you provide to ensure the
|
@@ -501,14 +534,42 @@ module Aws::ManagedBlockchain
|
|
501
534
|
# not need to pass this option.**
|
502
535
|
#
|
503
536
|
# @option params [required, String] :network_id
|
504
|
-
# The unique identifier of the network
|
537
|
+
# The unique identifier of the network for the node.
|
505
538
|
#
|
506
|
-
#
|
539
|
+
# Ethereum public networks have the following `NetworkId`s:
|
540
|
+
#
|
541
|
+
# * `n-ethereum-mainnet`
|
542
|
+
#
|
543
|
+
# * `n-ethereum-rinkeby`
|
544
|
+
#
|
545
|
+
# * `n-ethereum-ropsten`
|
546
|
+
#
|
547
|
+
# @option params [String] :member_id
|
507
548
|
# The unique identifier of the member that owns this node.
|
508
549
|
#
|
550
|
+
# Applies only to Hyperledger Fabric.
|
551
|
+
#
|
509
552
|
# @option params [required, Types::NodeConfiguration] :node_configuration
|
510
553
|
# The properties of a node configuration.
|
511
554
|
#
|
555
|
+
# @option params [Hash<String,String>] :tags
|
556
|
+
# Tags to assign to the node. Each tag consists of a key and optional
|
557
|
+
# value.
|
558
|
+
#
|
559
|
+
# When specifying tags during creation, you can specify multiple
|
560
|
+
# key-value pairs in a single request, with an overall maximum of 50
|
561
|
+
# tags added to each resource.
|
562
|
+
#
|
563
|
+
# For more information about tags, see [Tagging Resources][1] in the
|
564
|
+
# *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
|
565
|
+
# Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
|
566
|
+
# Developer Guide*.
|
567
|
+
#
|
568
|
+
#
|
569
|
+
#
|
570
|
+
# [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
|
571
|
+
# [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
|
572
|
+
#
|
512
573
|
# @return [Types::CreateNodeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
513
574
|
#
|
514
575
|
# * {Types::CreateNodeOutput#node_id #node_id} => String
|
@@ -518,10 +579,10 @@ module Aws::ManagedBlockchain
|
|
518
579
|
# resp = client.create_node({
|
519
580
|
# client_request_token: "ClientRequestTokenString", # required
|
520
581
|
# network_id: "ResourceIdString", # required
|
521
|
-
# member_id: "ResourceIdString",
|
582
|
+
# member_id: "ResourceIdString",
|
522
583
|
# node_configuration: { # required
|
523
584
|
# instance_type: "InstanceTypeString", # required
|
524
|
-
# availability_zone: "AvailabilityZoneString",
|
585
|
+
# availability_zone: "AvailabilityZoneString",
|
525
586
|
# log_publishing_configuration: {
|
526
587
|
# fabric: {
|
527
588
|
# chaincode_logs: {
|
@@ -538,6 +599,9 @@ module Aws::ManagedBlockchain
|
|
538
599
|
# },
|
539
600
|
# state_db: "LevelDB", # accepts LevelDB, CouchDB
|
540
601
|
# },
|
602
|
+
# tags: {
|
603
|
+
# "TagKey" => "TagValue",
|
604
|
+
# },
|
541
605
|
# })
|
542
606
|
#
|
543
607
|
# @example Response structure
|
@@ -557,6 +621,8 @@ module Aws::ManagedBlockchain
|
|
557
621
|
# the network can vote on, for example, a proposal to add a new member
|
558
622
|
# to the network. Any member can create a proposal.
|
559
623
|
#
|
624
|
+
# Applies only to Hyperledger Fabric.
|
625
|
+
#
|
560
626
|
# @option params [required, String] :client_request_token
|
561
627
|
# A unique, case-sensitive identifier that you provide to ensure the
|
562
628
|
# idempotency of the operation. An idempotent operation completes no
|
@@ -585,6 +651,25 @@ module Aws::ManagedBlockchain
|
|
585
651
|
# A description for the proposal that is visible to voting members, for
|
586
652
|
# example, "Proposal to add Example Corp. as member."
|
587
653
|
#
|
654
|
+
# @option params [Hash<String,String>] :tags
|
655
|
+
# Tags to assign to the proposal. Each tag consists of a key and
|
656
|
+
# optional value.
|
657
|
+
#
|
658
|
+
# When specifying tags during creation, you can specify multiple
|
659
|
+
# key-value pairs in a single request, with an overall maximum of 50
|
660
|
+
# tags added to each resource. If the proposal is for a network
|
661
|
+
# invitation, the invitation inherits the tags added to the proposal.
|
662
|
+
#
|
663
|
+
# For more information about tags, see [Tagging Resources][1] in the
|
664
|
+
# *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
|
665
|
+
# Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
|
666
|
+
# Developer Guide*.
|
667
|
+
#
|
668
|
+
#
|
669
|
+
#
|
670
|
+
# [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
|
671
|
+
# [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
|
672
|
+
#
|
588
673
|
# @return [Types::CreateProposalOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
589
674
|
#
|
590
675
|
# * {Types::CreateProposalOutput#proposal_id #proposal_id} => String
|
@@ -608,6 +693,9 @@ module Aws::ManagedBlockchain
|
|
608
693
|
# ],
|
609
694
|
# },
|
610
695
|
# description: "DescriptionString",
|
696
|
+
# tags: {
|
697
|
+
# "TagKey" => "TagValue",
|
698
|
+
# },
|
611
699
|
# })
|
612
700
|
#
|
613
701
|
# @example Response structure
|
@@ -632,6 +720,8 @@ module Aws::ManagedBlockchain
|
|
632
720
|
# member in a network specified by the last AWS account, the network is
|
633
721
|
# deleted also.
|
634
722
|
#
|
723
|
+
# Applies only to Hyperledger Fabric.
|
724
|
+
#
|
635
725
|
# @option params [required, String] :network_id
|
636
726
|
# The unique identifier of the network from which the member is removed.
|
637
727
|
#
|
@@ -656,15 +746,28 @@ module Aws::ManagedBlockchain
|
|
656
746
|
req.send_request(options)
|
657
747
|
end
|
658
748
|
|
659
|
-
# Deletes a
|
660
|
-
#
|
749
|
+
# Deletes a node that your AWS account owns. All data on the node is
|
750
|
+
# lost and cannot be recovered.
|
751
|
+
#
|
752
|
+
# Applies to Hyperledger Fabric and Ethereum.
|
661
753
|
#
|
662
754
|
# @option params [required, String] :network_id
|
663
|
-
# The unique identifier of the network that the node
|
755
|
+
# The unique identifier of the network that the node is on.
|
664
756
|
#
|
665
|
-
#
|
757
|
+
# Ethereum public networks have the following `NetworkId`s:
|
758
|
+
#
|
759
|
+
# * `n-ethereum-mainnet`
|
760
|
+
#
|
761
|
+
# * `n-ethereum-rinkeby`
|
762
|
+
#
|
763
|
+
# * `n-ethereum-ropsten`
|
764
|
+
#
|
765
|
+
# @option params [String] :member_id
|
666
766
|
# The unique identifier of the member that owns this node.
|
667
767
|
#
|
768
|
+
# Applies only to Hyperledger Fabric and is required for Hyperledger
|
769
|
+
# Fabric.
|
770
|
+
#
|
668
771
|
# @option params [required, String] :node_id
|
669
772
|
# The unique identifier of the node.
|
670
773
|
#
|
@@ -674,7 +777,7 @@ module Aws::ManagedBlockchain
|
|
674
777
|
#
|
675
778
|
# resp = client.delete_node({
|
676
779
|
# network_id: "ResourceIdString", # required
|
677
|
-
# member_id: "ResourceIdString",
|
780
|
+
# member_id: "ResourceIdString",
|
678
781
|
# node_id: "ResourceIdString", # required
|
679
782
|
# })
|
680
783
|
#
|
@@ -689,6 +792,8 @@ module Aws::ManagedBlockchain
|
|
689
792
|
|
690
793
|
# Returns detailed information about a member.
|
691
794
|
#
|
795
|
+
# Applies only to Hyperledger Fabric.
|
796
|
+
#
|
692
797
|
# @option params [required, String] :network_id
|
693
798
|
# The unique identifier of the network to which the member belongs.
|
694
799
|
#
|
@@ -717,6 +822,9 @@ module Aws::ManagedBlockchain
|
|
717
822
|
# resp.member.log_publishing_configuration.fabric.ca_logs.cloudwatch.enabled #=> Boolean
|
718
823
|
# resp.member.status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED"
|
719
824
|
# resp.member.creation_date #=> Time
|
825
|
+
# resp.member.tags #=> Hash
|
826
|
+
# resp.member.tags["TagKey"] #=> String
|
827
|
+
# resp.member.arn #=> String
|
720
828
|
#
|
721
829
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetMember AWS API Documentation
|
722
830
|
#
|
@@ -729,6 +837,8 @@ module Aws::ManagedBlockchain
|
|
729
837
|
|
730
838
|
# Returns detailed information about a network.
|
731
839
|
#
|
840
|
+
# Applies to Hyperledger Fabric and Ethereum.
|
841
|
+
#
|
732
842
|
# @option params [required, String] :network_id
|
733
843
|
# The unique identifier of the network to get information about.
|
734
844
|
#
|
@@ -747,16 +857,20 @@ module Aws::ManagedBlockchain
|
|
747
857
|
# resp.network.id #=> String
|
748
858
|
# resp.network.name #=> String
|
749
859
|
# resp.network.description #=> String
|
750
|
-
# resp.network.framework #=> String, one of "HYPERLEDGER_FABRIC"
|
860
|
+
# resp.network.framework #=> String, one of "HYPERLEDGER_FABRIC", "ETHEREUM"
|
751
861
|
# resp.network.framework_version #=> String
|
752
862
|
# resp.network.framework_attributes.fabric.ordering_service_endpoint #=> String
|
753
863
|
# resp.network.framework_attributes.fabric.edition #=> String, one of "STARTER", "STANDARD"
|
864
|
+
# resp.network.framework_attributes.ethereum.chain_id #=> String
|
754
865
|
# resp.network.vpc_endpoint_service_name #=> String
|
755
866
|
# resp.network.voting_policy.approval_threshold_policy.threshold_percentage #=> Integer
|
756
867
|
# resp.network.voting_policy.approval_threshold_policy.proposal_duration_in_hours #=> Integer
|
757
868
|
# resp.network.voting_policy.approval_threshold_policy.threshold_comparator #=> String, one of "GREATER_THAN", "GREATER_THAN_OR_EQUAL_TO"
|
758
869
|
# resp.network.status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "DELETING", "DELETED"
|
759
870
|
# resp.network.creation_date #=> Time
|
871
|
+
# resp.network.tags #=> Hash
|
872
|
+
# resp.network.tags["TagKey"] #=> String
|
873
|
+
# resp.network.arn #=> String
|
760
874
|
#
|
761
875
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNetwork AWS API Documentation
|
762
876
|
#
|
@@ -767,14 +881,19 @@ module Aws::ManagedBlockchain
|
|
767
881
|
req.send_request(options)
|
768
882
|
end
|
769
883
|
|
770
|
-
# Returns detailed information about a
|
884
|
+
# Returns detailed information about a node.
|
885
|
+
#
|
886
|
+
# Applies to Hyperledger Fabric and Ethereum.
|
771
887
|
#
|
772
888
|
# @option params [required, String] :network_id
|
773
|
-
# The unique identifier of the network
|
889
|
+
# The unique identifier of the network that the node is on.
|
774
890
|
#
|
775
|
-
# @option params [
|
891
|
+
# @option params [String] :member_id
|
776
892
|
# The unique identifier of the member that owns the node.
|
777
893
|
#
|
894
|
+
# Applies only to Hyperledger Fabric and is required for Hyperledger
|
895
|
+
# Fabric.
|
896
|
+
#
|
778
897
|
# @option params [required, String] :node_id
|
779
898
|
# The unique identifier of the node.
|
780
899
|
#
|
@@ -786,7 +905,7 @@ module Aws::ManagedBlockchain
|
|
786
905
|
#
|
787
906
|
# resp = client.get_node({
|
788
907
|
# network_id: "ResourceIdString", # required
|
789
|
-
# member_id: "ResourceIdString",
|
908
|
+
# member_id: "ResourceIdString",
|
790
909
|
# node_id: "ResourceIdString", # required
|
791
910
|
# })
|
792
911
|
#
|
@@ -799,11 +918,16 @@ module Aws::ManagedBlockchain
|
|
799
918
|
# resp.node.availability_zone #=> String
|
800
919
|
# resp.node.framework_attributes.fabric.peer_endpoint #=> String
|
801
920
|
# resp.node.framework_attributes.fabric.peer_event_endpoint #=> String
|
921
|
+
# resp.node.framework_attributes.ethereum.http_endpoint #=> String
|
922
|
+
# resp.node.framework_attributes.ethereum.web_socket_endpoint #=> String
|
802
923
|
# resp.node.log_publishing_configuration.fabric.chaincode_logs.cloudwatch.enabled #=> Boolean
|
803
924
|
# resp.node.log_publishing_configuration.fabric.peer_logs.cloudwatch.enabled #=> Boolean
|
804
925
|
# resp.node.state_db #=> String, one of "LevelDB", "CouchDB"
|
805
|
-
# resp.node.status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED", "FAILED"
|
926
|
+
# resp.node.status #=> String, one of "CREATING", "AVAILABLE", "UNHEALTHY", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED", "FAILED"
|
806
927
|
# resp.node.creation_date #=> Time
|
928
|
+
# resp.node.tags #=> Hash
|
929
|
+
# resp.node.tags["TagKey"] #=> String
|
930
|
+
# resp.node.arn #=> String
|
807
931
|
#
|
808
932
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNode AWS API Documentation
|
809
933
|
#
|
@@ -816,6 +940,8 @@ module Aws::ManagedBlockchain
|
|
816
940
|
|
817
941
|
# Returns detailed information about a proposal.
|
818
942
|
#
|
943
|
+
# Applies only to Hyperledger Fabric.
|
944
|
+
#
|
819
945
|
# @option params [required, String] :network_id
|
820
946
|
# The unique identifier of the network for which the proposal is made.
|
821
947
|
#
|
@@ -850,6 +976,9 @@ module Aws::ManagedBlockchain
|
|
850
976
|
# resp.proposal.yes_vote_count #=> Integer
|
851
977
|
# resp.proposal.no_vote_count #=> Integer
|
852
978
|
# resp.proposal.outstanding_vote_count #=> Integer
|
979
|
+
# resp.proposal.tags #=> Hash
|
980
|
+
# resp.proposal.tags["TagKey"] #=> String
|
981
|
+
# resp.proposal.arn #=> String
|
853
982
|
#
|
854
983
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetProposal AWS API Documentation
|
855
984
|
#
|
@@ -860,7 +989,9 @@ module Aws::ManagedBlockchain
|
|
860
989
|
req.send_request(options)
|
861
990
|
end
|
862
991
|
|
863
|
-
# Returns a
|
992
|
+
# Returns a list of all invitations for the current AWS account.
|
993
|
+
#
|
994
|
+
# Applies only to Hyperledger Fabric.
|
864
995
|
#
|
865
996
|
# @option params [Integer] :max_results
|
866
997
|
# The maximum number of invitations to return.
|
@@ -893,10 +1024,12 @@ module Aws::ManagedBlockchain
|
|
893
1024
|
# resp.invitations[0].network_summary.id #=> String
|
894
1025
|
# resp.invitations[0].network_summary.name #=> String
|
895
1026
|
# resp.invitations[0].network_summary.description #=> String
|
896
|
-
# resp.invitations[0].network_summary.framework #=> String, one of "HYPERLEDGER_FABRIC"
|
1027
|
+
# resp.invitations[0].network_summary.framework #=> String, one of "HYPERLEDGER_FABRIC", "ETHEREUM"
|
897
1028
|
# resp.invitations[0].network_summary.framework_version #=> String
|
898
1029
|
# resp.invitations[0].network_summary.status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "DELETING", "DELETED"
|
899
1030
|
# resp.invitations[0].network_summary.creation_date #=> Time
|
1031
|
+
# resp.invitations[0].network_summary.arn #=> String
|
1032
|
+
# resp.invitations[0].arn #=> String
|
900
1033
|
# resp.next_token #=> String
|
901
1034
|
#
|
902
1035
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListInvitations AWS API Documentation
|
@@ -908,9 +1041,11 @@ module Aws::ManagedBlockchain
|
|
908
1041
|
req.send_request(options)
|
909
1042
|
end
|
910
1043
|
|
911
|
-
# Returns a
|
1044
|
+
# Returns a list of the members in a network and properties of their
|
912
1045
|
# configurations.
|
913
1046
|
#
|
1047
|
+
# Applies only to Hyperledger Fabric.
|
1048
|
+
#
|
914
1049
|
# @option params [required, String] :network_id
|
915
1050
|
# The unique identifier of the network for which to list members.
|
916
1051
|
#
|
@@ -960,6 +1095,7 @@ module Aws::ManagedBlockchain
|
|
960
1095
|
# resp.members[0].status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED"
|
961
1096
|
# resp.members[0].creation_date #=> Time
|
962
1097
|
# resp.members[0].is_owned #=> Boolean
|
1098
|
+
# resp.members[0].arn #=> String
|
963
1099
|
# resp.next_token #=> String
|
964
1100
|
#
|
965
1101
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListMembers AWS API Documentation
|
@@ -972,7 +1108,9 @@ module Aws::ManagedBlockchain
|
|
972
1108
|
end
|
973
1109
|
|
974
1110
|
# Returns information about the networks in which the current AWS
|
975
|
-
# account
|
1111
|
+
# account participates.
|
1112
|
+
#
|
1113
|
+
# Applies to Hyperledger Fabric and Ethereum.
|
976
1114
|
#
|
977
1115
|
# @option params [String] :name
|
978
1116
|
# The name of the network.
|
@@ -985,6 +1123,8 @@ module Aws::ManagedBlockchain
|
|
985
1123
|
# An optional status specifier. If provided, only networks currently in
|
986
1124
|
# this status are listed.
|
987
1125
|
#
|
1126
|
+
# Applies only to Hyperledger Fabric.
|
1127
|
+
#
|
988
1128
|
# @option params [Integer] :max_results
|
989
1129
|
# The maximum number of networks to list.
|
990
1130
|
#
|
@@ -1003,7 +1143,7 @@ module Aws::ManagedBlockchain
|
|
1003
1143
|
#
|
1004
1144
|
# resp = client.list_networks({
|
1005
1145
|
# name: "String",
|
1006
|
-
# framework: "HYPERLEDGER_FABRIC", # accepts HYPERLEDGER_FABRIC
|
1146
|
+
# framework: "HYPERLEDGER_FABRIC", # accepts HYPERLEDGER_FABRIC, ETHEREUM
|
1007
1147
|
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, DELETING, DELETED
|
1008
1148
|
# max_results: 1,
|
1009
1149
|
# next_token: "PaginationToken",
|
@@ -1015,10 +1155,11 @@ module Aws::ManagedBlockchain
|
|
1015
1155
|
# resp.networks[0].id #=> String
|
1016
1156
|
# resp.networks[0].name #=> String
|
1017
1157
|
# resp.networks[0].description #=> String
|
1018
|
-
# resp.networks[0].framework #=> String, one of "HYPERLEDGER_FABRIC"
|
1158
|
+
# resp.networks[0].framework #=> String, one of "HYPERLEDGER_FABRIC", "ETHEREUM"
|
1019
1159
|
# resp.networks[0].framework_version #=> String
|
1020
1160
|
# resp.networks[0].status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "DELETING", "DELETED"
|
1021
1161
|
# resp.networks[0].creation_date #=> Time
|
1162
|
+
# resp.networks[0].arn #=> String
|
1022
1163
|
# resp.next_token #=> String
|
1023
1164
|
#
|
1024
1165
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListNetworks AWS API Documentation
|
@@ -1032,12 +1173,17 @@ module Aws::ManagedBlockchain
|
|
1032
1173
|
|
1033
1174
|
# Returns information about the nodes within a network.
|
1034
1175
|
#
|
1176
|
+
# Applies to Hyperledger Fabric and Ethereum.
|
1177
|
+
#
|
1035
1178
|
# @option params [required, String] :network_id
|
1036
1179
|
# The unique identifier of the network for which to list nodes.
|
1037
1180
|
#
|
1038
|
-
# @option params [
|
1181
|
+
# @option params [String] :member_id
|
1039
1182
|
# The unique identifier of the member who owns the nodes to list.
|
1040
1183
|
#
|
1184
|
+
# Applies only to Hyperledger Fabric and is required for Hyperledger
|
1185
|
+
# Fabric.
|
1186
|
+
#
|
1041
1187
|
# @option params [String] :status
|
1042
1188
|
# An optional status specifier. If provided, only nodes currently in
|
1043
1189
|
# this status are listed.
|
@@ -1060,8 +1206,8 @@ module Aws::ManagedBlockchain
|
|
1060
1206
|
#
|
1061
1207
|
# resp = client.list_nodes({
|
1062
1208
|
# network_id: "ResourceIdString", # required
|
1063
|
-
# member_id: "ResourceIdString",
|
1064
|
-
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, UPDATING, DELETING, DELETED, FAILED
|
1209
|
+
# member_id: "ResourceIdString",
|
1210
|
+
# status: "CREATING", # accepts CREATING, AVAILABLE, UNHEALTHY, CREATE_FAILED, UPDATING, DELETING, DELETED, FAILED
|
1065
1211
|
# max_results: 1,
|
1066
1212
|
# next_token: "PaginationToken",
|
1067
1213
|
# })
|
@@ -1070,10 +1216,11 @@ module Aws::ManagedBlockchain
|
|
1070
1216
|
#
|
1071
1217
|
# resp.nodes #=> Array
|
1072
1218
|
# resp.nodes[0].id #=> String
|
1073
|
-
# resp.nodes[0].status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED", "FAILED"
|
1219
|
+
# resp.nodes[0].status #=> String, one of "CREATING", "AVAILABLE", "UNHEALTHY", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED", "FAILED"
|
1074
1220
|
# resp.nodes[0].creation_date #=> Time
|
1075
1221
|
# resp.nodes[0].availability_zone #=> String
|
1076
1222
|
# resp.nodes[0].instance_type #=> String
|
1223
|
+
# resp.nodes[0].arn #=> String
|
1077
1224
|
# resp.next_token #=> String
|
1078
1225
|
#
|
1079
1226
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListNodes AWS API Documentation
|
@@ -1085,10 +1232,12 @@ module Aws::ManagedBlockchain
|
|
1085
1232
|
req.send_request(options)
|
1086
1233
|
end
|
1087
1234
|
|
1088
|
-
# Returns the
|
1235
|
+
# Returns the list of votes for a specified proposal, including the
|
1089
1236
|
# value of each vote and the unique identifier of the member that cast
|
1090
1237
|
# the vote.
|
1091
1238
|
#
|
1239
|
+
# Applies only to Hyperledger Fabric.
|
1240
|
+
#
|
1092
1241
|
# @option params [required, String] :network_id
|
1093
1242
|
# The unique identifier of the network.
|
1094
1243
|
#
|
@@ -1135,7 +1284,9 @@ module Aws::ManagedBlockchain
|
|
1135
1284
|
req.send_request(options)
|
1136
1285
|
end
|
1137
1286
|
|
1138
|
-
# Returns a
|
1287
|
+
# Returns a list of proposals for the network.
|
1288
|
+
#
|
1289
|
+
# Applies only to Hyperledger Fabric.
|
1139
1290
|
#
|
1140
1291
|
# @option params [required, String] :network_id
|
1141
1292
|
# The unique identifier of the network.
|
@@ -1172,6 +1323,7 @@ module Aws::ManagedBlockchain
|
|
1172
1323
|
# resp.proposals[0].status #=> String, one of "IN_PROGRESS", "APPROVED", "REJECTED", "EXPIRED", "ACTION_FAILED"
|
1173
1324
|
# resp.proposals[0].creation_date #=> Time
|
1174
1325
|
# resp.proposals[0].expiration_date #=> Time
|
1326
|
+
# resp.proposals[0].arn #=> String
|
1175
1327
|
# resp.next_token #=> String
|
1176
1328
|
#
|
1177
1329
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListProposals AWS API Documentation
|
@@ -1183,10 +1335,58 @@ module Aws::ManagedBlockchain
|
|
1183
1335
|
req.send_request(options)
|
1184
1336
|
end
|
1185
1337
|
|
1338
|
+
# Returns a list of tags for the specified resource. Each tag consists
|
1339
|
+
# of a key and optional value.
|
1340
|
+
#
|
1341
|
+
# For more information about tags, see [Tagging Resources][1] in the
|
1342
|
+
# *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
|
1343
|
+
# Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
|
1344
|
+
# Developer Guide*.
|
1345
|
+
#
|
1346
|
+
#
|
1347
|
+
#
|
1348
|
+
# [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
|
1349
|
+
# [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
|
1350
|
+
#
|
1351
|
+
# @option params [required, String] :resource_arn
|
1352
|
+
# The Amazon Resource Name (ARN) of the resource. For more information
|
1353
|
+
# about ARNs and their format, see [Amazon Resource Names (ARNs)][1] in
|
1354
|
+
# the *AWS General Reference*.
|
1355
|
+
#
|
1356
|
+
#
|
1357
|
+
#
|
1358
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1359
|
+
#
|
1360
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1361
|
+
#
|
1362
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
|
1363
|
+
#
|
1364
|
+
# @example Request syntax with placeholder values
|
1365
|
+
#
|
1366
|
+
# resp = client.list_tags_for_resource({
|
1367
|
+
# resource_arn: "ArnString", # required
|
1368
|
+
# })
|
1369
|
+
#
|
1370
|
+
# @example Response structure
|
1371
|
+
#
|
1372
|
+
# resp.tags #=> Hash
|
1373
|
+
# resp.tags["TagKey"] #=> String
|
1374
|
+
#
|
1375
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListTagsForResource AWS API Documentation
|
1376
|
+
#
|
1377
|
+
# @overload list_tags_for_resource(params = {})
|
1378
|
+
# @param [Hash] params ({})
|
1379
|
+
def list_tags_for_resource(params = {}, options = {})
|
1380
|
+
req = build_request(:list_tags_for_resource, params)
|
1381
|
+
req.send_request(options)
|
1382
|
+
end
|
1383
|
+
|
1186
1384
|
# Rejects an invitation to join a network. This action can be called by
|
1187
1385
|
# a principal in an AWS account that has received an invitation to
|
1188
1386
|
# create a member and join a network.
|
1189
1387
|
#
|
1388
|
+
# Applies only to Hyperledger Fabric.
|
1389
|
+
#
|
1190
1390
|
# @option params [required, String] :invitation_id
|
1191
1391
|
# The unique identifier of the invitation to reject.
|
1192
1392
|
#
|
@@ -1207,14 +1407,114 @@ module Aws::ManagedBlockchain
|
|
1207
1407
|
req.send_request(options)
|
1208
1408
|
end
|
1209
1409
|
|
1410
|
+
# Adds or overwrites the specified tags for the specified Amazon Managed
|
1411
|
+
# Blockchain resource. Each tag consists of a key and optional value.
|
1412
|
+
#
|
1413
|
+
# When you specify a tag key that already exists, the tag value is
|
1414
|
+
# overwritten with the new value. Use `UntagResource` to remove tag
|
1415
|
+
# keys.
|
1416
|
+
#
|
1417
|
+
# A resource can have up to 50 tags. If you try to create more than 50
|
1418
|
+
# tags for a resource, your request fails and returns an error.
|
1419
|
+
#
|
1420
|
+
# For more information about tags, see [Tagging Resources][1] in the
|
1421
|
+
# *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
|
1422
|
+
# Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
|
1423
|
+
# Developer Guide*.
|
1424
|
+
#
|
1425
|
+
#
|
1426
|
+
#
|
1427
|
+
# [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
|
1428
|
+
# [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
|
1429
|
+
#
|
1430
|
+
# @option params [required, String] :resource_arn
|
1431
|
+
# The Amazon Resource Name (ARN) of the resource. For more information
|
1432
|
+
# about ARNs and their format, see [Amazon Resource Names (ARNs)][1] in
|
1433
|
+
# the *AWS General Reference*.
|
1434
|
+
#
|
1435
|
+
#
|
1436
|
+
#
|
1437
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1438
|
+
#
|
1439
|
+
# @option params [required, Hash<String,String>] :tags
|
1440
|
+
# The tags to assign to the specified resource. Tag values can be empty,
|
1441
|
+
# for example, `"MyTagKey" : ""`. You can specify multiple key-value
|
1442
|
+
# pairs in a single request, with an overall maximum of 50 tags added to
|
1443
|
+
# each resource.
|
1444
|
+
#
|
1445
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1446
|
+
#
|
1447
|
+
# @example Request syntax with placeholder values
|
1448
|
+
#
|
1449
|
+
# resp = client.tag_resource({
|
1450
|
+
# resource_arn: "ArnString", # required
|
1451
|
+
# tags: { # required
|
1452
|
+
# "TagKey" => "TagValue",
|
1453
|
+
# },
|
1454
|
+
# })
|
1455
|
+
#
|
1456
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/TagResource AWS API Documentation
|
1457
|
+
#
|
1458
|
+
# @overload tag_resource(params = {})
|
1459
|
+
# @param [Hash] params ({})
|
1460
|
+
def tag_resource(params = {}, options = {})
|
1461
|
+
req = build_request(:tag_resource, params)
|
1462
|
+
req.send_request(options)
|
1463
|
+
end
|
1464
|
+
|
1465
|
+
# Removes the specified tags from the Amazon Managed Blockchain
|
1466
|
+
# resource.
|
1467
|
+
#
|
1468
|
+
# For more information about tags, see [Tagging Resources][1] in the
|
1469
|
+
# *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
|
1470
|
+
# Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
|
1471
|
+
# Developer Guide*.
|
1472
|
+
#
|
1473
|
+
#
|
1474
|
+
#
|
1475
|
+
# [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
|
1476
|
+
# [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
|
1477
|
+
#
|
1478
|
+
# @option params [required, String] :resource_arn
|
1479
|
+
# The Amazon Resource Name (ARN) of the resource. For more information
|
1480
|
+
# about ARNs and their format, see [Amazon Resource Names (ARNs)][1] in
|
1481
|
+
# the *AWS General Reference*.
|
1482
|
+
#
|
1483
|
+
#
|
1484
|
+
#
|
1485
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1486
|
+
#
|
1487
|
+
# @option params [required, Array<String>] :tag_keys
|
1488
|
+
# The tag keys.
|
1489
|
+
#
|
1490
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1491
|
+
#
|
1492
|
+
# @example Request syntax with placeholder values
|
1493
|
+
#
|
1494
|
+
# resp = client.untag_resource({
|
1495
|
+
# resource_arn: "ArnString", # required
|
1496
|
+
# tag_keys: ["TagKey"], # required
|
1497
|
+
# })
|
1498
|
+
#
|
1499
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UntagResource AWS API Documentation
|
1500
|
+
#
|
1501
|
+
# @overload untag_resource(params = {})
|
1502
|
+
# @param [Hash] params ({})
|
1503
|
+
def untag_resource(params = {}, options = {})
|
1504
|
+
req = build_request(:untag_resource, params)
|
1505
|
+
req.send_request(options)
|
1506
|
+
end
|
1507
|
+
|
1210
1508
|
# Updates a member configuration with new parameters.
|
1211
1509
|
#
|
1510
|
+
# Applies only to Hyperledger Fabric.
|
1511
|
+
#
|
1212
1512
|
# @option params [required, String] :network_id
|
1213
|
-
# The unique
|
1214
|
-
# belongs.
|
1513
|
+
# The unique identifier of the Managed Blockchain network to which the
|
1514
|
+
# member belongs.
|
1215
1515
|
#
|
1216
1516
|
# @option params [required, String] :member_id
|
1217
|
-
# The unique
|
1517
|
+
# The unique identifier of the member.
|
1218
1518
|
#
|
1219
1519
|
# @option params [Types::MemberLogPublishingConfiguration] :log_publishing_configuration
|
1220
1520
|
# Configuration properties for publishing to Amazon CloudWatch Logs.
|
@@ -1248,15 +1548,18 @@ module Aws::ManagedBlockchain
|
|
1248
1548
|
|
1249
1549
|
# Updates a node configuration with new parameters.
|
1250
1550
|
#
|
1551
|
+
# Applies only to Hyperledger Fabric.
|
1552
|
+
#
|
1251
1553
|
# @option params [required, String] :network_id
|
1252
|
-
# The unique
|
1253
|
-
# belongs.
|
1554
|
+
# The unique identifier of the network that the node is on.
|
1254
1555
|
#
|
1255
|
-
# @option params [
|
1256
|
-
# The unique
|
1556
|
+
# @option params [String] :member_id
|
1557
|
+
# The unique identifier of the member that owns the node.
|
1558
|
+
#
|
1559
|
+
# Applies only to Hyperledger Fabric.
|
1257
1560
|
#
|
1258
1561
|
# @option params [required, String] :node_id
|
1259
|
-
# The unique
|
1562
|
+
# The unique identifier of the node.
|
1260
1563
|
#
|
1261
1564
|
# @option params [Types::NodeLogPublishingConfiguration] :log_publishing_configuration
|
1262
1565
|
# Configuration properties for publishing to Amazon CloudWatch Logs.
|
@@ -1267,7 +1570,7 @@ module Aws::ManagedBlockchain
|
|
1267
1570
|
#
|
1268
1571
|
# resp = client.update_node({
|
1269
1572
|
# network_id: "ResourceIdString", # required
|
1270
|
-
# member_id: "ResourceIdString",
|
1573
|
+
# member_id: "ResourceIdString",
|
1271
1574
|
# node_id: "ResourceIdString", # required
|
1272
1575
|
# log_publishing_configuration: {
|
1273
1576
|
# fabric: {
|
@@ -1298,6 +1601,8 @@ module Aws::ManagedBlockchain
|
|
1298
1601
|
# member to vote as, specified by `VoterMemberId`, must be in the same
|
1299
1602
|
# AWS account as the principal that calls the action.
|
1300
1603
|
#
|
1604
|
+
# Applies only to Hyperledger Fabric.
|
1605
|
+
#
|
1301
1606
|
# @option params [required, String] :network_id
|
1302
1607
|
# The unique identifier of the network.
|
1303
1608
|
#
|
@@ -1343,7 +1648,7 @@ module Aws::ManagedBlockchain
|
|
1343
1648
|
params: params,
|
1344
1649
|
config: config)
|
1345
1650
|
context[:gem_name] = 'aws-sdk-managedblockchain'
|
1346
|
-
context[:gem_version] = '1.
|
1651
|
+
context[:gem_version] = '1.22.0'
|
1347
1652
|
Seahorse::Client::Request.new(handlers, context)
|
1348
1653
|
end
|
1349
1654
|
|