aws-sdk-managedblockchain 1.18.0 → 1.23.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 +128 -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 +244 -8
- data/lib/aws-sdk-managedblockchain/client_api.rb +107 -1
- data/lib/aws-sdk-managedblockchain/errors.rb +27 -1
- data/lib/aws-sdk-managedblockchain/resource.rb +1 -1
- data/lib/aws-sdk-managedblockchain/types.rb +519 -21
- metadata +11 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce5cefff99e9cd7e84a6f68f004790d483f84d98709ddc6db15049c01e5336bc
|
4
|
+
data.tar.gz: 3ac5a204e163bafd1d83678e0ec3ce324de624493503d79f71634f66c278f0d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2729a5fe05e79076912a5e64fa8fd63fc0cf74da1b2ea9e8bacc6647e77afb4497a138ef8445a29741cc1b60f1cc933ca949e601d3c5f7b892b7b8afa368e6a
|
7
|
+
data.tar.gz: f8beed4cf595906161f9c690a191917248d48fd2785d61a261f8027c03728d2b0150309958a526019eba2a18c2fc7aff47712178602c06032191f2a26424b233
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,128 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.23.0 (2021-06-10)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release supports KMS customer-managed Customer Master Keys (CMKs) on member-specific Hyperledger Fabric resources.
|
8
|
+
|
9
|
+
1.22.0 (2021-03-10)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.21.0 (2021-03-02)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Updates for Ethereum general availability release.
|
18
|
+
|
19
|
+
1.20.0 (2021-02-02)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
24
|
+
1.19.0 (2021-01-28)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - This release supports tagging on Amazon Managed Blockchain resources.
|
28
|
+
|
29
|
+
1.18.0 (2020-12-21)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* 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.
|
33
|
+
|
34
|
+
1.17.0 (2020-09-30)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
38
|
+
|
39
|
+
1.16.0 (2020-09-15)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
43
|
+
|
44
|
+
1.15.0 (2020-09-14)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* 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).
|
48
|
+
|
49
|
+
1.14.0 (2020-08-25)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
53
|
+
|
54
|
+
1.13.0 (2020-06-23)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
58
|
+
|
59
|
+
1.12.1 (2020-06-11)
|
60
|
+
------------------
|
61
|
+
|
62
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
63
|
+
|
64
|
+
1.12.0 (2020-06-10)
|
65
|
+
------------------
|
66
|
+
|
67
|
+
* Issue - This version has been yanked. (#2327).
|
68
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
69
|
+
|
70
|
+
1.11.0 (2020-05-28)
|
71
|
+
------------------
|
72
|
+
|
73
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
74
|
+
|
75
|
+
1.10.0 (2020-05-07)
|
76
|
+
------------------
|
77
|
+
|
78
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
79
|
+
|
80
|
+
1.9.0 (2020-03-25)
|
81
|
+
------------------
|
82
|
+
|
83
|
+
* Feature - Amazon Managed Blockchain now has support to publish Hyperledger Fabric peer node, chaincode, and certificate authority (CA) logs to Amazon CloudWatch Logs.
|
84
|
+
|
85
|
+
1.8.0 (2020-03-09)
|
86
|
+
------------------
|
87
|
+
|
88
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
89
|
+
|
90
|
+
1.7.0 (2019-10-23)
|
91
|
+
------------------
|
92
|
+
|
93
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
94
|
+
|
95
|
+
1.6.0 (2019-07-25)
|
96
|
+
------------------
|
97
|
+
|
98
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
99
|
+
|
100
|
+
1.5.0 (2019-07-01)
|
101
|
+
------------------
|
102
|
+
|
103
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
104
|
+
|
105
|
+
1.4.0 (2019-06-17)
|
106
|
+
------------------
|
107
|
+
|
108
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
109
|
+
|
110
|
+
1.3.0 (2019-05-21)
|
111
|
+
------------------
|
112
|
+
|
113
|
+
* Feature - API update.
|
114
|
+
|
115
|
+
1.2.0 (2019-05-15)
|
116
|
+
------------------
|
117
|
+
|
118
|
+
* Feature - API update.
|
119
|
+
|
120
|
+
1.1.0 (2019-05-14)
|
121
|
+
------------------
|
122
|
+
|
123
|
+
* Feature - API update.
|
124
|
+
|
125
|
+
1.0.0 (2019-04-30)
|
126
|
+
------------------
|
127
|
+
|
128
|
+
* 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.23.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.23.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
|
|
@@ -379,6 +379,10 @@ module Aws::ManagedBlockchain
|
|
379
379
|
# },
|
380
380
|
# },
|
381
381
|
# },
|
382
|
+
# tags: {
|
383
|
+
# "TagKey" => "TagValue",
|
384
|
+
# },
|
385
|
+
# kms_key_arn: "ArnString",
|
382
386
|
# },
|
383
387
|
# })
|
384
388
|
#
|
@@ -432,6 +436,24 @@ module Aws::ManagedBlockchain
|
|
432
436
|
# @option params [required, Types::MemberConfiguration] :member_configuration
|
433
437
|
# Configuration properties for the first member within the network.
|
434
438
|
#
|
439
|
+
# @option params [Hash<String,String>] :tags
|
440
|
+
# Tags to assign to the network. Each tag consists of a key and optional
|
441
|
+
# value.
|
442
|
+
#
|
443
|
+
# When specifying tags during creation, you can specify multiple
|
444
|
+
# key-value pairs in a single request, with an overall maximum of 50
|
445
|
+
# tags added to each resource.
|
446
|
+
#
|
447
|
+
# For more information about tags, see [Tagging Resources][1] in the
|
448
|
+
# *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
|
449
|
+
# Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
|
450
|
+
# Developer Guide*.
|
451
|
+
#
|
452
|
+
#
|
453
|
+
#
|
454
|
+
# [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
|
455
|
+
# [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
|
456
|
+
#
|
435
457
|
# @return [Types::CreateNetworkOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
436
458
|
#
|
437
459
|
# * {Types::CreateNetworkOutput#network_id #network_id} => String
|
@@ -475,6 +497,13 @@ module Aws::ManagedBlockchain
|
|
475
497
|
# },
|
476
498
|
# },
|
477
499
|
# },
|
500
|
+
# tags: {
|
501
|
+
# "TagKey" => "TagValue",
|
502
|
+
# },
|
503
|
+
# kms_key_arn: "ArnString",
|
504
|
+
# },
|
505
|
+
# tags: {
|
506
|
+
# "TagKey" => "TagValue",
|
478
507
|
# },
|
479
508
|
# })
|
480
509
|
#
|
@@ -525,6 +554,24 @@ module Aws::ManagedBlockchain
|
|
525
554
|
# @option params [required, Types::NodeConfiguration] :node_configuration
|
526
555
|
# The properties of a node configuration.
|
527
556
|
#
|
557
|
+
# @option params [Hash<String,String>] :tags
|
558
|
+
# Tags to assign to the node. Each tag consists of a key and optional
|
559
|
+
# value.
|
560
|
+
#
|
561
|
+
# When specifying tags during creation, you can specify multiple
|
562
|
+
# key-value pairs in a single request, with an overall maximum of 50
|
563
|
+
# tags added to each resource.
|
564
|
+
#
|
565
|
+
# For more information about tags, see [Tagging Resources][1] in the
|
566
|
+
# *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
|
567
|
+
# Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
|
568
|
+
# Developer Guide*.
|
569
|
+
#
|
570
|
+
#
|
571
|
+
#
|
572
|
+
# [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
|
573
|
+
# [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
|
574
|
+
#
|
528
575
|
# @return [Types::CreateNodeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
529
576
|
#
|
530
577
|
# * {Types::CreateNodeOutput#node_id #node_id} => String
|
@@ -554,6 +601,9 @@ module Aws::ManagedBlockchain
|
|
554
601
|
# },
|
555
602
|
# state_db: "LevelDB", # accepts LevelDB, CouchDB
|
556
603
|
# },
|
604
|
+
# tags: {
|
605
|
+
# "TagKey" => "TagValue",
|
606
|
+
# },
|
557
607
|
# })
|
558
608
|
#
|
559
609
|
# @example Response structure
|
@@ -603,6 +653,25 @@ module Aws::ManagedBlockchain
|
|
603
653
|
# A description for the proposal that is visible to voting members, for
|
604
654
|
# example, "Proposal to add Example Corp. as member."
|
605
655
|
#
|
656
|
+
# @option params [Hash<String,String>] :tags
|
657
|
+
# Tags to assign to the proposal. Each tag consists of a key and
|
658
|
+
# optional value.
|
659
|
+
#
|
660
|
+
# When specifying tags during creation, you can specify multiple
|
661
|
+
# key-value pairs in a single request, with an overall maximum of 50
|
662
|
+
# tags added to each resource. If the proposal is for a network
|
663
|
+
# invitation, the invitation inherits the tags added to the proposal.
|
664
|
+
#
|
665
|
+
# For more information about tags, see [Tagging Resources][1] in the
|
666
|
+
# *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
|
667
|
+
# Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
|
668
|
+
# Developer Guide*.
|
669
|
+
#
|
670
|
+
#
|
671
|
+
#
|
672
|
+
# [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
|
673
|
+
# [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
|
674
|
+
#
|
606
675
|
# @return [Types::CreateProposalOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
607
676
|
#
|
608
677
|
# * {Types::CreateProposalOutput#proposal_id #proposal_id} => String
|
@@ -626,6 +695,9 @@ module Aws::ManagedBlockchain
|
|
626
695
|
# ],
|
627
696
|
# },
|
628
697
|
# description: "DescriptionString",
|
698
|
+
# tags: {
|
699
|
+
# "TagKey" => "TagValue",
|
700
|
+
# },
|
629
701
|
# })
|
630
702
|
#
|
631
703
|
# @example Response structure
|
@@ -750,8 +822,12 @@ module Aws::ManagedBlockchain
|
|
750
822
|
# resp.member.framework_attributes.fabric.admin_username #=> String
|
751
823
|
# resp.member.framework_attributes.fabric.ca_endpoint #=> String
|
752
824
|
# resp.member.log_publishing_configuration.fabric.ca_logs.cloudwatch.enabled #=> Boolean
|
753
|
-
# resp.member.status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED"
|
825
|
+
# resp.member.status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED", "INACCESSIBLE_ENCRYPTION_KEY"
|
754
826
|
# resp.member.creation_date #=> Time
|
827
|
+
# resp.member.tags #=> Hash
|
828
|
+
# resp.member.tags["TagKey"] #=> String
|
829
|
+
# resp.member.arn #=> String
|
830
|
+
# resp.member.kms_key_arn #=> String
|
755
831
|
#
|
756
832
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetMember AWS API Documentation
|
757
833
|
#
|
@@ -795,6 +871,9 @@ module Aws::ManagedBlockchain
|
|
795
871
|
# resp.network.voting_policy.approval_threshold_policy.threshold_comparator #=> String, one of "GREATER_THAN", "GREATER_THAN_OR_EQUAL_TO"
|
796
872
|
# resp.network.status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "DELETING", "DELETED"
|
797
873
|
# resp.network.creation_date #=> Time
|
874
|
+
# resp.network.tags #=> Hash
|
875
|
+
# resp.network.tags["TagKey"] #=> String
|
876
|
+
# resp.network.arn #=> String
|
798
877
|
#
|
799
878
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNetwork AWS API Documentation
|
800
879
|
#
|
@@ -847,8 +926,12 @@ module Aws::ManagedBlockchain
|
|
847
926
|
# resp.node.log_publishing_configuration.fabric.chaincode_logs.cloudwatch.enabled #=> Boolean
|
848
927
|
# resp.node.log_publishing_configuration.fabric.peer_logs.cloudwatch.enabled #=> Boolean
|
849
928
|
# resp.node.state_db #=> String, one of "LevelDB", "CouchDB"
|
850
|
-
# resp.node.status #=> String, one of "CREATING", "AVAILABLE", "UNHEALTHY", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED", "FAILED"
|
929
|
+
# resp.node.status #=> String, one of "CREATING", "AVAILABLE", "UNHEALTHY", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED", "FAILED", "INACCESSIBLE_ENCRYPTION_KEY"
|
851
930
|
# resp.node.creation_date #=> Time
|
931
|
+
# resp.node.tags #=> Hash
|
932
|
+
# resp.node.tags["TagKey"] #=> String
|
933
|
+
# resp.node.arn #=> String
|
934
|
+
# resp.node.kms_key_arn #=> String
|
852
935
|
#
|
853
936
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNode AWS API Documentation
|
854
937
|
#
|
@@ -897,6 +980,9 @@ module Aws::ManagedBlockchain
|
|
897
980
|
# resp.proposal.yes_vote_count #=> Integer
|
898
981
|
# resp.proposal.no_vote_count #=> Integer
|
899
982
|
# resp.proposal.outstanding_vote_count #=> Integer
|
983
|
+
# resp.proposal.tags #=> Hash
|
984
|
+
# resp.proposal.tags["TagKey"] #=> String
|
985
|
+
# resp.proposal.arn #=> String
|
900
986
|
#
|
901
987
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetProposal AWS API Documentation
|
902
988
|
#
|
@@ -946,6 +1032,8 @@ module Aws::ManagedBlockchain
|
|
946
1032
|
# resp.invitations[0].network_summary.framework_version #=> String
|
947
1033
|
# resp.invitations[0].network_summary.status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "DELETING", "DELETED"
|
948
1034
|
# resp.invitations[0].network_summary.creation_date #=> Time
|
1035
|
+
# resp.invitations[0].network_summary.arn #=> String
|
1036
|
+
# resp.invitations[0].arn #=> String
|
949
1037
|
# resp.next_token #=> String
|
950
1038
|
#
|
951
1039
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListInvitations AWS API Documentation
|
@@ -996,7 +1084,7 @@ module Aws::ManagedBlockchain
|
|
996
1084
|
# resp = client.list_members({
|
997
1085
|
# network_id: "ResourceIdString", # required
|
998
1086
|
# name: "String",
|
999
|
-
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, UPDATING, DELETING, DELETED
|
1087
|
+
# status: "CREATING", # accepts CREATING, AVAILABLE, CREATE_FAILED, UPDATING, DELETING, DELETED, INACCESSIBLE_ENCRYPTION_KEY
|
1000
1088
|
# is_owned: false,
|
1001
1089
|
# max_results: 1,
|
1002
1090
|
# next_token: "PaginationToken",
|
@@ -1008,9 +1096,10 @@ module Aws::ManagedBlockchain
|
|
1008
1096
|
# resp.members[0].id #=> String
|
1009
1097
|
# resp.members[0].name #=> String
|
1010
1098
|
# resp.members[0].description #=> String
|
1011
|
-
# resp.members[0].status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED"
|
1099
|
+
# resp.members[0].status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED", "INACCESSIBLE_ENCRYPTION_KEY"
|
1012
1100
|
# resp.members[0].creation_date #=> Time
|
1013
1101
|
# resp.members[0].is_owned #=> Boolean
|
1102
|
+
# resp.members[0].arn #=> String
|
1014
1103
|
# resp.next_token #=> String
|
1015
1104
|
#
|
1016
1105
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListMembers AWS API Documentation
|
@@ -1074,6 +1163,7 @@ module Aws::ManagedBlockchain
|
|
1074
1163
|
# resp.networks[0].framework_version #=> String
|
1075
1164
|
# resp.networks[0].status #=> String, one of "CREATING", "AVAILABLE", "CREATE_FAILED", "DELETING", "DELETED"
|
1076
1165
|
# resp.networks[0].creation_date #=> Time
|
1166
|
+
# resp.networks[0].arn #=> String
|
1077
1167
|
# resp.next_token #=> String
|
1078
1168
|
#
|
1079
1169
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListNetworks AWS API Documentation
|
@@ -1121,7 +1211,7 @@ module Aws::ManagedBlockchain
|
|
1121
1211
|
# resp = client.list_nodes({
|
1122
1212
|
# network_id: "ResourceIdString", # required
|
1123
1213
|
# member_id: "ResourceIdString",
|
1124
|
-
# status: "CREATING", # accepts CREATING, AVAILABLE, UNHEALTHY, CREATE_FAILED, UPDATING, DELETING, DELETED, FAILED
|
1214
|
+
# status: "CREATING", # accepts CREATING, AVAILABLE, UNHEALTHY, CREATE_FAILED, UPDATING, DELETING, DELETED, FAILED, INACCESSIBLE_ENCRYPTION_KEY
|
1125
1215
|
# max_results: 1,
|
1126
1216
|
# next_token: "PaginationToken",
|
1127
1217
|
# })
|
@@ -1130,10 +1220,11 @@ module Aws::ManagedBlockchain
|
|
1130
1220
|
#
|
1131
1221
|
# resp.nodes #=> Array
|
1132
1222
|
# resp.nodes[0].id #=> String
|
1133
|
-
# resp.nodes[0].status #=> String, one of "CREATING", "AVAILABLE", "UNHEALTHY", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED", "FAILED"
|
1223
|
+
# resp.nodes[0].status #=> String, one of "CREATING", "AVAILABLE", "UNHEALTHY", "CREATE_FAILED", "UPDATING", "DELETING", "DELETED", "FAILED", "INACCESSIBLE_ENCRYPTION_KEY"
|
1134
1224
|
# resp.nodes[0].creation_date #=> Time
|
1135
1225
|
# resp.nodes[0].availability_zone #=> String
|
1136
1226
|
# resp.nodes[0].instance_type #=> String
|
1227
|
+
# resp.nodes[0].arn #=> String
|
1137
1228
|
# resp.next_token #=> String
|
1138
1229
|
#
|
1139
1230
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListNodes AWS API Documentation
|
@@ -1236,6 +1327,7 @@ module Aws::ManagedBlockchain
|
|
1236
1327
|
# resp.proposals[0].status #=> String, one of "IN_PROGRESS", "APPROVED", "REJECTED", "EXPIRED", "ACTION_FAILED"
|
1237
1328
|
# resp.proposals[0].creation_date #=> Time
|
1238
1329
|
# resp.proposals[0].expiration_date #=> Time
|
1330
|
+
# resp.proposals[0].arn #=> String
|
1239
1331
|
# resp.next_token #=> String
|
1240
1332
|
#
|
1241
1333
|
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListProposals AWS API Documentation
|
@@ -1247,6 +1339,52 @@ module Aws::ManagedBlockchain
|
|
1247
1339
|
req.send_request(options)
|
1248
1340
|
end
|
1249
1341
|
|
1342
|
+
# Returns a list of tags for the specified resource. Each tag consists
|
1343
|
+
# of a key and optional value.
|
1344
|
+
#
|
1345
|
+
# For more information about tags, see [Tagging Resources][1] in the
|
1346
|
+
# *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
|
1347
|
+
# Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
|
1348
|
+
# Developer Guide*.
|
1349
|
+
#
|
1350
|
+
#
|
1351
|
+
#
|
1352
|
+
# [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
|
1353
|
+
# [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
|
1354
|
+
#
|
1355
|
+
# @option params [required, String] :resource_arn
|
1356
|
+
# The Amazon Resource Name (ARN) of the resource. For more information
|
1357
|
+
# about ARNs and their format, see [Amazon Resource Names (ARNs)][1] in
|
1358
|
+
# the *AWS General Reference*.
|
1359
|
+
#
|
1360
|
+
#
|
1361
|
+
#
|
1362
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1363
|
+
#
|
1364
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1365
|
+
#
|
1366
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
|
1367
|
+
#
|
1368
|
+
# @example Request syntax with placeholder values
|
1369
|
+
#
|
1370
|
+
# resp = client.list_tags_for_resource({
|
1371
|
+
# resource_arn: "ArnString", # required
|
1372
|
+
# })
|
1373
|
+
#
|
1374
|
+
# @example Response structure
|
1375
|
+
#
|
1376
|
+
# resp.tags #=> Hash
|
1377
|
+
# resp.tags["TagKey"] #=> String
|
1378
|
+
#
|
1379
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListTagsForResource AWS API Documentation
|
1380
|
+
#
|
1381
|
+
# @overload list_tags_for_resource(params = {})
|
1382
|
+
# @param [Hash] params ({})
|
1383
|
+
def list_tags_for_resource(params = {}, options = {})
|
1384
|
+
req = build_request(:list_tags_for_resource, params)
|
1385
|
+
req.send_request(options)
|
1386
|
+
end
|
1387
|
+
|
1250
1388
|
# Rejects an invitation to join a network. This action can be called by
|
1251
1389
|
# a principal in an AWS account that has received an invitation to
|
1252
1390
|
# create a member and join a network.
|
@@ -1273,6 +1411,104 @@ module Aws::ManagedBlockchain
|
|
1273
1411
|
req.send_request(options)
|
1274
1412
|
end
|
1275
1413
|
|
1414
|
+
# Adds or overwrites the specified tags for the specified Amazon Managed
|
1415
|
+
# Blockchain resource. Each tag consists of a key and optional value.
|
1416
|
+
#
|
1417
|
+
# When you specify a tag key that already exists, the tag value is
|
1418
|
+
# overwritten with the new value. Use `UntagResource` to remove tag
|
1419
|
+
# keys.
|
1420
|
+
#
|
1421
|
+
# A resource can have up to 50 tags. If you try to create more than 50
|
1422
|
+
# tags for a resource, your request fails and returns an error.
|
1423
|
+
#
|
1424
|
+
# For more information about tags, see [Tagging Resources][1] in the
|
1425
|
+
# *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
|
1426
|
+
# Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
|
1427
|
+
# Developer Guide*.
|
1428
|
+
#
|
1429
|
+
#
|
1430
|
+
#
|
1431
|
+
# [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
|
1432
|
+
# [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
|
1433
|
+
#
|
1434
|
+
# @option params [required, String] :resource_arn
|
1435
|
+
# The Amazon Resource Name (ARN) of the resource. For more information
|
1436
|
+
# about ARNs and their format, see [Amazon Resource Names (ARNs)][1] in
|
1437
|
+
# the *AWS General Reference*.
|
1438
|
+
#
|
1439
|
+
#
|
1440
|
+
#
|
1441
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1442
|
+
#
|
1443
|
+
# @option params [required, Hash<String,String>] :tags
|
1444
|
+
# The tags to assign to the specified resource. Tag values can be empty,
|
1445
|
+
# for example, `"MyTagKey" : ""`. You can specify multiple key-value
|
1446
|
+
# pairs in a single request, with an overall maximum of 50 tags added to
|
1447
|
+
# each resource.
|
1448
|
+
#
|
1449
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1450
|
+
#
|
1451
|
+
# @example Request syntax with placeholder values
|
1452
|
+
#
|
1453
|
+
# resp = client.tag_resource({
|
1454
|
+
# resource_arn: "ArnString", # required
|
1455
|
+
# tags: { # required
|
1456
|
+
# "TagKey" => "TagValue",
|
1457
|
+
# },
|
1458
|
+
# })
|
1459
|
+
#
|
1460
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/TagResource AWS API Documentation
|
1461
|
+
#
|
1462
|
+
# @overload tag_resource(params = {})
|
1463
|
+
# @param [Hash] params ({})
|
1464
|
+
def tag_resource(params = {}, options = {})
|
1465
|
+
req = build_request(:tag_resource, params)
|
1466
|
+
req.send_request(options)
|
1467
|
+
end
|
1468
|
+
|
1469
|
+
# Removes the specified tags from the Amazon Managed Blockchain
|
1470
|
+
# resource.
|
1471
|
+
#
|
1472
|
+
# For more information about tags, see [Tagging Resources][1] in the
|
1473
|
+
# *Amazon Managed Blockchain Ethereum Developer Guide*, or [Tagging
|
1474
|
+
# Resources][2] in the *Amazon Managed Blockchain Hyperledger Fabric
|
1475
|
+
# Developer Guide*.
|
1476
|
+
#
|
1477
|
+
#
|
1478
|
+
#
|
1479
|
+
# [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html
|
1480
|
+
# [2]: https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html
|
1481
|
+
#
|
1482
|
+
# @option params [required, String] :resource_arn
|
1483
|
+
# The Amazon Resource Name (ARN) of the resource. For more information
|
1484
|
+
# about ARNs and their format, see [Amazon Resource Names (ARNs)][1] in
|
1485
|
+
# the *AWS General Reference*.
|
1486
|
+
#
|
1487
|
+
#
|
1488
|
+
#
|
1489
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1490
|
+
#
|
1491
|
+
# @option params [required, Array<String>] :tag_keys
|
1492
|
+
# The tag keys.
|
1493
|
+
#
|
1494
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1495
|
+
#
|
1496
|
+
# @example Request syntax with placeholder values
|
1497
|
+
#
|
1498
|
+
# resp = client.untag_resource({
|
1499
|
+
# resource_arn: "ArnString", # required
|
1500
|
+
# tag_keys: ["TagKey"], # required
|
1501
|
+
# })
|
1502
|
+
#
|
1503
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UntagResource AWS API Documentation
|
1504
|
+
#
|
1505
|
+
# @overload untag_resource(params = {})
|
1506
|
+
# @param [Hash] params ({})
|
1507
|
+
def untag_resource(params = {}, options = {})
|
1508
|
+
req = build_request(:untag_resource, params)
|
1509
|
+
req.send_request(options)
|
1510
|
+
end
|
1511
|
+
|
1276
1512
|
# Updates a member configuration with new parameters.
|
1277
1513
|
#
|
1278
1514
|
# Applies only to Hyperledger Fabric.
|
@@ -1416,7 +1652,7 @@ module Aws::ManagedBlockchain
|
|
1416
1652
|
params: params,
|
1417
1653
|
config: config)
|
1418
1654
|
context[:gem_name] = 'aws-sdk-managedblockchain'
|
1419
|
-
context[:gem_version] = '1.
|
1655
|
+
context[:gem_version] = '1.23.0'
|
1420
1656
|
Seahorse::Client::Request.new(handlers, context)
|
1421
1657
|
end
|
1422
1658
|
|