aws-sdk-ecr 1.104.0 → 1.106.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecr/client.rb +97 -21
- data/lib/aws-sdk-ecr/client_api.rb +17 -0
- data/lib/aws-sdk-ecr/types.rb +72 -2
- data/lib/aws-sdk-ecr.rb +1 -1
- data/sig/client.rbs +31 -5
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +20 -7
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b61c415d16fb19fd6271275db1e1c8f4756954639b3464d967dcdf0a31cc2fe9
|
4
|
+
data.tar.gz: 7e63bcdc2b054943880b291dba473b4afdc472d35cc2ccca3cece4983f63f444
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7507135da2e7eac1aa06a888f4afb3534d81ec4cb4a013733a2dc2b90b06bff36dd11aad4c6416a9a0415ac0dd9752915aa126648805a362918bde269258be71
|
7
|
+
data.tar.gz: c3736d465bdc1f8778251c9a3f38ba41b7bd7f4cda894ee375dacb6bff32d898cef290fc9abfad88fb199ef7e295cab2424847dc3b83b1326ca9e68861536e5c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.106.0 (2025-07-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add support for Image Tag Mutability Exception feature, allowing repositories to define wildcard-based patterns that override the default image tag mutability settings.
|
8
|
+
|
9
|
+
1.105.0 (2025-07-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.104.0 (2025-06-16)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.106.0
|
data/lib/aws-sdk-ecr/client.rb
CHANGED
@@ -95,7 +95,7 @@ module Aws::ECR
|
|
95
95
|
# class name or an instance of a plugin class.
|
96
96
|
#
|
97
97
|
# @option options [required, Aws::CredentialProvider] :credentials
|
98
|
-
# Your AWS credentials. This can be an instance of any one of the
|
98
|
+
# Your AWS credentials used for authentication. This can be an instance of any one of the
|
99
99
|
# following classes:
|
100
100
|
#
|
101
101
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
@@ -128,18 +128,23 @@ module Aws::ECR
|
|
128
128
|
# locations will be searched for credentials:
|
129
129
|
#
|
130
130
|
# * `Aws.config[:credentials]`
|
131
|
+
#
|
131
132
|
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
132
133
|
# `:account_id` options.
|
133
|
-
#
|
134
|
-
#
|
134
|
+
#
|
135
|
+
# * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
|
136
|
+
# `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
|
137
|
+
#
|
135
138
|
# * `~/.aws/credentials`
|
139
|
+
#
|
136
140
|
# * `~/.aws/config`
|
141
|
+
#
|
137
142
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
138
143
|
# are very aggressive. Construct and pass an instance of
|
139
144
|
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
140
145
|
# enable retries and extended timeouts. Instance profile credential
|
141
|
-
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
142
|
-
# to true
|
146
|
+
# fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
|
147
|
+
# to `true`.
|
143
148
|
#
|
144
149
|
# @option options [required, String] :region
|
145
150
|
# The AWS region to connect to. The configured `:region` is
|
@@ -167,6 +172,11 @@ module Aws::ECR
|
|
167
172
|
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
168
173
|
# not retry instead of sleeping.
|
169
174
|
#
|
175
|
+
# @option options [Array<String>] :auth_scheme_preference
|
176
|
+
# A list of preferred authentication schemes to use when making a request. Supported values are:
|
177
|
+
# `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
|
178
|
+
# shared config as `auth_scheme_preference`, the value should be a comma-separated list.
|
179
|
+
#
|
170
180
|
# @option options [Boolean] :client_side_monitoring (false)
|
171
181
|
# When `true`, client-side metrics will be collected for all API requests from
|
172
182
|
# this client.
|
@@ -253,8 +263,8 @@ module Aws::ECR
|
|
253
263
|
# 4 times. Used in `standard` and `adaptive` retry modes.
|
254
264
|
#
|
255
265
|
# @option options [String] :profile ("default")
|
256
|
-
# Used when loading credentials from the shared credentials file
|
257
|
-
#
|
266
|
+
# Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
|
267
|
+
# When not specified, 'default' is used.
|
258
268
|
#
|
259
269
|
# @option options [String] :request_checksum_calculation ("when_supported")
|
260
270
|
# Determines when a checksum will be calculated for request payloads. Values are:
|
@@ -374,7 +384,7 @@ module Aws::ECR
|
|
374
384
|
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
375
385
|
#
|
376
386
|
# @option options [Aws::TokenProvider] :token_provider
|
377
|
-
#
|
387
|
+
# Your Bearer token used for authentication. This can be an instance of any one of the
|
378
388
|
# following classes:
|
379
389
|
#
|
380
390
|
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
@@ -966,6 +976,10 @@ module Aws::ECR
|
|
966
976
|
# image tags within the repository will be immutable which will prevent
|
967
977
|
# them from being overwritten.
|
968
978
|
#
|
979
|
+
# @option params [Array<Types::ImageTagMutabilityExclusionFilter>] :image_tag_mutability_exclusion_filters
|
980
|
+
# Creates a repository with a list of filters that define which image
|
981
|
+
# tags can override the default image tag mutability setting.
|
982
|
+
#
|
969
983
|
# @option params [Types::ImageScanningConfiguration] :image_scanning_configuration
|
970
984
|
# The image scanning configuration for the repository. This determines
|
971
985
|
# whether images are scanned for known vulnerabilities after being
|
@@ -1009,7 +1023,13 @@ module Aws::ECR
|
|
1009
1023
|
# value: "TagValue", # required
|
1010
1024
|
# },
|
1011
1025
|
# ],
|
1012
|
-
# image_tag_mutability: "MUTABLE", # accepts MUTABLE, IMMUTABLE
|
1026
|
+
# image_tag_mutability: "MUTABLE", # accepts MUTABLE, IMMUTABLE, IMMUTABLE_WITH_EXCLUSION, MUTABLE_WITH_EXCLUSION
|
1027
|
+
# image_tag_mutability_exclusion_filters: [
|
1028
|
+
# {
|
1029
|
+
# filter_type: "WILDCARD", # required, accepts WILDCARD
|
1030
|
+
# filter: "ImageTagMutabilityExclusionFilterValue", # required
|
1031
|
+
# },
|
1032
|
+
# ],
|
1013
1033
|
# image_scanning_configuration: {
|
1014
1034
|
# scan_on_push: false,
|
1015
1035
|
# },
|
@@ -1026,7 +1046,10 @@ module Aws::ECR
|
|
1026
1046
|
# resp.repository.repository_name #=> String
|
1027
1047
|
# resp.repository.repository_uri #=> String
|
1028
1048
|
# resp.repository.created_at #=> Time
|
1029
|
-
# resp.repository.image_tag_mutability #=> String, one of "MUTABLE", "IMMUTABLE"
|
1049
|
+
# resp.repository.image_tag_mutability #=> String, one of "MUTABLE", "IMMUTABLE", "IMMUTABLE_WITH_EXCLUSION", "MUTABLE_WITH_EXCLUSION"
|
1050
|
+
# resp.repository.image_tag_mutability_exclusion_filters #=> Array
|
1051
|
+
# resp.repository.image_tag_mutability_exclusion_filters[0].filter_type #=> String, one of "WILDCARD"
|
1052
|
+
# resp.repository.image_tag_mutability_exclusion_filters[0].filter #=> String
|
1030
1053
|
# resp.repository.image_scanning_configuration.scan_on_push #=> Boolean
|
1031
1054
|
# resp.repository.encryption_configuration.encryption_type #=> String, one of "AES256", "KMS", "KMS_DSSE"
|
1032
1055
|
# resp.repository.encryption_configuration.kms_key #=> String
|
@@ -1089,6 +1112,11 @@ module Aws::ECR
|
|
1089
1112
|
# image tags within the repository will be immutable which will prevent
|
1090
1113
|
# them from being overwritten.
|
1091
1114
|
#
|
1115
|
+
# @option params [Array<Types::ImageTagMutabilityExclusionFilter>] :image_tag_mutability_exclusion_filters
|
1116
|
+
# Creates a repository creation template with a list of filters that
|
1117
|
+
# define which image tags can override the default image tag mutability
|
1118
|
+
# setting.
|
1119
|
+
#
|
1092
1120
|
# @option params [String] :repository_policy
|
1093
1121
|
# The repository policy to apply to repositories created using the
|
1094
1122
|
# template. A repository policy is a permissions policy associated with
|
@@ -1183,7 +1211,13 @@ module Aws::ECR
|
|
1183
1211
|
# value: "TagValue", # required
|
1184
1212
|
# },
|
1185
1213
|
# ],
|
1186
|
-
# image_tag_mutability: "MUTABLE", # accepts MUTABLE, IMMUTABLE
|
1214
|
+
# image_tag_mutability: "MUTABLE", # accepts MUTABLE, IMMUTABLE, IMMUTABLE_WITH_EXCLUSION, MUTABLE_WITH_EXCLUSION
|
1215
|
+
# image_tag_mutability_exclusion_filters: [
|
1216
|
+
# {
|
1217
|
+
# filter_type: "WILDCARD", # required, accepts WILDCARD
|
1218
|
+
# filter: "ImageTagMutabilityExclusionFilterValue", # required
|
1219
|
+
# },
|
1220
|
+
# ],
|
1187
1221
|
# repository_policy: "RepositoryPolicyText",
|
1188
1222
|
# lifecycle_policy: "LifecyclePolicyTextForRepositoryCreationTemplate",
|
1189
1223
|
# applied_for: ["REPLICATION"], # required, accepts REPLICATION, PULL_THROUGH_CACHE
|
@@ -1200,7 +1234,10 @@ module Aws::ECR
|
|
1200
1234
|
# resp.repository_creation_template.resource_tags #=> Array
|
1201
1235
|
# resp.repository_creation_template.resource_tags[0].key #=> String
|
1202
1236
|
# resp.repository_creation_template.resource_tags[0].value #=> String
|
1203
|
-
# resp.repository_creation_template.image_tag_mutability #=> String, one of "MUTABLE", "IMMUTABLE"
|
1237
|
+
# resp.repository_creation_template.image_tag_mutability #=> String, one of "MUTABLE", "IMMUTABLE", "IMMUTABLE_WITH_EXCLUSION", "MUTABLE_WITH_EXCLUSION"
|
1238
|
+
# resp.repository_creation_template.image_tag_mutability_exclusion_filters #=> Array
|
1239
|
+
# resp.repository_creation_template.image_tag_mutability_exclusion_filters[0].filter_type #=> String, one of "WILDCARD"
|
1240
|
+
# resp.repository_creation_template.image_tag_mutability_exclusion_filters[0].filter #=> String
|
1204
1241
|
# resp.repository_creation_template.repository_policy #=> String
|
1205
1242
|
# resp.repository_creation_template.lifecycle_policy #=> String
|
1206
1243
|
# resp.repository_creation_template.applied_for #=> Array
|
@@ -1383,7 +1420,10 @@ module Aws::ECR
|
|
1383
1420
|
# resp.repository.repository_name #=> String
|
1384
1421
|
# resp.repository.repository_uri #=> String
|
1385
1422
|
# resp.repository.created_at #=> Time
|
1386
|
-
# resp.repository.image_tag_mutability #=> String, one of "MUTABLE", "IMMUTABLE"
|
1423
|
+
# resp.repository.image_tag_mutability #=> String, one of "MUTABLE", "IMMUTABLE", "IMMUTABLE_WITH_EXCLUSION", "MUTABLE_WITH_EXCLUSION"
|
1424
|
+
# resp.repository.image_tag_mutability_exclusion_filters #=> Array
|
1425
|
+
# resp.repository.image_tag_mutability_exclusion_filters[0].filter_type #=> String, one of "WILDCARD"
|
1426
|
+
# resp.repository.image_tag_mutability_exclusion_filters[0].filter #=> String
|
1387
1427
|
# resp.repository.image_scanning_configuration.scan_on_push #=> Boolean
|
1388
1428
|
# resp.repository.encryption_configuration.encryption_type #=> String, one of "AES256", "KMS", "KMS_DSSE"
|
1389
1429
|
# resp.repository.encryption_configuration.kms_key #=> String
|
@@ -1447,7 +1487,10 @@ module Aws::ECR
|
|
1447
1487
|
# resp.repository_creation_template.resource_tags #=> Array
|
1448
1488
|
# resp.repository_creation_template.resource_tags[0].key #=> String
|
1449
1489
|
# resp.repository_creation_template.resource_tags[0].value #=> String
|
1450
|
-
# resp.repository_creation_template.image_tag_mutability #=> String, one of "MUTABLE", "IMMUTABLE"
|
1490
|
+
# resp.repository_creation_template.image_tag_mutability #=> String, one of "MUTABLE", "IMMUTABLE", "IMMUTABLE_WITH_EXCLUSION", "MUTABLE_WITH_EXCLUSION"
|
1491
|
+
# resp.repository_creation_template.image_tag_mutability_exclusion_filters #=> Array
|
1492
|
+
# resp.repository_creation_template.image_tag_mutability_exclusion_filters[0].filter_type #=> String, one of "WILDCARD"
|
1493
|
+
# resp.repository_creation_template.image_tag_mutability_exclusion_filters[0].filter #=> String
|
1451
1494
|
# resp.repository_creation_template.repository_policy #=> String
|
1452
1495
|
# resp.repository_creation_template.lifecycle_policy #=> String
|
1453
1496
|
# resp.repository_creation_template.applied_for #=> Array
|
@@ -2025,7 +2068,10 @@ module Aws::ECR
|
|
2025
2068
|
# resp.repositories[0].repository_name #=> String
|
2026
2069
|
# resp.repositories[0].repository_uri #=> String
|
2027
2070
|
# resp.repositories[0].created_at #=> Time
|
2028
|
-
# resp.repositories[0].image_tag_mutability #=> String, one of "MUTABLE", "IMMUTABLE"
|
2071
|
+
# resp.repositories[0].image_tag_mutability #=> String, one of "MUTABLE", "IMMUTABLE", "IMMUTABLE_WITH_EXCLUSION", "MUTABLE_WITH_EXCLUSION"
|
2072
|
+
# resp.repositories[0].image_tag_mutability_exclusion_filters #=> Array
|
2073
|
+
# resp.repositories[0].image_tag_mutability_exclusion_filters[0].filter_type #=> String, one of "WILDCARD"
|
2074
|
+
# resp.repositories[0].image_tag_mutability_exclusion_filters[0].filter #=> String
|
2029
2075
|
# resp.repositories[0].image_scanning_configuration.scan_on_push #=> Boolean
|
2030
2076
|
# resp.repositories[0].encryption_configuration.encryption_type #=> String, one of "AES256", "KMS", "KMS_DSSE"
|
2031
2077
|
# resp.repositories[0].encryption_configuration.kms_key #=> String
|
@@ -2149,7 +2195,10 @@ module Aws::ECR
|
|
2149
2195
|
# resp.repository_creation_templates[0].resource_tags #=> Array
|
2150
2196
|
# resp.repository_creation_templates[0].resource_tags[0].key #=> String
|
2151
2197
|
# resp.repository_creation_templates[0].resource_tags[0].value #=> String
|
2152
|
-
# resp.repository_creation_templates[0].image_tag_mutability #=> String, one of "MUTABLE", "IMMUTABLE"
|
2198
|
+
# resp.repository_creation_templates[0].image_tag_mutability #=> String, one of "MUTABLE", "IMMUTABLE", "IMMUTABLE_WITH_EXCLUSION", "MUTABLE_WITH_EXCLUSION"
|
2199
|
+
# resp.repository_creation_templates[0].image_tag_mutability_exclusion_filters #=> Array
|
2200
|
+
# resp.repository_creation_templates[0].image_tag_mutability_exclusion_filters[0].filter_type #=> String, one of "WILDCARD"
|
2201
|
+
# resp.repository_creation_templates[0].image_tag_mutability_exclusion_filters[0].filter #=> String
|
2153
2202
|
# resp.repository_creation_templates[0].repository_policy #=> String
|
2154
2203
|
# resp.repository_creation_templates[0].lifecycle_policy #=> String
|
2155
2204
|
# resp.repository_creation_templates[0].applied_for #=> Array
|
@@ -2920,25 +2969,39 @@ module Aws::ECR
|
|
2920
2969
|
# all image tags within the repository will be immutable which will
|
2921
2970
|
# prevent them from being overwritten.
|
2922
2971
|
#
|
2972
|
+
# @option params [Array<Types::ImageTagMutabilityExclusionFilter>] :image_tag_mutability_exclusion_filters
|
2973
|
+
# Creates or updates a repository with filters that define which image
|
2974
|
+
# tags can override the default image tag mutability setting.
|
2975
|
+
#
|
2923
2976
|
# @return [Types::PutImageTagMutabilityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2924
2977
|
#
|
2925
2978
|
# * {Types::PutImageTagMutabilityResponse#registry_id #registry_id} => String
|
2926
2979
|
# * {Types::PutImageTagMutabilityResponse#repository_name #repository_name} => String
|
2927
2980
|
# * {Types::PutImageTagMutabilityResponse#image_tag_mutability #image_tag_mutability} => String
|
2981
|
+
# * {Types::PutImageTagMutabilityResponse#image_tag_mutability_exclusion_filters #image_tag_mutability_exclusion_filters} => Array<Types::ImageTagMutabilityExclusionFilter>
|
2928
2982
|
#
|
2929
2983
|
# @example Request syntax with placeholder values
|
2930
2984
|
#
|
2931
2985
|
# resp = client.put_image_tag_mutability({
|
2932
2986
|
# registry_id: "RegistryId",
|
2933
2987
|
# repository_name: "RepositoryName", # required
|
2934
|
-
# image_tag_mutability: "MUTABLE", # required, accepts MUTABLE, IMMUTABLE
|
2988
|
+
# image_tag_mutability: "MUTABLE", # required, accepts MUTABLE, IMMUTABLE, IMMUTABLE_WITH_EXCLUSION, MUTABLE_WITH_EXCLUSION
|
2989
|
+
# image_tag_mutability_exclusion_filters: [
|
2990
|
+
# {
|
2991
|
+
# filter_type: "WILDCARD", # required, accepts WILDCARD
|
2992
|
+
# filter: "ImageTagMutabilityExclusionFilterValue", # required
|
2993
|
+
# },
|
2994
|
+
# ],
|
2935
2995
|
# })
|
2936
2996
|
#
|
2937
2997
|
# @example Response structure
|
2938
2998
|
#
|
2939
2999
|
# resp.registry_id #=> String
|
2940
3000
|
# resp.repository_name #=> String
|
2941
|
-
# resp.image_tag_mutability #=> String, one of "MUTABLE", "IMMUTABLE"
|
3001
|
+
# resp.image_tag_mutability #=> String, one of "MUTABLE", "IMMUTABLE", "IMMUTABLE_WITH_EXCLUSION", "MUTABLE_WITH_EXCLUSION"
|
3002
|
+
# resp.image_tag_mutability_exclusion_filters #=> Array
|
3003
|
+
# resp.image_tag_mutability_exclusion_filters[0].filter_type #=> String, one of "WILDCARD"
|
3004
|
+
# resp.image_tag_mutability_exclusion_filters[0].filter #=> String
|
2942
3005
|
#
|
2943
3006
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImageTagMutability AWS API Documentation
|
2944
3007
|
#
|
@@ -3501,6 +3564,10 @@ module Aws::ECR
|
|
3501
3564
|
# specified, all image tags within the repository will be immutable
|
3502
3565
|
# which will prevent them from being overwritten.
|
3503
3566
|
#
|
3567
|
+
# @option params [Array<Types::ImageTagMutabilityExclusionFilter>] :image_tag_mutability_exclusion_filters
|
3568
|
+
# Updates a repository with filters that define which image tags can
|
3569
|
+
# override the default image tag mutability setting.
|
3570
|
+
#
|
3504
3571
|
# @option params [String] :repository_policy
|
3505
3572
|
# Updates the repository policy created using the template. A repository
|
3506
3573
|
# policy is a permissions policy associated with a repository to control
|
@@ -3586,7 +3653,13 @@ module Aws::ECR
|
|
3586
3653
|
# value: "TagValue", # required
|
3587
3654
|
# },
|
3588
3655
|
# ],
|
3589
|
-
# image_tag_mutability: "MUTABLE", # accepts MUTABLE, IMMUTABLE
|
3656
|
+
# image_tag_mutability: "MUTABLE", # accepts MUTABLE, IMMUTABLE, IMMUTABLE_WITH_EXCLUSION, MUTABLE_WITH_EXCLUSION
|
3657
|
+
# image_tag_mutability_exclusion_filters: [
|
3658
|
+
# {
|
3659
|
+
# filter_type: "WILDCARD", # required, accepts WILDCARD
|
3660
|
+
# filter: "ImageTagMutabilityExclusionFilterValue", # required
|
3661
|
+
# },
|
3662
|
+
# ],
|
3590
3663
|
# repository_policy: "RepositoryPolicyText",
|
3591
3664
|
# lifecycle_policy: "LifecyclePolicyTextForRepositoryCreationTemplate",
|
3592
3665
|
# applied_for: ["REPLICATION"], # accepts REPLICATION, PULL_THROUGH_CACHE
|
@@ -3603,7 +3676,10 @@ module Aws::ECR
|
|
3603
3676
|
# resp.repository_creation_template.resource_tags #=> Array
|
3604
3677
|
# resp.repository_creation_template.resource_tags[0].key #=> String
|
3605
3678
|
# resp.repository_creation_template.resource_tags[0].value #=> String
|
3606
|
-
# resp.repository_creation_template.image_tag_mutability #=> String, one of "MUTABLE", "IMMUTABLE"
|
3679
|
+
# resp.repository_creation_template.image_tag_mutability #=> String, one of "MUTABLE", "IMMUTABLE", "IMMUTABLE_WITH_EXCLUSION", "MUTABLE_WITH_EXCLUSION"
|
3680
|
+
# resp.repository_creation_template.image_tag_mutability_exclusion_filters #=> Array
|
3681
|
+
# resp.repository_creation_template.image_tag_mutability_exclusion_filters[0].filter_type #=> String, one of "WILDCARD"
|
3682
|
+
# resp.repository_creation_template.image_tag_mutability_exclusion_filters[0].filter #=> String
|
3607
3683
|
# resp.repository_creation_template.repository_policy #=> String
|
3608
3684
|
# resp.repository_creation_template.lifecycle_policy #=> String
|
3609
3685
|
# resp.repository_creation_template.applied_for #=> Array
|
@@ -3761,7 +3837,7 @@ module Aws::ECR
|
|
3761
3837
|
tracer: tracer
|
3762
3838
|
)
|
3763
3839
|
context[:gem_name] = 'aws-sdk-ecr'
|
3764
|
-
context[:gem_version] = '1.
|
3840
|
+
context[:gem_version] = '1.106.0'
|
3765
3841
|
Seahorse::Client::Request.new(handlers, context)
|
3766
3842
|
end
|
3767
3843
|
|
@@ -149,6 +149,10 @@ module Aws::ECR
|
|
149
149
|
ImageTagAlreadyExistsException = Shapes::StructureShape.new(name: 'ImageTagAlreadyExistsException')
|
150
150
|
ImageTagList = Shapes::ListShape.new(name: 'ImageTagList')
|
151
151
|
ImageTagMutability = Shapes::StringShape.new(name: 'ImageTagMutability')
|
152
|
+
ImageTagMutabilityExclusionFilter = Shapes::StructureShape.new(name: 'ImageTagMutabilityExclusionFilter')
|
153
|
+
ImageTagMutabilityExclusionFilterType = Shapes::StringShape.new(name: 'ImageTagMutabilityExclusionFilterType')
|
154
|
+
ImageTagMutabilityExclusionFilterValue = Shapes::StringShape.new(name: 'ImageTagMutabilityExclusionFilterValue')
|
155
|
+
ImageTagMutabilityExclusionFilters = Shapes::ListShape.new(name: 'ImageTagMutabilityExclusionFilters')
|
152
156
|
ImageTagsList = Shapes::ListShape.new(name: 'ImageTagsList')
|
153
157
|
InUseCount = Shapes::IntegerShape.new(name: 'InUseCount')
|
154
158
|
InitiateLayerUploadRequest = Shapes::StructureShape.new(name: 'InitiateLayerUploadRequest')
|
@@ -453,6 +457,7 @@ module Aws::ECR
|
|
453
457
|
CreateRepositoryCreationTemplateRequest.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfigurationForRepositoryCreationTemplate, location_name: "encryptionConfiguration"))
|
454
458
|
CreateRepositoryCreationTemplateRequest.add_member(:resource_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "resourceTags"))
|
455
459
|
CreateRepositoryCreationTemplateRequest.add_member(:image_tag_mutability, Shapes::ShapeRef.new(shape: ImageTagMutability, location_name: "imageTagMutability"))
|
460
|
+
CreateRepositoryCreationTemplateRequest.add_member(:image_tag_mutability_exclusion_filters, Shapes::ShapeRef.new(shape: ImageTagMutabilityExclusionFilters, location_name: "imageTagMutabilityExclusionFilters"))
|
456
461
|
CreateRepositoryCreationTemplateRequest.add_member(:repository_policy, Shapes::ShapeRef.new(shape: RepositoryPolicyText, location_name: "repositoryPolicy"))
|
457
462
|
CreateRepositoryCreationTemplateRequest.add_member(:lifecycle_policy, Shapes::ShapeRef.new(shape: LifecyclePolicyTextForRepositoryCreationTemplate, location_name: "lifecyclePolicy"))
|
458
463
|
CreateRepositoryCreationTemplateRequest.add_member(:applied_for, Shapes::ShapeRef.new(shape: RCTAppliedForList, required: true, location_name: "appliedFor"))
|
@@ -467,6 +472,7 @@ module Aws::ECR
|
|
467
472
|
CreateRepositoryRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
468
473
|
CreateRepositoryRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
469
474
|
CreateRepositoryRequest.add_member(:image_tag_mutability, Shapes::ShapeRef.new(shape: ImageTagMutability, location_name: "imageTagMutability"))
|
475
|
+
CreateRepositoryRequest.add_member(:image_tag_mutability_exclusion_filters, Shapes::ShapeRef.new(shape: ImageTagMutabilityExclusionFilters, location_name: "imageTagMutabilityExclusionFilters"))
|
470
476
|
CreateRepositoryRequest.add_member(:image_scanning_configuration, Shapes::ShapeRef.new(shape: ImageScanningConfiguration, location_name: "imageScanningConfiguration"))
|
471
477
|
CreateRepositoryRequest.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
|
472
478
|
CreateRepositoryRequest.struct_class = Types::CreateRepositoryRequest
|
@@ -818,6 +824,12 @@ module Aws::ECR
|
|
818
824
|
|
819
825
|
ImageTagList.member = Shapes::ShapeRef.new(shape: ImageTag)
|
820
826
|
|
827
|
+
ImageTagMutabilityExclusionFilter.add_member(:filter_type, Shapes::ShapeRef.new(shape: ImageTagMutabilityExclusionFilterType, required: true, location_name: "filterType"))
|
828
|
+
ImageTagMutabilityExclusionFilter.add_member(:filter, Shapes::ShapeRef.new(shape: ImageTagMutabilityExclusionFilterValue, required: true, location_name: "filter"))
|
829
|
+
ImageTagMutabilityExclusionFilter.struct_class = Types::ImageTagMutabilityExclusionFilter
|
830
|
+
|
831
|
+
ImageTagMutabilityExclusionFilters.member = Shapes::ShapeRef.new(shape: ImageTagMutabilityExclusionFilter)
|
832
|
+
|
821
833
|
ImageTagsList.member = Shapes::ShapeRef.new(shape: ImageTag)
|
822
834
|
|
823
835
|
InitiateLayerUploadRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
@@ -996,11 +1008,13 @@ module Aws::ECR
|
|
996
1008
|
PutImageTagMutabilityRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
997
1009
|
PutImageTagMutabilityRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
998
1010
|
PutImageTagMutabilityRequest.add_member(:image_tag_mutability, Shapes::ShapeRef.new(shape: ImageTagMutability, required: true, location_name: "imageTagMutability"))
|
1011
|
+
PutImageTagMutabilityRequest.add_member(:image_tag_mutability_exclusion_filters, Shapes::ShapeRef.new(shape: ImageTagMutabilityExclusionFilters, location_name: "imageTagMutabilityExclusionFilters"))
|
999
1012
|
PutImageTagMutabilityRequest.struct_class = Types::PutImageTagMutabilityRequest
|
1000
1013
|
|
1001
1014
|
PutImageTagMutabilityResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
1002
1015
|
PutImageTagMutabilityResponse.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
|
1003
1016
|
PutImageTagMutabilityResponse.add_member(:image_tag_mutability, Shapes::ShapeRef.new(shape: ImageTagMutability, location_name: "imageTagMutability"))
|
1017
|
+
PutImageTagMutabilityResponse.add_member(:image_tag_mutability_exclusion_filters, Shapes::ShapeRef.new(shape: ImageTagMutabilityExclusionFilters, location_name: "imageTagMutabilityExclusionFilters"))
|
1004
1018
|
PutImageTagMutabilityResponse.struct_class = Types::PutImageTagMutabilityResponse
|
1005
1019
|
|
1006
1020
|
PutLifecyclePolicyRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
@@ -1083,6 +1097,7 @@ module Aws::ECR
|
|
1083
1097
|
Repository.add_member(:repository_uri, Shapes::ShapeRef.new(shape: Url, location_name: "repositoryUri"))
|
1084
1098
|
Repository.add_member(:created_at, Shapes::ShapeRef.new(shape: CreationTimestamp, location_name: "createdAt"))
|
1085
1099
|
Repository.add_member(:image_tag_mutability, Shapes::ShapeRef.new(shape: ImageTagMutability, location_name: "imageTagMutability"))
|
1100
|
+
Repository.add_member(:image_tag_mutability_exclusion_filters, Shapes::ShapeRef.new(shape: ImageTagMutabilityExclusionFilters, location_name: "imageTagMutabilityExclusionFilters"))
|
1086
1101
|
Repository.add_member(:image_scanning_configuration, Shapes::ShapeRef.new(shape: ImageScanningConfiguration, location_name: "imageScanningConfiguration"))
|
1087
1102
|
Repository.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
|
1088
1103
|
Repository.struct_class = Types::Repository
|
@@ -1095,6 +1110,7 @@ module Aws::ECR
|
|
1095
1110
|
RepositoryCreationTemplate.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfigurationForRepositoryCreationTemplate, location_name: "encryptionConfiguration"))
|
1096
1111
|
RepositoryCreationTemplate.add_member(:resource_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "resourceTags"))
|
1097
1112
|
RepositoryCreationTemplate.add_member(:image_tag_mutability, Shapes::ShapeRef.new(shape: ImageTagMutability, location_name: "imageTagMutability"))
|
1113
|
+
RepositoryCreationTemplate.add_member(:image_tag_mutability_exclusion_filters, Shapes::ShapeRef.new(shape: ImageTagMutabilityExclusionFilters, location_name: "imageTagMutabilityExclusionFilters"))
|
1098
1114
|
RepositoryCreationTemplate.add_member(:repository_policy, Shapes::ShapeRef.new(shape: RepositoryPolicyText, location_name: "repositoryPolicy"))
|
1099
1115
|
RepositoryCreationTemplate.add_member(:lifecycle_policy, Shapes::ShapeRef.new(shape: LifecyclePolicyTextForRepositoryCreationTemplate, location_name: "lifecyclePolicy"))
|
1100
1116
|
RepositoryCreationTemplate.add_member(:applied_for, Shapes::ShapeRef.new(shape: RCTAppliedForList, location_name: "appliedFor"))
|
@@ -1273,6 +1289,7 @@ module Aws::ECR
|
|
1273
1289
|
UpdateRepositoryCreationTemplateRequest.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfigurationForRepositoryCreationTemplate, location_name: "encryptionConfiguration"))
|
1274
1290
|
UpdateRepositoryCreationTemplateRequest.add_member(:resource_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "resourceTags"))
|
1275
1291
|
UpdateRepositoryCreationTemplateRequest.add_member(:image_tag_mutability, Shapes::ShapeRef.new(shape: ImageTagMutability, location_name: "imageTagMutability"))
|
1292
|
+
UpdateRepositoryCreationTemplateRequest.add_member(:image_tag_mutability_exclusion_filters, Shapes::ShapeRef.new(shape: ImageTagMutabilityExclusionFilters, location_name: "imageTagMutabilityExclusionFilters"))
|
1276
1293
|
UpdateRepositoryCreationTemplateRequest.add_member(:repository_policy, Shapes::ShapeRef.new(shape: RepositoryPolicyText, location_name: "repositoryPolicy"))
|
1277
1294
|
UpdateRepositoryCreationTemplateRequest.add_member(:lifecycle_policy, Shapes::ShapeRef.new(shape: LifecyclePolicyTextForRepositoryCreationTemplate, location_name: "lifecyclePolicy"))
|
1278
1295
|
UpdateRepositoryCreationTemplateRequest.add_member(:applied_for, Shapes::ShapeRef.new(shape: RCTAppliedForList, location_name: "appliedFor"))
|
data/lib/aws-sdk-ecr/types.rb
CHANGED
@@ -522,6 +522,12 @@ module Aws::ECR
|
|
522
522
|
# prevent them from being overwritten.
|
523
523
|
# @return [String]
|
524
524
|
#
|
525
|
+
# @!attribute [rw] image_tag_mutability_exclusion_filters
|
526
|
+
# Creates a repository creation template with a list of filters that
|
527
|
+
# define which image tags can override the default image tag
|
528
|
+
# mutability setting.
|
529
|
+
# @return [Array<Types::ImageTagMutabilityExclusionFilter>]
|
530
|
+
#
|
525
531
|
# @!attribute [rw] repository_policy
|
526
532
|
# The repository policy to apply to repositories created using the
|
527
533
|
# template. A repository policy is a permissions policy associated
|
@@ -555,6 +561,7 @@ module Aws::ECR
|
|
555
561
|
:encryption_configuration,
|
556
562
|
:resource_tags,
|
557
563
|
:image_tag_mutability,
|
564
|
+
:image_tag_mutability_exclusion_filters,
|
558
565
|
:repository_policy,
|
559
566
|
:lifecycle_policy,
|
560
567
|
:applied_for,
|
@@ -614,6 +621,11 @@ module Aws::ECR
|
|
614
621
|
# prevent them from being overwritten.
|
615
622
|
# @return [String]
|
616
623
|
#
|
624
|
+
# @!attribute [rw] image_tag_mutability_exclusion_filters
|
625
|
+
# Creates a repository with a list of filters that define which image
|
626
|
+
# tags can override the default image tag mutability setting.
|
627
|
+
# @return [Array<Types::ImageTagMutabilityExclusionFilter>]
|
628
|
+
#
|
617
629
|
# @!attribute [rw] image_scanning_configuration
|
618
630
|
# The image scanning configuration for the repository. This determines
|
619
631
|
# whether images are scanned for known vulnerabilities after being
|
@@ -632,6 +644,7 @@ module Aws::ECR
|
|
632
644
|
:repository_name,
|
633
645
|
:tags,
|
634
646
|
:image_tag_mutability,
|
647
|
+
:image_tag_mutability_exclusion_filters,
|
635
648
|
:image_scanning_configuration,
|
636
649
|
:encryption_configuration)
|
637
650
|
SENSITIVE = []
|
@@ -2401,6 +2414,29 @@ module Aws::ECR
|
|
2401
2414
|
include Aws::Structure
|
2402
2415
|
end
|
2403
2416
|
|
2417
|
+
# Overrides the default image tag mutability setting of the repository
|
2418
|
+
# for image tags that match the specified filters.
|
2419
|
+
#
|
2420
|
+
# @!attribute [rw] filter_type
|
2421
|
+
# Specifies the type of filter to use for excluding image tags from
|
2422
|
+
# the repository's mutability setting.
|
2423
|
+
# @return [String]
|
2424
|
+
#
|
2425
|
+
# @!attribute [rw] filter
|
2426
|
+
# The value to use when filtering image tags. Must be either a regular
|
2427
|
+
# expression pattern or a tag prefix value based on the specified
|
2428
|
+
# filter type.
|
2429
|
+
# @return [String]
|
2430
|
+
#
|
2431
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageTagMutabilityExclusionFilter AWS API Documentation
|
2432
|
+
#
|
2433
|
+
class ImageTagMutabilityExclusionFilter < Struct.new(
|
2434
|
+
:filter_type,
|
2435
|
+
:filter)
|
2436
|
+
SENSITIVE = []
|
2437
|
+
include Aws::Structure
|
2438
|
+
end
|
2439
|
+
|
2404
2440
|
# @!attribute [rw] registry_id
|
2405
2441
|
# The Amazon Web Services account ID associated with the registry to
|
2406
2442
|
# which you intend to upload layers. If you do not specify a registry,
|
@@ -3215,12 +3251,18 @@ module Aws::ECR
|
|
3215
3251
|
# which will prevent them from being overwritten.
|
3216
3252
|
# @return [String]
|
3217
3253
|
#
|
3254
|
+
# @!attribute [rw] image_tag_mutability_exclusion_filters
|
3255
|
+
# Creates or updates a repository with filters that define which image
|
3256
|
+
# tags can override the default image tag mutability setting.
|
3257
|
+
# @return [Array<Types::ImageTagMutabilityExclusionFilter>]
|
3258
|
+
#
|
3218
3259
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImageTagMutabilityRequest AWS API Documentation
|
3219
3260
|
#
|
3220
3261
|
class PutImageTagMutabilityRequest < Struct.new(
|
3221
3262
|
:registry_id,
|
3222
3263
|
:repository_name,
|
3223
|
-
:image_tag_mutability
|
3264
|
+
:image_tag_mutability,
|
3265
|
+
:image_tag_mutability_exclusion_filters)
|
3224
3266
|
SENSITIVE = []
|
3225
3267
|
include Aws::Structure
|
3226
3268
|
end
|
@@ -3237,12 +3279,19 @@ module Aws::ECR
|
|
3237
3279
|
# The image tag mutability setting for the repository.
|
3238
3280
|
# @return [String]
|
3239
3281
|
#
|
3282
|
+
# @!attribute [rw] image_tag_mutability_exclusion_filters
|
3283
|
+
# Returns a list of filters that were defined for a repository. These
|
3284
|
+
# filters determine which image tags can override the default image
|
3285
|
+
# tag mutability setting of the repository.
|
3286
|
+
# @return [Array<Types::ImageTagMutabilityExclusionFilter>]
|
3287
|
+
#
|
3240
3288
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImageTagMutabilityResponse AWS API Documentation
|
3241
3289
|
#
|
3242
3290
|
class PutImageTagMutabilityResponse < Struct.new(
|
3243
3291
|
:registry_id,
|
3244
3292
|
:repository_name,
|
3245
|
-
:image_tag_mutability
|
3293
|
+
:image_tag_mutability,
|
3294
|
+
:image_tag_mutability_exclusion_filters)
|
3246
3295
|
SENSITIVE = []
|
3247
3296
|
include Aws::Structure
|
3248
3297
|
end
|
@@ -3595,6 +3644,12 @@ module Aws::ECR
|
|
3595
3644
|
# The tag mutability setting for the repository.
|
3596
3645
|
# @return [String]
|
3597
3646
|
#
|
3647
|
+
# @!attribute [rw] image_tag_mutability_exclusion_filters
|
3648
|
+
# The image tag mutability exclusion filters associated with the
|
3649
|
+
# repository. These filters specify which image tags can override the
|
3650
|
+
# repository's default image tag mutability setting.
|
3651
|
+
# @return [Array<Types::ImageTagMutabilityExclusionFilter>]
|
3652
|
+
#
|
3598
3653
|
# @!attribute [rw] image_scanning_configuration
|
3599
3654
|
# The image scanning configuration for a repository.
|
3600
3655
|
# @return [Types::ImageScanningConfiguration]
|
@@ -3613,6 +3668,7 @@ module Aws::ECR
|
|
3613
3668
|
:repository_uri,
|
3614
3669
|
:created_at,
|
3615
3670
|
:image_tag_mutability,
|
3671
|
+
:image_tag_mutability_exclusion_filters,
|
3616
3672
|
:image_scanning_configuration,
|
3617
3673
|
:encryption_configuration)
|
3618
3674
|
SENSITIVE = []
|
@@ -3666,6 +3722,13 @@ module Aws::ECR
|
|
3666
3722
|
# prevent them from being overwritten.
|
3667
3723
|
# @return [String]
|
3668
3724
|
#
|
3725
|
+
# @!attribute [rw] image_tag_mutability_exclusion_filters
|
3726
|
+
# Defines the image tag mutability exclusion filters to apply when
|
3727
|
+
# creating repositories from this template. These filters specify
|
3728
|
+
# which image tags can override the repository's default image tag
|
3729
|
+
# mutability setting.
|
3730
|
+
# @return [Array<Types::ImageTagMutabilityExclusionFilter>]
|
3731
|
+
#
|
3669
3732
|
# @!attribute [rw] repository_policy
|
3670
3733
|
# The repository policy to apply to repositories created using the
|
3671
3734
|
# template. A repository policy is a permissions policy associated
|
@@ -3708,6 +3771,7 @@ module Aws::ECR
|
|
3708
3771
|
:encryption_configuration,
|
3709
3772
|
:resource_tags,
|
3710
3773
|
:image_tag_mutability,
|
3774
|
+
:image_tag_mutability_exclusion_filters,
|
3711
3775
|
:repository_policy,
|
3712
3776
|
:lifecycle_policy,
|
3713
3777
|
:applied_for,
|
@@ -4457,6 +4521,11 @@ module Aws::ECR
|
|
4457
4521
|
# which will prevent them from being overwritten.
|
4458
4522
|
# @return [String]
|
4459
4523
|
#
|
4524
|
+
# @!attribute [rw] image_tag_mutability_exclusion_filters
|
4525
|
+
# Updates a repository with filters that define which image tags can
|
4526
|
+
# override the default image tag mutability setting.
|
4527
|
+
# @return [Array<Types::ImageTagMutabilityExclusionFilter>]
|
4528
|
+
#
|
4460
4529
|
# @!attribute [rw] repository_policy
|
4461
4530
|
# Updates the repository policy created using the template. A
|
4462
4531
|
# repository policy is a permissions policy associated with a
|
@@ -4491,6 +4560,7 @@ module Aws::ECR
|
|
4491
4560
|
:encryption_configuration,
|
4492
4561
|
:resource_tags,
|
4493
4562
|
:image_tag_mutability,
|
4563
|
+
:image_tag_mutability_exclusion_filters,
|
4494
4564
|
:repository_policy,
|
4495
4565
|
:lifecycle_policy,
|
4496
4566
|
:applied_for,
|
data/lib/aws-sdk-ecr.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
@@ -192,7 +193,13 @@ module Aws
|
|
192
193
|
value: ::String
|
193
194
|
},
|
194
195
|
],
|
195
|
-
?image_tag_mutability: ("MUTABLE" | "IMMUTABLE"),
|
196
|
+
?image_tag_mutability: ("MUTABLE" | "IMMUTABLE" | "IMMUTABLE_WITH_EXCLUSION" | "MUTABLE_WITH_EXCLUSION"),
|
197
|
+
?image_tag_mutability_exclusion_filters: Array[
|
198
|
+
{
|
199
|
+
filter_type: ("WILDCARD"),
|
200
|
+
filter: ::String
|
201
|
+
},
|
202
|
+
],
|
196
203
|
?image_scanning_configuration: {
|
197
204
|
scan_on_push: bool?
|
198
205
|
},
|
@@ -222,7 +229,13 @@ module Aws
|
|
222
229
|
value: ::String
|
223
230
|
},
|
224
231
|
],
|
225
|
-
?image_tag_mutability: ("MUTABLE" | "IMMUTABLE"),
|
232
|
+
?image_tag_mutability: ("MUTABLE" | "IMMUTABLE" | "IMMUTABLE_WITH_EXCLUSION" | "MUTABLE_WITH_EXCLUSION"),
|
233
|
+
?image_tag_mutability_exclusion_filters: Array[
|
234
|
+
{
|
235
|
+
filter_type: ("WILDCARD"),
|
236
|
+
filter: ::String
|
237
|
+
},
|
238
|
+
],
|
226
239
|
?repository_policy: ::String,
|
227
240
|
?lifecycle_policy: ::String,
|
228
241
|
applied_for: Array[("REPLICATION" | "PULL_THROUGH_CACHE")],
|
@@ -616,13 +629,20 @@ module Aws
|
|
616
629
|
include ::Seahorse::Client::_ResponseSuccess[Types::PutImageTagMutabilityResponse]
|
617
630
|
def registry_id: () -> ::String
|
618
631
|
def repository_name: () -> ::String
|
619
|
-
def image_tag_mutability: () -> ("MUTABLE" | "IMMUTABLE")
|
632
|
+
def image_tag_mutability: () -> ("MUTABLE" | "IMMUTABLE" | "IMMUTABLE_WITH_EXCLUSION" | "MUTABLE_WITH_EXCLUSION")
|
633
|
+
def image_tag_mutability_exclusion_filters: () -> ::Array[Types::ImageTagMutabilityExclusionFilter]
|
620
634
|
end
|
621
635
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#put_image_tag_mutability-instance_method
|
622
636
|
def put_image_tag_mutability: (
|
623
637
|
?registry_id: ::String,
|
624
638
|
repository_name: ::String,
|
625
|
-
image_tag_mutability: ("MUTABLE" | "IMMUTABLE")
|
639
|
+
image_tag_mutability: ("MUTABLE" | "IMMUTABLE" | "IMMUTABLE_WITH_EXCLUSION" | "MUTABLE_WITH_EXCLUSION"),
|
640
|
+
?image_tag_mutability_exclusion_filters: Array[
|
641
|
+
{
|
642
|
+
filter_type: ("WILDCARD"),
|
643
|
+
filter: ::String
|
644
|
+
},
|
645
|
+
]
|
626
646
|
) -> _PutImageTagMutabilityResponseSuccess
|
627
647
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutImageTagMutabilityResponseSuccess
|
628
648
|
|
@@ -809,7 +829,13 @@ module Aws
|
|
809
829
|
value: ::String
|
810
830
|
},
|
811
831
|
],
|
812
|
-
?image_tag_mutability: ("MUTABLE" | "IMMUTABLE"),
|
832
|
+
?image_tag_mutability: ("MUTABLE" | "IMMUTABLE" | "IMMUTABLE_WITH_EXCLUSION" | "MUTABLE_WITH_EXCLUSION"),
|
833
|
+
?image_tag_mutability_exclusion_filters: Array[
|
834
|
+
{
|
835
|
+
filter_type: ("WILDCARD"),
|
836
|
+
filter: ::String
|
837
|
+
},
|
838
|
+
],
|
813
839
|
?repository_policy: ::String,
|
814
840
|
?lifecycle_policy: ::String,
|
815
841
|
?applied_for: Array[("REPLICATION" | "PULL_THROUGH_CACHE")],
|
data/sig/resource.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
data/sig/types.rbs
CHANGED
@@ -130,7 +130,8 @@ module Aws::ECR
|
|
130
130
|
attr_accessor description: ::String
|
131
131
|
attr_accessor encryption_configuration: Types::EncryptionConfigurationForRepositoryCreationTemplate
|
132
132
|
attr_accessor resource_tags: ::Array[Types::Tag]
|
133
|
-
attr_accessor image_tag_mutability: ("MUTABLE" | "IMMUTABLE")
|
133
|
+
attr_accessor image_tag_mutability: ("MUTABLE" | "IMMUTABLE" | "IMMUTABLE_WITH_EXCLUSION" | "MUTABLE_WITH_EXCLUSION")
|
134
|
+
attr_accessor image_tag_mutability_exclusion_filters: ::Array[Types::ImageTagMutabilityExclusionFilter]
|
134
135
|
attr_accessor repository_policy: ::String
|
135
136
|
attr_accessor lifecycle_policy: ::String
|
136
137
|
attr_accessor applied_for: ::Array[("REPLICATION" | "PULL_THROUGH_CACHE")]
|
@@ -148,7 +149,8 @@ module Aws::ECR
|
|
148
149
|
attr_accessor registry_id: ::String
|
149
150
|
attr_accessor repository_name: ::String
|
150
151
|
attr_accessor tags: ::Array[Types::Tag]
|
151
|
-
attr_accessor image_tag_mutability: ("MUTABLE" | "IMMUTABLE")
|
152
|
+
attr_accessor image_tag_mutability: ("MUTABLE" | "IMMUTABLE" | "IMMUTABLE_WITH_EXCLUSION" | "MUTABLE_WITH_EXCLUSION")
|
153
|
+
attr_accessor image_tag_mutability_exclusion_filters: ::Array[Types::ImageTagMutabilityExclusionFilter]
|
152
154
|
attr_accessor image_scanning_configuration: Types::ImageScanningConfiguration
|
153
155
|
attr_accessor encryption_configuration: Types::EncryptionConfiguration
|
154
156
|
SENSITIVE: []
|
@@ -602,6 +604,12 @@ module Aws::ECR
|
|
602
604
|
SENSITIVE: []
|
603
605
|
end
|
604
606
|
|
607
|
+
class ImageTagMutabilityExclusionFilter
|
608
|
+
attr_accessor filter_type: ("WILDCARD")
|
609
|
+
attr_accessor filter: ::String
|
610
|
+
SENSITIVE: []
|
611
|
+
end
|
612
|
+
|
605
613
|
class InitiateLayerUploadRequest
|
606
614
|
attr_accessor registry_id: ::String
|
607
615
|
attr_accessor repository_name: ::String
|
@@ -834,14 +842,16 @@ module Aws::ECR
|
|
834
842
|
class PutImageTagMutabilityRequest
|
835
843
|
attr_accessor registry_id: ::String
|
836
844
|
attr_accessor repository_name: ::String
|
837
|
-
attr_accessor image_tag_mutability: ("MUTABLE" | "IMMUTABLE")
|
845
|
+
attr_accessor image_tag_mutability: ("MUTABLE" | "IMMUTABLE" | "IMMUTABLE_WITH_EXCLUSION" | "MUTABLE_WITH_EXCLUSION")
|
846
|
+
attr_accessor image_tag_mutability_exclusion_filters: ::Array[Types::ImageTagMutabilityExclusionFilter]
|
838
847
|
SENSITIVE: []
|
839
848
|
end
|
840
849
|
|
841
850
|
class PutImageTagMutabilityResponse
|
842
851
|
attr_accessor registry_id: ::String
|
843
852
|
attr_accessor repository_name: ::String
|
844
|
-
attr_accessor image_tag_mutability: ("MUTABLE" | "IMMUTABLE")
|
853
|
+
attr_accessor image_tag_mutability: ("MUTABLE" | "IMMUTABLE" | "IMMUTABLE_WITH_EXCLUSION" | "MUTABLE_WITH_EXCLUSION")
|
854
|
+
attr_accessor image_tag_mutability_exclusion_filters: ::Array[Types::ImageTagMutabilityExclusionFilter]
|
845
855
|
SENSITIVE: []
|
846
856
|
end
|
847
857
|
|
@@ -947,7 +957,8 @@ module Aws::ECR
|
|
947
957
|
attr_accessor repository_name: ::String
|
948
958
|
attr_accessor repository_uri: ::String
|
949
959
|
attr_accessor created_at: ::Time
|
950
|
-
attr_accessor image_tag_mutability: ("MUTABLE" | "IMMUTABLE")
|
960
|
+
attr_accessor image_tag_mutability: ("MUTABLE" | "IMMUTABLE" | "IMMUTABLE_WITH_EXCLUSION" | "MUTABLE_WITH_EXCLUSION")
|
961
|
+
attr_accessor image_tag_mutability_exclusion_filters: ::Array[Types::ImageTagMutabilityExclusionFilter]
|
951
962
|
attr_accessor image_scanning_configuration: Types::ImageScanningConfiguration
|
952
963
|
attr_accessor encryption_configuration: Types::EncryptionConfiguration
|
953
964
|
SENSITIVE: []
|
@@ -963,7 +974,8 @@ module Aws::ECR
|
|
963
974
|
attr_accessor description: ::String
|
964
975
|
attr_accessor encryption_configuration: Types::EncryptionConfigurationForRepositoryCreationTemplate
|
965
976
|
attr_accessor resource_tags: ::Array[Types::Tag]
|
966
|
-
attr_accessor image_tag_mutability: ("MUTABLE" | "IMMUTABLE")
|
977
|
+
attr_accessor image_tag_mutability: ("MUTABLE" | "IMMUTABLE" | "IMMUTABLE_WITH_EXCLUSION" | "MUTABLE_WITH_EXCLUSION")
|
978
|
+
attr_accessor image_tag_mutability_exclusion_filters: ::Array[Types::ImageTagMutabilityExclusionFilter]
|
967
979
|
attr_accessor repository_policy: ::String
|
968
980
|
attr_accessor lifecycle_policy: ::String
|
969
981
|
attr_accessor applied_for: ::Array[("REPLICATION" | "PULL_THROUGH_CACHE")]
|
@@ -1186,7 +1198,8 @@ module Aws::ECR
|
|
1186
1198
|
attr_accessor description: ::String
|
1187
1199
|
attr_accessor encryption_configuration: Types::EncryptionConfigurationForRepositoryCreationTemplate
|
1188
1200
|
attr_accessor resource_tags: ::Array[Types::Tag]
|
1189
|
-
attr_accessor image_tag_mutability: ("MUTABLE" | "IMMUTABLE")
|
1201
|
+
attr_accessor image_tag_mutability: ("MUTABLE" | "IMMUTABLE" | "IMMUTABLE_WITH_EXCLUSION" | "MUTABLE_WITH_EXCLUSION")
|
1202
|
+
attr_accessor image_tag_mutability_exclusion_filters: ::Array[Types::ImageTagMutabilityExclusionFilter]
|
1190
1203
|
attr_accessor repository_policy: ::String
|
1191
1204
|
attr_accessor lifecycle_policy: ::String
|
1192
1205
|
attr_accessor applied_for: ::Array[("REPLICATION" | "PULL_THROUGH_CACHE")]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ecr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.106.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
version: '3'
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.
|
21
|
+
version: 3.227.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
version: '3'
|
29
29
|
- - ">="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: 3.
|
31
|
+
version: 3.227.0
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: aws-sigv4
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|