aws-sdk-s3control 1.110.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: 886e9f223932d5cfded249bd139fb0e2fe42722af2a3890ea1733bac7f36b42a
4
- data.tar.gz: 5e2df14634094894177855f3c036f0b8f405e3899aa0fd5c565bbd84c66e1ec3
3
+ metadata.gz: bd303310536e37f8761babf610cacfdba8e9c5a3e2c05f7c6c3203a6cb93d33b
4
+ data.tar.gz: '085750987342a879d9ccf56d2f1e6df0f7ade9e0d1266317b5db0834edf5d9ad'
5
5
  SHA512:
6
- metadata.gz: 46f49c82a7c899f57abc24d3e6d41b2f6b46312b56dbb0028ff46c636b2e343e37b3ab5b0472e26b749421cd8ef4cdafd3dab22e501532441d5e52a1cc58eb70
7
- data.tar.gz: 9a3ac2f6077155da8f526389b3b1d10203c32672426d23f78050d1673b061541c4208f907c7788f729570e39dccb6525e8c6fe4f6d6360320b38d44c0fb3f2f2
6
+ metadata.gz: 3cfb41585a351a779c2fe6c0738b14ed57fb98ca316600468d696acadfc0269ee82e4f5d144c9a624cdd6e91a1219630e410a45655bcec4b404081c60d13c541
7
+ data.tar.gz: dee40f5ac3a37e209cf71ef6ad964b65cb3bf9a133300fcb2c98a4409c2f44830ef43731aff93285e8e53cf19043ee406b7e001a9614d35dfac4ae38b407fc17
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.111.0 (2025-06-25)
10
+ ------------------
11
+
12
+ * Feature - Add support for the ability to use Amazon S3 Access Points with Amazon FSx for OpenZFS file systems.
13
+
4
14
  1.110.0 (2025-06-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.110.0
1
+ 1.112.0
@@ -843,17 +843,20 @@ module Aws::S3Control
843
843
  end
844
844
 
845
845
  # Creates an access point and associates it to a specified bucket. For
846
- # more information, see [Managing access to shared datasets in general
847
- # purpose buckets with access points][1] or [Managing access to shared
848
- # datasets in directory buckets with access points][2] in the *Amazon S3
849
- # User Guide*.
846
+ # more information, see [Managing access to shared datasets with access
847
+ # points][1] or [Managing access to shared datasets in directory buckets
848
+ # with access points][2] in the *Amazon S3 User Guide*.
849
+ #
850
+ # To create an access point and attach it to a volume on an Amazon FSx
851
+ # file system, see [CreateAndAttachS3AccessPoint][3] in the *Amazon FSx
852
+ # API Reference*.
850
853
  #
851
854
  #
852
855
  #
853
856
  # <note markdown="1"> S3 on Outposts only supports VPC-style access points.
854
857
  #
855
858
  # For more information, see [ Accessing Amazon S3 on Outposts using
856
- # virtual private cloud (VPC) only access points][3] in the *Amazon S3
859
+ # virtual private cloud (VPC) only access points][4] in the *Amazon S3
857
860
  # User Guide*.
858
861
  #
859
862
  # </note>
@@ -864,30 +867,31 @@ module Aws::S3Control
864
867
  # prefix instead of `s3-control`. For an example of the request syntax
865
868
  # for Amazon S3 on Outposts that uses the S3 on Outposts endpoint
866
869
  # hostname prefix and the `x-amz-outpost-id` derived by using the access
867
- # point ARN, see the [Examples][4] section.
870
+ # point ARN, see the [Examples][5] section.
868
871
  #
869
872
  #
870
873
  #
871
874
  # The following actions are related to `CreateAccessPoint`:
872
875
  #
873
- # * [GetAccessPoint][5]
876
+ # * [GetAccessPoint][6]
874
877
  #
875
- # * [DeleteAccessPoint][6]
878
+ # * [DeleteAccessPoint][7]
876
879
  #
877
- # * [ListAccessPoints][7]
880
+ # * [ListAccessPoints][8]
878
881
  #
879
- # * [ListAccessPointsForDirectoryBuckets][8]
882
+ # * [ListAccessPointsForDirectoryBuckets][9]
880
883
  #
881
884
  #
882
885
  #
883
886
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html
884
887
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points-directory-buckets.html
885
- # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
886
- # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPoint.html#API_control_CreateAccessPoint_Examples
887
- # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPoint.html
888
- # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPoint.html
889
- # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPoints.html
890
- # [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPointsForDirectoryBuckets.html
888
+ # [3]: https://docs.aws.amazon.com/fsx/latest/APIReference/API_CreateAndAttachS3AccessPoint.html
889
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
890
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPoint.html#API_control_CreateAccessPoint_Examples
891
+ # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPoint.html
892
+ # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPoint.html
893
+ # [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPoints.html
894
+ # [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPointsForDirectoryBuckets.html
891
895
  #
892
896
  # @option params [String] :account_id
893
897
  # The Amazon Web Services account ID for the account that owns the
@@ -901,7 +905,7 @@ module Aws::S3Control
901
905
  # Web Services Availability Zone or Local Zone) of your bucket location,
902
906
  # followed by `--xa-s3`. For more information, see [Managing access to
903
907
  # shared datasets in directory buckets with access points][1] in the
904
- # Amazon S3 User Guide.
908
+ # *Amazon S3 User Guide*.
905
909
  #
906
910
  #
907
911
  #
@@ -950,9 +954,10 @@ module Aws::S3Control
950
954
  # For directory buckets, you can filter access control to specific
951
955
  # prefixes, API operations, or a combination of both. For more
952
956
  # information, see [Managing access to shared datasets in directory
953
- # buckets with access points][1] in the Amazon S3 User Guide.
957
+ # buckets with access points][1] in the *Amazon S3 User Guide*.
954
958
  #
955
- # <note markdown="1"> Scope is not supported for access points for general purpose buckets.
959
+ # <note markdown="1"> Scope is only supported for access points attached to directory
960
+ # buckets.
956
961
  #
957
962
  # </note>
958
963
  #
@@ -3419,6 +3424,8 @@ module Aws::S3Control
3419
3424
  # * {Types::GetAccessPointResult#access_point_arn #access_point_arn} => String
3420
3425
  # * {Types::GetAccessPointResult#endpoints #endpoints} => Hash&lt;String,String&gt;
3421
3426
  # * {Types::GetAccessPointResult#bucket_account_id #bucket_account_id} => String
3427
+ # * {Types::GetAccessPointResult#data_source_id #data_source_id} => String
3428
+ # * {Types::GetAccessPointResult#data_source_type #data_source_type} => String
3422
3429
  #
3423
3430
  # @example Request syntax with placeholder values
3424
3431
  #
@@ -3443,6 +3450,8 @@ module Aws::S3Control
3443
3450
  # resp.endpoints #=> Hash
3444
3451
  # resp.endpoints["NonEmptyMaxLength64String"] #=> String
3445
3452
  # resp.bucket_account_id #=> String
3453
+ # resp.data_source_id #=> String
3454
+ # resp.data_source_type #=> String
3446
3455
  #
3447
3456
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPoint AWS API Documentation
3448
3457
  #
@@ -5342,12 +5351,14 @@ module Aws::S3Control
5342
5351
  #
5343
5352
  # </note>
5344
5353
  #
5345
- # Returns a list of the access points that are owned by the current
5346
- # account that's associated with the specified bucket. You can retrieve
5347
- # up to 1000 access points per call. If the specified bucket has more
5348
- # than 1,000 access points (or the number specified in `maxResults`,
5349
- # whichever is less), the response will include a continuation token
5350
- # that you can use to list the additional access points.
5354
+ # Returns a list of the access points. You can retrieve up to 1,000
5355
+ # access points per call. If the call returns more than 1,000 access
5356
+ # points (or the number specified in `maxResults`, whichever is less),
5357
+ # the response will include a continuation token that you can use to
5358
+ # list the additional access points.
5359
+ #
5360
+ # Returns only access points attached to S3 buckets by default. To
5361
+ # return all access points specify `DataSourceType` as `ALL`.
5351
5362
  #
5352
5363
  #
5353
5364
  #
@@ -5407,6 +5418,14 @@ module Aws::S3Control
5407
5418
  # `NextToken` field that you can use to retrieve the next page of access
5408
5419
  # points.
5409
5420
  #
5421
+ # @option params [String] :data_source_id
5422
+ # The unique identifier for the data source of the access point.
5423
+ #
5424
+ # @option params [String] :data_source_type
5425
+ # The type of the data source that the access point is attached to.
5426
+ # Returns only access points attached to S3 buckets by default. To
5427
+ # return all access points specify `DataSourceType` as `ALL`.
5428
+ #
5410
5429
  # @return [Types::ListAccessPointsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5411
5430
  #
5412
5431
  # * {Types::ListAccessPointsResult#access_point_list #access_point_list} => Array&lt;Types::AccessPoint&gt;
@@ -5421,6 +5440,8 @@ module Aws::S3Control
5421
5440
  # bucket: "BucketName",
5422
5441
  # next_token: "NonEmptyMaxLength1024String",
5423
5442
  # max_results: 1,
5443
+ # data_source_id: "DataSourceId",
5444
+ # data_source_type: "DataSourceType",
5424
5445
  # })
5425
5446
  #
5426
5447
  # @example Response structure
@@ -5433,6 +5454,8 @@ module Aws::S3Control
5433
5454
  # resp.access_point_list[0].access_point_arn #=> String
5434
5455
  # resp.access_point_list[0].alias #=> String
5435
5456
  # resp.access_point_list[0].bucket_account_id #=> String
5457
+ # resp.access_point_list[0].data_source_id #=> String
5458
+ # resp.access_point_list[0].data_source_type #=> String
5436
5459
  # resp.next_token #=> String
5437
5460
  #
5438
5461
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListAccessPoints AWS API Documentation
@@ -5508,6 +5531,8 @@ module Aws::S3Control
5508
5531
  # resp.access_point_list[0].access_point_arn #=> String
5509
5532
  # resp.access_point_list[0].alias #=> String
5510
5533
  # resp.access_point_list[0].bucket_account_id #=> String
5534
+ # resp.access_point_list[0].data_source_id #=> String
5535
+ # resp.access_point_list[0].data_source_type #=> String
5511
5536
  # resp.next_token #=> String
5512
5537
  #
5513
5538
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListAccessPointsForDirectoryBuckets AWS API Documentation
@@ -6029,44 +6054,63 @@ module Aws::S3Control
6029
6054
  req.send_request(options)
6030
6055
  end
6031
6056
 
6032
- # This operation allows you to list all the Amazon Web Services resource
6033
- # tags for a specified resource. Each tag is a label consisting of a
6034
- # user-defined key and value. Tags can help you manage, identify,
6035
- # 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.
6036
6060
  #
6037
- # Permissions
6061
+ # <note markdown="1"> This operation is only supported for the following Amazon S3
6062
+ # resources:
6038
6063
  #
6039
- # : You must have the `s3:ListTagsForResource` permission to use this
6040
- # operation.
6064
+ # * [Directory buckets][1]
6041
6065
  #
6042
- # <note markdown="1"> This operation is only supported for [S3 Storage Lens groups][1] and
6043
- # for [S3 Access Grants][2]. The tagged resource can be an S3 Storage
6044
- # Lens group or S3 Access Grants instance, registered location, or
6045
- # grant.
6066
+ # * [Storage Lens groups][2]
6067
+ #
6068
+ # * [S3 Access Grants instances, registered locations, and grants][3].
6046
6069
  #
6047
6070
  # </note>
6048
6071
  #
6049
- # For more information about the required Storage Lens Groups
6050
- # permissions, see [Setting account permissions to use S3 Storage Lens
6051
- # 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`.
6052
6093
  #
6053
6094
  # For information about S3 Tagging errors, see [List of Amazon S3
6054
- # Tagging error codes][4].
6095
+ # Tagging error codes][6].
6055
6096
  #
6056
6097
  #
6057
6098
  #
6058
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html
6059
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html
6060
- # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions
6061
- # [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
6062
6105
  #
6063
6106
  # @option params [String] :account_id
6064
6107
  # The Amazon Web Services account ID of the resource owner.
6065
6108
  #
6066
6109
  # @option params [required, String] :resource_arn
6067
6110
  # The Amazon Resource Name (ARN) of the S3 resource that you want to
6068
- # list the tags for. The tagged resource can be an S3 Storage Lens group
6069
- # 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.
6070
6114
  #
6071
6115
  # @return [Types::ListTagsForResourceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6072
6116
  #
@@ -6252,15 +6296,15 @@ module Aws::S3Control
6252
6296
  #
6253
6297
  # @option params [required, String] :policy
6254
6298
  # The policy that you want to apply to the specified access point. For
6255
- # more information about access point policies, see [Managing access to
6256
- # shared datasets in general purpose buckets with access points][1] or
6257
- # [Managing access to shared datasets in directory bucekts with access
6258
- # points](AmazonS3/latest/userguide/access-points-directory-buckets.html)
6259
- # in the *Amazon S3 User Guide*.
6299
+ # more information about access point policies, see [Managing data
6300
+ # access with Amazon S3 access points][1] or [Managing access to shared
6301
+ # datasets in directory buckets with access points][2] in the *Amazon S3
6302
+ # User Guide*.
6260
6303
  #
6261
6304
  #
6262
6305
  #
6263
6306
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html
6307
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points-directory-buckets.html
6264
6308
  #
6265
6309
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
6266
6310
  #
@@ -7533,45 +7577,65 @@ module Aws::S3Control
7533
7577
  req.send_request(options)
7534
7578
  end
7535
7579
 
7536
- # Creates a new Amazon Web Services resource tag or updates an existing
7537
- # resource tag. Each tag is a label consisting of a user-defined key and
7538
- # value. Tags can help you manage, identify, organize, search for, and
7539
- # filter resources. You can add up to 50 Amazon Web Services resource
7540
- # 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]
7541
7591
  #
7542
- # <note markdown="1"> This operation is only supported for [S3 Storage Lens groups][1] and
7543
- # for [S3 Access Grants][2]. The tagged resource can be an S3 Storage
7544
- # Lens group or S3 Access Grants instance, registered location, or
7545
- # grant.
7592
+ # * [S3 Access Grants instances, registered locations, or grants][3].
7546
7593
  #
7547
7594
  # </note>
7548
7595
  #
7549
7596
  # Permissions
7550
7597
  #
7551
- # : 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.
7600
+ #
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
7552
7614
  #
7553
- # For more information about the required Storage Lens Groups
7554
- # permissions, see [Setting account permissions to use S3 Storage Lens
7555
- # groups][3].
7615
+ # : <b>Directory buckets </b> - The HTTP Host header syntax is
7616
+ # `s3express-control.region.amazonaws.com`.
7556
7617
  #
7557
7618
  # For information about S3 Tagging errors, see [List of Amazon S3
7558
- # Tagging error codes][4].
7619
+ # Tagging error codes][6].
7559
7620
  #
7560
7621
  #
7561
7622
  #
7562
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html
7563
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html
7564
- # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions
7565
- # [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
7566
7629
  #
7567
7630
  # @option params [String] :account_id
7568
7631
  # The Amazon Web Services account ID that created the S3 resource that
7569
7632
  # you're trying to add tags to or the requester's account ID.
7570
7633
  #
7571
7634
  # @option params [required, String] :resource_arn
7572
- # The Amazon Resource Name (ARN) of the S3 resource that you're trying
7573
- # to add tags to. The tagged resource can be an S3 Storage Lens group or
7574
- # 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.
7575
7639
  #
7576
7640
  # @option params [required, Array<Types::Tag>] :tags
7577
7641
  # The Amazon Web Services resource tags that you want to add to the
@@ -7601,44 +7665,63 @@ module Aws::S3Control
7601
7665
  req.send_request(options)
7602
7666
  end
7603
7667
 
7604
- # This operation removes the specified Amazon Web Services resource tags
7605
- # from an S3 resource. Each tag is a label consisting of a user-defined
7606
- # key and value. Tags can help you manage, identify, organize, search
7607
- # 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.
7608
7670
  #
7609
- # <note markdown="1"> This operation is only supported for [S3 Storage Lens groups][1] and
7610
- # for [S3 Access Grants][2]. The tagged resource can be an S3 Storage
7611
- # Lens group or S3 Access Grants instance, registered location, or
7612
- # grant.
7671
+ # <note markdown="1"> This operation is only supported for the following Amazon S3
7672
+ # resources:
7673
+ #
7674
+ # * [Directory buckets][1]
7675
+ #
7676
+ # * [Storage Lens groups][2]
7677
+ #
7678
+ # * [S3 Access Grants instances, registered locations, and grants][3].
7613
7679
  #
7614
7680
  # </note>
7615
7681
  #
7616
7682
  # Permissions
7617
7683
  #
7618
- # : You must have the `s3:UntagResource` permission to use this
7619
- # 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
7620
7700
  #
7621
- # For more information about the required Storage Lens Groups
7622
- # permissions, see [Setting account permissions to use S3 Storage Lens
7623
- # groups][3].
7701
+ # : <b>Directory buckets </b> - The HTTP Host header syntax is
7702
+ # `s3express-control.region.amazonaws.com`.
7624
7703
  #
7625
7704
  # For information about S3 Tagging errors, see [List of Amazon S3
7626
- # Tagging error codes][4].
7705
+ # Tagging error codes][6].
7627
7706
  #
7628
7707
  #
7629
7708
  #
7630
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html
7631
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html
7632
- # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions
7633
- # [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
7634
7715
  #
7635
7716
  # @option params [String] :account_id
7636
7717
  # The Amazon Web Services account ID that owns the resource that you're
7637
7718
  # trying to remove the tags from.
7638
7719
  #
7639
7720
  # @option params [required, String] :resource_arn
7640
- # The Amazon Resource Name (ARN) of the S3 resource that you're trying
7641
- # 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.
7642
7725
  #
7643
7726
  # @option params [required, Array<String>] :tag_keys
7644
7727
  # The array of tag key-value pairs that you're trying to remove from of
@@ -7985,7 +8068,7 @@ module Aws::S3Control
7985
8068
  tracer: tracer
7986
8069
  )
7987
8070
  context[:gem_name] = 'aws-sdk-s3control'
7988
- context[:gem_version] = '1.110.0'
8071
+ context[:gem_version] = '1.112.0'
7989
8072
  Seahorse::Client::Request.new(handlers, context)
7990
8073
  end
7991
8074
 
@@ -28,6 +28,7 @@ module Aws::S3Control
28
28
  AccessGrantsLocationsList = Shapes::ListShape.new(name: 'AccessGrantsLocationsList')
29
29
  AccessKeyId = Shapes::StringShape.new(name: 'AccessKeyId')
30
30
  AccessPoint = Shapes::StructureShape.new(name: 'AccessPoint')
31
+ AccessPointBucketName = Shapes::StringShape.new(name: 'AccessPointBucketName')
31
32
  AccessPointList = Shapes::ListShape.new(name: 'AccessPointList')
32
33
  AccessPointName = Shapes::StringShape.new(name: 'AccessPointName')
33
34
  AccountId = Shapes::StringShape.new(name: 'AccountId')
@@ -87,6 +88,8 @@ module Aws::S3Control
87
88
  CreationDate = Shapes::TimestampShape.new(name: 'CreationDate')
88
89
  CreationTimestamp = Shapes::TimestampShape.new(name: 'CreationTimestamp')
89
90
  Credentials = Shapes::StructureShape.new(name: 'Credentials')
91
+ DataSourceId = Shapes::StringShape.new(name: 'DataSourceId')
92
+ DataSourceType = Shapes::StringShape.new(name: 'DataSourceType')
90
93
  Date = Shapes::TimestampShape.new(name: 'Date')
91
94
  Days = Shapes::IntegerShape.new(name: 'Days')
92
95
  DaysAfterInitiation = Shapes::IntegerShape.new(name: 'DaysAfterInitiation')
@@ -555,10 +558,12 @@ module Aws::S3Control
555
558
  AccessPoint.add_member(:name, Shapes::ShapeRef.new(shape: AccessPointName, required: true, location_name: "Name"))
556
559
  AccessPoint.add_member(:network_origin, Shapes::ShapeRef.new(shape: NetworkOrigin, required: true, location_name: "NetworkOrigin"))
557
560
  AccessPoint.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: VpcConfiguration, location_name: "VpcConfiguration"))
558
- AccessPoint.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "Bucket"))
561
+ AccessPoint.add_member(:bucket, Shapes::ShapeRef.new(shape: AccessPointBucketName, required: true, location_name: "Bucket"))
559
562
  AccessPoint.add_member(:access_point_arn, Shapes::ShapeRef.new(shape: S3AccessPointArn, location_name: "AccessPointArn"))
560
563
  AccessPoint.add_member(:alias, Shapes::ShapeRef.new(shape: Alias, location_name: "Alias"))
561
564
  AccessPoint.add_member(:bucket_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "BucketAccountId"))
565
+ AccessPoint.add_member(:data_source_id, Shapes::ShapeRef.new(shape: DataSourceId, location_name: "DataSourceId"))
566
+ AccessPoint.add_member(:data_source_type, Shapes::ShapeRef.new(shape: DataSourceType, location_name: "DataSourceType"))
562
567
  AccessPoint.struct_class = Types::AccessPoint
563
568
 
564
569
  AccessPointList.member = Shapes::ShapeRef.new(shape: AccessPoint, location_name: "AccessPoint")
@@ -1005,7 +1010,7 @@ module Aws::S3Control
1005
1010
  GetAccessPointRequest.struct_class = Types::GetAccessPointRequest
1006
1011
 
1007
1012
  GetAccessPointResult.add_member(:name, Shapes::ShapeRef.new(shape: AccessPointName, location_name: "Name"))
1008
- GetAccessPointResult.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, location_name: "Bucket"))
1013
+ GetAccessPointResult.add_member(:bucket, Shapes::ShapeRef.new(shape: AccessPointBucketName, location_name: "Bucket"))
1009
1014
  GetAccessPointResult.add_member(:network_origin, Shapes::ShapeRef.new(shape: NetworkOrigin, location_name: "NetworkOrigin"))
1010
1015
  GetAccessPointResult.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: VpcConfiguration, location_name: "VpcConfiguration"))
1011
1016
  GetAccessPointResult.add_member(:public_access_block_configuration, Shapes::ShapeRef.new(shape: PublicAccessBlockConfiguration, location_name: "PublicAccessBlockConfiguration"))
@@ -1014,6 +1019,8 @@ module Aws::S3Control
1014
1019
  GetAccessPointResult.add_member(:access_point_arn, Shapes::ShapeRef.new(shape: S3AccessPointArn, location_name: "AccessPointArn"))
1015
1020
  GetAccessPointResult.add_member(:endpoints, Shapes::ShapeRef.new(shape: Endpoints, location_name: "Endpoints"))
1016
1021
  GetAccessPointResult.add_member(:bucket_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "BucketAccountId"))
1022
+ GetAccessPointResult.add_member(:data_source_id, Shapes::ShapeRef.new(shape: DataSourceId, location_name: "DataSourceId"))
1023
+ GetAccessPointResult.add_member(:data_source_type, Shapes::ShapeRef.new(shape: DataSourceType, location_name: "DataSourceType"))
1017
1024
  GetAccessPointResult.struct_class = Types::GetAccessPointResult
1018
1025
 
1019
1026
  GetAccessPointScopeRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam" => {"name" => "AccountId"}, "hostLabel" => true, "hostLabelName" => "AccountId"}))
@@ -1397,6 +1404,8 @@ module Aws::S3Control
1397
1404
  ListAccessPointsRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, location: "querystring", location_name: "bucket", metadata: {"contextParam" => {"name" => "Bucket"}}))
1398
1405
  ListAccessPointsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyMaxLength1024String, location: "querystring", location_name: "nextToken"))
1399
1406
  ListAccessPointsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1407
+ ListAccessPointsRequest.add_member(:data_source_id, Shapes::ShapeRef.new(shape: DataSourceId, location: "querystring", location_name: "dataSourceId"))
1408
+ ListAccessPointsRequest.add_member(:data_source_type, Shapes::ShapeRef.new(shape: DataSourceType, location: "querystring", location_name: "dataSourceType"))
1400
1409
  ListAccessPointsRequest.struct_class = Types::ListAccessPointsRequest
1401
1410
 
1402
1411
  ListAccessPointsResult.add_member(:access_point_list, Shapes::ShapeRef.new(shape: AccessPointList, location_name: "AccessPointList"))
@@ -1476,7 +1485,7 @@ module Aws::S3Control
1476
1485
  ListStorageLensGroupsResult.struct_class = Types::ListStorageLensGroupsResult
1477
1486
 
1478
1487
  ListTagsForResourceRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam" => {"name" => "AccountId"}}))
1479
- 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"}}))
1480
1489
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
1481
1490
 
1482
1491
  ListTagsForResourceResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
@@ -2003,7 +2012,7 @@ module Aws::S3Control
2003
2012
  TagList.member = Shapes::ShapeRef.new(shape: Tag, location_name: "Tag")
2004
2013
 
2005
2014
  TagResourceRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam" => {"name" => "AccountId"}}))
2006
- 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"}}))
2007
2016
  TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
2008
2017
  TagResourceRequest.struct_class = Types::TagResourceRequest
2009
2018
 
@@ -2026,7 +2035,7 @@ module Aws::S3Control
2026
2035
  TransitionList.member = Shapes::ShapeRef.new(shape: Transition, location_name: "Transition")
2027
2036
 
2028
2037
  UntagResourceRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam" => {"name" => "AccountId"}}))
2029
- 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"}}))
2030
2039
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
2031
2040
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
2032
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
@@ -116,6 +116,14 @@ module Aws::S3Control
116
116
  # associated with this access point.
117
117
  # @return [String]
118
118
  #
119
+ # @!attribute [rw] data_source_id
120
+ # A unique identifier for the data source of the access point.
121
+ # @return [String]
122
+ #
123
+ # @!attribute [rw] data_source_type
124
+ # The type of the data source that the access point is attached to.
125
+ # @return [String]
126
+ #
119
127
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/AccessPoint AWS API Documentation
120
128
  #
121
129
  class AccessPoint < Struct.new(
@@ -125,7 +133,9 @@ module Aws::S3Control
125
133
  :bucket,
126
134
  :access_point_arn,
127
135
  :alias,
128
- :bucket_account_id)
136
+ :bucket_account_id,
137
+ :data_source_id,
138
+ :data_source_type)
129
139
  SENSITIVE = []
130
140
  include Aws::Structure
131
141
  end
@@ -934,7 +944,7 @@ module Aws::S3Control
934
944
  # Web Services Availability Zone or Local Zone) of your bucket
935
945
  # location, followed by `--xa-s3`. For more information, see [Managing
936
946
  # access to shared datasets in directory buckets with access
937
- # points][1] in the Amazon S3 User Guide.
947
+ # points][1] in the *Amazon S3 User Guide*.
938
948
  #
939
949
  #
940
950
  #
@@ -989,9 +999,9 @@ module Aws::S3Control
989
999
  # For directory buckets, you can filter access control to specific
990
1000
  # prefixes, API operations, or a combination of both. For more
991
1001
  # information, see [Managing access to shared datasets in directory
992
- # buckets with access points][1] in the Amazon S3 User Guide.
1002
+ # buckets with access points][1] in the *Amazon S3 User Guide*.
993
1003
  #
994
- # <note markdown="1"> Scope is not supported for access points for general purpose
1004
+ # <note markdown="1"> Scope is only supported for access points attached to directory
995
1005
  # buckets.
996
1006
  #
997
1007
  # </note>
@@ -2853,6 +2863,14 @@ module Aws::S3Control
2853
2863
  # associated with this access point.
2854
2864
  # @return [String]
2855
2865
  #
2866
+ # @!attribute [rw] data_source_id
2867
+ # The unique identifier for the data source of the access point.
2868
+ # @return [String]
2869
+ #
2870
+ # @!attribute [rw] data_source_type
2871
+ # The type of the data source that the access point is attached to.
2872
+ # @return [String]
2873
+ #
2856
2874
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointResult AWS API Documentation
2857
2875
  #
2858
2876
  class GetAccessPointResult < Struct.new(
@@ -2865,7 +2883,9 @@ module Aws::S3Control
2865
2883
  :alias,
2866
2884
  :access_point_arn,
2867
2885
  :endpoints,
2868
- :bucket_account_id)
2886
+ :bucket_account_id,
2887
+ :data_source_id,
2888
+ :data_source_type)
2869
2889
  SENSITIVE = []
2870
2890
  include Aws::Structure
2871
2891
  end
@@ -5068,13 +5088,25 @@ module Aws::S3Control
5068
5088
  # access points.
5069
5089
  # @return [Integer]
5070
5090
  #
5091
+ # @!attribute [rw] data_source_id
5092
+ # The unique identifier for the data source of the access point.
5093
+ # @return [String]
5094
+ #
5095
+ # @!attribute [rw] data_source_type
5096
+ # The type of the data source that the access point is attached to.
5097
+ # Returns only access points attached to S3 buckets by default. To
5098
+ # return all access points specify `DataSourceType` as `ALL`.
5099
+ # @return [String]
5100
+ #
5071
5101
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListAccessPointsRequest AWS API Documentation
5072
5102
  #
5073
5103
  class ListAccessPointsRequest < Struct.new(
5074
5104
  :account_id,
5075
5105
  :bucket,
5076
5106
  :next_token,
5077
- :max_results)
5107
+ :max_results,
5108
+ :data_source_id,
5109
+ :data_source_type)
5078
5110
  SENSITIVE = []
5079
5111
  include Aws::Structure
5080
5112
  end
@@ -5492,8 +5524,9 @@ module Aws::S3Control
5492
5524
  #
5493
5525
  # @!attribute [rw] resource_arn
5494
5526
  # The Amazon Resource Name (ARN) of the S3 resource that you want to
5495
- # list the tags for. The tagged resource can be an S3 Storage Lens
5496
- # 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.
5497
5530
  # @return [String]
5498
5531
  #
5499
5532
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListTagsForResourceRequest AWS API Documentation
@@ -6261,16 +6294,15 @@ module Aws::S3Control
6261
6294
  #
6262
6295
  # @!attribute [rw] policy
6263
6296
  # The policy that you want to apply to the specified access point. For
6264
- # more information about access point policies, see [Managing access
6265
- # to shared datasets in general purpose buckets with access points][1]
6266
- # or [Managing access to shared datasets in directory bucekts with
6267
- # access
6268
- # points](AmazonS3/latest/userguide/access-points-directory-buckets.html)
6269
- # in the *Amazon S3 User Guide*.
6297
+ # more information about access point policies, see [Managing data
6298
+ # access with Amazon S3 access points][1] or [Managing access to
6299
+ # shared datasets in directory buckets with access points][2] in the
6300
+ # *Amazon S3 User Guide*.
6270
6301
  #
6271
6302
  #
6272
6303
  #
6273
6304
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html
6305
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points-directory-buckets.html
6274
6306
  # @return [String]
6275
6307
  #
6276
6308
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutAccessPointPolicyRequest AWS API Documentation
@@ -7853,7 +7885,7 @@ module Aws::S3Control
7853
7885
  # prefixes, API operations, or a combination of both.
7854
7886
  #
7855
7887
  # For more information, see [Manage the scope of your access points for
7856
- # directory buckets.][1]
7888
+ # directory buckets][1].
7857
7889
  #
7858
7890
  #
7859
7891
  #
@@ -8345,21 +8377,10 @@ module Aws::S3Control
8345
8377
  #
8346
8378
  class SubmitMultiRegionAccessPointRoutesResult < Aws::EmptyStructure; end
8347
8379
 
8348
- # An Amazon Web Services resource tag that's associated with your S3
8349
- # resource. You can add tags to new objects when you upload them, or you
8350
- # can add object tags to existing objects.
8351
- #
8352
- # <note markdown="1"> This operation is only supported for [S3 Storage Lens groups][1] and
8353
- # for [S3 Access Grants][2]. The tagged resource can be an S3 Storage
8354
- # Lens group or S3 Access Grants instance, registered location, or
8355
- # grant.
8356
- #
8357
- # </note>
8358
- #
8359
- #
8360
- #
8361
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html
8362
- # [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.
8363
8384
  #
8364
8385
  # @!attribute [rw] key
8365
8386
  # The key of the key-value pair of a tag added to your Amazon Web
@@ -8390,8 +8411,9 @@ module Aws::S3Control
8390
8411
  #
8391
8412
  # @!attribute [rw] resource_arn
8392
8413
  # The Amazon Resource Name (ARN) of the S3 resource that you're
8393
- # trying to add tags to. The tagged resource can be an S3 Storage Lens
8394
- # 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.
8395
8417
  # @return [String]
8396
8418
  #
8397
8419
  # @!attribute [rw] tags
@@ -8492,7 +8514,9 @@ module Aws::S3Control
8492
8514
  #
8493
8515
  # @!attribute [rw] resource_arn
8494
8516
  # The Amazon Resource Name (ARN) of the S3 resource that you're
8495
- # 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.
8496
8520
  # @return [String]
8497
8521
  #
8498
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.110.0'
57
+ GEM_VERSION = '1.112.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -775,6 +775,8 @@ module Aws
775
775
  def access_point_arn: () -> ::String
776
776
  def endpoints: () -> ::Hash[::String, ::String]
777
777
  def bucket_account_id: () -> ::String
778
+ def data_source_id: () -> ::String
779
+ def data_source_type: () -> ::String
778
780
  end
779
781
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Control/Client.html#get_access_point-instance_method
780
782
  def get_access_point: (
@@ -1103,7 +1105,9 @@ module Aws
1103
1105
  ?account_id: ::String,
1104
1106
  ?bucket: ::String,
1105
1107
  ?next_token: ::String,
1106
- ?max_results: ::Integer
1108
+ ?max_results: ::Integer,
1109
+ ?data_source_id: ::String,
1110
+ ?data_source_type: ::String
1107
1111
  ) -> _ListAccessPointsResponseSuccess
1108
1112
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAccessPointsResponseSuccess
1109
1113
 
data/sig/types.rbs CHANGED
@@ -31,6 +31,8 @@ module Aws::S3Control
31
31
  attr_accessor access_point_arn: ::String
32
32
  attr_accessor alias: ::String
33
33
  attr_accessor bucket_account_id: ::String
34
+ attr_accessor data_source_id: ::String
35
+ attr_accessor data_source_type: ::String
34
36
  SENSITIVE: []
35
37
  end
36
38
 
@@ -663,6 +665,8 @@ module Aws::S3Control
663
665
  attr_accessor access_point_arn: ::String
664
666
  attr_accessor endpoints: ::Hash[::String, ::String]
665
667
  attr_accessor bucket_account_id: ::String
668
+ attr_accessor data_source_id: ::String
669
+ attr_accessor data_source_type: ::String
666
670
  SENSITIVE: []
667
671
  end
668
672
 
@@ -1181,6 +1185,8 @@ module Aws::S3Control
1181
1185
  attr_accessor bucket: ::String
1182
1186
  attr_accessor next_token: ::String
1183
1187
  attr_accessor max_results: ::Integer
1188
+ attr_accessor data_source_id: ::String
1189
+ attr_accessor data_source_type: ::String
1184
1190
  SENSITIVE: []
1185
1191
  end
1186
1192
 
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.110.0
4
+ version: 1.112.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services