aws-sdk-ecrpublic 1.13.0 → 1.14.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-ecrpublic/client.rb +140 -138
- data/lib/aws-sdk-ecrpublic/client_api.rb +21 -0
- data/lib/aws-sdk-ecrpublic/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-ecrpublic/endpoint_provider.rb +75 -75
- data/lib/aws-sdk-ecrpublic/errors.rb +16 -0
- data/lib/aws-sdk-ecrpublic/types.rb +260 -489
- data/lib/aws-sdk-ecrpublic.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 103ab8f4a1a088206c941dbac92eb878c1df0c74ef6e863908096230aedd62f7
|
4
|
+
data.tar.gz: 0c687cbb301f578b2c148257dbe4732b8d1c31b658bcf46339f3b2951891311c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca5c36ade6895036f5a4c92207eef74d1819195562926917f0a64bafbfa79f5fc55f35f5728d732da3161f2943e4c7b339b20b9f2a9e6bad1080cb4f704b1545
|
7
|
+
data.tar.gz: bc0c45fb4ea81a1907bc87f63ee8984f18012685800ef1528355dc59fbe801e034cfa9917b5f5d6d7392ecf3372d13a1928c76be5f991e1566761d420a9114bc
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.14.0
|
@@ -378,7 +378,7 @@ module Aws::ECRPublic
|
|
378
378
|
|
379
379
|
# @!group API Operations
|
380
380
|
|
381
|
-
# Checks the availability of one or more image layers within a
|
381
|
+
# Checks the availability of one or more image layers that are within a
|
382
382
|
# repository in a public registry. When an image is pushed to a
|
383
383
|
# repository, each image layer is checked to verify if it has been
|
384
384
|
# uploaded before. If it has been uploaded, then the image layer is
|
@@ -391,12 +391,12 @@ module Aws::ECRPublic
|
|
391
391
|
# </note>
|
392
392
|
#
|
393
393
|
# @option params [String] :registry_id
|
394
|
-
# The
|
395
|
-
# the image layers to check. If you do
|
396
|
-
# default public registry is assumed.
|
394
|
+
# The Amazon Web Services account ID, or registry alias, associated with
|
395
|
+
# the public registry that contains the image layers to check. If you do
|
396
|
+
# not specify a registry, the default public registry is assumed.
|
397
397
|
#
|
398
398
|
# @option params [required, String] :repository_name
|
399
|
-
# The name of the repository that
|
399
|
+
# The name of the repository that's associated with the image layers to
|
400
400
|
# check.
|
401
401
|
#
|
402
402
|
# @option params [required, Array<String>] :layer_digests
|
@@ -436,8 +436,8 @@ module Aws::ECRPublic
|
|
436
436
|
req.send_request(options)
|
437
437
|
end
|
438
438
|
|
439
|
-
# Deletes a list of specified images within a repository in a
|
440
|
-
# registry. Images are specified with either an `imageTag` or
|
439
|
+
# Deletes a list of specified images that are within a repository in a
|
440
|
+
# public registry. Images are specified with either an `imageTag` or
|
441
441
|
# `imageDigest`.
|
442
442
|
#
|
443
443
|
# You can remove a tag from an image by specifying the image's tag in
|
@@ -445,12 +445,12 @@ module Aws::ECRPublic
|
|
445
445
|
# deleted from your repository.
|
446
446
|
#
|
447
447
|
# You can completely delete an image (and all of its tags) by specifying
|
448
|
-
# the image
|
448
|
+
# the digest of the image in your request.
|
449
449
|
#
|
450
450
|
# @option params [String] :registry_id
|
451
|
-
# The
|
452
|
-
# image to delete. If you do not specify a
|
453
|
-
# registry is assumed.
|
451
|
+
# The Amazon Web Services account ID that's associated with the
|
452
|
+
# registry that contains the image to delete. If you do not specify a
|
453
|
+
# registry, the default public registry is assumed.
|
454
454
|
#
|
455
455
|
# @option params [required, String] :repository_name
|
456
456
|
# The repository in a public registry that contains the image to delete.
|
@@ -498,13 +498,13 @@ module Aws::ECRPublic
|
|
498
498
|
req.send_request(options)
|
499
499
|
end
|
500
500
|
|
501
|
-
# Informs Amazon ECR that the image layer upload
|
501
|
+
# Informs Amazon ECR that the image layer upload is complete for a
|
502
502
|
# specified public registry, repository name, and upload ID. You can
|
503
503
|
# optionally provide a `sha256` digest of the image layer for data
|
504
504
|
# validation purposes.
|
505
505
|
#
|
506
506
|
# When an image is pushed, the CompleteLayerUpload API is called once
|
507
|
-
#
|
507
|
+
# for each new image layer to verify that the upload is complete.
|
508
508
|
#
|
509
509
|
# <note markdown="1"> This operation is used by the Amazon ECR proxy and is not generally
|
510
510
|
# used by customers for pulling and pushing images. In most cases, you
|
@@ -513,9 +513,9 @@ module Aws::ECRPublic
|
|
513
513
|
# </note>
|
514
514
|
#
|
515
515
|
# @option params [String] :registry_id
|
516
|
-
# The
|
517
|
-
# layers. If you do not specify a
|
518
|
-
# is assumed.
|
516
|
+
# The Amazon Web Services account ID, or registry alias, associated with
|
517
|
+
# the registry where layers are uploaded. If you do not specify a
|
518
|
+
# registry, the default public registry is assumed.
|
519
519
|
#
|
520
520
|
# @option params [required, String] :repository_name
|
521
521
|
# The name of the repository in a public registry to associate with the
|
@@ -570,9 +570,9 @@ module Aws::ECRPublic
|
|
570
570
|
#
|
571
571
|
# @option params [required, String] :repository_name
|
572
572
|
# The name to use for the repository. This appears publicly in the
|
573
|
-
# Amazon ECR Public Gallery. The repository name
|
574
|
-
# own (
|
575
|
-
#
|
573
|
+
# Amazon ECR Public Gallery. The repository name can be specified on its
|
574
|
+
# own (for example `nginx-web-app`) or prepended with a namespace to
|
575
|
+
# group the repository into a category (for example
|
576
576
|
# `project-a/nginx-web-app`).
|
577
577
|
#
|
578
578
|
# @option params [Types::RepositoryCatalogDataInput] :catalog_data
|
@@ -580,11 +580,11 @@ module Aws::ECRPublic
|
|
580
580
|
# Amazon ECR Public Gallery.
|
581
581
|
#
|
582
582
|
# @option params [Array<Types::Tag>] :tags
|
583
|
-
# The metadata that you apply to
|
584
|
-
#
|
585
|
-
# both of
|
586
|
-
# of 128 characters, and tag values can have a maximum length of
|
587
|
-
# characters.
|
583
|
+
# The metadata that you apply to each repository to help categorize and
|
584
|
+
# organize your repositories. Each tag consists of a key and an optional
|
585
|
+
# value. You define both of them. Tag keys can have a maximum character
|
586
|
+
# length of 128 characters, and tag values can have a maximum length of
|
587
|
+
# 256 characters.
|
588
588
|
#
|
589
589
|
# @return [Types::CreateRepositoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
590
590
|
#
|
@@ -638,20 +638,22 @@ module Aws::ECRPublic
|
|
638
638
|
end
|
639
639
|
|
640
640
|
# Deletes a repository in a public registry. If the repository contains
|
641
|
-
# images, you must either delete all images in the repository
|
642
|
-
# `force` option
|
643
|
-
# the repository.
|
641
|
+
# images, you must either manually delete all images in the repository
|
642
|
+
# or use the `force` option. This option deletes all images on your
|
643
|
+
# behalf before deleting the repository.
|
644
644
|
#
|
645
645
|
# @option params [String] :registry_id
|
646
|
-
# The
|
647
|
-
# the repository to delete. If you do not specify
|
648
|
-
# default public registry is assumed.
|
646
|
+
# The Amazon Web Services account ID that's associated with the public
|
647
|
+
# registry that contains the repository to delete. If you do not specify
|
648
|
+
# a registry, the default public registry is assumed.
|
649
649
|
#
|
650
650
|
# @option params [required, String] :repository_name
|
651
651
|
# The name of the repository to delete.
|
652
652
|
#
|
653
653
|
# @option params [Boolean] :force
|
654
|
-
#
|
654
|
+
# The force option can be used to delete a repository that contains
|
655
|
+
# images. If the force option is not used, the repository must be empty
|
656
|
+
# prior to deletion.
|
655
657
|
#
|
656
658
|
# @return [Types::DeleteRepositoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
657
659
|
#
|
@@ -682,16 +684,16 @@ module Aws::ECRPublic
|
|
682
684
|
req.send_request(options)
|
683
685
|
end
|
684
686
|
|
685
|
-
# Deletes the repository policy associated with the specified
|
687
|
+
# Deletes the repository policy that's associated with the specified
|
686
688
|
# repository.
|
687
689
|
#
|
688
690
|
# @option params [String] :registry_id
|
689
|
-
# The
|
690
|
-
# the repository policy to delete. If you do not
|
691
|
-
# default public registry is assumed.
|
691
|
+
# The Amazon Web Services account ID that's associated with the public
|
692
|
+
# registry that contains the repository policy to delete. If you do not
|
693
|
+
# specify a registry, the default public registry is assumed.
|
692
694
|
#
|
693
695
|
# @option params [required, String] :repository_name
|
694
|
-
# The name of the repository that
|
696
|
+
# The name of the repository that's associated with the repository
|
695
697
|
# policy to delete.
|
696
698
|
#
|
697
699
|
# @return [Types::DeleteRepositoryPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -725,32 +727,32 @@ module Aws::ECRPublic
|
|
725
727
|
# Returns the image tag details for a repository in a public registry.
|
726
728
|
#
|
727
729
|
# @option params [String] :registry_id
|
728
|
-
# The
|
729
|
-
# the repository
|
730
|
-
# registry, the default public registry is assumed.
|
730
|
+
# The Amazon Web Services account ID that's associated with the public
|
731
|
+
# registry that contains the repository where images are described. If
|
732
|
+
# you do not specify a registry, the default public registry is assumed.
|
731
733
|
#
|
732
734
|
# @option params [required, String] :repository_name
|
733
735
|
# The name of the repository that contains the image tag details to
|
734
736
|
# describe.
|
735
737
|
#
|
736
738
|
# @option params [String] :next_token
|
737
|
-
# The `nextToken` value returned from a previous paginated
|
739
|
+
# The `nextToken` value that's returned from a previous paginated
|
738
740
|
# `DescribeImageTags` request where `maxResults` was used and the
|
739
741
|
# results exceeded the value of that parameter. Pagination continues
|
740
742
|
# from the end of the previous results that returned the `nextToken`
|
741
|
-
# value.
|
742
|
-
#
|
743
|
+
# value. If there are no more results to return, this value is `null`.
|
744
|
+
# If you specify images with `imageIds`, you can't use this option.
|
743
745
|
#
|
744
746
|
# @option params [Integer] :max_results
|
745
|
-
# The maximum number of repository results returned by
|
747
|
+
# The maximum number of repository results that's returned by
|
746
748
|
# `DescribeImageTags` in paginated output. When this parameter is used,
|
747
749
|
# `DescribeImageTags` only returns `maxResults` results in a single page
|
748
|
-
# along with a `nextToken` response element.
|
749
|
-
# the initial request
|
750
|
+
# along with a `nextToken` response element. You can see the remaining
|
751
|
+
# results of the initial request by sending another `DescribeImageTags`
|
750
752
|
# request with the returned `nextToken` value. This value can be between
|
751
|
-
# 1 and 1000. If this parameter
|
752
|
-
# returns up to 100 results and a `nextToken` value, if applicable.
|
753
|
-
#
|
753
|
+
# 1 and 1000. If this parameter isn't used, then `DescribeImageTags`
|
754
|
+
# returns up to 100 results and a `nextToken` value, if applicable. If
|
755
|
+
# you specify images with `imageIds`, you can't use this option.
|
754
756
|
#
|
755
757
|
# @return [Types::DescribeImageTagsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
756
758
|
#
|
@@ -789,21 +791,21 @@ module Aws::ECRPublic
|
|
789
791
|
req.send_request(options)
|
790
792
|
end
|
791
793
|
|
792
|
-
# Returns metadata
|
793
|
-
# registry.
|
794
|
+
# Returns metadata that's related to the images in a repository in a
|
795
|
+
# public registry.
|
794
796
|
#
|
795
797
|
# <note markdown="1"> Beginning with Docker version 1.9, the Docker client compresses image
|
796
798
|
# layers before pushing them to a V2 Docker registry. The output of the
|
797
|
-
# `docker images` command shows the uncompressed image size,
|
798
|
-
# return a larger image size than the image sizes
|
799
|
-
# DescribeImages.
|
799
|
+
# `docker images` command shows the uncompressed image size. Therefore,
|
800
|
+
# it might return a larger image size than the image sizes that are
|
801
|
+
# returned by DescribeImages.
|
800
802
|
#
|
801
803
|
# </note>
|
802
804
|
#
|
803
805
|
# @option params [String] :registry_id
|
804
|
-
# The
|
805
|
-
# the repository
|
806
|
-
# registry, the default public registry is assumed.
|
806
|
+
# The Amazon Web Services account ID that's associated with the public
|
807
|
+
# registry that contains the repository where images are described. If
|
808
|
+
# you do not specify a registry, the default public registry is assumed.
|
807
809
|
#
|
808
810
|
# @option params [required, String] :repository_name
|
809
811
|
# The repository that contains the images to describe.
|
@@ -812,23 +814,23 @@ module Aws::ECRPublic
|
|
812
814
|
# The list of image IDs for the requested repository.
|
813
815
|
#
|
814
816
|
# @option params [String] :next_token
|
815
|
-
# The `nextToken` value returned from a previous paginated
|
817
|
+
# The `nextToken` value that's returned from a previous paginated
|
816
818
|
# `DescribeImages` request where `maxResults` was used and the results
|
817
819
|
# exceeded the value of that parameter. Pagination continues from the
|
818
|
-
# end of the previous results that returned the `nextToken` value.
|
819
|
-
#
|
820
|
-
#
|
820
|
+
# end of the previous results that returned the `nextToken` value. If
|
821
|
+
# there are no more results to return, this value is `null`. If you
|
822
|
+
# specify images with `imageIds`, you can't use this option.
|
821
823
|
#
|
822
824
|
# @option params [Integer] :max_results
|
823
|
-
# The maximum number of repository results returned by
|
824
|
-
# in paginated output. When this parameter is used,
|
825
|
-
# only returns `maxResults` results in a single page
|
826
|
-
# `nextToken` response element.
|
827
|
-
#
|
828
|
-
# the returned `nextToken` value. This value can be between
|
829
|
-
# If this parameter
|
830
|
-
# results and a `nextToken` value, if applicable.
|
831
|
-
#
|
825
|
+
# The maximum number of repository results that's returned by
|
826
|
+
# `DescribeImages` in paginated output. When this parameter is used,
|
827
|
+
# `DescribeImages` only returns `maxResults` results in a single page
|
828
|
+
# along with a `nextToken` response element. You can see the remaining
|
829
|
+
# results of the initial request by sending another `DescribeImages`
|
830
|
+
# request with the returned `nextToken` value. This value can be between
|
831
|
+
# 1 and 1000. If this parameter isn't used, then `DescribeImages`
|
832
|
+
# returns up to 100 results and a `nextToken` value, if applicable. If
|
833
|
+
# you specify images with `imageIds`, you can't use this option.
|
832
834
|
#
|
833
835
|
# @return [Types::DescribeImagesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
834
836
|
#
|
@@ -878,11 +880,11 @@ module Aws::ECRPublic
|
|
878
880
|
# Returns details for a public registry.
|
879
881
|
#
|
880
882
|
# @option params [String] :next_token
|
881
|
-
# The `nextToken` value returned from a previous paginated
|
883
|
+
# The `nextToken` value that's returned from a previous paginated
|
882
884
|
# `DescribeRegistries` request where `maxResults` was used and the
|
883
885
|
# results exceeded the value of that parameter. Pagination continues
|
884
886
|
# from the end of the previous results that returned the `nextToken`
|
885
|
-
# value.
|
887
|
+
# value. If there are no more results to return, this value is `null`.
|
886
888
|
#
|
887
889
|
# <note markdown="1"> This token should be treated as an opaque identifier that is only used
|
888
890
|
# to retrieve the next items in a list and not for other programmatic
|
@@ -891,13 +893,13 @@ module Aws::ECRPublic
|
|
891
893
|
# </note>
|
892
894
|
#
|
893
895
|
# @option params [Integer] :max_results
|
894
|
-
# The maximum number of repository results returned by
|
896
|
+
# The maximum number of repository results that's returned by
|
895
897
|
# `DescribeRegistries` in paginated output. When this parameter is used,
|
896
898
|
# `DescribeRegistries` only returns `maxResults` results in a single
|
897
899
|
# page along with a `nextToken` response element. The remaining results
|
898
900
|
# of the initial request can be seen by sending another
|
899
901
|
# `DescribeRegistries` request with the returned `nextToken` value. This
|
900
|
-
# value can be between 1 and 1000. If this parameter
|
902
|
+
# value can be between 1 and 1000. If this parameter isn't used, then
|
901
903
|
# `DescribeRegistries` returns up to 100 results and a `nextToken`
|
902
904
|
# value, if applicable.
|
903
905
|
#
|
@@ -938,25 +940,25 @@ module Aws::ECRPublic
|
|
938
940
|
req.send_request(options)
|
939
941
|
end
|
940
942
|
|
941
|
-
# Describes repositories in a public registry.
|
943
|
+
# Describes repositories that are in a public registry.
|
942
944
|
#
|
943
945
|
# @option params [String] :registry_id
|
944
|
-
# The
|
945
|
-
# repositories to be described. If you do not
|
946
|
-
# default public registry is assumed.
|
946
|
+
# The Amazon Web Services account ID that's associated with the
|
947
|
+
# registry that contains the repositories to be described. If you do not
|
948
|
+
# specify a registry, the default public registry is assumed.
|
947
949
|
#
|
948
950
|
# @option params [Array<String>] :repository_names
|
949
951
|
# A list of repositories to describe. If this parameter is omitted, then
|
950
952
|
# all repositories in a registry are described.
|
951
953
|
#
|
952
954
|
# @option params [String] :next_token
|
953
|
-
# The `nextToken` value returned from a previous paginated
|
955
|
+
# The `nextToken` value that's returned from a previous paginated
|
954
956
|
# `DescribeRepositories` request where `maxResults` was used and the
|
955
957
|
# results exceeded the value of that parameter. Pagination continues
|
956
958
|
# from the end of the previous results that returned the `nextToken`
|
957
|
-
# value.
|
958
|
-
#
|
959
|
-
#
|
959
|
+
# value. If there are no more results to return, this value is `null`.
|
960
|
+
# If you specify repositories with `repositoryNames`, you can't use
|
961
|
+
# this option.
|
960
962
|
#
|
961
963
|
# <note markdown="1"> This token should be treated as an opaque identifier that is only used
|
962
964
|
# to retrieve the next items in a list and not for other programmatic
|
@@ -965,16 +967,16 @@ module Aws::ECRPublic
|
|
965
967
|
# </note>
|
966
968
|
#
|
967
969
|
# @option params [Integer] :max_results
|
968
|
-
# The maximum number of repository results returned by
|
970
|
+
# The maximum number of repository results that's returned by
|
969
971
|
# `DescribeRepositories` in paginated output. When this parameter is
|
970
972
|
# used, `DescribeRepositories` only returns `maxResults` results in a
|
971
|
-
# single page along with a `nextToken` response element.
|
972
|
-
# results of the initial request
|
973
|
+
# single page along with a `nextToken` response element. You can see the
|
974
|
+
# remaining results of the initial request by sending another
|
973
975
|
# `DescribeRepositories` request with the returned `nextToken` value.
|
974
|
-
# This value can be between 1 and 1000. If this parameter
|
976
|
+
# This value can be between 1 and 1000. If this parameter isn't used,
|
975
977
|
# then `DescribeRepositories` returns up to 100 results and a
|
976
|
-
# `nextToken` value, if applicable.
|
977
|
-
#
|
978
|
+
# `nextToken` value, if applicable. If you specify repositories with
|
979
|
+
# `repositoryNames`, you can't use this option.
|
978
980
|
#
|
979
981
|
# @return [Types::DescribeRepositoriesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
980
982
|
#
|
@@ -1012,7 +1014,7 @@ module Aws::ECRPublic
|
|
1012
1014
|
end
|
1013
1015
|
|
1014
1016
|
# Retrieves an authorization token. An authorization token represents
|
1015
|
-
# your IAM authentication credentials
|
1017
|
+
# your IAM authentication credentials. You can use it to access any
|
1016
1018
|
# Amazon ECR registry that your IAM principal has access to. The
|
1017
1019
|
# authorization token is valid for 12 hours. This API requires the
|
1018
1020
|
# `ecr-public:GetAuthorizationToken` and `sts:GetServiceBearerToken`
|
@@ -1059,9 +1061,9 @@ module Aws::ECRPublic
|
|
1059
1061
|
# metadata is displayed publicly in the Amazon ECR Public Gallery.
|
1060
1062
|
#
|
1061
1063
|
# @option params [String] :registry_id
|
1062
|
-
# The
|
1063
|
-
# repositories to be described. If you do not
|
1064
|
-
# default public registry is assumed.
|
1064
|
+
# The Amazon Web Services account ID that's associated with the
|
1065
|
+
# registry that contains the repositories to be described. If you do not
|
1066
|
+
# specify a registry, the default public registry is assumed.
|
1065
1067
|
#
|
1066
1068
|
# @option params [required, String] :repository_name
|
1067
1069
|
# The name of the repository to retrieve the catalog metadata for.
|
@@ -1101,9 +1103,9 @@ module Aws::ECRPublic
|
|
1101
1103
|
# Retrieves the repository policy for the specified repository.
|
1102
1104
|
#
|
1103
1105
|
# @option params [String] :registry_id
|
1104
|
-
# The
|
1105
|
-
# the repository. If you do not specify a
|
1106
|
-
# registry is assumed.
|
1106
|
+
# The Amazon Web Services account ID that's associated with the public
|
1107
|
+
# registry that contains the repository. If you do not specify a
|
1108
|
+
# registry, the default public registry is assumed.
|
1107
1109
|
#
|
1108
1110
|
# @option params [required, String] :repository_name
|
1109
1111
|
# The name of the repository with the policy to retrieve.
|
@@ -1139,9 +1141,9 @@ module Aws::ECRPublic
|
|
1139
1141
|
# Notifies Amazon ECR that you intend to upload an image layer.
|
1140
1142
|
#
|
1141
1143
|
# When an image is pushed, the InitiateLayerUpload API is called once
|
1142
|
-
#
|
1143
|
-
# image layer
|
1144
|
-
#
|
1144
|
+
# for each image layer that hasn't already been uploaded. Whether an
|
1145
|
+
# image layer uploads is determined by the BatchCheckLayerAvailability
|
1146
|
+
# API action.
|
1145
1147
|
#
|
1146
1148
|
# <note markdown="1"> This operation is used by the Amazon ECR proxy and is not generally
|
1147
1149
|
# used by customers for pulling and pushing images. In most cases, you
|
@@ -1150,12 +1152,12 @@ module Aws::ECRPublic
|
|
1150
1152
|
# </note>
|
1151
1153
|
#
|
1152
1154
|
# @option params [String] :registry_id
|
1153
|
-
# The
|
1154
|
-
#
|
1155
|
-
# registry is assumed.
|
1155
|
+
# The Amazon Web Services account ID, or registry alias, that's
|
1156
|
+
# associated with the registry to which you intend to upload layers. If
|
1157
|
+
# you do not specify a registry, the default public registry is assumed.
|
1156
1158
|
#
|
1157
1159
|
# @option params [required, String] :repository_name
|
1158
|
-
# The name of the repository
|
1160
|
+
# The name of the repository that you want to upload layers to.
|
1159
1161
|
#
|
1160
1162
|
# @return [Types::InitiateLayerUploadResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1161
1163
|
#
|
@@ -1186,8 +1188,8 @@ module Aws::ECRPublic
|
|
1186
1188
|
# List the tags for an Amazon ECR Public resource.
|
1187
1189
|
#
|
1188
1190
|
# @option params [required, String] :resource_arn
|
1189
|
-
# The Amazon Resource Name (ARN) that identifies the resource
|
1190
|
-
#
|
1191
|
+
# The Amazon Resource Name (ARN) that identifies the resource to list
|
1192
|
+
# the tags for. Currently, the supported resource is an Amazon ECR
|
1191
1193
|
# Public repository.
|
1192
1194
|
#
|
1193
1195
|
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1215,12 +1217,12 @@ module Aws::ECRPublic
|
|
1215
1217
|
req.send_request(options)
|
1216
1218
|
end
|
1217
1219
|
|
1218
|
-
# Creates or updates the image manifest and tags
|
1219
|
-
# image.
|
1220
|
+
# Creates or updates the image manifest and tags that are associated
|
1221
|
+
# with an image.
|
1220
1222
|
#
|
1221
1223
|
# When an image is pushed and all new image layers have been uploaded,
|
1222
1224
|
# the PutImage API is called once to create or update the image manifest
|
1223
|
-
# and the tags associated with the image.
|
1225
|
+
# and the tags that are associated with the image.
|
1224
1226
|
#
|
1225
1227
|
# <note markdown="1"> This operation is used by the Amazon ECR proxy and is not generally
|
1226
1228
|
# used by customers for pulling and pushing images. In most cases, you
|
@@ -1229,19 +1231,20 @@ module Aws::ECRPublic
|
|
1229
1231
|
# </note>
|
1230
1232
|
#
|
1231
1233
|
# @option params [String] :registry_id
|
1232
|
-
# The
|
1233
|
-
#
|
1234
|
-
# registry, the default public
|
1234
|
+
# The Amazon Web Services account ID, or registry alias, that's
|
1235
|
+
# associated with the public registry that contains the repository where
|
1236
|
+
# the image is put. If you do not specify a registry, the default public
|
1237
|
+
# registry is assumed.
|
1235
1238
|
#
|
1236
1239
|
# @option params [required, String] :repository_name
|
1237
|
-
# The name of the repository
|
1240
|
+
# The name of the repository where the image is put.
|
1238
1241
|
#
|
1239
1242
|
# @option params [required, String] :image_manifest
|
1240
|
-
# The image manifest
|
1243
|
+
# The image manifest that corresponds to the image to be uploaded.
|
1241
1244
|
#
|
1242
1245
|
# @option params [String] :image_manifest_media_type
|
1243
1246
|
# The media type of the image manifest. If you push an image manifest
|
1244
|
-
# that
|
1247
|
+
# that doesn't contain the `mediaType` field, you must specify the
|
1245
1248
|
# `imageManifestMediaType` in the request.
|
1246
1249
|
#
|
1247
1250
|
# @option params [String] :image_tag
|
@@ -1250,7 +1253,7 @@ module Aws::ECRPublic
|
|
1250
1253
|
# Container Initiative (OCI) formats.
|
1251
1254
|
#
|
1252
1255
|
# @option params [String] :image_digest
|
1253
|
-
# The image digest of the image manifest
|
1256
|
+
# The image digest of the image manifest that corresponds to the image.
|
1254
1257
|
#
|
1255
1258
|
# @return [Types::PutImageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1256
1259
|
#
|
@@ -1285,7 +1288,7 @@ module Aws::ECRPublic
|
|
1285
1288
|
req.send_request(options)
|
1286
1289
|
end
|
1287
1290
|
|
1288
|
-
# Create or
|
1291
|
+
# Create or update the catalog data for a public registry.
|
1289
1292
|
#
|
1290
1293
|
# @option params [String] :display_name
|
1291
1294
|
# The display name for a public registry. The display name is shown as
|
@@ -1323,9 +1326,9 @@ module Aws::ECRPublic
|
|
1323
1326
|
# registry.
|
1324
1327
|
#
|
1325
1328
|
# @option params [String] :registry_id
|
1326
|
-
# The
|
1327
|
-
# is in. If you do not specify a registry, the
|
1328
|
-
# is assumed.
|
1329
|
+
# The Amazon Web Services account ID that's associated with the public
|
1330
|
+
# registry the repository is in. If you do not specify a registry, the
|
1331
|
+
# default public registry is assumed.
|
1329
1332
|
#
|
1330
1333
|
# @option params [required, String] :repository_name
|
1331
1334
|
# The name of the repository to create or update the catalog data for.
|
@@ -1384,9 +1387,9 @@ module Aws::ECRPublic
|
|
1384
1387
|
# [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policies.html
|
1385
1388
|
#
|
1386
1389
|
# @option params [String] :registry_id
|
1387
|
-
# The
|
1388
|
-
# repository. If you do not specify a
|
1389
|
-
# registry is assumed.
|
1390
|
+
# The Amazon Web Services account ID that's associated with the
|
1391
|
+
# registry that contains the repository. If you do not specify a
|
1392
|
+
# registry, the default public registry is assumed.
|
1390
1393
|
#
|
1391
1394
|
# @option params [required, String] :repository_name
|
1392
1395
|
# The name of the repository to receive the policy.
|
@@ -1401,10 +1404,10 @@ module Aws::ECRPublic
|
|
1401
1404
|
# [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policy-examples.html
|
1402
1405
|
#
|
1403
1406
|
# @option params [Boolean] :force
|
1404
|
-
# If the policy you
|
1407
|
+
# If the policy that you want to set on a repository policy would
|
1405
1408
|
# prevent you from setting another policy in the future, you must force
|
1406
|
-
# the SetRepositoryPolicy operation. This
|
1407
|
-
#
|
1409
|
+
# the SetRepositoryPolicy operation. This prevents accidental repository
|
1410
|
+
# lockouts.
|
1408
1411
|
#
|
1409
1412
|
# @return [Types::SetRepositoryPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1410
1413
|
#
|
@@ -1437,12 +1440,12 @@ module Aws::ECRPublic
|
|
1437
1440
|
end
|
1438
1441
|
|
1439
1442
|
# Associates the specified tags to a resource with the specified
|
1440
|
-
# `resourceArn`. If existing tags on a resource
|
1441
|
-
# request parameters, they
|
1442
|
-
# the tags associated with that resource are deleted
|
1443
|
+
# `resourceArn`. If existing tags on a resource aren't specified in the
|
1444
|
+
# request parameters, they aren't changed. When a resource is deleted,
|
1445
|
+
# the tags associated with that resource are also deleted.
|
1443
1446
|
#
|
1444
1447
|
# @option params [required, String] :resource_arn
|
1445
|
-
# The Amazon Resource Name (ARN) of the resource to
|
1448
|
+
# The Amazon Resource Name (ARN) of the resource to add tags to.
|
1446
1449
|
# Currently, the supported resource is an Amazon ECR Public repository.
|
1447
1450
|
#
|
1448
1451
|
# @option params [required, Array<Types::Tag>] :tags
|
@@ -1476,9 +1479,8 @@ module Aws::ECRPublic
|
|
1476
1479
|
# Deletes specified tags from a resource.
|
1477
1480
|
#
|
1478
1481
|
# @option params [required, String] :resource_arn
|
1479
|
-
# The Amazon Resource Name (ARN) of the resource
|
1480
|
-
#
|
1481
|
-
# repository.
|
1482
|
+
# The Amazon Resource Name (ARN) of the resource to delete tags from.
|
1483
|
+
# Currently, the supported resource is an Amazon ECR Public repository.
|
1482
1484
|
#
|
1483
1485
|
# @option params [required, Array<String>] :tag_keys
|
1484
1486
|
# The keys of the tags to be removed.
|
@@ -1504,9 +1506,9 @@ module Aws::ECRPublic
|
|
1504
1506
|
# Uploads an image layer part to Amazon ECR.
|
1505
1507
|
#
|
1506
1508
|
# When an image is pushed, each new image layer is uploaded in parts.
|
1507
|
-
# The maximum size of each image layer part can be 20971520 bytes (
|
1508
|
-
#
|
1509
|
-
#
|
1509
|
+
# The maximum size of each image layer part can be 20971520 bytes (about
|
1510
|
+
# 20MB). The UploadLayerPart API is called once for each new image layer
|
1511
|
+
# part.
|
1510
1512
|
#
|
1511
1513
|
# <note markdown="1"> This operation is used by the Amazon ECR proxy and is not generally
|
1512
1514
|
# used by customers for pulling and pushing images. In most cases, you
|
@@ -1515,12 +1517,12 @@ module Aws::ECRPublic
|
|
1515
1517
|
# </note>
|
1516
1518
|
#
|
1517
1519
|
# @option params [String] :registry_id
|
1518
|
-
# The
|
1519
|
-
#
|
1520
|
-
# public registry is assumed.
|
1520
|
+
# The Amazon Web Services account ID, or registry alias, that's
|
1521
|
+
# associated with the registry that you're uploading layer parts to. If
|
1522
|
+
# you do not specify a registry, the default public registry is assumed.
|
1521
1523
|
#
|
1522
1524
|
# @option params [required, String] :repository_name
|
1523
|
-
# The name of the repository
|
1525
|
+
# The name of the repository that you're uploading layer parts to.
|
1524
1526
|
#
|
1525
1527
|
# @option params [required, String] :upload_id
|
1526
1528
|
# The upload ID from a previous InitiateLayerUpload operation to
|
@@ -1584,7 +1586,7 @@ module Aws::ECRPublic
|
|
1584
1586
|
params: params,
|
1585
1587
|
config: config)
|
1586
1588
|
context[:gem_name] = 'aws-sdk-ecrpublic'
|
1587
|
-
context[:gem_version] = '1.
|
1589
|
+
context[:gem_version] = '1.14.0'
|
1588
1590
|
Seahorse::Client::Request.new(handlers, context)
|
1589
1591
|
end
|
1590
1592
|
|