aws-sdk-ecr 1.2.0 → 1.3.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/lib/aws-sdk-ecr.rb +1 -1
- data/lib/aws-sdk-ecr/client.rb +22 -11
- data/lib/aws-sdk-ecr/types.rb +18 -13
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b525260ba0e3bf60783c06c9aea6171c4ed88e08
|
4
|
+
data.tar.gz: c490638511bcd32608a9e04a00a2f809d9016112
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a89c2ad97b39084b5309aaf772b05826f95a499aea9465dc4590188691ecdfb1ffc14132e3e4bba49abf8d2fbd672873a8abb951479a8a3a72695671c0cda745
|
7
|
+
data.tar.gz: 965a6385ca61e00e5aa0012d6e88a3dd98cef59cf511198136bdf3c5155f654af1b1c9f03b93783d075c39272688fcf7625b70556facfaf39c92078377a10813
|
data/lib/aws-sdk-ecr.rb
CHANGED
data/lib/aws-sdk-ecr/client.rb
CHANGED
@@ -516,8 +516,7 @@ module Aws::ECR
|
|
516
516
|
# assumed.
|
517
517
|
#
|
518
518
|
# @option params [required, String] :repository_name
|
519
|
-
# The name of the repository
|
520
|
-
# policy to
delete.
|
519
|
+
# The name of the repository.
|
521
520
|
#
|
522
521
|
# @return [Types::DeleteLifecyclePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
523
522
|
#
|
@@ -695,7 +694,8 @@ module Aws::ECR
|
|
695
694
|
# `DescribeImages` request where `maxResults` was used and the results
|
696
695
|
# exceeded the value of that parameter. Pagination continues from the
|
697
696
|
# end of the previous results that returned the `nextToken` value. This
|
698
|
-
# value is `null` when there are no more results to return.
|
697
|
+
# value is `null` when there are no more results to return. This option
|
698
|
+
# cannot be used when you specify images with `imageIds`.
|
699
699
|
#
|
700
700
|
# @option params [Integer] :max_results
|
701
701
|
# The maximum number of repository results returned by `DescribeImages`
|
@@ -705,7 +705,8 @@ module Aws::ECR
|
|
705
705
|
# request can be seen by sending another `DescribeImages` request with
|
706
706
|
# the returned `nextToken` value. This value can be between 1 and 100.
|
707
707
|
# If this parameter is not used, then `DescribeImages` returns up to 100
|
708
|
-
# results and a `nextToken` value, if applicable.
|
708
|
+
# results and a `nextToken` value, if applicable. This option cannot be
|
709
|
+
# used when you specify images with `imageIds`.
|
709
710
|
#
|
710
711
|
# @option params [Types::DescribeImagesFilter] :filter
|
711
712
|
# The filter key and value with which to filter your `DescribeImages`
|
@@ -772,6 +773,8 @@ module Aws::ECR
|
|
772
773
|
# results exceeded the value of that parameter. Pagination continues
|
773
774
|
# from the end of the previous results that returned the `nextToken`
|
774
775
|
# value. This value is `null` when there are no more results to return.
|
776
|
+
# This option cannot be used when you specify repositories with
|
777
|
+
# `repositoryNames`.
|
775
778
|
#
|
776
779
|
# <note markdown="1"> This token should be treated as an opaque identifier that is only used
|
777
780
|
# to retrieve the next items in a list and not for other programmatic
|
@@ -788,7 +791,8 @@ module Aws::ECR
|
|
788
791
|
# `DescribeRepositories` request with the returned `nextToken` value.
|
789
792
|
# This value can be between 1 and 100. If this parameter is not used,
|
790
793
|
# then `DescribeRepositories` returns up to 100 results and a
|
791
|
-
# `nextToken` value, if applicable.
|
794
|
+
# `nextToken` value, if applicable. This option cannot be used when you
|
795
|
+
# specify repositories with `repositoryNames`.
|
792
796
|
#
|
793
797
|
# @return [Types::DescribeRepositoriesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
794
798
|
#
|
@@ -965,7 +969,7 @@ module Aws::ECR
|
|
965
969
|
# assumed.
|
966
970
|
#
|
967
971
|
# @option params [required, String] :repository_name
|
968
|
-
# The name of the repository
|
972
|
+
# The name of the repository.
|
969
973
|
#
|
970
974
|
# @return [Types::GetLifecyclePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
971
975
|
#
|
@@ -1006,7 +1010,7 @@ module Aws::ECR
|
|
1006
1010
|
# assumed.
|
1007
1011
|
#
|
1008
1012
|
# @option params [required, String] :repository_name
|
1009
|
-
# The name of the repository
|
1013
|
+
# The name of the repository.
|
1010
1014
|
#
|
1011
1015
|
# @option params [Array<Types::ImageIdentifier>] :image_ids
|
1012
1016
|
# The list of imageIDs to be included.
|
@@ -1017,7 +1021,8 @@ module Aws::ECR
|
|
1017
1021
|
# and the
results exceeded the value of that parameter. Pagination
|
1018
1022
|
# continues from the end of the
previous results that returned the
|
1019
1023
|
# `nextToken` value. This value is
`null` when there are no more
|
1020
|
-
# results to return.
|
1024
|
+
# results to return. This option cannot be used when you specify images
|
1025
|
+
# with `imageIds`.
|
1021
1026
|
#
|
1022
1027
|
# @option params [Integer] :max_results
|
1023
1028
|
# The maximum number of repository results returned by
|
@@ -1029,7 +1034,8 @@ module Aws::ECR
|
|
1029
1034
|
# with the returned `nextToken`
value. This value can be between 1 and
|
1030
1035
|
# 100. If this
parameter is not used, then
|
1031
1036
|
# `GetLifecyclePolicyPreviewRequest` returns up to
100 results and a
|
1032
|
-
# `nextToken` value, if
applicable.
|
1037
|
+
# `nextToken` value, if
applicable. This option cannot be used when you
|
1038
|
+
# specify images with `imageIds`.
|
1033
1039
|
#
|
1034
1040
|
# @option params [Types::LifecyclePolicyPreviewFilter] :filter
|
1035
1041
|
# An optional parameter that filters results based on image tag status
|
@@ -1334,7 +1340,12 @@ module Aws::ECR
|
|
1334
1340
|
req.send_request(options)
|
1335
1341
|
end
|
1336
1342
|
|
1337
|
-
# Creates or updates a lifecycle policy.
|
1343
|
+
# Creates or updates a lifecycle policy. For information about lifecycle
|
1344
|
+
# policy syntax, see [Lifecycle Policy Template][1].
|
1345
|
+
#
|
1346
|
+
#
|
1347
|
+
#
|
1348
|
+
# [1]: http://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html
|
1338
1349
|
#
|
1339
1350
|
# @option params [String] :registry_id
|
1340
1351
|
# The AWS account ID associated with the registry that contains the
|
@@ -1548,7 +1559,7 @@ module Aws::ECR
|
|
1548
1559
|
params: params,
|
1549
1560
|
config: config)
|
1550
1561
|
context[:gem_name] = 'aws-sdk-ecr'
|
1551
|
-
context[:gem_version] = '1.
|
1562
|
+
context[:gem_version] = '1.3.0'
|
1552
1563
|
Seahorse::Client::Request.new(handlers, context)
|
1553
1564
|
end
|
1554
1565
|
|
data/lib/aws-sdk-ecr/types.rb
CHANGED
@@ -324,8 +324,7 @@ module Aws::ECR
|
|
324
324
|
# @return [String]
|
325
325
|
#
|
326
326
|
# @!attribute [rw] repository_name
|
327
|
-
# The name of the repository
|
328
|
-
# policy to
delete.
|
327
|
+
# The name of the repository.
|
329
328
|
# @return [String]
|
330
329
|
#
|
331
330
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteLifecyclePolicyRequest AWS API Documentation
|
@@ -345,7 +344,7 @@ module Aws::ECR
|
|
345
344
|
# @return [String]
|
346
345
|
#
|
347
346
|
# @!attribute [rw] lifecycle_policy_text
|
348
|
-
# The JSON
|
347
|
+
# The JSON lifecycle policy text.
|
349
348
|
# @return [String]
|
350
349
|
#
|
351
350
|
# @!attribute [rw] last_evaluated_at
|
@@ -513,7 +512,8 @@ module Aws::ECR
|
|
513
512
|
# `DescribeImages` request where `maxResults` was used and the results
|
514
513
|
# exceeded the value of that parameter. Pagination continues from the
|
515
514
|
# end of the previous results that returned the `nextToken` value.
|
516
|
-
# This value is `null` when there are no more results to return.
|
515
|
+
# This value is `null` when there are no more results to return. This
|
516
|
+
# option cannot be used when you specify images with `imageIds`.
|
517
517
|
# @return [String]
|
518
518
|
#
|
519
519
|
# @!attribute [rw] max_results
|
@@ -525,7 +525,8 @@ module Aws::ECR
|
|
525
525
|
# request with the returned `nextToken` value. This value can be
|
526
526
|
# between 1 and 100. If this parameter is not used, then
|
527
527
|
# `DescribeImages` returns up to 100 results and a `nextToken` value,
|
528
|
-
# if applicable.
|
528
|
+
# if applicable. This option cannot be used when you specify images
|
529
|
+
# with `imageIds`.
|
529
530
|
# @return [Integer]
|
530
531
|
#
|
531
532
|
# @!attribute [rw] filter
|
@@ -592,7 +593,8 @@ module Aws::ECR
|
|
592
593
|
# results exceeded the value of that parameter. Pagination continues
|
593
594
|
# from the end of the previous results that returned the `nextToken`
|
594
595
|
# value. This value is `null` when there are no more results to
|
595
|
-
# return.
|
596
|
+
# return. This option cannot be used when you specify repositories
|
597
|
+
# with `repositoryNames`.
|
596
598
|
#
|
597
599
|
# <note markdown="1"> This token should be treated as an opaque identifier that is only
|
598
600
|
# used to retrieve the next items in a list and not for other
|
@@ -610,7 +612,8 @@ module Aws::ECR
|
|
610
612
|
# `DescribeRepositories` request with the returned `nextToken` value.
|
611
613
|
# This value can be between 1 and 100. If this parameter is not used,
|
612
614
|
# then `DescribeRepositories` returns up to 100 results and a
|
613
|
-
# `nextToken` value, if applicable.
|
615
|
+
# `nextToken` value, if applicable. This option cannot be used when
|
616
|
+
# you specify repositories with `repositoryNames`.
|
614
617
|
# @return [Integer]
|
615
618
|
#
|
616
619
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeRepositoriesRequest AWS API Documentation
|
@@ -750,7 +753,7 @@ module Aws::ECR
|
|
750
753
|
# @return [String]
|
751
754
|
#
|
752
755
|
# @!attribute [rw] repository_name
|
753
|
-
# The name of the repository
|
756
|
+
# The name of the repository.
|
754
757
|
# @return [String]
|
755
758
|
#
|
756
759
|
# @!attribute [rw] image_ids
|
@@ -763,7 +766,8 @@ module Aws::ECR
|
|
763
766
|
# used and the
results exceeded the value of that parameter.
|
764
767
|
# Pagination continues from the end of the
previous results that
|
765
768
|
# returned the `nextToken` value. This value is
`null` when there are
|
766
|
-
# no more results to return.
|
769
|
+
# no more results to return. This option cannot be used when you
|
770
|
+
# specify images with `imageIds`.
|
767
771
|
# @return [String]
|
768
772
|
#
|
769
773
|
# @!attribute [rw] max_results
|
@@ -776,7 +780,8 @@ module Aws::ECR
|
|
776
780
|
# request with the returned `nextToken`
value. This value can be
|
777
781
|
# between 1 and 100. If this
parameter is not used, then
|
778
782
|
# `GetLifecyclePolicyPreviewRequest` returns up to
100 results and a
|
779
|
-
# `nextToken` value, if
applicable.
|
783
|
+
# `nextToken` value, if
applicable. This option cannot be used when
|
784
|
+
# you specify images with `imageIds`.
|
780
785
|
# @return [Integer]
|
781
786
|
#
|
782
787
|
# @!attribute [rw] filter
|
@@ -805,7 +810,7 @@ module Aws::ECR
|
|
805
810
|
# @return [String]
|
806
811
|
#
|
807
812
|
# @!attribute [rw] lifecycle_policy_text
|
808
|
-
# The JSON
|
813
|
+
# The JSON lifecycle policy text.
|
809
814
|
# @return [String]
|
810
815
|
#
|
811
816
|
# @!attribute [rw] status
|
@@ -856,7 +861,7 @@ module Aws::ECR
|
|
856
861
|
# @return [String]
|
857
862
|
#
|
858
863
|
# @!attribute [rw] repository_name
|
859
|
-
# The name of the repository
|
864
|
+
# The name of the repository.
|
860
865
|
# @return [String]
|
861
866
|
#
|
862
867
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetLifecyclePolicyRequest AWS API Documentation
|
@@ -876,7 +881,7 @@ module Aws::ECR
|
|
876
881
|
# @return [String]
|
877
882
|
#
|
878
883
|
# @!attribute [rw] lifecycle_policy_text
|
879
|
-
# The JSON
|
884
|
+
# The JSON lifecycle policy text.
|
880
885
|
# @return [String]
|
881
886
|
#
|
882
887
|
# @!attribute [rw] last_evaluated_at
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ecr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|