aws-sdk-s3control 1.111.0 → 1.112.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: 6b13ecd44f535c9b3acb6b7ef1891dc6c21ac0344f78e419aa6aaa46600733aa
4
- data.tar.gz: dccd65f2cc498fcf382501e34e5ce08a2001b5d65c14d767e81a4b437e0dd1aa
3
+ metadata.gz: bd303310536e37f8761babf610cacfdba8e9c5a3e2c05f7c6c3203a6cb93d33b
4
+ data.tar.gz: '085750987342a879d9ccf56d2f1e6df0f7ade9e0d1266317b5db0834edf5d9ad'
5
5
  SHA512:
6
- metadata.gz: 805632ecdade076aa08ccab968a878ed73465acb88ca4ccb012473499145b50bf5e490f3916fb186e559121f47c94d82a494a07c9fdc68e0b42810087546c837
7
- data.tar.gz: 6813ba490f508986297d71a7e72ed5771b44177d10b920992e5c00a48524170a3f6592df3ead437bab71045bfdfe6163bb775048a4a8e97483cfa25ed8bb8ead
6
+ metadata.gz: 3cfb41585a351a779c2fe6c0738b14ed57fb98ca316600468d696acadfc0269ee82e4f5d144c9a624cdd6e91a1219630e410a45655bcec4b404081c60d13c541
7
+ data.tar.gz: dee40f5ac3a37e209cf71ef6ad964b65cb3bf9a133300fcb2c98a4409c2f44830ef43731aff93285e8e53cf19043ee406b7e001a9614d35dfac4ae38b407fc17
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.112.0 (2025-07-02)
5
+ ------------------
6
+
7
+ * Feature - Added TagResource, UntagResource, and ListTagsForResource support for directory bucket
8
+
4
9
  1.111.0 (2025-06-25)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.111.0
1
+ 1.112.0
@@ -6054,44 +6054,63 @@ module Aws::S3Control
6054
6054
  req.send_request(options)
6055
6055
  end
6056
6056
 
6057
- # This operation allows you to list all the Amazon Web Services resource
6058
- # tags for a specified resource. Each tag is a label consisting of a
6059
- # user-defined key and value. Tags can help you manage, identify,
6060
- # organize, search for, and filter resources.
6057
+ # This operation allows you to list all of the tags for a specified
6058
+ # resource. Each tag is a label consisting of a key and value. Tags can
6059
+ # help you organize, track costs for, and control access to resources.
6061
6060
  #
6062
- # Permissions
6061
+ # <note markdown="1"> This operation is only supported for the following Amazon S3
6062
+ # resources:
6063
6063
  #
6064
- # : You must have the `s3:ListTagsForResource` permission to use this
6065
- # operation.
6064
+ # * [Directory buckets][1]
6066
6065
  #
6067
- # <note markdown="1"> This operation is only supported for [S3 Storage Lens groups][1] and
6068
- # for [S3 Access Grants][2]. The tagged resource can be an S3 Storage
6069
- # Lens group or S3 Access Grants instance, registered location, or
6070
- # grant.
6066
+ # * [Storage Lens groups][2]
6067
+ #
6068
+ # * [S3 Access Grants instances, registered locations, and grants][3].
6071
6069
  #
6072
6070
  # </note>
6073
6071
  #
6074
- # For more information about the required Storage Lens Groups
6075
- # permissions, see [Setting account permissions to use S3 Storage Lens
6076
- # groups][3].
6072
+ # Permissions
6073
+ #
6074
+ # : For Storage Lens groups and S3 Access Grants, you must have the
6075
+ # `s3:ListTagsForResource` permission to use this operation.
6076
+ #
6077
+ # For more information about the required Storage Lens Groups
6078
+ # permissions, see [Setting account permissions to use S3 Storage Lens
6079
+ # groups][4].
6080
+ #
6081
+ # Directory bucket permissions
6082
+ #
6083
+ # : For directory buckets, you must have the
6084
+ # `s3express:ListTagsForResource` permission to use this operation.
6085
+ # For more information about directory buckets policies and
6086
+ # permissions, see [Identity and Access Management (IAM) for S3
6087
+ # Express One Zone][5] in the *Amazon S3 User Guide*.
6088
+ #
6089
+ # HTTP Host header syntax
6090
+ #
6091
+ # : <b>Directory buckets </b> - The HTTP Host header syntax is
6092
+ # `s3express-control.region.amazonaws.com`.
6077
6093
  #
6078
6094
  # For information about S3 Tagging errors, see [List of Amazon S3
6079
- # Tagging error codes][4].
6095
+ # Tagging error codes][6].
6080
6096
  #
6081
6097
  #
6082
6098
  #
6083
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html
6084
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html
6085
- # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions
6086
- # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3TaggingErrorCodeList
6099
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-tagging.html
6100
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html
6101
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html
6102
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions
6103
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-permissions.html
6104
+ # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3TaggingErrorCodeList
6087
6105
  #
6088
6106
  # @option params [String] :account_id
6089
6107
  # The Amazon Web Services account ID of the resource owner.
6090
6108
  #
6091
6109
  # @option params [required, String] :resource_arn
6092
6110
  # The Amazon Resource Name (ARN) of the S3 resource that you want to
6093
- # list the tags for. The tagged resource can be an S3 Storage Lens group
6094
- # or S3 Access Grants instance, registered location, or grant.
6111
+ # list tags for. The tagged resource can be a directory bucket, S3
6112
+ # Storage Lens group or S3 Access Grants instance, registered location,
6113
+ # or grant.
6095
6114
  #
6096
6115
  # @return [Types::ListTagsForResourceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6097
6116
  #
@@ -7558,45 +7577,65 @@ module Aws::S3Control
7558
7577
  req.send_request(options)
7559
7578
  end
7560
7579
 
7561
- # Creates a new Amazon Web Services resource tag or updates an existing
7562
- # resource tag. Each tag is a label consisting of a user-defined key and
7563
- # value. Tags can help you manage, identify, organize, search for, and
7564
- # filter resources. You can add up to 50 Amazon Web Services resource
7565
- # tags for each S3 resource.
7580
+ # Creates a new user-defined tag or updates an existing tag. Each tag is
7581
+ # a label consisting of a key and value that is applied to your
7582
+ # resource. Tags can help you organize, track costs for, and control
7583
+ # access to your resources. You can add up to 50 Amazon Web Services
7584
+ # resource tags for each S3 resource.
7585
+ #
7586
+ # <note markdown="1"> This operation is only supported for the following Amazon S3 resource:
7587
+ #
7588
+ # * [Directory buckets][1]
7589
+ #
7590
+ # * [S3 Storage Lens groups][2]
7566
7591
  #
7567
- # <note markdown="1"> This operation is only supported for [S3 Storage Lens groups][1] and
7568
- # for [S3 Access Grants][2]. The tagged resource can be an S3 Storage
7569
- # Lens group or S3 Access Grants instance, registered location, or
7570
- # grant.
7592
+ # * [S3 Access Grants instances, registered locations, or grants][3].
7571
7593
  #
7572
7594
  # </note>
7573
7595
  #
7574
7596
  # Permissions
7575
7597
  #
7576
- # : You must have the `s3:TagResource` permission to use this operation.
7598
+ # : For Storage Lens groups and S3 Access Grants, you must have the
7599
+ # `s3:TagResource` permission to use this operation.
7577
7600
  #
7578
- # For more information about the required Storage Lens Groups
7579
- # permissions, see [Setting account permissions to use S3 Storage Lens
7580
- # groups][3].
7601
+ # For more information about the required Storage Lens Groups
7602
+ # permissions, see [Setting account permissions to use S3 Storage Lens
7603
+ # groups][4].
7604
+ #
7605
+ # Directory bucket permissions
7606
+ #
7607
+ # : For directory buckets, you must have the `s3express:TagResource`
7608
+ # permission to use this operation. For more information about
7609
+ # directory buckets policies and permissions, see [Identity and Access
7610
+ # Management (IAM) for S3 Express One Zone][5] in the *Amazon S3 User
7611
+ # Guide*.
7612
+ #
7613
+ # HTTP Host header syntax
7614
+ #
7615
+ # : <b>Directory buckets </b> - The HTTP Host header syntax is
7616
+ # `s3express-control.region.amazonaws.com`.
7581
7617
  #
7582
7618
  # For information about S3 Tagging errors, see [List of Amazon S3
7583
- # Tagging error codes][4].
7619
+ # Tagging error codes][6].
7584
7620
  #
7585
7621
  #
7586
7622
  #
7587
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html
7588
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html
7589
- # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions
7590
- # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3TaggingErrorCodeList
7623
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-tagging.html
7624
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html
7625
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html
7626
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions
7627
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-permissions.html
7628
+ # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3TaggingErrorCodeList
7591
7629
  #
7592
7630
  # @option params [String] :account_id
7593
7631
  # The Amazon Web Services account ID that created the S3 resource that
7594
7632
  # you're trying to add tags to or the requester's account ID.
7595
7633
  #
7596
7634
  # @option params [required, String] :resource_arn
7597
- # The Amazon Resource Name (ARN) of the S3 resource that you're trying
7598
- # to add tags to. The tagged resource can be an S3 Storage Lens group or
7599
- # S3 Access Grants instance, registered location, or grant.
7635
+ # The Amazon Resource Name (ARN) of the S3 resource that you're
7636
+ # applying tags to. The tagged resource can be a directory bucket, S3
7637
+ # Storage Lens group or S3 Access Grants instance, registered location,
7638
+ # or grant.
7600
7639
  #
7601
7640
  # @option params [required, Array<Types::Tag>] :tags
7602
7641
  # The Amazon Web Services resource tags that you want to add to the
@@ -7626,44 +7665,63 @@ module Aws::S3Control
7626
7665
  req.send_request(options)
7627
7666
  end
7628
7667
 
7629
- # This operation removes the specified Amazon Web Services resource tags
7630
- # from an S3 resource. Each tag is a label consisting of a user-defined
7631
- # key and value. Tags can help you manage, identify, organize, search
7632
- # for, and filter resources.
7668
+ # This operation removes the specified user-defined tags from an S3
7669
+ # resource. You can pass one or more tag keys.
7670
+ #
7671
+ # <note markdown="1"> This operation is only supported for the following Amazon S3
7672
+ # resources:
7673
+ #
7674
+ # * [Directory buckets][1]
7633
7675
  #
7634
- # <note markdown="1"> This operation is only supported for [S3 Storage Lens groups][1] and
7635
- # for [S3 Access Grants][2]. The tagged resource can be an S3 Storage
7636
- # Lens group or S3 Access Grants instance, registered location, or
7637
- # grant.
7676
+ # * [Storage Lens groups][2]
7677
+ #
7678
+ # * [S3 Access Grants instances, registered locations, and grants][3].
7638
7679
  #
7639
7680
  # </note>
7640
7681
  #
7641
7682
  # Permissions
7642
7683
  #
7643
- # : You must have the `s3:UntagResource` permission to use this
7644
- # operation.
7684
+ # : For Storage Lens groups and S3 Access Grants, you must have the
7685
+ # `s3:UntagResource` permission to use this operation.
7686
+ #
7687
+ # For more information about the required Storage Lens Groups
7688
+ # permissions, see [Setting account permissions to use S3 Storage Lens
7689
+ # groups][4].
7690
+ #
7691
+ # Directory bucket permissions
7692
+ #
7693
+ # : For directory buckets, you must have the `s3express:UntagResource`
7694
+ # permission to use this operation. For more information about
7695
+ # directory buckets policies and permissions, see [Identity and Access
7696
+ # Management (IAM) for S3 Express One Zone][5] in the *Amazon S3 User
7697
+ # Guide*.
7698
+ #
7699
+ # HTTP Host header syntax
7645
7700
  #
7646
- # For more information about the required Storage Lens Groups
7647
- # permissions, see [Setting account permissions to use S3 Storage Lens
7648
- # groups][3].
7701
+ # : <b>Directory buckets </b> - The HTTP Host header syntax is
7702
+ # `s3express-control.region.amazonaws.com`.
7649
7703
  #
7650
7704
  # For information about S3 Tagging errors, see [List of Amazon S3
7651
- # Tagging error codes][4].
7705
+ # Tagging error codes][6].
7652
7706
  #
7653
7707
  #
7654
7708
  #
7655
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html
7656
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html
7657
- # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions
7658
- # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3TaggingErrorCodeList
7709
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-tagging.html
7710
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html
7711
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html
7712
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions
7713
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-permissions.html
7714
+ # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3TaggingErrorCodeList
7659
7715
  #
7660
7716
  # @option params [String] :account_id
7661
7717
  # The Amazon Web Services account ID that owns the resource that you're
7662
7718
  # trying to remove the tags from.
7663
7719
  #
7664
7720
  # @option params [required, String] :resource_arn
7665
- # The Amazon Resource Name (ARN) of the S3 resource that you're trying
7666
- # to remove the tags from.
7721
+ # The Amazon Resource Name (ARN) of the S3 resource that you're
7722
+ # removing tags from. The tagged resource can be a directory bucket, S3
7723
+ # Storage Lens group or S3 Access Grants instance, registered location,
7724
+ # or grant.
7667
7725
  #
7668
7726
  # @option params [required, Array<String>] :tag_keys
7669
7727
  # The array of tag key-value pairs that you're trying to remove from of
@@ -8010,7 +8068,7 @@ module Aws::S3Control
8010
8068
  tracer: tracer
8011
8069
  )
8012
8070
  context[:gem_name] = 'aws-sdk-s3control'
8013
- context[:gem_version] = '1.111.0'
8071
+ context[:gem_version] = '1.112.0'
8014
8072
  Seahorse::Client::Request.new(handlers, context)
8015
8073
  end
8016
8074
 
@@ -1485,7 +1485,7 @@ module Aws::S3Control
1485
1485
  ListStorageLensGroupsResult.struct_class = Types::ListStorageLensGroupsResult
1486
1486
 
1487
1487
  ListTagsForResourceRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam" => {"name" => "AccountId"}}))
1488
- ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: S3ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
1488
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: S3ResourceArn, required: true, location: "uri", location_name: "resourceArn", metadata: {"contextParam" => {"name" => "ResourceArn"}}))
1489
1489
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
1490
1490
 
1491
1491
  ListTagsForResourceResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
@@ -2012,7 +2012,7 @@ module Aws::S3Control
2012
2012
  TagList.member = Shapes::ShapeRef.new(shape: Tag, location_name: "Tag")
2013
2013
 
2014
2014
  TagResourceRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam" => {"name" => "AccountId"}}))
2015
- TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: S3ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
2015
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: S3ResourceArn, required: true, location: "uri", location_name: "resourceArn", metadata: {"contextParam" => {"name" => "ResourceArn"}}))
2016
2016
  TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
2017
2017
  TagResourceRequest.struct_class = Types::TagResourceRequest
2018
2018
 
@@ -2035,7 +2035,7 @@ module Aws::S3Control
2035
2035
  TransitionList.member = Shapes::ShapeRef.new(shape: Transition, location_name: "Transition")
2036
2036
 
2037
2037
  UntagResourceRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam" => {"name" => "AccountId"}}))
2038
- UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: S3ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
2038
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: S3ResourceArn, required: true, location: "uri", location_name: "resourceArn", metadata: {"contextParam" => {"name" => "ResourceArn"}}))
2039
2039
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
2040
2040
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
2041
2041
 
@@ -60,6 +60,11 @@ module Aws::S3Control
60
60
  #
61
61
  # @return [Boolean]
62
62
  #
63
+ # @!attribute resource_arn
64
+ # The resource ARN included in the request. Only set on TagResource, UntagResourceand ListTagsForResource
65
+ #
66
+ # @return [String]
67
+ #
63
68
  # @!attribute use_s3_express_control_endpoint
64
69
  # Internal parameter to indicate whether S3Express operation should use control plane, (ex. ListDirectoryAccessPoints)
65
70
  #
@@ -76,6 +81,7 @@ module Aws::S3Control
76
81
  :bucket,
77
82
  :access_point_name,
78
83
  :use_arn_region,
84
+ :resource_arn,
79
85
  :use_s3_express_control_endpoint,
80
86
  ) do
81
87
  include Aws::Structure
@@ -93,6 +99,7 @@ module Aws::S3Control
93
99
  'Bucket' => :bucket,
94
100
  'AccessPointName' => :access_point_name,
95
101
  'UseArnRegion' => :use_arn_region,
102
+ 'ResourceArn' => :resource_arn,
96
103
  'UseS3ExpressControlEndpoint' => :use_s3_express_control_endpoint,
97
104
  }.freeze
98
105
  end
@@ -110,6 +117,7 @@ module Aws::S3Control
110
117
  self[:bucket] = options[:bucket]
111
118
  self[:access_point_name] = options[:access_point_name]
112
119
  self[:use_arn_region] = options[:use_arn_region]
120
+ self[:resource_arn] = options[:resource_arn]
113
121
  self[:use_s3_express_control_endpoint] = options[:use_s3_express_control_endpoint]
114
122
  end
115
123
 
@@ -46,6 +46,31 @@ module Aws::S3Control
46
46
  raise ArgumentError, "Invalid region: region was not a valid DNS name."
47
47
  end
48
48
  end
49
+ if Aws::Endpoints::Matchers.set?(parameters.resource_arn) && (resource_arn = Aws::Endpoints::Matchers.aws_parse_arn(parameters.resource_arn)) && Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(resource_arn, "service"), "s3express")
50
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
51
+ if (arn_partition = Aws::Endpoints::Matchers.aws_partition(Aws::Endpoints::Matchers.attr(resource_arn, "region")))
52
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(arn_partition, "name"), Aws::Endpoints::Matchers.attr(partition_result, "name"))
53
+ if Aws::Endpoints::Matchers.set?(parameters.use_arn_region) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_arn_region, false) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(resource_arn, "region"), "#{parameters.region}"))
54
+ raise ArgumentError, "Invalid configuration: region from ARN `#{resource_arn['region']}` does not match client region `#{parameters.region}` and UseArnRegion is `false`"
55
+ end
56
+ if Aws::Endpoints::Matchers.set?(parameters.endpoint) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
57
+ raise ArgumentError, "Invalid Configuration: DualStack and custom endpoint are not supported"
58
+ end
59
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
60
+ raise ArgumentError, "S3Express does not support Dual-stack."
61
+ end
62
+ if Aws::Endpoints::Matchers.set?(parameters.endpoint) && (url = Aws::Endpoints::Matchers.parse_url(parameters.endpoint))
63
+ return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{url['authority']}", headers: {}, properties: {"authSchemes" => [{"disableDoubleEncoding" => true, "name" => "sigv4", "signingName" => "s3express", "signingRegion" => "#{parameters.region}"}]})
64
+ end
65
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
66
+ return Aws::Endpoints::Endpoint.new(url: "https://s3express-control-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes" => [{"disableDoubleEncoding" => true, "name" => "sigv4", "signingName" => "s3express", "signingRegion" => "#{parameters.region}"}]})
67
+ end
68
+ return Aws::Endpoints::Endpoint.new(url: "https://s3express-control.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes" => [{"disableDoubleEncoding" => true, "name" => "sigv4", "signingName" => "s3express", "signingRegion" => "#{parameters.region}"}]})
69
+ end
70
+ raise ArgumentError, "Client was configured for partition `#{partition_result['name']}` but ARN has `#{arn_partition['name']}`"
71
+ end
72
+ end
73
+ end
49
74
  if Aws::Endpoints::Matchers.set?(parameters.access_point_name) && (access_point_suffix = Aws::Endpoints::Matchers.substring(parameters.access_point_name, 0, 7, true)) && Aws::Endpoints::Matchers.string_equals?(access_point_suffix, "--xa-s3")
50
75
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
51
76
  if Aws::Endpoints::Matchers.set?(parameters.endpoint) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
@@ -858,6 +858,7 @@ module Aws::S3Control
858
858
  use_dual_stack: context[:use_dualstack_endpoint],
859
859
  account_id: context.params[:account_id],
860
860
  requires_account_id: true,
861
+ resource_arn: context.params[:resource_arn],
861
862
  )
862
863
  end
863
864
  end
@@ -1053,6 +1054,7 @@ module Aws::S3Control
1053
1054
  use_dual_stack: context[:use_dualstack_endpoint],
1054
1055
  account_id: context.params[:account_id],
1055
1056
  requires_account_id: true,
1057
+ resource_arn: context.params[:resource_arn],
1056
1058
  )
1057
1059
  end
1058
1060
  end
@@ -1064,6 +1066,7 @@ module Aws::S3Control
1064
1066
  use_dual_stack: context[:use_dualstack_endpoint],
1065
1067
  account_id: context.params[:account_id],
1066
1068
  requires_account_id: true,
1069
+ resource_arn: context.params[:resource_arn],
1067
1070
  )
1068
1071
  end
1069
1072
  end
@@ -5524,8 +5524,9 @@ module Aws::S3Control
5524
5524
  #
5525
5525
  # @!attribute [rw] resource_arn
5526
5526
  # The Amazon Resource Name (ARN) of the S3 resource that you want to
5527
- # list the tags for. The tagged resource can be an S3 Storage Lens
5528
- # group or S3 Access Grants instance, registered location, or grant.
5527
+ # list tags for. The tagged resource can be a directory bucket, S3
5528
+ # Storage Lens group or S3 Access Grants instance, registered
5529
+ # location, or grant.
5529
5530
  # @return [String]
5530
5531
  #
5531
5532
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListTagsForResourceRequest AWS API Documentation
@@ -8376,21 +8377,10 @@ module Aws::S3Control
8376
8377
  #
8377
8378
  class SubmitMultiRegionAccessPointRoutesResult < Aws::EmptyStructure; end
8378
8379
 
8379
- # An Amazon Web Services resource tag that's associated with your S3
8380
- # resource. You can add tags to new objects when you upload them, or you
8381
- # can add object tags to existing objects.
8382
- #
8383
- # <note markdown="1"> This operation is only supported for [S3 Storage Lens groups][1] and
8384
- # for [S3 Access Grants][2]. The tagged resource can be an S3 Storage
8385
- # Lens group or S3 Access Grants instance, registered location, or
8386
- # grant.
8387
- #
8388
- # </note>
8389
- #
8390
- #
8391
- #
8392
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html
8393
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html
8380
+ # A key-value pair that you use to label your resources. You can add
8381
+ # tags to new resources when you create them, or you can add tags to
8382
+ # existing resources. Tags can help you organize, track costs for, and
8383
+ # control access to resources.
8394
8384
  #
8395
8385
  # @!attribute [rw] key
8396
8386
  # The key of the key-value pair of a tag added to your Amazon Web
@@ -8421,8 +8411,9 @@ module Aws::S3Control
8421
8411
  #
8422
8412
  # @!attribute [rw] resource_arn
8423
8413
  # The Amazon Resource Name (ARN) of the S3 resource that you're
8424
- # trying to add tags to. The tagged resource can be an S3 Storage Lens
8425
- # group or S3 Access Grants instance, registered location, or grant.
8414
+ # applying tags to. The tagged resource can be a directory bucket, S3
8415
+ # Storage Lens group or S3 Access Grants instance, registered
8416
+ # location, or grant.
8426
8417
  # @return [String]
8427
8418
  #
8428
8419
  # @!attribute [rw] tags
@@ -8523,7 +8514,9 @@ module Aws::S3Control
8523
8514
  #
8524
8515
  # @!attribute [rw] resource_arn
8525
8516
  # The Amazon Resource Name (ARN) of the S3 resource that you're
8526
- # trying to remove the tags from.
8517
+ # removing tags from. The tagged resource can be a directory bucket,
8518
+ # S3 Storage Lens group or S3 Access Grants instance, registered
8519
+ # location, or grant.
8527
8520
  # @return [String]
8528
8521
  #
8529
8522
  # @!attribute [rw] tag_keys
@@ -54,7 +54,7 @@ module Aws::S3Control
54
54
  autoload :EndpointProvider, 'aws-sdk-s3control/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-s3control/endpoints'
56
56
 
57
- GEM_VERSION = '1.111.0'
57
+ GEM_VERSION = '1.112.0'
58
58
 
59
59
  end
60
60
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3control
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.111.0
4
+ version: 1.112.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services