aws-sdk-ecr 1.79.0 → 1.80.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1a393d47f9c75a5481b325c4ac2cc96e54f0fcb734a405e38a916c7bf09074b6
4
- data.tar.gz: 45f3908d24dc14f4127299fc2e3c7eece2fa6af2be353d17a407e9d2d79a206b
3
+ metadata.gz: 486c61d1d10d3e8ac8a0887a562ea17f5b5b4d57a77d3eb29a170e6035a0e1b9
4
+ data.tar.gz: c624b983398e842d6d6f5cd02b566b429ca6a381a447ae6c248d6ba75fd1ef81
5
5
  SHA512:
6
- metadata.gz: 110c45269757aa566fab0dae2cfbd59e27d5e318c1f0410f367cfb686ff48a713cef65cd7a6711364e20b8c61476f78180e41c0a80d1e6b265a1b6414c3aa84c
7
- data.tar.gz: b4206cdfe2f6e3460b249d8abe7de0902415a183f6be499ae884cfafa97fba9e96f1d0195b309cfb6daff4ed06c6eccca39e7fa1725f4f8adb7d39e816bb814e
6
+ metadata.gz: 9049d87ee2fd7ef6e6256f42bb6a75a4ffba2550e2f1f4585f28818f220344890b2bee192ae54890b81519a7945fe1954e883a28092e883e031185909364da68
7
+ data.tar.gz: a9504780fa21834e895c73b179b6594ace480482a127d7a17caab367d1d77577e5961c83de2d231a90ef554e08893ab12e4d9f548de2a6b4a9eb033764c98f92
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.80.0 (2024-08-05)
5
+ ------------------
6
+
7
+ * Feature - Released two new APIs along with documentation updates. The GetAccountSetting API is used to view the current basic scan type version setting for your registry, while the PutAccountSetting API is used to update the basic scan type version for your registry.
8
+
4
9
  1.79.0 (2024-07-25)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.79.0
1
+ 1.80.0
@@ -1036,7 +1036,10 @@ module Aws::ECR
1036
1036
  #
1037
1037
  # @option params [String] :custom_role_arn
1038
1038
  # The ARN of the role to be assumed by Amazon ECR. This role must be in
1039
- # the same account as the registry that you are configuring.
1039
+ # the same account as the registry that you are configuring. Amazon ECR
1040
+ # will assume your supplied role when the customRoleArn is specified.
1041
+ # When this field isn't specified, Amazon ECR will use the
1042
+ # service-linked role for the repository creation template.
1040
1043
  #
1041
1044
  # @return [Types::CreateRepositoryCreationTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1042
1045
  #
@@ -2074,6 +2077,36 @@ module Aws::ECR
2074
2077
  req.send_request(options)
2075
2078
  end
2076
2079
 
2080
+ # Retrieves the basic scan type version name.
2081
+ #
2082
+ # @option params [required, String] :name
2083
+ # Basic scan type version name.
2084
+ #
2085
+ # @return [Types::GetAccountSettingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2086
+ #
2087
+ # * {Types::GetAccountSettingResponse#name #name} => String
2088
+ # * {Types::GetAccountSettingResponse#value #value} => String
2089
+ #
2090
+ # @example Request syntax with placeholder values
2091
+ #
2092
+ # resp = client.get_account_setting({
2093
+ # name: "AccountSettingName", # required
2094
+ # })
2095
+ #
2096
+ # @example Response structure
2097
+ #
2098
+ # resp.name #=> String
2099
+ # resp.value #=> String
2100
+ #
2101
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetAccountSetting AWS API Documentation
2102
+ #
2103
+ # @overload get_account_setting(params = {})
2104
+ # @param [Hash] params ({})
2105
+ def get_account_setting(params = {}, options = {})
2106
+ req = build_request(:get_account_setting, params)
2107
+ req.send_request(options)
2108
+ end
2109
+
2077
2110
  # Retrieves an authorization token. An authorization token represents
2078
2111
  # your IAM authentication credentials and can be used to access any
2079
2112
  # Amazon ECR registry that your IAM principal has access to. The
@@ -2610,6 +2643,42 @@ module Aws::ECR
2610
2643
  req.send_request(options)
2611
2644
  end
2612
2645
 
2646
+ # Allows you to change the basic scan type version by setting the `name`
2647
+ # parameter to either `CLAIR` to `AWS_NATIVE`.
2648
+ #
2649
+ # @option params [required, String] :name
2650
+ # Basic scan type version name.
2651
+ #
2652
+ # @option params [required, String] :value
2653
+ # Setting value that determines what basic scan type is being used:
2654
+ # `AWS_NATIVE` or `CLAIR`.
2655
+ #
2656
+ # @return [Types::PutAccountSettingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2657
+ #
2658
+ # * {Types::PutAccountSettingResponse#name #name} => String
2659
+ # * {Types::PutAccountSettingResponse#value #value} => String
2660
+ #
2661
+ # @example Request syntax with placeholder values
2662
+ #
2663
+ # resp = client.put_account_setting({
2664
+ # name: "AccountSettingName", # required
2665
+ # value: "AccountSettingValue", # required
2666
+ # })
2667
+ #
2668
+ # @example Response structure
2669
+ #
2670
+ # resp.name #=> String
2671
+ # resp.value #=> String
2672
+ #
2673
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutAccountSetting AWS API Documentation
2674
+ #
2675
+ # @overload put_account_setting(params = {})
2676
+ # @param [Hash] params ({})
2677
+ def put_account_setting(params = {}, options = {})
2678
+ req = build_request(:put_account_setting, params)
2679
+ req.send_request(options)
2680
+ end
2681
+
2613
2682
  # Creates or updates the image manifest and tags associated with an
2614
2683
  # image.
2615
2684
  #
@@ -3339,7 +3408,10 @@ module Aws::ECR
3339
3408
  #
3340
3409
  # @option params [String] :custom_role_arn
3341
3410
  # The ARN of the role to be assumed by Amazon ECR. This role must be in
3342
- # the same account as the registry that you are configuring.
3411
+ # the same account as the registry that you are configuring. Amazon ECR
3412
+ # will assume your supplied role when the customRoleArn is specified.
3413
+ # When this field isn't specified, Amazon ECR will use the
3414
+ # service-linked role for the repository creation template.
3343
3415
  #
3344
3416
  # @return [Types::UpdateRepositoryCreationTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3345
3417
  #
@@ -3571,7 +3643,7 @@ module Aws::ECR
3571
3643
  params: params,
3572
3644
  config: config)
3573
3645
  context[:gem_name] = 'aws-sdk-ecr'
3574
- context[:gem_version] = '1.79.0'
3646
+ context[:gem_version] = '1.80.0'
3575
3647
  Seahorse::Client::Request.new(handlers, context)
3576
3648
  end
3577
3649
 
@@ -13,6 +13,8 @@ module Aws::ECR
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
+ AccountSettingName = Shapes::StringShape.new(name: 'AccountSettingName')
17
+ AccountSettingValue = Shapes::StringShape.new(name: 'AccountSettingValue')
16
18
  Arch = Shapes::StringShape.new(name: 'Arch')
17
19
  Arn = Shapes::StringShape.new(name: 'Arn')
18
20
  Attribute = Shapes::StructureShape.new(name: 'Attribute')
@@ -96,6 +98,8 @@ module Aws::ECR
96
98
  FindingSeverity = Shapes::StringShape.new(name: 'FindingSeverity')
97
99
  FindingSeverityCounts = Shapes::MapShape.new(name: 'FindingSeverityCounts')
98
100
  ForceFlag = Shapes::BooleanShape.new(name: 'ForceFlag')
101
+ GetAccountSettingRequest = Shapes::StructureShape.new(name: 'GetAccountSettingRequest')
102
+ GetAccountSettingResponse = Shapes::StructureShape.new(name: 'GetAccountSettingResponse')
99
103
  GetAuthorizationTokenRegistryIdList = Shapes::ListShape.new(name: 'GetAuthorizationTokenRegistryIdList')
100
104
  GetAuthorizationTokenRequest = Shapes::StructureShape.new(name: 'GetAuthorizationTokenRequest')
101
105
  GetAuthorizationTokenResponse = Shapes::StructureShape.new(name: 'GetAuthorizationTokenResponse')
@@ -207,6 +211,8 @@ module Aws::ECR
207
211
  PullThroughCacheRuleRepositoryPrefix = Shapes::StringShape.new(name: 'PullThroughCacheRuleRepositoryPrefix')
208
212
  PullThroughCacheRuleRepositoryPrefixList = Shapes::ListShape.new(name: 'PullThroughCacheRuleRepositoryPrefixList')
209
213
  PushTimestamp = Shapes::TimestampShape.new(name: 'PushTimestamp')
214
+ PutAccountSettingRequest = Shapes::StructureShape.new(name: 'PutAccountSettingRequest')
215
+ PutAccountSettingResponse = Shapes::StructureShape.new(name: 'PutAccountSettingResponse')
210
216
  PutImageRequest = Shapes::StructureShape.new(name: 'PutImageRequest')
211
217
  PutImageResponse = Shapes::StructureShape.new(name: 'PutImageResponse')
212
218
  PutImageScanningConfigurationRequest = Shapes::StructureShape.new(name: 'PutImageScanningConfigurationRequest')
@@ -638,6 +644,13 @@ module Aws::ECR
638
644
  FindingSeverityCounts.key = Shapes::ShapeRef.new(shape: FindingSeverity)
639
645
  FindingSeverityCounts.value = Shapes::ShapeRef.new(shape: SeverityCount)
640
646
 
647
+ GetAccountSettingRequest.add_member(:name, Shapes::ShapeRef.new(shape: AccountSettingName, required: true, location_name: "name"))
648
+ GetAccountSettingRequest.struct_class = Types::GetAccountSettingRequest
649
+
650
+ GetAccountSettingResponse.add_member(:name, Shapes::ShapeRef.new(shape: AccountSettingName, location_name: "name"))
651
+ GetAccountSettingResponse.add_member(:value, Shapes::ShapeRef.new(shape: AccountSettingName, location_name: "value"))
652
+ GetAccountSettingResponse.struct_class = Types::GetAccountSettingResponse
653
+
641
654
  GetAuthorizationTokenRegistryIdList.member = Shapes::ShapeRef.new(shape: RegistryId)
642
655
 
643
656
  GetAuthorizationTokenRequest.add_member(:registry_ids, Shapes::ShapeRef.new(shape: GetAuthorizationTokenRegistryIdList, deprecated: true, location_name: "registryIds", metadata: {"deprecatedMessage"=>"This field is deprecated. The returned authorization token can be used to access any Amazon ECR registry that the IAM principal has access to, specifying a registry ID doesn't change the permissions scope of the authorization token."}))
@@ -934,6 +947,14 @@ module Aws::ECR
934
947
 
935
948
  PullThroughCacheRuleRepositoryPrefixList.member = Shapes::ShapeRef.new(shape: PullThroughCacheRuleRepositoryPrefix)
936
949
 
950
+ PutAccountSettingRequest.add_member(:name, Shapes::ShapeRef.new(shape: AccountSettingName, required: true, location_name: "name"))
951
+ PutAccountSettingRequest.add_member(:value, Shapes::ShapeRef.new(shape: AccountSettingValue, required: true, location_name: "value"))
952
+ PutAccountSettingRequest.struct_class = Types::PutAccountSettingRequest
953
+
954
+ PutAccountSettingResponse.add_member(:name, Shapes::ShapeRef.new(shape: AccountSettingName, location_name: "name"))
955
+ PutAccountSettingResponse.add_member(:value, Shapes::ShapeRef.new(shape: AccountSettingValue, location_name: "value"))
956
+ PutAccountSettingResponse.struct_class = Types::PutAccountSettingResponse
957
+
937
958
  PutImageRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
938
959
  PutImageRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
939
960
  PutImageRequest.add_member(:image_manifest, Shapes::ShapeRef.new(shape: ImageManifest, required: true, location_name: "imageManifest"))
@@ -1605,6 +1626,17 @@ module Aws::ECR
1605
1626
  )
1606
1627
  end)
1607
1628
 
1629
+ api.add_operation(:get_account_setting, Seahorse::Model::Operation.new.tap do |o|
1630
+ o.name = "GetAccountSetting"
1631
+ o.http_method = "POST"
1632
+ o.http_request_uri = "/"
1633
+ o.input = Shapes::ShapeRef.new(shape: GetAccountSettingRequest)
1634
+ o.output = Shapes::ShapeRef.new(shape: GetAccountSettingResponse)
1635
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1636
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1637
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1638
+ end)
1639
+
1608
1640
  api.add_operation(:get_authorization_token, Seahorse::Model::Operation.new.tap do |o|
1609
1641
  o.name = "GetAuthorizationToken"
1610
1642
  o.http_method = "POST"
@@ -1736,6 +1768,18 @@ module Aws::ECR
1736
1768
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
1737
1769
  end)
1738
1770
 
1771
+ api.add_operation(:put_account_setting, Seahorse::Model::Operation.new.tap do |o|
1772
+ o.name = "PutAccountSetting"
1773
+ o.http_method = "POST"
1774
+ o.http_request_uri = "/"
1775
+ o.input = Shapes::ShapeRef.new(shape: PutAccountSettingRequest)
1776
+ o.output = Shapes::ShapeRef.new(shape: PutAccountSettingResponse)
1777
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1778
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1779
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1780
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1781
+ end)
1782
+
1739
1783
  api.add_operation(:put_image, Seahorse::Model::Operation.new.tap do |o|
1740
1784
  o.name = "PutImage"
1741
1785
  o.http_method = "POST"
@@ -306,6 +306,20 @@ module Aws::ECR
306
306
  end
307
307
  end
308
308
 
309
+ class GetAccountSetting
310
+ def self.build(context)
311
+ unless context.config.regional_endpoint
312
+ endpoint = context.config.endpoint.to_s
313
+ end
314
+ Aws::ECR::EndpointParameters.new(
315
+ region: context.config.region,
316
+ use_dual_stack: context.config.use_dualstack_endpoint,
317
+ use_fips: context.config.use_fips_endpoint,
318
+ endpoint: endpoint,
319
+ )
320
+ end
321
+ end
322
+
309
323
  class GetAuthorizationToken
310
324
  def self.build(context)
311
325
  unless context.config.regional_endpoint
@@ -446,6 +460,20 @@ module Aws::ECR
446
460
  end
447
461
  end
448
462
 
463
+ class PutAccountSetting
464
+ def self.build(context)
465
+ unless context.config.regional_endpoint
466
+ endpoint = context.config.endpoint.to_s
467
+ end
468
+ Aws::ECR::EndpointParameters.new(
469
+ region: context.config.region,
470
+ use_dual_stack: context.config.use_dualstack_endpoint,
471
+ use_fips: context.config.use_fips_endpoint,
472
+ endpoint: endpoint,
473
+ )
474
+ end
475
+ end
476
+
449
477
  class PutImage
450
478
  def self.build(context)
451
479
  unless context.config.regional_endpoint
@@ -100,6 +100,8 @@ module Aws::ECR
100
100
  Aws::ECR::Endpoints::DescribeRepositories.build(context)
101
101
  when :describe_repository_creation_templates
102
102
  Aws::ECR::Endpoints::DescribeRepositoryCreationTemplates.build(context)
103
+ when :get_account_setting
104
+ Aws::ECR::Endpoints::GetAccountSetting.build(context)
103
105
  when :get_authorization_token
104
106
  Aws::ECR::Endpoints::GetAuthorizationToken.build(context)
105
107
  when :get_download_url_for_layer
@@ -120,6 +122,8 @@ module Aws::ECR
120
122
  Aws::ECR::Endpoints::ListImages.build(context)
121
123
  when :list_tags_for_resource
122
124
  Aws::ECR::Endpoints::ListTagsForResource.build(context)
125
+ when :put_account_setting
126
+ Aws::ECR::Endpoints::PutAccountSetting.build(context)
123
127
  when :put_image
124
128
  Aws::ECR::Endpoints::PutImage.build(context)
125
129
  when :put_image_scanning_configuration
@@ -496,7 +496,10 @@ module Aws::ECR
496
496
  #
497
497
  # @!attribute [rw] custom_role_arn
498
498
  # The ARN of the role to be assumed by Amazon ECR. This role must be
499
- # in the same account as the registry that you are configuring.
499
+ # in the same account as the registry that you are configuring. Amazon
500
+ # ECR will assume your supplied role when the customRoleArn is
501
+ # specified. When this field isn't specified, Amazon ECR will use the
502
+ # service-linked role for the repository creation template.
500
503
  # @return [String]
501
504
  #
502
505
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreateRepositoryCreationTemplateRequest AWS API Documentation
@@ -1592,6 +1595,36 @@ module Aws::ECR
1592
1595
  include Aws::Structure
1593
1596
  end
1594
1597
 
1598
+ # @!attribute [rw] name
1599
+ # Basic scan type version name.
1600
+ # @return [String]
1601
+ #
1602
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetAccountSettingRequest AWS API Documentation
1603
+ #
1604
+ class GetAccountSettingRequest < Struct.new(
1605
+ :name)
1606
+ SENSITIVE = []
1607
+ include Aws::Structure
1608
+ end
1609
+
1610
+ # @!attribute [rw] name
1611
+ # Retrieves the basic scan type version name.
1612
+ # @return [String]
1613
+ #
1614
+ # @!attribute [rw] value
1615
+ # Retrieves the value that specifies what basic scan type is being
1616
+ # used: `AWS_NATIVE` or `CLAIR`.
1617
+ # @return [String]
1618
+ #
1619
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetAccountSettingResponse AWS API Documentation
1620
+ #
1621
+ class GetAccountSettingResponse < Struct.new(
1622
+ :name,
1623
+ :value)
1624
+ SENSITIVE = []
1625
+ include Aws::Structure
1626
+ end
1627
+
1595
1628
  # @!attribute [rw] registry_ids
1596
1629
  # A list of Amazon Web Services account IDs that are associated with
1597
1630
  # the registries for which to get AuthorizationData objects. If you do
@@ -2927,6 +2960,41 @@ module Aws::ECR
2927
2960
  include Aws::Structure
2928
2961
  end
2929
2962
 
2963
+ # @!attribute [rw] name
2964
+ # Basic scan type version name.
2965
+ # @return [String]
2966
+ #
2967
+ # @!attribute [rw] value
2968
+ # Setting value that determines what basic scan type is being used:
2969
+ # `AWS_NATIVE` or `CLAIR`.
2970
+ # @return [String]
2971
+ #
2972
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutAccountSettingRequest AWS API Documentation
2973
+ #
2974
+ class PutAccountSettingRequest < Struct.new(
2975
+ :name,
2976
+ :value)
2977
+ SENSITIVE = []
2978
+ include Aws::Structure
2979
+ end
2980
+
2981
+ # @!attribute [rw] name
2982
+ # Retrieves the the basic scan type version name.
2983
+ # @return [String]
2984
+ #
2985
+ # @!attribute [rw] value
2986
+ # Retrieves the basic scan type value, either `AWS_NATIVE` or `-`.
2987
+ # @return [String]
2988
+ #
2989
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutAccountSettingResponse AWS API Documentation
2990
+ #
2991
+ class PutAccountSettingResponse < Struct.new(
2992
+ :name,
2993
+ :value)
2994
+ SENSITIVE = []
2995
+ include Aws::Structure
2996
+ end
2997
+
2930
2998
  # @!attribute [rw] registry_id
2931
2999
  # The Amazon Web Services account ID associated with the registry that
2932
3000
  # contains the repository in which to put the image. If you do not
@@ -3520,7 +3588,10 @@ module Aws::ECR
3520
3588
  # @return [Array<String>]
3521
3589
  #
3522
3590
  # @!attribute [rw] custom_role_arn
3523
- # The ARN of the role to be assumed by Amazon ECR.
3591
+ # The ARN of the role to be assumed by Amazon ECR. Amazon ECR will
3592
+ # assume your supplied role when the customRoleArn is specified. When
3593
+ # this field isn't specified, Amazon ECR will use the service-linked
3594
+ # role for the repository creation template.
3524
3595
  # @return [String]
3525
3596
  #
3526
3597
  # @!attribute [rw] created_at
@@ -4292,7 +4363,10 @@ module Aws::ECR
4292
4363
  #
4293
4364
  # @!attribute [rw] custom_role_arn
4294
4365
  # The ARN of the role to be assumed by Amazon ECR. This role must be
4295
- # in the same account as the registry that you are configuring.
4366
+ # in the same account as the registry that you are configuring. Amazon
4367
+ # ECR will assume your supplied role when the customRoleArn is
4368
+ # specified. When this field isn't specified, Amazon ECR will use the
4369
+ # service-linked role for the repository creation template.
4296
4370
  # @return [String]
4297
4371
  #
4298
4372
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UpdateRepositoryCreationTemplateRequest AWS API Documentation
data/lib/aws-sdk-ecr.rb CHANGED
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-ecr/customizations'
53
53
  # @!group service
54
54
  module Aws::ECR
55
55
 
56
- GEM_VERSION = '1.79.0'
56
+ GEM_VERSION = '1.80.0'
57
57
 
58
58
  end
data/sig/client.rbs CHANGED
@@ -411,6 +411,17 @@ module Aws
411
411
  ) -> _DescribeRepositoryCreationTemplatesResponseSuccess
412
412
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeRepositoryCreationTemplatesResponseSuccess
413
413
 
414
+ interface _GetAccountSettingResponseSuccess
415
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAccountSettingResponse]
416
+ def name: () -> ::String
417
+ def value: () -> ::String
418
+ end
419
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#get_account_setting-instance_method
420
+ def get_account_setting: (
421
+ name: ::String
422
+ ) -> _GetAccountSettingResponseSuccess
423
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAccountSettingResponseSuccess
424
+
414
425
  interface _GetAuthorizationTokenResponseSuccess
415
426
  include ::Seahorse::Client::_ResponseSuccess[Types::GetAuthorizationTokenResponse]
416
427
  def authorization_data: () -> ::Array[Types::AuthorizationData]
@@ -548,6 +559,18 @@ module Aws
548
559
  ) -> _ListTagsForResourceResponseSuccess
549
560
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
550
561
 
562
+ interface _PutAccountSettingResponseSuccess
563
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutAccountSettingResponse]
564
+ def name: () -> ::String
565
+ def value: () -> ::String
566
+ end
567
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#put_account_setting-instance_method
568
+ def put_account_setting: (
569
+ name: ::String,
570
+ value: ::String
571
+ ) -> _PutAccountSettingResponseSuccess
572
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAccountSettingResponseSuccess
573
+
551
574
  interface _PutImageResponseSuccess
552
575
  include ::Seahorse::Client::_ResponseSuccess[Types::PutImageResponse]
553
576
  def image: () -> Types::Image
data/sig/types.rbs CHANGED
@@ -391,6 +391,17 @@ module Aws::ECR
391
391
  SENSITIVE: []
392
392
  end
393
393
 
394
+ class GetAccountSettingRequest
395
+ attr_accessor name: ::String
396
+ SENSITIVE: []
397
+ end
398
+
399
+ class GetAccountSettingResponse
400
+ attr_accessor name: ::String
401
+ attr_accessor value: ::String
402
+ SENSITIVE: []
403
+ end
404
+
394
405
  class GetAuthorizationTokenRequest
395
406
  attr_accessor registry_ids: ::Array[::String]
396
407
  SENSITIVE: []
@@ -767,6 +778,18 @@ module Aws::ECR
767
778
  SENSITIVE: []
768
779
  end
769
780
 
781
+ class PutAccountSettingRequest
782
+ attr_accessor name: ::String
783
+ attr_accessor value: ::String
784
+ SENSITIVE: []
785
+ end
786
+
787
+ class PutAccountSettingResponse
788
+ attr_accessor name: ::String
789
+ attr_accessor value: ::String
790
+ SENSITIVE: []
791
+ end
792
+
770
793
  class PutImageRequest
771
794
  attr_accessor registry_id: ::String
772
795
  attr_accessor repository_name: ::String
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.79.0
4
+ version: 1.80.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: 2024-07-25 00:00:00.000000000 Z
11
+ date: 2024-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core