aws-sdk-ecr 1.148.0 → 1.149.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecr/client.rb +50 -10
- data/lib/aws-sdk-ecr/client_api.rb +7 -0
- data/lib/aws-sdk-ecr/types.rb +71 -7
- data/lib/aws-sdk-ecr.rb +1 -1
- data/sig/client.rbs +9 -3
- data/sig/types.rbs +10 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 65e738fbec20a6d330cb94293f5fa635035af3b633ba30b70f19419787445926
|
|
4
|
+
data.tar.gz: a59015a041f9ea54fb9de8958adeb5fa62ed5beae2cf491601896e1651afc2a7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ec0218628eabf7be4246524869f3f31c4090901865e5f2598b27e0f84a62bc7e35f13861aaced843c04da8b05614761013c83599df3ea7bf6d428c91d44aaf32
|
|
7
|
+
data.tar.gz: 309ef7b5ddcce0b7ae97c279811dcc8e49572357cd86972f0e39de455f5460737906abecf64a17f4c1269f6e2f59dc140281a6df8f611850f184569809513432
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.149.0
|
data/lib/aws-sdk-ecr/client.rb
CHANGED
|
@@ -866,6 +866,10 @@ module Aws::ECR
|
|
|
866
866
|
#
|
|
867
867
|
# * Amazon ECR Public (`ecr-public`) – `public.ecr.aws`
|
|
868
868
|
#
|
|
869
|
+
# * Amazon ECR Public Premium (`ecr-public-premium`) –
|
|
870
|
+
# `ecr-premium.aws.com`, the registry endpoint for Amazon ECR Public
|
|
871
|
+
# Premium images
|
|
872
|
+
#
|
|
869
873
|
# * Docker Hub (`docker-hub`) – `registry-1.docker.io`
|
|
870
874
|
#
|
|
871
875
|
# * GitHub Container Registry (`github-container-registry`) – `ghcr.io`
|
|
@@ -891,13 +895,25 @@ module Aws::ECR
|
|
|
891
895
|
# @option params [String] :credential_arn
|
|
892
896
|
# The Amazon Resource Name (ARN) of the Amazon Web Services Secrets
|
|
893
897
|
# Manager secret that identifies the credentials to authenticate to the
|
|
894
|
-
# upstream registry.
|
|
898
|
+
# upstream registry. You can't use this parameter with the Amazon ECR
|
|
899
|
+
# Public Premium upstream registry.
|
|
895
900
|
#
|
|
896
901
|
# @option params [String] :custom_role_arn
|
|
897
|
-
# Amazon Resource Name (ARN) of the IAM role
|
|
898
|
-
# to authenticate to the
|
|
902
|
+
# The Amazon Resource Name (ARN) of the IAM role that Amazon ECR assumes
|
|
903
|
+
# to authenticate to the upstream registry. This role must be in the
|
|
899
904
|
# same account as the registry that you are configuring.
|
|
900
905
|
#
|
|
906
|
+
# For an Amazon ECR Public Premium upstream registry, specify this role
|
|
907
|
+
# together with `upstreamRoleArn`. If you specify neither role, Amazon
|
|
908
|
+
# ECR uses its service-linked role.
|
|
909
|
+
#
|
|
910
|
+
# @option params [String] :upstream_role_arn
|
|
911
|
+
# The Amazon Resource Name (ARN) of the IAM role in the `aws` partition
|
|
912
|
+
# that Amazon ECR assumes through `customRoleArn` to authenticate to the
|
|
913
|
+
# Amazon ECR Public Premium upstream registry. You can use this
|
|
914
|
+
# parameter only for the Amazon ECR Public Premium upstream registry,
|
|
915
|
+
# and it requires `customRoleArn`.
|
|
916
|
+
#
|
|
901
917
|
# @option params [String] :upstream_repository_prefix
|
|
902
918
|
# The repository name prefix of the upstream registry to match with the
|
|
903
919
|
# upstream repository name. When this field isn't specified, Amazon ECR
|
|
@@ -912,6 +928,7 @@ module Aws::ECR
|
|
|
912
928
|
# * {Types::CreatePullThroughCacheRuleResponse#upstream_registry #upstream_registry} => String
|
|
913
929
|
# * {Types::CreatePullThroughCacheRuleResponse#credential_arn #credential_arn} => String
|
|
914
930
|
# * {Types::CreatePullThroughCacheRuleResponse#custom_role_arn #custom_role_arn} => String
|
|
931
|
+
# * {Types::CreatePullThroughCacheRuleResponse#upstream_role_arn #upstream_role_arn} => String
|
|
915
932
|
# * {Types::CreatePullThroughCacheRuleResponse#upstream_repository_prefix #upstream_repository_prefix} => String
|
|
916
933
|
#
|
|
917
934
|
# @example Request syntax with placeholder values
|
|
@@ -920,9 +937,10 @@ module Aws::ECR
|
|
|
920
937
|
# ecr_repository_prefix: "PullThroughCacheRuleRepositoryPrefix", # required
|
|
921
938
|
# upstream_registry_url: "Url", # required
|
|
922
939
|
# registry_id: "RegistryId",
|
|
923
|
-
# upstream_registry: "ecr", # accepts ecr, ecr-public, quay, k8s, docker-hub, github-container-registry, azure-container-registry, gitlab-container-registry, chainguard
|
|
940
|
+
# upstream_registry: "ecr", # accepts ecr, ecr-public, ecr-public-premium, quay, k8s, docker-hub, github-container-registry, azure-container-registry, gitlab-container-registry, chainguard
|
|
924
941
|
# credential_arn: "CredentialArn",
|
|
925
942
|
# custom_role_arn: "CustomRoleArn",
|
|
943
|
+
# upstream_role_arn: "CustomRoleArn",
|
|
926
944
|
# upstream_repository_prefix: "PullThroughCacheRuleRepositoryPrefix",
|
|
927
945
|
# })
|
|
928
946
|
#
|
|
@@ -932,9 +950,10 @@ module Aws::ECR
|
|
|
932
950
|
# resp.upstream_registry_url #=> String
|
|
933
951
|
# resp.created_at #=> Time
|
|
934
952
|
# resp.registry_id #=> String
|
|
935
|
-
# resp.upstream_registry #=> String, one of "ecr", "ecr-public", "quay", "k8s", "docker-hub", "github-container-registry", "azure-container-registry", "gitlab-container-registry", "chainguard"
|
|
953
|
+
# resp.upstream_registry #=> String, one of "ecr", "ecr-public", "ecr-public-premium", "quay", "k8s", "docker-hub", "github-container-registry", "azure-container-registry", "gitlab-container-registry", "chainguard"
|
|
936
954
|
# resp.credential_arn #=> String
|
|
937
955
|
# resp.custom_role_arn #=> String
|
|
956
|
+
# resp.upstream_role_arn #=> String
|
|
938
957
|
# resp.upstream_repository_prefix #=> String
|
|
939
958
|
#
|
|
940
959
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreatePullThroughCacheRule AWS API Documentation
|
|
@@ -1326,6 +1345,7 @@ module Aws::ECR
|
|
|
1326
1345
|
# * {Types::DeletePullThroughCacheRuleResponse#registry_id #registry_id} => String
|
|
1327
1346
|
# * {Types::DeletePullThroughCacheRuleResponse#credential_arn #credential_arn} => String
|
|
1328
1347
|
# * {Types::DeletePullThroughCacheRuleResponse#custom_role_arn #custom_role_arn} => String
|
|
1348
|
+
# * {Types::DeletePullThroughCacheRuleResponse#upstream_role_arn #upstream_role_arn} => String
|
|
1329
1349
|
# * {Types::DeletePullThroughCacheRuleResponse#upstream_repository_prefix #upstream_repository_prefix} => String
|
|
1330
1350
|
#
|
|
1331
1351
|
# @example Request syntax with placeholder values
|
|
@@ -1343,6 +1363,7 @@ module Aws::ECR
|
|
|
1343
1363
|
# resp.registry_id #=> String
|
|
1344
1364
|
# resp.credential_arn #=> String
|
|
1345
1365
|
# resp.custom_role_arn #=> String
|
|
1366
|
+
# resp.upstream_role_arn #=> String
|
|
1346
1367
|
# resp.upstream_repository_prefix #=> String
|
|
1347
1368
|
#
|
|
1348
1369
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeletePullThroughCacheRule AWS API Documentation
|
|
@@ -2101,8 +2122,9 @@ module Aws::ECR
|
|
|
2101
2122
|
# resp.pull_through_cache_rules[0].registry_id #=> String
|
|
2102
2123
|
# resp.pull_through_cache_rules[0].credential_arn #=> String
|
|
2103
2124
|
# resp.pull_through_cache_rules[0].custom_role_arn #=> String
|
|
2125
|
+
# resp.pull_through_cache_rules[0].upstream_role_arn #=> String
|
|
2104
2126
|
# resp.pull_through_cache_rules[0].upstream_repository_prefix #=> String
|
|
2105
|
-
# resp.pull_through_cache_rules[0].upstream_registry #=> String, one of "ecr", "ecr-public", "quay", "k8s", "docker-hub", "github-container-registry", "azure-container-registry", "gitlab-container-registry", "chainguard"
|
|
2127
|
+
# resp.pull_through_cache_rules[0].upstream_registry #=> String, one of "ecr", "ecr-public", "ecr-public-premium", "quay", "k8s", "docker-hub", "github-container-registry", "azure-container-registry", "gitlab-container-registry", "chainguard"
|
|
2106
2128
|
# resp.pull_through_cache_rules[0].updated_at #=> Time
|
|
2107
2129
|
# resp.next_token #=> String
|
|
2108
2130
|
#
|
|
@@ -4494,13 +4516,26 @@ module Aws::ECR
|
|
|
4494
4516
|
# @option params [String] :credential_arn
|
|
4495
4517
|
# The Amazon Resource Name (ARN) of the Amazon Web Services Secrets
|
|
4496
4518
|
# Manager secret that identifies the credentials to authenticate to the
|
|
4497
|
-
# upstream registry.
|
|
4519
|
+
# upstream registry. You can't use this parameter with the Amazon ECR
|
|
4520
|
+
# Public Premium upstream registry.
|
|
4498
4521
|
#
|
|
4499
4522
|
# @option params [String] :custom_role_arn
|
|
4500
|
-
# Amazon Resource Name (ARN) of the IAM role
|
|
4501
|
-
# to authenticate to the
|
|
4523
|
+
# The Amazon Resource Name (ARN) of the IAM role that Amazon ECR assumes
|
|
4524
|
+
# to authenticate to the upstream registry. This role must be in the
|
|
4502
4525
|
# same account as the registry that you are configuring.
|
|
4503
4526
|
#
|
|
4527
|
+
# For an Amazon ECR Public Premium upstream registry, specify this role
|
|
4528
|
+
# together with `upstreamRoleArn`. If you specify neither role, Amazon
|
|
4529
|
+
# ECR uses its service-linked role.
|
|
4530
|
+
#
|
|
4531
|
+
# @option params [String] :upstream_role_arn
|
|
4532
|
+
# The Amazon Resource Name (ARN) of the IAM role in the `aws` partition
|
|
4533
|
+
# that Amazon ECR assumes through `customRoleArn` to authenticate to the
|
|
4534
|
+
# Amazon ECR Public Premium upstream registry. You can use this
|
|
4535
|
+
# parameter only for the Amazon ECR Public Premium upstream registry,
|
|
4536
|
+
# and it requires `customRoleArn`. If you omit both `customRoleArn` and
|
|
4537
|
+
# `upstreamRoleArn`, Amazon ECR uses its service-linked role.
|
|
4538
|
+
#
|
|
4504
4539
|
# @return [Types::UpdatePullThroughCacheRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4505
4540
|
#
|
|
4506
4541
|
# * {Types::UpdatePullThroughCacheRuleResponse#ecr_repository_prefix #ecr_repository_prefix} => String
|
|
@@ -4508,6 +4543,7 @@ module Aws::ECR
|
|
|
4508
4543
|
# * {Types::UpdatePullThroughCacheRuleResponse#updated_at #updated_at} => Time
|
|
4509
4544
|
# * {Types::UpdatePullThroughCacheRuleResponse#credential_arn #credential_arn} => String
|
|
4510
4545
|
# * {Types::UpdatePullThroughCacheRuleResponse#custom_role_arn #custom_role_arn} => String
|
|
4546
|
+
# * {Types::UpdatePullThroughCacheRuleResponse#upstream_role_arn #upstream_role_arn} => String
|
|
4511
4547
|
# * {Types::UpdatePullThroughCacheRuleResponse#upstream_repository_prefix #upstream_repository_prefix} => String
|
|
4512
4548
|
#
|
|
4513
4549
|
# @example Request syntax with placeholder values
|
|
@@ -4517,6 +4553,7 @@ module Aws::ECR
|
|
|
4517
4553
|
# ecr_repository_prefix: "PullThroughCacheRuleRepositoryPrefix", # required
|
|
4518
4554
|
# credential_arn: "CredentialArn",
|
|
4519
4555
|
# custom_role_arn: "CustomRoleArn",
|
|
4556
|
+
# upstream_role_arn: "CustomRoleArn",
|
|
4520
4557
|
# })
|
|
4521
4558
|
#
|
|
4522
4559
|
# @example Response structure
|
|
@@ -4526,6 +4563,7 @@ module Aws::ECR
|
|
|
4526
4563
|
# resp.updated_at #=> Time
|
|
4527
4564
|
# resp.credential_arn #=> String
|
|
4528
4565
|
# resp.custom_role_arn #=> String
|
|
4566
|
+
# resp.upstream_role_arn #=> String
|
|
4529
4567
|
# resp.upstream_repository_prefix #=> String
|
|
4530
4568
|
#
|
|
4531
4569
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UpdatePullThroughCacheRule AWS API Documentation
|
|
@@ -4797,6 +4835,7 @@ module Aws::ECR
|
|
|
4797
4835
|
# * {Types::ValidatePullThroughCacheRuleResponse#upstream_registry_url #upstream_registry_url} => String
|
|
4798
4836
|
# * {Types::ValidatePullThroughCacheRuleResponse#credential_arn #credential_arn} => String
|
|
4799
4837
|
# * {Types::ValidatePullThroughCacheRuleResponse#custom_role_arn #custom_role_arn} => String
|
|
4838
|
+
# * {Types::ValidatePullThroughCacheRuleResponse#upstream_role_arn #upstream_role_arn} => String
|
|
4800
4839
|
# * {Types::ValidatePullThroughCacheRuleResponse#upstream_repository_prefix #upstream_repository_prefix} => String
|
|
4801
4840
|
# * {Types::ValidatePullThroughCacheRuleResponse#is_valid #is_valid} => Boolean
|
|
4802
4841
|
# * {Types::ValidatePullThroughCacheRuleResponse#failure #failure} => String
|
|
@@ -4815,6 +4854,7 @@ module Aws::ECR
|
|
|
4815
4854
|
# resp.upstream_registry_url #=> String
|
|
4816
4855
|
# resp.credential_arn #=> String
|
|
4817
4856
|
# resp.custom_role_arn #=> String
|
|
4857
|
+
# resp.upstream_role_arn #=> String
|
|
4818
4858
|
# resp.upstream_repository_prefix #=> String
|
|
4819
4859
|
# resp.is_valid #=> Boolean
|
|
4820
4860
|
# resp.failure #=> String
|
|
@@ -4846,7 +4886,7 @@ module Aws::ECR
|
|
|
4846
4886
|
tracer: tracer
|
|
4847
4887
|
)
|
|
4848
4888
|
context[:gem_name] = 'aws-sdk-ecr'
|
|
4849
|
-
context[:gem_version] = '1.
|
|
4889
|
+
context[:gem_version] = '1.149.0'
|
|
4850
4890
|
Seahorse::Client::Request.new(handlers, context)
|
|
4851
4891
|
end
|
|
4852
4892
|
|
|
@@ -531,6 +531,7 @@ module Aws::ECR
|
|
|
531
531
|
CreatePullThroughCacheRuleRequest.add_member(:upstream_registry, Shapes::ShapeRef.new(shape: UpstreamRegistry, location_name: "upstreamRegistry"))
|
|
532
532
|
CreatePullThroughCacheRuleRequest.add_member(:credential_arn, Shapes::ShapeRef.new(shape: CredentialArn, location_name: "credentialArn"))
|
|
533
533
|
CreatePullThroughCacheRuleRequest.add_member(:custom_role_arn, Shapes::ShapeRef.new(shape: CustomRoleArn, location_name: "customRoleArn"))
|
|
534
|
+
CreatePullThroughCacheRuleRequest.add_member(:upstream_role_arn, Shapes::ShapeRef.new(shape: CustomRoleArn, location_name: "upstreamRoleArn"))
|
|
534
535
|
CreatePullThroughCacheRuleRequest.add_member(:upstream_repository_prefix, Shapes::ShapeRef.new(shape: PullThroughCacheRuleRepositoryPrefix, location_name: "upstreamRepositoryPrefix"))
|
|
535
536
|
CreatePullThroughCacheRuleRequest.struct_class = Types::CreatePullThroughCacheRuleRequest
|
|
536
537
|
|
|
@@ -541,6 +542,7 @@ module Aws::ECR
|
|
|
541
542
|
CreatePullThroughCacheRuleResponse.add_member(:upstream_registry, Shapes::ShapeRef.new(shape: UpstreamRegistry, location_name: "upstreamRegistry"))
|
|
542
543
|
CreatePullThroughCacheRuleResponse.add_member(:credential_arn, Shapes::ShapeRef.new(shape: CredentialArn, location_name: "credentialArn"))
|
|
543
544
|
CreatePullThroughCacheRuleResponse.add_member(:custom_role_arn, Shapes::ShapeRef.new(shape: CustomRoleArn, location_name: "customRoleArn"))
|
|
545
|
+
CreatePullThroughCacheRuleResponse.add_member(:upstream_role_arn, Shapes::ShapeRef.new(shape: CustomRoleArn, location_name: "upstreamRoleArn"))
|
|
544
546
|
CreatePullThroughCacheRuleResponse.add_member(:upstream_repository_prefix, Shapes::ShapeRef.new(shape: PullThroughCacheRuleRepositoryPrefix, location_name: "upstreamRepositoryPrefix"))
|
|
545
547
|
CreatePullThroughCacheRuleResponse.struct_class = Types::CreatePullThroughCacheRuleResponse
|
|
546
548
|
|
|
@@ -613,6 +615,7 @@ module Aws::ECR
|
|
|
613
615
|
DeletePullThroughCacheRuleResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
|
614
616
|
DeletePullThroughCacheRuleResponse.add_member(:credential_arn, Shapes::ShapeRef.new(shape: CredentialArn, location_name: "credentialArn"))
|
|
615
617
|
DeletePullThroughCacheRuleResponse.add_member(:custom_role_arn, Shapes::ShapeRef.new(shape: CustomRoleArn, location_name: "customRoleArn"))
|
|
618
|
+
DeletePullThroughCacheRuleResponse.add_member(:upstream_role_arn, Shapes::ShapeRef.new(shape: CustomRoleArn, location_name: "upstreamRoleArn"))
|
|
616
619
|
DeletePullThroughCacheRuleResponse.add_member(:upstream_repository_prefix, Shapes::ShapeRef.new(shape: PullThroughCacheRuleRepositoryPrefix, location_name: "upstreamRepositoryPrefix"))
|
|
617
620
|
DeletePullThroughCacheRuleResponse.struct_class = Types::DeletePullThroughCacheRuleResponse
|
|
618
621
|
|
|
@@ -1177,6 +1180,7 @@ module Aws::ECR
|
|
|
1177
1180
|
PullThroughCacheRule.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
|
1178
1181
|
PullThroughCacheRule.add_member(:credential_arn, Shapes::ShapeRef.new(shape: CredentialArn, location_name: "credentialArn"))
|
|
1179
1182
|
PullThroughCacheRule.add_member(:custom_role_arn, Shapes::ShapeRef.new(shape: CustomRoleArn, location_name: "customRoleArn"))
|
|
1183
|
+
PullThroughCacheRule.add_member(:upstream_role_arn, Shapes::ShapeRef.new(shape: CustomRoleArn, location_name: "upstreamRoleArn"))
|
|
1180
1184
|
PullThroughCacheRule.add_member(:upstream_repository_prefix, Shapes::ShapeRef.new(shape: PullThroughCacheRuleRepositoryPrefix, location_name: "upstreamRepositoryPrefix"))
|
|
1181
1185
|
PullThroughCacheRule.add_member(:upstream_registry, Shapes::ShapeRef.new(shape: UpstreamRegistry, location_name: "upstreamRegistry"))
|
|
1182
1186
|
PullThroughCacheRule.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedTimestamp, location_name: "updatedAt"))
|
|
@@ -1607,6 +1611,7 @@ module Aws::ECR
|
|
|
1607
1611
|
UpdatePullThroughCacheRuleRequest.add_member(:ecr_repository_prefix, Shapes::ShapeRef.new(shape: PullThroughCacheRuleRepositoryPrefix, required: true, location_name: "ecrRepositoryPrefix"))
|
|
1608
1612
|
UpdatePullThroughCacheRuleRequest.add_member(:credential_arn, Shapes::ShapeRef.new(shape: CredentialArn, location_name: "credentialArn"))
|
|
1609
1613
|
UpdatePullThroughCacheRuleRequest.add_member(:custom_role_arn, Shapes::ShapeRef.new(shape: CustomRoleArn, location_name: "customRoleArn"))
|
|
1614
|
+
UpdatePullThroughCacheRuleRequest.add_member(:upstream_role_arn, Shapes::ShapeRef.new(shape: CustomRoleArn, location_name: "upstreamRoleArn"))
|
|
1610
1615
|
UpdatePullThroughCacheRuleRequest.struct_class = Types::UpdatePullThroughCacheRuleRequest
|
|
1611
1616
|
|
|
1612
1617
|
UpdatePullThroughCacheRuleResponse.add_member(:ecr_repository_prefix, Shapes::ShapeRef.new(shape: PullThroughCacheRuleRepositoryPrefix, location_name: "ecrRepositoryPrefix"))
|
|
@@ -1614,6 +1619,7 @@ module Aws::ECR
|
|
|
1614
1619
|
UpdatePullThroughCacheRuleResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedTimestamp, location_name: "updatedAt"))
|
|
1615
1620
|
UpdatePullThroughCacheRuleResponse.add_member(:credential_arn, Shapes::ShapeRef.new(shape: CredentialArn, location_name: "credentialArn"))
|
|
1616
1621
|
UpdatePullThroughCacheRuleResponse.add_member(:custom_role_arn, Shapes::ShapeRef.new(shape: CustomRoleArn, location_name: "customRoleArn"))
|
|
1622
|
+
UpdatePullThroughCacheRuleResponse.add_member(:upstream_role_arn, Shapes::ShapeRef.new(shape: CustomRoleArn, location_name: "upstreamRoleArn"))
|
|
1617
1623
|
UpdatePullThroughCacheRuleResponse.add_member(:upstream_repository_prefix, Shapes::ShapeRef.new(shape: PullThroughCacheRuleRepositoryPrefix, location_name: "upstreamRepositoryPrefix"))
|
|
1618
1624
|
UpdatePullThroughCacheRuleResponse.struct_class = Types::UpdatePullThroughCacheRuleResponse
|
|
1619
1625
|
|
|
@@ -1659,6 +1665,7 @@ module Aws::ECR
|
|
|
1659
1665
|
ValidatePullThroughCacheRuleResponse.add_member(:upstream_registry_url, Shapes::ShapeRef.new(shape: Url, location_name: "upstreamRegistryUrl"))
|
|
1660
1666
|
ValidatePullThroughCacheRuleResponse.add_member(:credential_arn, Shapes::ShapeRef.new(shape: CredentialArn, location_name: "credentialArn"))
|
|
1661
1667
|
ValidatePullThroughCacheRuleResponse.add_member(:custom_role_arn, Shapes::ShapeRef.new(shape: CustomRoleArn, location_name: "customRoleArn"))
|
|
1668
|
+
ValidatePullThroughCacheRuleResponse.add_member(:upstream_role_arn, Shapes::ShapeRef.new(shape: CustomRoleArn, location_name: "upstreamRoleArn"))
|
|
1662
1669
|
ValidatePullThroughCacheRuleResponse.add_member(:upstream_repository_prefix, Shapes::ShapeRef.new(shape: PullThroughCacheRuleRepositoryPrefix, location_name: "upstreamRepositoryPrefix"))
|
|
1663
1670
|
ValidatePullThroughCacheRuleResponse.add_member(:is_valid, Shapes::ShapeRef.new(shape: IsPTCRuleValid, location_name: "isValid"))
|
|
1664
1671
|
ValidatePullThroughCacheRuleResponse.add_member(:failure, Shapes::ShapeRef.new(shape: PTCValidateFailure, location_name: "failure"))
|
data/lib/aws-sdk-ecr/types.rb
CHANGED
|
@@ -381,6 +381,10 @@ module Aws::ECR
|
|
|
381
381
|
#
|
|
382
382
|
# * Amazon ECR Public (`ecr-public`) – `public.ecr.aws`
|
|
383
383
|
#
|
|
384
|
+
# * Amazon ECR Public Premium (`ecr-public-premium`) –
|
|
385
|
+
# `ecr-premium.aws.com`, the registry endpoint for Amazon ECR Public
|
|
386
|
+
# Premium images
|
|
387
|
+
#
|
|
384
388
|
# * Docker Hub (`docker-hub`) – `registry-1.docker.io`
|
|
385
389
|
#
|
|
386
390
|
# * GitHub Container Registry (`github-container-registry`) –
|
|
@@ -410,13 +414,26 @@ module Aws::ECR
|
|
|
410
414
|
# @!attribute [rw] credential_arn
|
|
411
415
|
# The Amazon Resource Name (ARN) of the Amazon Web Services Secrets
|
|
412
416
|
# Manager secret that identifies the credentials to authenticate to
|
|
413
|
-
# the upstream registry.
|
|
417
|
+
# the upstream registry. You can't use this parameter with the Amazon
|
|
418
|
+
# ECR Public Premium upstream registry.
|
|
414
419
|
# @return [String]
|
|
415
420
|
#
|
|
416
421
|
# @!attribute [rw] custom_role_arn
|
|
417
|
-
# Amazon Resource Name (ARN) of the IAM role
|
|
418
|
-
#
|
|
422
|
+
# The Amazon Resource Name (ARN) of the IAM role that Amazon ECR
|
|
423
|
+
# assumes to authenticate to the upstream registry. This role must be
|
|
419
424
|
# in the same account as the registry that you are configuring.
|
|
425
|
+
#
|
|
426
|
+
# For an Amazon ECR Public Premium upstream registry, specify this
|
|
427
|
+
# role together with `upstreamRoleArn`. If you specify neither role,
|
|
428
|
+
# Amazon ECR uses its service-linked role.
|
|
429
|
+
# @return [String]
|
|
430
|
+
#
|
|
431
|
+
# @!attribute [rw] upstream_role_arn
|
|
432
|
+
# The Amazon Resource Name (ARN) of the IAM role in the `aws`
|
|
433
|
+
# partition that Amazon ECR assumes through `customRoleArn` to
|
|
434
|
+
# authenticate to the Amazon ECR Public Premium upstream registry. You
|
|
435
|
+
# can use this parameter only for the Amazon ECR Public Premium
|
|
436
|
+
# upstream registry, and it requires `customRoleArn`.
|
|
420
437
|
# @return [String]
|
|
421
438
|
#
|
|
422
439
|
# @!attribute [rw] upstream_repository_prefix
|
|
@@ -434,6 +451,7 @@ module Aws::ECR
|
|
|
434
451
|
:upstream_registry,
|
|
435
452
|
:credential_arn,
|
|
436
453
|
:custom_role_arn,
|
|
454
|
+
:upstream_role_arn,
|
|
437
455
|
:upstream_repository_prefix)
|
|
438
456
|
SENSITIVE = []
|
|
439
457
|
include Aws::Structure
|
|
@@ -472,6 +490,11 @@ module Aws::ECR
|
|
|
472
490
|
# The ARN of the IAM role associated with the pull through cache rule.
|
|
473
491
|
# @return [String]
|
|
474
492
|
#
|
|
493
|
+
# @!attribute [rw] upstream_role_arn
|
|
494
|
+
# The ARN of the IAM role that Amazon ECR assumes to authenticate to
|
|
495
|
+
# the Amazon ECR Public Premium upstream registry.
|
|
496
|
+
# @return [String]
|
|
497
|
+
#
|
|
475
498
|
# @!attribute [rw] upstream_repository_prefix
|
|
476
499
|
# The upstream repository prefix associated with the pull through
|
|
477
500
|
# cache rule.
|
|
@@ -487,6 +510,7 @@ module Aws::ECR
|
|
|
487
510
|
:upstream_registry,
|
|
488
511
|
:credential_arn,
|
|
489
512
|
:custom_role_arn,
|
|
513
|
+
:upstream_role_arn,
|
|
490
514
|
:upstream_repository_prefix)
|
|
491
515
|
SENSITIVE = []
|
|
492
516
|
include Aws::Structure
|
|
@@ -858,6 +882,11 @@ module Aws::ECR
|
|
|
858
882
|
# The ARN of the IAM role associated with the pull through cache rule.
|
|
859
883
|
# @return [String]
|
|
860
884
|
#
|
|
885
|
+
# @!attribute [rw] upstream_role_arn
|
|
886
|
+
# The ARN of the IAM role that Amazon ECR assumes to authenticate to
|
|
887
|
+
# the Amazon ECR Public Premium upstream registry.
|
|
888
|
+
# @return [String]
|
|
889
|
+
#
|
|
861
890
|
# @!attribute [rw] upstream_repository_prefix
|
|
862
891
|
# The upstream repository prefix associated with the pull through
|
|
863
892
|
# cache rule.
|
|
@@ -872,6 +901,7 @@ module Aws::ECR
|
|
|
872
901
|
:registry_id,
|
|
873
902
|
:credential_arn,
|
|
874
903
|
:custom_role_arn,
|
|
904
|
+
:upstream_role_arn,
|
|
875
905
|
:upstream_repository_prefix)
|
|
876
906
|
SENSITIVE = []
|
|
877
907
|
include Aws::Structure
|
|
@@ -3739,6 +3769,11 @@ module Aws::ECR
|
|
|
3739
3769
|
# The ARN of the IAM role associated with the pull through cache rule.
|
|
3740
3770
|
# @return [String]
|
|
3741
3771
|
#
|
|
3772
|
+
# @!attribute [rw] upstream_role_arn
|
|
3773
|
+
# The ARN of the IAM role that Amazon ECR assumes to authenticate to
|
|
3774
|
+
# the Amazon ECR Public Premium upstream registry.
|
|
3775
|
+
# @return [String]
|
|
3776
|
+
#
|
|
3742
3777
|
# @!attribute [rw] upstream_repository_prefix
|
|
3743
3778
|
# The upstream repository prefix associated with the pull through
|
|
3744
3779
|
# cache rule.
|
|
@@ -3763,6 +3798,7 @@ module Aws::ECR
|
|
|
3763
3798
|
:registry_id,
|
|
3764
3799
|
:credential_arn,
|
|
3765
3800
|
:custom_role_arn,
|
|
3801
|
+
:upstream_role_arn,
|
|
3766
3802
|
:upstream_repository_prefix,
|
|
3767
3803
|
:upstream_registry,
|
|
3768
3804
|
:updated_at)
|
|
@@ -5687,13 +5723,28 @@ module Aws::ECR
|
|
|
5687
5723
|
# @!attribute [rw] credential_arn
|
|
5688
5724
|
# The Amazon Resource Name (ARN) of the Amazon Web Services Secrets
|
|
5689
5725
|
# Manager secret that identifies the credentials to authenticate to
|
|
5690
|
-
# the upstream registry.
|
|
5726
|
+
# the upstream registry. You can't use this parameter with the Amazon
|
|
5727
|
+
# ECR Public Premium upstream registry.
|
|
5691
5728
|
# @return [String]
|
|
5692
5729
|
#
|
|
5693
5730
|
# @!attribute [rw] custom_role_arn
|
|
5694
|
-
# Amazon Resource Name (ARN) of the IAM role
|
|
5695
|
-
#
|
|
5731
|
+
# The Amazon Resource Name (ARN) of the IAM role that Amazon ECR
|
|
5732
|
+
# assumes to authenticate to the upstream registry. This role must be
|
|
5696
5733
|
# in the same account as the registry that you are configuring.
|
|
5734
|
+
#
|
|
5735
|
+
# For an Amazon ECR Public Premium upstream registry, specify this
|
|
5736
|
+
# role together with `upstreamRoleArn`. If you specify neither role,
|
|
5737
|
+
# Amazon ECR uses its service-linked role.
|
|
5738
|
+
# @return [String]
|
|
5739
|
+
#
|
|
5740
|
+
# @!attribute [rw] upstream_role_arn
|
|
5741
|
+
# The Amazon Resource Name (ARN) of the IAM role in the `aws`
|
|
5742
|
+
# partition that Amazon ECR assumes through `customRoleArn` to
|
|
5743
|
+
# authenticate to the Amazon ECR Public Premium upstream registry. You
|
|
5744
|
+
# can use this parameter only for the Amazon ECR Public Premium
|
|
5745
|
+
# upstream registry, and it requires `customRoleArn`. If you omit both
|
|
5746
|
+
# `customRoleArn` and `upstreamRoleArn`, Amazon ECR uses its
|
|
5747
|
+
# service-linked role.
|
|
5697
5748
|
# @return [String]
|
|
5698
5749
|
#
|
|
5699
5750
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UpdatePullThroughCacheRuleRequest AWS API Documentation
|
|
@@ -5702,7 +5753,8 @@ module Aws::ECR
|
|
|
5702
5753
|
:registry_id,
|
|
5703
5754
|
:ecr_repository_prefix,
|
|
5704
5755
|
:credential_arn,
|
|
5705
|
-
:custom_role_arn
|
|
5756
|
+
:custom_role_arn,
|
|
5757
|
+
:upstream_role_arn)
|
|
5706
5758
|
SENSITIVE = []
|
|
5707
5759
|
include Aws::Structure
|
|
5708
5760
|
end
|
|
@@ -5730,6 +5782,11 @@ module Aws::ECR
|
|
|
5730
5782
|
# The ARN of the IAM role associated with the pull through cache rule.
|
|
5731
5783
|
# @return [String]
|
|
5732
5784
|
#
|
|
5785
|
+
# @!attribute [rw] upstream_role_arn
|
|
5786
|
+
# The ARN of the IAM role that Amazon ECR assumes to authenticate to
|
|
5787
|
+
# the Amazon ECR Public Premium upstream registry.
|
|
5788
|
+
# @return [String]
|
|
5789
|
+
#
|
|
5733
5790
|
# @!attribute [rw] upstream_repository_prefix
|
|
5734
5791
|
# The upstream repository prefix associated with the pull through
|
|
5735
5792
|
# cache rule.
|
|
@@ -5743,6 +5800,7 @@ module Aws::ECR
|
|
|
5743
5800
|
:updated_at,
|
|
5744
5801
|
:credential_arn,
|
|
5745
5802
|
:custom_role_arn,
|
|
5803
|
+
:upstream_role_arn,
|
|
5746
5804
|
:upstream_repository_prefix)
|
|
5747
5805
|
SENSITIVE = []
|
|
5748
5806
|
include Aws::Structure
|
|
@@ -5979,6 +6037,11 @@ module Aws::ECR
|
|
|
5979
6037
|
# The ARN of the IAM role associated with the pull through cache rule.
|
|
5980
6038
|
# @return [String]
|
|
5981
6039
|
#
|
|
6040
|
+
# @!attribute [rw] upstream_role_arn
|
|
6041
|
+
# The ARN of the IAM role that Amazon ECR assumes to authenticate to
|
|
6042
|
+
# the Amazon ECR Public Premium upstream registry.
|
|
6043
|
+
# @return [String]
|
|
6044
|
+
#
|
|
5982
6045
|
# @!attribute [rw] upstream_repository_prefix
|
|
5983
6046
|
# The upstream repository prefix associated with the pull through
|
|
5984
6047
|
# cache rule.
|
|
@@ -6009,6 +6072,7 @@ module Aws::ECR
|
|
|
6009
6072
|
:upstream_registry_url,
|
|
6010
6073
|
:credential_arn,
|
|
6011
6074
|
:custom_role_arn,
|
|
6075
|
+
:upstream_role_arn,
|
|
6012
6076
|
:upstream_repository_prefix,
|
|
6013
6077
|
:is_valid,
|
|
6014
6078
|
:failure)
|
data/lib/aws-sdk-ecr.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -163,9 +163,10 @@ module Aws
|
|
|
163
163
|
def upstream_registry_url: () -> ::String
|
|
164
164
|
def created_at: () -> ::Time
|
|
165
165
|
def registry_id: () -> ::String
|
|
166
|
-
def upstream_registry: () -> ("ecr" | "ecr-public" | "quay" | "k8s" | "docker-hub" | "github-container-registry" | "azure-container-registry" | "gitlab-container-registry" | "chainguard")
|
|
166
|
+
def upstream_registry: () -> ("ecr" | "ecr-public" | "ecr-public-premium" | "quay" | "k8s" | "docker-hub" | "github-container-registry" | "azure-container-registry" | "gitlab-container-registry" | "chainguard")
|
|
167
167
|
def credential_arn: () -> ::String
|
|
168
168
|
def custom_role_arn: () -> ::String
|
|
169
|
+
def upstream_role_arn: () -> ::String
|
|
169
170
|
def upstream_repository_prefix: () -> ::String
|
|
170
171
|
end
|
|
171
172
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#create_pull_through_cache_rule-instance_method
|
|
@@ -173,9 +174,10 @@ module Aws
|
|
|
173
174
|
ecr_repository_prefix: ::String,
|
|
174
175
|
upstream_registry_url: ::String,
|
|
175
176
|
?registry_id: ::String,
|
|
176
|
-
?upstream_registry: ("ecr" | "ecr-public" | "quay" | "k8s" | "docker-hub" | "github-container-registry" | "azure-container-registry" | "gitlab-container-registry" | "chainguard"),
|
|
177
|
+
?upstream_registry: ("ecr" | "ecr-public" | "ecr-public-premium" | "quay" | "k8s" | "docker-hub" | "github-container-registry" | "azure-container-registry" | "gitlab-container-registry" | "chainguard"),
|
|
177
178
|
?credential_arn: ::String,
|
|
178
179
|
?custom_role_arn: ::String,
|
|
180
|
+
?upstream_role_arn: ::String,
|
|
179
181
|
?upstream_repository_prefix: ::String
|
|
180
182
|
) -> _CreatePullThroughCacheRuleResponseSuccess
|
|
181
183
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePullThroughCacheRuleResponseSuccess
|
|
@@ -266,6 +268,7 @@ module Aws
|
|
|
266
268
|
def registry_id: () -> ::String
|
|
267
269
|
def credential_arn: () -> ::String
|
|
268
270
|
def custom_role_arn: () -> ::String
|
|
271
|
+
def upstream_role_arn: () -> ::String
|
|
269
272
|
def upstream_repository_prefix: () -> ::String
|
|
270
273
|
end
|
|
271
274
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#delete_pull_through_cache_rule-instance_method
|
|
@@ -1008,6 +1011,7 @@ module Aws
|
|
|
1008
1011
|
def updated_at: () -> ::Time
|
|
1009
1012
|
def credential_arn: () -> ::String
|
|
1010
1013
|
def custom_role_arn: () -> ::String
|
|
1014
|
+
def upstream_role_arn: () -> ::String
|
|
1011
1015
|
def upstream_repository_prefix: () -> ::String
|
|
1012
1016
|
end
|
|
1013
1017
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#update_pull_through_cache_rule-instance_method
|
|
@@ -1015,7 +1019,8 @@ module Aws
|
|
|
1015
1019
|
?registry_id: ::String,
|
|
1016
1020
|
ecr_repository_prefix: ::String,
|
|
1017
1021
|
?credential_arn: ::String,
|
|
1018
|
-
?custom_role_arn: ::String
|
|
1022
|
+
?custom_role_arn: ::String,
|
|
1023
|
+
?upstream_role_arn: ::String
|
|
1019
1024
|
) -> _UpdatePullThroughCacheRuleResponseSuccess
|
|
1020
1025
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePullThroughCacheRuleResponseSuccess
|
|
1021
1026
|
|
|
@@ -1077,6 +1082,7 @@ module Aws
|
|
|
1077
1082
|
def upstream_registry_url: () -> ::String
|
|
1078
1083
|
def credential_arn: () -> ::String
|
|
1079
1084
|
def custom_role_arn: () -> ::String
|
|
1085
|
+
def upstream_role_arn: () -> ::String
|
|
1080
1086
|
def upstream_repository_prefix: () -> ::String
|
|
1081
1087
|
def is_valid: () -> bool
|
|
1082
1088
|
def failure: () -> ::String
|
data/sig/types.rbs
CHANGED
|
@@ -111,9 +111,10 @@ module Aws::ECR
|
|
|
111
111
|
attr_accessor ecr_repository_prefix: ::String
|
|
112
112
|
attr_accessor upstream_registry_url: ::String
|
|
113
113
|
attr_accessor registry_id: ::String
|
|
114
|
-
attr_accessor upstream_registry: ("ecr" | "ecr-public" | "quay" | "k8s" | "docker-hub" | "github-container-registry" | "azure-container-registry" | "gitlab-container-registry" | "chainguard")
|
|
114
|
+
attr_accessor upstream_registry: ("ecr" | "ecr-public" | "ecr-public-premium" | "quay" | "k8s" | "docker-hub" | "github-container-registry" | "azure-container-registry" | "gitlab-container-registry" | "chainguard")
|
|
115
115
|
attr_accessor credential_arn: ::String
|
|
116
116
|
attr_accessor custom_role_arn: ::String
|
|
117
|
+
attr_accessor upstream_role_arn: ::String
|
|
117
118
|
attr_accessor upstream_repository_prefix: ::String
|
|
118
119
|
SENSITIVE: []
|
|
119
120
|
end
|
|
@@ -123,9 +124,10 @@ module Aws::ECR
|
|
|
123
124
|
attr_accessor upstream_registry_url: ::String
|
|
124
125
|
attr_accessor created_at: ::Time
|
|
125
126
|
attr_accessor registry_id: ::String
|
|
126
|
-
attr_accessor upstream_registry: ("ecr" | "ecr-public" | "quay" | "k8s" | "docker-hub" | "github-container-registry" | "azure-container-registry" | "gitlab-container-registry" | "chainguard")
|
|
127
|
+
attr_accessor upstream_registry: ("ecr" | "ecr-public" | "ecr-public-premium" | "quay" | "k8s" | "docker-hub" | "github-container-registry" | "azure-container-registry" | "gitlab-container-registry" | "chainguard")
|
|
127
128
|
attr_accessor credential_arn: ::String
|
|
128
129
|
attr_accessor custom_role_arn: ::String
|
|
130
|
+
attr_accessor upstream_role_arn: ::String
|
|
129
131
|
attr_accessor upstream_repository_prefix: ::String
|
|
130
132
|
SENSITIVE: []
|
|
131
133
|
end
|
|
@@ -216,6 +218,7 @@ module Aws::ECR
|
|
|
216
218
|
attr_accessor registry_id: ::String
|
|
217
219
|
attr_accessor credential_arn: ::String
|
|
218
220
|
attr_accessor custom_role_arn: ::String
|
|
221
|
+
attr_accessor upstream_role_arn: ::String
|
|
219
222
|
attr_accessor upstream_repository_prefix: ::String
|
|
220
223
|
SENSITIVE: []
|
|
221
224
|
end
|
|
@@ -953,8 +956,9 @@ module Aws::ECR
|
|
|
953
956
|
attr_accessor registry_id: ::String
|
|
954
957
|
attr_accessor credential_arn: ::String
|
|
955
958
|
attr_accessor custom_role_arn: ::String
|
|
959
|
+
attr_accessor upstream_role_arn: ::String
|
|
956
960
|
attr_accessor upstream_repository_prefix: ::String
|
|
957
|
-
attr_accessor upstream_registry: ("ecr" | "ecr-public" | "quay" | "k8s" | "docker-hub" | "github-container-registry" | "azure-container-registry" | "gitlab-container-registry" | "chainguard")
|
|
961
|
+
attr_accessor upstream_registry: ("ecr" | "ecr-public" | "ecr-public-premium" | "quay" | "k8s" | "docker-hub" | "github-container-registry" | "azure-container-registry" | "gitlab-container-registry" | "chainguard")
|
|
958
962
|
attr_accessor updated_at: ::Time
|
|
959
963
|
SENSITIVE: []
|
|
960
964
|
end
|
|
@@ -1500,6 +1504,7 @@ module Aws::ECR
|
|
|
1500
1504
|
attr_accessor ecr_repository_prefix: ::String
|
|
1501
1505
|
attr_accessor credential_arn: ::String
|
|
1502
1506
|
attr_accessor custom_role_arn: ::String
|
|
1507
|
+
attr_accessor upstream_role_arn: ::String
|
|
1503
1508
|
SENSITIVE: []
|
|
1504
1509
|
end
|
|
1505
1510
|
|
|
@@ -1509,6 +1514,7 @@ module Aws::ECR
|
|
|
1509
1514
|
attr_accessor updated_at: ::Time
|
|
1510
1515
|
attr_accessor credential_arn: ::String
|
|
1511
1516
|
attr_accessor custom_role_arn: ::String
|
|
1517
|
+
attr_accessor upstream_role_arn: ::String
|
|
1512
1518
|
attr_accessor upstream_repository_prefix: ::String
|
|
1513
1519
|
SENSITIVE: []
|
|
1514
1520
|
end
|
|
@@ -1568,6 +1574,7 @@ module Aws::ECR
|
|
|
1568
1574
|
attr_accessor upstream_registry_url: ::String
|
|
1569
1575
|
attr_accessor credential_arn: ::String
|
|
1570
1576
|
attr_accessor custom_role_arn: ::String
|
|
1577
|
+
attr_accessor upstream_role_arn: ::String
|
|
1571
1578
|
attr_accessor upstream_repository_prefix: ::String
|
|
1572
1579
|
attr_accessor is_valid: bool
|
|
1573
1580
|
attr_accessor failure: ::String
|