aws-sdk-ecrpublic 1.0.0 → 1.4.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 +28 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-ecrpublic.rb +2 -2
- data/lib/aws-sdk-ecrpublic/client.rb +112 -2
- data/lib/aws-sdk-ecrpublic/client_api.rb +86 -1
- data/lib/aws-sdk-ecrpublic/errors.rb +33 -1
- data/lib/aws-sdk-ecrpublic/resource.rb +1 -1
- data/lib/aws-sdk-ecrpublic/types.rb +183 -2
- 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: f4bc7d610d744e7d021b24a4fad8f31c8e264d3b2a87bb5de7b7594ac62dc75c
|
4
|
+
data.tar.gz: 34201a62dbe7f564b8a4f46613a560243687a7b429dac0cdf7f1e19d1aca0fe8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df255c2ccc5e281fca3ed9bbd50adb2943f33144ddff4fd5be9c021638391d76f72e7c33688dccab3586d810690894dcbc62094702f438fdad53f496a5fed60d
|
7
|
+
data.tar.gz: 11be070244111190af44d94ee189ae194c8d0cc8c1ebab87fd103a3e3bdd2c7e8c1bc4d5721d5d889bca4660ee1469b1218ab3cec3029a7fc8910c0e090230f9
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.4.0 (2021-07-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.3.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.2.0 (2021-02-24)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release adds support for AWS tags on Amazon ECR Public repositories.
|
18
|
+
|
19
|
+
1.1.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.0.0 (2020-12-01)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Initial release of `aws-sdk-ecrpublic`.
|
28
|
+
|
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.4.0
|
data/lib/aws-sdk-ecrpublic.rb
CHANGED
@@ -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-ecrpublic/customizations'
|
|
48
48
|
# @!group service
|
49
49
|
module Aws::ECRPublic
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.4.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
|
|
@@ -538,6 +538,13 @@ module Aws::ECRPublic
|
|
538
538
|
# The details about the repository that are publicly visible in the
|
539
539
|
# Amazon ECR Public Gallery.
|
540
540
|
#
|
541
|
+
# @option params [Array<Types::Tag>] :tags
|
542
|
+
# The metadata that you apply to the repository to help you categorize
|
543
|
+
# and organize them. Each tag consists of a key and an optional value,
|
544
|
+
# both of which you define. Tag keys can have a maximum character length
|
545
|
+
# of 128 characters, and tag values can have a maximum length of 256
|
546
|
+
# characters.
|
547
|
+
#
|
541
548
|
# @return [Types::CreateRepositoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
542
549
|
#
|
543
550
|
# * {Types::CreateRepositoryResponse#repository #repository} => Types::Repository
|
@@ -555,6 +562,12 @@ module Aws::ECRPublic
|
|
555
562
|
# about_text: "AboutText",
|
556
563
|
# usage_text: "UsageText",
|
557
564
|
# },
|
565
|
+
# tags: [
|
566
|
+
# {
|
567
|
+
# key: "TagKey",
|
568
|
+
# value: "TagValue",
|
569
|
+
# },
|
570
|
+
# ],
|
558
571
|
# })
|
559
572
|
#
|
560
573
|
# @example Response structure
|
@@ -1129,6 +1142,38 @@ module Aws::ECRPublic
|
|
1129
1142
|
req.send_request(options)
|
1130
1143
|
end
|
1131
1144
|
|
1145
|
+
# List the tags for an Amazon ECR Public resource.
|
1146
|
+
#
|
1147
|
+
# @option params [required, String] :resource_arn
|
1148
|
+
# The Amazon Resource Name (ARN) that identifies the resource for which
|
1149
|
+
# to list the tags. Currently, the supported resource is an Amazon ECR
|
1150
|
+
# Public repository.
|
1151
|
+
#
|
1152
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1153
|
+
#
|
1154
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Array<Types::Tag>
|
1155
|
+
#
|
1156
|
+
# @example Request syntax with placeholder values
|
1157
|
+
#
|
1158
|
+
# resp = client.list_tags_for_resource({
|
1159
|
+
# resource_arn: "Arn", # required
|
1160
|
+
# })
|
1161
|
+
#
|
1162
|
+
# @example Response structure
|
1163
|
+
#
|
1164
|
+
# resp.tags #=> Array
|
1165
|
+
# resp.tags[0].key #=> String
|
1166
|
+
# resp.tags[0].value #=> String
|
1167
|
+
#
|
1168
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/ListTagsForResource AWS API Documentation
|
1169
|
+
#
|
1170
|
+
# @overload list_tags_for_resource(params = {})
|
1171
|
+
# @param [Hash] params ({})
|
1172
|
+
def list_tags_for_resource(params = {}, options = {})
|
1173
|
+
req = build_request(:list_tags_for_resource, params)
|
1174
|
+
req.send_request(options)
|
1175
|
+
end
|
1176
|
+
|
1132
1177
|
# Creates or updates the image manifest and tags associated with an
|
1133
1178
|
# image.
|
1134
1179
|
#
|
@@ -1350,6 +1395,71 @@ module Aws::ECRPublic
|
|
1350
1395
|
req.send_request(options)
|
1351
1396
|
end
|
1352
1397
|
|
1398
|
+
# Associates the specified tags to a resource with the specified
|
1399
|
+
# `resourceArn`. If existing tags on a resource are not specified in the
|
1400
|
+
# request parameters, they are not changed. When a resource is deleted,
|
1401
|
+
# the tags associated with that resource are deleted as well.
|
1402
|
+
#
|
1403
|
+
# @option params [required, String] :resource_arn
|
1404
|
+
# The Amazon Resource Name (ARN) of the resource to which to add tags.
|
1405
|
+
# Currently, the supported resource is an Amazon ECR Public repository.
|
1406
|
+
#
|
1407
|
+
# @option params [required, Array<Types::Tag>] :tags
|
1408
|
+
# The tags to add to the resource. A tag is an array of key-value pairs.
|
1409
|
+
# Tag keys can have a maximum character length of 128 characters, and
|
1410
|
+
# tag values can have a maximum length of 256 characters.
|
1411
|
+
#
|
1412
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1413
|
+
#
|
1414
|
+
# @example Request syntax with placeholder values
|
1415
|
+
#
|
1416
|
+
# resp = client.tag_resource({
|
1417
|
+
# resource_arn: "Arn", # required
|
1418
|
+
# tags: [ # required
|
1419
|
+
# {
|
1420
|
+
# key: "TagKey",
|
1421
|
+
# value: "TagValue",
|
1422
|
+
# },
|
1423
|
+
# ],
|
1424
|
+
# })
|
1425
|
+
#
|
1426
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/TagResource AWS API Documentation
|
1427
|
+
#
|
1428
|
+
# @overload tag_resource(params = {})
|
1429
|
+
# @param [Hash] params ({})
|
1430
|
+
def tag_resource(params = {}, options = {})
|
1431
|
+
req = build_request(:tag_resource, params)
|
1432
|
+
req.send_request(options)
|
1433
|
+
end
|
1434
|
+
|
1435
|
+
# Deletes specified tags from a resource.
|
1436
|
+
#
|
1437
|
+
# @option params [required, String] :resource_arn
|
1438
|
+
# The Amazon Resource Name (ARN) of the resource from which to delete
|
1439
|
+
# tags. Currently, the supported resource is an Amazon ECR Public
|
1440
|
+
# repository.
|
1441
|
+
#
|
1442
|
+
# @option params [required, Array<String>] :tag_keys
|
1443
|
+
# The keys of the tags to be removed.
|
1444
|
+
#
|
1445
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1446
|
+
#
|
1447
|
+
# @example Request syntax with placeholder values
|
1448
|
+
#
|
1449
|
+
# resp = client.untag_resource({
|
1450
|
+
# resource_arn: "Arn", # required
|
1451
|
+
# tag_keys: ["TagKey"], # required
|
1452
|
+
# })
|
1453
|
+
#
|
1454
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/UntagResource AWS API Documentation
|
1455
|
+
#
|
1456
|
+
# @overload untag_resource(params = {})
|
1457
|
+
# @param [Hash] params ({})
|
1458
|
+
def untag_resource(params = {}, options = {})
|
1459
|
+
req = build_request(:untag_resource, params)
|
1460
|
+
req.send_request(options)
|
1461
|
+
end
|
1462
|
+
|
1353
1463
|
# Uploads an image layer part to Amazon ECR.
|
1354
1464
|
#
|
1355
1465
|
# When an image is pushed, each new image layer is uploaded in parts.
|
@@ -1433,7 +1543,7 @@ module Aws::ECRPublic
|
|
1433
1543
|
params: params,
|
1434
1544
|
config: config)
|
1435
1545
|
context[:gem_name] = 'aws-sdk-ecrpublic'
|
1436
|
-
context[:gem_version] = '1.
|
1546
|
+
context[:gem_version] = '1.4.0'
|
1437
1547
|
Seahorse::Client::Request.new(handlers, context)
|
1438
1548
|
end
|
1439
1549
|
|
@@ -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
|
|
@@ -80,6 +80,7 @@ module Aws::ECRPublic
|
|
80
80
|
InvalidLayerException = Shapes::StructureShape.new(name: 'InvalidLayerException')
|
81
81
|
InvalidLayerPartException = Shapes::StructureShape.new(name: 'InvalidLayerPartException')
|
82
82
|
InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
|
83
|
+
InvalidTagParameterException = Shapes::StructureShape.new(name: 'InvalidTagParameterException')
|
83
84
|
Layer = Shapes::StructureShape.new(name: 'Layer')
|
84
85
|
LayerAlreadyExistsException = Shapes::StructureShape.new(name: 'LayerAlreadyExistsException')
|
85
86
|
LayerAvailability = Shapes::StringShape.new(name: 'LayerAvailability')
|
@@ -95,6 +96,8 @@ module Aws::ECRPublic
|
|
95
96
|
LayerSizeInBytes = Shapes::IntegerShape.new(name: 'LayerSizeInBytes')
|
96
97
|
LayersNotFoundException = Shapes::StructureShape.new(name: 'LayersNotFoundException')
|
97
98
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
99
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
100
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
98
101
|
LogoImageBlob = Shapes::BlobShape.new(name: 'LogoImageBlob')
|
99
102
|
MarketplaceCertified = Shapes::BooleanShape.new(name: 'MarketplaceCertified')
|
100
103
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
@@ -141,7 +144,17 @@ module Aws::ECRPublic
|
|
141
144
|
ServerException = Shapes::StructureShape.new(name: 'ServerException')
|
142
145
|
SetRepositoryPolicyRequest = Shapes::StructureShape.new(name: 'SetRepositoryPolicyRequest')
|
143
146
|
SetRepositoryPolicyResponse = Shapes::StructureShape.new(name: 'SetRepositoryPolicyResponse')
|
147
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
148
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
149
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
150
|
+
TagList = Shapes::ListShape.new(name: 'TagList')
|
151
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
152
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
153
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
154
|
+
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
144
155
|
UnsupportedCommandException = Shapes::StructureShape.new(name: 'UnsupportedCommandException')
|
156
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
157
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
145
158
|
UploadId = Shapes::StringShape.new(name: 'UploadId')
|
146
159
|
UploadLayerPartRequest = Shapes::StructureShape.new(name: 'UploadLayerPartRequest')
|
147
160
|
UploadLayerPartResponse = Shapes::StructureShape.new(name: 'UploadLayerPartResponse')
|
@@ -189,6 +202,7 @@ module Aws::ECRPublic
|
|
189
202
|
|
190
203
|
CreateRepositoryRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
191
204
|
CreateRepositoryRequest.add_member(:catalog_data, Shapes::ShapeRef.new(shape: RepositoryCatalogDataInput, location_name: "catalogData"))
|
205
|
+
CreateRepositoryRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
192
206
|
CreateRepositoryRequest.struct_class = Types::CreateRepositoryRequest
|
193
207
|
|
194
208
|
CreateRepositoryResponse.add_member(:repository, Shapes::ShapeRef.new(shape: Repository, location_name: "repository"))
|
@@ -354,6 +368,9 @@ module Aws::ECRPublic
|
|
354
368
|
InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
355
369
|
InvalidParameterException.struct_class = Types::InvalidParameterException
|
356
370
|
|
371
|
+
InvalidTagParameterException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
372
|
+
InvalidTagParameterException.struct_class = Types::InvalidTagParameterException
|
373
|
+
|
357
374
|
Layer.add_member(:layer_digest, Shapes::ShapeRef.new(shape: LayerDigest, location_name: "layerDigest"))
|
358
375
|
Layer.add_member(:layer_availability, Shapes::ShapeRef.new(shape: LayerAvailability, location_name: "layerAvailability"))
|
359
376
|
Layer.add_member(:layer_size, Shapes::ShapeRef.new(shape: LayerSizeInBytes, location_name: "layerSize"))
|
@@ -383,6 +400,12 @@ module Aws::ECRPublic
|
|
383
400
|
LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
384
401
|
LimitExceededException.struct_class = Types::LimitExceededException
|
385
402
|
|
403
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
|
404
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
405
|
+
|
406
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
407
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
408
|
+
|
386
409
|
OperatingSystemList.member = Shapes::ShapeRef.new(shape: OperatingSystem)
|
387
410
|
|
388
411
|
PutImageRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryIdOrAlias, location_name: "registryId"))
|
@@ -497,9 +520,32 @@ module Aws::ECRPublic
|
|
497
520
|
SetRepositoryPolicyResponse.add_member(:policy_text, Shapes::ShapeRef.new(shape: RepositoryPolicyText, location_name: "policyText"))
|
498
521
|
SetRepositoryPolicyResponse.struct_class = Types::SetRepositoryPolicyResponse
|
499
522
|
|
523
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, location_name: "Key"))
|
524
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
|
525
|
+
Tag.struct_class = Types::Tag
|
526
|
+
|
527
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
528
|
+
|
529
|
+
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
530
|
+
|
531
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
|
532
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "tags"))
|
533
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
534
|
+
|
535
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
536
|
+
|
537
|
+
TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
538
|
+
TooManyTagsException.struct_class = Types::TooManyTagsException
|
539
|
+
|
500
540
|
UnsupportedCommandException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
501
541
|
UnsupportedCommandException.struct_class = Types::UnsupportedCommandException
|
502
542
|
|
543
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
|
544
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "tagKeys"))
|
545
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
546
|
+
|
547
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
548
|
+
|
503
549
|
UploadLayerPartRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryIdOrAlias, location_name: "registryId"))
|
504
550
|
UploadLayerPartRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
505
551
|
UploadLayerPartRequest.add_member(:upload_id, Shapes::ShapeRef.new(shape: UploadId, required: true, location_name: "uploadId"))
|
@@ -586,6 +632,8 @@ module Aws::ECRPublic
|
|
586
632
|
o.output = Shapes::ShapeRef.new(shape: CreateRepositoryResponse)
|
587
633
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
588
634
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
635
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTagParameterException)
|
636
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
589
637
|
o.errors << Shapes::ShapeRef.new(shape: RepositoryAlreadyExistsException)
|
590
638
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
591
639
|
end)
|
@@ -739,6 +787,17 @@ module Aws::ECRPublic
|
|
739
787
|
o.errors << Shapes::ShapeRef.new(shape: UnsupportedCommandException)
|
740
788
|
end)
|
741
789
|
|
790
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
791
|
+
o.name = "ListTagsForResource"
|
792
|
+
o.http_method = "POST"
|
793
|
+
o.http_request_uri = "/"
|
794
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
795
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
796
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
797
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
|
798
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
799
|
+
end)
|
800
|
+
|
742
801
|
api.add_operation(:put_image, Seahorse::Model::Operation.new.tap do |o|
|
743
802
|
o.name = "PutImage"
|
744
803
|
o.http_method = "POST"
|
@@ -791,6 +850,32 @@ module Aws::ECRPublic
|
|
791
850
|
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
|
792
851
|
end)
|
793
852
|
|
853
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
854
|
+
o.name = "TagResource"
|
855
|
+
o.http_method = "POST"
|
856
|
+
o.http_request_uri = "/"
|
857
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
858
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
859
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
860
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTagParameterException)
|
861
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
862
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
|
863
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
864
|
+
end)
|
865
|
+
|
866
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
867
|
+
o.name = "UntagResource"
|
868
|
+
o.http_method = "POST"
|
869
|
+
o.http_request_uri = "/"
|
870
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
871
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
872
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
873
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTagParameterException)
|
874
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
875
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
|
876
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
877
|
+
end)
|
878
|
+
|
794
879
|
api.add_operation(:upload_layer_part, Seahorse::Model::Operation.new.tap do |o|
|
795
880
|
o.name = "UploadLayerPart"
|
796
881
|
o.http_method = "POST"
|
@@ -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
|
|
@@ -35,6 +35,7 @@ module Aws::ECRPublic
|
|
35
35
|
# * {InvalidLayerException}
|
36
36
|
# * {InvalidLayerPartException}
|
37
37
|
# * {InvalidParameterException}
|
38
|
+
# * {InvalidTagParameterException}
|
38
39
|
# * {LayerAlreadyExistsException}
|
39
40
|
# * {LayerPartTooSmallException}
|
40
41
|
# * {LayersNotFoundException}
|
@@ -46,6 +47,7 @@ module Aws::ECRPublic
|
|
46
47
|
# * {RepositoryNotFoundException}
|
47
48
|
# * {RepositoryPolicyNotFoundException}
|
48
49
|
# * {ServerException}
|
50
|
+
# * {TooManyTagsException}
|
49
51
|
# * {UnsupportedCommandException}
|
50
52
|
# * {UploadNotFoundException}
|
51
53
|
#
|
@@ -195,6 +197,21 @@ module Aws::ECRPublic
|
|
195
197
|
end
|
196
198
|
end
|
197
199
|
|
200
|
+
class InvalidTagParameterException < ServiceError
|
201
|
+
|
202
|
+
# @param [Seahorse::Client::RequestContext] context
|
203
|
+
# @param [String] message
|
204
|
+
# @param [Aws::ECRPublic::Types::InvalidTagParameterException] data
|
205
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
206
|
+
super(context, message, data)
|
207
|
+
end
|
208
|
+
|
209
|
+
# @return [String]
|
210
|
+
def message
|
211
|
+
@message || @data[:message]
|
212
|
+
end
|
213
|
+
end
|
214
|
+
|
198
215
|
class LayerAlreadyExistsException < ServiceError
|
199
216
|
|
200
217
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -360,6 +377,21 @@ module Aws::ECRPublic
|
|
360
377
|
end
|
361
378
|
end
|
362
379
|
|
380
|
+
class TooManyTagsException < ServiceError
|
381
|
+
|
382
|
+
# @param [Seahorse::Client::RequestContext] context
|
383
|
+
# @param [String] message
|
384
|
+
# @param [Aws::ECRPublic::Types::TooManyTagsException] data
|
385
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
386
|
+
super(context, message, data)
|
387
|
+
end
|
388
|
+
|
389
|
+
# @return [String]
|
390
|
+
def message
|
391
|
+
@message || @data[:message]
|
392
|
+
end
|
393
|
+
end
|
394
|
+
|
363
395
|
class UnsupportedCommandException < ServiceError
|
364
396
|
|
365
397
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -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
|
|
@@ -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
|
|
@@ -225,6 +225,12 @@ module Aws::ECRPublic
|
|
225
225
|
# about_text: "AboutText",
|
226
226
|
# usage_text: "UsageText",
|
227
227
|
# },
|
228
|
+
# tags: [
|
229
|
+
# {
|
230
|
+
# key: "TagKey",
|
231
|
+
# value: "TagValue",
|
232
|
+
# },
|
233
|
+
# ],
|
228
234
|
# }
|
229
235
|
#
|
230
236
|
# @!attribute [rw] repository_name
|
@@ -240,11 +246,20 @@ module Aws::ECRPublic
|
|
240
246
|
# Amazon ECR Public Gallery.
|
241
247
|
# @return [Types::RepositoryCatalogDataInput]
|
242
248
|
#
|
249
|
+
# @!attribute [rw] tags
|
250
|
+
# The metadata that you apply to the repository to help you categorize
|
251
|
+
# and organize them. Each tag consists of a key and an optional value,
|
252
|
+
# both of which you define. Tag keys can have a maximum character
|
253
|
+
# length of 128 characters, and tag values can have a maximum length
|
254
|
+
# of 256 characters.
|
255
|
+
# @return [Array<Types::Tag>]
|
256
|
+
#
|
243
257
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/CreateRepositoryRequest AWS API Documentation
|
244
258
|
#
|
245
259
|
class CreateRepositoryRequest < Struct.new(
|
246
260
|
:repository_name,
|
247
|
-
:catalog_data
|
261
|
+
:catalog_data,
|
262
|
+
:tags)
|
248
263
|
SENSITIVE = []
|
249
264
|
include Aws::Structure
|
250
265
|
end
|
@@ -1146,6 +1161,21 @@ module Aws::ECRPublic
|
|
1146
1161
|
include Aws::Structure
|
1147
1162
|
end
|
1148
1163
|
|
1164
|
+
# An invalid parameter has been specified. Tag keys can have a maximum
|
1165
|
+
# character length of 128 characters, and tag values can have a maximum
|
1166
|
+
# length of 256 characters.
|
1167
|
+
#
|
1168
|
+
# @!attribute [rw] message
|
1169
|
+
# @return [String]
|
1170
|
+
#
|
1171
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/InvalidTagParameterException AWS API Documentation
|
1172
|
+
#
|
1173
|
+
class InvalidTagParameterException < Struct.new(
|
1174
|
+
:message)
|
1175
|
+
SENSITIVE = []
|
1176
|
+
include Aws::Structure
|
1177
|
+
end
|
1178
|
+
|
1149
1179
|
# An object representing an Amazon ECR image layer.
|
1150
1180
|
#
|
1151
1181
|
# @!attribute [rw] layer_digest
|
@@ -1260,6 +1290,39 @@ module Aws::ECRPublic
|
|
1260
1290
|
include Aws::Structure
|
1261
1291
|
end
|
1262
1292
|
|
1293
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
1294
|
+
# data as a hash:
|
1295
|
+
#
|
1296
|
+
# {
|
1297
|
+
# resource_arn: "Arn", # required
|
1298
|
+
# }
|
1299
|
+
#
|
1300
|
+
# @!attribute [rw] resource_arn
|
1301
|
+
# The Amazon Resource Name (ARN) that identifies the resource for
|
1302
|
+
# which to list the tags. Currently, the supported resource is an
|
1303
|
+
# Amazon ECR Public repository.
|
1304
|
+
# @return [String]
|
1305
|
+
#
|
1306
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/ListTagsForResourceRequest AWS API Documentation
|
1307
|
+
#
|
1308
|
+
class ListTagsForResourceRequest < Struct.new(
|
1309
|
+
:resource_arn)
|
1310
|
+
SENSITIVE = []
|
1311
|
+
include Aws::Structure
|
1312
|
+
end
|
1313
|
+
|
1314
|
+
# @!attribute [rw] tags
|
1315
|
+
# The tags for the resource.
|
1316
|
+
# @return [Array<Types::Tag>]
|
1317
|
+
#
|
1318
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/ListTagsForResourceResponse AWS API Documentation
|
1319
|
+
#
|
1320
|
+
class ListTagsForResourceResponse < Struct.new(
|
1321
|
+
:tags)
|
1322
|
+
SENSITIVE = []
|
1323
|
+
include Aws::Structure
|
1324
|
+
end
|
1325
|
+
|
1263
1326
|
# @note When making an API call, you may pass PutImageRequest
|
1264
1327
|
# data as a hash:
|
1265
1328
|
#
|
@@ -1931,6 +1994,93 @@ module Aws::ECRPublic
|
|
1931
1994
|
include Aws::Structure
|
1932
1995
|
end
|
1933
1996
|
|
1997
|
+
# The metadata that you apply to a resource to help you categorize and
|
1998
|
+
# organize them. Each tag consists of a key and an optional value, both
|
1999
|
+
# of which you define. Tag keys can have a maximum character length of
|
2000
|
+
# 128 characters, and tag values can have a maximum length of 256
|
2001
|
+
# characters.
|
2002
|
+
#
|
2003
|
+
# @note When making an API call, you may pass Tag
|
2004
|
+
# data as a hash:
|
2005
|
+
#
|
2006
|
+
# {
|
2007
|
+
# key: "TagKey",
|
2008
|
+
# value: "TagValue",
|
2009
|
+
# }
|
2010
|
+
#
|
2011
|
+
# @!attribute [rw] key
|
2012
|
+
# One part of a key-value pair that make up a tag. A `key` is a
|
2013
|
+
# general label that acts like a category for more specific tag
|
2014
|
+
# values.
|
2015
|
+
# @return [String]
|
2016
|
+
#
|
2017
|
+
# @!attribute [rw] value
|
2018
|
+
# The optional part of a key-value pair that make up a tag. A `value`
|
2019
|
+
# acts as a descriptor within a tag category (key).
|
2020
|
+
# @return [String]
|
2021
|
+
#
|
2022
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/Tag AWS API Documentation
|
2023
|
+
#
|
2024
|
+
class Tag < Struct.new(
|
2025
|
+
:key,
|
2026
|
+
:value)
|
2027
|
+
SENSITIVE = []
|
2028
|
+
include Aws::Structure
|
2029
|
+
end
|
2030
|
+
|
2031
|
+
# @note When making an API call, you may pass TagResourceRequest
|
2032
|
+
# data as a hash:
|
2033
|
+
#
|
2034
|
+
# {
|
2035
|
+
# resource_arn: "Arn", # required
|
2036
|
+
# tags: [ # required
|
2037
|
+
# {
|
2038
|
+
# key: "TagKey",
|
2039
|
+
# value: "TagValue",
|
2040
|
+
# },
|
2041
|
+
# ],
|
2042
|
+
# }
|
2043
|
+
#
|
2044
|
+
# @!attribute [rw] resource_arn
|
2045
|
+
# The Amazon Resource Name (ARN) of the resource to which to add tags.
|
2046
|
+
# Currently, the supported resource is an Amazon ECR Public
|
2047
|
+
# repository.
|
2048
|
+
# @return [String]
|
2049
|
+
#
|
2050
|
+
# @!attribute [rw] tags
|
2051
|
+
# The tags to add to the resource. A tag is an array of key-value
|
2052
|
+
# pairs. Tag keys can have a maximum character length of 128
|
2053
|
+
# characters, and tag values can have a maximum length of 256
|
2054
|
+
# characters.
|
2055
|
+
# @return [Array<Types::Tag>]
|
2056
|
+
#
|
2057
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/TagResourceRequest AWS API Documentation
|
2058
|
+
#
|
2059
|
+
class TagResourceRequest < Struct.new(
|
2060
|
+
:resource_arn,
|
2061
|
+
:tags)
|
2062
|
+
SENSITIVE = []
|
2063
|
+
include Aws::Structure
|
2064
|
+
end
|
2065
|
+
|
2066
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/TagResourceResponse AWS API Documentation
|
2067
|
+
#
|
2068
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
2069
|
+
|
2070
|
+
# The list of tags on the repository is over the limit. The maximum
|
2071
|
+
# number of tags that can be applied to a repository is 50.
|
2072
|
+
#
|
2073
|
+
# @!attribute [rw] message
|
2074
|
+
# @return [String]
|
2075
|
+
#
|
2076
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/TooManyTagsException AWS API Documentation
|
2077
|
+
#
|
2078
|
+
class TooManyTagsException < Struct.new(
|
2079
|
+
:message)
|
2080
|
+
SENSITIVE = []
|
2081
|
+
include Aws::Structure
|
2082
|
+
end
|
2083
|
+
|
1934
2084
|
# The action is not supported in this Region.
|
1935
2085
|
#
|
1936
2086
|
# @!attribute [rw] message
|
@@ -1944,6 +2094,37 @@ module Aws::ECRPublic
|
|
1944
2094
|
include Aws::Structure
|
1945
2095
|
end
|
1946
2096
|
|
2097
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
2098
|
+
# data as a hash:
|
2099
|
+
#
|
2100
|
+
# {
|
2101
|
+
# resource_arn: "Arn", # required
|
2102
|
+
# tag_keys: ["TagKey"], # required
|
2103
|
+
# }
|
2104
|
+
#
|
2105
|
+
# @!attribute [rw] resource_arn
|
2106
|
+
# The Amazon Resource Name (ARN) of the resource from which to delete
|
2107
|
+
# tags. Currently, the supported resource is an Amazon ECR Public
|
2108
|
+
# repository.
|
2109
|
+
# @return [String]
|
2110
|
+
#
|
2111
|
+
# @!attribute [rw] tag_keys
|
2112
|
+
# The keys of the tags to be removed.
|
2113
|
+
# @return [Array<String>]
|
2114
|
+
#
|
2115
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/UntagResourceRequest AWS API Documentation
|
2116
|
+
#
|
2117
|
+
class UntagResourceRequest < Struct.new(
|
2118
|
+
:resource_arn,
|
2119
|
+
:tag_keys)
|
2120
|
+
SENSITIVE = []
|
2121
|
+
include Aws::Structure
|
2122
|
+
end
|
2123
|
+
|
2124
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/UntagResourceResponse AWS API Documentation
|
2125
|
+
#
|
2126
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
2127
|
+
|
1947
2128
|
# @note When making an API call, you may pass UploadLayerPartRequest
|
1948
2129
|
# data as a hash:
|
1949
2130
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ecrpublic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.118.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.118.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -47,11 +47,14 @@ dependencies:
|
|
47
47
|
description: Official AWS Ruby gem for Amazon Elastic Container Registry Public (Amazon
|
48
48
|
ECR Public). This gem is part of the AWS SDK for Ruby.
|
49
49
|
email:
|
50
|
-
-
|
50
|
+
- aws-dr-rubygems@amazon.com
|
51
51
|
executables: []
|
52
52
|
extensions: []
|
53
53
|
extra_rdoc_files: []
|
54
54
|
files:
|
55
|
+
- CHANGELOG.md
|
56
|
+
- LICENSE.txt
|
57
|
+
- VERSION
|
55
58
|
- lib/aws-sdk-ecrpublic.rb
|
56
59
|
- lib/aws-sdk-ecrpublic/client.rb
|
57
60
|
- lib/aws-sdk-ecrpublic/client_api.rb
|
@@ -63,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
|
|
63
66
|
licenses:
|
64
67
|
- Apache-2.0
|
65
68
|
metadata:
|
66
|
-
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
67
|
-
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
69
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ecrpublic
|
70
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ecrpublic/CHANGELOG.md
|
68
71
|
post_install_message:
|
69
72
|
rdoc_options: []
|
70
73
|
require_paths:
|
@@ -80,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
83
|
- !ruby/object:Gem::Version
|
81
84
|
version: '0'
|
82
85
|
requirements: []
|
83
|
-
|
84
|
-
rubygems_version: 2.7.6.2
|
86
|
+
rubygems_version: 3.1.6
|
85
87
|
signing_key:
|
86
88
|
specification_version: 4
|
87
89
|
summary: AWS SDK for Ruby - Amazon ECR Public
|