aws-sdk-ecr 1.57.0 → 1.58.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7eb5d6ec4b308bfff357e94ef6afd6171e86d29b5316f29ae24db450fb551aee
4
- data.tar.gz: 83a5f65feb1d00d1545fc23bb60b4d6635e295ada65dadf7a4230b5e3a095d9e
3
+ metadata.gz: bc5587e2a6c18ee2683b6d45b8625cf93b47aa1fe0a46ab5f5c98ee711b05acd
4
+ data.tar.gz: 27ae049d151d72b9f0f5b82718c93c3452f3bc7ca35d68a39d5911ca16dbbc41
5
5
  SHA512:
6
- metadata.gz: 2d989fb19d8f97f19a1a5200c4284a1037df5082f5bb04f1ed0628c6628f3f238b0fa68225bf7c918a40ce69e06915312a28a169fe500d28e4840d44da8e4392
7
- data.tar.gz: f8fa67c0ca898430e25821d38316e69dc2cb1160ff180cd13b1b2e8d4b83d76578dd750d656af894d1d8578e826ce03cd260133e2a888b511ad8777767905587
6
+ metadata.gz: ad9526285ee24e33d7a3e7d38a2f93eb5f634e21b4bbd99fe4e730614161a8520cc120a8044a03ba978e713f39faf2f7291c908748860a6a925379cc964f0642
7
+ data.tar.gz: 1b5cff17fc22de81b932bef221a66ba8c40fc37fc36f57e0f0dc3bcf5a0900e0d1844c78ebc15e7ee810a0bd21d7a7fe22a5d88071d1a22193a0eed6771ae98b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.58.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
4
11
  1.57.0 (2022-10-25)
5
12
  ------------------
6
13
 
@@ -355,4 +362,4 @@ Unreleased Changes
355
362
  1.0.0.rc1 (2016-12-05)
356
363
  ------------------
357
364
 
358
- * Feature - Initial preview release of the `aws-sdk-ecr` gem.
365
+ * Feature - Initial preview release of the `aws-sdk-ecr` gem.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.57.0
1
+ 1.58.0
@@ -2852,7 +2852,7 @@ module Aws::ECR
2852
2852
  params: params,
2853
2853
  config: config)
2854
2854
  context[:gem_name] = 'aws-sdk-ecr'
2855
- context[:gem_version] = '1.57.0'
2855
+ context[:gem_version] = '1.58.0'
2856
2856
  Seahorse::Client::Request.new(handlers, context)
2857
2857
  end
2858
2858
 
@@ -9,140 +9,67 @@
9
9
 
10
10
  module Aws::ECR
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://api.ecr-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.string_equals?(region, "dkr-us-east-2")
36
+ return Aws::Endpoints::Endpoint.new(url: "https://ecr-fips.us-east-2.amazonaws.com", headers: {}, properties: {})
37
+ end
38
+ if Aws::Endpoints::Matchers.string_equals?(region, "dkr-us-east-1")
39
+ return Aws::Endpoints::Endpoint.new(url: "https://ecr-fips.us-east-1.amazonaws.com", headers: {}, properties: {})
40
+ end
41
+ if Aws::Endpoints::Matchers.string_equals?(region, "dkr-us-west-2")
42
+ return Aws::Endpoints::Endpoint.new(url: "https://ecr-fips.us-west-2.amazonaws.com", headers: {}, properties: {})
43
+ end
44
+ if Aws::Endpoints::Matchers.string_equals?(region, "dkr-us-west-1")
45
+ return Aws::Endpoints::Endpoint.new(url: "https://ecr-fips.us-west-1.amazonaws.com", headers: {}, properties: {})
46
+ end
47
+ if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
48
+ return Aws::Endpoints::Endpoint.new(url: "https://ecr-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
49
+ end
50
+ if Aws::Endpoints::Matchers.string_equals?(region, "dkr-us-gov-east-1")
51
+ return Aws::Endpoints::Endpoint.new(url: "https://ecr-fips.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
52
+ end
53
+ if Aws::Endpoints::Matchers.string_equals?(region, "dkr-us-gov-west-1")
54
+ return Aws::Endpoints::Endpoint.new(url: "https://ecr-fips.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
55
+ end
56
+ if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
57
+ return Aws::Endpoints::Endpoint.new(url: "https://ecr-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
58
+ end
59
+ return Aws::Endpoints::Endpoint.new(url: "https://api.ecr-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
60
+ end
61
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
62
+ end
63
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
64
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
65
+ return Aws::Endpoints::Endpoint.new(url: "https://api.ecr.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
66
+ end
67
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
68
+ end
69
+ return Aws::Endpoints::Endpoint.new(url: "https://api.ecr.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
70
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
71
+ raise ArgumentError, 'No endpoint could be resolved'
24
72
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
73
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2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Vz
102
- LXdlc3QtMSJdfV0sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vZWNyLWZp
103
- cHMudXMtd2VzdC0xLmFtYXpvbmF3cy5jb20iLCJwcm9wZXJ0aWVzIjp7fSwi
104
- aGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifSx7ImNvbmRpdGlvbnMi
105
- Olt7ImZuIjoic3RyaW5nRXF1YWxzIiwiYXJndiI6WyJhd3MiLHsiZm4iOiJn
106
- ZXRBdHRyIiwiYXJndiI6W3sicmVmIjoiUGFydGl0aW9uUmVzdWx0In0sIm5h
107
- bWUiXX1dfV0sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vZWNyLWZpcHMu
108
- e1JlZ2lvbn0ue1BhcnRpdGlvblJlc3VsdCNkbnNTdWZmaXh9IiwicHJvcGVy
109
- dGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In0seyJj
110
- b25kaXRpb25zIjpbeyJmbiI6InN0cmluZ0VxdWFscyIsImFyZ3YiOlt7InJl
111
- ZiI6IlJlZ2lvbiJ9LCJka3ItdXMtZ292LWVhc3QtMSJdfV0sImVuZHBvaW50
112
- Ijp7InVybCI6Imh0dHBzOi8vZWNyLWZpcHMudXMtZ292LWVhc3QtMS5hbWF6
113
- b25hd3MuY29tIiwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlw
114
- ZSI6ImVuZHBvaW50In0seyJjb25kaXRpb25zIjpbeyJmbiI6InN0cmluZ0Vx
115
- dWFscyIsImFyZ3YiOlt7InJlZiI6IlJlZ2lvbiJ9LCJka3ItdXMtZ292LXdl
116
- c3QtMSJdfV0sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vZWNyLWZpcHMu
117
- dXMtZ292LXdlc3QtMS5hbWF6b25hd3MuY29tIiwicHJvcGVydGllcyI6e30s
118
- ImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In0seyJjb25kaXR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ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0
136
- dHBzOi8vYXBpLmVjci57UmVnaW9ufS57UGFydGl0aW9uUmVzdWx0I2R1YWxT
137
- dGFja0Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319
138
- LCJ0eXBlIjoiZW5kcG9pbnQifV19LHsiY29uZGl0aW9ucyI6W10sImVycm9y
139
- IjoiRHVhbFN0YWNrIGlzIGVuYWJsZWQgYnV0IHRoaXMgcGFydGl0aW9uIGRv
140
- ZXMgbm90IHN1cHBvcnQgRHVhbFN0YWNrIiwidHlwZSI6ImVycm9yIn1dfSx7
141
- ImNvbmRpdGlvbnMiOltdLCJlbmRwb2ludCI6eyJ1cmwiOiJodHRwczovL2Fw
142
- aS5lY3Iue1JlZ2lvbn0ue1BhcnRpdGlvblJlc3VsdCNkbnNTdWZmaXh9Iiwi
143
- cHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50
144
- In1dfV19
145
-
146
- JSON
147
74
  end
148
75
  end
@@ -110,15 +110,6 @@ module Aws::ECR
110
110
  include Aws::Structure
111
111
  end
112
112
 
113
- # @note When making an API call, you may pass BatchCheckLayerAvailabilityRequest
114
- # data as a hash:
115
- #
116
- # {
117
- # registry_id: "RegistryId",
118
- # repository_name: "RepositoryName", # required
119
- # layer_digests: ["BatchedOperationLayerDigest"], # required
120
- # }
121
- #
122
113
  # @!attribute [rw] registry_id
123
114
  # The Amazon Web Services account ID associated with the registry that
124
115
  # contains the image layers to check. If you do not specify a
@@ -165,20 +156,6 @@ module Aws::ECR
165
156
  # Deletes specified images within a specified repository. Images are
166
157
  # specified with either the `imageTag` or `imageDigest`.
167
158
  #
168
- # @note When making an API call, you may pass BatchDeleteImageRequest
169
- # data as a hash:
170
- #
171
- # {
172
- # registry_id: "RegistryId",
173
- # repository_name: "RepositoryName", # required
174
- # image_ids: [ # required
175
- # {
176
- # image_digest: "ImageDigest",
177
- # image_tag: "ImageTag",
178
- # },
179
- # ],
180
- # }
181
- #
182
159
  # @!attribute [rw] registry_id
183
160
  # The Amazon Web Services account ID associated with the registry that
184
161
  # contains the image to delete. If you do not specify a registry, the
@@ -222,21 +199,6 @@ module Aws::ECR
222
199
  include Aws::Structure
223
200
  end
224
201
 
225
- # @note When making an API call, you may pass BatchGetImageRequest
226
- # data as a hash:
227
- #
228
- # {
229
- # registry_id: "RegistryId",
230
- # repository_name: "RepositoryName", # required
231
- # image_ids: [ # required
232
- # {
233
- # image_digest: "ImageDigest",
234
- # image_tag: "ImageTag",
235
- # },
236
- # ],
237
- # accepted_media_types: ["MediaType"],
238
- # }
239
- #
240
202
  # @!attribute [rw] registry_id
241
203
  # The Amazon Web Services account ID associated with the registry that
242
204
  # contains the images to describe. If you do not specify a registry,
@@ -290,13 +252,6 @@ module Aws::ECR
290
252
  include Aws::Structure
291
253
  end
292
254
 
293
- # @note When making an API call, you may pass BatchGetRepositoryScanningConfigurationRequest
294
- # data as a hash:
295
- #
296
- # {
297
- # repository_names: ["RepositoryName"], # required
298
- # }
299
- #
300
255
  # @!attribute [rw] repository_names
301
256
  # One or more repository names to get the scanning configuration for.
302
257
  # @return [Array<String>]
@@ -326,16 +281,6 @@ module Aws::ECR
326
281
  include Aws::Structure
327
282
  end
328
283
 
329
- # @note When making an API call, you may pass CompleteLayerUploadRequest
330
- # data as a hash:
331
- #
332
- # {
333
- # registry_id: "RegistryId",
334
- # repository_name: "RepositoryName", # required
335
- # upload_id: "UploadId", # required
336
- # layer_digests: ["LayerDigest"], # required
337
- # }
338
- #
339
284
  # @!attribute [rw] registry_id
340
285
  # The Amazon Web Services account ID associated with the registry to
341
286
  # which to upload layers. If you do not specify a registry, the
@@ -393,15 +338,6 @@ module Aws::ECR
393
338
  include Aws::Structure
394
339
  end
395
340
 
396
- # @note When making an API call, you may pass CreatePullThroughCacheRuleRequest
397
- # data as a hash:
398
- #
399
- # {
400
- # ecr_repository_prefix: "PullThroughCacheRuleRepositoryPrefix", # required
401
- # upstream_registry_url: "Url", # required
402
- # registry_id: "RegistryId",
403
- # }
404
- #
405
341
  # @!attribute [rw] ecr_repository_prefix
406
342
  # The repository name prefix to use when caching images from the
407
343
  # source registry.
@@ -458,28 +394,6 @@ module Aws::ECR
458
394
  include Aws::Structure
459
395
  end
460
396
 
461
- # @note When making an API call, you may pass CreateRepositoryRequest
462
- # data as a hash:
463
- #
464
- # {
465
- # registry_id: "RegistryId",
466
- # repository_name: "RepositoryName", # required
467
- # tags: [
468
- # {
469
- # key: "TagKey",
470
- # value: "TagValue",
471
- # },
472
- # ],
473
- # image_tag_mutability: "MUTABLE", # accepts MUTABLE, IMMUTABLE
474
- # image_scanning_configuration: {
475
- # scan_on_push: false,
476
- # },
477
- # encryption_configuration: {
478
- # encryption_type: "AES256", # required, accepts AES256, KMS
479
- # kms_key: "KmsKey",
480
- # },
481
- # }
482
- #
483
397
  # @!attribute [rw] registry_id
484
398
  # The Amazon Web Services account ID associated with the registry to
485
399
  # create the repository. If you do not specify a registry, the default
@@ -629,14 +543,6 @@ module Aws::ECR
629
543
  include Aws::Structure
630
544
  end
631
545
 
632
- # @note When making an API call, you may pass DeleteLifecyclePolicyRequest
633
- # data as a hash:
634
- #
635
- # {
636
- # registry_id: "RegistryId",
637
- # repository_name: "RepositoryName", # required
638
- # }
639
- #
640
546
  # @!attribute [rw] registry_id
641
547
  # The Amazon Web Services account ID associated with the registry that
642
548
  # contains the repository. If you do not specify a registry, the
@@ -683,14 +589,6 @@ module Aws::ECR
683
589
  include Aws::Structure
684
590
  end
685
591
 
686
- # @note When making an API call, you may pass DeletePullThroughCacheRuleRequest
687
- # data as a hash:
688
- #
689
- # {
690
- # ecr_repository_prefix: "PullThroughCacheRuleRepositoryPrefix", # required
691
- # registry_id: "RegistryId",
692
- # }
693
- #
694
592
  # @!attribute [rw] ecr_repository_prefix
695
593
  # The Amazon ECR repository prefix associated with the pull through
696
594
  # cache rule to delete.
@@ -762,14 +660,6 @@ module Aws::ECR
762
660
  include Aws::Structure
763
661
  end
764
662
 
765
- # @note When making an API call, you may pass DeleteRepositoryPolicyRequest
766
- # data as a hash:
767
- #
768
- # {
769
- # registry_id: "RegistryId",
770
- # repository_name: "RepositoryName", # required
771
- # }
772
- #
773
663
  # @!attribute [rw] registry_id
774
664
  # The Amazon Web Services account ID associated with the registry that
775
665
  # contains the repository policy to delete. If you do not specify a
@@ -812,15 +702,6 @@ module Aws::ECR
812
702
  include Aws::Structure
813
703
  end
814
704
 
815
- # @note When making an API call, you may pass DeleteRepositoryRequest
816
- # data as a hash:
817
- #
818
- # {
819
- # registry_id: "RegistryId",
820
- # repository_name: "RepositoryName", # required
821
- # force: false,
822
- # }
823
- #
824
705
  # @!attribute [rw] registry_id
825
706
  # The Amazon Web Services account ID associated with the registry that
826
707
  # contains the repository to delete. If you do not specify a registry,
@@ -857,18 +738,6 @@ module Aws::ECR
857
738
  include Aws::Structure
858
739
  end
859
740
 
860
- # @note When making an API call, you may pass DescribeImageReplicationStatusRequest
861
- # data as a hash:
862
- #
863
- # {
864
- # repository_name: "RepositoryName", # required
865
- # image_id: { # required
866
- # image_digest: "ImageDigest",
867
- # image_tag: "ImageTag",
868
- # },
869
- # registry_id: "RegistryId",
870
- # }
871
- #
872
741
  # @!attribute [rw] repository_name
873
742
  # The name of the repository that the image is in.
874
743
  # @return [String]
@@ -917,20 +786,6 @@ module Aws::ECR
917
786
  include Aws::Structure
918
787
  end
919
788
 
920
- # @note When making an API call, you may pass DescribeImageScanFindingsRequest
921
- # data as a hash:
922
- #
923
- # {
924
- # registry_id: "RegistryId",
925
- # repository_name: "RepositoryName", # required
926
- # image_id: { # required
927
- # image_digest: "ImageDigest",
928
- # image_tag: "ImageTag",
929
- # },
930
- # next_token: "NextToken",
931
- # max_results: 1,
932
- # }
933
- #
934
789
  # @!attribute [rw] registry_id
935
790
  # The Amazon Web Services account ID associated with the registry that
936
791
  # contains the repository in which to describe the image scan findings
@@ -1025,13 +880,6 @@ module Aws::ECR
1025
880
 
1026
881
  # An object representing a filter on a DescribeImages operation.
1027
882
  #
1028
- # @note When making an API call, you may pass DescribeImagesFilter
1029
- # data as a hash:
1030
- #
1031
- # {
1032
- # tag_status: "TAGGED", # accepts TAGGED, UNTAGGED, ANY
1033
- # }
1034
- #
1035
883
  # @!attribute [rw] tag_status
1036
884
  # The tag status with which to filter your DescribeImages results. You
1037
885
  # can filter results based on whether they are `TAGGED` or `UNTAGGED`.
@@ -1045,25 +893,6 @@ module Aws::ECR
1045
893
  include Aws::Structure
1046
894
  end
1047
895
 
1048
- # @note When making an API call, you may pass DescribeImagesRequest
1049
- # data as a hash:
1050
- #
1051
- # {
1052
- # registry_id: "RegistryId",
1053
- # repository_name: "RepositoryName", # required
1054
- # image_ids: [
1055
- # {
1056
- # image_digest: "ImageDigest",
1057
- # image_tag: "ImageTag",
1058
- # },
1059
- # ],
1060
- # next_token: "NextToken",
1061
- # max_results: 1,
1062
- # filter: {
1063
- # tag_status: "TAGGED", # accepts TAGGED, UNTAGGED, ANY
1064
- # },
1065
- # }
1066
- #
1067
896
  # @!attribute [rw] registry_id
1068
897
  # The Amazon Web Services account ID associated with the registry that
1069
898
  # contains the repository in which to describe images. If you do not
@@ -1139,16 +968,6 @@ module Aws::ECR
1139
968
  include Aws::Structure
1140
969
  end
1141
970
 
1142
- # @note When making an API call, you may pass DescribePullThroughCacheRulesRequest
1143
- # data as a hash:
1144
- #
1145
- # {
1146
- # registry_id: "RegistryId",
1147
- # ecr_repository_prefixes: ["PullThroughCacheRuleRepositoryPrefix"],
1148
- # next_token: "NextToken",
1149
- # max_results: 1,
1150
- # }
1151
- #
1152
971
  # @!attribute [rw] registry_id
1153
972
  # The Amazon Web Services account ID associated with the registry to
1154
973
  # return the pull through cache rules for. If you do not specify a
@@ -1239,16 +1058,6 @@ module Aws::ECR
1239
1058
  include Aws::Structure
1240
1059
  end
1241
1060
 
1242
- # @note When making an API call, you may pass DescribeRepositoriesRequest
1243
- # data as a hash:
1244
- #
1245
- # {
1246
- # registry_id: "RegistryId",
1247
- # repository_names: ["RepositoryName"],
1248
- # next_token: "NextToken",
1249
- # max_results: 1,
1250
- # }
1251
- #
1252
1061
  # @!attribute [rw] registry_id
1253
1062
  # The Amazon Web Services account ID associated with the registry that
1254
1063
  # contains the repositories to be described. If you do not specify a
@@ -1354,14 +1163,6 @@ module Aws::ECR
1354
1163
  #
1355
1164
  # [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html
1356
1165
  #
1357
- # @note When making an API call, you may pass EncryptionConfiguration
1358
- # data as a hash:
1359
- #
1360
- # {
1361
- # encryption_type: "AES256", # required, accepts AES256, KMS
1362
- # kms_key: "KmsKey",
1363
- # }
1364
- #
1365
1166
  # @!attribute [rw] encryption_type
1366
1167
  # The encryption type to use.
1367
1168
  #
@@ -1492,13 +1293,6 @@ module Aws::ECR
1492
1293
  include Aws::Structure
1493
1294
  end
1494
1295
 
1495
- # @note When making an API call, you may pass GetAuthorizationTokenRequest
1496
- # data as a hash:
1497
- #
1498
- # {
1499
- # registry_ids: ["RegistryId"],
1500
- # }
1501
- #
1502
1296
  # @!attribute [rw] registry_ids
1503
1297
  # A list of Amazon Web Services account IDs that are associated with
1504
1298
  # the registries for which to get AuthorizationData objects. If you do
@@ -1526,15 +1320,6 @@ module Aws::ECR
1526
1320
  include Aws::Structure
1527
1321
  end
1528
1322
 
1529
- # @note When making an API call, you may pass GetDownloadUrlForLayerRequest
1530
- # data as a hash:
1531
- #
1532
- # {
1533
- # registry_id: "RegistryId",
1534
- # repository_name: "RepositoryName", # required
1535
- # layer_digest: "LayerDigest", # required
1536
- # }
1537
- #
1538
1323
  # @!attribute [rw] registry_id
1539
1324
  # The Amazon Web Services account ID associated with the registry that
1540
1325
  # contains the image layer to download. If you do not specify a
@@ -1577,25 +1362,6 @@ module Aws::ECR
1577
1362
  include Aws::Structure
1578
1363
  end
1579
1364
 
1580
- # @note When making an API call, you may pass GetLifecyclePolicyPreviewRequest
1581
- # data as a hash:
1582
- #
1583
- # {
1584
- # registry_id: "RegistryId",
1585
- # repository_name: "RepositoryName", # required
1586
- # image_ids: [
1587
- # {
1588
- # image_digest: "ImageDigest",
1589
- # image_tag: "ImageTag",
1590
- # },
1591
- # ],
1592
- # next_token: "NextToken",
1593
- # max_results: 1,
1594
- # filter: {
1595
- # tag_status: "TAGGED", # accepts TAGGED, UNTAGGED, ANY
1596
- # },
1597
- # }
1598
- #
1599
1365
  # @!attribute [rw] registry_id
1600
1366
  # The Amazon Web Services account ID associated with the registry that
1601
1367
  # contains the repository. If you do not specify a registry, the
@@ -1698,14 +1464,6 @@ module Aws::ECR
1698
1464
  include Aws::Structure
1699
1465
  end
1700
1466
 
1701
- # @note When making an API call, you may pass GetLifecyclePolicyRequest
1702
- # data as a hash:
1703
- #
1704
- # {
1705
- # registry_id: "RegistryId",
1706
- # repository_name: "RepositoryName", # required
1707
- # }
1708
- #
1709
1467
  # @!attribute [rw] registry_id
1710
1468
  # The Amazon Web Services account ID associated with the registry that
1711
1469
  # contains the repository. If you do not specify a registry, the
@@ -1798,14 +1556,6 @@ module Aws::ECR
1798
1556
  include Aws::Structure
1799
1557
  end
1800
1558
 
1801
- # @note When making an API call, you may pass GetRepositoryPolicyRequest
1802
- # data as a hash:
1803
- #
1804
- # {
1805
- # registry_id: "RegistryId",
1806
- # repository_name: "RepositoryName", # required
1807
- # }
1808
- #
1809
1559
  # @!attribute [rw] registry_id
1810
1560
  # The Amazon Web Services account ID associated with the registry that
1811
1561
  # contains the repository. If you do not specify a registry, the
@@ -2028,14 +1778,6 @@ module Aws::ECR
2028
1778
  # An object with identifying information for an image in an Amazon ECR
2029
1779
  # repository.
2030
1780
  #
2031
- # @note When making an API call, you may pass ImageIdentifier
2032
- # data as a hash:
2033
- #
2034
- # {
2035
- # image_digest: "ImageDigest",
2036
- # image_tag: "ImageTag",
2037
- # }
2038
- #
2039
1781
  # @!attribute [rw] image_digest
2040
1782
  # The `sha256` digest of the image manifest.
2041
1783
  # @return [String]
@@ -2211,13 +1953,6 @@ module Aws::ECR
2211
1953
 
2212
1954
  # The image scanning configuration for a repository.
2213
1955
  #
2214
- # @note When making an API call, you may pass ImageScanningConfiguration
2215
- # data as a hash:
2216
- #
2217
- # {
2218
- # scan_on_push: false,
2219
- # }
2220
- #
2221
1956
  # @!attribute [rw] scan_on_push
2222
1957
  # The setting that determines whether images are scanned after being
2223
1958
  # pushed to a repository. If set to `true`, images will be scanned
@@ -2252,14 +1987,6 @@ module Aws::ECR
2252
1987
  include Aws::Structure
2253
1988
  end
2254
1989
 
2255
- # @note When making an API call, you may pass InitiateLayerUploadRequest
2256
- # data as a hash:
2257
- #
2258
- # {
2259
- # registry_id: "RegistryId",
2260
- # repository_name: "RepositoryName", # required
2261
- # }
2262
- #
2263
1990
  # @!attribute [rw] registry_id
2264
1991
  # The Amazon Web Services account ID associated with the registry to
2265
1992
  # which you intend to upload layers. If you do not specify a registry,
@@ -2526,13 +2253,6 @@ module Aws::ECR
2526
2253
 
2527
2254
  # The filter for the lifecycle policy preview.
2528
2255
  #
2529
- # @note When making an API call, you may pass LifecyclePolicyPreviewFilter
2530
- # data as a hash:
2531
- #
2532
- # {
2533
- # tag_status: "TAGGED", # accepts TAGGED, UNTAGGED, ANY
2534
- # }
2535
- #
2536
2256
  # @!attribute [rw] tag_status
2537
2257
  # The tag status of the image.
2538
2258
  # @return [String]
@@ -2657,13 +2377,6 @@ module Aws::ECR
2657
2377
 
2658
2378
  # An object representing a filter on a ListImages operation.
2659
2379
  #
2660
- # @note When making an API call, you may pass ListImagesFilter
2661
- # data as a hash:
2662
- #
2663
- # {
2664
- # tag_status: "TAGGED", # accepts TAGGED, UNTAGGED, ANY
2665
- # }
2666
- #
2667
2380
  # @!attribute [rw] tag_status
2668
2381
  # The tag status with which to filter your ListImages results. You can
2669
2382
  # filter results based on whether they are `TAGGED` or `UNTAGGED`.
@@ -2677,19 +2390,6 @@ module Aws::ECR
2677
2390
  include Aws::Structure
2678
2391
  end
2679
2392
 
2680
- # @note When making an API call, you may pass ListImagesRequest
2681
- # data as a hash:
2682
- #
2683
- # {
2684
- # registry_id: "RegistryId",
2685
- # repository_name: "RepositoryName", # required
2686
- # next_token: "NextToken",
2687
- # max_results: 1,
2688
- # filter: {
2689
- # tag_status: "TAGGED", # accepts TAGGED, UNTAGGED, ANY
2690
- # },
2691
- # }
2692
- #
2693
2393
  # @!attribute [rw] registry_id
2694
2394
  # The Amazon Web Services account ID associated with the registry that
2695
2395
  # contains the repository in which to list images. If you do not
@@ -2762,13 +2462,6 @@ module Aws::ECR
2762
2462
  include Aws::Structure
2763
2463
  end
2764
2464
 
2765
- # @note When making an API call, you may pass ListTagsForResourceRequest
2766
- # data as a hash:
2767
- #
2768
- # {
2769
- # resource_arn: "Arn", # required
2770
- # }
2771
- #
2772
2465
  # @!attribute [rw] resource_arn
2773
2466
  # The Amazon Resource Name (ARN) that identifies the resource for
2774
2467
  # which to list the tags. Currently, the only supported resource is an
@@ -2917,18 +2610,6 @@ module Aws::ECR
2917
2610
  include Aws::Structure
2918
2611
  end
2919
2612
 
2920
- # @note When making an API call, you may pass PutImageRequest
2921
- # data as a hash:
2922
- #
2923
- # {
2924
- # registry_id: "RegistryId",
2925
- # repository_name: "RepositoryName", # required
2926
- # image_manifest: "ImageManifest", # required
2927
- # image_manifest_media_type: "MediaType",
2928
- # image_tag: "ImageTag",
2929
- # image_digest: "ImageDigest",
2930
- # }
2931
- #
2932
2613
  # @!attribute [rw] registry_id
2933
2614
  # The Amazon Web Services account ID associated with the registry that
2934
2615
  # contains the repository in which to put the image. If you do not
@@ -2984,17 +2665,6 @@ module Aws::ECR
2984
2665
  include Aws::Structure
2985
2666
  end
2986
2667
 
2987
- # @note When making an API call, you may pass PutImageScanningConfigurationRequest
2988
- # data as a hash:
2989
- #
2990
- # {
2991
- # registry_id: "RegistryId",
2992
- # repository_name: "RepositoryName", # required
2993
- # image_scanning_configuration: { # required
2994
- # scan_on_push: false,
2995
- # },
2996
- # }
2997
- #
2998
2668
  # @!attribute [rw] registry_id
2999
2669
  # The Amazon Web Services account ID associated with the registry that
3000
2670
  # contains the repository in which to update the image scanning
@@ -3045,15 +2715,6 @@ module Aws::ECR
3045
2715
  include Aws::Structure
3046
2716
  end
3047
2717
 
3048
- # @note When making an API call, you may pass PutImageTagMutabilityRequest
3049
- # data as a hash:
3050
- #
3051
- # {
3052
- # registry_id: "RegistryId",
3053
- # repository_name: "RepositoryName", # required
3054
- # image_tag_mutability: "MUTABLE", # required, accepts MUTABLE, IMMUTABLE
3055
- # }
3056
- #
3057
2718
  # @!attribute [rw] registry_id
3058
2719
  # The Amazon Web Services account ID associated with the registry that
3059
2720
  # contains the repository in which to update the image tag mutability
@@ -3105,15 +2766,6 @@ module Aws::ECR
3105
2766
  include Aws::Structure
3106
2767
  end
3107
2768
 
3108
- # @note When making an API call, you may pass PutLifecyclePolicyRequest
3109
- # data as a hash:
3110
- #
3111
- # {
3112
- # registry_id: "RegistryId",
3113
- # repository_name: "RepositoryName", # required
3114
- # lifecycle_policy_text: "LifecyclePolicyText", # required
3115
- # }
3116
- #
3117
2769
  # @!attribute [rw] registry_id
3118
2770
  # The Amazon Web Services account ID associated with the registry that
3119
2771
  # contains the repository. If you do
 not specify a registry, the
@@ -3160,13 +2812,6 @@ module Aws::ECR
3160
2812
  include Aws::Structure
3161
2813
  end
3162
2814
 
3163
- # @note When making an API call, you may pass PutRegistryPolicyRequest
3164
- # data as a hash:
3165
- #
3166
- # {
3167
- # policy_text: "RegistryPolicyText", # required
3168
- # }
3169
- #
3170
2815
  # @!attribute [rw] policy_text
3171
2816
  # The JSON policy text to apply to your registry. The policy text
3172
2817
  # follows the same format as IAM policy text. For more information,
@@ -3203,24 +2848,6 @@ module Aws::ECR
3203
2848
  include Aws::Structure
3204
2849
  end
3205
2850
 
3206
- # @note When making an API call, you may pass PutRegistryScanningConfigurationRequest
3207
- # data as a hash:
3208
- #
3209
- # {
3210
- # scan_type: "BASIC", # accepts BASIC, ENHANCED
3211
- # rules: [
3212
- # {
3213
- # scan_frequency: "SCAN_ON_PUSH", # required, accepts SCAN_ON_PUSH, CONTINUOUS_SCAN, MANUAL
3214
- # repository_filters: [ # required
3215
- # {
3216
- # filter: "ScanningRepositoryFilterValue", # required
3217
- # filter_type: "WILDCARD", # required, accepts WILDCARD
3218
- # },
3219
- # ],
3220
- # },
3221
- # ],
3222
- # }
3223
- #
3224
2851
  # @!attribute [rw] scan_type
3225
2852
  # The scanning type to set for the registry.
3226
2853
  #
@@ -3264,30 +2891,6 @@ module Aws::ECR
3264
2891
  include Aws::Structure
3265
2892
  end
3266
2893
 
3267
- # @note When making an API call, you may pass PutReplicationConfigurationRequest
3268
- # data as a hash:
3269
- #
3270
- # {
3271
- # replication_configuration: { # required
3272
- # rules: [ # required
3273
- # {
3274
- # destinations: [ # required
3275
- # {
3276
- # region: "Region", # required
3277
- # registry_id: "RegistryId", # required
3278
- # },
3279
- # ],
3280
- # repository_filters: [
3281
- # {
3282
- # filter: "RepositoryFilterValue", # required
3283
- # filter_type: "PREFIX_MATCH", # required, accepts PREFIX_MATCH
3284
- # },
3285
- # ],
3286
- # },
3287
- # ],
3288
- # },
3289
- # }
3290
- #
3291
2894
  # @!attribute [rw] replication_configuration
3292
2895
  # An object representing the replication configuration for a registry.
3293
2896
  # @return [Types::ReplicationConfiguration]
@@ -3379,19 +2982,6 @@ module Aws::ECR
3379
2982
 
3380
2983
  # The details of a scanning rule for a private registry.
3381
2984
  #
3382
- # @note When making an API call, you may pass RegistryScanningRule
3383
- # data as a hash:
3384
- #
3385
- # {
3386
- # scan_frequency: "SCAN_ON_PUSH", # required, accepts SCAN_ON_PUSH, CONTINUOUS_SCAN, MANUAL
3387
- # repository_filters: [ # required
3388
- # {
3389
- # filter: "ScanningRepositoryFilterValue", # required
3390
- # filter_type: "WILDCARD", # required, accepts WILDCARD
3391
- # },
3392
- # ],
3393
- # }
3394
- #
3395
2985
  # @!attribute [rw] scan_frequency
3396
2986
  # The frequency that scans are performed at for a private registry.
3397
2987
  # When the `ENHANCED` scan type is specified, the supported scan
@@ -3431,28 +3021,6 @@ module Aws::ECR
3431
3021
 
3432
3022
  # The replication configuration for a registry.
3433
3023
  #
3434
- # @note When making an API call, you may pass ReplicationConfiguration
3435
- # data as a hash:
3436
- #
3437
- # {
3438
- # rules: [ # required
3439
- # {
3440
- # destinations: [ # required
3441
- # {
3442
- # region: "Region", # required
3443
- # registry_id: "RegistryId", # required
3444
- # },
3445
- # ],
3446
- # repository_filters: [
3447
- # {
3448
- # filter: "RepositoryFilterValue", # required
3449
- # filter_type: "PREFIX_MATCH", # required, accepts PREFIX_MATCH
3450
- # },
3451
- # ],
3452
- # },
3453
- # ],
3454
- # }
3455
- #
3456
3024
  # @!attribute [rw] rules
3457
3025
  # An array of objects representing the replication destinations and
3458
3026
  # repository filters for a replication configuration.
@@ -3469,14 +3037,6 @@ module Aws::ECR
3469
3037
  # An array of objects representing the destination for a replication
3470
3038
  # rule.
3471
3039
  #
3472
- # @note When making an API call, you may pass ReplicationDestination
3473
- # data as a hash:
3474
- #
3475
- # {
3476
- # region: "Region", # required
3477
- # registry_id: "RegistryId", # required
3478
- # }
3479
- #
3480
3040
  # @!attribute [rw] region
3481
3041
  # The Region to replicate to.
3482
3042
  # @return [String]
@@ -3499,24 +3059,6 @@ module Aws::ECR
3499
3059
  # An array of objects representing the replication destinations and
3500
3060
  # repository filters for a replication configuration.
3501
3061
  #
3502
- # @note When making an API call, you may pass ReplicationRule
3503
- # data as a hash:
3504
- #
3505
- # {
3506
- # destinations: [ # required
3507
- # {
3508
- # region: "Region", # required
3509
- # registry_id: "RegistryId", # required
3510
- # },
3511
- # ],
3512
- # repository_filters: [
3513
- # {
3514
- # filter: "RepositoryFilterValue", # required
3515
- # filter_type: "PREFIX_MATCH", # required, accepts PREFIX_MATCH
3516
- # },
3517
- # ],
3518
- # }
3519
- #
3520
3062
  # @!attribute [rw] destinations
3521
3063
  # An array of objects representing the destination for a replication
3522
3064
  # rule.
@@ -3615,14 +3157,6 @@ module Aws::ECR
3615
3157
  # If no repository filter is specified, all images in the repository are
3616
3158
  # replicated.
3617
3159
  #
3618
- # @note When making an API call, you may pass RepositoryFilter
3619
- # data as a hash:
3620
- #
3621
- # {
3622
- # filter: "RepositoryFilterValue", # required
3623
- # filter_type: "PREFIX_MATCH", # required, accepts PREFIX_MATCH
3624
- # }
3625
- #
3626
3160
  # @!attribute [rw] filter
3627
3161
  # The repository filter details. When the `PREFIX_MATCH` filter type
3628
3162
  # is specified, this value is required and should be the repository
@@ -3817,14 +3351,6 @@ module Aws::ECR
3817
3351
  #
3818
3352
  # [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html#image-scanning-filters
3819
3353
  #
3820
- # @note When making an API call, you may pass ScanningRepositoryFilter
3821
- # data as a hash:
3822
- #
3823
- # {
3824
- # filter: "ScanningRepositoryFilterValue", # required
3825
- # filter_type: "WILDCARD", # required, accepts WILDCARD
3826
- # }
3827
- #
3828
3354
  # @!attribute [rw] filter
3829
3355
  # The filter to use when scanning.
3830
3356
  # @return [String]
@@ -3871,16 +3397,6 @@ module Aws::ECR
3871
3397
  include Aws::Structure
3872
3398
  end
3873
3399
 
3874
- # @note When making an API call, you may pass SetRepositoryPolicyRequest
3875
- # data as a hash:
3876
- #
3877
- # {
3878
- # registry_id: "RegistryId",
3879
- # repository_name: "RepositoryName", # required
3880
- # policy_text: "RepositoryPolicyText", # required
3881
- # force: false,
3882
- # }
3883
- #
3884
3400
  # @!attribute [rw] registry_id
3885
3401
  # The Amazon Web Services account ID associated with the registry that
3886
3402
  # contains the repository. If you do not specify a registry, the
@@ -3941,18 +3457,6 @@ module Aws::ECR
3941
3457
  include Aws::Structure
3942
3458
  end
3943
3459
 
3944
- # @note When making an API call, you may pass StartImageScanRequest
3945
- # data as a hash:
3946
- #
3947
- # {
3948
- # registry_id: "RegistryId",
3949
- # repository_name: "RepositoryName", # required
3950
- # image_id: { # required
3951
- # image_digest: "ImageDigest",
3952
- # image_tag: "ImageTag",
3953
- # },
3954
- # }
3955
- #
3956
3460
  # @!attribute [rw] registry_id
3957
3461
  # The Amazon Web Services account ID associated with the registry that
3958
3462
  # contains the repository in which to start an image scan request. If
@@ -4006,15 +3510,6 @@ module Aws::ECR
4006
3510
  include Aws::Structure
4007
3511
  end
4008
3512
 
4009
- # @note When making an API call, you may pass StartLifecyclePolicyPreviewRequest
4010
- # data as a hash:
4011
- #
4012
- # {
4013
- # registry_id: "RegistryId",
4014
- # repository_name: "RepositoryName", # required
4015
- # lifecycle_policy_text: "LifecyclePolicyText",
4016
- # }
4017
- #
4018
3513
  # @!attribute [rw] registry_id
4019
3514
  # The Amazon Web Services account ID associated with the registry that
4020
3515
  # contains the repository. If you do not specify a registry, the
@@ -4073,14 +3568,6 @@ module Aws::ECR
4073
3568
  # characters, and tag values can have a maximum length of 256
4074
3569
  # characters.
4075
3570
  #
4076
- # @note When making an API call, you may pass Tag
4077
- # data as a hash:
4078
- #
4079
- # {
4080
- # key: "TagKey",
4081
- # value: "TagValue",
4082
- # }
4083
- #
4084
3571
  # @!attribute [rw] key
4085
3572
  # One part of a key-value pair that make up a tag. A `key` is a
4086
3573
  # general label that acts like a category for more specific tag
@@ -4100,19 +3587,6 @@ module Aws::ECR
4100
3587
  include Aws::Structure
4101
3588
  end
4102
3589
 
4103
- # @note When making an API call, you may pass TagResourceRequest
4104
- # data as a hash:
4105
- #
4106
- # {
4107
- # resource_arn: "Arn", # required
4108
- # tags: [ # required
4109
- # {
4110
- # key: "TagKey",
4111
- # value: "TagValue",
4112
- # },
4113
- # ],
4114
- # }
4115
- #
4116
3590
  # @!attribute [rw] resource_arn
4117
3591
  # The Amazon Resource Name (ARN) of the the resource to which to add
4118
3592
  # tags. Currently, the only supported resource is an Amazon ECR
@@ -4179,14 +3653,6 @@ module Aws::ECR
4179
3653
  include Aws::Structure
4180
3654
  end
4181
3655
 
4182
- # @note When making an API call, you may pass UntagResourceRequest
4183
- # data as a hash:
4184
- #
4185
- # {
4186
- # resource_arn: "Arn", # required
4187
- # tag_keys: ["TagKey"], # required
4188
- # }
4189
- #
4190
3656
  # @!attribute [rw] resource_arn
4191
3657
  # The Amazon Resource Name (ARN) of the resource from which to remove
4192
3658
  # tags. Currently, the only supported resource is an Amazon ECR
@@ -4210,18 +3676,6 @@ module Aws::ECR
4210
3676
  #
4211
3677
  class UntagResourceResponse < Aws::EmptyStructure; end
4212
3678
 
4213
- # @note When making an API call, you may pass UploadLayerPartRequest
4214
- # data as a hash:
4215
- #
4216
- # {
4217
- # registry_id: "RegistryId",
4218
- # repository_name: "RepositoryName", # required
4219
- # upload_id: "UploadId", # required
4220
- # part_first_byte: 1, # required
4221
- # part_last_byte: 1, # required
4222
- # layer_part_blob: "data", # required
4223
- # }
4224
- #
4225
3679
  # @!attribute [rw] registry_id
4226
3680
  # The Amazon Web Services account ID associated with the registry to
4227
3681
  # which you are uploading layer parts. If you do not specify a
data/lib/aws-sdk-ecr.rb CHANGED
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-ecr/customizations'
53
53
  # @!group service
54
54
  module Aws::ECR
55
55
 
56
- GEM_VERSION = '1.57.0'
56
+ GEM_VERSION = '1.58.0'
57
57
 
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ecr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.57.0
4
+ version: 1.58.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core