aws-sdk-ecr 1.69.0 → 1.71.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: 19b60451c62bc64ac42f717d3f8b6c9c17cd739bdedbf6fe75d5a10c3a15cc7c
4
- data.tar.gz: e751f84201eff03185b19bae611480c77a9fe715b57c8fe551702c51c3ef3681
3
+ metadata.gz: 65f69d14ed1e0c1c73df15041228487a2d1ab167f12870afdfa54ef3bba9edba
4
+ data.tar.gz: ec0f809f90ce528c4128ddb9df958e6a14d19b4d7001bd53afada9368cf1e17f
5
5
  SHA512:
6
- metadata.gz: c7509e1631e8c98d1539bffb0c45f5173a04d7233b196e7606622571577d2d3074b97f00aeeb8dd48075a888e66cd2af0b9bd61e92294b128a033ab86c1954c1
7
- data.tar.gz: 120bb3fa52619a9d6e6cca96b0ceb1e7e1f993d7e7cddb070f3124e241a6be7ed861996eaf64ac9912e42ace5dc3f2dc2daa0486ca6c5f4f0f7397aaaa762f6a
6
+ metadata.gz: eefdac7431195a08b855417334e86209992fa3557cff698b87714ab02b0ec40c3bc580fa959c39bbe7a0df0893ee7947d8fd7cf0dff3f8dbbb1064b953523978
7
+ data.tar.gz: 7612cc31a285591527be30c3d63935a8ad782664896cd22b446c42229d68109956dc3a370c8887506972ef9c07221fabb34a4656d778e420c450e48d8ec7cece
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.71.0 (2024-05-08)
5
+ ------------------
6
+
7
+ * Feature - This release adds pull through cache rules support for GitLab container registry in Amazon ECR.
8
+
9
+ 1.70.0 (2024-04-25)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.69.0 (2024-01-26)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.69.0
1
+ 1.71.0
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
22
  require 'aws-sdk-core/plugins/response_paging.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
25
26
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
27
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
28
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
@@ -72,6 +73,7 @@ module Aws::ECR
72
73
  add_plugin(Aws::Plugins::ResponsePaging)
73
74
  add_plugin(Aws::Plugins::StubResponses)
74
75
  add_plugin(Aws::Plugins::IdempotencyToken)
76
+ add_plugin(Aws::Plugins::InvocationId)
75
77
  add_plugin(Aws::Plugins::JsonvalueConverter)
76
78
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
77
79
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
@@ -196,10 +198,17 @@ module Aws::ECR
196
198
  # When set to 'true' the request body will not be compressed
197
199
  # for supported operations.
198
200
  #
199
- # @option options [String] :endpoint
200
- # The client endpoint is normally constructed from the `:region`
201
- # option. You should only configure an `:endpoint` when connecting
202
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
201
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
202
+ # Normally you should not configure the `:endpoint` option
203
+ # directly. This is normally constructed from the `:region`
204
+ # option. Configuring `:endpoint` is normally reserved for
205
+ # connecting to test or custom endpoints. The endpoint should
206
+ # be a URI formatted like:
207
+ #
208
+ # 'http://example.com'
209
+ # 'https://example.com'
210
+ # 'http://example.com:123'
211
+ #
203
212
  #
204
213
  # @option options [Integer] :endpoint_cache_max_entries (1000)
205
214
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -347,50 +356,65 @@ module Aws::ECR
347
356
  # @option options [Aws::ECR::EndpointProvider] :endpoint_provider
348
357
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::ECR::EndpointParameters`
349
358
  #
350
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
351
- # requests through. Formatted like 'http://proxy.com:123'.
352
- #
353
- # @option options [Float] :http_open_timeout (15) The number of
354
- # seconds to wait when opening a HTTP session before raising a
355
- # `Timeout::Error`.
356
- #
357
- # @option options [Float] :http_read_timeout (60) The default
358
- # number of seconds to wait for response data. This value can
359
- # safely be set per-request on the session.
360
- #
361
- # @option options [Float] :http_idle_timeout (5) The number of
362
- # seconds a connection is allowed to sit idle before it is
363
- # considered stale. Stale connections are closed and removed
364
- # from the pool before making a request.
365
- #
366
- # @option options [Float] :http_continue_timeout (1) The number of
367
- # seconds to wait for a 100-continue response before sending the
368
- # request body. This option has no effect unless the request has
369
- # "Expect" header set to "100-continue". Defaults to `nil` which
370
- # disables this behaviour. This value can safely be set per
371
- # request on the session.
372
- #
373
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
374
- # in seconds.
375
- #
376
- # @option options [Boolean] :http_wire_trace (false) When `true`,
377
- # HTTP debug output will be sent to the `:logger`.
359
+ # @option options [Float] :http_continue_timeout (1)
360
+ # The number of seconds to wait for a 100-continue response before sending the
361
+ # request body. This option has no effect unless the request has "Expect"
362
+ # header set to "100-continue". Defaults to `nil` which disables this
363
+ # behaviour. This value can safely be set per request on the session.
364
+ #
365
+ # @option options [Float] :http_idle_timeout (5)
366
+ # The number of seconds a connection is allowed to sit idle before it
367
+ # is considered stale. Stale connections are closed and removed from the
368
+ # pool before making a request.
369
+ #
370
+ # @option options [Float] :http_open_timeout (15)
371
+ # The default number of seconds to wait for response data.
372
+ # This value can safely be set per-request on the session.
373
+ #
374
+ # @option options [URI::HTTP,String] :http_proxy
375
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
376
+ #
377
+ # @option options [Float] :http_read_timeout (60)
378
+ # The default number of seconds to wait for response data.
379
+ # This value can safely be set per-request on the session.
380
+ #
381
+ # @option options [Boolean] :http_wire_trace (false)
382
+ # When `true`, HTTP debug output will be sent to the `:logger`.
383
+ #
384
+ # @option options [Proc] :on_chunk_received
385
+ # When a Proc object is provided, it will be used as callback when each chunk
386
+ # of the response body is received. It provides three arguments: the chunk,
387
+ # the number of bytes received, and the total number of
388
+ # bytes in the response (or nil if the server did not send a `content-length`).
389
+ #
390
+ # @option options [Proc] :on_chunk_sent
391
+ # When a Proc object is provided, it will be used as callback when each chunk
392
+ # of the request body is sent. It provides three arguments: the chunk,
393
+ # the number of bytes read from the body, and the total number of
394
+ # bytes in the body.
395
+ #
396
+ # @option options [Boolean] :raise_response_errors (true)
397
+ # When `true`, response errors are raised.
398
+ #
399
+ # @option options [String] :ssl_ca_bundle
400
+ # Full path to the SSL certificate authority bundle file that should be used when
401
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
402
+ # `:ssl_ca_directory` the the system default will be used if available.
403
+ #
404
+ # @option options [String] :ssl_ca_directory
405
+ # Full path of the directory that contains the unbundled SSL certificate
406
+ # authority files for verifying peer certificates. If you do
407
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
408
+ # default will be used if available.
378
409
  #
379
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
380
- # SSL peer certificates are verified when establishing a
381
- # connection.
410
+ # @option options [String] :ssl_ca_store
411
+ # Sets the X509::Store to verify peer certificate.
382
412
  #
383
- # @option options [String] :ssl_ca_bundle Full path to the SSL
384
- # certificate authority bundle file that should be used when
385
- # verifying peer certificates. If you do not pass
386
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
387
- # will be used if available.
413
+ # @option options [Float] :ssl_timeout
414
+ # Sets the SSL timeout in seconds
388
415
  #
389
- # @option options [String] :ssl_ca_directory Full path of the
390
- # directory that contains the unbundled SSL certificate
391
- # authority files for verifying peer certificates. If you do
392
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
393
- # system default will be used if available.
416
+ # @option options [Boolean] :ssl_verify_peer (true)
417
+ # When `true`, SSL peer certificates are verified when establishing a connection.
394
418
  #
395
419
  def initialize(*args)
396
420
  super
@@ -777,6 +801,9 @@ module Aws::ECR
777
801
  # * Microsoft Azure Container Registry (`azure-container-registry`) -
778
802
  # `<custom>.azurecr.io`
779
803
  #
804
+ # * GitLab Container Registry (`gitlab-container-registry`) -
805
+ # `registry.gitlab.com`
806
+ #
780
807
  # @option params [String] :registry_id
781
808
  # The Amazon Web Services account ID associated with the registry to
782
809
  # create the pull through cache rule for. If you do not specify a
@@ -805,7 +832,7 @@ module Aws::ECR
805
832
  # ecr_repository_prefix: "PullThroughCacheRuleRepositoryPrefix", # required
806
833
  # upstream_registry_url: "Url", # required
807
834
  # registry_id: "RegistryId",
808
- # upstream_registry: "ecr-public", # accepts ecr-public, quay, k8s, docker-hub, github-container-registry, azure-container-registry
835
+ # upstream_registry: "ecr-public", # accepts ecr-public, quay, k8s, docker-hub, github-container-registry, azure-container-registry, gitlab-container-registry
809
836
  # credential_arn: "CredentialArn",
810
837
  # })
811
838
  #
@@ -815,7 +842,7 @@ module Aws::ECR
815
842
  # resp.upstream_registry_url #=> String
816
843
  # resp.created_at #=> Time
817
844
  # resp.registry_id #=> String
818
- # resp.upstream_registry #=> String, one of "ecr-public", "quay", "k8s", "docker-hub", "github-container-registry", "azure-container-registry"
845
+ # resp.upstream_registry #=> String, one of "ecr-public", "quay", "k8s", "docker-hub", "github-container-registry", "azure-container-registry", "gitlab-container-registry"
819
846
  # resp.credential_arn #=> String
820
847
  #
821
848
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreatePullThroughCacheRule AWS API Documentation
@@ -1525,7 +1552,7 @@ module Aws::ECR
1525
1552
  # resp.pull_through_cache_rules[0].created_at #=> Time
1526
1553
  # resp.pull_through_cache_rules[0].registry_id #=> String
1527
1554
  # resp.pull_through_cache_rules[0].credential_arn #=> String
1528
- # resp.pull_through_cache_rules[0].upstream_registry #=> String, one of "ecr-public", "quay", "k8s", "docker-hub", "github-container-registry", "azure-container-registry"
1555
+ # resp.pull_through_cache_rules[0].upstream_registry #=> String, one of "ecr-public", "quay", "k8s", "docker-hub", "github-container-registry", "azure-container-registry", "gitlab-container-registry"
1529
1556
  # resp.pull_through_cache_rules[0].updated_at #=> Time
1530
1557
  # resp.next_token #=> String
1531
1558
  #
@@ -3011,7 +3038,7 @@ module Aws::ECR
3011
3038
  params: params,
3012
3039
  config: config)
3013
3040
  context[:gem_name] = 'aws-sdk-ecr'
3014
- context[:gem_version] = '1.69.0'
3041
+ context[:gem_version] = '1.71.0'
3015
3042
  Seahorse::Client::Request.new(handlers, context)
3016
3043
  end
3017
3044
 
@@ -1200,6 +1200,7 @@ module Aws::ECR
1200
1200
  "endpointPrefix" => "api.ecr",
1201
1201
  "jsonVersion" => "1.1",
1202
1202
  "protocol" => "json",
1203
+ "protocols" => ["json"],
1203
1204
  "serviceAbbreviation" => "Amazon ECR",
1204
1205
  "serviceFullName" => "Amazon EC2 Container Registry",
1205
1206
  "serviceId" => "ECR",
@@ -361,6 +361,9 @@ module Aws::ECR
361
361
  #
362
362
  # * Microsoft Azure Container Registry (`azure-container-registry`) -
363
363
  # `<custom>.azurecr.io`
364
+ #
365
+ # * GitLab Container Registry (`gitlab-container-registry`) -
366
+ # `registry.gitlab.com`
364
367
  # @return [String]
365
368
  #
366
369
  # @!attribute [rw] registry_id
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.69.0'
56
+ GEM_VERSION = '1.71.0'
57
57
 
58
58
  end
data/sig/client.rbs CHANGED
@@ -156,7 +156,7 @@ module Aws
156
156
  def upstream_registry_url: () -> ::String
157
157
  def created_at: () -> ::Time
158
158
  def registry_id: () -> ::String
159
- def upstream_registry: () -> ("ecr-public" | "quay" | "k8s" | "docker-hub" | "github-container-registry" | "azure-container-registry")
159
+ def upstream_registry: () -> ("ecr-public" | "quay" | "k8s" | "docker-hub" | "github-container-registry" | "azure-container-registry" | "gitlab-container-registry")
160
160
  def credential_arn: () -> ::String
161
161
  end
162
162
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#create_pull_through_cache_rule-instance_method
@@ -164,7 +164,7 @@ module Aws
164
164
  ecr_repository_prefix: ::String,
165
165
  upstream_registry_url: ::String,
166
166
  ?registry_id: ::String,
167
- ?upstream_registry: ("ecr-public" | "quay" | "k8s" | "docker-hub" | "github-container-registry" | "azure-container-registry"),
167
+ ?upstream_registry: ("ecr-public" | "quay" | "k8s" | "docker-hub" | "github-container-registry" | "azure-container-registry" | "gitlab-container-registry"),
168
168
  ?credential_arn: ::String
169
169
  ) -> _CreatePullThroughCacheRuleResponseSuccess
170
170
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePullThroughCacheRuleResponseSuccess
data/sig/types.rbs CHANGED
@@ -104,7 +104,7 @@ module Aws::ECR
104
104
  attr_accessor ecr_repository_prefix: ::String
105
105
  attr_accessor upstream_registry_url: ::String
106
106
  attr_accessor registry_id: ::String
107
- attr_accessor upstream_registry: ("ecr-public" | "quay" | "k8s" | "docker-hub" | "github-container-registry" | "azure-container-registry")
107
+ attr_accessor upstream_registry: ("ecr-public" | "quay" | "k8s" | "docker-hub" | "github-container-registry" | "azure-container-registry" | "gitlab-container-registry")
108
108
  attr_accessor credential_arn: ::String
109
109
  SENSITIVE: []
110
110
  end
@@ -114,7 +114,7 @@ module Aws::ECR
114
114
  attr_accessor upstream_registry_url: ::String
115
115
  attr_accessor created_at: ::Time
116
116
  attr_accessor registry_id: ::String
117
- attr_accessor upstream_registry: ("ecr-public" | "quay" | "k8s" | "docker-hub" | "github-container-registry" | "azure-container-registry")
117
+ attr_accessor upstream_registry: ("ecr-public" | "quay" | "k8s" | "docker-hub" | "github-container-registry" | "azure-container-registry" | "gitlab-container-registry")
118
118
  attr_accessor credential_arn: ::String
119
119
  SENSITIVE: []
120
120
  end
@@ -702,7 +702,7 @@ module Aws::ECR
702
702
  attr_accessor created_at: ::Time
703
703
  attr_accessor registry_id: ::String
704
704
  attr_accessor credential_arn: ::String
705
- attr_accessor upstream_registry: ("ecr-public" | "quay" | "k8s" | "docker-hub" | "github-container-registry" | "azure-container-registry")
705
+ attr_accessor upstream_registry: ("ecr-public" | "quay" | "k8s" | "docker-hub" | "github-container-registry" | "azure-container-registry" | "gitlab-container-registry")
706
706
  attr_accessor updated_at: ::Time
707
707
  SENSITIVE: []
708
708
  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.69.0
4
+ version: 1.71.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: 2024-01-26 00:00:00.000000000 Z
11
+ date: 2024-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.191.0
22
+ version: 3.193.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.191.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement