aws-sdk-ecr 1.3.0 → 1.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/CHANGELOG.md +420 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-ecr/client.rb +1788 -221
- data/lib/aws-sdk-ecr/client_api.rb +1036 -4
- data/lib/aws-sdk-ecr/customizations.rb +2 -1
- data/lib/aws-sdk-ecr/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-ecr/endpoint_provider.rb +60 -0
- data/lib/aws-sdk-ecr/endpoints.rb +618 -0
- data/lib/aws-sdk-ecr/errors.rb +658 -1
- data/lib/aws-sdk-ecr/plugins/endpoints.rb +156 -0
- data/lib/aws-sdk-ecr/resource.rb +4 -1
- data/lib/aws-sdk-ecr/types.rb +2816 -422
- data/lib/aws-sdk-ecr/waiters.rb +167 -0
- data/lib/aws-sdk-ecr.rb +17 -6
- data/sig/client.rbs +769 -0
- data/sig/errors.rbs +135 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +1127 -0
- data/sig/waiters.rbs +52 -0
- metadata +32 -14
data/lib/aws-sdk-ecr/types.rb
CHANGED
@@ -1,13 +1,34 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
4
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
7
|
#
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::ECR
|
9
11
|
module Types
|
10
12
|
|
13
|
+
# This data type is used in the ImageScanFinding data type.
|
14
|
+
#
|
15
|
+
# @!attribute [rw] key
|
16
|
+
# The attribute key.
|
17
|
+
# @return [String]
|
18
|
+
#
|
19
|
+
# @!attribute [rw] value
|
20
|
+
# The value assigned to the attribute key.
|
21
|
+
# @return [String]
|
22
|
+
#
|
23
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/Attribute AWS API Documentation
|
24
|
+
#
|
25
|
+
class Attribute < Struct.new(
|
26
|
+
:key,
|
27
|
+
:value)
|
28
|
+
SENSITIVE = []
|
29
|
+
include Aws::Structure
|
30
|
+
end
|
31
|
+
|
11
32
|
# An object representing authorization data for an Amazon ECR registry.
|
12
33
|
#
|
13
34
|
# @!attribute [rw] authorization_token
|
@@ -35,22 +56,64 @@ module Aws::ECR
|
|
35
56
|
:authorization_token,
|
36
57
|
:expires_at,
|
37
58
|
:proxy_endpoint)
|
59
|
+
SENSITIVE = []
|
38
60
|
include Aws::Structure
|
39
61
|
end
|
40
62
|
|
41
|
-
#
|
42
|
-
#
|
63
|
+
# The image details of the Amazon ECR container image.
|
64
|
+
#
|
65
|
+
# @!attribute [rw] architecture
|
66
|
+
# The architecture of the Amazon ECR container image.
|
67
|
+
# @return [String]
|
68
|
+
#
|
69
|
+
# @!attribute [rw] author
|
70
|
+
# The image author of the Amazon ECR container image.
|
71
|
+
# @return [String]
|
72
|
+
#
|
73
|
+
# @!attribute [rw] image_hash
|
74
|
+
# The image hash of the Amazon ECR container image.
|
75
|
+
# @return [String]
|
43
76
|
#
|
44
|
-
#
|
45
|
-
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
77
|
+
# @!attribute [rw] image_tags
|
78
|
+
# The image tags attached to the Amazon ECR container image.
|
79
|
+
# @return [Array<String>]
|
80
|
+
#
|
81
|
+
# @!attribute [rw] platform
|
82
|
+
# The platform of the Amazon ECR container image.
|
83
|
+
# @return [String]
|
84
|
+
#
|
85
|
+
# @!attribute [rw] pushed_at
|
86
|
+
# The date and time the Amazon ECR container image was pushed.
|
87
|
+
# @return [Time]
|
88
|
+
#
|
89
|
+
# @!attribute [rw] registry
|
90
|
+
# The registry the Amazon ECR container image belongs to.
|
91
|
+
# @return [String]
|
49
92
|
#
|
93
|
+
# @!attribute [rw] repository_name
|
94
|
+
# The name of the repository the Amazon ECR container image resides
|
95
|
+
# in.
|
96
|
+
# @return [String]
|
97
|
+
#
|
98
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/AwsEcrContainerImageDetails AWS API Documentation
|
99
|
+
#
|
100
|
+
class AwsEcrContainerImageDetails < Struct.new(
|
101
|
+
:architecture,
|
102
|
+
:author,
|
103
|
+
:image_hash,
|
104
|
+
:image_tags,
|
105
|
+
:platform,
|
106
|
+
:pushed_at,
|
107
|
+
:registry,
|
108
|
+
:repository_name)
|
109
|
+
SENSITIVE = []
|
110
|
+
include Aws::Structure
|
111
|
+
end
|
112
|
+
|
50
113
|
# @!attribute [rw] registry_id
|
51
|
-
# The
|
52
|
-
# image layers to check. If you do not specify a
|
53
|
-
# registry is assumed.
|
114
|
+
# The Amazon Web Services account ID associated with the registry that
|
115
|
+
# contains the image layers to check. If you do not specify a
|
116
|
+
# registry, the default registry is assumed.
|
54
117
|
# @return [String]
|
55
118
|
#
|
56
119
|
# @!attribute [rw] repository_name
|
@@ -68,6 +131,7 @@ module Aws::ECR
|
|
68
131
|
:registry_id,
|
69
132
|
:repository_name,
|
70
133
|
:layer_digests)
|
134
|
+
SENSITIVE = []
|
71
135
|
include Aws::Structure
|
72
136
|
end
|
73
137
|
|
@@ -85,30 +149,17 @@ module Aws::ECR
|
|
85
149
|
class BatchCheckLayerAvailabilityResponse < Struct.new(
|
86
150
|
:layers,
|
87
151
|
:failures)
|
152
|
+
SENSITIVE = []
|
88
153
|
include Aws::Structure
|
89
154
|
end
|
90
155
|
|
91
156
|
# Deletes specified images within a specified repository. Images are
|
92
157
|
# specified with either the `imageTag` or `imageDigest`.
|
93
158
|
#
|
94
|
-
# @note When making an API call, you may pass BatchDeleteImageRequest
|
95
|
-
# data as a hash:
|
96
|
-
#
|
97
|
-
# {
|
98
|
-
# registry_id: "RegistryId",
|
99
|
-
# repository_name: "RepositoryName", # required
|
100
|
-
# image_ids: [ # required
|
101
|
-
# {
|
102
|
-
# image_digest: "ImageDigest",
|
103
|
-
# image_tag: "ImageTag",
|
104
|
-
# },
|
105
|
-
# ],
|
106
|
-
# }
|
107
|
-
#
|
108
159
|
# @!attribute [rw] registry_id
|
109
|
-
# The
|
110
|
-
# image to delete. If you do not specify a registry, the
|
111
|
-
# registry is assumed.
|
160
|
+
# The Amazon Web Services account ID associated with the registry that
|
161
|
+
# contains the image to delete. If you do not specify a registry, the
|
162
|
+
# default registry is assumed.
|
112
163
|
# @return [String]
|
113
164
|
#
|
114
165
|
# @!attribute [rw] repository_name
|
@@ -127,6 +178,7 @@ module Aws::ECR
|
|
127
178
|
:registry_id,
|
128
179
|
:repository_name,
|
129
180
|
:image_ids)
|
181
|
+
SENSITIVE = []
|
130
182
|
include Aws::Structure
|
131
183
|
end
|
132
184
|
|
@@ -143,28 +195,14 @@ module Aws::ECR
|
|
143
195
|
class BatchDeleteImageResponse < Struct.new(
|
144
196
|
:image_ids,
|
145
197
|
:failures)
|
198
|
+
SENSITIVE = []
|
146
199
|
include Aws::Structure
|
147
200
|
end
|
148
201
|
|
149
|
-
# @note When making an API call, you may pass BatchGetImageRequest
|
150
|
-
# data as a hash:
|
151
|
-
#
|
152
|
-
# {
|
153
|
-
# registry_id: "RegistryId",
|
154
|
-
# repository_name: "RepositoryName", # required
|
155
|
-
# image_ids: [ # required
|
156
|
-
# {
|
157
|
-
# image_digest: "ImageDigest",
|
158
|
-
# image_tag: "ImageTag",
|
159
|
-
# },
|
160
|
-
# ],
|
161
|
-
# accepted_media_types: ["MediaType"],
|
162
|
-
# }
|
163
|
-
#
|
164
202
|
# @!attribute [rw] registry_id
|
165
|
-
# The
|
166
|
-
# images to describe. If you do not specify a registry,
|
167
|
-
# registry is assumed.
|
203
|
+
# The Amazon Web Services account ID associated with the registry that
|
204
|
+
# contains the images to describe. If you do not specify a registry,
|
205
|
+
# the default registry is assumed.
|
168
206
|
# @return [String]
|
169
207
|
#
|
170
208
|
# @!attribute [rw] repository_name
|
@@ -192,6 +230,7 @@ module Aws::ECR
|
|
192
230
|
:repository_name,
|
193
231
|
:image_ids,
|
194
232
|
:accepted_media_types)
|
233
|
+
SENSITIVE = []
|
195
234
|
include Aws::Structure
|
196
235
|
end
|
197
236
|
|
@@ -209,23 +248,43 @@ module Aws::ECR
|
|
209
248
|
class BatchGetImageResponse < Struct.new(
|
210
249
|
:images,
|
211
250
|
:failures)
|
251
|
+
SENSITIVE = []
|
252
|
+
include Aws::Structure
|
253
|
+
end
|
254
|
+
|
255
|
+
# @!attribute [rw] repository_names
|
256
|
+
# One or more repository names to get the scanning configuration for.
|
257
|
+
# @return [Array<String>]
|
258
|
+
#
|
259
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchGetRepositoryScanningConfigurationRequest AWS API Documentation
|
260
|
+
#
|
261
|
+
class BatchGetRepositoryScanningConfigurationRequest < Struct.new(
|
262
|
+
:repository_names)
|
263
|
+
SENSITIVE = []
|
212
264
|
include Aws::Structure
|
213
265
|
end
|
214
266
|
|
215
|
-
#
|
216
|
-
#
|
267
|
+
# @!attribute [rw] scanning_configurations
|
268
|
+
# The scanning configuration for the requested repositories.
|
269
|
+
# @return [Array<Types::RepositoryScanningConfiguration>]
|
270
|
+
#
|
271
|
+
# @!attribute [rw] failures
|
272
|
+
# Any failures associated with the call.
|
273
|
+
# @return [Array<Types::RepositoryScanningConfigurationFailure>]
|
217
274
|
#
|
218
|
-
#
|
219
|
-
# registry_id: "RegistryId",
|
220
|
-
# repository_name: "RepositoryName", # required
|
221
|
-
# upload_id: "UploadId", # required
|
222
|
-
# layer_digests: ["LayerDigest"], # required
|
223
|
-
# }
|
275
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchGetRepositoryScanningConfigurationResponse AWS API Documentation
|
224
276
|
#
|
277
|
+
class BatchGetRepositoryScanningConfigurationResponse < Struct.new(
|
278
|
+
:scanning_configurations,
|
279
|
+
:failures)
|
280
|
+
SENSITIVE = []
|
281
|
+
include Aws::Structure
|
282
|
+
end
|
283
|
+
|
225
284
|
# @!attribute [rw] registry_id
|
226
|
-
# The
|
227
|
-
# layers. If you do not specify a registry, the
|
228
|
-
# assumed.
|
285
|
+
# The Amazon Web Services account ID associated with the registry to
|
286
|
+
# which to upload layers. If you do not specify a registry, the
|
287
|
+
# default registry is assumed.
|
229
288
|
# @return [String]
|
230
289
|
#
|
231
290
|
# @!attribute [rw] repository_name
|
@@ -248,6 +307,7 @@ module Aws::ECR
|
|
248
307
|
:repository_name,
|
249
308
|
:upload_id,
|
250
309
|
:layer_digests)
|
310
|
+
SENSITIVE = []
|
251
311
|
include Aws::Structure
|
252
312
|
end
|
253
313
|
|
@@ -274,27 +334,159 @@ module Aws::ECR
|
|
274
334
|
:repository_name,
|
275
335
|
:upload_id,
|
276
336
|
:layer_digest)
|
337
|
+
SENSITIVE = []
|
338
|
+
include Aws::Structure
|
339
|
+
end
|
340
|
+
|
341
|
+
# @!attribute [rw] ecr_repository_prefix
|
342
|
+
# The repository name prefix to use when caching images from the
|
343
|
+
# source registry.
|
344
|
+
# @return [String]
|
345
|
+
#
|
346
|
+
# @!attribute [rw] upstream_registry_url
|
347
|
+
# The registry URL of the upstream public registry to use as the
|
348
|
+
# source for the pull through cache rule. The following is the syntax
|
349
|
+
# to use for each supported upstream registry.
|
350
|
+
#
|
351
|
+
# * Amazon ECR Public (`ecr-public`) - `public.ecr.aws`
|
352
|
+
#
|
353
|
+
# * Docker Hub (`docker-hub`) - `registry-1.docker.io`
|
354
|
+
#
|
355
|
+
# * Quay (`quay`) - `quay.io`
|
356
|
+
#
|
357
|
+
# * Kubernetes (`k8s`) - `registry.k8s.io`
|
358
|
+
#
|
359
|
+
# * GitHub Container Registry (`github-container-registry`) -
|
360
|
+
# `ghcr.io`
|
361
|
+
#
|
362
|
+
# * Microsoft Azure Container Registry (`azure-container-registry`) -
|
363
|
+
# `<custom>.azurecr.io`
|
364
|
+
# @return [String]
|
365
|
+
#
|
366
|
+
# @!attribute [rw] registry_id
|
367
|
+
# The Amazon Web Services account ID associated with the registry to
|
368
|
+
# create the pull through cache rule for. If you do not specify a
|
369
|
+
# registry, the default registry is assumed.
|
370
|
+
# @return [String]
|
371
|
+
#
|
372
|
+
# @!attribute [rw] upstream_registry
|
373
|
+
# The name of the upstream registry.
|
374
|
+
# @return [String]
|
375
|
+
#
|
376
|
+
# @!attribute [rw] credential_arn
|
377
|
+
# The Amazon Resource Name (ARN) of the Amazon Web Services Secrets
|
378
|
+
# Manager secret that identifies the credentials to authenticate to
|
379
|
+
# the upstream registry.
|
380
|
+
# @return [String]
|
381
|
+
#
|
382
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreatePullThroughCacheRuleRequest AWS API Documentation
|
383
|
+
#
|
384
|
+
class CreatePullThroughCacheRuleRequest < Struct.new(
|
385
|
+
:ecr_repository_prefix,
|
386
|
+
:upstream_registry_url,
|
387
|
+
:registry_id,
|
388
|
+
:upstream_registry,
|
389
|
+
:credential_arn)
|
390
|
+
SENSITIVE = []
|
277
391
|
include Aws::Structure
|
278
392
|
end
|
279
393
|
|
280
|
-
#
|
281
|
-
#
|
394
|
+
# @!attribute [rw] ecr_repository_prefix
|
395
|
+
# The Amazon ECR repository prefix associated with the pull through
|
396
|
+
# cache rule.
|
397
|
+
# @return [String]
|
398
|
+
#
|
399
|
+
# @!attribute [rw] upstream_registry_url
|
400
|
+
# The upstream registry URL associated with the pull through cache
|
401
|
+
# rule.
|
402
|
+
# @return [String]
|
403
|
+
#
|
404
|
+
# @!attribute [rw] created_at
|
405
|
+
# The date and time, in JavaScript date format, when the pull through
|
406
|
+
# cache rule was created.
|
407
|
+
# @return [Time]
|
408
|
+
#
|
409
|
+
# @!attribute [rw] registry_id
|
410
|
+
# The registry ID associated with the request.
|
411
|
+
# @return [String]
|
412
|
+
#
|
413
|
+
# @!attribute [rw] upstream_registry
|
414
|
+
# The name of the upstream registry associated with the pull through
|
415
|
+
# cache rule.
|
416
|
+
# @return [String]
|
417
|
+
#
|
418
|
+
# @!attribute [rw] credential_arn
|
419
|
+
# The Amazon Resource Name (ARN) of the Amazon Web Services Secrets
|
420
|
+
# Manager secret associated with the pull through cache rule.
|
421
|
+
# @return [String]
|
422
|
+
#
|
423
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreatePullThroughCacheRuleResponse AWS API Documentation
|
282
424
|
#
|
283
|
-
|
284
|
-
|
285
|
-
|
425
|
+
class CreatePullThroughCacheRuleResponse < Struct.new(
|
426
|
+
:ecr_repository_prefix,
|
427
|
+
:upstream_registry_url,
|
428
|
+
:created_at,
|
429
|
+
:registry_id,
|
430
|
+
:upstream_registry,
|
431
|
+
:credential_arn)
|
432
|
+
SENSITIVE = []
|
433
|
+
include Aws::Structure
|
434
|
+
end
|
435
|
+
|
436
|
+
# @!attribute [rw] registry_id
|
437
|
+
# The Amazon Web Services account ID associated with the registry to
|
438
|
+
# create the repository. If you do not specify a registry, the default
|
439
|
+
# registry is assumed.
|
440
|
+
# @return [String]
|
286
441
|
#
|
287
442
|
# @!attribute [rw] repository_name
|
288
443
|
# The name to use for the repository. The repository name may be
|
289
444
|
# specified on its own (such as `nginx-web-app`) or it can be
|
290
445
|
# prepended with a namespace to group the repository into a category
|
291
446
|
# (such as `project-a/nginx-web-app`).
|
447
|
+
#
|
448
|
+
# The repository name must start with a letter and can only contain
|
449
|
+
# lowercase letters, numbers, hyphens, underscores, and forward
|
450
|
+
# slashes.
|
292
451
|
# @return [String]
|
293
452
|
#
|
453
|
+
# @!attribute [rw] tags
|
454
|
+
# The metadata that you apply to the repository to help you categorize
|
455
|
+
# and organize them. Each tag consists of a key and an optional value,
|
456
|
+
# both of which you define. Tag keys can have a maximum character
|
457
|
+
# length of 128 characters, and tag values can have a maximum length
|
458
|
+
# of 256 characters.
|
459
|
+
# @return [Array<Types::Tag>]
|
460
|
+
#
|
461
|
+
# @!attribute [rw] image_tag_mutability
|
462
|
+
# The tag mutability setting for the repository. If this parameter is
|
463
|
+
# omitted, the default setting of `MUTABLE` will be used which will
|
464
|
+
# allow image tags to be overwritten. If `IMMUTABLE` is specified, all
|
465
|
+
# image tags within the repository will be immutable which will
|
466
|
+
# prevent them from being overwritten.
|
467
|
+
# @return [String]
|
468
|
+
#
|
469
|
+
# @!attribute [rw] image_scanning_configuration
|
470
|
+
# The image scanning configuration for the repository. This determines
|
471
|
+
# whether images are scanned for known vulnerabilities after being
|
472
|
+
# pushed to the repository.
|
473
|
+
# @return [Types::ImageScanningConfiguration]
|
474
|
+
#
|
475
|
+
# @!attribute [rw] encryption_configuration
|
476
|
+
# The encryption configuration for the repository. This determines how
|
477
|
+
# the contents of your repository are encrypted at rest.
|
478
|
+
# @return [Types::EncryptionConfiguration]
|
479
|
+
#
|
294
480
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreateRepositoryRequest AWS API Documentation
|
295
481
|
#
|
296
482
|
class CreateRepositoryRequest < Struct.new(
|
297
|
-
:
|
483
|
+
:registry_id,
|
484
|
+
:repository_name,
|
485
|
+
:tags,
|
486
|
+
:image_tag_mutability,
|
487
|
+
:image_scanning_configuration,
|
488
|
+
:encryption_configuration)
|
489
|
+
SENSITIVE = []
|
298
490
|
include Aws::Structure
|
299
491
|
end
|
300
492
|
|
@@ -306,21 +498,98 @@ module Aws::ECR
|
|
306
498
|
#
|
307
499
|
class CreateRepositoryResponse < Struct.new(
|
308
500
|
:repository)
|
501
|
+
SENSITIVE = []
|
502
|
+
include Aws::Structure
|
503
|
+
end
|
504
|
+
|
505
|
+
# The CVSS score for a finding.
|
506
|
+
#
|
507
|
+
# @!attribute [rw] base_score
|
508
|
+
# The base CVSS score used for the finding.
|
509
|
+
# @return [Float]
|
510
|
+
#
|
511
|
+
# @!attribute [rw] scoring_vector
|
512
|
+
# The vector string of the CVSS score.
|
513
|
+
# @return [String]
|
514
|
+
#
|
515
|
+
# @!attribute [rw] source
|
516
|
+
# The source of the CVSS score.
|
517
|
+
# @return [String]
|
518
|
+
#
|
519
|
+
# @!attribute [rw] version
|
520
|
+
# The version of CVSS used for the score.
|
521
|
+
# @return [String]
|
522
|
+
#
|
523
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CvssScore AWS API Documentation
|
524
|
+
#
|
525
|
+
class CvssScore < Struct.new(
|
526
|
+
:base_score,
|
527
|
+
:scoring_vector,
|
528
|
+
:source,
|
529
|
+
:version)
|
530
|
+
SENSITIVE = []
|
531
|
+
include Aws::Structure
|
532
|
+
end
|
533
|
+
|
534
|
+
# Details on adjustments Amazon Inspector made to the CVSS score for a
|
535
|
+
# finding.
|
536
|
+
#
|
537
|
+
# @!attribute [rw] metric
|
538
|
+
# The metric used to adjust the CVSS score.
|
539
|
+
# @return [String]
|
540
|
+
#
|
541
|
+
# @!attribute [rw] reason
|
542
|
+
# The reason the CVSS score has been adjustment.
|
543
|
+
# @return [String]
|
544
|
+
#
|
545
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CvssScoreAdjustment AWS API Documentation
|
546
|
+
#
|
547
|
+
class CvssScoreAdjustment < Struct.new(
|
548
|
+
:metric,
|
549
|
+
:reason)
|
550
|
+
SENSITIVE = []
|
309
551
|
include Aws::Structure
|
310
552
|
end
|
311
553
|
|
312
|
-
#
|
313
|
-
#
|
554
|
+
# Information about the CVSS score.
|
555
|
+
#
|
556
|
+
# @!attribute [rw] adjustments
|
557
|
+
# An object that contains details about adjustment Amazon Inspector
|
558
|
+
# made to the CVSS score.
|
559
|
+
# @return [Array<Types::CvssScoreAdjustment>]
|
560
|
+
#
|
561
|
+
# @!attribute [rw] score
|
562
|
+
# The CVSS score.
|
563
|
+
# @return [Float]
|
564
|
+
#
|
565
|
+
# @!attribute [rw] score_source
|
566
|
+
# The source for the CVSS score.
|
567
|
+
# @return [String]
|
568
|
+
#
|
569
|
+
# @!attribute [rw] scoring_vector
|
570
|
+
# The vector for the CVSS score.
|
571
|
+
# @return [String]
|
572
|
+
#
|
573
|
+
# @!attribute [rw] version
|
574
|
+
# The CVSS version used in scoring.
|
575
|
+
# @return [String]
|
314
576
|
#
|
315
|
-
#
|
316
|
-
# registry_id: "RegistryId",
|
317
|
-
# repository_name: "RepositoryName", # required
|
318
|
-
# }
|
577
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CvssScoreDetails AWS API Documentation
|
319
578
|
#
|
579
|
+
class CvssScoreDetails < Struct.new(
|
580
|
+
:adjustments,
|
581
|
+
:score,
|
582
|
+
:score_source,
|
583
|
+
:scoring_vector,
|
584
|
+
:version)
|
585
|
+
SENSITIVE = []
|
586
|
+
include Aws::Structure
|
587
|
+
end
|
588
|
+
|
320
589
|
# @!attribute [rw] registry_id
|
321
|
-
# The
|
322
|
-
# repository. If you do not specify a registry, the
|
323
|
-
# is assumed.
|
590
|
+
# The Amazon Web Services account ID associated with the registry that
|
591
|
+
# contains the repository. If you do not specify a registry, the
|
592
|
+
# default registry is assumed.
|
324
593
|
# @return [String]
|
325
594
|
#
|
326
595
|
# @!attribute [rw] repository_name
|
@@ -332,6 +601,7 @@ module Aws::ECR
|
|
332
601
|
class DeleteLifecyclePolicyRequest < Struct.new(
|
333
602
|
:registry_id,
|
334
603
|
:repository_name)
|
604
|
+
SENSITIVE = []
|
335
605
|
include Aws::Structure
|
336
606
|
end
|
337
607
|
|
@@ -358,21 +628,91 @@ module Aws::ECR
|
|
358
628
|
:repository_name,
|
359
629
|
:lifecycle_policy_text,
|
360
630
|
:last_evaluated_at)
|
631
|
+
SENSITIVE = []
|
632
|
+
include Aws::Structure
|
633
|
+
end
|
634
|
+
|
635
|
+
# @!attribute [rw] ecr_repository_prefix
|
636
|
+
# The Amazon ECR repository prefix associated with the pull through
|
637
|
+
# cache rule to delete.
|
638
|
+
# @return [String]
|
639
|
+
#
|
640
|
+
# @!attribute [rw] registry_id
|
641
|
+
# The Amazon Web Services account ID associated with the registry that
|
642
|
+
# contains the pull through cache rule. If you do not specify a
|
643
|
+
# registry, the default registry is assumed.
|
644
|
+
# @return [String]
|
645
|
+
#
|
646
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeletePullThroughCacheRuleRequest AWS API Documentation
|
647
|
+
#
|
648
|
+
class DeletePullThroughCacheRuleRequest < Struct.new(
|
649
|
+
:ecr_repository_prefix,
|
650
|
+
:registry_id)
|
651
|
+
SENSITIVE = []
|
652
|
+
include Aws::Structure
|
653
|
+
end
|
654
|
+
|
655
|
+
# @!attribute [rw] ecr_repository_prefix
|
656
|
+
# The Amazon ECR repository prefix associated with the request.
|
657
|
+
# @return [String]
|
658
|
+
#
|
659
|
+
# @!attribute [rw] upstream_registry_url
|
660
|
+
# The upstream registry URL associated with the pull through cache
|
661
|
+
# rule.
|
662
|
+
# @return [String]
|
663
|
+
#
|
664
|
+
# @!attribute [rw] created_at
|
665
|
+
# The timestamp associated with the pull through cache rule.
|
666
|
+
# @return [Time]
|
667
|
+
#
|
668
|
+
# @!attribute [rw] registry_id
|
669
|
+
# The registry ID associated with the request.
|
670
|
+
# @return [String]
|
671
|
+
#
|
672
|
+
# @!attribute [rw] credential_arn
|
673
|
+
# The Amazon Resource Name (ARN) of the Amazon Web Services Secrets
|
674
|
+
# Manager secret associated with the pull through cache rule.
|
675
|
+
# @return [String]
|
676
|
+
#
|
677
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeletePullThroughCacheRuleResponse AWS API Documentation
|
678
|
+
#
|
679
|
+
class DeletePullThroughCacheRuleResponse < Struct.new(
|
680
|
+
:ecr_repository_prefix,
|
681
|
+
:upstream_registry_url,
|
682
|
+
:created_at,
|
683
|
+
:registry_id,
|
684
|
+
:credential_arn)
|
685
|
+
SENSITIVE = []
|
361
686
|
include Aws::Structure
|
362
687
|
end
|
363
688
|
|
364
|
-
# @
|
365
|
-
# data as a hash:
|
689
|
+
# @api private
|
366
690
|
#
|
367
|
-
#
|
368
|
-
# registry_id: "RegistryId",
|
369
|
-
# repository_name: "RepositoryName", # required
|
370
|
-
# }
|
691
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRegistryPolicyRequest AWS API Documentation
|
371
692
|
#
|
693
|
+
class DeleteRegistryPolicyRequest < Aws::EmptyStructure; end
|
694
|
+
|
372
695
|
# @!attribute [rw] registry_id
|
373
|
-
# The
|
374
|
-
#
|
375
|
-
#
|
696
|
+
# The registry ID associated with the request.
|
697
|
+
# @return [String]
|
698
|
+
#
|
699
|
+
# @!attribute [rw] policy_text
|
700
|
+
# The contents of the registry permissions policy that was deleted.
|
701
|
+
# @return [String]
|
702
|
+
#
|
703
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRegistryPolicyResponse AWS API Documentation
|
704
|
+
#
|
705
|
+
class DeleteRegistryPolicyResponse < Struct.new(
|
706
|
+
:registry_id,
|
707
|
+
:policy_text)
|
708
|
+
SENSITIVE = []
|
709
|
+
include Aws::Structure
|
710
|
+
end
|
711
|
+
|
712
|
+
# @!attribute [rw] registry_id
|
713
|
+
# The Amazon Web Services account ID associated with the registry that
|
714
|
+
# contains the repository policy to delete. If you do not specify a
|
715
|
+
# registry, the default registry is assumed.
|
376
716
|
# @return [String]
|
377
717
|
#
|
378
718
|
# @!attribute [rw] repository_name
|
@@ -385,6 +725,7 @@ module Aws::ECR
|
|
385
725
|
class DeleteRepositoryPolicyRequest < Struct.new(
|
386
726
|
:registry_id,
|
387
727
|
:repository_name)
|
728
|
+
SENSITIVE = []
|
388
729
|
include Aws::Structure
|
389
730
|
end
|
390
731
|
|
@@ -406,22 +747,14 @@ module Aws::ECR
|
|
406
747
|
:registry_id,
|
407
748
|
:repository_name,
|
408
749
|
:policy_text)
|
750
|
+
SENSITIVE = []
|
409
751
|
include Aws::Structure
|
410
752
|
end
|
411
753
|
|
412
|
-
# @note When making an API call, you may pass DeleteRepositoryRequest
|
413
|
-
# data as a hash:
|
414
|
-
#
|
415
|
-
# {
|
416
|
-
# registry_id: "RegistryId",
|
417
|
-
# repository_name: "RepositoryName", # required
|
418
|
-
# force: false,
|
419
|
-
# }
|
420
|
-
#
|
421
754
|
# @!attribute [rw] registry_id
|
422
|
-
# The
|
423
|
-
# repository to delete. If you do not specify a registry,
|
424
|
-
# registry is assumed.
|
755
|
+
# The Amazon Web Services account ID associated with the registry that
|
756
|
+
# contains the repository to delete. If you do not specify a registry,
|
757
|
+
# the default registry is assumed.
|
425
758
|
# @return [String]
|
426
759
|
#
|
427
760
|
# @!attribute [rw] repository_name
|
@@ -429,7 +762,9 @@ module Aws::ECR
|
|
429
762
|
# @return [String]
|
430
763
|
#
|
431
764
|
# @!attribute [rw] force
|
432
|
-
# If
|
765
|
+
# If true, deleting the repository force deletes the contents of the
|
766
|
+
# repository. If false, the repository must be empty before attempting
|
767
|
+
# to delete it.
|
433
768
|
# @return [Boolean]
|
434
769
|
#
|
435
770
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryRequest AWS API Documentation
|
@@ -438,6 +773,7 @@ module Aws::ECR
|
|
438
773
|
:registry_id,
|
439
774
|
:repository_name,
|
440
775
|
:force)
|
776
|
+
SENSITIVE = []
|
441
777
|
include Aws::Structure
|
442
778
|
end
|
443
779
|
|
@@ -449,100 +785,216 @@ module Aws::ECR
|
|
449
785
|
#
|
450
786
|
class DeleteRepositoryResponse < Struct.new(
|
451
787
|
:repository)
|
788
|
+
SENSITIVE = []
|
452
789
|
include Aws::Structure
|
453
790
|
end
|
454
791
|
|
455
|
-
#
|
456
|
-
#
|
457
|
-
#
|
458
|
-
# data as a hash:
|
792
|
+
# @!attribute [rw] repository_name
|
793
|
+
# The name of the repository that the image is in.
|
794
|
+
# @return [String]
|
459
795
|
#
|
460
|
-
#
|
461
|
-
#
|
462
|
-
#
|
796
|
+
# @!attribute [rw] image_id
|
797
|
+
# An object with identifying information for an image in an Amazon ECR
|
798
|
+
# repository.
|
799
|
+
# @return [Types::ImageIdentifier]
|
463
800
|
#
|
464
|
-
# @!attribute [rw]
|
465
|
-
# The
|
466
|
-
#
|
801
|
+
# @!attribute [rw] registry_id
|
802
|
+
# The Amazon Web Services account ID associated with the registry. If
|
803
|
+
# you do not specify a registry, the default registry is assumed.
|
467
804
|
# @return [String]
|
468
805
|
#
|
469
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/
|
806
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImageReplicationStatusRequest AWS API Documentation
|
470
807
|
#
|
471
|
-
class
|
472
|
-
:
|
808
|
+
class DescribeImageReplicationStatusRequest < Struct.new(
|
809
|
+
:repository_name,
|
810
|
+
:image_id,
|
811
|
+
:registry_id)
|
812
|
+
SENSITIVE = []
|
473
813
|
include Aws::Structure
|
474
814
|
end
|
475
815
|
|
476
|
-
#
|
477
|
-
#
|
816
|
+
# @!attribute [rw] repository_name
|
817
|
+
# The repository name associated with the request.
|
818
|
+
# @return [String]
|
819
|
+
#
|
820
|
+
# @!attribute [rw] image_id
|
821
|
+
# An object with identifying information for an image in an Amazon ECR
|
822
|
+
# repository.
|
823
|
+
# @return [Types::ImageIdentifier]
|
824
|
+
#
|
825
|
+
# @!attribute [rw] replication_statuses
|
826
|
+
# The replication status details for the images in the specified
|
827
|
+
# repository.
|
828
|
+
# @return [Array<Types::ImageReplicationStatus>]
|
478
829
|
#
|
479
|
-
#
|
480
|
-
# registry_id: "RegistryId",
|
481
|
-
# repository_name: "RepositoryName", # required
|
482
|
-
# image_ids: [
|
483
|
-
# {
|
484
|
-
# image_digest: "ImageDigest",
|
485
|
-
# image_tag: "ImageTag",
|
486
|
-
# },
|
487
|
-
# ],
|
488
|
-
# next_token: "NextToken",
|
489
|
-
# max_results: 1,
|
490
|
-
# filter: {
|
491
|
-
# tag_status: "TAGGED", # accepts TAGGED, UNTAGGED
|
492
|
-
# },
|
493
|
-
# }
|
830
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImageReplicationStatusResponse AWS API Documentation
|
494
831
|
#
|
832
|
+
class DescribeImageReplicationStatusResponse < Struct.new(
|
833
|
+
:repository_name,
|
834
|
+
:image_id,
|
835
|
+
:replication_statuses)
|
836
|
+
SENSITIVE = []
|
837
|
+
include Aws::Structure
|
838
|
+
end
|
839
|
+
|
495
840
|
# @!attribute [rw] registry_id
|
496
|
-
# The
|
497
|
-
# repository in which to describe
|
498
|
-
# registry, the default registry is
|
841
|
+
# The Amazon Web Services account ID associated with the registry that
|
842
|
+
# contains the repository in which to describe the image scan findings
|
843
|
+
# for. If you do not specify a registry, the default registry is
|
844
|
+
# assumed.
|
499
845
|
# @return [String]
|
500
846
|
#
|
501
847
|
# @!attribute [rw] repository_name
|
502
|
-
#
|
503
|
-
#
|
848
|
+
# The repository for the image for which to describe the scan
|
849
|
+
# findings.
|
504
850
|
# @return [String]
|
505
851
|
#
|
506
|
-
# @!attribute [rw]
|
507
|
-
#
|
508
|
-
#
|
852
|
+
# @!attribute [rw] image_id
|
853
|
+
# An object with identifying information for an image in an Amazon ECR
|
854
|
+
# repository.
|
855
|
+
# @return [Types::ImageIdentifier]
|
509
856
|
#
|
510
857
|
# @!attribute [rw] next_token
|
511
858
|
# The `nextToken` value returned from a previous paginated
|
512
|
-
# `
|
513
|
-
# exceeded the value of that parameter. Pagination
|
514
|
-
# end of the previous results that returned the
|
515
|
-
# This value is
|
516
|
-
#
|
859
|
+
# `DescribeImageScanFindings` request where `maxResults` was used and
|
860
|
+
# the results exceeded the value of that parameter. Pagination
|
861
|
+
# continues from the end of the previous results that returned the
|
862
|
+
# `nextToken` value. This value is null when there are no more results
|
863
|
+
# to return.
|
517
864
|
# @return [String]
|
518
865
|
#
|
519
866
|
# @!attribute [rw] max_results
|
520
|
-
# The maximum number of
|
521
|
-
# `
|
522
|
-
# `
|
523
|
-
# along with a `nextToken` response element.
|
524
|
-
# the initial request can be seen by sending
|
525
|
-
# request with the returned
|
526
|
-
# between 1 and
|
527
|
-
#
|
528
|
-
#
|
529
|
-
# with `imageIds`.
|
867
|
+
# The maximum number of image scan results returned by
|
868
|
+
# `DescribeImageScanFindings` in paginated output. When this parameter
|
869
|
+
# is used, `DescribeImageScanFindings` only returns `maxResults`
|
870
|
+
# results in a single page along with a `nextToken` response element.
|
871
|
+
# The remaining results of the initial request can be seen by sending
|
872
|
+
# another `DescribeImageScanFindings` request with the returned
|
873
|
+
# `nextToken` value. This value can be between 1 and 1000. If this
|
874
|
+
# parameter is not used, then `DescribeImageScanFindings` returns up
|
875
|
+
# to 100 results and a `nextToken` value, if applicable.
|
530
876
|
# @return [Integer]
|
531
877
|
#
|
532
|
-
#
|
533
|
-
# The filter key and value with which to filter your `DescribeImages`
|
534
|
-
# results.
|
535
|
-
# @return [Types::DescribeImagesFilter]
|
536
|
-
#
|
537
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImagesRequest AWS API Documentation
|
878
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImageScanFindingsRequest AWS API Documentation
|
538
879
|
#
|
539
|
-
class
|
880
|
+
class DescribeImageScanFindingsRequest < Struct.new(
|
540
881
|
:registry_id,
|
541
882
|
:repository_name,
|
542
|
-
:
|
883
|
+
:image_id,
|
543
884
|
:next_token,
|
544
|
-
:max_results
|
885
|
+
:max_results)
|
886
|
+
SENSITIVE = []
|
887
|
+
include Aws::Structure
|
888
|
+
end
|
889
|
+
|
890
|
+
# @!attribute [rw] registry_id
|
891
|
+
# The registry ID associated with the request.
|
892
|
+
# @return [String]
|
893
|
+
#
|
894
|
+
# @!attribute [rw] repository_name
|
895
|
+
# The repository name associated with the request.
|
896
|
+
# @return [String]
|
897
|
+
#
|
898
|
+
# @!attribute [rw] image_id
|
899
|
+
# An object with identifying information for an image in an Amazon ECR
|
900
|
+
# repository.
|
901
|
+
# @return [Types::ImageIdentifier]
|
902
|
+
#
|
903
|
+
# @!attribute [rw] image_scan_status
|
904
|
+
# The current state of the scan.
|
905
|
+
# @return [Types::ImageScanStatus]
|
906
|
+
#
|
907
|
+
# @!attribute [rw] image_scan_findings
|
908
|
+
# The information contained in the image scan findings.
|
909
|
+
# @return [Types::ImageScanFindings]
|
910
|
+
#
|
911
|
+
# @!attribute [rw] next_token
|
912
|
+
# The `nextToken` value to include in a future
|
913
|
+
# `DescribeImageScanFindings` request. When the results of a
|
914
|
+
# `DescribeImageScanFindings` request exceed `maxResults`, this value
|
915
|
+
# can be used to retrieve the next page of results. This value is null
|
916
|
+
# when there are no more results to return.
|
917
|
+
# @return [String]
|
918
|
+
#
|
919
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImageScanFindingsResponse AWS API Documentation
|
920
|
+
#
|
921
|
+
class DescribeImageScanFindingsResponse < Struct.new(
|
922
|
+
:registry_id,
|
923
|
+
:repository_name,
|
924
|
+
:image_id,
|
925
|
+
:image_scan_status,
|
926
|
+
:image_scan_findings,
|
927
|
+
:next_token)
|
928
|
+
SENSITIVE = []
|
929
|
+
include Aws::Structure
|
930
|
+
end
|
931
|
+
|
932
|
+
# An object representing a filter on a DescribeImages operation.
|
933
|
+
#
|
934
|
+
# @!attribute [rw] tag_status
|
935
|
+
# The tag status with which to filter your DescribeImages results. You
|
936
|
+
# can filter results based on whether they are `TAGGED` or `UNTAGGED`.
|
937
|
+
# @return [String]
|
938
|
+
#
|
939
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImagesFilter AWS API Documentation
|
940
|
+
#
|
941
|
+
class DescribeImagesFilter < Struct.new(
|
942
|
+
:tag_status)
|
943
|
+
SENSITIVE = []
|
944
|
+
include Aws::Structure
|
945
|
+
end
|
946
|
+
|
947
|
+
# @!attribute [rw] registry_id
|
948
|
+
# The Amazon Web Services account ID associated with the registry that
|
949
|
+
# contains the repository in which to describe images. If you do not
|
950
|
+
# specify a registry, the default registry is assumed.
|
951
|
+
# @return [String]
|
952
|
+
#
|
953
|
+
# @!attribute [rw] repository_name
|
954
|
+
# The repository that contains the images to describe.
|
955
|
+
# @return [String]
|
956
|
+
#
|
957
|
+
# @!attribute [rw] image_ids
|
958
|
+
# The list of image IDs for the requested repository.
|
959
|
+
# @return [Array<Types::ImageIdentifier>]
|
960
|
+
#
|
961
|
+
# @!attribute [rw] next_token
|
962
|
+
# The `nextToken` value returned from a previous paginated
|
963
|
+
# `DescribeImages` request where `maxResults` was used and the results
|
964
|
+
# exceeded the value of that parameter. Pagination continues from the
|
965
|
+
# end of the previous results that returned the `nextToken` value.
|
966
|
+
# This value is `null` when there are no more results to return. This
|
967
|
+
# option cannot be used when you specify images with `imageIds`.
|
968
|
+
# @return [String]
|
969
|
+
#
|
970
|
+
# @!attribute [rw] max_results
|
971
|
+
# The maximum number of repository results returned by
|
972
|
+
# `DescribeImages` in paginated output. When this parameter is used,
|
973
|
+
# `DescribeImages` only returns `maxResults` results in a single page
|
974
|
+
# along with a `nextToken` response element. The remaining results of
|
975
|
+
# the initial request can be seen by sending another `DescribeImages`
|
976
|
+
# request with the returned `nextToken` value. This value can be
|
977
|
+
# between 1 and 1000. If this parameter is not used, then
|
978
|
+
# `DescribeImages` returns up to 100 results and a `nextToken` value,
|
979
|
+
# if applicable. This option cannot be used when you specify images
|
980
|
+
# with `imageIds`.
|
981
|
+
# @return [Integer]
|
982
|
+
#
|
983
|
+
# @!attribute [rw] filter
|
984
|
+
# The filter key and value with which to filter your `DescribeImages`
|
985
|
+
# results.
|
986
|
+
# @return [Types::DescribeImagesFilter]
|
987
|
+
#
|
988
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImagesRequest AWS API Documentation
|
989
|
+
#
|
990
|
+
class DescribeImagesRequest < Struct.new(
|
991
|
+
:registry_id,
|
992
|
+
:repository_name,
|
993
|
+
:image_ids,
|
994
|
+
:next_token,
|
995
|
+
:max_results,
|
545
996
|
:filter)
|
997
|
+
SENSITIVE = []
|
546
998
|
include Aws::Structure
|
547
999
|
end
|
548
1000
|
|
@@ -563,23 +1015,104 @@ module Aws::ECR
|
|
563
1015
|
class DescribeImagesResponse < Struct.new(
|
564
1016
|
:image_details,
|
565
1017
|
:next_token)
|
1018
|
+
SENSITIVE = []
|
1019
|
+
include Aws::Structure
|
1020
|
+
end
|
1021
|
+
|
1022
|
+
# @!attribute [rw] registry_id
|
1023
|
+
# The Amazon Web Services account ID associated with the registry to
|
1024
|
+
# return the pull through cache rules for. If you do not specify a
|
1025
|
+
# registry, the default registry is assumed.
|
1026
|
+
# @return [String]
|
1027
|
+
#
|
1028
|
+
# @!attribute [rw] ecr_repository_prefixes
|
1029
|
+
# The Amazon ECR repository prefixes associated with the pull through
|
1030
|
+
# cache rules to return. If no repository prefix value is specified,
|
1031
|
+
# all pull through cache rules are returned.
|
1032
|
+
# @return [Array<String>]
|
1033
|
+
#
|
1034
|
+
# @!attribute [rw] next_token
|
1035
|
+
# The `nextToken` value returned from a previous paginated
|
1036
|
+
# `DescribePullThroughCacheRulesRequest` request where `maxResults`
|
1037
|
+
# was used and the results exceeded the value of that parameter.
|
1038
|
+
# Pagination continues from the end of the previous results that
|
1039
|
+
# returned the `nextToken` value. This value is null when there are no
|
1040
|
+
# more results to return.
|
1041
|
+
# @return [String]
|
1042
|
+
#
|
1043
|
+
# @!attribute [rw] max_results
|
1044
|
+
# The maximum number of pull through cache rules returned by
|
1045
|
+
# `DescribePullThroughCacheRulesRequest` in paginated output. When
|
1046
|
+
# this parameter is used, `DescribePullThroughCacheRulesRequest` only
|
1047
|
+
# returns `maxResults` results in a single page along with a
|
1048
|
+
# `nextToken` response element. The remaining results of the initial
|
1049
|
+
# request can be seen by sending another
|
1050
|
+
# `DescribePullThroughCacheRulesRequest` request with the returned
|
1051
|
+
# `nextToken` value. This value can be between 1 and 1000. If this
|
1052
|
+
# parameter is not used, then `DescribePullThroughCacheRulesRequest`
|
1053
|
+
# returns up to 100 results and a `nextToken` value, if applicable.
|
1054
|
+
# @return [Integer]
|
1055
|
+
#
|
1056
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribePullThroughCacheRulesRequest AWS API Documentation
|
1057
|
+
#
|
1058
|
+
class DescribePullThroughCacheRulesRequest < Struct.new(
|
1059
|
+
:registry_id,
|
1060
|
+
:ecr_repository_prefixes,
|
1061
|
+
:next_token,
|
1062
|
+
:max_results)
|
1063
|
+
SENSITIVE = []
|
1064
|
+
include Aws::Structure
|
1065
|
+
end
|
1066
|
+
|
1067
|
+
# @!attribute [rw] pull_through_cache_rules
|
1068
|
+
# The details of the pull through cache rules.
|
1069
|
+
# @return [Array<Types::PullThroughCacheRule>]
|
1070
|
+
#
|
1071
|
+
# @!attribute [rw] next_token
|
1072
|
+
# The `nextToken` value to include in a future
|
1073
|
+
# `DescribePullThroughCacheRulesRequest` request. When the results of
|
1074
|
+
# a `DescribePullThroughCacheRulesRequest` request exceed
|
1075
|
+
# `maxResults`, this value can be used to retrieve the next page of
|
1076
|
+
# results. This value is null when there are no more results to
|
1077
|
+
# return.
|
1078
|
+
# @return [String]
|
1079
|
+
#
|
1080
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribePullThroughCacheRulesResponse AWS API Documentation
|
1081
|
+
#
|
1082
|
+
class DescribePullThroughCacheRulesResponse < Struct.new(
|
1083
|
+
:pull_through_cache_rules,
|
1084
|
+
:next_token)
|
1085
|
+
SENSITIVE = []
|
566
1086
|
include Aws::Structure
|
567
1087
|
end
|
568
1088
|
|
569
|
-
# @
|
570
|
-
# data as a hash:
|
1089
|
+
# @api private
|
571
1090
|
#
|
572
|
-
#
|
573
|
-
# registry_id: "RegistryId",
|
574
|
-
# repository_names: ["RepositoryName"],
|
575
|
-
# next_token: "NextToken",
|
576
|
-
# max_results: 1,
|
577
|
-
# }
|
1091
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeRegistryRequest AWS API Documentation
|
578
1092
|
#
|
1093
|
+
class DescribeRegistryRequest < Aws::EmptyStructure; end
|
1094
|
+
|
579
1095
|
# @!attribute [rw] registry_id
|
580
|
-
# The
|
581
|
-
#
|
582
|
-
#
|
1096
|
+
# The ID of the registry.
|
1097
|
+
# @return [String]
|
1098
|
+
#
|
1099
|
+
# @!attribute [rw] replication_configuration
|
1100
|
+
# The replication configuration for the registry.
|
1101
|
+
# @return [Types::ReplicationConfiguration]
|
1102
|
+
#
|
1103
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeRegistryResponse AWS API Documentation
|
1104
|
+
#
|
1105
|
+
class DescribeRegistryResponse < Struct.new(
|
1106
|
+
:registry_id,
|
1107
|
+
:replication_configuration)
|
1108
|
+
SENSITIVE = []
|
1109
|
+
include Aws::Structure
|
1110
|
+
end
|
1111
|
+
|
1112
|
+
# @!attribute [rw] registry_id
|
1113
|
+
# The Amazon Web Services account ID associated with the registry that
|
1114
|
+
# contains the repositories to be described. If you do not specify a
|
1115
|
+
# registry, the default registry is assumed.
|
583
1116
|
# @return [String]
|
584
1117
|
#
|
585
1118
|
# @!attribute [rw] repository_names
|
@@ -610,7 +1143,7 @@ module Aws::ECR
|
|
610
1143
|
# single page along with a `nextToken` response element. The remaining
|
611
1144
|
# results of the initial request can be seen by sending another
|
612
1145
|
# `DescribeRepositories` request with the returned `nextToken` value.
|
613
|
-
# This value can be between 1 and
|
1146
|
+
# This value can be between 1 and 1000. If this parameter is not used,
|
614
1147
|
# then `DescribeRepositories` returns up to 100 results and a
|
615
1148
|
# `nextToken` value, if applicable. This option cannot be used when
|
616
1149
|
# you specify repositories with `repositoryNames`.
|
@@ -623,6 +1156,7 @@ module Aws::ECR
|
|
623
1156
|
:repository_names,
|
624
1157
|
:next_token,
|
625
1158
|
:max_results)
|
1159
|
+
SENSITIVE = []
|
626
1160
|
include Aws::Structure
|
627
1161
|
end
|
628
1162
|
|
@@ -643,26 +1177,184 @@ module Aws::ECR
|
|
643
1177
|
class DescribeRepositoriesResponse < Struct.new(
|
644
1178
|
:repositories,
|
645
1179
|
:next_token)
|
1180
|
+
SENSITIVE = []
|
1181
|
+
include Aws::Structure
|
1182
|
+
end
|
1183
|
+
|
1184
|
+
# The specified layer upload does not contain any layer parts.
|
1185
|
+
#
|
1186
|
+
# @!attribute [rw] message
|
1187
|
+
# The error message associated with the exception.
|
1188
|
+
# @return [String]
|
1189
|
+
#
|
1190
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/EmptyUploadException AWS API Documentation
|
1191
|
+
#
|
1192
|
+
class EmptyUploadException < Struct.new(
|
1193
|
+
:message)
|
1194
|
+
SENSITIVE = []
|
1195
|
+
include Aws::Structure
|
1196
|
+
end
|
1197
|
+
|
1198
|
+
# The encryption configuration for the repository. This determines how
|
1199
|
+
# the contents of your repository are encrypted at rest.
|
1200
|
+
#
|
1201
|
+
# By default, when no encryption configuration is set or the `AES256`
|
1202
|
+
# encryption type is used, Amazon ECR uses server-side encryption with
|
1203
|
+
# Amazon S3-managed encryption keys which encrypts your data at rest
|
1204
|
+
# using an AES-256 encryption algorithm. This does not require any
|
1205
|
+
# action on your part.
|
1206
|
+
#
|
1207
|
+
# For more control over the encryption of the contents of your
|
1208
|
+
# repository, you can use server-side encryption with Key Management
|
1209
|
+
# Service key stored in Key Management Service (KMS) to encrypt your
|
1210
|
+
# images. For more information, see [Amazon ECR encryption at rest][1]
|
1211
|
+
# in the *Amazon Elastic Container Registry User Guide*.
|
1212
|
+
#
|
1213
|
+
#
|
1214
|
+
#
|
1215
|
+
# [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html
|
1216
|
+
#
|
1217
|
+
# @!attribute [rw] encryption_type
|
1218
|
+
# The encryption type to use.
|
1219
|
+
#
|
1220
|
+
# If you use the `KMS` encryption type, the contents of the repository
|
1221
|
+
# will be encrypted using server-side encryption with Key Management
|
1222
|
+
# Service key stored in KMS. When you use KMS to encrypt your data,
|
1223
|
+
# you can either use the default Amazon Web Services managed KMS key
|
1224
|
+
# for Amazon ECR, or specify your own KMS key, which you already
|
1225
|
+
# created. For more information, see [Protecting data using
|
1226
|
+
# server-side encryption with an KMS key stored in Key Management
|
1227
|
+
# Service (SSE-KMS)][1] in the *Amazon Simple Storage Service Console
|
1228
|
+
# Developer Guide*.
|
1229
|
+
#
|
1230
|
+
# If you use the `AES256` encryption type, Amazon ECR uses server-side
|
1231
|
+
# encryption with Amazon S3-managed encryption keys which encrypts the
|
1232
|
+
# images in the repository using an AES-256 encryption algorithm. For
|
1233
|
+
# more information, see [Protecting data using server-side encryption
|
1234
|
+
# with Amazon S3-managed encryption keys (SSE-S3)][2] in the *Amazon
|
1235
|
+
# Simple Storage Service Console Developer Guide*.
|
1236
|
+
#
|
1237
|
+
#
|
1238
|
+
#
|
1239
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html
|
1240
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html
|
1241
|
+
# @return [String]
|
1242
|
+
#
|
1243
|
+
# @!attribute [rw] kms_key
|
1244
|
+
# If you use the `KMS` encryption type, specify the KMS key to use for
|
1245
|
+
# encryption. The alias, key ID, or full ARN of the KMS key can be
|
1246
|
+
# specified. The key must exist in the same Region as the repository.
|
1247
|
+
# If no key is specified, the default Amazon Web Services managed KMS
|
1248
|
+
# key for Amazon ECR will be used.
|
1249
|
+
# @return [String]
|
1250
|
+
#
|
1251
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/EncryptionConfiguration AWS API Documentation
|
1252
|
+
#
|
1253
|
+
class EncryptionConfiguration < Struct.new(
|
1254
|
+
:encryption_type,
|
1255
|
+
:kms_key)
|
1256
|
+
SENSITIVE = []
|
646
1257
|
include Aws::Structure
|
647
1258
|
end
|
648
1259
|
|
649
|
-
#
|
650
|
-
#
|
1260
|
+
# The details of an enhanced image scan. This is returned when enhanced
|
1261
|
+
# scanning is enabled for your private registry.
|
1262
|
+
#
|
1263
|
+
# @!attribute [rw] aws_account_id
|
1264
|
+
# The Amazon Web Services account ID associated with the image.
|
1265
|
+
# @return [String]
|
1266
|
+
#
|
1267
|
+
# @!attribute [rw] description
|
1268
|
+
# The description of the finding.
|
1269
|
+
# @return [String]
|
1270
|
+
#
|
1271
|
+
# @!attribute [rw] finding_arn
|
1272
|
+
# The Amazon Resource Number (ARN) of the finding.
|
1273
|
+
# @return [String]
|
1274
|
+
#
|
1275
|
+
# @!attribute [rw] first_observed_at
|
1276
|
+
# The date and time that the finding was first observed.
|
1277
|
+
# @return [Time]
|
1278
|
+
#
|
1279
|
+
# @!attribute [rw] last_observed_at
|
1280
|
+
# The date and time that the finding was last observed.
|
1281
|
+
# @return [Time]
|
1282
|
+
#
|
1283
|
+
# @!attribute [rw] package_vulnerability_details
|
1284
|
+
# An object that contains the details of a package vulnerability
|
1285
|
+
# finding.
|
1286
|
+
# @return [Types::PackageVulnerabilityDetails]
|
1287
|
+
#
|
1288
|
+
# @!attribute [rw] remediation
|
1289
|
+
# An object that contains the details about how to remediate a
|
1290
|
+
# finding.
|
1291
|
+
# @return [Types::Remediation]
|
1292
|
+
#
|
1293
|
+
# @!attribute [rw] resources
|
1294
|
+
# Contains information on the resources involved in a finding.
|
1295
|
+
# @return [Array<Types::Resource>]
|
1296
|
+
#
|
1297
|
+
# @!attribute [rw] score
|
1298
|
+
# The Amazon Inspector score given to the finding.
|
1299
|
+
# @return [Float]
|
1300
|
+
#
|
1301
|
+
# @!attribute [rw] score_details
|
1302
|
+
# An object that contains details of the Amazon Inspector score.
|
1303
|
+
# @return [Types::ScoreDetails]
|
651
1304
|
#
|
652
|
-
#
|
653
|
-
#
|
654
|
-
#
|
1305
|
+
# @!attribute [rw] severity
|
1306
|
+
# The severity of the finding.
|
1307
|
+
# @return [String]
|
1308
|
+
#
|
1309
|
+
# @!attribute [rw] status
|
1310
|
+
# The status of the finding.
|
1311
|
+
# @return [String]
|
1312
|
+
#
|
1313
|
+
# @!attribute [rw] title
|
1314
|
+
# The title of the finding.
|
1315
|
+
# @return [String]
|
1316
|
+
#
|
1317
|
+
# @!attribute [rw] type
|
1318
|
+
# The type of the finding.
|
1319
|
+
# @return [String]
|
1320
|
+
#
|
1321
|
+
# @!attribute [rw] updated_at
|
1322
|
+
# The date and time the finding was last updated at.
|
1323
|
+
# @return [Time]
|
655
1324
|
#
|
1325
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/EnhancedImageScanFinding AWS API Documentation
|
1326
|
+
#
|
1327
|
+
class EnhancedImageScanFinding < Struct.new(
|
1328
|
+
:aws_account_id,
|
1329
|
+
:description,
|
1330
|
+
:finding_arn,
|
1331
|
+
:first_observed_at,
|
1332
|
+
:last_observed_at,
|
1333
|
+
:package_vulnerability_details,
|
1334
|
+
:remediation,
|
1335
|
+
:resources,
|
1336
|
+
:score,
|
1337
|
+
:score_details,
|
1338
|
+
:severity,
|
1339
|
+
:status,
|
1340
|
+
:title,
|
1341
|
+
:type,
|
1342
|
+
:updated_at)
|
1343
|
+
SENSITIVE = []
|
1344
|
+
include Aws::Structure
|
1345
|
+
end
|
1346
|
+
|
656
1347
|
# @!attribute [rw] registry_ids
|
657
|
-
# A list of
|
658
|
-
# for which to get
|
659
|
-
# registry, the default registry is assumed.
|
1348
|
+
# A list of Amazon Web Services account IDs that are associated with
|
1349
|
+
# the registries for which to get AuthorizationData objects. If you do
|
1350
|
+
# not specify a registry, the default registry is assumed.
|
660
1351
|
# @return [Array<String>]
|
661
1352
|
#
|
662
1353
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetAuthorizationTokenRequest AWS API Documentation
|
663
1354
|
#
|
664
1355
|
class GetAuthorizationTokenRequest < Struct.new(
|
665
1356
|
:registry_ids)
|
1357
|
+
SENSITIVE = []
|
666
1358
|
include Aws::Structure
|
667
1359
|
end
|
668
1360
|
|
@@ -675,22 +1367,14 @@ module Aws::ECR
|
|
675
1367
|
#
|
676
1368
|
class GetAuthorizationTokenResponse < Struct.new(
|
677
1369
|
:authorization_data)
|
1370
|
+
SENSITIVE = []
|
678
1371
|
include Aws::Structure
|
679
1372
|
end
|
680
1373
|
|
681
|
-
# @note When making an API call, you may pass GetDownloadUrlForLayerRequest
|
682
|
-
# data as a hash:
|
683
|
-
#
|
684
|
-
# {
|
685
|
-
# registry_id: "RegistryId",
|
686
|
-
# repository_name: "RepositoryName", # required
|
687
|
-
# layer_digest: "LayerDigest", # required
|
688
|
-
# }
|
689
|
-
#
|
690
1374
|
# @!attribute [rw] registry_id
|
691
|
-
# The
|
692
|
-
# image layer to download. If you do not specify a
|
693
|
-
# default registry is assumed.
|
1375
|
+
# The Amazon Web Services account ID associated with the registry that
|
1376
|
+
# contains the image layer to download. If you do not specify a
|
1377
|
+
# registry, the default registry is assumed.
|
694
1378
|
# @return [String]
|
695
1379
|
#
|
696
1380
|
# @!attribute [rw] repository_name
|
@@ -708,6 +1392,7 @@ module Aws::ECR
|
|
708
1392
|
:registry_id,
|
709
1393
|
:repository_name,
|
710
1394
|
:layer_digest)
|
1395
|
+
SENSITIVE = []
|
711
1396
|
include Aws::Structure
|
712
1397
|
end
|
713
1398
|
|
@@ -724,32 +1409,14 @@ module Aws::ECR
|
|
724
1409
|
class GetDownloadUrlForLayerResponse < Struct.new(
|
725
1410
|
:download_url,
|
726
1411
|
:layer_digest)
|
1412
|
+
SENSITIVE = []
|
727
1413
|
include Aws::Structure
|
728
1414
|
end
|
729
1415
|
|
730
|
-
# @note When making an API call, you may pass GetLifecyclePolicyPreviewRequest
|
731
|
-
# data as a hash:
|
732
|
-
#
|
733
|
-
# {
|
734
|
-
# registry_id: "RegistryId",
|
735
|
-
# repository_name: "RepositoryName", # required
|
736
|
-
# image_ids: [
|
737
|
-
# {
|
738
|
-
# image_digest: "ImageDigest",
|
739
|
-
# image_tag: "ImageTag",
|
740
|
-
# },
|
741
|
-
# ],
|
742
|
-
# next_token: "NextToken",
|
743
|
-
# max_results: 1,
|
744
|
-
# filter: {
|
745
|
-
# tag_status: "TAGGED", # accepts TAGGED, UNTAGGED
|
746
|
-
# },
|
747
|
-
# }
|
748
|
-
#
|
749
1416
|
# @!attribute [rw] registry_id
|
750
|
-
# The
|
751
|
-
# repository. If you do not specify a registry, the
|
752
|
-
# is assumed.
|
1417
|
+
# The Amazon Web Services account ID associated with the registry that
|
1418
|
+
# contains the repository. If you do not specify a registry, the
|
1419
|
+
# default registry is assumed.
|
753
1420
|
# @return [String]
|
754
1421
|
#
|
755
1422
|
# @!attribute [rw] repository_name
|
@@ -778,7 +1445,7 @@ module Aws::ECR
|
|
778
1445
|
# response element. The remaining results of the initial request can
|
779
1446
|
# be seen by sending
another `GetLifecyclePolicyPreviewRequest`
|
780
1447
|
# request with the returned `nextToken`
value. This value can be
|
781
|
-
# between 1 and
|
1448
|
+
# between 1 and 1000. If this
parameter is not used, then
|
782
1449
|
# `GetLifecyclePolicyPreviewRequest` returns up to
100 results and a
|
783
1450
|
# `nextToken` value, if
applicable. This option cannot be used when
|
784
1451
|
# you specify images with `imageIds`.
|
@@ -798,6 +1465,7 @@ module Aws::ECR
|
|
798
1465
|
:next_token,
|
799
1466
|
:max_results,
|
800
1467
|
:filter)
|
1468
|
+
SENSITIVE = []
|
801
1469
|
include Aws::Structure
|
802
1470
|
end
|
803
1471
|
|
@@ -843,21 +1511,14 @@ module Aws::ECR
|
|
843
1511
|
:next_token,
|
844
1512
|
:preview_results,
|
845
1513
|
:summary)
|
1514
|
+
SENSITIVE = []
|
846
1515
|
include Aws::Structure
|
847
1516
|
end
|
848
1517
|
|
849
|
-
# @note When making an API call, you may pass GetLifecyclePolicyRequest
|
850
|
-
# data as a hash:
|
851
|
-
#
|
852
|
-
# {
|
853
|
-
# registry_id: "RegistryId",
|
854
|
-
# repository_name: "RepositoryName", # required
|
855
|
-
# }
|
856
|
-
#
|
857
1518
|
# @!attribute [rw] registry_id
|
858
|
-
# The
|
859
|
-
# repository. If you do not specify a registry, the
|
860
|
-
# is assumed.
|
1519
|
+
# The Amazon Web Services account ID associated with the registry that
|
1520
|
+
# contains the repository. If you do not specify a registry, the
|
1521
|
+
# default registry is assumed.
|
861
1522
|
# @return [String]
|
862
1523
|
#
|
863
1524
|
# @!attribute [rw] repository_name
|
@@ -869,6 +1530,7 @@ module Aws::ECR
|
|
869
1530
|
class GetLifecyclePolicyRequest < Struct.new(
|
870
1531
|
:registry_id,
|
871
1532
|
:repository_name)
|
1533
|
+
SENSITIVE = []
|
872
1534
|
include Aws::Structure
|
873
1535
|
end
|
874
1536
|
|
@@ -895,21 +1557,60 @@ module Aws::ECR
|
|
895
1557
|
:repository_name,
|
896
1558
|
:lifecycle_policy_text,
|
897
1559
|
:last_evaluated_at)
|
1560
|
+
SENSITIVE = []
|
1561
|
+
include Aws::Structure
|
1562
|
+
end
|
1563
|
+
|
1564
|
+
# @api private
|
1565
|
+
#
|
1566
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetRegistryPolicyRequest AWS API Documentation
|
1567
|
+
#
|
1568
|
+
class GetRegistryPolicyRequest < Aws::EmptyStructure; end
|
1569
|
+
|
1570
|
+
# @!attribute [rw] registry_id
|
1571
|
+
# The ID of the registry.
|
1572
|
+
# @return [String]
|
1573
|
+
#
|
1574
|
+
# @!attribute [rw] policy_text
|
1575
|
+
# The JSON text of the permissions policy for a registry.
|
1576
|
+
# @return [String]
|
1577
|
+
#
|
1578
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetRegistryPolicyResponse AWS API Documentation
|
1579
|
+
#
|
1580
|
+
class GetRegistryPolicyResponse < Struct.new(
|
1581
|
+
:registry_id,
|
1582
|
+
:policy_text)
|
1583
|
+
SENSITIVE = []
|
898
1584
|
include Aws::Structure
|
899
1585
|
end
|
900
1586
|
|
901
|
-
# @
|
902
|
-
#
|
1587
|
+
# @api private
|
1588
|
+
#
|
1589
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetRegistryScanningConfigurationRequest AWS API Documentation
|
1590
|
+
#
|
1591
|
+
class GetRegistryScanningConfigurationRequest < Aws::EmptyStructure; end
|
1592
|
+
|
1593
|
+
# @!attribute [rw] registry_id
|
1594
|
+
# The ID of the registry.
|
1595
|
+
# @return [String]
|
903
1596
|
#
|
904
|
-
#
|
905
|
-
#
|
906
|
-
#
|
907
|
-
# }
|
1597
|
+
# @!attribute [rw] scanning_configuration
|
1598
|
+
# The scanning configuration for the registry.
|
1599
|
+
# @return [Types::RegistryScanningConfiguration]
|
908
1600
|
#
|
1601
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetRegistryScanningConfigurationResponse AWS API Documentation
|
1602
|
+
#
|
1603
|
+
class GetRegistryScanningConfigurationResponse < Struct.new(
|
1604
|
+
:registry_id,
|
1605
|
+
:scanning_configuration)
|
1606
|
+
SENSITIVE = []
|
1607
|
+
include Aws::Structure
|
1608
|
+
end
|
1609
|
+
|
909
1610
|
# @!attribute [rw] registry_id
|
910
|
-
# The
|
911
|
-
# repository. If you do not specify a registry, the
|
912
|
-
# is assumed.
|
1611
|
+
# The Amazon Web Services account ID associated with the registry that
|
1612
|
+
# contains the repository. If you do not specify a registry, the
|
1613
|
+
# default registry is assumed.
|
913
1614
|
# @return [String]
|
914
1615
|
#
|
915
1616
|
# @!attribute [rw] repository_name
|
@@ -921,6 +1622,7 @@ module Aws::ECR
|
|
921
1622
|
class GetRepositoryPolicyRequest < Struct.new(
|
922
1623
|
:registry_id,
|
923
1624
|
:repository_name)
|
1625
|
+
SENSITIVE = []
|
924
1626
|
include Aws::Structure
|
925
1627
|
end
|
926
1628
|
|
@@ -942,14 +1644,15 @@ module Aws::ECR
|
|
942
1644
|
:registry_id,
|
943
1645
|
:repository_name,
|
944
1646
|
:policy_text)
|
1647
|
+
SENSITIVE = []
|
945
1648
|
include Aws::Structure
|
946
1649
|
end
|
947
1650
|
|
948
1651
|
# An object representing an Amazon ECR image.
|
949
1652
|
#
|
950
1653
|
# @!attribute [rw] registry_id
|
951
|
-
# The
|
952
|
-
# image.
|
1654
|
+
# The Amazon Web Services account ID associated with the registry
|
1655
|
+
# containing the image.
|
953
1656
|
# @return [String]
|
954
1657
|
#
|
955
1658
|
# @!attribute [rw] repository_name
|
@@ -965,13 +1668,34 @@ module Aws::ECR
|
|
965
1668
|
# The image manifest associated with the image.
|
966
1669
|
# @return [String]
|
967
1670
|
#
|
1671
|
+
# @!attribute [rw] image_manifest_media_type
|
1672
|
+
# The manifest media type of the image.
|
1673
|
+
# @return [String]
|
1674
|
+
#
|
968
1675
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/Image AWS API Documentation
|
969
1676
|
#
|
970
1677
|
class Image < Struct.new(
|
971
1678
|
:registry_id,
|
972
1679
|
:repository_name,
|
973
1680
|
:image_id,
|
974
|
-
:image_manifest
|
1681
|
+
:image_manifest,
|
1682
|
+
:image_manifest_media_type)
|
1683
|
+
SENSITIVE = []
|
1684
|
+
include Aws::Structure
|
1685
|
+
end
|
1686
|
+
|
1687
|
+
# The specified image has already been pushed, and there were no changes
|
1688
|
+
# to the manifest or image tag after the last push.
|
1689
|
+
#
|
1690
|
+
# @!attribute [rw] message
|
1691
|
+
# The error message associated with the exception.
|
1692
|
+
# @return [String]
|
1693
|
+
#
|
1694
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageAlreadyExistsException AWS API Documentation
|
1695
|
+
#
|
1696
|
+
class ImageAlreadyExistsException < Struct.new(
|
1697
|
+
:message)
|
1698
|
+
SENSITIVE = []
|
975
1699
|
include Aws::Structure
|
976
1700
|
end
|
977
1701
|
|
@@ -979,8 +1703,8 @@ module Aws::ECR
|
|
979
1703
|
# operation.
|
980
1704
|
#
|
981
1705
|
# @!attribute [rw] registry_id
|
982
|
-
# The
|
983
|
-
# belongs.
|
1706
|
+
# The Amazon Web Services account ID associated with the registry to
|
1707
|
+
# which this image belongs.
|
984
1708
|
# @return [String]
|
985
1709
|
#
|
986
1710
|
# @!attribute [rw] repository_name
|
@@ -998,6 +1722,9 @@ module Aws::ECR
|
|
998
1722
|
# @!attribute [rw] image_size_in_bytes
|
999
1723
|
# The size, in bytes, of the image in the repository.
|
1000
1724
|
#
|
1725
|
+
# If the image is a manifest list, this will be the max size of all
|
1726
|
+
# manifests in the list.
|
1727
|
+
#
|
1001
1728
|
# <note markdown="1"> Beginning with Docker version 1.9, the Docker client compresses
|
1002
1729
|
# image layers before pushing them to a V2 Docker registry. The output
|
1003
1730
|
# of the `docker images` command shows the uncompressed image size, so
|
@@ -1012,6 +1739,37 @@ module Aws::ECR
|
|
1012
1739
|
# which the current image was pushed to the repository.
|
1013
1740
|
# @return [Time]
|
1014
1741
|
#
|
1742
|
+
# @!attribute [rw] image_scan_status
|
1743
|
+
# The current state of the scan.
|
1744
|
+
# @return [Types::ImageScanStatus]
|
1745
|
+
#
|
1746
|
+
# @!attribute [rw] image_scan_findings_summary
|
1747
|
+
# A summary of the last completed image scan.
|
1748
|
+
# @return [Types::ImageScanFindingsSummary]
|
1749
|
+
#
|
1750
|
+
# @!attribute [rw] image_manifest_media_type
|
1751
|
+
# The media type of the image manifest.
|
1752
|
+
# @return [String]
|
1753
|
+
#
|
1754
|
+
# @!attribute [rw] artifact_media_type
|
1755
|
+
# The artifact media type of the image.
|
1756
|
+
# @return [String]
|
1757
|
+
#
|
1758
|
+
# @!attribute [rw] last_recorded_pull_time
|
1759
|
+
# The date and time, expressed in standard JavaScript date format,
|
1760
|
+
# when Amazon ECR recorded the last image pull.
|
1761
|
+
#
|
1762
|
+
# <note markdown="1"> Amazon ECR refreshes the last image pull timestamp at least once
|
1763
|
+
# every 24 hours. For example, if you pull an image once a day then
|
1764
|
+
# the `lastRecordedPullTime` timestamp will indicate the exact time
|
1765
|
+
# that the image was last pulled. However, if you pull an image once
|
1766
|
+
# an hour, because Amazon ECR refreshes the `lastRecordedPullTime`
|
1767
|
+
# timestamp at least once every 24 hours, the result may not be the
|
1768
|
+
# exact time that the image was last pulled.
|
1769
|
+
#
|
1770
|
+
# </note>
|
1771
|
+
# @return [Time]
|
1772
|
+
#
|
1015
1773
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageDetail AWS API Documentation
|
1016
1774
|
#
|
1017
1775
|
class ImageDetail < Struct.new(
|
@@ -1020,15 +1778,35 @@ module Aws::ECR
|
|
1020
1778
|
:image_digest,
|
1021
1779
|
:image_tags,
|
1022
1780
|
:image_size_in_bytes,
|
1023
|
-
:image_pushed_at
|
1781
|
+
:image_pushed_at,
|
1782
|
+
:image_scan_status,
|
1783
|
+
:image_scan_findings_summary,
|
1784
|
+
:image_manifest_media_type,
|
1785
|
+
:artifact_media_type,
|
1786
|
+
:last_recorded_pull_time)
|
1787
|
+
SENSITIVE = []
|
1024
1788
|
include Aws::Structure
|
1025
1789
|
end
|
1026
1790
|
|
1027
|
-
#
|
1791
|
+
# The specified image digest does not match the digest that Amazon ECR
|
1792
|
+
# calculated for the image.
|
1028
1793
|
#
|
1029
|
-
# @!attribute [rw]
|
1030
|
-
#
|
1031
|
-
#
|
1794
|
+
# @!attribute [rw] message
|
1795
|
+
# @return [String]
|
1796
|
+
#
|
1797
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageDigestDoesNotMatchException AWS API Documentation
|
1798
|
+
#
|
1799
|
+
class ImageDigestDoesNotMatchException < Struct.new(
|
1800
|
+
:message)
|
1801
|
+
SENSITIVE = []
|
1802
|
+
include Aws::Structure
|
1803
|
+
end
|
1804
|
+
|
1805
|
+
# An object representing an Amazon ECR image failure.
|
1806
|
+
#
|
1807
|
+
# @!attribute [rw] image_id
|
1808
|
+
# The image ID associated with the failure.
|
1809
|
+
# @return [Types::ImageIdentifier]
|
1032
1810
|
#
|
1033
1811
|
# @!attribute [rw] failure_code
|
1034
1812
|
# The code associated with the failure.
|
@@ -1044,18 +1822,12 @@ module Aws::ECR
|
|
1044
1822
|
:image_id,
|
1045
1823
|
:failure_code,
|
1046
1824
|
:failure_reason)
|
1825
|
+
SENSITIVE = []
|
1047
1826
|
include Aws::Structure
|
1048
1827
|
end
|
1049
1828
|
|
1050
|
-
# An object with identifying information for an Amazon ECR
|
1051
|
-
#
|
1052
|
-
# @note When making an API call, you may pass ImageIdentifier
|
1053
|
-
# data as a hash:
|
1054
|
-
#
|
1055
|
-
# {
|
1056
|
-
# image_digest: "ImageDigest",
|
1057
|
-
# image_tag: "ImageTag",
|
1058
|
-
# }
|
1829
|
+
# An object with identifying information for an image in an Amazon ECR
|
1830
|
+
# repository.
|
1059
1831
|
#
|
1060
1832
|
# @!attribute [rw] image_digest
|
1061
1833
|
# The `sha256` digest of the image manifest.
|
@@ -1070,21 +1842,206 @@ module Aws::ECR
|
|
1070
1842
|
class ImageIdentifier < Struct.new(
|
1071
1843
|
:image_digest,
|
1072
1844
|
:image_tag)
|
1845
|
+
SENSITIVE = []
|
1846
|
+
include Aws::Structure
|
1847
|
+
end
|
1848
|
+
|
1849
|
+
# The image requested does not exist in the specified repository.
|
1850
|
+
#
|
1851
|
+
# @!attribute [rw] message
|
1852
|
+
# @return [String]
|
1853
|
+
#
|
1854
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageNotFoundException AWS API Documentation
|
1855
|
+
#
|
1856
|
+
class ImageNotFoundException < Struct.new(
|
1857
|
+
:message)
|
1858
|
+
SENSITIVE = []
|
1073
1859
|
include Aws::Structure
|
1074
1860
|
end
|
1075
1861
|
|
1076
|
-
#
|
1077
|
-
# data as a hash:
|
1862
|
+
# The status of the replication process for an image.
|
1078
1863
|
#
|
1079
|
-
#
|
1080
|
-
#
|
1081
|
-
#
|
1082
|
-
# }
|
1864
|
+
# @!attribute [rw] region
|
1865
|
+
# The destination Region for the image replication.
|
1866
|
+
# @return [String]
|
1083
1867
|
#
|
1084
1868
|
# @!attribute [rw] registry_id
|
1085
|
-
# The
|
1086
|
-
#
|
1087
|
-
#
|
1869
|
+
# The Amazon Web Services account ID associated with the registry to
|
1870
|
+
# which the image belongs.
|
1871
|
+
# @return [String]
|
1872
|
+
#
|
1873
|
+
# @!attribute [rw] status
|
1874
|
+
# The image replication status.
|
1875
|
+
# @return [String]
|
1876
|
+
#
|
1877
|
+
# @!attribute [rw] failure_code
|
1878
|
+
# The failure code for a replication that has failed.
|
1879
|
+
# @return [String]
|
1880
|
+
#
|
1881
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageReplicationStatus AWS API Documentation
|
1882
|
+
#
|
1883
|
+
class ImageReplicationStatus < Struct.new(
|
1884
|
+
:region,
|
1885
|
+
:registry_id,
|
1886
|
+
:status,
|
1887
|
+
:failure_code)
|
1888
|
+
SENSITIVE = []
|
1889
|
+
include Aws::Structure
|
1890
|
+
end
|
1891
|
+
|
1892
|
+
# Contains information about an image scan finding.
|
1893
|
+
#
|
1894
|
+
# @!attribute [rw] name
|
1895
|
+
# The name associated with the finding, usually a CVE number.
|
1896
|
+
# @return [String]
|
1897
|
+
#
|
1898
|
+
# @!attribute [rw] description
|
1899
|
+
# The description of the finding.
|
1900
|
+
# @return [String]
|
1901
|
+
#
|
1902
|
+
# @!attribute [rw] uri
|
1903
|
+
# A link containing additional details about the security
|
1904
|
+
# vulnerability.
|
1905
|
+
# @return [String]
|
1906
|
+
#
|
1907
|
+
# @!attribute [rw] severity
|
1908
|
+
# The finding severity.
|
1909
|
+
# @return [String]
|
1910
|
+
#
|
1911
|
+
# @!attribute [rw] attributes
|
1912
|
+
# A collection of attributes of the host from which the finding is
|
1913
|
+
# generated.
|
1914
|
+
# @return [Array<Types::Attribute>]
|
1915
|
+
#
|
1916
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageScanFinding AWS API Documentation
|
1917
|
+
#
|
1918
|
+
class ImageScanFinding < Struct.new(
|
1919
|
+
:name,
|
1920
|
+
:description,
|
1921
|
+
:uri,
|
1922
|
+
:severity,
|
1923
|
+
:attributes)
|
1924
|
+
SENSITIVE = []
|
1925
|
+
include Aws::Structure
|
1926
|
+
end
|
1927
|
+
|
1928
|
+
# The details of an image scan.
|
1929
|
+
#
|
1930
|
+
# @!attribute [rw] image_scan_completed_at
|
1931
|
+
# The time of the last completed image scan.
|
1932
|
+
# @return [Time]
|
1933
|
+
#
|
1934
|
+
# @!attribute [rw] vulnerability_source_updated_at
|
1935
|
+
# The time when the vulnerability data was last scanned.
|
1936
|
+
# @return [Time]
|
1937
|
+
#
|
1938
|
+
# @!attribute [rw] finding_severity_counts
|
1939
|
+
# The image vulnerability counts, sorted by severity.
|
1940
|
+
# @return [Hash<String,Integer>]
|
1941
|
+
#
|
1942
|
+
# @!attribute [rw] findings
|
1943
|
+
# The findings from the image scan.
|
1944
|
+
# @return [Array<Types::ImageScanFinding>]
|
1945
|
+
#
|
1946
|
+
# @!attribute [rw] enhanced_findings
|
1947
|
+
# Details about the enhanced scan findings from Amazon Inspector.
|
1948
|
+
# @return [Array<Types::EnhancedImageScanFinding>]
|
1949
|
+
#
|
1950
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageScanFindings AWS API Documentation
|
1951
|
+
#
|
1952
|
+
class ImageScanFindings < Struct.new(
|
1953
|
+
:image_scan_completed_at,
|
1954
|
+
:vulnerability_source_updated_at,
|
1955
|
+
:finding_severity_counts,
|
1956
|
+
:findings,
|
1957
|
+
:enhanced_findings)
|
1958
|
+
SENSITIVE = []
|
1959
|
+
include Aws::Structure
|
1960
|
+
end
|
1961
|
+
|
1962
|
+
# A summary of the last completed image scan.
|
1963
|
+
#
|
1964
|
+
# @!attribute [rw] image_scan_completed_at
|
1965
|
+
# The time of the last completed image scan.
|
1966
|
+
# @return [Time]
|
1967
|
+
#
|
1968
|
+
# @!attribute [rw] vulnerability_source_updated_at
|
1969
|
+
# The time when the vulnerability data was last scanned.
|
1970
|
+
# @return [Time]
|
1971
|
+
#
|
1972
|
+
# @!attribute [rw] finding_severity_counts
|
1973
|
+
# The image vulnerability counts, sorted by severity.
|
1974
|
+
# @return [Hash<String,Integer>]
|
1975
|
+
#
|
1976
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageScanFindingsSummary AWS API Documentation
|
1977
|
+
#
|
1978
|
+
class ImageScanFindingsSummary < Struct.new(
|
1979
|
+
:image_scan_completed_at,
|
1980
|
+
:vulnerability_source_updated_at,
|
1981
|
+
:finding_severity_counts)
|
1982
|
+
SENSITIVE = []
|
1983
|
+
include Aws::Structure
|
1984
|
+
end
|
1985
|
+
|
1986
|
+
# The current status of an image scan.
|
1987
|
+
#
|
1988
|
+
# @!attribute [rw] status
|
1989
|
+
# The current state of an image scan.
|
1990
|
+
# @return [String]
|
1991
|
+
#
|
1992
|
+
# @!attribute [rw] description
|
1993
|
+
# The description of the image scan status.
|
1994
|
+
# @return [String]
|
1995
|
+
#
|
1996
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageScanStatus AWS API Documentation
|
1997
|
+
#
|
1998
|
+
class ImageScanStatus < Struct.new(
|
1999
|
+
:status,
|
2000
|
+
:description)
|
2001
|
+
SENSITIVE = []
|
2002
|
+
include Aws::Structure
|
2003
|
+
end
|
2004
|
+
|
2005
|
+
# The image scanning configuration for a repository.
|
2006
|
+
#
|
2007
|
+
# @!attribute [rw] scan_on_push
|
2008
|
+
# The setting that determines whether images are scanned after being
|
2009
|
+
# pushed to a repository. If set to `true`, images will be scanned
|
2010
|
+
# after being pushed. If this parameter is not specified, it will
|
2011
|
+
# default to `false` and images will not be scanned unless a scan is
|
2012
|
+
# manually started with the [API\_StartImageScan][1] API.
|
2013
|
+
#
|
2014
|
+
#
|
2015
|
+
#
|
2016
|
+
# [1]: https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_StartImageScan.html
|
2017
|
+
# @return [Boolean]
|
2018
|
+
#
|
2019
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageScanningConfiguration AWS API Documentation
|
2020
|
+
#
|
2021
|
+
class ImageScanningConfiguration < Struct.new(
|
2022
|
+
:scan_on_push)
|
2023
|
+
SENSITIVE = []
|
2024
|
+
include Aws::Structure
|
2025
|
+
end
|
2026
|
+
|
2027
|
+
# The specified image is tagged with a tag that already exists. The
|
2028
|
+
# repository is configured for tag immutability.
|
2029
|
+
#
|
2030
|
+
# @!attribute [rw] message
|
2031
|
+
# @return [String]
|
2032
|
+
#
|
2033
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageTagAlreadyExistsException AWS API Documentation
|
2034
|
+
#
|
2035
|
+
class ImageTagAlreadyExistsException < Struct.new(
|
2036
|
+
:message)
|
2037
|
+
SENSITIVE = []
|
2038
|
+
include Aws::Structure
|
2039
|
+
end
|
2040
|
+
|
2041
|
+
# @!attribute [rw] registry_id
|
2042
|
+
# The Amazon Web Services account ID associated with the registry to
|
2043
|
+
# which you intend to upload layers. If you do not specify a registry,
|
2044
|
+
# the default registry is assumed.
|
1088
2045
|
# @return [String]
|
1089
2046
|
#
|
1090
2047
|
# @!attribute [rw] repository_name
|
@@ -1096,6 +2053,7 @@ module Aws::ECR
|
|
1096
2053
|
class InitiateLayerUploadRequest < Struct.new(
|
1097
2054
|
:registry_id,
|
1098
2055
|
:repository_name)
|
2056
|
+
SENSITIVE = []
|
1099
2057
|
include Aws::Structure
|
1100
2058
|
end
|
1101
2059
|
|
@@ -1114,6 +2072,106 @@ module Aws::ECR
|
|
1114
2072
|
class InitiateLayerUploadResponse < Struct.new(
|
1115
2073
|
:upload_id,
|
1116
2074
|
:part_size)
|
2075
|
+
SENSITIVE = []
|
2076
|
+
include Aws::Structure
|
2077
|
+
end
|
2078
|
+
|
2079
|
+
# The layer digest calculation performed by Amazon ECR upon receipt of
|
2080
|
+
# the image layer does not match the digest specified.
|
2081
|
+
#
|
2082
|
+
# @!attribute [rw] message
|
2083
|
+
# The error message associated with the exception.
|
2084
|
+
# @return [String]
|
2085
|
+
#
|
2086
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/InvalidLayerException AWS API Documentation
|
2087
|
+
#
|
2088
|
+
class InvalidLayerException < Struct.new(
|
2089
|
+
:message)
|
2090
|
+
SENSITIVE = []
|
2091
|
+
include Aws::Structure
|
2092
|
+
end
|
2093
|
+
|
2094
|
+
# The layer part size is not valid, or the first byte specified is not
|
2095
|
+
# consecutive to the last byte of a previous layer part upload.
|
2096
|
+
#
|
2097
|
+
# @!attribute [rw] registry_id
|
2098
|
+
# The registry ID associated with the exception.
|
2099
|
+
# @return [String]
|
2100
|
+
#
|
2101
|
+
# @!attribute [rw] repository_name
|
2102
|
+
# The repository name associated with the exception.
|
2103
|
+
# @return [String]
|
2104
|
+
#
|
2105
|
+
# @!attribute [rw] upload_id
|
2106
|
+
# The upload ID associated with the exception.
|
2107
|
+
# @return [String]
|
2108
|
+
#
|
2109
|
+
# @!attribute [rw] last_valid_byte_received
|
2110
|
+
# The last valid byte received from the layer part upload that is
|
2111
|
+
# associated with the exception.
|
2112
|
+
# @return [Integer]
|
2113
|
+
#
|
2114
|
+
# @!attribute [rw] message
|
2115
|
+
# The error message associated with the exception.
|
2116
|
+
# @return [String]
|
2117
|
+
#
|
2118
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/InvalidLayerPartException AWS API Documentation
|
2119
|
+
#
|
2120
|
+
class InvalidLayerPartException < Struct.new(
|
2121
|
+
:registry_id,
|
2122
|
+
:repository_name,
|
2123
|
+
:upload_id,
|
2124
|
+
:last_valid_byte_received,
|
2125
|
+
:message)
|
2126
|
+
SENSITIVE = []
|
2127
|
+
include Aws::Structure
|
2128
|
+
end
|
2129
|
+
|
2130
|
+
# The specified parameter is invalid. Review the available parameters
|
2131
|
+
# for the API request.
|
2132
|
+
#
|
2133
|
+
# @!attribute [rw] message
|
2134
|
+
# The error message associated with the exception.
|
2135
|
+
# @return [String]
|
2136
|
+
#
|
2137
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/InvalidParameterException AWS API Documentation
|
2138
|
+
#
|
2139
|
+
class InvalidParameterException < Struct.new(
|
2140
|
+
:message)
|
2141
|
+
SENSITIVE = []
|
2142
|
+
include Aws::Structure
|
2143
|
+
end
|
2144
|
+
|
2145
|
+
# An invalid parameter has been specified. Tag keys can have a maximum
|
2146
|
+
# character length of 128 characters, and tag values can have a maximum
|
2147
|
+
# length of 256 characters.
|
2148
|
+
#
|
2149
|
+
# @!attribute [rw] message
|
2150
|
+
# @return [String]
|
2151
|
+
#
|
2152
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/InvalidTagParameterException AWS API Documentation
|
2153
|
+
#
|
2154
|
+
class InvalidTagParameterException < Struct.new(
|
2155
|
+
:message)
|
2156
|
+
SENSITIVE = []
|
2157
|
+
include Aws::Structure
|
2158
|
+
end
|
2159
|
+
|
2160
|
+
# The operation failed due to a KMS exception.
|
2161
|
+
#
|
2162
|
+
# @!attribute [rw] message
|
2163
|
+
# @return [String]
|
2164
|
+
#
|
2165
|
+
# @!attribute [rw] kms_error
|
2166
|
+
# The error code returned by KMS.
|
2167
|
+
# @return [String]
|
2168
|
+
#
|
2169
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/KmsException AWS API Documentation
|
2170
|
+
#
|
2171
|
+
class KmsException < Struct.new(
|
2172
|
+
:message,
|
2173
|
+
:kms_error)
|
2174
|
+
SENSITIVE = []
|
1117
2175
|
include Aws::Structure
|
1118
2176
|
end
|
1119
2177
|
|
@@ -1144,6 +2202,21 @@ module Aws::ECR
|
|
1144
2202
|
:layer_availability,
|
1145
2203
|
:layer_size,
|
1146
2204
|
:media_type)
|
2205
|
+
SENSITIVE = []
|
2206
|
+
include Aws::Structure
|
2207
|
+
end
|
2208
|
+
|
2209
|
+
# The image layer already exists in the associated repository.
|
2210
|
+
#
|
2211
|
+
# @!attribute [rw] message
|
2212
|
+
# The error message associated with the exception.
|
2213
|
+
# @return [String]
|
2214
|
+
#
|
2215
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LayerAlreadyExistsException AWS API Documentation
|
2216
|
+
#
|
2217
|
+
class LayerAlreadyExistsException < Struct.new(
|
2218
|
+
:message)
|
2219
|
+
SENSITIVE = []
|
1147
2220
|
include Aws::Structure
|
1148
2221
|
end
|
1149
2222
|
|
@@ -1167,17 +2240,69 @@ module Aws::ECR
|
|
1167
2240
|
:layer_digest,
|
1168
2241
|
:failure_code,
|
1169
2242
|
:failure_reason)
|
2243
|
+
SENSITIVE = []
|
1170
2244
|
include Aws::Structure
|
1171
2245
|
end
|
1172
2246
|
|
1173
|
-
# The
|
2247
|
+
# The specified layer is not available because it is not associated with
|
2248
|
+
# an image. Unassociated image layers may be cleaned up at any time.
|
2249
|
+
#
|
2250
|
+
# @!attribute [rw] message
|
2251
|
+
# The error message associated with the exception.
|
2252
|
+
# @return [String]
|
2253
|
+
#
|
2254
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LayerInaccessibleException AWS API Documentation
|
2255
|
+
#
|
2256
|
+
class LayerInaccessibleException < Struct.new(
|
2257
|
+
:message)
|
2258
|
+
SENSITIVE = []
|
2259
|
+
include Aws::Structure
|
2260
|
+
end
|
2261
|
+
|
2262
|
+
# Layer parts must be at least 5 MiB in size.
|
2263
|
+
#
|
2264
|
+
# @!attribute [rw] message
|
2265
|
+
# The error message associated with the exception.
|
2266
|
+
# @return [String]
|
2267
|
+
#
|
2268
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LayerPartTooSmallException AWS API Documentation
|
2269
|
+
#
|
2270
|
+
class LayerPartTooSmallException < Struct.new(
|
2271
|
+
:message)
|
2272
|
+
SENSITIVE = []
|
2273
|
+
include Aws::Structure
|
2274
|
+
end
|
2275
|
+
|
2276
|
+
# The specified layers could not be found, or the specified layer is not
|
2277
|
+
# valid for this repository.
|
2278
|
+
#
|
2279
|
+
# @!attribute [rw] message
|
2280
|
+
# The error message associated with the exception.
|
2281
|
+
# @return [String]
|
2282
|
+
#
|
2283
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LayersNotFoundException AWS API Documentation
|
1174
2284
|
#
|
1175
|
-
|
1176
|
-
|
2285
|
+
class LayersNotFoundException < Struct.new(
|
2286
|
+
:message)
|
2287
|
+
SENSITIVE = []
|
2288
|
+
include Aws::Structure
|
2289
|
+
end
|
2290
|
+
|
2291
|
+
# The lifecycle policy could not be found, and no policy is set to the
|
2292
|
+
# repository.
|
2293
|
+
#
|
2294
|
+
# @!attribute [rw] message
|
2295
|
+
# @return [String]
|
2296
|
+
#
|
2297
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LifecyclePolicyNotFoundException AWS API Documentation
|
1177
2298
|
#
|
1178
|
-
|
1179
|
-
|
1180
|
-
|
2299
|
+
class LifecyclePolicyNotFoundException < Struct.new(
|
2300
|
+
:message)
|
2301
|
+
SENSITIVE = []
|
2302
|
+
include Aws::Structure
|
2303
|
+
end
|
2304
|
+
|
2305
|
+
# The filter for the lifecycle policy preview.
|
1181
2306
|
#
|
1182
2307
|
# @!attribute [rw] tag_status
|
1183
2308
|
# The tag status of the image.
|
@@ -1187,6 +2312,34 @@ module Aws::ECR
|
|
1187
2312
|
#
|
1188
2313
|
class LifecyclePolicyPreviewFilter < Struct.new(
|
1189
2314
|
:tag_status)
|
2315
|
+
SENSITIVE = []
|
2316
|
+
include Aws::Structure
|
2317
|
+
end
|
2318
|
+
|
2319
|
+
# The previous lifecycle policy preview request has not completed. Wait
|
2320
|
+
# and try again.
|
2321
|
+
#
|
2322
|
+
# @!attribute [rw] message
|
2323
|
+
# @return [String]
|
2324
|
+
#
|
2325
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LifecyclePolicyPreviewInProgressException AWS API Documentation
|
2326
|
+
#
|
2327
|
+
class LifecyclePolicyPreviewInProgressException < Struct.new(
|
2328
|
+
:message)
|
2329
|
+
SENSITIVE = []
|
2330
|
+
include Aws::Structure
|
2331
|
+
end
|
2332
|
+
|
2333
|
+
# There is no dry run for this repository.
|
2334
|
+
#
|
2335
|
+
# @!attribute [rw] message
|
2336
|
+
# @return [String]
|
2337
|
+
#
|
2338
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LifecyclePolicyPreviewNotFoundException AWS API Documentation
|
2339
|
+
#
|
2340
|
+
class LifecyclePolicyPreviewNotFoundException < Struct.new(
|
2341
|
+
:message)
|
2342
|
+
SENSITIVE = []
|
1190
2343
|
include Aws::Structure
|
1191
2344
|
end
|
1192
2345
|
|
@@ -1221,6 +2374,7 @@ module Aws::ECR
|
|
1221
2374
|
:image_pushed_at,
|
1222
2375
|
:action,
|
1223
2376
|
:applied_rule_priority)
|
2377
|
+
SENSITIVE = []
|
1224
2378
|
include Aws::Structure
|
1225
2379
|
end
|
1226
2380
|
|
@@ -1234,6 +2388,7 @@ module Aws::ECR
|
|
1234
2388
|
#
|
1235
2389
|
class LifecyclePolicyPreviewSummary < Struct.new(
|
1236
2390
|
:expiring_image_total_count)
|
2391
|
+
SENSITIVE = []
|
1237
2392
|
include Aws::Structure
|
1238
2393
|
end
|
1239
2394
|
|
@@ -1247,17 +2402,31 @@ module Aws::ECR
|
|
1247
2402
|
#
|
1248
2403
|
class LifecyclePolicyRuleAction < Struct.new(
|
1249
2404
|
:type)
|
2405
|
+
SENSITIVE = []
|
1250
2406
|
include Aws::Structure
|
1251
2407
|
end
|
1252
2408
|
|
1253
|
-
#
|
2409
|
+
# The operation did not succeed because it would have exceeded a service
|
2410
|
+
# limit for your account. For more information, see [Amazon ECR service
|
2411
|
+
# quotas][1] in the Amazon Elastic Container Registry User Guide.
|
2412
|
+
#
|
2413
|
+
#
|
2414
|
+
#
|
2415
|
+
# [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html
|
1254
2416
|
#
|
1255
|
-
#
|
1256
|
-
#
|
2417
|
+
# @!attribute [rw] message
|
2418
|
+
# The error message associated with the exception.
|
2419
|
+
# @return [String]
|
2420
|
+
#
|
2421
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LimitExceededException AWS API Documentation
|
1257
2422
|
#
|
1258
|
-
|
1259
|
-
|
1260
|
-
|
2423
|
+
class LimitExceededException < Struct.new(
|
2424
|
+
:message)
|
2425
|
+
SENSITIVE = []
|
2426
|
+
include Aws::Structure
|
2427
|
+
end
|
2428
|
+
|
2429
|
+
# An object representing a filter on a ListImages operation.
|
1261
2430
|
#
|
1262
2431
|
# @!attribute [rw] tag_status
|
1263
2432
|
# The tag status with which to filter your ListImages results. You can
|
@@ -1268,26 +2437,14 @@ module Aws::ECR
|
|
1268
2437
|
#
|
1269
2438
|
class ListImagesFilter < Struct.new(
|
1270
2439
|
:tag_status)
|
2440
|
+
SENSITIVE = []
|
1271
2441
|
include Aws::Structure
|
1272
2442
|
end
|
1273
2443
|
|
1274
|
-
# @note When making an API call, you may pass ListImagesRequest
|
1275
|
-
# data as a hash:
|
1276
|
-
#
|
1277
|
-
# {
|
1278
|
-
# registry_id: "RegistryId",
|
1279
|
-
# repository_name: "RepositoryName", # required
|
1280
|
-
# next_token: "NextToken",
|
1281
|
-
# max_results: 1,
|
1282
|
-
# filter: {
|
1283
|
-
# tag_status: "TAGGED", # accepts TAGGED, UNTAGGED
|
1284
|
-
# },
|
1285
|
-
# }
|
1286
|
-
#
|
1287
2444
|
# @!attribute [rw] registry_id
|
1288
|
-
# The
|
1289
|
-
# repository in which to list images. If you do not
|
1290
|
-
# registry, the default registry is assumed.
|
2445
|
+
# The Amazon Web Services account ID associated with the registry that
|
2446
|
+
# contains the repository in which to list images. If you do not
|
2447
|
+
# specify a registry, the default registry is assumed.
|
1291
2448
|
# @return [String]
|
1292
2449
|
#
|
1293
2450
|
# @!attribute [rw] repository_name
|
@@ -1314,7 +2471,7 @@ module Aws::ECR
|
|
1314
2471
|
# returns `maxResults` results in a single page along with a
|
1315
2472
|
# `nextToken` response element. The remaining results of the initial
|
1316
2473
|
# request can be seen by sending another `ListImages` request with the
|
1317
|
-
# returned `nextToken` value. This value can be between 1 and
|
2474
|
+
# returned `nextToken` value. This value can be between 1 and 1000. If
|
1318
2475
|
# this parameter is not used, then `ListImages` returns up to 100
|
1319
2476
|
# results and a `nextToken` value, if applicable.
|
1320
2477
|
# @return [Integer]
|
@@ -1332,6 +2489,7 @@ module Aws::ECR
|
|
1332
2489
|
:next_token,
|
1333
2490
|
:max_results,
|
1334
2491
|
:filter)
|
2492
|
+
SENSITIVE = []
|
1335
2493
|
include Aws::Structure
|
1336
2494
|
end
|
1337
2495
|
|
@@ -1351,89 +2509,353 @@ module Aws::ECR
|
|
1351
2509
|
class ListImagesResponse < Struct.new(
|
1352
2510
|
:image_ids,
|
1353
2511
|
:next_token)
|
2512
|
+
SENSITIVE = []
|
1354
2513
|
include Aws::Structure
|
1355
2514
|
end
|
1356
2515
|
|
1357
|
-
#
|
1358
|
-
#
|
1359
|
-
#
|
1360
|
-
#
|
1361
|
-
# registry_id: "RegistryId",
|
1362
|
-
# repository_name: "RepositoryName", # required
|
1363
|
-
# image_manifest: "ImageManifest", # required
|
1364
|
-
# image_tag: "ImageTag",
|
1365
|
-
# }
|
1366
|
-
#
|
1367
|
-
# @!attribute [rw] registry_id
|
1368
|
-
# The AWS account ID associated with the registry that contains the
|
1369
|
-
# repository in which to put the image. If you do not specify a
|
1370
|
-
# registry, the default registry is assumed.
|
1371
|
-
# @return [String]
|
1372
|
-
#
|
1373
|
-
# @!attribute [rw] repository_name
|
1374
|
-
# The name of the repository in which to put the image.
|
1375
|
-
# @return [String]
|
1376
|
-
#
|
1377
|
-
# @!attribute [rw] image_manifest
|
1378
|
-
# The image manifest corresponding to the image to be uploaded.
|
1379
|
-
# @return [String]
|
1380
|
-
#
|
1381
|
-
# @!attribute [rw] image_tag
|
1382
|
-
# The tag to associate with the image. This parameter is required for
|
1383
|
-
# images that use the Docker Image Manifest V2 Schema 2 or OCI
|
1384
|
-
# formats.
|
2516
|
+
# @!attribute [rw] resource_arn
|
2517
|
+
# The Amazon Resource Name (ARN) that identifies the resource for
|
2518
|
+
# which to list the tags. Currently, the only supported resource is an
|
2519
|
+
# Amazon ECR repository.
|
1385
2520
|
# @return [String]
|
1386
2521
|
#
|
1387
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/
|
2522
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListTagsForResourceRequest AWS API Documentation
|
1388
2523
|
#
|
1389
|
-
class
|
1390
|
-
:
|
1391
|
-
|
1392
|
-
:image_manifest,
|
1393
|
-
:image_tag)
|
2524
|
+
class ListTagsForResourceRequest < Struct.new(
|
2525
|
+
:resource_arn)
|
2526
|
+
SENSITIVE = []
|
1394
2527
|
include Aws::Structure
|
1395
2528
|
end
|
1396
2529
|
|
1397
|
-
# @!attribute [rw]
|
1398
|
-
#
|
1399
|
-
# @return [Types::
|
2530
|
+
# @!attribute [rw] tags
|
2531
|
+
# The tags for the resource.
|
2532
|
+
# @return [Array<Types::Tag>]
|
1400
2533
|
#
|
1401
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/
|
2534
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListTagsForResourceResponse AWS API Documentation
|
1402
2535
|
#
|
1403
|
-
class
|
1404
|
-
:
|
2536
|
+
class ListTagsForResourceResponse < Struct.new(
|
2537
|
+
:tags)
|
2538
|
+
SENSITIVE = []
|
1405
2539
|
include Aws::Structure
|
1406
2540
|
end
|
1407
2541
|
|
1408
|
-
#
|
1409
|
-
# data as a hash:
|
2542
|
+
# Information about a package vulnerability finding.
|
1410
2543
|
#
|
1411
|
-
#
|
1412
|
-
#
|
1413
|
-
#
|
1414
|
-
# lifecycle_policy_text: "LifecyclePolicyText", # required
|
1415
|
-
# }
|
2544
|
+
# @!attribute [rw] cvss
|
2545
|
+
# An object that contains details about the CVSS score of a finding.
|
2546
|
+
# @return [Array<Types::CvssScore>]
|
1416
2547
|
#
|
1417
|
-
# @!attribute [rw]
|
1418
|
-
#
|
1419
|
-
#
|
1420
|
-
#
|
2548
|
+
# @!attribute [rw] reference_urls
|
2549
|
+
# One or more URLs that contain details about this vulnerability type.
|
2550
|
+
# @return
|
2551
|
+
#
|
2552
|
+
# @!attribute [rw] related_vulnerabilities
|
2553
|
+
# One or more vulnerabilities related to the one identified in this
|
2554
|
+
# finding.
|
2555
|
+
# @return [Array<String>]
|
2556
|
+
#
|
2557
|
+
# @!attribute [rw] source
|
2558
|
+
# The source of the vulnerability information.
|
1421
2559
|
# @return [String]
|
1422
2560
|
#
|
1423
|
-
# @!attribute [rw]
|
1424
|
-
#
|
2561
|
+
# @!attribute [rw] source_url
|
2562
|
+
# A URL to the source of the vulnerability information.
|
1425
2563
|
# @return [String]
|
1426
2564
|
#
|
1427
|
-
# @!attribute [rw]
|
1428
|
-
# The
|
2565
|
+
# @!attribute [rw] vendor_created_at
|
2566
|
+
# The date and time that this vulnerability was first added to the
|
2567
|
+
# vendor's database.
|
2568
|
+
# @return [Time]
|
2569
|
+
#
|
2570
|
+
# @!attribute [rw] vendor_severity
|
2571
|
+
# The severity the vendor has given to this vulnerability type.
|
1429
2572
|
# @return [String]
|
1430
2573
|
#
|
1431
|
-
#
|
2574
|
+
# @!attribute [rw] vendor_updated_at
|
2575
|
+
# The date and time the vendor last updated this vulnerability in
|
2576
|
+
# their database.
|
2577
|
+
# @return [Time]
|
1432
2578
|
#
|
1433
|
-
|
1434
|
-
|
2579
|
+
# @!attribute [rw] vulnerability_id
|
2580
|
+
# The ID given to this vulnerability.
|
2581
|
+
# @return [String]
|
2582
|
+
#
|
2583
|
+
# @!attribute [rw] vulnerable_packages
|
2584
|
+
# The packages impacted by this vulnerability.
|
2585
|
+
# @return [Array<Types::VulnerablePackage>]
|
2586
|
+
#
|
2587
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PackageVulnerabilityDetails AWS API Documentation
|
2588
|
+
#
|
2589
|
+
class PackageVulnerabilityDetails < Struct.new(
|
2590
|
+
:cvss,
|
2591
|
+
:reference_urls,
|
2592
|
+
:related_vulnerabilities,
|
2593
|
+
:source,
|
2594
|
+
:source_url,
|
2595
|
+
:vendor_created_at,
|
2596
|
+
:vendor_severity,
|
2597
|
+
:vendor_updated_at,
|
2598
|
+
:vulnerability_id,
|
2599
|
+
:vulnerable_packages)
|
2600
|
+
SENSITIVE = []
|
2601
|
+
include Aws::Structure
|
2602
|
+
end
|
2603
|
+
|
2604
|
+
# The details of a pull through cache rule.
|
2605
|
+
#
|
2606
|
+
# @!attribute [rw] ecr_repository_prefix
|
2607
|
+
# The Amazon ECR repository prefix associated with the pull through
|
2608
|
+
# cache rule.
|
2609
|
+
# @return [String]
|
2610
|
+
#
|
2611
|
+
# @!attribute [rw] upstream_registry_url
|
2612
|
+
# The upstream registry URL associated with the pull through cache
|
2613
|
+
# rule.
|
2614
|
+
# @return [String]
|
2615
|
+
#
|
2616
|
+
# @!attribute [rw] created_at
|
2617
|
+
# The date and time the pull through cache was created.
|
2618
|
+
# @return [Time]
|
2619
|
+
#
|
2620
|
+
# @!attribute [rw] registry_id
|
2621
|
+
# The Amazon Web Services account ID associated with the registry the
|
2622
|
+
# pull through cache rule is associated with.
|
2623
|
+
# @return [String]
|
2624
|
+
#
|
2625
|
+
# @!attribute [rw] credential_arn
|
2626
|
+
# The ARN of the Secrets Manager secret associated with the pull
|
2627
|
+
# through cache rule.
|
2628
|
+
# @return [String]
|
2629
|
+
#
|
2630
|
+
# @!attribute [rw] upstream_registry
|
2631
|
+
# The name of the upstream source registry associated with the pull
|
2632
|
+
# through cache rule.
|
2633
|
+
# @return [String]
|
2634
|
+
#
|
2635
|
+
# @!attribute [rw] updated_at
|
2636
|
+
# The date and time, in JavaScript date format, when the pull through
|
2637
|
+
# cache rule was last updated.
|
2638
|
+
# @return [Time]
|
2639
|
+
#
|
2640
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PullThroughCacheRule AWS API Documentation
|
2641
|
+
#
|
2642
|
+
class PullThroughCacheRule < Struct.new(
|
2643
|
+
:ecr_repository_prefix,
|
2644
|
+
:upstream_registry_url,
|
2645
|
+
:created_at,
|
2646
|
+
:registry_id,
|
2647
|
+
:credential_arn,
|
2648
|
+
:upstream_registry,
|
2649
|
+
:updated_at)
|
2650
|
+
SENSITIVE = []
|
2651
|
+
include Aws::Structure
|
2652
|
+
end
|
2653
|
+
|
2654
|
+
# A pull through cache rule with these settings already exists for the
|
2655
|
+
# private registry.
|
2656
|
+
#
|
2657
|
+
# @!attribute [rw] message
|
2658
|
+
# @return [String]
|
2659
|
+
#
|
2660
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PullThroughCacheRuleAlreadyExistsException AWS API Documentation
|
2661
|
+
#
|
2662
|
+
class PullThroughCacheRuleAlreadyExistsException < Struct.new(
|
2663
|
+
:message)
|
2664
|
+
SENSITIVE = []
|
2665
|
+
include Aws::Structure
|
2666
|
+
end
|
2667
|
+
|
2668
|
+
# The pull through cache rule was not found. Specify a valid pull
|
2669
|
+
# through cache rule and try again.
|
2670
|
+
#
|
2671
|
+
# @!attribute [rw] message
|
2672
|
+
# @return [String]
|
2673
|
+
#
|
2674
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PullThroughCacheRuleNotFoundException AWS API Documentation
|
2675
|
+
#
|
2676
|
+
class PullThroughCacheRuleNotFoundException < Struct.new(
|
2677
|
+
:message)
|
2678
|
+
SENSITIVE = []
|
2679
|
+
include Aws::Structure
|
2680
|
+
end
|
2681
|
+
|
2682
|
+
# @!attribute [rw] registry_id
|
2683
|
+
# The Amazon Web Services account ID associated with the registry that
|
2684
|
+
# contains the repository in which to put the image. If you do not
|
2685
|
+
# specify a registry, the default registry is assumed.
|
2686
|
+
# @return [String]
|
2687
|
+
#
|
2688
|
+
# @!attribute [rw] repository_name
|
2689
|
+
# The name of the repository in which to put the image.
|
2690
|
+
# @return [String]
|
2691
|
+
#
|
2692
|
+
# @!attribute [rw] image_manifest
|
2693
|
+
# The image manifest corresponding to the image to be uploaded.
|
2694
|
+
# @return [String]
|
2695
|
+
#
|
2696
|
+
# @!attribute [rw] image_manifest_media_type
|
2697
|
+
# The media type of the image manifest. If you push an image manifest
|
2698
|
+
# that does not contain the `mediaType` field, you must specify the
|
2699
|
+
# `imageManifestMediaType` in the request.
|
2700
|
+
# @return [String]
|
2701
|
+
#
|
2702
|
+
# @!attribute [rw] image_tag
|
2703
|
+
# The tag to associate with the image. This parameter is required for
|
2704
|
+
# images that use the Docker Image Manifest V2 Schema 2 or Open
|
2705
|
+
# Container Initiative (OCI) formats.
|
2706
|
+
# @return [String]
|
2707
|
+
#
|
2708
|
+
# @!attribute [rw] image_digest
|
2709
|
+
# The image digest of the image manifest corresponding to the image.
|
2710
|
+
# @return [String]
|
2711
|
+
#
|
2712
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImageRequest AWS API Documentation
|
2713
|
+
#
|
2714
|
+
class PutImageRequest < Struct.new(
|
2715
|
+
:registry_id,
|
2716
|
+
:repository_name,
|
2717
|
+
:image_manifest,
|
2718
|
+
:image_manifest_media_type,
|
2719
|
+
:image_tag,
|
2720
|
+
:image_digest)
|
2721
|
+
SENSITIVE = []
|
2722
|
+
include Aws::Structure
|
2723
|
+
end
|
2724
|
+
|
2725
|
+
# @!attribute [rw] image
|
2726
|
+
# Details of the image uploaded.
|
2727
|
+
# @return [Types::Image]
|
2728
|
+
#
|
2729
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImageResponse AWS API Documentation
|
2730
|
+
#
|
2731
|
+
class PutImageResponse < Struct.new(
|
2732
|
+
:image)
|
2733
|
+
SENSITIVE = []
|
2734
|
+
include Aws::Structure
|
2735
|
+
end
|
2736
|
+
|
2737
|
+
# @!attribute [rw] registry_id
|
2738
|
+
# The Amazon Web Services account ID associated with the registry that
|
2739
|
+
# contains the repository in which to update the image scanning
|
2740
|
+
# configuration setting. If you do not specify a registry, the default
|
2741
|
+
# registry is assumed.
|
2742
|
+
# @return [String]
|
2743
|
+
#
|
2744
|
+
# @!attribute [rw] repository_name
|
2745
|
+
# The name of the repository in which to update the image scanning
|
2746
|
+
# configuration setting.
|
2747
|
+
# @return [String]
|
2748
|
+
#
|
2749
|
+
# @!attribute [rw] image_scanning_configuration
|
2750
|
+
# The image scanning configuration for the repository. This setting
|
2751
|
+
# determines whether images are scanned for known vulnerabilities
|
2752
|
+
# after being pushed to the repository.
|
2753
|
+
# @return [Types::ImageScanningConfiguration]
|
2754
|
+
#
|
2755
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImageScanningConfigurationRequest AWS API Documentation
|
2756
|
+
#
|
2757
|
+
class PutImageScanningConfigurationRequest < Struct.new(
|
2758
|
+
:registry_id,
|
2759
|
+
:repository_name,
|
2760
|
+
:image_scanning_configuration)
|
2761
|
+
SENSITIVE = []
|
2762
|
+
include Aws::Structure
|
2763
|
+
end
|
2764
|
+
|
2765
|
+
# @!attribute [rw] registry_id
|
2766
|
+
# The registry ID associated with the request.
|
2767
|
+
# @return [String]
|
2768
|
+
#
|
2769
|
+
# @!attribute [rw] repository_name
|
2770
|
+
# The repository name associated with the request.
|
2771
|
+
# @return [String]
|
2772
|
+
#
|
2773
|
+
# @!attribute [rw] image_scanning_configuration
|
2774
|
+
# The image scanning configuration setting for the repository.
|
2775
|
+
# @return [Types::ImageScanningConfiguration]
|
2776
|
+
#
|
2777
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImageScanningConfigurationResponse AWS API Documentation
|
2778
|
+
#
|
2779
|
+
class PutImageScanningConfigurationResponse < Struct.new(
|
2780
|
+
:registry_id,
|
2781
|
+
:repository_name,
|
2782
|
+
:image_scanning_configuration)
|
2783
|
+
SENSITIVE = []
|
2784
|
+
include Aws::Structure
|
2785
|
+
end
|
2786
|
+
|
2787
|
+
# @!attribute [rw] registry_id
|
2788
|
+
# The Amazon Web Services account ID associated with the registry that
|
2789
|
+
# contains the repository in which to update the image tag mutability
|
2790
|
+
# settings. If you do not specify a registry, the default registry is
|
2791
|
+
# assumed.
|
2792
|
+
# @return [String]
|
2793
|
+
#
|
2794
|
+
# @!attribute [rw] repository_name
|
2795
|
+
# The name of the repository in which to update the image tag
|
2796
|
+
# mutability settings.
|
2797
|
+
# @return [String]
|
2798
|
+
#
|
2799
|
+
# @!attribute [rw] image_tag_mutability
|
2800
|
+
# The tag mutability setting for the repository. If `MUTABLE` is
|
2801
|
+
# specified, image tags can be overwritten. If `IMMUTABLE` is
|
2802
|
+
# specified, all image tags within the repository will be immutable
|
2803
|
+
# which will prevent them from being overwritten.
|
2804
|
+
# @return [String]
|
2805
|
+
#
|
2806
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImageTagMutabilityRequest AWS API Documentation
|
2807
|
+
#
|
2808
|
+
class PutImageTagMutabilityRequest < Struct.new(
|
2809
|
+
:registry_id,
|
2810
|
+
:repository_name,
|
2811
|
+
:image_tag_mutability)
|
2812
|
+
SENSITIVE = []
|
2813
|
+
include Aws::Structure
|
2814
|
+
end
|
2815
|
+
|
2816
|
+
# @!attribute [rw] registry_id
|
2817
|
+
# The registry ID associated with the request.
|
2818
|
+
# @return [String]
|
2819
|
+
#
|
2820
|
+
# @!attribute [rw] repository_name
|
2821
|
+
# The repository name associated with the request.
|
2822
|
+
# @return [String]
|
2823
|
+
#
|
2824
|
+
# @!attribute [rw] image_tag_mutability
|
2825
|
+
# The image tag mutability setting for the repository.
|
2826
|
+
# @return [String]
|
2827
|
+
#
|
2828
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImageTagMutabilityResponse AWS API Documentation
|
2829
|
+
#
|
2830
|
+
class PutImageTagMutabilityResponse < Struct.new(
|
2831
|
+
:registry_id,
|
2832
|
+
:repository_name,
|
2833
|
+
:image_tag_mutability)
|
2834
|
+
SENSITIVE = []
|
2835
|
+
include Aws::Structure
|
2836
|
+
end
|
2837
|
+
|
2838
|
+
# @!attribute [rw] registry_id
|
2839
|
+
# The Amazon Web Services account ID associated with the registry that
|
2840
|
+
# contains the repository. If you do
not specify a registry, the
|
2841
|
+
# default registry is assumed.
|
2842
|
+
# @return [String]
|
2843
|
+
#
|
2844
|
+
# @!attribute [rw] repository_name
|
2845
|
+
# The name of the repository to receive the policy.
|
2846
|
+
# @return [String]
|
2847
|
+
#
|
2848
|
+
# @!attribute [rw] lifecycle_policy_text
|
2849
|
+
# The JSON repository policy text to apply to the repository.
|
2850
|
+
# @return [String]
|
2851
|
+
#
|
2852
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutLifecyclePolicyRequest AWS API Documentation
|
2853
|
+
#
|
2854
|
+
class PutLifecyclePolicyRequest < Struct.new(
|
2855
|
+
:registry_id,
|
1435
2856
|
:repository_name,
|
1436
2857
|
:lifecycle_policy_text)
|
2858
|
+
SENSITIVE = []
|
1437
2859
|
include Aws::Structure
|
1438
2860
|
end
|
1439
2861
|
|
@@ -1441,77 +2863,629 @@ module Aws::ECR
|
|
1441
2863
|
# The registry ID associated with the request.
|
1442
2864
|
# @return [String]
|
1443
2865
|
#
|
1444
|
-
# @!attribute [rw] repository_name
|
1445
|
-
# The repository name associated with the request.
|
2866
|
+
# @!attribute [rw] repository_name
|
2867
|
+
# The repository name associated with the request.
|
2868
|
+
# @return [String]
|
2869
|
+
#
|
2870
|
+
# @!attribute [rw] lifecycle_policy_text
|
2871
|
+
# The JSON repository policy text.
|
2872
|
+
# @return [String]
|
2873
|
+
#
|
2874
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutLifecyclePolicyResponse AWS API Documentation
|
2875
|
+
#
|
2876
|
+
class PutLifecyclePolicyResponse < Struct.new(
|
2877
|
+
:registry_id,
|
2878
|
+
:repository_name,
|
2879
|
+
:lifecycle_policy_text)
|
2880
|
+
SENSITIVE = []
|
2881
|
+
include Aws::Structure
|
2882
|
+
end
|
2883
|
+
|
2884
|
+
# @!attribute [rw] policy_text
|
2885
|
+
# The JSON policy text to apply to your registry. The policy text
|
2886
|
+
# follows the same format as IAM policy text. For more information,
|
2887
|
+
# see [Registry permissions][1] in the *Amazon Elastic Container
|
2888
|
+
# Registry User Guide*.
|
2889
|
+
#
|
2890
|
+
#
|
2891
|
+
#
|
2892
|
+
# [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html
|
2893
|
+
# @return [String]
|
2894
|
+
#
|
2895
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutRegistryPolicyRequest AWS API Documentation
|
2896
|
+
#
|
2897
|
+
class PutRegistryPolicyRequest < Struct.new(
|
2898
|
+
:policy_text)
|
2899
|
+
SENSITIVE = []
|
2900
|
+
include Aws::Structure
|
2901
|
+
end
|
2902
|
+
|
2903
|
+
# @!attribute [rw] registry_id
|
2904
|
+
# The registry ID.
|
2905
|
+
# @return [String]
|
2906
|
+
#
|
2907
|
+
# @!attribute [rw] policy_text
|
2908
|
+
# The JSON policy text for your registry.
|
2909
|
+
# @return [String]
|
2910
|
+
#
|
2911
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutRegistryPolicyResponse AWS API Documentation
|
2912
|
+
#
|
2913
|
+
class PutRegistryPolicyResponse < Struct.new(
|
2914
|
+
:registry_id,
|
2915
|
+
:policy_text)
|
2916
|
+
SENSITIVE = []
|
2917
|
+
include Aws::Structure
|
2918
|
+
end
|
2919
|
+
|
2920
|
+
# @!attribute [rw] scan_type
|
2921
|
+
# The scanning type to set for the registry.
|
2922
|
+
#
|
2923
|
+
# When a registry scanning configuration is not defined, by default
|
2924
|
+
# the `BASIC` scan type is used. When basic scanning is used, you may
|
2925
|
+
# specify filters to determine which individual repositories, or all
|
2926
|
+
# repositories, are scanned when new images are pushed to those
|
2927
|
+
# repositories. Alternatively, you can do manual scans of images with
|
2928
|
+
# basic scanning.
|
2929
|
+
#
|
2930
|
+
# When the `ENHANCED` scan type is set, Amazon Inspector provides
|
2931
|
+
# automated vulnerability scanning. You may choose between continuous
|
2932
|
+
# scanning or scan on push and you may specify filters to determine
|
2933
|
+
# which individual repositories, or all repositories, are scanned.
|
2934
|
+
# @return [String]
|
2935
|
+
#
|
2936
|
+
# @!attribute [rw] rules
|
2937
|
+
# The scanning rules to use for the registry. A scanning rule is used
|
2938
|
+
# to determine which repository filters are used and at what frequency
|
2939
|
+
# scanning will occur.
|
2940
|
+
# @return [Array<Types::RegistryScanningRule>]
|
2941
|
+
#
|
2942
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutRegistryScanningConfigurationRequest AWS API Documentation
|
2943
|
+
#
|
2944
|
+
class PutRegistryScanningConfigurationRequest < Struct.new(
|
2945
|
+
:scan_type,
|
2946
|
+
:rules)
|
2947
|
+
SENSITIVE = []
|
2948
|
+
include Aws::Structure
|
2949
|
+
end
|
2950
|
+
|
2951
|
+
# @!attribute [rw] registry_scanning_configuration
|
2952
|
+
# The scanning configuration for your registry.
|
2953
|
+
# @return [Types::RegistryScanningConfiguration]
|
2954
|
+
#
|
2955
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutRegistryScanningConfigurationResponse AWS API Documentation
|
2956
|
+
#
|
2957
|
+
class PutRegistryScanningConfigurationResponse < Struct.new(
|
2958
|
+
:registry_scanning_configuration)
|
2959
|
+
SENSITIVE = []
|
2960
|
+
include Aws::Structure
|
2961
|
+
end
|
2962
|
+
|
2963
|
+
# @!attribute [rw] replication_configuration
|
2964
|
+
# An object representing the replication configuration for a registry.
|
2965
|
+
# @return [Types::ReplicationConfiguration]
|
2966
|
+
#
|
2967
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutReplicationConfigurationRequest AWS API Documentation
|
2968
|
+
#
|
2969
|
+
class PutReplicationConfigurationRequest < Struct.new(
|
2970
|
+
:replication_configuration)
|
2971
|
+
SENSITIVE = []
|
2972
|
+
include Aws::Structure
|
2973
|
+
end
|
2974
|
+
|
2975
|
+
# @!attribute [rw] replication_configuration
|
2976
|
+
# The contents of the replication configuration for the registry.
|
2977
|
+
# @return [Types::ReplicationConfiguration]
|
2978
|
+
#
|
2979
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutReplicationConfigurationResponse AWS API Documentation
|
2980
|
+
#
|
2981
|
+
class PutReplicationConfigurationResponse < Struct.new(
|
2982
|
+
:replication_configuration)
|
2983
|
+
SENSITIVE = []
|
2984
|
+
include Aws::Structure
|
2985
|
+
end
|
2986
|
+
|
2987
|
+
# Details about the recommended course of action to remediate the
|
2988
|
+
# finding.
|
2989
|
+
#
|
2990
|
+
# @!attribute [rw] url
|
2991
|
+
# The URL address to the CVE remediation recommendations.
|
2992
|
+
# @return [String]
|
2993
|
+
#
|
2994
|
+
# @!attribute [rw] text
|
2995
|
+
# The recommended course of action to remediate the finding.
|
2996
|
+
# @return [String]
|
2997
|
+
#
|
2998
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/Recommendation AWS API Documentation
|
2999
|
+
#
|
3000
|
+
class Recommendation < Struct.new(
|
3001
|
+
:url,
|
3002
|
+
:text)
|
3003
|
+
SENSITIVE = []
|
3004
|
+
include Aws::Structure
|
3005
|
+
end
|
3006
|
+
|
3007
|
+
# The manifest list is referencing an image that does not exist.
|
3008
|
+
#
|
3009
|
+
# @!attribute [rw] message
|
3010
|
+
# @return [String]
|
3011
|
+
#
|
3012
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ReferencedImagesNotFoundException AWS API Documentation
|
3013
|
+
#
|
3014
|
+
class ReferencedImagesNotFoundException < Struct.new(
|
3015
|
+
:message)
|
3016
|
+
SENSITIVE = []
|
3017
|
+
include Aws::Structure
|
3018
|
+
end
|
3019
|
+
|
3020
|
+
# The registry doesn't have an associated registry policy.
|
3021
|
+
#
|
3022
|
+
# @!attribute [rw] message
|
3023
|
+
# @return [String]
|
3024
|
+
#
|
3025
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/RegistryPolicyNotFoundException AWS API Documentation
|
3026
|
+
#
|
3027
|
+
class RegistryPolicyNotFoundException < Struct.new(
|
3028
|
+
:message)
|
3029
|
+
SENSITIVE = []
|
3030
|
+
include Aws::Structure
|
3031
|
+
end
|
3032
|
+
|
3033
|
+
# The scanning configuration for a private registry.
|
3034
|
+
#
|
3035
|
+
# @!attribute [rw] scan_type
|
3036
|
+
# The type of scanning configured for the registry.
|
3037
|
+
# @return [String]
|
3038
|
+
#
|
3039
|
+
# @!attribute [rw] rules
|
3040
|
+
# The scanning rules associated with the registry.
|
3041
|
+
# @return [Array<Types::RegistryScanningRule>]
|
3042
|
+
#
|
3043
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/RegistryScanningConfiguration AWS API Documentation
|
3044
|
+
#
|
3045
|
+
class RegistryScanningConfiguration < Struct.new(
|
3046
|
+
:scan_type,
|
3047
|
+
:rules)
|
3048
|
+
SENSITIVE = []
|
3049
|
+
include Aws::Structure
|
3050
|
+
end
|
3051
|
+
|
3052
|
+
# The details of a scanning rule for a private registry.
|
3053
|
+
#
|
3054
|
+
# @!attribute [rw] scan_frequency
|
3055
|
+
# The frequency that scans are performed at for a private registry.
|
3056
|
+
# When the `ENHANCED` scan type is specified, the supported scan
|
3057
|
+
# frequencies are `CONTINUOUS_SCAN` and `SCAN_ON_PUSH`. When the
|
3058
|
+
# `BASIC` scan type is specified, the `SCAN_ON_PUSH` scan frequency is
|
3059
|
+
# supported. If scan on push is not specified, then the `MANUAL` scan
|
3060
|
+
# frequency is set by default.
|
3061
|
+
# @return [String]
|
3062
|
+
#
|
3063
|
+
# @!attribute [rw] repository_filters
|
3064
|
+
# The repository filters associated with the scanning configuration
|
3065
|
+
# for a private registry.
|
3066
|
+
# @return [Array<Types::ScanningRepositoryFilter>]
|
3067
|
+
#
|
3068
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/RegistryScanningRule AWS API Documentation
|
3069
|
+
#
|
3070
|
+
class RegistryScanningRule < Struct.new(
|
3071
|
+
:scan_frequency,
|
3072
|
+
:repository_filters)
|
3073
|
+
SENSITIVE = []
|
3074
|
+
include Aws::Structure
|
3075
|
+
end
|
3076
|
+
|
3077
|
+
# Information on how to remediate a finding.
|
3078
|
+
#
|
3079
|
+
# @!attribute [rw] recommendation
|
3080
|
+
# An object that contains information about the recommended course of
|
3081
|
+
# action to remediate the finding.
|
3082
|
+
# @return [Types::Recommendation]
|
3083
|
+
#
|
3084
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/Remediation AWS API Documentation
|
3085
|
+
#
|
3086
|
+
class Remediation < Struct.new(
|
3087
|
+
:recommendation)
|
3088
|
+
SENSITIVE = []
|
3089
|
+
include Aws::Structure
|
3090
|
+
end
|
3091
|
+
|
3092
|
+
# The replication configuration for a registry.
|
3093
|
+
#
|
3094
|
+
# @!attribute [rw] rules
|
3095
|
+
# An array of objects representing the replication destinations and
|
3096
|
+
# repository filters for a replication configuration.
|
3097
|
+
# @return [Array<Types::ReplicationRule>]
|
3098
|
+
#
|
3099
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ReplicationConfiguration AWS API Documentation
|
3100
|
+
#
|
3101
|
+
class ReplicationConfiguration < Struct.new(
|
3102
|
+
:rules)
|
3103
|
+
SENSITIVE = []
|
3104
|
+
include Aws::Structure
|
3105
|
+
end
|
3106
|
+
|
3107
|
+
# An array of objects representing the destination for a replication
|
3108
|
+
# rule.
|
3109
|
+
#
|
3110
|
+
# @!attribute [rw] region
|
3111
|
+
# The Region to replicate to.
|
3112
|
+
# @return [String]
|
3113
|
+
#
|
3114
|
+
# @!attribute [rw] registry_id
|
3115
|
+
# The Amazon Web Services account ID of the Amazon ECR private
|
3116
|
+
# registry to replicate to. When configuring cross-Region replication
|
3117
|
+
# within your own registry, specify your own account ID.
|
3118
|
+
# @return [String]
|
3119
|
+
#
|
3120
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ReplicationDestination AWS API Documentation
|
3121
|
+
#
|
3122
|
+
class ReplicationDestination < Struct.new(
|
3123
|
+
:region,
|
3124
|
+
:registry_id)
|
3125
|
+
SENSITIVE = []
|
3126
|
+
include Aws::Structure
|
3127
|
+
end
|
3128
|
+
|
3129
|
+
# An array of objects representing the replication destinations and
|
3130
|
+
# repository filters for a replication configuration.
|
3131
|
+
#
|
3132
|
+
# @!attribute [rw] destinations
|
3133
|
+
# An array of objects representing the destination for a replication
|
3134
|
+
# rule.
|
3135
|
+
# @return [Array<Types::ReplicationDestination>]
|
3136
|
+
#
|
3137
|
+
# @!attribute [rw] repository_filters
|
3138
|
+
# An array of objects representing the filters for a replication rule.
|
3139
|
+
# Specifying a repository filter for a replication rule provides a
|
3140
|
+
# method for controlling which repositories in a private registry are
|
3141
|
+
# replicated.
|
3142
|
+
# @return [Array<Types::RepositoryFilter>]
|
3143
|
+
#
|
3144
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ReplicationRule AWS API Documentation
|
3145
|
+
#
|
3146
|
+
class ReplicationRule < Struct.new(
|
3147
|
+
:destinations,
|
3148
|
+
:repository_filters)
|
3149
|
+
SENSITIVE = []
|
3150
|
+
include Aws::Structure
|
3151
|
+
end
|
3152
|
+
|
3153
|
+
# An object representing a repository.
|
3154
|
+
#
|
3155
|
+
# @!attribute [rw] repository_arn
|
3156
|
+
# The Amazon Resource Name (ARN) that identifies the repository. The
|
3157
|
+
# ARN contains the `arn:aws:ecr` namespace, followed by the region of
|
3158
|
+
# the repository, Amazon Web Services account ID of the repository
|
3159
|
+
# owner, repository namespace, and repository name. For example,
|
3160
|
+
# `arn:aws:ecr:region:012345678910:repository-namespace/repository-name`.
|
3161
|
+
# @return [String]
|
3162
|
+
#
|
3163
|
+
# @!attribute [rw] registry_id
|
3164
|
+
# The Amazon Web Services account ID associated with the registry that
|
3165
|
+
# contains the repository.
|
3166
|
+
# @return [String]
|
3167
|
+
#
|
3168
|
+
# @!attribute [rw] repository_name
|
3169
|
+
# The name of the repository.
|
3170
|
+
# @return [String]
|
3171
|
+
#
|
3172
|
+
# @!attribute [rw] repository_uri
|
3173
|
+
# The URI for the repository. You can use this URI for container image
|
3174
|
+
# `push` and `pull` operations.
|
3175
|
+
# @return [String]
|
3176
|
+
#
|
3177
|
+
# @!attribute [rw] created_at
|
3178
|
+
# The date and time, in JavaScript date format, when the repository
|
3179
|
+
# was created.
|
3180
|
+
# @return [Time]
|
3181
|
+
#
|
3182
|
+
# @!attribute [rw] image_tag_mutability
|
3183
|
+
# The tag mutability setting for the repository.
|
3184
|
+
# @return [String]
|
3185
|
+
#
|
3186
|
+
# @!attribute [rw] image_scanning_configuration
|
3187
|
+
# The image scanning configuration for a repository.
|
3188
|
+
# @return [Types::ImageScanningConfiguration]
|
3189
|
+
#
|
3190
|
+
# @!attribute [rw] encryption_configuration
|
3191
|
+
# The encryption configuration for the repository. This determines how
|
3192
|
+
# the contents of your repository are encrypted at rest.
|
3193
|
+
# @return [Types::EncryptionConfiguration]
|
3194
|
+
#
|
3195
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/Repository AWS API Documentation
|
3196
|
+
#
|
3197
|
+
class Repository < Struct.new(
|
3198
|
+
:repository_arn,
|
3199
|
+
:registry_id,
|
3200
|
+
:repository_name,
|
3201
|
+
:repository_uri,
|
3202
|
+
:created_at,
|
3203
|
+
:image_tag_mutability,
|
3204
|
+
:image_scanning_configuration,
|
3205
|
+
:encryption_configuration)
|
3206
|
+
SENSITIVE = []
|
3207
|
+
include Aws::Structure
|
3208
|
+
end
|
3209
|
+
|
3210
|
+
# The specified repository already exists in the specified registry.
|
3211
|
+
#
|
3212
|
+
# @!attribute [rw] message
|
3213
|
+
# The error message associated with the exception.
|
3214
|
+
# @return [String]
|
3215
|
+
#
|
3216
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/RepositoryAlreadyExistsException AWS API Documentation
|
3217
|
+
#
|
3218
|
+
class RepositoryAlreadyExistsException < Struct.new(
|
3219
|
+
:message)
|
3220
|
+
SENSITIVE = []
|
3221
|
+
include Aws::Structure
|
3222
|
+
end
|
3223
|
+
|
3224
|
+
# The filter settings used with image replication. Specifying a
|
3225
|
+
# repository filter to a replication rule provides a method for
|
3226
|
+
# controlling which repositories in a private registry are replicated.
|
3227
|
+
# If no filters are added, the contents of all repositories are
|
3228
|
+
# replicated.
|
3229
|
+
#
|
3230
|
+
# @!attribute [rw] filter
|
3231
|
+
# The repository filter details. When the `PREFIX_MATCH` filter type
|
3232
|
+
# is specified, this value is required and should be the repository
|
3233
|
+
# name prefix to configure replication for.
|
3234
|
+
# @return [String]
|
3235
|
+
#
|
3236
|
+
# @!attribute [rw] filter_type
|
3237
|
+
# The repository filter type. The only supported value is
|
3238
|
+
# `PREFIX_MATCH`, which is a repository name prefix specified with the
|
3239
|
+
# `filter` parameter.
|
3240
|
+
# @return [String]
|
3241
|
+
#
|
3242
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/RepositoryFilter AWS API Documentation
|
3243
|
+
#
|
3244
|
+
class RepositoryFilter < Struct.new(
|
3245
|
+
:filter,
|
3246
|
+
:filter_type)
|
3247
|
+
SENSITIVE = []
|
3248
|
+
include Aws::Structure
|
3249
|
+
end
|
3250
|
+
|
3251
|
+
# The specified repository contains images. To delete a repository that
|
3252
|
+
# contains images, you must force the deletion with the `force`
|
3253
|
+
# parameter.
|
3254
|
+
#
|
3255
|
+
# @!attribute [rw] message
|
3256
|
+
# The error message associated with the exception.
|
3257
|
+
# @return [String]
|
3258
|
+
#
|
3259
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/RepositoryNotEmptyException AWS API Documentation
|
3260
|
+
#
|
3261
|
+
class RepositoryNotEmptyException < Struct.new(
|
3262
|
+
:message)
|
3263
|
+
SENSITIVE = []
|
3264
|
+
include Aws::Structure
|
3265
|
+
end
|
3266
|
+
|
3267
|
+
# The specified repository could not be found. Check the spelling of the
|
3268
|
+
# specified repository and ensure that you are performing operations on
|
3269
|
+
# the correct registry.
|
3270
|
+
#
|
3271
|
+
# @!attribute [rw] message
|
3272
|
+
# The error message associated with the exception.
|
3273
|
+
# @return [String]
|
3274
|
+
#
|
3275
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/RepositoryNotFoundException AWS API Documentation
|
3276
|
+
#
|
3277
|
+
class RepositoryNotFoundException < Struct.new(
|
3278
|
+
:message)
|
3279
|
+
SENSITIVE = []
|
3280
|
+
include Aws::Structure
|
3281
|
+
end
|
3282
|
+
|
3283
|
+
# The specified repository and registry combination does not have an
|
3284
|
+
# associated repository policy.
|
3285
|
+
#
|
3286
|
+
# @!attribute [rw] message
|
3287
|
+
# The error message associated with the exception.
|
3288
|
+
# @return [String]
|
3289
|
+
#
|
3290
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/RepositoryPolicyNotFoundException AWS API Documentation
|
3291
|
+
#
|
3292
|
+
class RepositoryPolicyNotFoundException < Struct.new(
|
3293
|
+
:message)
|
3294
|
+
SENSITIVE = []
|
3295
|
+
include Aws::Structure
|
3296
|
+
end
|
3297
|
+
|
3298
|
+
# The details of the scanning configuration for a repository.
|
3299
|
+
#
|
3300
|
+
# @!attribute [rw] repository_arn
|
3301
|
+
# The ARN of the repository.
|
3302
|
+
# @return [String]
|
3303
|
+
#
|
3304
|
+
# @!attribute [rw] repository_name
|
3305
|
+
# The name of the repository.
|
3306
|
+
# @return [String]
|
3307
|
+
#
|
3308
|
+
# @!attribute [rw] scan_on_push
|
3309
|
+
# Whether or not scan on push is configured for the repository.
|
3310
|
+
# @return [Boolean]
|
3311
|
+
#
|
3312
|
+
# @!attribute [rw] scan_frequency
|
3313
|
+
# The scan frequency for the repository.
|
3314
|
+
# @return [String]
|
3315
|
+
#
|
3316
|
+
# @!attribute [rw] applied_scan_filters
|
3317
|
+
# The scan filters applied to the repository.
|
3318
|
+
# @return [Array<Types::ScanningRepositoryFilter>]
|
3319
|
+
#
|
3320
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/RepositoryScanningConfiguration AWS API Documentation
|
3321
|
+
#
|
3322
|
+
class RepositoryScanningConfiguration < Struct.new(
|
3323
|
+
:repository_arn,
|
3324
|
+
:repository_name,
|
3325
|
+
:scan_on_push,
|
3326
|
+
:scan_frequency,
|
3327
|
+
:applied_scan_filters)
|
3328
|
+
SENSITIVE = []
|
3329
|
+
include Aws::Structure
|
3330
|
+
end
|
3331
|
+
|
3332
|
+
# The details about any failures associated with the scanning
|
3333
|
+
# configuration of a repository.
|
3334
|
+
#
|
3335
|
+
# @!attribute [rw] repository_name
|
3336
|
+
# The name of the repository.
|
3337
|
+
# @return [String]
|
3338
|
+
#
|
3339
|
+
# @!attribute [rw] failure_code
|
3340
|
+
# The failure code.
|
3341
|
+
# @return [String]
|
3342
|
+
#
|
3343
|
+
# @!attribute [rw] failure_reason
|
3344
|
+
# The reason for the failure.
|
3345
|
+
# @return [String]
|
3346
|
+
#
|
3347
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/RepositoryScanningConfigurationFailure AWS API Documentation
|
3348
|
+
#
|
3349
|
+
class RepositoryScanningConfigurationFailure < Struct.new(
|
3350
|
+
:repository_name,
|
3351
|
+
:failure_code,
|
3352
|
+
:failure_reason)
|
3353
|
+
SENSITIVE = []
|
3354
|
+
include Aws::Structure
|
3355
|
+
end
|
3356
|
+
|
3357
|
+
# Details about the resource involved in a finding.
|
3358
|
+
#
|
3359
|
+
# @!attribute [rw] details
|
3360
|
+
# An object that contains details about the resource involved in a
|
3361
|
+
# finding.
|
3362
|
+
# @return [Types::ResourceDetails]
|
3363
|
+
#
|
3364
|
+
# @!attribute [rw] id
|
3365
|
+
# The ID of the resource.
|
3366
|
+
# @return [String]
|
3367
|
+
#
|
3368
|
+
# @!attribute [rw] tags
|
3369
|
+
# The tags attached to the resource.
|
3370
|
+
# @return [Hash<String,String>]
|
3371
|
+
#
|
3372
|
+
# @!attribute [rw] type
|
3373
|
+
# The type of resource.
|
3374
|
+
# @return [String]
|
3375
|
+
#
|
3376
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/Resource AWS API Documentation
|
3377
|
+
#
|
3378
|
+
class Resource < Struct.new(
|
3379
|
+
:details,
|
3380
|
+
:id,
|
3381
|
+
:tags,
|
3382
|
+
:type)
|
3383
|
+
SENSITIVE = []
|
3384
|
+
include Aws::Structure
|
3385
|
+
end
|
3386
|
+
|
3387
|
+
# Contains details about the resource involved in the finding.
|
3388
|
+
#
|
3389
|
+
# @!attribute [rw] aws_ecr_container_image
|
3390
|
+
# An object that contains details about the Amazon ECR container image
|
3391
|
+
# involved in the finding.
|
3392
|
+
# @return [Types::AwsEcrContainerImageDetails]
|
3393
|
+
#
|
3394
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ResourceDetails AWS API Documentation
|
3395
|
+
#
|
3396
|
+
class ResourceDetails < Struct.new(
|
3397
|
+
:aws_ecr_container_image)
|
3398
|
+
SENSITIVE = []
|
3399
|
+
include Aws::Structure
|
3400
|
+
end
|
3401
|
+
|
3402
|
+
# The specified image scan could not be found. Ensure that image
|
3403
|
+
# scanning is enabled on the repository and try again.
|
3404
|
+
#
|
3405
|
+
# @!attribute [rw] message
|
3406
|
+
# @return [String]
|
3407
|
+
#
|
3408
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ScanNotFoundException AWS API Documentation
|
3409
|
+
#
|
3410
|
+
class ScanNotFoundException < Struct.new(
|
3411
|
+
:message)
|
3412
|
+
SENSITIVE = []
|
3413
|
+
include Aws::Structure
|
3414
|
+
end
|
3415
|
+
|
3416
|
+
# The details of a scanning repository filter. For more information on
|
3417
|
+
# how to use filters, see [Using filters][1] in the *Amazon Elastic
|
3418
|
+
# Container Registry User Guide*.
|
3419
|
+
#
|
3420
|
+
#
|
3421
|
+
#
|
3422
|
+
# [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html#image-scanning-filters
|
3423
|
+
#
|
3424
|
+
# @!attribute [rw] filter
|
3425
|
+
# The filter to use when scanning.
|
1446
3426
|
# @return [String]
|
1447
3427
|
#
|
1448
|
-
# @!attribute [rw]
|
1449
|
-
# The
|
3428
|
+
# @!attribute [rw] filter_type
|
3429
|
+
# The type associated with the filter.
|
1450
3430
|
# @return [String]
|
1451
3431
|
#
|
1452
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/
|
3432
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ScanningRepositoryFilter AWS API Documentation
|
1453
3433
|
#
|
1454
|
-
class
|
1455
|
-
:
|
1456
|
-
:
|
1457
|
-
|
3434
|
+
class ScanningRepositoryFilter < Struct.new(
|
3435
|
+
:filter,
|
3436
|
+
:filter_type)
|
3437
|
+
SENSITIVE = []
|
1458
3438
|
include Aws::Structure
|
1459
3439
|
end
|
1460
3440
|
|
1461
|
-
#
|
3441
|
+
# Information about the Amazon Inspector score given to a finding.
|
1462
3442
|
#
|
1463
|
-
# @!attribute [rw]
|
1464
|
-
#
|
1465
|
-
#
|
1466
|
-
#
|
1467
|
-
# namespace, and repository name. For example,
|
1468
|
-
# `arn:aws:ecr:region:012345678910:repository/test`.
|
1469
|
-
# @return [String]
|
3443
|
+
# @!attribute [rw] cvss
|
3444
|
+
# An object that contains details about the CVSS score given to a
|
3445
|
+
# finding.
|
3446
|
+
# @return [Types::CvssScoreDetails]
|
1470
3447
|
#
|
1471
|
-
#
|
1472
|
-
# The AWS account ID associated with the registry that contains the
|
1473
|
-
# repository.
|
1474
|
-
# @return [String]
|
3448
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ScoreDetails AWS API Documentation
|
1475
3449
|
#
|
1476
|
-
|
1477
|
-
|
1478
|
-
|
3450
|
+
class ScoreDetails < Struct.new(
|
3451
|
+
:cvss)
|
3452
|
+
SENSITIVE = []
|
3453
|
+
include Aws::Structure
|
3454
|
+
end
|
3455
|
+
|
3456
|
+
# The ARN of the secret specified in the pull through cache rule was not
|
3457
|
+
# found. Update the pull through cache rule with a valid secret ARN and
|
3458
|
+
# try again.
|
1479
3459
|
#
|
1480
|
-
# @!attribute [rw]
|
1481
|
-
# The URI for the repository. You can use this URI for Docker `push`
|
1482
|
-
# or `pull` operations.
|
3460
|
+
# @!attribute [rw] message
|
1483
3461
|
# @return [String]
|
1484
3462
|
#
|
1485
|
-
#
|
1486
|
-
# The date and time, in JavaScript date format, when the repository
|
1487
|
-
# was created.
|
1488
|
-
# @return [Time]
|
1489
|
-
#
|
1490
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/Repository AWS API Documentation
|
3463
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SecretNotFoundException AWS API Documentation
|
1491
3464
|
#
|
1492
|
-
class
|
1493
|
-
:
|
1494
|
-
|
1495
|
-
:repository_name,
|
1496
|
-
:repository_uri,
|
1497
|
-
:created_at)
|
3465
|
+
class SecretNotFoundException < Struct.new(
|
3466
|
+
:message)
|
3467
|
+
SENSITIVE = []
|
1498
3468
|
include Aws::Structure
|
1499
3469
|
end
|
1500
3470
|
|
1501
|
-
#
|
1502
|
-
#
|
3471
|
+
# These errors are usually caused by a server-side issue.
|
3472
|
+
#
|
3473
|
+
# @!attribute [rw] message
|
3474
|
+
# The error message associated with the exception.
|
3475
|
+
# @return [String]
|
1503
3476
|
#
|
1504
|
-
#
|
1505
|
-
# registry_id: "RegistryId",
|
1506
|
-
# repository_name: "RepositoryName", # required
|
1507
|
-
# policy_text: "RepositoryPolicyText", # required
|
1508
|
-
# force: false,
|
1509
|
-
# }
|
3477
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ServerException AWS API Documentation
|
1510
3478
|
#
|
3479
|
+
class ServerException < Struct.new(
|
3480
|
+
:message)
|
3481
|
+
SENSITIVE = []
|
3482
|
+
include Aws::Structure
|
3483
|
+
end
|
3484
|
+
|
1511
3485
|
# @!attribute [rw] registry_id
|
1512
|
-
# The
|
1513
|
-
# repository. If you do not specify a registry, the
|
1514
|
-
# is assumed.
|
3486
|
+
# The Amazon Web Services account ID associated with the registry that
|
3487
|
+
# contains the repository. If you do not specify a registry, the
|
3488
|
+
# default registry is assumed.
|
1515
3489
|
# @return [String]
|
1516
3490
|
#
|
1517
3491
|
# @!attribute [rw] repository_name
|
@@ -1519,7 +3493,13 @@ module Aws::ECR
|
|
1519
3493
|
# @return [String]
|
1520
3494
|
#
|
1521
3495
|
# @!attribute [rw] policy_text
|
1522
|
-
# The JSON repository policy text to apply to the repository.
|
3496
|
+
# The JSON repository policy text to apply to the repository. For more
|
3497
|
+
# information, see [Amazon ECR repository policies][1] in the *Amazon
|
3498
|
+
# Elastic Container Registry User Guide*.
|
3499
|
+
#
|
3500
|
+
#
|
3501
|
+
#
|
3502
|
+
# [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policy-examples.html
|
1523
3503
|
# @return [String]
|
1524
3504
|
#
|
1525
3505
|
# @!attribute [rw] force
|
@@ -1536,6 +3516,7 @@ module Aws::ECR
|
|
1536
3516
|
:repository_name,
|
1537
3517
|
:policy_text,
|
1538
3518
|
:force)
|
3519
|
+
SENSITIVE = []
|
1539
3520
|
include Aws::Structure
|
1540
3521
|
end
|
1541
3522
|
|
@@ -1557,22 +3538,67 @@ module Aws::ECR
|
|
1557
3538
|
:registry_id,
|
1558
3539
|
:repository_name,
|
1559
3540
|
:policy_text)
|
3541
|
+
SENSITIVE = []
|
3542
|
+
include Aws::Structure
|
3543
|
+
end
|
3544
|
+
|
3545
|
+
# @!attribute [rw] registry_id
|
3546
|
+
# The Amazon Web Services account ID associated with the registry that
|
3547
|
+
# contains the repository in which to start an image scan request. If
|
3548
|
+
# you do not specify a registry, the default registry is assumed.
|
3549
|
+
# @return [String]
|
3550
|
+
#
|
3551
|
+
# @!attribute [rw] repository_name
|
3552
|
+
# The name of the repository that contains the images to scan.
|
3553
|
+
# @return [String]
|
3554
|
+
#
|
3555
|
+
# @!attribute [rw] image_id
|
3556
|
+
# An object with identifying information for an image in an Amazon ECR
|
3557
|
+
# repository.
|
3558
|
+
# @return [Types::ImageIdentifier]
|
3559
|
+
#
|
3560
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/StartImageScanRequest AWS API Documentation
|
3561
|
+
#
|
3562
|
+
class StartImageScanRequest < Struct.new(
|
3563
|
+
:registry_id,
|
3564
|
+
:repository_name,
|
3565
|
+
:image_id)
|
3566
|
+
SENSITIVE = []
|
1560
3567
|
include Aws::Structure
|
1561
3568
|
end
|
1562
3569
|
|
1563
|
-
#
|
1564
|
-
#
|
3570
|
+
# @!attribute [rw] registry_id
|
3571
|
+
# The registry ID associated with the request.
|
3572
|
+
# @return [String]
|
3573
|
+
#
|
3574
|
+
# @!attribute [rw] repository_name
|
3575
|
+
# The repository name associated with the request.
|
3576
|
+
# @return [String]
|
3577
|
+
#
|
3578
|
+
# @!attribute [rw] image_id
|
3579
|
+
# An object with identifying information for an image in an Amazon ECR
|
3580
|
+
# repository.
|
3581
|
+
# @return [Types::ImageIdentifier]
|
3582
|
+
#
|
3583
|
+
# @!attribute [rw] image_scan_status
|
3584
|
+
# The current state of the scan.
|
3585
|
+
# @return [Types::ImageScanStatus]
|
1565
3586
|
#
|
1566
|
-
#
|
1567
|
-
# registry_id: "RegistryId",
|
1568
|
-
# repository_name: "RepositoryName", # required
|
1569
|
-
# lifecycle_policy_text: "LifecyclePolicyText",
|
1570
|
-
# }
|
3587
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/StartImageScanResponse AWS API Documentation
|
1571
3588
|
#
|
3589
|
+
class StartImageScanResponse < Struct.new(
|
3590
|
+
:registry_id,
|
3591
|
+
:repository_name,
|
3592
|
+
:image_id,
|
3593
|
+
:image_scan_status)
|
3594
|
+
SENSITIVE = []
|
3595
|
+
include Aws::Structure
|
3596
|
+
end
|
3597
|
+
|
1572
3598
|
# @!attribute [rw] registry_id
|
1573
|
-
# The
|
1574
|
-
# repository. If you do not specify a registry, the
|
1575
|
-
# is assumed.
|
3599
|
+
# The Amazon Web Services account ID associated with the registry that
|
3600
|
+
# contains the repository. If you do not specify a registry, the
|
3601
|
+
# default registry is assumed.
|
1576
3602
|
# @return [String]
|
1577
3603
|
#
|
1578
3604
|
# @!attribute [rw] repository_name
|
@@ -1590,6 +3616,7 @@ module Aws::ECR
|
|
1590
3616
|
:registry_id,
|
1591
3617
|
:repository_name,
|
1592
3618
|
:lifecycle_policy_text)
|
3619
|
+
SENSITIVE = []
|
1593
3620
|
include Aws::Structure
|
1594
3621
|
end
|
1595
3622
|
|
@@ -1616,25 +3643,243 @@ module Aws::ECR
|
|
1616
3643
|
:repository_name,
|
1617
3644
|
:lifecycle_policy_text,
|
1618
3645
|
:status)
|
3646
|
+
SENSITIVE = []
|
3647
|
+
include Aws::Structure
|
3648
|
+
end
|
3649
|
+
|
3650
|
+
# The metadata to apply to a resource to help you categorize and
|
3651
|
+
# organize them. Each tag consists of a key and a value, both of which
|
3652
|
+
# you define. Tag keys can have a maximum character length of 128
|
3653
|
+
# characters, and tag values can have a maximum length of 256
|
3654
|
+
# characters.
|
3655
|
+
#
|
3656
|
+
# @!attribute [rw] key
|
3657
|
+
# One part of a key-value pair that make up a tag. A `key` is a
|
3658
|
+
# general label that acts like a category for more specific tag
|
3659
|
+
# values.
|
3660
|
+
# @return [String]
|
3661
|
+
#
|
3662
|
+
# @!attribute [rw] value
|
3663
|
+
# A `value` acts as a descriptor within a tag category (key).
|
3664
|
+
# @return [String]
|
3665
|
+
#
|
3666
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/Tag AWS API Documentation
|
3667
|
+
#
|
3668
|
+
class Tag < Struct.new(
|
3669
|
+
:key,
|
3670
|
+
:value)
|
3671
|
+
SENSITIVE = []
|
3672
|
+
include Aws::Structure
|
3673
|
+
end
|
3674
|
+
|
3675
|
+
# @!attribute [rw] resource_arn
|
3676
|
+
# The Amazon Resource Name (ARN) of the the resource to which to add
|
3677
|
+
# tags. Currently, the only supported resource is an Amazon ECR
|
3678
|
+
# repository.
|
3679
|
+
# @return [String]
|
3680
|
+
#
|
3681
|
+
# @!attribute [rw] tags
|
3682
|
+
# The tags to add to the resource. A tag is an array of key-value
|
3683
|
+
# pairs. Tag keys can have a maximum character length of 128
|
3684
|
+
# characters, and tag values can have a maximum length of 256
|
3685
|
+
# characters.
|
3686
|
+
# @return [Array<Types::Tag>]
|
3687
|
+
#
|
3688
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/TagResourceRequest AWS API Documentation
|
3689
|
+
#
|
3690
|
+
class TagResourceRequest < Struct.new(
|
3691
|
+
:resource_arn,
|
3692
|
+
:tags)
|
3693
|
+
SENSITIVE = []
|
3694
|
+
include Aws::Structure
|
3695
|
+
end
|
3696
|
+
|
3697
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/TagResourceResponse AWS API Documentation
|
3698
|
+
#
|
3699
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
3700
|
+
|
3701
|
+
# The list of tags on the repository is over the limit. The maximum
|
3702
|
+
# number of tags that can be applied to a repository is 50.
|
3703
|
+
#
|
3704
|
+
# @!attribute [rw] message
|
3705
|
+
# @return [String]
|
3706
|
+
#
|
3707
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/TooManyTagsException AWS API Documentation
|
3708
|
+
#
|
3709
|
+
class TooManyTagsException < Struct.new(
|
3710
|
+
:message)
|
3711
|
+
SENSITIVE = []
|
3712
|
+
include Aws::Structure
|
3713
|
+
end
|
3714
|
+
|
3715
|
+
# The secret is unable to be accessed. Verify the resource permissions
|
3716
|
+
# for the secret and try again.
|
3717
|
+
#
|
3718
|
+
# @!attribute [rw] message
|
3719
|
+
# @return [String]
|
3720
|
+
#
|
3721
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UnableToAccessSecretException AWS API Documentation
|
3722
|
+
#
|
3723
|
+
class UnableToAccessSecretException < Struct.new(
|
3724
|
+
:message)
|
3725
|
+
SENSITIVE = []
|
3726
|
+
include Aws::Structure
|
3727
|
+
end
|
3728
|
+
|
3729
|
+
# The secret is accessible but is unable to be decrypted. Verify the
|
3730
|
+
# resource permisisons and try again.
|
3731
|
+
#
|
3732
|
+
# @!attribute [rw] message
|
3733
|
+
# @return [String]
|
3734
|
+
#
|
3735
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UnableToDecryptSecretValueException AWS API Documentation
|
3736
|
+
#
|
3737
|
+
class UnableToDecryptSecretValueException < Struct.new(
|
3738
|
+
:message)
|
3739
|
+
SENSITIVE = []
|
3740
|
+
include Aws::Structure
|
3741
|
+
end
|
3742
|
+
|
3743
|
+
# The image or images were unable to be pulled using the pull through
|
3744
|
+
# cache rule. This is usually caused because of an issue with the
|
3745
|
+
# Secrets Manager secret containing the credentials for the upstream
|
3746
|
+
# registry.
|
3747
|
+
#
|
3748
|
+
# @!attribute [rw] message
|
3749
|
+
# @return [String]
|
3750
|
+
#
|
3751
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UnableToGetUpstreamImageException AWS API Documentation
|
3752
|
+
#
|
3753
|
+
class UnableToGetUpstreamImageException < Struct.new(
|
3754
|
+
:message)
|
3755
|
+
SENSITIVE = []
|
3756
|
+
include Aws::Structure
|
3757
|
+
end
|
3758
|
+
|
3759
|
+
# There was an issue getting the upstream layer matching the pull
|
3760
|
+
# through cache rule.
|
3761
|
+
#
|
3762
|
+
# @!attribute [rw] message
|
3763
|
+
# @return [String]
|
3764
|
+
#
|
3765
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UnableToGetUpstreamLayerException AWS API Documentation
|
3766
|
+
#
|
3767
|
+
class UnableToGetUpstreamLayerException < Struct.new(
|
3768
|
+
:message)
|
3769
|
+
SENSITIVE = []
|
3770
|
+
include Aws::Structure
|
3771
|
+
end
|
3772
|
+
|
3773
|
+
# The image is of a type that cannot be scanned.
|
3774
|
+
#
|
3775
|
+
# @!attribute [rw] message
|
3776
|
+
# @return [String]
|
3777
|
+
#
|
3778
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UnsupportedImageTypeException AWS API Documentation
|
3779
|
+
#
|
3780
|
+
class UnsupportedImageTypeException < Struct.new(
|
3781
|
+
:message)
|
3782
|
+
SENSITIVE = []
|
3783
|
+
include Aws::Structure
|
3784
|
+
end
|
3785
|
+
|
3786
|
+
# The specified upstream registry isn't supported.
|
3787
|
+
#
|
3788
|
+
# @!attribute [rw] message
|
3789
|
+
# @return [String]
|
3790
|
+
#
|
3791
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UnsupportedUpstreamRegistryException AWS API Documentation
|
3792
|
+
#
|
3793
|
+
class UnsupportedUpstreamRegistryException < Struct.new(
|
3794
|
+
:message)
|
3795
|
+
SENSITIVE = []
|
3796
|
+
include Aws::Structure
|
3797
|
+
end
|
3798
|
+
|
3799
|
+
# @!attribute [rw] resource_arn
|
3800
|
+
# The Amazon Resource Name (ARN) of the resource from which to remove
|
3801
|
+
# tags. Currently, the only supported resource is an Amazon ECR
|
3802
|
+
# repository.
|
3803
|
+
# @return [String]
|
3804
|
+
#
|
3805
|
+
# @!attribute [rw] tag_keys
|
3806
|
+
# The keys of the tags to be removed.
|
3807
|
+
# @return [Array<String>]
|
3808
|
+
#
|
3809
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UntagResourceRequest AWS API Documentation
|
3810
|
+
#
|
3811
|
+
class UntagResourceRequest < Struct.new(
|
3812
|
+
:resource_arn,
|
3813
|
+
:tag_keys)
|
3814
|
+
SENSITIVE = []
|
1619
3815
|
include Aws::Structure
|
1620
3816
|
end
|
1621
3817
|
|
1622
|
-
# @
|
1623
|
-
# data as a hash:
|
3818
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UntagResourceResponse AWS API Documentation
|
1624
3819
|
#
|
1625
|
-
|
1626
|
-
|
1627
|
-
#
|
1628
|
-
#
|
1629
|
-
#
|
1630
|
-
#
|
1631
|
-
#
|
1632
|
-
#
|
3820
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
3821
|
+
|
3822
|
+
# @!attribute [rw] registry_id
|
3823
|
+
# The Amazon Web Services account ID associated with the registry
|
3824
|
+
# associated with the pull through cache rule. If you do not specify a
|
3825
|
+
# registry, the default registry is assumed.
|
3826
|
+
# @return [String]
|
3827
|
+
#
|
3828
|
+
# @!attribute [rw] ecr_repository_prefix
|
3829
|
+
# The repository name prefix to use when caching images from the
|
3830
|
+
# source registry.
|
3831
|
+
# @return [String]
|
3832
|
+
#
|
3833
|
+
# @!attribute [rw] credential_arn
|
3834
|
+
# The Amazon Resource Name (ARN) of the Amazon Web Services Secrets
|
3835
|
+
# Manager secret that identifies the credentials to authenticate to
|
3836
|
+
# the upstream registry.
|
3837
|
+
# @return [String]
|
3838
|
+
#
|
3839
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UpdatePullThroughCacheRuleRequest AWS API Documentation
|
3840
|
+
#
|
3841
|
+
class UpdatePullThroughCacheRuleRequest < Struct.new(
|
3842
|
+
:registry_id,
|
3843
|
+
:ecr_repository_prefix,
|
3844
|
+
:credential_arn)
|
3845
|
+
SENSITIVE = []
|
3846
|
+
include Aws::Structure
|
3847
|
+
end
|
3848
|
+
|
3849
|
+
# @!attribute [rw] ecr_repository_prefix
|
3850
|
+
# The Amazon ECR repository prefix associated with the pull through
|
3851
|
+
# cache rule.
|
3852
|
+
# @return [String]
|
1633
3853
|
#
|
1634
3854
|
# @!attribute [rw] registry_id
|
1635
|
-
# The
|
1636
|
-
#
|
1637
|
-
#
|
3855
|
+
# The registry ID associated with the request.
|
3856
|
+
# @return [String]
|
3857
|
+
#
|
3858
|
+
# @!attribute [rw] updated_at
|
3859
|
+
# The date and time, in JavaScript date format, when the pull through
|
3860
|
+
# cache rule was updated.
|
3861
|
+
# @return [Time]
|
3862
|
+
#
|
3863
|
+
# @!attribute [rw] credential_arn
|
3864
|
+
# The Amazon Resource Name (ARN) of the Amazon Web Services Secrets
|
3865
|
+
# Manager secret associated with the pull through cache rule.
|
3866
|
+
# @return [String]
|
3867
|
+
#
|
3868
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UpdatePullThroughCacheRuleResponse AWS API Documentation
|
3869
|
+
#
|
3870
|
+
class UpdatePullThroughCacheRuleResponse < Struct.new(
|
3871
|
+
:ecr_repository_prefix,
|
3872
|
+
:registry_id,
|
3873
|
+
:updated_at,
|
3874
|
+
:credential_arn)
|
3875
|
+
SENSITIVE = []
|
3876
|
+
include Aws::Structure
|
3877
|
+
end
|
3878
|
+
|
3879
|
+
# @!attribute [rw] registry_id
|
3880
|
+
# The Amazon Web Services account ID associated with the registry to
|
3881
|
+
# which you are uploading layer parts. If you do not specify a
|
3882
|
+
# registry, the default registry is assumed.
|
1638
3883
|
# @return [String]
|
1639
3884
|
#
|
1640
3885
|
# @!attribute [rw] repository_name
|
@@ -1647,11 +3892,13 @@ module Aws::ECR
|
|
1647
3892
|
# @return [String]
|
1648
3893
|
#
|
1649
3894
|
# @!attribute [rw] part_first_byte
|
1650
|
-
# The
|
3895
|
+
# The position of the first byte of the layer part witin the overall
|
3896
|
+
# image layer.
|
1651
3897
|
# @return [Integer]
|
1652
3898
|
#
|
1653
3899
|
# @!attribute [rw] part_last_byte
|
1654
|
-
# The
|
3900
|
+
# The position of the last byte of the layer part within the overall
|
3901
|
+
# image layer.
|
1655
3902
|
# @return [Integer]
|
1656
3903
|
#
|
1657
3904
|
# @!attribute [rw] layer_part_blob
|
@@ -1667,6 +3914,7 @@ module Aws::ECR
|
|
1667
3914
|
:part_first_byte,
|
1668
3915
|
:part_last_byte,
|
1669
3916
|
:layer_part_blob)
|
3917
|
+
SENSITIVE = []
|
1670
3918
|
include Aws::Structure
|
1671
3919
|
end
|
1672
3920
|
|
@@ -1693,6 +3941,152 @@ module Aws::ECR
|
|
1693
3941
|
:repository_name,
|
1694
3942
|
:upload_id,
|
1695
3943
|
:last_byte_received)
|
3944
|
+
SENSITIVE = []
|
3945
|
+
include Aws::Structure
|
3946
|
+
end
|
3947
|
+
|
3948
|
+
# The upload could not be found, or the specified upload ID is not valid
|
3949
|
+
# for this repository.
|
3950
|
+
#
|
3951
|
+
# @!attribute [rw] message
|
3952
|
+
# The error message associated with the exception.
|
3953
|
+
# @return [String]
|
3954
|
+
#
|
3955
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UploadNotFoundException AWS API Documentation
|
3956
|
+
#
|
3957
|
+
class UploadNotFoundException < Struct.new(
|
3958
|
+
:message)
|
3959
|
+
SENSITIVE = []
|
3960
|
+
include Aws::Structure
|
3961
|
+
end
|
3962
|
+
|
3963
|
+
# @!attribute [rw] ecr_repository_prefix
|
3964
|
+
# The repository name prefix associated with the pull through cache
|
3965
|
+
# rule.
|
3966
|
+
# @return [String]
|
3967
|
+
#
|
3968
|
+
# @!attribute [rw] registry_id
|
3969
|
+
# The registry ID associated with the pull through cache rule. If you
|
3970
|
+
# do not specify a registry, the default registry is assumed.
|
3971
|
+
# @return [String]
|
3972
|
+
#
|
3973
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ValidatePullThroughCacheRuleRequest AWS API Documentation
|
3974
|
+
#
|
3975
|
+
class ValidatePullThroughCacheRuleRequest < Struct.new(
|
3976
|
+
:ecr_repository_prefix,
|
3977
|
+
:registry_id)
|
3978
|
+
SENSITIVE = []
|
3979
|
+
include Aws::Structure
|
3980
|
+
end
|
3981
|
+
|
3982
|
+
# @!attribute [rw] ecr_repository_prefix
|
3983
|
+
# The Amazon ECR repository prefix associated with the pull through
|
3984
|
+
# cache rule.
|
3985
|
+
# @return [String]
|
3986
|
+
#
|
3987
|
+
# @!attribute [rw] registry_id
|
3988
|
+
# The registry ID associated with the request.
|
3989
|
+
# @return [String]
|
3990
|
+
#
|
3991
|
+
# @!attribute [rw] upstream_registry_url
|
3992
|
+
# The upstream registry URL associated with the pull through cache
|
3993
|
+
# rule.
|
3994
|
+
# @return [String]
|
3995
|
+
#
|
3996
|
+
# @!attribute [rw] credential_arn
|
3997
|
+
# The Amazon Resource Name (ARN) of the Amazon Web Services Secrets
|
3998
|
+
# Manager secret associated with the pull through cache rule.
|
3999
|
+
# @return [String]
|
4000
|
+
#
|
4001
|
+
# @!attribute [rw] is_valid
|
4002
|
+
# Whether or not the pull through cache rule was validated. If `true`,
|
4003
|
+
# Amazon ECR was able to reach the upstream registry and
|
4004
|
+
# authentication was successful. If `false`, there was an issue and
|
4005
|
+
# validation failed. The `failure` reason indicates the cause.
|
4006
|
+
# @return [Boolean]
|
4007
|
+
#
|
4008
|
+
# @!attribute [rw] failure
|
4009
|
+
# The reason the validation failed. For more details about possible
|
4010
|
+
# causes and how to address them, see [Using pull through cache
|
4011
|
+
# rules][1] in the *Amazon Elastic Container Registry User Guide*.
|
4012
|
+
#
|
4013
|
+
#
|
4014
|
+
#
|
4015
|
+
# [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/pull-through-cache.html
|
4016
|
+
# @return [String]
|
4017
|
+
#
|
4018
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ValidatePullThroughCacheRuleResponse AWS API Documentation
|
4019
|
+
#
|
4020
|
+
class ValidatePullThroughCacheRuleResponse < Struct.new(
|
4021
|
+
:ecr_repository_prefix,
|
4022
|
+
:registry_id,
|
4023
|
+
:upstream_registry_url,
|
4024
|
+
:credential_arn,
|
4025
|
+
:is_valid,
|
4026
|
+
:failure)
|
4027
|
+
SENSITIVE = []
|
4028
|
+
include Aws::Structure
|
4029
|
+
end
|
4030
|
+
|
4031
|
+
# There was an exception validating this request.
|
4032
|
+
#
|
4033
|
+
# @!attribute [rw] message
|
4034
|
+
# @return [String]
|
4035
|
+
#
|
4036
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ValidationException AWS API Documentation
|
4037
|
+
#
|
4038
|
+
class ValidationException < Struct.new(
|
4039
|
+
:message)
|
4040
|
+
SENSITIVE = []
|
4041
|
+
include Aws::Structure
|
4042
|
+
end
|
4043
|
+
|
4044
|
+
# Information on the vulnerable package identified by a finding.
|
4045
|
+
#
|
4046
|
+
# @!attribute [rw] arch
|
4047
|
+
# The architecture of the vulnerable package.
|
4048
|
+
# @return [String]
|
4049
|
+
#
|
4050
|
+
# @!attribute [rw] epoch
|
4051
|
+
# The epoch of the vulnerable package.
|
4052
|
+
# @return [Integer]
|
4053
|
+
#
|
4054
|
+
# @!attribute [rw] file_path
|
4055
|
+
# The file path of the vulnerable package.
|
4056
|
+
# @return [String]
|
4057
|
+
#
|
4058
|
+
# @!attribute [rw] name
|
4059
|
+
# The name of the vulnerable package.
|
4060
|
+
# @return [String]
|
4061
|
+
#
|
4062
|
+
# @!attribute [rw] package_manager
|
4063
|
+
# The package manager of the vulnerable package.
|
4064
|
+
# @return [String]
|
4065
|
+
#
|
4066
|
+
# @!attribute [rw] release
|
4067
|
+
# The release of the vulnerable package.
|
4068
|
+
# @return [String]
|
4069
|
+
#
|
4070
|
+
# @!attribute [rw] source_layer_hash
|
4071
|
+
# The source layer hash of the vulnerable package.
|
4072
|
+
# @return [String]
|
4073
|
+
#
|
4074
|
+
# @!attribute [rw] version
|
4075
|
+
# The version of the vulnerable package.
|
4076
|
+
# @return [String]
|
4077
|
+
#
|
4078
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/VulnerablePackage AWS API Documentation
|
4079
|
+
#
|
4080
|
+
class VulnerablePackage < Struct.new(
|
4081
|
+
:arch,
|
4082
|
+
:epoch,
|
4083
|
+
:file_path,
|
4084
|
+
:name,
|
4085
|
+
:package_manager,
|
4086
|
+
:release,
|
4087
|
+
:source_layer_hash,
|
4088
|
+
:version)
|
4089
|
+
SENSITIVE = []
|
1696
4090
|
include Aws::Structure
|
1697
4091
|
end
|
1698
4092
|
|