aws-sdk-ecr 1.0.0.rc1 → 1.0.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ecr.rb +1 -1
- data/lib/aws-sdk-ecr/client.rb +1032 -874
- data/lib/aws-sdk-ecr/client_api.rb +586 -581
- data/lib/aws-sdk-ecr/errors.rb +4 -13
- data/lib/aws-sdk-ecr/resource.rb +12 -14
- data/lib/aws-sdk-ecr/types.rb +1140 -1043
- metadata +2 -2
data/lib/aws-sdk-ecr/errors.rb
CHANGED
@@ -1,23 +1,14 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
4
|
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
5
|
#
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
|
-
module Aws
|
9
|
-
module
|
10
|
-
module Errors
|
8
|
+
module Aws::ECR
|
9
|
+
module Errors
|
11
10
|
|
12
|
-
|
11
|
+
extend Aws::Errors::DynamicErrors
|
13
12
|
|
14
|
-
# Raised when calling #load or #data on a resource class that can not be
|
15
|
-
# loaded. This can happen when:
|
16
|
-
#
|
17
|
-
# * A resource class has identifiers, but no data attributes.
|
18
|
-
# * Resource data is only available when making an API call that
|
19
|
-
# enumerates all resources of that type.
|
20
|
-
class ResourceNotLoadable < RuntimeError; end
|
21
|
-
end
|
22
13
|
end
|
23
14
|
end
|
data/lib/aws-sdk-ecr/resource.rb
CHANGED
@@ -1,25 +1,23 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
4
|
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
5
|
#
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
|
-
module Aws
|
9
|
-
|
10
|
-
class Resource
|
8
|
+
module Aws::ECR
|
9
|
+
class Resource
|
11
10
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
# @return [Client]
|
19
|
-
def client
|
20
|
-
@client
|
21
|
-
end
|
11
|
+
# @param options ({})
|
12
|
+
# @option options [Client] :client
|
13
|
+
def initialize(options = {})
|
14
|
+
@client = options[:client] || Client.new(options)
|
15
|
+
end
|
22
16
|
|
17
|
+
# @return [Client]
|
18
|
+
def client
|
19
|
+
@client
|
23
20
|
end
|
21
|
+
|
24
22
|
end
|
25
23
|
end
|
data/lib/aws-sdk-ecr/types.rb
CHANGED
@@ -1,1096 +1,1193 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
4
|
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
5
|
#
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
|
-
module Aws
|
9
|
-
module
|
10
|
-
module Types
|
8
|
+
module Aws::ECR
|
9
|
+
module Types
|
11
10
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
# data as a hash:
|
40
|
-
#
|
41
|
-
# {
|
42
|
-
# registry_id: "RegistryId",
|
43
|
-
# repository_name: "RepositoryName", # required
|
44
|
-
# layer_digests: ["BatchedOperationLayerDigest"], # required
|
45
|
-
# }
|
46
|
-
# @!attribute [rw] registry_id
|
47
|
-
# The AWS account ID associated with the registry that contains the
|
48
|
-
# image layers to check. If you do not specify a registry, the default
|
49
|
-
# registry is assumed.
|
50
|
-
# @return [String]
|
51
|
-
#
|
52
|
-
# @!attribute [rw] repository_name
|
53
|
-
# The name of the repository that is associated with the image layers
|
54
|
-
# to check.
|
55
|
-
# @return [String]
|
56
|
-
#
|
57
|
-
# @!attribute [rw] layer_digests
|
58
|
-
# The digests of the image layers to check.
|
59
|
-
# @return [Array<String>]
|
60
|
-
class BatchCheckLayerAvailabilityRequest < Struct.new(
|
61
|
-
:registry_id,
|
62
|
-
:repository_name,
|
63
|
-
:layer_digests)
|
64
|
-
include Aws::Structure
|
65
|
-
end
|
11
|
+
# An object representing authorization data for an Amazon ECR registry.
|
12
|
+
#
|
13
|
+
# @!attribute [rw] authorization_token
|
14
|
+
# A base64-encoded string that contains authorization data for the
|
15
|
+
# specified Amazon ECR registry. When the string is decoded, it is
|
16
|
+
# presented in the format `user:password` for private registry
|
17
|
+
# authentication using `docker login`.
|
18
|
+
# @return [String]
|
19
|
+
#
|
20
|
+
# @!attribute [rw] expires_at
|
21
|
+
# The Unix time in seconds and milliseconds when the authorization
|
22
|
+
# token expires. Authorization tokens are valid for 12 hours.
|
23
|
+
# @return [Time]
|
24
|
+
#
|
25
|
+
# @!attribute [rw] proxy_endpoint
|
26
|
+
# The registry URL to use for this authorization token in a `docker
|
27
|
+
# login` command. The Amazon ECR registry URL format is
|
28
|
+
# `https://aws_account_id.dkr.ecr.region.amazonaws.com`. For example,
|
29
|
+
# `https://012345678910.dkr.ecr.us-east-1.amazonaws.com`..
|
30
|
+
# @return [String]
|
31
|
+
#
|
32
|
+
class AuthorizationData < Struct.new(
|
33
|
+
:authorization_token,
|
34
|
+
:expires_at,
|
35
|
+
:proxy_endpoint)
|
36
|
+
include Aws::Structure
|
37
|
+
end
|
66
38
|
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
39
|
+
# @note When making an API call, you may pass BatchCheckLayerAvailabilityRequest
|
40
|
+
# data as a hash:
|
41
|
+
#
|
42
|
+
# {
|
43
|
+
# registry_id: "RegistryId",
|
44
|
+
# repository_name: "RepositoryName", # required
|
45
|
+
# layer_digests: ["BatchedOperationLayerDigest"], # required
|
46
|
+
# }
|
47
|
+
#
|
48
|
+
# @!attribute [rw] registry_id
|
49
|
+
# The AWS account ID associated with the registry that contains the
|
50
|
+
# image layers to check. If you do not specify a registry, the default
|
51
|
+
# registry is assumed.
|
52
|
+
# @return [String]
|
53
|
+
#
|
54
|
+
# @!attribute [rw] repository_name
|
55
|
+
# The name of the repository that is associated with the image layers
|
56
|
+
# to check.
|
57
|
+
# @return [String]
|
58
|
+
#
|
59
|
+
# @!attribute [rw] layer_digests
|
60
|
+
# The digests of the image layers to check.
|
61
|
+
# @return [Array<String>]
|
62
|
+
#
|
63
|
+
class BatchCheckLayerAvailabilityRequest < Struct.new(
|
64
|
+
:registry_id,
|
65
|
+
:repository_name,
|
66
|
+
:layer_digests)
|
67
|
+
include Aws::Structure
|
68
|
+
end
|
80
69
|
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
# }
|
96
|
-
# @!attribute [rw] registry_id
|
97
|
-
# The AWS account ID associated with the registry that contains the
|
98
|
-
# image to delete. If you do not specify a registry, the default
|
99
|
-
# registry is assumed.
|
100
|
-
# @return [String]
|
101
|
-
#
|
102
|
-
# @!attribute [rw] repository_name
|
103
|
-
# The repository that contains the image to delete.
|
104
|
-
# @return [String]
|
105
|
-
#
|
106
|
-
# @!attribute [rw] image_ids
|
107
|
-
# A list of image ID references that correspond to images to delete.
|
108
|
-
# The format of the `imageIds` reference is `imageTag=tag` or
|
109
|
-
# `imageDigest=digest`.
|
110
|
-
# @return [Array<Types::ImageIdentifier>]
|
111
|
-
class BatchDeleteImageRequest < Struct.new(
|
112
|
-
:registry_id,
|
113
|
-
:repository_name,
|
114
|
-
:image_ids)
|
115
|
-
include Aws::Structure
|
116
|
-
end
|
70
|
+
# @!attribute [rw] layers
|
71
|
+
# A list of image layer objects corresponding to the image layer
|
72
|
+
# references in the request.
|
73
|
+
# @return [Array<Types::Layer>]
|
74
|
+
#
|
75
|
+
# @!attribute [rw] failures
|
76
|
+
# Any failures associated with the call.
|
77
|
+
# @return [Array<Types::LayerFailure>]
|
78
|
+
#
|
79
|
+
class BatchCheckLayerAvailabilityResponse < Struct.new(
|
80
|
+
:layers,
|
81
|
+
:failures)
|
82
|
+
include Aws::Structure
|
83
|
+
end
|
117
84
|
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
85
|
+
# Deletes specified images within a specified repository. Images are
|
86
|
+
# specified with either the `imageTag` or `imageDigest`.
|
87
|
+
#
|
88
|
+
# @note When making an API call, you may pass BatchDeleteImageRequest
|
89
|
+
# data as a hash:
|
90
|
+
#
|
91
|
+
# {
|
92
|
+
# registry_id: "RegistryId",
|
93
|
+
# repository_name: "RepositoryName", # required
|
94
|
+
# image_ids: [ # required
|
95
|
+
# {
|
96
|
+
# image_digest: "ImageDigest",
|
97
|
+
# image_tag: "ImageTag",
|
98
|
+
# },
|
99
|
+
# ],
|
100
|
+
# }
|
101
|
+
#
|
102
|
+
# @!attribute [rw] registry_id
|
103
|
+
# The AWS account ID associated with the registry that contains the
|
104
|
+
# image to delete. If you do not specify a registry, the default
|
105
|
+
# registry is assumed.
|
106
|
+
# @return [String]
|
107
|
+
#
|
108
|
+
# @!attribute [rw] repository_name
|
109
|
+
# The repository that contains the image to delete.
|
110
|
+
# @return [String]
|
111
|
+
#
|
112
|
+
# @!attribute [rw] image_ids
|
113
|
+
# A list of image ID references that correspond to images to delete.
|
114
|
+
# The format of the `imageIds` reference is `imageTag=tag` or
|
115
|
+
# `imageDigest=digest`.
|
116
|
+
# @return [Array<Types::ImageIdentifier>]
|
117
|
+
#
|
118
|
+
class BatchDeleteImageRequest < Struct.new(
|
119
|
+
:registry_id,
|
120
|
+
:repository_name,
|
121
|
+
:image_ids)
|
122
|
+
include Aws::Structure
|
123
|
+
end
|
130
124
|
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
# @!attribute [rw] registry_id
|
145
|
-
# The AWS account ID associated with the registry that contains the
|
146
|
-
# images to describe. If you do not specify a registry, the default
|
147
|
-
# registry is assumed.
|
148
|
-
# @return [String]
|
149
|
-
#
|
150
|
-
# @!attribute [rw] repository_name
|
151
|
-
# The repository that contains the images to describe.
|
152
|
-
# @return [String]
|
153
|
-
#
|
154
|
-
# @!attribute [rw] image_ids
|
155
|
-
# A list of image ID references that correspond to images to describe.
|
156
|
-
# The format of the `imageIds` reference is `imageTag=tag` or
|
157
|
-
# `imageDigest=digest`.
|
158
|
-
# @return [Array<Types::ImageIdentifier>]
|
159
|
-
class BatchGetImageRequest < Struct.new(
|
160
|
-
:registry_id,
|
161
|
-
:repository_name,
|
162
|
-
:image_ids)
|
163
|
-
include Aws::Structure
|
164
|
-
end
|
125
|
+
# @!attribute [rw] image_ids
|
126
|
+
# The image IDs of the deleted images.
|
127
|
+
# @return [Array<Types::ImageIdentifier>]
|
128
|
+
#
|
129
|
+
# @!attribute [rw] failures
|
130
|
+
# Any failures associated with the call.
|
131
|
+
# @return [Array<Types::ImageFailure>]
|
132
|
+
#
|
133
|
+
class BatchDeleteImageResponse < Struct.new(
|
134
|
+
:image_ids,
|
135
|
+
:failures)
|
136
|
+
include Aws::Structure
|
137
|
+
end
|
165
138
|
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
139
|
+
# @note When making an API call, you may pass BatchGetImageRequest
|
140
|
+
# data as a hash:
|
141
|
+
#
|
142
|
+
# {
|
143
|
+
# registry_id: "RegistryId",
|
144
|
+
# repository_name: "RepositoryName", # required
|
145
|
+
# image_ids: [ # required
|
146
|
+
# {
|
147
|
+
# image_digest: "ImageDigest",
|
148
|
+
# image_tag: "ImageTag",
|
149
|
+
# },
|
150
|
+
# ],
|
151
|
+
# accepted_media_types: ["MediaType"],
|
152
|
+
# }
|
153
|
+
#
|
154
|
+
# @!attribute [rw] registry_id
|
155
|
+
# The AWS account ID associated with the registry that contains the
|
156
|
+
# images to describe. If you do not specify a registry, the default
|
157
|
+
# registry is assumed.
|
158
|
+
# @return [String]
|
159
|
+
#
|
160
|
+
# @!attribute [rw] repository_name
|
161
|
+
# The repository that contains the images to describe.
|
162
|
+
# @return [String]
|
163
|
+
#
|
164
|
+
# @!attribute [rw] image_ids
|
165
|
+
# A list of image ID references that correspond to images to describe.
|
166
|
+
# The format of the `imageIds` reference is `imageTag=tag` or
|
167
|
+
# `imageDigest=digest`.
|
168
|
+
# @return [Array<Types::ImageIdentifier>]
|
169
|
+
#
|
170
|
+
# @!attribute [rw] accepted_media_types
|
171
|
+
# The accepted media types for the request.
|
172
|
+
#
|
173
|
+
# Valid values: `application/vnd.docker.distribution.manifest.v1+json`
|
174
|
+
# \| `application/vnd.docker.distribution.manifest.v2+json` \|
|
175
|
+
# `application/vnd.oci.image.manifest.v1+json`
|
176
|
+
# @return [Array<String>]
|
177
|
+
#
|
178
|
+
class BatchGetImageRequest < Struct.new(
|
179
|
+
:registry_id,
|
180
|
+
:repository_name,
|
181
|
+
:image_ids,
|
182
|
+
:accepted_media_types)
|
183
|
+
include Aws::Structure
|
184
|
+
end
|
179
185
|
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
#
|
195
|
-
# @!attribute [rw] repository_name
|
196
|
-
# The name of the repository to associate with the image layer.
|
197
|
-
# @return [String]
|
198
|
-
#
|
199
|
-
# @!attribute [rw] upload_id
|
200
|
-
# The upload ID from a previous InitiateLayerUpload operation to
|
201
|
-
# associate with the image layer.
|
202
|
-
# @return [String]
|
203
|
-
#
|
204
|
-
# @!attribute [rw] layer_digests
|
205
|
-
# The `sha256` digest of the image layer.
|
206
|
-
# @return [Array<String>]
|
207
|
-
class CompleteLayerUploadRequest < Struct.new(
|
208
|
-
:registry_id,
|
209
|
-
:repository_name,
|
210
|
-
:upload_id,
|
211
|
-
:layer_digests)
|
212
|
-
include Aws::Structure
|
213
|
-
end
|
186
|
+
# @!attribute [rw] images
|
187
|
+
# A list of image objects corresponding to the image references in the
|
188
|
+
# request.
|
189
|
+
# @return [Array<Types::Image>]
|
190
|
+
#
|
191
|
+
# @!attribute [rw] failures
|
192
|
+
# Any failures associated with the call.
|
193
|
+
# @return [Array<Types::ImageFailure>]
|
194
|
+
#
|
195
|
+
class BatchGetImageResponse < Struct.new(
|
196
|
+
:images,
|
197
|
+
:failures)
|
198
|
+
include Aws::Structure
|
199
|
+
end
|
214
200
|
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
201
|
+
# @note When making an API call, you may pass CompleteLayerUploadRequest
|
202
|
+
# data as a hash:
|
203
|
+
#
|
204
|
+
# {
|
205
|
+
# registry_id: "RegistryId",
|
206
|
+
# repository_name: "RepositoryName", # required
|
207
|
+
# upload_id: "UploadId", # required
|
208
|
+
# layer_digests: ["LayerDigest"], # required
|
209
|
+
# }
|
210
|
+
#
|
211
|
+
# @!attribute [rw] registry_id
|
212
|
+
# The AWS account ID associated with the registry to which to upload
|
213
|
+
# layers. If you do not specify a registry, the default registry is
|
214
|
+
# assumed.
|
215
|
+
# @return [String]
|
216
|
+
#
|
217
|
+
# @!attribute [rw] repository_name
|
218
|
+
# The name of the repository to associate with the image layer.
|
219
|
+
# @return [String]
|
220
|
+
#
|
221
|
+
# @!attribute [rw] upload_id
|
222
|
+
# The upload ID from a previous InitiateLayerUpload operation to
|
223
|
+
# associate with the image layer.
|
224
|
+
# @return [String]
|
225
|
+
#
|
226
|
+
# @!attribute [rw] layer_digests
|
227
|
+
# The `sha256` digest of the image layer.
|
228
|
+
# @return [Array<String>]
|
229
|
+
#
|
230
|
+
class CompleteLayerUploadRequest < Struct.new(
|
231
|
+
:registry_id,
|
232
|
+
:repository_name,
|
233
|
+
:upload_id,
|
234
|
+
:layer_digests)
|
235
|
+
include Aws::Structure
|
236
|
+
end
|
237
237
|
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
238
|
+
# @!attribute [rw] registry_id
|
239
|
+
# The registry ID associated with the request.
|
240
|
+
# @return [String]
|
241
|
+
#
|
242
|
+
# @!attribute [rw] repository_name
|
243
|
+
# The repository name associated with the request.
|
244
|
+
# @return [String]
|
245
|
+
#
|
246
|
+
# @!attribute [rw] upload_id
|
247
|
+
# The upload ID associated with the layer.
|
248
|
+
# @return [String]
|
249
|
+
#
|
250
|
+
# @!attribute [rw] layer_digest
|
251
|
+
# The `sha256` digest of the image layer.
|
252
|
+
# @return [String]
|
253
|
+
#
|
254
|
+
class CompleteLayerUploadResponse < Struct.new(
|
255
|
+
:registry_id,
|
256
|
+
:repository_name,
|
257
|
+
:upload_id,
|
258
|
+
:layer_digest)
|
259
|
+
include Aws::Structure
|
260
|
+
end
|
254
261
|
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
+
# @note When making an API call, you may pass CreateRepositoryRequest
|
263
|
+
# data as a hash:
|
264
|
+
#
|
265
|
+
# {
|
266
|
+
# repository_name: "RepositoryName", # required
|
267
|
+
# }
|
268
|
+
#
|
269
|
+
# @!attribute [rw] repository_name
|
270
|
+
# The name to use for the repository. The repository name may be
|
271
|
+
# specified on its own (such as `nginx-web-app`) or it can be
|
272
|
+
# prepended with a namespace to group the repository into a category
|
273
|
+
# (such as `project-a/nginx-web-app`).
|
274
|
+
# @return [String]
|
275
|
+
#
|
276
|
+
class CreateRepositoryRequest < Struct.new(
|
277
|
+
:repository_name)
|
278
|
+
include Aws::Structure
|
279
|
+
end
|
262
280
|
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
# The AWS account ID associated with the registry that contains the
|
272
|
-
# repository policy to delete. If you do not specify a registry, the
|
273
|
-
# default registry is assumed.
|
274
|
-
# @return [String]
|
275
|
-
#
|
276
|
-
# @!attribute [rw] repository_name
|
277
|
-
# The name of the repository that is associated with the repository
|
278
|
-
# policy to delete.
|
279
|
-
# @return [String]
|
280
|
-
class DeleteRepositoryPolicyRequest < Struct.new(
|
281
|
-
:registry_id,
|
282
|
-
:repository_name)
|
283
|
-
include Aws::Structure
|
284
|
-
end
|
281
|
+
# @!attribute [rw] repository
|
282
|
+
# The repository that was created.
|
283
|
+
# @return [Types::Repository]
|
284
|
+
#
|
285
|
+
class CreateRepositoryResponse < Struct.new(
|
286
|
+
:repository)
|
287
|
+
include Aws::Structure
|
288
|
+
end
|
285
289
|
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
290
|
+
# @note When making an API call, you may pass DeleteRepositoryPolicyRequest
|
291
|
+
# data as a hash:
|
292
|
+
#
|
293
|
+
# {
|
294
|
+
# registry_id: "RegistryId",
|
295
|
+
# repository_name: "RepositoryName", # required
|
296
|
+
# }
|
297
|
+
#
|
298
|
+
# @!attribute [rw] registry_id
|
299
|
+
# The AWS account ID associated with the registry that contains the
|
300
|
+
# repository policy to delete. If you do not specify a registry, the
|
301
|
+
# default registry is assumed.
|
302
|
+
# @return [String]
|
303
|
+
#
|
304
|
+
# @!attribute [rw] repository_name
|
305
|
+
# The name of the repository that is associated with the repository
|
306
|
+
# policy to delete.
|
307
|
+
# @return [String]
|
308
|
+
#
|
309
|
+
class DeleteRepositoryPolicyRequest < Struct.new(
|
310
|
+
:registry_id,
|
311
|
+
:repository_name)
|
312
|
+
include Aws::Structure
|
313
|
+
end
|
303
314
|
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
# @!attribute [rw] force
|
323
|
-
# Force the deletion of the repository if it contains images.
|
324
|
-
# @return [Boolean]
|
325
|
-
class DeleteRepositoryRequest < Struct.new(
|
326
|
-
:registry_id,
|
327
|
-
:repository_name,
|
328
|
-
:force)
|
329
|
-
include Aws::Structure
|
330
|
-
end
|
315
|
+
# @!attribute [rw] registry_id
|
316
|
+
# The registry ID associated with the request.
|
317
|
+
# @return [String]
|
318
|
+
#
|
319
|
+
# @!attribute [rw] repository_name
|
320
|
+
# The repository name associated with the request.
|
321
|
+
# @return [String]
|
322
|
+
#
|
323
|
+
# @!attribute [rw] policy_text
|
324
|
+
# The JSON repository policy that was deleted from the repository.
|
325
|
+
# @return [String]
|
326
|
+
#
|
327
|
+
class DeleteRepositoryPolicyResponse < Struct.new(
|
328
|
+
:registry_id,
|
329
|
+
:repository_name,
|
330
|
+
:policy_text)
|
331
|
+
include Aws::Structure
|
332
|
+
end
|
331
333
|
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
334
|
+
# @note When making an API call, you may pass DeleteRepositoryRequest
|
335
|
+
# data as a hash:
|
336
|
+
#
|
337
|
+
# {
|
338
|
+
# registry_id: "RegistryId",
|
339
|
+
# repository_name: "RepositoryName", # required
|
340
|
+
# force: false,
|
341
|
+
# }
|
342
|
+
#
|
343
|
+
# @!attribute [rw] registry_id
|
344
|
+
# The AWS account ID associated with the registry that contains the
|
345
|
+
# repository to delete. If you do not specify a registry, the default
|
346
|
+
# registry is assumed.
|
347
|
+
# @return [String]
|
348
|
+
#
|
349
|
+
# @!attribute [rw] repository_name
|
350
|
+
# The name of the repository to delete.
|
351
|
+
# @return [String]
|
352
|
+
#
|
353
|
+
# @!attribute [rw] force
|
354
|
+
# Force the deletion of the repository if it contains images.
|
355
|
+
# @return [Boolean]
|
356
|
+
#
|
357
|
+
class DeleteRepositoryRequest < Struct.new(
|
358
|
+
:registry_id,
|
359
|
+
:repository_name,
|
360
|
+
:force)
|
361
|
+
include Aws::Structure
|
362
|
+
end
|
339
363
|
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
# The tag status with which to filter your DescribeImages results. You
|
349
|
-
# can filter results based on whether they are `TAGGED` or `UNTAGGED`.
|
350
|
-
# @return [String]
|
351
|
-
class DescribeImagesFilter < Struct.new(
|
352
|
-
:tag_status)
|
353
|
-
include Aws::Structure
|
354
|
-
end
|
364
|
+
# @!attribute [rw] repository
|
365
|
+
# The repository that was deleted.
|
366
|
+
# @return [Types::Repository]
|
367
|
+
#
|
368
|
+
class DeleteRepositoryResponse < Struct.new(
|
369
|
+
:repository)
|
370
|
+
include Aws::Structure
|
371
|
+
end
|
355
372
|
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
# @!attribute [rw] registry_id
|
375
|
-
# The AWS account ID associated with the registry that contains the
|
376
|
-
# repository in which to list images. If you do not specify a
|
377
|
-
# registry, the default registry is assumed.
|
378
|
-
# @return [String]
|
379
|
-
#
|
380
|
-
# @!attribute [rw] repository_name
|
381
|
-
# A list of repositories to describe. If this parameter is omitted,
|
382
|
-
# then all repositories in a registry are described.
|
383
|
-
# @return [String]
|
384
|
-
#
|
385
|
-
# @!attribute [rw] image_ids
|
386
|
-
# The list of image IDs for the requested repository.
|
387
|
-
# @return [Array<Types::ImageIdentifier>]
|
388
|
-
#
|
389
|
-
# @!attribute [rw] next_token
|
390
|
-
# The `nextToken` value returned from a previous paginated
|
391
|
-
# `DescribeImages` request where `maxResults` was used and the results
|
392
|
-
# exceeded the value of that parameter. Pagination continues from the
|
393
|
-
# end of the previous results that returned the `nextToken` value.
|
394
|
-
# This value is `null` when there are no more results to return.
|
395
|
-
# @return [String]
|
396
|
-
#
|
397
|
-
# @!attribute [rw] max_results
|
398
|
-
# The maximum number of repository results returned by
|
399
|
-
# `DescribeImages` in paginated output. When this parameter is used,
|
400
|
-
# `DescribeImages` only returns `maxResults` results in a single page
|
401
|
-
# along with a `nextToken` response element. The remaining results of
|
402
|
-
# the initial request can be seen by sending another `DescribeImages`
|
403
|
-
# request with the returned `nextToken` value. This value can be
|
404
|
-
# between 1 and 100. If this parameter is not used, then
|
405
|
-
# `DescribeImages` returns up to 100 results and a `nextToken` value,
|
406
|
-
# if applicable.
|
407
|
-
# @return [Integer]
|
408
|
-
#
|
409
|
-
# @!attribute [rw] filter
|
410
|
-
# The filter key and value with which to filter your `DescribeImages`
|
411
|
-
# results.
|
412
|
-
# @return [Types::DescribeImagesFilter]
|
413
|
-
class DescribeImagesRequest < Struct.new(
|
414
|
-
:registry_id,
|
415
|
-
:repository_name,
|
416
|
-
:image_ids,
|
417
|
-
:next_token,
|
418
|
-
:max_results,
|
419
|
-
:filter)
|
420
|
-
include Aws::Structure
|
421
|
-
end
|
373
|
+
# An object representing a filter on a DescribeImages operation.
|
374
|
+
#
|
375
|
+
# @note When making an API call, you may pass DescribeImagesFilter
|
376
|
+
# data as a hash:
|
377
|
+
#
|
378
|
+
# {
|
379
|
+
# tag_status: "TAGGED", # accepts TAGGED, UNTAGGED
|
380
|
+
# }
|
381
|
+
#
|
382
|
+
# @!attribute [rw] tag_status
|
383
|
+
# The tag status with which to filter your DescribeImages results. You
|
384
|
+
# can filter results based on whether they are `TAGGED` or `UNTAGGED`.
|
385
|
+
# @return [String]
|
386
|
+
#
|
387
|
+
class DescribeImagesFilter < Struct.new(
|
388
|
+
:tag_status)
|
389
|
+
include Aws::Structure
|
390
|
+
end
|
422
391
|
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
392
|
+
# @note When making an API call, you may pass DescribeImagesRequest
|
393
|
+
# data as a hash:
|
394
|
+
#
|
395
|
+
# {
|
396
|
+
# registry_id: "RegistryId",
|
397
|
+
# repository_name: "RepositoryName", # required
|
398
|
+
# image_ids: [
|
399
|
+
# {
|
400
|
+
# image_digest: "ImageDigest",
|
401
|
+
# image_tag: "ImageTag",
|
402
|
+
# },
|
403
|
+
# ],
|
404
|
+
# next_token: "NextToken",
|
405
|
+
# max_results: 1,
|
406
|
+
# filter: {
|
407
|
+
# tag_status: "TAGGED", # accepts TAGGED, UNTAGGED
|
408
|
+
# },
|
409
|
+
# }
|
410
|
+
#
|
411
|
+
# @!attribute [rw] registry_id
|
412
|
+
# The AWS account ID associated with the registry that contains the
|
413
|
+
# repository in which to describe images. If you do not specify a
|
414
|
+
# registry, the default registry is assumed.
|
415
|
+
# @return [String]
|
416
|
+
#
|
417
|
+
# @!attribute [rw] repository_name
|
418
|
+
# A list of repositories to describe. If this parameter is omitted,
|
419
|
+
# then all repositories in a registry are described.
|
420
|
+
# @return [String]
|
421
|
+
#
|
422
|
+
# @!attribute [rw] image_ids
|
423
|
+
# The list of image IDs for the requested repository.
|
424
|
+
# @return [Array<Types::ImageIdentifier>]
|
425
|
+
#
|
426
|
+
# @!attribute [rw] next_token
|
427
|
+
# The `nextToken` value returned from a previous paginated
|
428
|
+
# `DescribeImages` request where `maxResults` was used and the results
|
429
|
+
# exceeded the value of that parameter. Pagination continues from the
|
430
|
+
# end of the previous results that returned the `nextToken` value.
|
431
|
+
# This value is `null` when there are no more results to return.
|
432
|
+
# @return [String]
|
433
|
+
#
|
434
|
+
# @!attribute [rw] max_results
|
435
|
+
# The maximum number of repository results returned by
|
436
|
+
# `DescribeImages` in paginated output. When this parameter is used,
|
437
|
+
# `DescribeImages` only returns `maxResults` results in a single page
|
438
|
+
# along with a `nextToken` response element. The remaining results of
|
439
|
+
# the initial request can be seen by sending another `DescribeImages`
|
440
|
+
# request with the returned `nextToken` value. This value can be
|
441
|
+
# between 1 and 100. If this parameter is not used, then
|
442
|
+
# `DescribeImages` returns up to 100 results and a `nextToken` value,
|
443
|
+
# if applicable.
|
444
|
+
# @return [Integer]
|
445
|
+
#
|
446
|
+
# @!attribute [rw] filter
|
447
|
+
# The filter key and value with which to filter your `DescribeImages`
|
448
|
+
# results.
|
449
|
+
# @return [Types::DescribeImagesFilter]
|
450
|
+
#
|
451
|
+
class DescribeImagesRequest < Struct.new(
|
452
|
+
:registry_id,
|
453
|
+
:repository_name,
|
454
|
+
:image_ids,
|
455
|
+
:next_token,
|
456
|
+
:max_results,
|
457
|
+
:filter)
|
458
|
+
include Aws::Structure
|
459
|
+
end
|
439
460
|
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
# then all repositories in a registry are described.
|
458
|
-
# @return [Array<String>]
|
459
|
-
#
|
460
|
-
# @!attribute [rw] next_token
|
461
|
-
# The `nextToken` value returned from a previous paginated
|
462
|
-
# `DescribeRepositories` request where `maxResults` was used and the
|
463
|
-
# results exceeded the value of that parameter. Pagination continues
|
464
|
-
# from the end of the previous results that returned the `nextToken`
|
465
|
-
# value. This value is `null` when there are no more results to
|
466
|
-
# return.
|
467
|
-
#
|
468
|
-
# <note markdown="1"> This token should be treated as an opaque identifier that is only
|
469
|
-
# used to retrieve the next items in a list and not for other
|
470
|
-
# programmatic purposes.
|
471
|
-
#
|
472
|
-
# </note>
|
473
|
-
# @return [String]
|
474
|
-
#
|
475
|
-
# @!attribute [rw] max_results
|
476
|
-
# The maximum number of repository results returned by
|
477
|
-
# `DescribeRepositories` in paginated output. When this parameter is
|
478
|
-
# used, `DescribeRepositories` only returns `maxResults` results in a
|
479
|
-
# single page along with a `nextToken` response element. The remaining
|
480
|
-
# results of the initial request can be seen by sending another
|
481
|
-
# `DescribeRepositories` request with the returned `nextToken` value.
|
482
|
-
# This value can be between 1 and 100. If this parameter is not used,
|
483
|
-
# then `DescribeRepositories` returns up to 100 results and a
|
484
|
-
# `nextToken` value, if applicable.
|
485
|
-
# @return [Integer]
|
486
|
-
class DescribeRepositoriesRequest < Struct.new(
|
487
|
-
:registry_id,
|
488
|
-
:repository_names,
|
489
|
-
:next_token,
|
490
|
-
:max_results)
|
491
|
-
include Aws::Structure
|
492
|
-
end
|
461
|
+
# @!attribute [rw] image_details
|
462
|
+
# A list of ImageDetail objects that contain data about the image.
|
463
|
+
# @return [Array<Types::ImageDetail>]
|
464
|
+
#
|
465
|
+
# @!attribute [rw] next_token
|
466
|
+
# The `nextToken` value to include in a future `DescribeImages`
|
467
|
+
# request. When the results of a `DescribeImages` request exceed
|
468
|
+
# `maxResults`, this value can be used to retrieve the next page of
|
469
|
+
# results. This value is `null` when there are no more results to
|
470
|
+
# return.
|
471
|
+
# @return [String]
|
472
|
+
#
|
473
|
+
class DescribeImagesResponse < Struct.new(
|
474
|
+
:image_details,
|
475
|
+
:next_token)
|
476
|
+
include Aws::Structure
|
477
|
+
end
|
493
478
|
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
479
|
+
# @note When making an API call, you may pass DescribeRepositoriesRequest
|
480
|
+
# data as a hash:
|
481
|
+
#
|
482
|
+
# {
|
483
|
+
# registry_id: "RegistryId",
|
484
|
+
# repository_names: ["RepositoryName"],
|
485
|
+
# next_token: "NextToken",
|
486
|
+
# max_results: 1,
|
487
|
+
# }
|
488
|
+
#
|
489
|
+
# @!attribute [rw] registry_id
|
490
|
+
# The AWS account ID associated with the registry that contains the
|
491
|
+
# repositories to be described. If you do not specify a registry, the
|
492
|
+
# default registry is assumed.
|
493
|
+
# @return [String]
|
494
|
+
#
|
495
|
+
# @!attribute [rw] repository_names
|
496
|
+
# A list of repositories to describe. If this parameter is omitted,
|
497
|
+
# then all repositories in a registry are described.
|
498
|
+
# @return [Array<String>]
|
499
|
+
#
|
500
|
+
# @!attribute [rw] next_token
|
501
|
+
# The `nextToken` value returned from a previous paginated
|
502
|
+
# `DescribeRepositories` request where `maxResults` was used and the
|
503
|
+
# results exceeded the value of that parameter. Pagination continues
|
504
|
+
# from the end of the previous results that returned the `nextToken`
|
505
|
+
# value. This value is `null` when there are no more results to
|
506
|
+
# return.
|
507
|
+
#
|
508
|
+
# <note markdown="1"> This token should be treated as an opaque identifier that is only
|
509
|
+
# used to retrieve the next items in a list and not for other
|
510
|
+
# programmatic purposes.
|
511
|
+
#
|
512
|
+
# </note>
|
513
|
+
# @return [String]
|
514
|
+
#
|
515
|
+
# @!attribute [rw] max_results
|
516
|
+
# The maximum number of repository results returned by
|
517
|
+
# `DescribeRepositories` in paginated output. When this parameter is
|
518
|
+
# used, `DescribeRepositories` only returns `maxResults` results in a
|
519
|
+
# single page along with a `nextToken` response element. The remaining
|
520
|
+
# results of the initial request can be seen by sending another
|
521
|
+
# `DescribeRepositories` request with the returned `nextToken` value.
|
522
|
+
# This value can be between 1 and 100. If this parameter is not used,
|
523
|
+
# then `DescribeRepositories` returns up to 100 results and a
|
524
|
+
# `nextToken` value, if applicable.
|
525
|
+
# @return [Integer]
|
526
|
+
#
|
527
|
+
class DescribeRepositoriesRequest < Struct.new(
|
528
|
+
:registry_id,
|
529
|
+
:repository_names,
|
530
|
+
:next_token,
|
531
|
+
:max_results)
|
532
|
+
include Aws::Structure
|
533
|
+
end
|
510
534
|
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
535
|
+
# @!attribute [rw] repositories
|
536
|
+
# A list of repository objects corresponding to valid repositories.
|
537
|
+
# @return [Array<Types::Repository>]
|
538
|
+
#
|
539
|
+
# @!attribute [rw] next_token
|
540
|
+
# The `nextToken` value to include in a future `DescribeRepositories`
|
541
|
+
# request. When the results of a `DescribeRepositories` request exceed
|
542
|
+
# `maxResults`, this value can be used to retrieve the next page of
|
543
|
+
# results. This value is `null` when there are no more results to
|
544
|
+
# return.
|
545
|
+
# @return [String]
|
546
|
+
#
|
547
|
+
class DescribeRepositoriesResponse < Struct.new(
|
548
|
+
:repositories,
|
549
|
+
:next_token)
|
550
|
+
include Aws::Structure
|
551
|
+
end
|
526
552
|
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
553
|
+
# @note When making an API call, you may pass GetAuthorizationTokenRequest
|
554
|
+
# data as a hash:
|
555
|
+
#
|
556
|
+
# {
|
557
|
+
# registry_ids: ["RegistryId"],
|
558
|
+
# }
|
559
|
+
#
|
560
|
+
# @!attribute [rw] registry_ids
|
561
|
+
# A list of AWS account IDs that are associated with the registries
|
562
|
+
# for which to get authorization tokens. If you do not specify a
|
563
|
+
# registry, the default registry is assumed.
|
564
|
+
# @return [Array<String>]
|
565
|
+
#
|
566
|
+
class GetAuthorizationTokenRequest < Struct.new(
|
567
|
+
:registry_ids)
|
568
|
+
include Aws::Structure
|
569
|
+
end
|
535
570
|
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
# The AWS account ID associated with the registry that contains the
|
546
|
-
# image layer to download. If you do not specify a registry, the
|
547
|
-
# default registry is assumed.
|
548
|
-
# @return [String]
|
549
|
-
#
|
550
|
-
# @!attribute [rw] repository_name
|
551
|
-
# The name of the repository that is associated with the image layer
|
552
|
-
# to download.
|
553
|
-
# @return [String]
|
554
|
-
#
|
555
|
-
# @!attribute [rw] layer_digest
|
556
|
-
# The digest of the image layer to download.
|
557
|
-
# @return [String]
|
558
|
-
class GetDownloadUrlForLayerRequest < Struct.new(
|
559
|
-
:registry_id,
|
560
|
-
:repository_name,
|
561
|
-
:layer_digest)
|
562
|
-
include Aws::Structure
|
563
|
-
end
|
571
|
+
# @!attribute [rw] authorization_data
|
572
|
+
# A list of authorization token data objects that correspond to the
|
573
|
+
# `registryIds` values in the request.
|
574
|
+
# @return [Array<Types::AuthorizationData>]
|
575
|
+
#
|
576
|
+
class GetAuthorizationTokenResponse < Struct.new(
|
577
|
+
:authorization_data)
|
578
|
+
include Aws::Structure
|
579
|
+
end
|
564
580
|
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
581
|
+
# @note When making an API call, you may pass GetDownloadUrlForLayerRequest
|
582
|
+
# data as a hash:
|
583
|
+
#
|
584
|
+
# {
|
585
|
+
# registry_id: "RegistryId",
|
586
|
+
# repository_name: "RepositoryName", # required
|
587
|
+
# layer_digest: "LayerDigest", # required
|
588
|
+
# }
|
589
|
+
#
|
590
|
+
# @!attribute [rw] registry_id
|
591
|
+
# The AWS account ID associated with the registry that contains the
|
592
|
+
# image layer to download. If you do not specify a registry, the
|
593
|
+
# default registry is assumed.
|
594
|
+
# @return [String]
|
595
|
+
#
|
596
|
+
# @!attribute [rw] repository_name
|
597
|
+
# The name of the repository that is associated with the image layer
|
598
|
+
# to download.
|
599
|
+
# @return [String]
|
600
|
+
#
|
601
|
+
# @!attribute [rw] layer_digest
|
602
|
+
# The digest of the image layer to download.
|
603
|
+
# @return [String]
|
604
|
+
#
|
605
|
+
class GetDownloadUrlForLayerRequest < Struct.new(
|
606
|
+
:registry_id,
|
607
|
+
:repository_name,
|
608
|
+
:layer_digest)
|
609
|
+
include Aws::Structure
|
610
|
+
end
|
577
611
|
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
# @!attribute [rw] repository_name
|
592
|
-
# The name of the repository whose policy you want to retrieve.
|
593
|
-
# @return [String]
|
594
|
-
class GetRepositoryPolicyRequest < Struct.new(
|
595
|
-
:registry_id,
|
596
|
-
:repository_name)
|
597
|
-
include Aws::Structure
|
598
|
-
end
|
612
|
+
# @!attribute [rw] download_url
|
613
|
+
# The pre-signed Amazon S3 download URL for the requested layer.
|
614
|
+
# @return [String]
|
615
|
+
#
|
616
|
+
# @!attribute [rw] layer_digest
|
617
|
+
# The digest of the image layer to download.
|
618
|
+
# @return [String]
|
619
|
+
#
|
620
|
+
class GetDownloadUrlForLayerResponse < Struct.new(
|
621
|
+
:download_url,
|
622
|
+
:layer_digest)
|
623
|
+
include Aws::Structure
|
624
|
+
end
|
599
625
|
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
626
|
+
# @note When making an API call, you may pass GetRepositoryPolicyRequest
|
627
|
+
# data as a hash:
|
628
|
+
#
|
629
|
+
# {
|
630
|
+
# registry_id: "RegistryId",
|
631
|
+
# repository_name: "RepositoryName", # required
|
632
|
+
# }
|
633
|
+
#
|
634
|
+
# @!attribute [rw] registry_id
|
635
|
+
# The AWS account ID associated with the registry that contains the
|
636
|
+
# repository. If you do not specify a registry, the default registry
|
637
|
+
# is assumed.
|
638
|
+
# @return [String]
|
639
|
+
#
|
640
|
+
# @!attribute [rw] repository_name
|
641
|
+
# The name of the repository whose policy you want to retrieve.
|
642
|
+
# @return [String]
|
643
|
+
#
|
644
|
+
class GetRepositoryPolicyRequest < Struct.new(
|
645
|
+
:registry_id,
|
646
|
+
:repository_name)
|
647
|
+
include Aws::Structure
|
648
|
+
end
|
617
649
|
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
class Image < Struct.new(
|
637
|
-
:registry_id,
|
638
|
-
:repository_name,
|
639
|
-
:image_id,
|
640
|
-
:image_manifest)
|
641
|
-
include Aws::Structure
|
642
|
-
end
|
650
|
+
# @!attribute [rw] registry_id
|
651
|
+
# The registry ID associated with the request.
|
652
|
+
# @return [String]
|
653
|
+
#
|
654
|
+
# @!attribute [rw] repository_name
|
655
|
+
# The repository name associated with the request.
|
656
|
+
# @return [String]
|
657
|
+
#
|
658
|
+
# @!attribute [rw] policy_text
|
659
|
+
# The JSON repository policy text associated with the repository.
|
660
|
+
# @return [String]
|
661
|
+
#
|
662
|
+
class GetRepositoryPolicyResponse < Struct.new(
|
663
|
+
:registry_id,
|
664
|
+
:repository_name,
|
665
|
+
:policy_text)
|
666
|
+
include Aws::Structure
|
667
|
+
end
|
643
668
|
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
#
|
672
|
-
# </note>
|
673
|
-
# @return [Integer]
|
674
|
-
#
|
675
|
-
# @!attribute [rw] image_pushed_at
|
676
|
-
# The date and time, expressed in standard JavaScript date format, at
|
677
|
-
# which the current image was pushed to the repository.
|
678
|
-
# @return [Time]
|
679
|
-
class ImageDetail < Struct.new(
|
680
|
-
:registry_id,
|
681
|
-
:repository_name,
|
682
|
-
:image_digest,
|
683
|
-
:image_tags,
|
684
|
-
:image_size_in_bytes,
|
685
|
-
:image_pushed_at)
|
686
|
-
include Aws::Structure
|
687
|
-
end
|
669
|
+
# An object representing an Amazon ECR image.
|
670
|
+
#
|
671
|
+
# @!attribute [rw] registry_id
|
672
|
+
# The AWS account ID associated with the registry containing the
|
673
|
+
# image.
|
674
|
+
# @return [String]
|
675
|
+
#
|
676
|
+
# @!attribute [rw] repository_name
|
677
|
+
# The name of the repository associated with the image.
|
678
|
+
# @return [String]
|
679
|
+
#
|
680
|
+
# @!attribute [rw] image_id
|
681
|
+
# An object containing the image tag and image digest associated with
|
682
|
+
# an image.
|
683
|
+
# @return [Types::ImageIdentifier]
|
684
|
+
#
|
685
|
+
# @!attribute [rw] image_manifest
|
686
|
+
# The image manifest associated with the image.
|
687
|
+
# @return [String]
|
688
|
+
#
|
689
|
+
class Image < Struct.new(
|
690
|
+
:registry_id,
|
691
|
+
:repository_name,
|
692
|
+
:image_id,
|
693
|
+
:image_manifest)
|
694
|
+
include Aws::Structure
|
695
|
+
end
|
688
696
|
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
697
|
+
# An object that describes an image returned by a DescribeImages
|
698
|
+
# operation.
|
699
|
+
#
|
700
|
+
# @!attribute [rw] registry_id
|
701
|
+
# The AWS account ID associated with the registry to which this image
|
702
|
+
# belongs.
|
703
|
+
# @return [String]
|
704
|
+
#
|
705
|
+
# @!attribute [rw] repository_name
|
706
|
+
# The name of the repository to which this image belongs.
|
707
|
+
# @return [String]
|
708
|
+
#
|
709
|
+
# @!attribute [rw] image_digest
|
710
|
+
# The `sha256` digest of the image manifest.
|
711
|
+
# @return [String]
|
712
|
+
#
|
713
|
+
# @!attribute [rw] image_tags
|
714
|
+
# The list of tags associated with this image.
|
715
|
+
# @return [Array<String>]
|
716
|
+
#
|
717
|
+
# @!attribute [rw] image_size_in_bytes
|
718
|
+
# The size, in bytes, of the image in the repository.
|
719
|
+
#
|
720
|
+
# <note markdown="1"> Beginning with Docker version 1.9, the Docker client compresses
|
721
|
+
# image layers before pushing them to a V2 Docker registry. The output
|
722
|
+
# of the `docker images` command shows the uncompressed image size, so
|
723
|
+
# it may return a larger image size than the image sizes returned by
|
724
|
+
# DescribeImages.
|
725
|
+
#
|
726
|
+
# </note>
|
727
|
+
# @return [Integer]
|
728
|
+
#
|
729
|
+
# @!attribute [rw] image_pushed_at
|
730
|
+
# The date and time, expressed in standard JavaScript date format, at
|
731
|
+
# which the current image was pushed to the repository.
|
732
|
+
# @return [Time]
|
733
|
+
#
|
734
|
+
class ImageDetail < Struct.new(
|
735
|
+
:registry_id,
|
736
|
+
:repository_name,
|
737
|
+
:image_digest,
|
738
|
+
:image_tags,
|
739
|
+
:image_size_in_bytes,
|
740
|
+
:image_pushed_at)
|
741
|
+
include Aws::Structure
|
742
|
+
end
|
707
743
|
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
744
|
+
# An object representing an Amazon ECR image failure.
|
745
|
+
#
|
746
|
+
# @!attribute [rw] image_id
|
747
|
+
# The image ID associated with the failure.
|
748
|
+
# @return [Types::ImageIdentifier]
|
749
|
+
#
|
750
|
+
# @!attribute [rw] failure_code
|
751
|
+
# The code associated with the failure.
|
752
|
+
# @return [String]
|
753
|
+
#
|
754
|
+
# @!attribute [rw] failure_reason
|
755
|
+
# The reason for the failure.
|
756
|
+
# @return [String]
|
757
|
+
#
|
758
|
+
class ImageFailure < Struct.new(
|
759
|
+
:image_id,
|
760
|
+
:failure_code,
|
761
|
+
:failure_reason)
|
762
|
+
include Aws::Structure
|
763
|
+
end
|
728
764
|
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
765
|
+
# An object with identifying information for an Amazon ECR image.
|
766
|
+
#
|
767
|
+
# @note When making an API call, you may pass ImageIdentifier
|
768
|
+
# data as a hash:
|
769
|
+
#
|
770
|
+
# {
|
771
|
+
# image_digest: "ImageDigest",
|
772
|
+
# image_tag: "ImageTag",
|
773
|
+
# }
|
774
|
+
#
|
775
|
+
# @!attribute [rw] image_digest
|
776
|
+
# The `sha256` digest of the image manifest.
|
777
|
+
# @return [String]
|
778
|
+
#
|
779
|
+
# @!attribute [rw] image_tag
|
780
|
+
# The tag used for the image.
|
781
|
+
# @return [String]
|
782
|
+
#
|
783
|
+
class ImageIdentifier < Struct.new(
|
784
|
+
:image_digest,
|
785
|
+
:image_tag)
|
786
|
+
include Aws::Structure
|
787
|
+
end
|
750
788
|
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
789
|
+
# @note When making an API call, you may pass InitiateLayerUploadRequest
|
790
|
+
# data as a hash:
|
791
|
+
#
|
792
|
+
# {
|
793
|
+
# registry_id: "RegistryId",
|
794
|
+
# repository_name: "RepositoryName", # required
|
795
|
+
# }
|
796
|
+
#
|
797
|
+
# @!attribute [rw] registry_id
|
798
|
+
# The AWS account ID associated with the registry that you intend to
|
799
|
+
# upload layers to. If you do not specify a registry, the default
|
800
|
+
# registry is assumed.
|
801
|
+
# @return [String]
|
802
|
+
#
|
803
|
+
# @!attribute [rw] repository_name
|
804
|
+
# The name of the repository that you intend to upload layers to.
|
805
|
+
# @return [String]
|
806
|
+
#
|
807
|
+
class InitiateLayerUploadRequest < Struct.new(
|
808
|
+
:registry_id,
|
809
|
+
:repository_name)
|
810
|
+
include Aws::Structure
|
811
|
+
end
|
765
812
|
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
:layer_availability,
|
782
|
-
:layer_size)
|
783
|
-
include Aws::Structure
|
784
|
-
end
|
813
|
+
# @!attribute [rw] upload_id
|
814
|
+
# The upload ID for the layer upload. This parameter is passed to
|
815
|
+
# further UploadLayerPart and CompleteLayerUpload operations.
|
816
|
+
# @return [String]
|
817
|
+
#
|
818
|
+
# @!attribute [rw] part_size
|
819
|
+
# The size, in bytes, that Amazon ECR expects future layer part
|
820
|
+
# uploads to be.
|
821
|
+
# @return [Integer]
|
822
|
+
#
|
823
|
+
class InitiateLayerUploadResponse < Struct.new(
|
824
|
+
:upload_id,
|
825
|
+
:part_size)
|
826
|
+
include Aws::Structure
|
827
|
+
end
|
785
828
|
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
829
|
+
# An object representing an Amazon ECR image layer.
|
830
|
+
#
|
831
|
+
# @!attribute [rw] layer_digest
|
832
|
+
# The `sha256` digest of the image layer.
|
833
|
+
# @return [String]
|
834
|
+
#
|
835
|
+
# @!attribute [rw] layer_availability
|
836
|
+
# The availability status of the image layer.
|
837
|
+
# @return [String]
|
838
|
+
#
|
839
|
+
# @!attribute [rw] layer_size
|
840
|
+
# The size, in bytes, of the image layer.
|
841
|
+
# @return [Integer]
|
842
|
+
#
|
843
|
+
# @!attribute [rw] media_type
|
844
|
+
# The media type of the layer, such as
|
845
|
+
# `application/vnd.docker.image.rootfs.diff.tar.gzip` or
|
846
|
+
# `application/vnd.oci.image.layer.v1.tar+gzip`.
|
847
|
+
# @return [String]
|
848
|
+
#
|
849
|
+
class Layer < Struct.new(
|
850
|
+
:layer_digest,
|
851
|
+
:layer_availability,
|
852
|
+
:layer_size,
|
853
|
+
:media_type)
|
854
|
+
include Aws::Structure
|
855
|
+
end
|
804
856
|
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
857
|
+
# An object representing an Amazon ECR image layer failure.
|
858
|
+
#
|
859
|
+
# @!attribute [rw] layer_digest
|
860
|
+
# The layer digest associated with the failure.
|
861
|
+
# @return [String]
|
862
|
+
#
|
863
|
+
# @!attribute [rw] failure_code
|
864
|
+
# The failure code associated with the failure.
|
865
|
+
# @return [String]
|
866
|
+
#
|
867
|
+
# @!attribute [rw] failure_reason
|
868
|
+
# The reason for the failure.
|
869
|
+
# @return [String]
|
870
|
+
#
|
871
|
+
class LayerFailure < Struct.new(
|
872
|
+
:layer_digest,
|
873
|
+
:failure_code,
|
874
|
+
:failure_reason)
|
875
|
+
include Aws::Structure
|
876
|
+
end
|
820
877
|
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
|
839
|
-
# @!attribute [rw] repository_name
|
840
|
-
# The repository whose image IDs are to be listed.
|
841
|
-
# @return [String]
|
842
|
-
#
|
843
|
-
# @!attribute [rw] next_token
|
844
|
-
# The `nextToken` value returned from a previous paginated
|
845
|
-
# `ListImages` request where `maxResults` was used and the results
|
846
|
-
# exceeded the value of that parameter. Pagination continues from the
|
847
|
-
# end of the previous results that returned the `nextToken` value.
|
848
|
-
# This value is `null` when there are no more results to return.
|
849
|
-
#
|
850
|
-
# <note markdown="1"> This token should be treated as an opaque identifier that is only
|
851
|
-
# used to retrieve the next items in a list and not for other
|
852
|
-
# programmatic purposes.
|
853
|
-
#
|
854
|
-
# </note>
|
855
|
-
# @return [String]
|
856
|
-
#
|
857
|
-
# @!attribute [rw] max_results
|
858
|
-
# The maximum number of image results returned by `ListImages` in
|
859
|
-
# paginated output. When this parameter is used, `ListImages` only
|
860
|
-
# returns `maxResults` results in a single page along with a
|
861
|
-
# `nextToken` response element. The remaining results of the initial
|
862
|
-
# request can be seen by sending another `ListImages` request with the
|
863
|
-
# returned `nextToken` value. This value can be between 1 and 100. If
|
864
|
-
# this parameter is not used, then `ListImages` returns up to 100
|
865
|
-
# results and a `nextToken` value, if applicable.
|
866
|
-
# @return [Integer]
|
867
|
-
#
|
868
|
-
# @!attribute [rw] filter
|
869
|
-
# The filter key and value with which to filter your `ListImages`
|
870
|
-
# results.
|
871
|
-
# @return [Types::ListImagesFilter]
|
872
|
-
class ListImagesRequest < Struct.new(
|
873
|
-
:registry_id,
|
874
|
-
:repository_name,
|
875
|
-
:next_token,
|
876
|
-
:max_results,
|
877
|
-
:filter)
|
878
|
-
include Aws::Structure
|
879
|
-
end
|
878
|
+
# An object representing a filter on a ListImages operation.
|
879
|
+
#
|
880
|
+
# @note When making an API call, you may pass ListImagesFilter
|
881
|
+
# data as a hash:
|
882
|
+
#
|
883
|
+
# {
|
884
|
+
# tag_status: "TAGGED", # accepts TAGGED, UNTAGGED
|
885
|
+
# }
|
886
|
+
#
|
887
|
+
# @!attribute [rw] tag_status
|
888
|
+
# The tag status with which to filter your ListImages results. You can
|
889
|
+
# filter results based on whether they are `TAGGED` or `UNTAGGED`.
|
890
|
+
# @return [String]
|
891
|
+
#
|
892
|
+
class ListImagesFilter < Struct.new(
|
893
|
+
:tag_status)
|
894
|
+
include Aws::Structure
|
895
|
+
end
|
880
896
|
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
|
895
|
-
|
897
|
+
# @note When making an API call, you may pass ListImagesRequest
|
898
|
+
# data as a hash:
|
899
|
+
#
|
900
|
+
# {
|
901
|
+
# registry_id: "RegistryId",
|
902
|
+
# repository_name: "RepositoryName", # required
|
903
|
+
# next_token: "NextToken",
|
904
|
+
# max_results: 1,
|
905
|
+
# filter: {
|
906
|
+
# tag_status: "TAGGED", # accepts TAGGED, UNTAGGED
|
907
|
+
# },
|
908
|
+
# }
|
909
|
+
#
|
910
|
+
# @!attribute [rw] registry_id
|
911
|
+
# The AWS account ID associated with the registry that contains the
|
912
|
+
# repository to list images in. If you do not specify a registry, the
|
913
|
+
# default registry is assumed.
|
914
|
+
# @return [String]
|
915
|
+
#
|
916
|
+
# @!attribute [rw] repository_name
|
917
|
+
# The repository whose image IDs are to be listed.
|
918
|
+
# @return [String]
|
919
|
+
#
|
920
|
+
# @!attribute [rw] next_token
|
921
|
+
# The `nextToken` value returned from a previous paginated
|
922
|
+
# `ListImages` request where `maxResults` was used and the results
|
923
|
+
# exceeded the value of that parameter. Pagination continues from the
|
924
|
+
# end of the previous results that returned the `nextToken` value.
|
925
|
+
# This value is `null` when there are no more results to return.
|
926
|
+
#
|
927
|
+
# <note markdown="1"> This token should be treated as an opaque identifier that is only
|
928
|
+
# used to retrieve the next items in a list and not for other
|
929
|
+
# programmatic purposes.
|
930
|
+
#
|
931
|
+
# </note>
|
932
|
+
# @return [String]
|
933
|
+
#
|
934
|
+
# @!attribute [rw] max_results
|
935
|
+
# The maximum number of image results returned by `ListImages` in
|
936
|
+
# paginated output. When this parameter is used, `ListImages` only
|
937
|
+
# returns `maxResults` results in a single page along with a
|
938
|
+
# `nextToken` response element. The remaining results of the initial
|
939
|
+
# request can be seen by sending another `ListImages` request with the
|
940
|
+
# returned `nextToken` value. This value can be between 1 and 100. If
|
941
|
+
# this parameter is not used, then `ListImages` returns up to 100
|
942
|
+
# results and a `nextToken` value, if applicable.
|
943
|
+
# @return [Integer]
|
944
|
+
#
|
945
|
+
# @!attribute [rw] filter
|
946
|
+
# The filter key and value with which to filter your `ListImages`
|
947
|
+
# results.
|
948
|
+
# @return [Types::ListImagesFilter]
|
949
|
+
#
|
950
|
+
class ListImagesRequest < Struct.new(
|
951
|
+
:registry_id,
|
952
|
+
:repository_name,
|
953
|
+
:next_token,
|
954
|
+
:max_results,
|
955
|
+
:filter)
|
956
|
+
include Aws::Structure
|
957
|
+
end
|
896
958
|
|
897
|
-
|
898
|
-
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
# @return [String]
|
914
|
-
#
|
915
|
-
# @!attribute [rw] image_manifest
|
916
|
-
# The image manifest corresponding to the image to be uploaded.
|
917
|
-
# @return [String]
|
918
|
-
class PutImageRequest < Struct.new(
|
919
|
-
:registry_id,
|
920
|
-
:repository_name,
|
921
|
-
:image_manifest)
|
922
|
-
include Aws::Structure
|
923
|
-
end
|
959
|
+
# @!attribute [rw] image_ids
|
960
|
+
# The list of image IDs for the requested repository.
|
961
|
+
# @return [Array<Types::ImageIdentifier>]
|
962
|
+
#
|
963
|
+
# @!attribute [rw] next_token
|
964
|
+
# The `nextToken` value to include in a future `ListImages` request.
|
965
|
+
# When the results of a `ListImages` request exceed `maxResults`, this
|
966
|
+
# value can be used to retrieve the next page of results. This value
|
967
|
+
# is `null` when there are no more results to return.
|
968
|
+
# @return [String]
|
969
|
+
#
|
970
|
+
class ListImagesResponse < Struct.new(
|
971
|
+
:image_ids,
|
972
|
+
:next_token)
|
973
|
+
include Aws::Structure
|
974
|
+
end
|
924
975
|
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
976
|
+
# @note When making an API call, you may pass PutImageRequest
|
977
|
+
# data as a hash:
|
978
|
+
#
|
979
|
+
# {
|
980
|
+
# registry_id: "RegistryId",
|
981
|
+
# repository_name: "RepositoryName", # required
|
982
|
+
# image_manifest: "ImageManifest", # required
|
983
|
+
# image_tag: "ImageTag",
|
984
|
+
# }
|
985
|
+
#
|
986
|
+
# @!attribute [rw] registry_id
|
987
|
+
# The AWS account ID associated with the registry that contains the
|
988
|
+
# repository in which to put the image. If you do not specify a
|
989
|
+
# registry, the default registry is assumed.
|
990
|
+
# @return [String]
|
991
|
+
#
|
992
|
+
# @!attribute [rw] repository_name
|
993
|
+
# The name of the repository in which to put the image.
|
994
|
+
# @return [String]
|
995
|
+
#
|
996
|
+
# @!attribute [rw] image_manifest
|
997
|
+
# The image manifest corresponding to the image to be uploaded.
|
998
|
+
# @return [String]
|
999
|
+
#
|
1000
|
+
# @!attribute [rw] image_tag
|
1001
|
+
# The tag to associate with the image. This parameter is required for
|
1002
|
+
# images that use the Docker Image Manifest V2 Schema 2 or OCI
|
1003
|
+
# formats.
|
1004
|
+
# @return [String]
|
1005
|
+
#
|
1006
|
+
class PutImageRequest < Struct.new(
|
1007
|
+
:registry_id,
|
1008
|
+
:repository_name,
|
1009
|
+
:image_manifest,
|
1010
|
+
:image_tag)
|
1011
|
+
include Aws::Structure
|
1012
|
+
end
|
932
1013
|
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
#
|
942
|
-
# @!attribute [rw] registry_id
|
943
|
-
# The AWS account ID associated with the registry that contains the
|
944
|
-
# repository.
|
945
|
-
# @return [String]
|
946
|
-
#
|
947
|
-
# @!attribute [rw] repository_name
|
948
|
-
# The name of the repository.
|
949
|
-
# @return [String]
|
950
|
-
#
|
951
|
-
# @!attribute [rw] repository_uri
|
952
|
-
# The URI for the repository. You can use this URI for Docker `push`
|
953
|
-
# and `pull` operations.
|
954
|
-
# @return [String]
|
955
|
-
#
|
956
|
-
# @!attribute [rw] created_at
|
957
|
-
# The date and time, in JavaScript date/time format, when the
|
958
|
-
# repository was created.
|
959
|
-
# @return [Time]
|
960
|
-
class Repository < Struct.new(
|
961
|
-
:repository_arn,
|
962
|
-
:registry_id,
|
963
|
-
:repository_name,
|
964
|
-
:repository_uri,
|
965
|
-
:created_at)
|
966
|
-
include Aws::Structure
|
967
|
-
end
|
1014
|
+
# @!attribute [rw] image
|
1015
|
+
# Details of the image uploaded.
|
1016
|
+
# @return [Types::Image]
|
1017
|
+
#
|
1018
|
+
class PutImageResponse < Struct.new(
|
1019
|
+
:image)
|
1020
|
+
include Aws::Structure
|
1021
|
+
end
|
968
1022
|
|
969
|
-
|
970
|
-
|
971
|
-
|
972
|
-
|
973
|
-
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
|
981
|
-
|
982
|
-
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
|
991
|
-
|
992
|
-
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1023
|
+
# An object representing a repository.
|
1024
|
+
#
|
1025
|
+
# @!attribute [rw] repository_arn
|
1026
|
+
# The Amazon Resource Name (ARN) that identifies the repository. The
|
1027
|
+
# ARN contains the `arn:aws:ecr` namespace, followed by the region of
|
1028
|
+
# the repository, the AWS account ID of the repository owner, the
|
1029
|
+
# repository namespace, and then the repository name. For example,
|
1030
|
+
# `arn:aws:ecr:region:012345678910:repository/test`.
|
1031
|
+
# @return [String]
|
1032
|
+
#
|
1033
|
+
# @!attribute [rw] registry_id
|
1034
|
+
# The AWS account ID associated with the registry that contains the
|
1035
|
+
# repository.
|
1036
|
+
# @return [String]
|
1037
|
+
#
|
1038
|
+
# @!attribute [rw] repository_name
|
1039
|
+
# The name of the repository.
|
1040
|
+
# @return [String]
|
1041
|
+
#
|
1042
|
+
# @!attribute [rw] repository_uri
|
1043
|
+
# The URI for the repository. You can use this URI for Docker `push`
|
1044
|
+
# and `pull` operations.
|
1045
|
+
# @return [String]
|
1046
|
+
#
|
1047
|
+
# @!attribute [rw] created_at
|
1048
|
+
# The date and time, in JavaScript date/time format, when the
|
1049
|
+
# repository was created.
|
1050
|
+
# @return [Time]
|
1051
|
+
#
|
1052
|
+
class Repository < Struct.new(
|
1053
|
+
:repository_arn,
|
1054
|
+
:registry_id,
|
1055
|
+
:repository_name,
|
1056
|
+
:repository_uri,
|
1057
|
+
:created_at)
|
1058
|
+
include Aws::Structure
|
1059
|
+
end
|
1005
1060
|
|
1006
|
-
|
1007
|
-
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
1014
|
-
|
1015
|
-
|
1016
|
-
|
1017
|
-
|
1018
|
-
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
|
1061
|
+
# @note When making an API call, you may pass SetRepositoryPolicyRequest
|
1062
|
+
# data as a hash:
|
1063
|
+
#
|
1064
|
+
# {
|
1065
|
+
# registry_id: "RegistryId",
|
1066
|
+
# repository_name: "RepositoryName", # required
|
1067
|
+
# policy_text: "RepositoryPolicyText", # required
|
1068
|
+
# force: false,
|
1069
|
+
# }
|
1070
|
+
#
|
1071
|
+
# @!attribute [rw] registry_id
|
1072
|
+
# The AWS account ID associated with the registry that contains the
|
1073
|
+
# repository. If you do not specify a registry, the default registry
|
1074
|
+
# is assumed.
|
1075
|
+
# @return [String]
|
1076
|
+
#
|
1077
|
+
# @!attribute [rw] repository_name
|
1078
|
+
# The name of the repository to receive the policy.
|
1079
|
+
# @return [String]
|
1080
|
+
#
|
1081
|
+
# @!attribute [rw] policy_text
|
1082
|
+
# The JSON repository policy text to apply to the repository.
|
1083
|
+
# @return [String]
|
1084
|
+
#
|
1085
|
+
# @!attribute [rw] force
|
1086
|
+
# If the policy you are attempting to set on a repository policy would
|
1087
|
+
# prevent you from setting another policy in the future, you must
|
1088
|
+
# force the SetRepositoryPolicy operation. This is intended to prevent
|
1089
|
+
# accidental repository lock outs.
|
1090
|
+
# @return [Boolean]
|
1091
|
+
#
|
1092
|
+
class SetRepositoryPolicyRequest < Struct.new(
|
1093
|
+
:registry_id,
|
1094
|
+
:repository_name,
|
1095
|
+
:policy_text,
|
1096
|
+
:force)
|
1097
|
+
include Aws::Structure
|
1098
|
+
end
|
1023
1099
|
|
1024
|
-
|
1025
|
-
|
1026
|
-
|
1027
|
-
|
1028
|
-
|
1029
|
-
|
1030
|
-
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
1042
|
-
# The name of the repository that you are uploading layer parts to.
|
1043
|
-
# @return [String]
|
1044
|
-
#
|
1045
|
-
# @!attribute [rw] upload_id
|
1046
|
-
# The upload ID from a previous InitiateLayerUpload operation to
|
1047
|
-
# associate with the layer part upload.
|
1048
|
-
# @return [String]
|
1049
|
-
#
|
1050
|
-
# @!attribute [rw] part_first_byte
|
1051
|
-
# The integer value of the first byte of the layer part.
|
1052
|
-
# @return [Integer]
|
1053
|
-
#
|
1054
|
-
# @!attribute [rw] part_last_byte
|
1055
|
-
# The integer value of the last byte of the layer part.
|
1056
|
-
# @return [Integer]
|
1057
|
-
#
|
1058
|
-
# @!attribute [rw] layer_part_blob
|
1059
|
-
# The base64-encoded layer part payload.
|
1060
|
-
# @return [String]
|
1061
|
-
class UploadLayerPartRequest < Struct.new(
|
1062
|
-
:registry_id,
|
1063
|
-
:repository_name,
|
1064
|
-
:upload_id,
|
1065
|
-
:part_first_byte,
|
1066
|
-
:part_last_byte,
|
1067
|
-
:layer_part_blob)
|
1068
|
-
include Aws::Structure
|
1069
|
-
end
|
1100
|
+
# @!attribute [rw] registry_id
|
1101
|
+
# The registry ID associated with the request.
|
1102
|
+
# @return [String]
|
1103
|
+
#
|
1104
|
+
# @!attribute [rw] repository_name
|
1105
|
+
# The repository name associated with the request.
|
1106
|
+
# @return [String]
|
1107
|
+
#
|
1108
|
+
# @!attribute [rw] policy_text
|
1109
|
+
# The JSON repository policy text applied to the repository.
|
1110
|
+
# @return [String]
|
1111
|
+
#
|
1112
|
+
class SetRepositoryPolicyResponse < Struct.new(
|
1113
|
+
:registry_id,
|
1114
|
+
:repository_name,
|
1115
|
+
:policy_text)
|
1116
|
+
include Aws::Structure
|
1117
|
+
end
|
1070
1118
|
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1086
|
-
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1090
|
-
|
1091
|
-
|
1092
|
-
|
1119
|
+
# @note When making an API call, you may pass UploadLayerPartRequest
|
1120
|
+
# data as a hash:
|
1121
|
+
#
|
1122
|
+
# {
|
1123
|
+
# registry_id: "RegistryId",
|
1124
|
+
# repository_name: "RepositoryName", # required
|
1125
|
+
# upload_id: "UploadId", # required
|
1126
|
+
# part_first_byte: 1, # required
|
1127
|
+
# part_last_byte: 1, # required
|
1128
|
+
# layer_part_blob: "data", # required
|
1129
|
+
# }
|
1130
|
+
#
|
1131
|
+
# @!attribute [rw] registry_id
|
1132
|
+
# The AWS account ID associated with the registry that you are
|
1133
|
+
# uploading layer parts to. If you do not specify a registry, the
|
1134
|
+
# default registry is assumed.
|
1135
|
+
# @return [String]
|
1136
|
+
#
|
1137
|
+
# @!attribute [rw] repository_name
|
1138
|
+
# The name of the repository that you are uploading layer parts to.
|
1139
|
+
# @return [String]
|
1140
|
+
#
|
1141
|
+
# @!attribute [rw] upload_id
|
1142
|
+
# The upload ID from a previous InitiateLayerUpload operation to
|
1143
|
+
# associate with the layer part upload.
|
1144
|
+
# @return [String]
|
1145
|
+
#
|
1146
|
+
# @!attribute [rw] part_first_byte
|
1147
|
+
# The integer value of the first byte of the layer part.
|
1148
|
+
# @return [Integer]
|
1149
|
+
#
|
1150
|
+
# @!attribute [rw] part_last_byte
|
1151
|
+
# The integer value of the last byte of the layer part.
|
1152
|
+
# @return [Integer]
|
1153
|
+
#
|
1154
|
+
# @!attribute [rw] layer_part_blob
|
1155
|
+
# The base64-encoded layer part payload.
|
1156
|
+
# @return [String]
|
1157
|
+
#
|
1158
|
+
class UploadLayerPartRequest < Struct.new(
|
1159
|
+
:registry_id,
|
1160
|
+
:repository_name,
|
1161
|
+
:upload_id,
|
1162
|
+
:part_first_byte,
|
1163
|
+
:part_last_byte,
|
1164
|
+
:layer_part_blob)
|
1165
|
+
include Aws::Structure
|
1166
|
+
end
|
1093
1167
|
|
1168
|
+
# @!attribute [rw] registry_id
|
1169
|
+
# The registry ID associated with the request.
|
1170
|
+
# @return [String]
|
1171
|
+
#
|
1172
|
+
# @!attribute [rw] repository_name
|
1173
|
+
# The repository name associated with the request.
|
1174
|
+
# @return [String]
|
1175
|
+
#
|
1176
|
+
# @!attribute [rw] upload_id
|
1177
|
+
# The upload ID associated with the request.
|
1178
|
+
# @return [String]
|
1179
|
+
#
|
1180
|
+
# @!attribute [rw] last_byte_received
|
1181
|
+
# The integer value of the last byte received in the request.
|
1182
|
+
# @return [Integer]
|
1183
|
+
#
|
1184
|
+
class UploadLayerPartResponse < Struct.new(
|
1185
|
+
:registry_id,
|
1186
|
+
:repository_name,
|
1187
|
+
:upload_id,
|
1188
|
+
:last_byte_received)
|
1189
|
+
include Aws::Structure
|
1094
1190
|
end
|
1191
|
+
|
1095
1192
|
end
|
1096
1193
|
end
|