aws-sdk-ecr 1.114.0 → 1.115.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3171fa4b7d24178567303283a26737e3c8b7af7c2d377bd7d231522b362928db
4
- data.tar.gz: 79d05e55ba52f7890af22845d56f3a8f8deba4ba558448f1f42627c6759779e6
3
+ metadata.gz: 7d76dc3bb42ba99299095adb52b65168019835603da25a342ea78bde07e1285a
4
+ data.tar.gz: ee3090c78e7cb66e1a9ac75583044b9d3c32db2416da399c4be5c6e23b0e2ab8
5
5
  SHA512:
6
- metadata.gz: 508f9e95d9d2a19f493eb1abac5a15d35ccf76014d9e6b561149d4fd4c0ab4f35f839f89da6395d97fd119dbb48f33e74aec6b83ca7c93c3448a967026d13611
7
- data.tar.gz: 4aa9e0a7f1d030a01bce7b564624e430b9baa94165cda5aec7328871639b14003a9025b61247061e01692c007234137f85b4ece306fa556e82465e5fa7dd5a47
6
+ metadata.gz: f73d401bad1203447ab591bb53414a269ea40ed95982221414c2790741453ef27bba72eac10968b7fc190d2d4f4b9d3373fd1f9f5a5d7b92d9f0fe11347ca0df
7
+ data.tar.gz: df77bae38ce730095c265499fec28df9f5b7241fb63d861373720c7f691b34b7240d6322356b1789780d35bff7e2dc44c3832e509111c97c125012e8132a38f5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.115.0 (2025-11-21)
5
+ ------------------
6
+
7
+ * Feature - Add support for ECR managed signing
8
+
4
9
  1.114.0 (2025-11-19)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.114.0
1
+ 1.115.0
@@ -1564,6 +1564,45 @@ module Aws::ECR
1564
1564
  req.send_request(options)
1565
1565
  end
1566
1566
 
1567
+ # Deletes the registry's signing configuration. Images pushed after
1568
+ # deletion of the signing configuration will no longer be automatically
1569
+ # signed.
1570
+ #
1571
+ # For more information, see [Managed signing][1] in the *Amazon Elastic
1572
+ # Container Registry User Guide*.
1573
+ #
1574
+ # <note markdown="1"> Deleting the signing configuration does not affect existing image
1575
+ # signatures.
1576
+ #
1577
+ # </note>
1578
+ #
1579
+ #
1580
+ #
1581
+ # [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/managed-signing.html
1582
+ #
1583
+ # @return [Types::DeleteSigningConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1584
+ #
1585
+ # * {Types::DeleteSigningConfigurationResponse#registry_id #registry_id} => String
1586
+ # * {Types::DeleteSigningConfigurationResponse#signing_configuration #signing_configuration} => Types::SigningConfiguration
1587
+ #
1588
+ # @example Response structure
1589
+ #
1590
+ # resp.registry_id #=> String
1591
+ # resp.signing_configuration.rules #=> Array
1592
+ # resp.signing_configuration.rules[0].signing_profile_arn #=> String
1593
+ # resp.signing_configuration.rules[0].repository_filters #=> Array
1594
+ # resp.signing_configuration.rules[0].repository_filters[0].filter #=> String
1595
+ # resp.signing_configuration.rules[0].repository_filters[0].filter_type #=> String, one of "WILDCARD_MATCH"
1596
+ #
1597
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteSigningConfiguration AWS API Documentation
1598
+ #
1599
+ # @overload delete_signing_configuration(params = {})
1600
+ # @param [Hash] params ({})
1601
+ def delete_signing_configuration(params = {}, options = {})
1602
+ req = build_request(:delete_signing_configuration, params)
1603
+ req.send_request(options)
1604
+ end
1605
+
1567
1606
  # Removes a principal from the pull time update exclusion list for a
1568
1607
  # registry. Once removed, Amazon ECR will resume updating the pull time
1569
1608
  # if the specified principal pulls an image.
@@ -1817,6 +1856,67 @@ module Aws::ECR
1817
1856
  req.send_request(options)
1818
1857
  end
1819
1858
 
1859
+ # Returns the signing status for a specified image. If the image matched
1860
+ # signing rules that reference different signing profiles, a status is
1861
+ # returned for each profile.
1862
+ #
1863
+ # For more information, see [Managed signing][1] in the *Amazon Elastic
1864
+ # Container Registry User Guide*.
1865
+ #
1866
+ #
1867
+ #
1868
+ # [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/managed-signing.html
1869
+ #
1870
+ # @option params [required, String] :repository_name
1871
+ # The name of the repository that contains the image.
1872
+ #
1873
+ # @option params [required, Types::ImageIdentifier] :image_id
1874
+ # An object containing identifying information for an image.
1875
+ #
1876
+ # @option params [String] :registry_id
1877
+ # The Amazon Web Services account ID associated with the registry that
1878
+ # contains the repository. If you do not specify a registry, the default
1879
+ # registry is assumed.
1880
+ #
1881
+ # @return [Types::DescribeImageSigningStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1882
+ #
1883
+ # * {Types::DescribeImageSigningStatusResponse#repository_name #repository_name} => String
1884
+ # * {Types::DescribeImageSigningStatusResponse#image_id #image_id} => Types::ImageIdentifier
1885
+ # * {Types::DescribeImageSigningStatusResponse#registry_id #registry_id} => String
1886
+ # * {Types::DescribeImageSigningStatusResponse#signing_statuses #signing_statuses} => Array&lt;Types::ImageSigningStatus&gt;
1887
+ #
1888
+ # @example Request syntax with placeholder values
1889
+ #
1890
+ # resp = client.describe_image_signing_status({
1891
+ # repository_name: "RepositoryName", # required
1892
+ # image_id: { # required
1893
+ # image_digest: "ImageDigest",
1894
+ # image_tag: "ImageTag",
1895
+ # },
1896
+ # registry_id: "RegistryId",
1897
+ # })
1898
+ #
1899
+ # @example Response structure
1900
+ #
1901
+ # resp.repository_name #=> String
1902
+ # resp.image_id.image_digest #=> String
1903
+ # resp.image_id.image_tag #=> String
1904
+ # resp.registry_id #=> String
1905
+ # resp.signing_statuses #=> Array
1906
+ # resp.signing_statuses[0].signing_profile_arn #=> String
1907
+ # resp.signing_statuses[0].failure_code #=> String
1908
+ # resp.signing_statuses[0].failure_reason #=> String
1909
+ # resp.signing_statuses[0].status #=> String, one of "IN_PROGRESS", "COMPLETE", "FAILED"
1910
+ #
1911
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImageSigningStatus AWS API Documentation
1912
+ #
1913
+ # @overload describe_image_signing_status(params = {})
1914
+ # @param [Hash] params ({})
1915
+ def describe_image_signing_status(params = {}, options = {})
1916
+ req = build_request(:describe_image_signing_status, params)
1917
+ req.send_request(options)
1918
+ end
1919
+
1820
1920
  # Returns metadata about the images in a repository.
1821
1921
  #
1822
1922
  # <note markdown="1"> Starting with Docker version 1.9, the Docker client compresses image
@@ -2663,6 +2763,39 @@ module Aws::ECR
2663
2763
  req.send_request(options)
2664
2764
  end
2665
2765
 
2766
+ # Retrieves the registry's signing configuration, which defines rules
2767
+ # for automatically signing images using Amazon Web Services Signer.
2768
+ #
2769
+ # For more information, see [Managed signing][1] in the *Amazon Elastic
2770
+ # Container Registry User Guide*.
2771
+ #
2772
+ #
2773
+ #
2774
+ # [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/managed-signing.html
2775
+ #
2776
+ # @return [Types::GetSigningConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2777
+ #
2778
+ # * {Types::GetSigningConfigurationResponse#registry_id #registry_id} => String
2779
+ # * {Types::GetSigningConfigurationResponse#signing_configuration #signing_configuration} => Types::SigningConfiguration
2780
+ #
2781
+ # @example Response structure
2782
+ #
2783
+ # resp.registry_id #=> String
2784
+ # resp.signing_configuration.rules #=> Array
2785
+ # resp.signing_configuration.rules[0].signing_profile_arn #=> String
2786
+ # resp.signing_configuration.rules[0].repository_filters #=> Array
2787
+ # resp.signing_configuration.rules[0].repository_filters[0].filter #=> String
2788
+ # resp.signing_configuration.rules[0].repository_filters[0].filter_type #=> String, one of "WILDCARD_MATCH"
2789
+ #
2790
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetSigningConfiguration AWS API Documentation
2791
+ #
2792
+ # @overload get_signing_configuration(params = {})
2793
+ # @param [Hash] params ({})
2794
+ def get_signing_configuration(params = {}, options = {})
2795
+ req = build_request(:get_signing_configuration, params)
2796
+ req.send_request(options)
2797
+ end
2798
+
2666
2799
  # Notifies Amazon ECR that you intend to upload an image layer.
2667
2800
  #
2668
2801
  # When an image is pushed, the InitiateLayerUpload API is called once
@@ -3574,6 +3707,65 @@ module Aws::ECR
3574
3707
  req.send_request(options)
3575
3708
  end
3576
3709
 
3710
+ # Creates or updates the registry's signing configuration, which
3711
+ # defines rules for automatically signing images with Amazon Web
3712
+ # Services Signer.
3713
+ #
3714
+ # For more information, see [Managed signing][1] in the *Amazon Elastic
3715
+ # Container Registry User Guide*.
3716
+ #
3717
+ # <note markdown="1"> To successfully generate a signature, the IAM principal pushing images
3718
+ # must have permission to sign payloads with the Amazon Web Services
3719
+ # Signer signing profile referenced in the signing configuration.
3720
+ #
3721
+ # </note>
3722
+ #
3723
+ #
3724
+ #
3725
+ # [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/managed-signing.html
3726
+ #
3727
+ # @option params [required, Types::SigningConfiguration] :signing_configuration
3728
+ # The signing configuration to assign to the registry.
3729
+ #
3730
+ # @return [Types::PutSigningConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3731
+ #
3732
+ # * {Types::PutSigningConfigurationResponse#signing_configuration #signing_configuration} => Types::SigningConfiguration
3733
+ #
3734
+ # @example Request syntax with placeholder values
3735
+ #
3736
+ # resp = client.put_signing_configuration({
3737
+ # signing_configuration: { # required
3738
+ # rules: [ # required
3739
+ # {
3740
+ # signing_profile_arn: "SigningProfileArn", # required
3741
+ # repository_filters: [
3742
+ # {
3743
+ # filter: "SigningRepositoryFilterValue", # required
3744
+ # filter_type: "WILDCARD_MATCH", # required, accepts WILDCARD_MATCH
3745
+ # },
3746
+ # ],
3747
+ # },
3748
+ # ],
3749
+ # },
3750
+ # })
3751
+ #
3752
+ # @example Response structure
3753
+ #
3754
+ # resp.signing_configuration.rules #=> Array
3755
+ # resp.signing_configuration.rules[0].signing_profile_arn #=> String
3756
+ # resp.signing_configuration.rules[0].repository_filters #=> Array
3757
+ # resp.signing_configuration.rules[0].repository_filters[0].filter #=> String
3758
+ # resp.signing_configuration.rules[0].repository_filters[0].filter_type #=> String, one of "WILDCARD_MATCH"
3759
+ #
3760
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutSigningConfiguration AWS API Documentation
3761
+ #
3762
+ # @overload put_signing_configuration(params = {})
3763
+ # @param [Hash] params ({})
3764
+ def put_signing_configuration(params = {}, options = {})
3765
+ req = build_request(:put_signing_configuration, params)
3766
+ req.send_request(options)
3767
+ end
3768
+
3577
3769
  # Adds an IAM principal to the pull time update exclusion list for a
3578
3770
  # registry. Amazon ECR will not record the pull time if an excluded
3579
3771
  # principal pulls an image.
@@ -4326,7 +4518,7 @@ module Aws::ECR
4326
4518
  tracer: tracer
4327
4519
  )
4328
4520
  context[:gem_name] = 'aws-sdk-ecr'
4329
- context[:gem_version] = '1.114.0'
4521
+ context[:gem_version] = '1.115.0'
4330
4522
  Seahorse::Client::Request.new(handlers, context)
4331
4523
  end
4332
4524
 
@@ -73,12 +73,16 @@ module Aws::ECR
73
73
  DeleteRepositoryPolicyResponse = Shapes::StructureShape.new(name: 'DeleteRepositoryPolicyResponse')
74
74
  DeleteRepositoryRequest = Shapes::StructureShape.new(name: 'DeleteRepositoryRequest')
75
75
  DeleteRepositoryResponse = Shapes::StructureShape.new(name: 'DeleteRepositoryResponse')
76
+ DeleteSigningConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteSigningConfigurationRequest')
77
+ DeleteSigningConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteSigningConfigurationResponse')
76
78
  DeregisterPullTimeUpdateExclusionRequest = Shapes::StructureShape.new(name: 'DeregisterPullTimeUpdateExclusionRequest')
77
79
  DeregisterPullTimeUpdateExclusionResponse = Shapes::StructureShape.new(name: 'DeregisterPullTimeUpdateExclusionResponse')
78
80
  DescribeImageReplicationStatusRequest = Shapes::StructureShape.new(name: 'DescribeImageReplicationStatusRequest')
79
81
  DescribeImageReplicationStatusResponse = Shapes::StructureShape.new(name: 'DescribeImageReplicationStatusResponse')
80
82
  DescribeImageScanFindingsRequest = Shapes::StructureShape.new(name: 'DescribeImageScanFindingsRequest')
81
83
  DescribeImageScanFindingsResponse = Shapes::StructureShape.new(name: 'DescribeImageScanFindingsResponse')
84
+ DescribeImageSigningStatusRequest = Shapes::StructureShape.new(name: 'DescribeImageSigningStatusRequest')
85
+ DescribeImageSigningStatusResponse = Shapes::StructureShape.new(name: 'DescribeImageSigningStatusResponse')
82
86
  DescribeImagesFilter = Shapes::StructureShape.new(name: 'DescribeImagesFilter')
83
87
  DescribeImagesRequest = Shapes::StructureShape.new(name: 'DescribeImagesRequest')
84
88
  DescribeImagesResponse = Shapes::StructureShape.new(name: 'DescribeImagesResponse')
@@ -130,6 +134,8 @@ module Aws::ECR
130
134
  GetRegistryScanningConfigurationResponse = Shapes::StructureShape.new(name: 'GetRegistryScanningConfigurationResponse')
131
135
  GetRepositoryPolicyRequest = Shapes::StructureShape.new(name: 'GetRepositoryPolicyRequest')
132
136
  GetRepositoryPolicyResponse = Shapes::StructureShape.new(name: 'GetRepositoryPolicyResponse')
137
+ GetSigningConfigurationRequest = Shapes::StructureShape.new(name: 'GetSigningConfigurationRequest')
138
+ GetSigningConfigurationResponse = Shapes::StructureShape.new(name: 'GetSigningConfigurationResponse')
133
139
  Image = Shapes::StructureShape.new(name: 'Image')
134
140
  ImageActionType = Shapes::StringShape.new(name: 'ImageActionType')
135
141
  ImageAlreadyExistsException = Shapes::StructureShape.new(name: 'ImageAlreadyExistsException')
@@ -158,6 +164,8 @@ module Aws::ECR
158
164
  ImageScanFindingsSummary = Shapes::StructureShape.new(name: 'ImageScanFindingsSummary')
159
165
  ImageScanStatus = Shapes::StructureShape.new(name: 'ImageScanStatus')
160
166
  ImageScanningConfiguration = Shapes::StructureShape.new(name: 'ImageScanningConfiguration')
167
+ ImageSigningStatus = Shapes::StructureShape.new(name: 'ImageSigningStatus')
168
+ ImageSigningStatusList = Shapes::ListShape.new(name: 'ImageSigningStatusList')
161
169
  ImageSizeInBytes = Shapes::IntegerShape.new(name: 'ImageSizeInBytes')
162
170
  ImageStatus = Shapes::StringShape.new(name: 'ImageStatus')
163
171
  ImageStatusFilter = Shapes::StringShape.new(name: 'ImageStatusFilter')
@@ -264,6 +272,8 @@ module Aws::ECR
264
272
  PutRegistryScanningConfigurationResponse = Shapes::StructureShape.new(name: 'PutRegistryScanningConfigurationResponse')
265
273
  PutReplicationConfigurationRequest = Shapes::StructureShape.new(name: 'PutReplicationConfigurationRequest')
266
274
  PutReplicationConfigurationResponse = Shapes::StructureShape.new(name: 'PutReplicationConfigurationResponse')
275
+ PutSigningConfigurationRequest = Shapes::StructureShape.new(name: 'PutSigningConfigurationRequest')
276
+ PutSigningConfigurationResponse = Shapes::StructureShape.new(name: 'PutSigningConfigurationResponse')
267
277
  RCTAppliedFor = Shapes::StringShape.new(name: 'RCTAppliedFor')
268
278
  RCTAppliedForList = Shapes::ListShape.new(name: 'RCTAppliedForList')
269
279
  Reason = Shapes::StringShape.new(name: 'Reason')
@@ -339,6 +349,18 @@ module Aws::ECR
339
349
  SetRepositoryPolicyResponse = Shapes::StructureShape.new(name: 'SetRepositoryPolicyResponse')
340
350
  Severity = Shapes::StringShape.new(name: 'Severity')
341
351
  SeverityCount = Shapes::IntegerShape.new(name: 'SeverityCount')
352
+ SigningConfiguration = Shapes::StructureShape.new(name: 'SigningConfiguration')
353
+ SigningConfigurationNotFoundException = Shapes::StructureShape.new(name: 'SigningConfigurationNotFoundException')
354
+ SigningProfileArn = Shapes::StringShape.new(name: 'SigningProfileArn')
355
+ SigningRepositoryFilter = Shapes::StructureShape.new(name: 'SigningRepositoryFilter')
356
+ SigningRepositoryFilterList = Shapes::ListShape.new(name: 'SigningRepositoryFilterList')
357
+ SigningRepositoryFilterType = Shapes::StringShape.new(name: 'SigningRepositoryFilterType')
358
+ SigningRepositoryFilterValue = Shapes::StringShape.new(name: 'SigningRepositoryFilterValue')
359
+ SigningRule = Shapes::StructureShape.new(name: 'SigningRule')
360
+ SigningRuleList = Shapes::ListShape.new(name: 'SigningRuleList')
361
+ SigningStatus = Shapes::StringShape.new(name: 'SigningStatus')
362
+ SigningStatusFailureCode = Shapes::StringShape.new(name: 'SigningStatusFailureCode')
363
+ SigningStatusFailureReason = Shapes::StringShape.new(name: 'SigningStatusFailureReason')
342
364
  Source = Shapes::StringShape.new(name: 'Source')
343
365
  SourceLayerHash = Shapes::StringShape.new(name: 'SourceLayerHash')
344
366
  StartImageScanRequest = Shapes::StructureShape.new(name: 'StartImageScanRequest')
@@ -599,6 +621,12 @@ module Aws::ECR
599
621
  DeleteRepositoryResponse.add_member(:repository, Shapes::ShapeRef.new(shape: Repository, location_name: "repository"))
600
622
  DeleteRepositoryResponse.struct_class = Types::DeleteRepositoryResponse
601
623
 
624
+ DeleteSigningConfigurationRequest.struct_class = Types::DeleteSigningConfigurationRequest
625
+
626
+ DeleteSigningConfigurationResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
627
+ DeleteSigningConfigurationResponse.add_member(:signing_configuration, Shapes::ShapeRef.new(shape: SigningConfiguration, location_name: "signingConfiguration"))
628
+ DeleteSigningConfigurationResponse.struct_class = Types::DeleteSigningConfigurationResponse
629
+
602
630
  DeregisterPullTimeUpdateExclusionRequest.add_member(:principal_arn, Shapes::ShapeRef.new(shape: PrincipalArn, required: true, location_name: "principalArn"))
603
631
  DeregisterPullTimeUpdateExclusionRequest.struct_class = Types::DeregisterPullTimeUpdateExclusionRequest
604
632
 
@@ -630,6 +658,17 @@ module Aws::ECR
630
658
  DescribeImageScanFindingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
631
659
  DescribeImageScanFindingsResponse.struct_class = Types::DescribeImageScanFindingsResponse
632
660
 
661
+ DescribeImageSigningStatusRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
662
+ DescribeImageSigningStatusRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageIdentifier, required: true, location_name: "imageId"))
663
+ DescribeImageSigningStatusRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
664
+ DescribeImageSigningStatusRequest.struct_class = Types::DescribeImageSigningStatusRequest
665
+
666
+ DescribeImageSigningStatusResponse.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
667
+ DescribeImageSigningStatusResponse.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageIdentifier, location_name: "imageId"))
668
+ DescribeImageSigningStatusResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
669
+ DescribeImageSigningStatusResponse.add_member(:signing_statuses, Shapes::ShapeRef.new(shape: ImageSigningStatusList, location_name: "signingStatuses"))
670
+ DescribeImageSigningStatusResponse.struct_class = Types::DescribeImageSigningStatusResponse
671
+
633
672
  DescribeImagesFilter.add_member(:tag_status, Shapes::ShapeRef.new(shape: TagStatus, location_name: "tagStatus"))
634
673
  DescribeImagesFilter.add_member(:image_status, Shapes::ShapeRef.new(shape: ImageStatusFilter, location_name: "imageStatus"))
635
674
  DescribeImagesFilter.struct_class = Types::DescribeImagesFilter
@@ -795,6 +834,12 @@ module Aws::ECR
795
834
  GetRepositoryPolicyResponse.add_member(:policy_text, Shapes::ShapeRef.new(shape: RepositoryPolicyText, location_name: "policyText"))
796
835
  GetRepositoryPolicyResponse.struct_class = Types::GetRepositoryPolicyResponse
797
836
 
837
+ GetSigningConfigurationRequest.struct_class = Types::GetSigningConfigurationRequest
838
+
839
+ GetSigningConfigurationResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
840
+ GetSigningConfigurationResponse.add_member(:signing_configuration, Shapes::ShapeRef.new(shape: SigningConfiguration, location_name: "signingConfiguration"))
841
+ GetSigningConfigurationResponse.struct_class = Types::GetSigningConfigurationResponse
842
+
798
843
  Image.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
799
844
  Image.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
800
845
  Image.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageIdentifier, location_name: "imageId"))
@@ -894,6 +939,14 @@ module Aws::ECR
894
939
  ImageScanningConfiguration.add_member(:scan_on_push, Shapes::ShapeRef.new(shape: ScanOnPushFlag, location_name: "scanOnPush"))
895
940
  ImageScanningConfiguration.struct_class = Types::ImageScanningConfiguration
896
941
 
942
+ ImageSigningStatus.add_member(:signing_profile_arn, Shapes::ShapeRef.new(shape: SigningProfileArn, location_name: "signingProfileArn"))
943
+ ImageSigningStatus.add_member(:failure_code, Shapes::ShapeRef.new(shape: SigningStatusFailureCode, location_name: "failureCode"))
944
+ ImageSigningStatus.add_member(:failure_reason, Shapes::ShapeRef.new(shape: SigningStatusFailureReason, location_name: "failureReason"))
945
+ ImageSigningStatus.add_member(:status, Shapes::ShapeRef.new(shape: SigningStatus, location_name: "status"))
946
+ ImageSigningStatus.struct_class = Types::ImageSigningStatus
947
+
948
+ ImageSigningStatusList.member = Shapes::ShapeRef.new(shape: ImageSigningStatus)
949
+
897
950
  ImageStorageClassUpdateNotSupportedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
898
951
  ImageStorageClassUpdateNotSupportedException.struct_class = Types::ImageStorageClassUpdateNotSupportedException
899
952
 
@@ -1155,6 +1208,12 @@ module Aws::ECR
1155
1208
  PutReplicationConfigurationResponse.add_member(:replication_configuration, Shapes::ShapeRef.new(shape: ReplicationConfiguration, location_name: "replicationConfiguration"))
1156
1209
  PutReplicationConfigurationResponse.struct_class = Types::PutReplicationConfigurationResponse
1157
1210
 
1211
+ PutSigningConfigurationRequest.add_member(:signing_configuration, Shapes::ShapeRef.new(shape: SigningConfiguration, required: true, location_name: "signingConfiguration"))
1212
+ PutSigningConfigurationRequest.struct_class = Types::PutSigningConfigurationRequest
1213
+
1214
+ PutSigningConfigurationResponse.add_member(:signing_configuration, Shapes::ShapeRef.new(shape: SigningConfiguration, location_name: "signingConfiguration"))
1215
+ PutSigningConfigurationResponse.struct_class = Types::PutSigningConfigurationResponse
1216
+
1158
1217
  RCTAppliedForList.member = Shapes::ShapeRef.new(shape: RCTAppliedFor)
1159
1218
 
1160
1219
  Recommendation.add_member(:url, Shapes::ShapeRef.new(shape: Url, location_name: "url"))
@@ -1313,6 +1372,24 @@ module Aws::ECR
1313
1372
  SetRepositoryPolicyResponse.add_member(:policy_text, Shapes::ShapeRef.new(shape: RepositoryPolicyText, location_name: "policyText"))
1314
1373
  SetRepositoryPolicyResponse.struct_class = Types::SetRepositoryPolicyResponse
1315
1374
 
1375
+ SigningConfiguration.add_member(:rules, Shapes::ShapeRef.new(shape: SigningRuleList, required: true, location_name: "rules"))
1376
+ SigningConfiguration.struct_class = Types::SigningConfiguration
1377
+
1378
+ SigningConfigurationNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
1379
+ SigningConfigurationNotFoundException.struct_class = Types::SigningConfigurationNotFoundException
1380
+
1381
+ SigningRepositoryFilter.add_member(:filter, Shapes::ShapeRef.new(shape: SigningRepositoryFilterValue, required: true, location_name: "filter"))
1382
+ SigningRepositoryFilter.add_member(:filter_type, Shapes::ShapeRef.new(shape: SigningRepositoryFilterType, required: true, location_name: "filterType"))
1383
+ SigningRepositoryFilter.struct_class = Types::SigningRepositoryFilter
1384
+
1385
+ SigningRepositoryFilterList.member = Shapes::ShapeRef.new(shape: SigningRepositoryFilter)
1386
+
1387
+ SigningRule.add_member(:signing_profile_arn, Shapes::ShapeRef.new(shape: SigningProfileArn, required: true, location_name: "signingProfileArn"))
1388
+ SigningRule.add_member(:repository_filters, Shapes::ShapeRef.new(shape: SigningRepositoryFilterList, location_name: "repositoryFilters"))
1389
+ SigningRule.struct_class = Types::SigningRule
1390
+
1391
+ SigningRuleList.member = Shapes::ShapeRef.new(shape: SigningRule)
1392
+
1316
1393
  StartImageScanRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
1317
1394
  StartImageScanRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
1318
1395
  StartImageScanRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageIdentifier, required: true, location_name: "imageId"))
@@ -1688,6 +1765,17 @@ module Aws::ECR
1688
1765
  o.errors << Shapes::ShapeRef.new(shape: RepositoryPolicyNotFoundException)
1689
1766
  end)
1690
1767
 
1768
+ api.add_operation(:delete_signing_configuration, Seahorse::Model::Operation.new.tap do |o|
1769
+ o.name = "DeleteSigningConfiguration"
1770
+ o.http_method = "POST"
1771
+ o.http_request_uri = "/"
1772
+ o.input = Shapes::ShapeRef.new(shape: DeleteSigningConfigurationRequest)
1773
+ o.output = Shapes::ShapeRef.new(shape: DeleteSigningConfigurationResponse)
1774
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1775
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1776
+ o.errors << Shapes::ShapeRef.new(shape: SigningConfigurationNotFoundException)
1777
+ end)
1778
+
1691
1779
  api.add_operation(:deregister_pull_time_update_exclusion, Seahorse::Model::Operation.new.tap do |o|
1692
1780
  o.name = "DeregisterPullTimeUpdateExclusion"
1693
1781
  o.http_method = "POST"
@@ -1734,6 +1822,19 @@ module Aws::ECR
1734
1822
  )
1735
1823
  end)
1736
1824
 
1825
+ api.add_operation(:describe_image_signing_status, Seahorse::Model::Operation.new.tap do |o|
1826
+ o.name = "DescribeImageSigningStatus"
1827
+ o.http_method = "POST"
1828
+ o.http_request_uri = "/"
1829
+ o.input = Shapes::ShapeRef.new(shape: DescribeImageSigningStatusRequest)
1830
+ o.output = Shapes::ShapeRef.new(shape: DescribeImageSigningStatusResponse)
1831
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1832
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1833
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1834
+ o.errors << Shapes::ShapeRef.new(shape: ImageNotFoundException)
1835
+ o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
1836
+ end)
1837
+
1737
1838
  api.add_operation(:describe_images, Seahorse::Model::Operation.new.tap do |o|
1738
1839
  o.name = "DescribeImages"
1739
1840
  o.http_method = "POST"
@@ -1917,6 +2018,18 @@ module Aws::ECR
1917
2018
  o.errors << Shapes::ShapeRef.new(shape: RepositoryPolicyNotFoundException)
1918
2019
  end)
1919
2020
 
2021
+ api.add_operation(:get_signing_configuration, Seahorse::Model::Operation.new.tap do |o|
2022
+ o.name = "GetSigningConfiguration"
2023
+ o.http_method = "POST"
2024
+ o.http_request_uri = "/"
2025
+ o.input = Shapes::ShapeRef.new(shape: GetSigningConfigurationRequest)
2026
+ o.output = Shapes::ShapeRef.new(shape: GetSigningConfigurationResponse)
2027
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
2028
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2029
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2030
+ o.errors << Shapes::ShapeRef.new(shape: SigningConfigurationNotFoundException)
2031
+ end)
2032
+
1920
2033
  api.add_operation(:initiate_layer_upload, Seahorse::Model::Operation.new.tap do |o|
1921
2034
  o.name = "InitiateLayerUpload"
1922
2035
  o.http_method = "POST"
@@ -2080,6 +2193,17 @@ module Aws::ECR
2080
2193
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2081
2194
  end)
2082
2195
 
2196
+ api.add_operation(:put_signing_configuration, Seahorse::Model::Operation.new.tap do |o|
2197
+ o.name = "PutSigningConfiguration"
2198
+ o.http_method = "POST"
2199
+ o.http_request_uri = "/"
2200
+ o.input = Shapes::ShapeRef.new(shape: PutSigningConfigurationRequest)
2201
+ o.output = Shapes::ShapeRef.new(shape: PutSigningConfigurationResponse)
2202
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
2203
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2204
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2205
+ end)
2206
+
2083
2207
  api.add_operation(:register_pull_time_update_exclusion, Seahorse::Model::Operation.new.tap do |o|
2084
2208
  o.name = "RegisterPullTimeUpdateExclusion"
2085
2209
  o.http_method = "POST"
@@ -61,6 +61,7 @@ module Aws::ECR
61
61
  # * {ScanNotFoundException}
62
62
  # * {SecretNotFoundException}
63
63
  # * {ServerException}
64
+ # * {SigningConfigurationNotFoundException}
64
65
  # * {TemplateAlreadyExistsException}
65
66
  # * {TemplateNotFoundException}
66
67
  # * {TooManyTagsException}
@@ -614,6 +615,21 @@ module Aws::ECR
614
615
  end
615
616
  end
616
617
 
618
+ class SigningConfigurationNotFoundException < ServiceError
619
+
620
+ # @param [Seahorse::Client::RequestContext] context
621
+ # @param [String] message
622
+ # @param [Aws::ECR::Types::SigningConfigurationNotFoundException] data
623
+ def initialize(context, message, data = Aws::EmptyStructure.new)
624
+ super(context, message, data)
625
+ end
626
+
627
+ # @return [String]
628
+ def message
629
+ @message || @data[:message]
630
+ end
631
+ end
632
+
617
633
  class TemplateAlreadyExistsException < ServiceError
618
634
 
619
635
  # @param [Seahorse::Client::RequestContext] context
@@ -1009,6 +1009,29 @@ module Aws::ECR
1009
1009
  include Aws::Structure
1010
1010
  end
1011
1011
 
1012
+ # @api private
1013
+ #
1014
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteSigningConfigurationRequest AWS API Documentation
1015
+ #
1016
+ class DeleteSigningConfigurationRequest < Aws::EmptyStructure; end
1017
+
1018
+ # @!attribute [rw] registry_id
1019
+ # The Amazon Web Services account ID associated with the registry.
1020
+ # @return [String]
1021
+ #
1022
+ # @!attribute [rw] signing_configuration
1023
+ # The registry's deleted signing configuration.
1024
+ # @return [Types::SigningConfiguration]
1025
+ #
1026
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteSigningConfigurationResponse AWS API Documentation
1027
+ #
1028
+ class DeleteSigningConfigurationResponse < Struct.new(
1029
+ :registry_id,
1030
+ :signing_configuration)
1031
+ SENSITIVE = []
1032
+ include Aws::Structure
1033
+ end
1034
+
1012
1035
  # @!attribute [rw] principal_arn
1013
1036
  # The ARN of the IAM principal to remove from the pull time update
1014
1037
  # exclusion list.
@@ -1175,6 +1198,58 @@ module Aws::ECR
1175
1198
  include Aws::Structure
1176
1199
  end
1177
1200
 
1201
+ # @!attribute [rw] repository_name
1202
+ # The name of the repository that contains the image.
1203
+ # @return [String]
1204
+ #
1205
+ # @!attribute [rw] image_id
1206
+ # An object containing identifying information for an image.
1207
+ # @return [Types::ImageIdentifier]
1208
+ #
1209
+ # @!attribute [rw] registry_id
1210
+ # The Amazon Web Services account ID associated with the registry that
1211
+ # contains the repository. If you do not specify a registry, the
1212
+ # default registry is assumed.
1213
+ # @return [String]
1214
+ #
1215
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImageSigningStatusRequest AWS API Documentation
1216
+ #
1217
+ class DescribeImageSigningStatusRequest < Struct.new(
1218
+ :repository_name,
1219
+ :image_id,
1220
+ :registry_id)
1221
+ SENSITIVE = []
1222
+ include Aws::Structure
1223
+ end
1224
+
1225
+ # @!attribute [rw] repository_name
1226
+ # The name of the repository.
1227
+ # @return [String]
1228
+ #
1229
+ # @!attribute [rw] image_id
1230
+ # An object with identifying information for the image.
1231
+ # @return [Types::ImageIdentifier]
1232
+ #
1233
+ # @!attribute [rw] registry_id
1234
+ # The Amazon Web Services account ID associated with the registry.
1235
+ # @return [String]
1236
+ #
1237
+ # @!attribute [rw] signing_statuses
1238
+ # A list of signing statuses for the specified image. Each status
1239
+ # corresponds to a signing profile.
1240
+ # @return [Array<Types::ImageSigningStatus>]
1241
+ #
1242
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImageSigningStatusResponse AWS API Documentation
1243
+ #
1244
+ class DescribeImageSigningStatusResponse < Struct.new(
1245
+ :repository_name,
1246
+ :image_id,
1247
+ :registry_id,
1248
+ :signing_statuses)
1249
+ SENSITIVE = []
1250
+ include Aws::Structure
1251
+ end
1252
+
1178
1253
  # An object representing a filter on a DescribeImages operation.
1179
1254
  #
1180
1255
  # @!attribute [rw] tag_status
@@ -2101,6 +2176,29 @@ module Aws::ECR
2101
2176
  include Aws::Structure
2102
2177
  end
2103
2178
 
2179
+ # @api private
2180
+ #
2181
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetSigningConfigurationRequest AWS API Documentation
2182
+ #
2183
+ class GetSigningConfigurationRequest < Aws::EmptyStructure; end
2184
+
2185
+ # @!attribute [rw] registry_id
2186
+ # The Amazon Web Services account ID associated with the registry.
2187
+ # @return [String]
2188
+ #
2189
+ # @!attribute [rw] signing_configuration
2190
+ # The registry's signing configuration.
2191
+ # @return [Types::SigningConfiguration]
2192
+ #
2193
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetSigningConfigurationResponse AWS API Documentation
2194
+ #
2195
+ class GetSigningConfigurationResponse < Struct.new(
2196
+ :registry_id,
2197
+ :signing_configuration)
2198
+ SENSITIVE = []
2199
+ include Aws::Structure
2200
+ end
2201
+
2104
2202
  # An object representing an Amazon ECR image.
2105
2203
  #
2106
2204
  # @!attribute [rw] registry_id
@@ -2553,6 +2651,45 @@ module Aws::ECR
2553
2651
  include Aws::Structure
2554
2652
  end
2555
2653
 
2654
+ # The signing status for an image. Each status corresponds to a signing
2655
+ # profile.
2656
+ #
2657
+ # @!attribute [rw] signing_profile_arn
2658
+ # The ARN of the Amazon Web Services Signer signing profile used to
2659
+ # sign the image.
2660
+ # @return [String]
2661
+ #
2662
+ # @!attribute [rw] failure_code
2663
+ # The failure code, which is only present if `status` is `FAILED`.
2664
+ # @return [String]
2665
+ #
2666
+ # @!attribute [rw] failure_reason
2667
+ # A description of why signing the image failed. This field is only
2668
+ # present if `status` is `FAILED`.
2669
+ # @return [String]
2670
+ #
2671
+ # @!attribute [rw] status
2672
+ # The image's signing status. Possible values are:
2673
+ #
2674
+ # * `IN_PROGRESS` - Signing is currently in progress.
2675
+ #
2676
+ # * `COMPLETE` - The signature was successfully generated.
2677
+ #
2678
+ # * `FAILED` - Signing failed. See `failureCode` and `failureReason`
2679
+ # for details.
2680
+ # @return [String]
2681
+ #
2682
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageSigningStatus AWS API Documentation
2683
+ #
2684
+ class ImageSigningStatus < Struct.new(
2685
+ :signing_profile_arn,
2686
+ :failure_code,
2687
+ :failure_reason,
2688
+ :status)
2689
+ SENSITIVE = []
2690
+ include Aws::Structure
2691
+ end
2692
+
2556
2693
  # The requested image storage class update is not supported.
2557
2694
  #
2558
2695
  # @!attribute [rw] message
@@ -3794,6 +3931,30 @@ module Aws::ECR
3794
3931
  include Aws::Structure
3795
3932
  end
3796
3933
 
3934
+ # @!attribute [rw] signing_configuration
3935
+ # The signing configuration to assign to the registry.
3936
+ # @return [Types::SigningConfiguration]
3937
+ #
3938
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutSigningConfigurationRequest AWS API Documentation
3939
+ #
3940
+ class PutSigningConfigurationRequest < Struct.new(
3941
+ :signing_configuration)
3942
+ SENSITIVE = []
3943
+ include Aws::Structure
3944
+ end
3945
+
3946
+ # @!attribute [rw] signing_configuration
3947
+ # The registry's updated signing configuration.
3948
+ # @return [Types::SigningConfiguration]
3949
+ #
3950
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutSigningConfigurationResponse AWS API Documentation
3951
+ #
3952
+ class PutSigningConfigurationResponse < Struct.new(
3953
+ :signing_configuration)
3954
+ SENSITIVE = []
3955
+ include Aws::Structure
3956
+ end
3957
+
3797
3958
  # Details about the recommended course of action to remediate the
3798
3959
  # finding.
3799
3960
  #
@@ -4481,6 +4642,103 @@ module Aws::ECR
4481
4642
  include Aws::Structure
4482
4643
  end
4483
4644
 
4645
+ # The signing configuration for a registry, which specifies rules for
4646
+ # automatically signing images when pushed.
4647
+ #
4648
+ # @!attribute [rw] rules
4649
+ # A list of signing rules. Each rule defines a signing profile and
4650
+ # optional repository filters that determine which images are
4651
+ # automatically signed. Maximum of 10 rules.
4652
+ # @return [Array<Types::SigningRule>]
4653
+ #
4654
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SigningConfiguration AWS API Documentation
4655
+ #
4656
+ class SigningConfiguration < Struct.new(
4657
+ :rules)
4658
+ SENSITIVE = []
4659
+ include Aws::Structure
4660
+ end
4661
+
4662
+ # The specified signing configuration was not found. This occurs when
4663
+ # attempting to retrieve or delete a signing configuration that does not
4664
+ # exist.
4665
+ #
4666
+ # @!attribute [rw] message
4667
+ # The error message associated with the exception.
4668
+ # @return [String]
4669
+ #
4670
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SigningConfigurationNotFoundException AWS API Documentation
4671
+ #
4672
+ class SigningConfigurationNotFoundException < Struct.new(
4673
+ :message)
4674
+ SENSITIVE = []
4675
+ include Aws::Structure
4676
+ end
4677
+
4678
+ # A repository filter used to determine which repositories have their
4679
+ # images automatically signed on push. Each filter consists of a filter
4680
+ # type and filter value.
4681
+ #
4682
+ # @!attribute [rw] filter
4683
+ # The filter value used to match repository names. When using
4684
+ # `WILDCARD_MATCH`, the `*` character matches any sequence of
4685
+ # characters.
4686
+ #
4687
+ # Examples:
4688
+ #
4689
+ # * `myapp/*` - Matches all repositories starting with `myapp/`
4690
+ #
4691
+ # * `*/production` - Matches all repositories ending with
4692
+ # `/production`
4693
+ #
4694
+ # * `*prod*` - Matches all repositories containing `prod`
4695
+ # @return [String]
4696
+ #
4697
+ # @!attribute [rw] filter_type
4698
+ # The type of filter to apply. Currently, only `WILDCARD_MATCH` is
4699
+ # supported, which uses wildcard patterns to match repository names.
4700
+ # @return [String]
4701
+ #
4702
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SigningRepositoryFilter AWS API Documentation
4703
+ #
4704
+ class SigningRepositoryFilter < Struct.new(
4705
+ :filter,
4706
+ :filter_type)
4707
+ SENSITIVE = []
4708
+ include Aws::Structure
4709
+ end
4710
+
4711
+ # A signing rule that specifies a signing profile and optional
4712
+ # repository filters. When an image is pushed to a matching repository,
4713
+ # a signing job is created using the specified profile.
4714
+ #
4715
+ # @!attribute [rw] signing_profile_arn
4716
+ # The ARN of the Amazon Web Services Signer signing profile to use for
4717
+ # signing images that match this rule. For more information about
4718
+ # signing profiles, see [Signing profiles][1] in the *Amazon Web
4719
+ # Services Signer Developer Guide*.
4720
+ #
4721
+ #
4722
+ #
4723
+ # [1]: https://docs.aws.amazon.com/signer/latest/developerguide/signing-profiles.html
4724
+ # @return [String]
4725
+ #
4726
+ # @!attribute [rw] repository_filters
4727
+ # A list of repository filters that determine which repositories have
4728
+ # their images signed on push. If no filters are specified, all images
4729
+ # pushed to the registry are signed using the rule's signing profile.
4730
+ # Maximum of 100 filters per rule.
4731
+ # @return [Array<Types::SigningRepositoryFilter>]
4732
+ #
4733
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SigningRule AWS API Documentation
4734
+ #
4735
+ class SigningRule < Struct.new(
4736
+ :signing_profile_arn,
4737
+ :repository_filters)
4738
+ SENSITIVE = []
4739
+ include Aws::Structure
4740
+ end
4741
+
4484
4742
  # @!attribute [rw] registry_id
4485
4743
  # The Amazon Web Services account ID associated with the registry that
4486
4744
  # contains the repository in which to start an image scan request. If
data/lib/aws-sdk-ecr.rb CHANGED
@@ -55,7 +55,7 @@ module Aws::ECR
55
55
  autoload :EndpointProvider, 'aws-sdk-ecr/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-ecr/endpoints'
57
57
 
58
- GEM_VERSION = '1.114.0'
58
+ GEM_VERSION = '1.115.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -320,6 +320,16 @@ module Aws
320
320
  ) -> _DeleteRepositoryPolicyResponseSuccess
321
321
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRepositoryPolicyResponseSuccess
322
322
 
323
+ interface _DeleteSigningConfigurationResponseSuccess
324
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSigningConfigurationResponse]
325
+ def registry_id: () -> ::String
326
+ def signing_configuration: () -> Types::SigningConfiguration
327
+ end
328
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#delete_signing_configuration-instance_method
329
+ def delete_signing_configuration: (
330
+ ) -> _DeleteSigningConfigurationResponseSuccess
331
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSigningConfigurationResponseSuccess
332
+
323
333
  interface _DeregisterPullTimeUpdateExclusionResponseSuccess
324
334
  include ::Seahorse::Client::_ResponseSuccess[Types::DeregisterPullTimeUpdateExclusionResponse]
325
335
  def principal_arn: () -> ::String
@@ -369,6 +379,24 @@ module Aws
369
379
  ) -> _DescribeImageScanFindingsResponseSuccess
370
380
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeImageScanFindingsResponseSuccess
371
381
 
382
+ interface _DescribeImageSigningStatusResponseSuccess
383
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeImageSigningStatusResponse]
384
+ def repository_name: () -> ::String
385
+ def image_id: () -> Types::ImageIdentifier
386
+ def registry_id: () -> ::String
387
+ def signing_statuses: () -> ::Array[Types::ImageSigningStatus]
388
+ end
389
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#describe_image_signing_status-instance_method
390
+ def describe_image_signing_status: (
391
+ repository_name: ::String,
392
+ image_id: {
393
+ image_digest: ::String?,
394
+ image_tag: ::String?
395
+ },
396
+ ?registry_id: ::String
397
+ ) -> _DescribeImageSigningStatusResponseSuccess
398
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeImageSigningStatusResponseSuccess
399
+
372
400
  interface _DescribeImagesResponseSuccess
373
401
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeImagesResponse]
374
402
  def image_details: () -> ::Array[Types::ImageDetail]
@@ -554,6 +582,16 @@ module Aws
554
582
  ) -> _GetRepositoryPolicyResponseSuccess
555
583
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRepositoryPolicyResponseSuccess
556
584
 
585
+ interface _GetSigningConfigurationResponseSuccess
586
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSigningConfigurationResponse]
587
+ def registry_id: () -> ::String
588
+ def signing_configuration: () -> Types::SigningConfiguration
589
+ end
590
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#get_signing_configuration-instance_method
591
+ def get_signing_configuration: (
592
+ ) -> _GetSigningConfigurationResponseSuccess
593
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSigningConfigurationResponseSuccess
594
+
557
595
  interface _InitiateLayerUploadResponseSuccess
558
596
  include ::Seahorse::Client::_ResponseSuccess[Types::InitiateLayerUploadResponse]
559
597
  def upload_id: () -> ::String
@@ -764,6 +802,28 @@ module Aws
764
802
  ) -> _PutReplicationConfigurationResponseSuccess
765
803
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutReplicationConfigurationResponseSuccess
766
804
 
805
+ interface _PutSigningConfigurationResponseSuccess
806
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutSigningConfigurationResponse]
807
+ def signing_configuration: () -> Types::SigningConfiguration
808
+ end
809
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#put_signing_configuration-instance_method
810
+ def put_signing_configuration: (
811
+ signing_configuration: {
812
+ rules: Array[
813
+ {
814
+ signing_profile_arn: ::String,
815
+ repository_filters: Array[
816
+ {
817
+ filter: ::String,
818
+ filter_type: ("WILDCARD_MATCH")
819
+ },
820
+ ]?
821
+ },
822
+ ]
823
+ }
824
+ ) -> _PutSigningConfigurationResponseSuccess
825
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutSigningConfigurationResponseSuccess
826
+
767
827
  interface _RegisterPullTimeUpdateExclusionResponseSuccess
768
828
  include ::Seahorse::Client::_ResponseSuccess[Types::RegisterPullTimeUpdateExclusionResponse]
769
829
  def principal_arn: () -> ::String
data/sig/errors.rbs CHANGED
@@ -118,6 +118,9 @@ module Aws
118
118
  class ServerException < ::Aws::Errors::ServiceError
119
119
  def message: () -> ::String
120
120
  end
121
+ class SigningConfigurationNotFoundException < ::Aws::Errors::ServiceError
122
+ def message: () -> ::String
123
+ end
121
124
  class TemplateAlreadyExistsException < ::Aws::Errors::ServiceError
122
125
  def message: () -> ::String
123
126
  end
data/sig/types.rbs CHANGED
@@ -265,6 +265,15 @@ module Aws::ECR
265
265
  SENSITIVE: []
266
266
  end
267
267
 
268
+ class DeleteSigningConfigurationRequest < Aws::EmptyStructure
269
+ end
270
+
271
+ class DeleteSigningConfigurationResponse
272
+ attr_accessor registry_id: ::String
273
+ attr_accessor signing_configuration: Types::SigningConfiguration
274
+ SENSITIVE: []
275
+ end
276
+
268
277
  class DeregisterPullTimeUpdateExclusionRequest
269
278
  attr_accessor principal_arn: ::String
270
279
  SENSITIVE: []
@@ -308,6 +317,21 @@ module Aws::ECR
308
317
  SENSITIVE: []
309
318
  end
310
319
 
320
+ class DescribeImageSigningStatusRequest
321
+ attr_accessor repository_name: ::String
322
+ attr_accessor image_id: Types::ImageIdentifier
323
+ attr_accessor registry_id: ::String
324
+ SENSITIVE: []
325
+ end
326
+
327
+ class DescribeImageSigningStatusResponse
328
+ attr_accessor repository_name: ::String
329
+ attr_accessor image_id: Types::ImageIdentifier
330
+ attr_accessor registry_id: ::String
331
+ attr_accessor signing_statuses: ::Array[Types::ImageSigningStatus]
332
+ SENSITIVE: []
333
+ end
334
+
311
335
  class DescribeImagesFilter
312
336
  attr_accessor tag_status: ("TAGGED" | "UNTAGGED" | "ANY")
313
337
  attr_accessor image_status: ("ACTIVE" | "ARCHIVED" | "ACTIVATING" | "ANY")
@@ -529,6 +553,15 @@ module Aws::ECR
529
553
  SENSITIVE: []
530
554
  end
531
555
 
556
+ class GetSigningConfigurationRequest < Aws::EmptyStructure
557
+ end
558
+
559
+ class GetSigningConfigurationResponse
560
+ attr_accessor registry_id: ::String
561
+ attr_accessor signing_configuration: Types::SigningConfiguration
562
+ SENSITIVE: []
563
+ end
564
+
532
565
  class Image
533
566
  attr_accessor registry_id: ::String
534
567
  attr_accessor repository_name: ::String
@@ -644,6 +677,14 @@ module Aws::ECR
644
677
  SENSITIVE: []
645
678
  end
646
679
 
680
+ class ImageSigningStatus
681
+ attr_accessor signing_profile_arn: ::String
682
+ attr_accessor failure_code: ::String
683
+ attr_accessor failure_reason: ::String
684
+ attr_accessor status: ("IN_PROGRESS" | "COMPLETE" | "FAILED")
685
+ SENSITIVE: []
686
+ end
687
+
647
688
  class ImageStorageClassUpdateNotSupportedException
648
689
  attr_accessor message: ::String
649
690
  SENSITIVE: []
@@ -989,6 +1030,16 @@ module Aws::ECR
989
1030
  SENSITIVE: []
990
1031
  end
991
1032
 
1033
+ class PutSigningConfigurationRequest
1034
+ attr_accessor signing_configuration: Types::SigningConfiguration
1035
+ SENSITIVE: []
1036
+ end
1037
+
1038
+ class PutSigningConfigurationResponse
1039
+ attr_accessor signing_configuration: Types::SigningConfiguration
1040
+ SENSITIVE: []
1041
+ end
1042
+
992
1043
  class Recommendation
993
1044
  attr_accessor url: ::String
994
1045
  attr_accessor text: ::String
@@ -1175,6 +1226,28 @@ module Aws::ECR
1175
1226
  SENSITIVE: []
1176
1227
  end
1177
1228
 
1229
+ class SigningConfiguration
1230
+ attr_accessor rules: ::Array[Types::SigningRule]
1231
+ SENSITIVE: []
1232
+ end
1233
+
1234
+ class SigningConfigurationNotFoundException
1235
+ attr_accessor message: ::String
1236
+ SENSITIVE: []
1237
+ end
1238
+
1239
+ class SigningRepositoryFilter
1240
+ attr_accessor filter: ::String
1241
+ attr_accessor filter_type: ("WILDCARD_MATCH")
1242
+ SENSITIVE: []
1243
+ end
1244
+
1245
+ class SigningRule
1246
+ attr_accessor signing_profile_arn: ::String
1247
+ attr_accessor repository_filters: ::Array[Types::SigningRepositoryFilter]
1248
+ SENSITIVE: []
1249
+ end
1250
+
1178
1251
  class StartImageScanRequest
1179
1252
  attr_accessor registry_id: ::String
1180
1253
  attr_accessor repository_name: ::String
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.114.0
4
+ version: 1.115.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.234.0
21
+ version: 3.239.1
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.234.0
31
+ version: 3.239.1
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement