aws-sdk-s3control 1.39.0 → 1.42.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.
@@ -287,9 +287,14 @@ module Aws::S3Control
287
287
  # ** Please note ** When response stubbing is enabled, no HTTP
288
288
  # requests are made, and retries are disabled.
289
289
  #
290
- # @option options [Boolean] :use_dualstack_endpoint (false)
291
- # When set to `true`, IPv6-compatible bucket endpoints will be used
292
- # for all operations.
290
+ # @option options [Boolean] :use_dualstack_endpoint
291
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
292
+ # will be used if available.
293
+ #
294
+ # @option options [Boolean] :use_fips_endpoint
295
+ # When set to `true`, fips compatible endpoints will be used if available.
296
+ # When a `fips` region is used, the region is normalized and this config
297
+ # is set to `true`.
293
298
  #
294
299
  # @option options [Boolean] :validate_params (true)
295
300
  # When `true`, request parameters are validated before
@@ -385,8 +390,8 @@ module Aws::S3Control
385
390
  # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPoints.html
386
391
  #
387
392
  # @option params [required, String] :account_id
388
- # The account ID for the owner of the bucket for which you want to
389
- # create an access point.
393
+ # The Amazon Web Services account ID for the owner of the bucket for
394
+ # which you want to create an access point.
390
395
  #
391
396
  # @option params [required, String] :name
392
397
  # The name you want to assign to this access point.
@@ -478,7 +483,8 @@ module Aws::S3Control
478
483
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPointsForObjectLambda.html
479
484
  #
480
485
  # @option params [required, String] :account_id
481
- # The account ID for owner of the specified Object Lambda Access Point.
486
+ # The Amazon Web Services account ID for owner of the specified Object
487
+ # Lambda Access Point.
482
488
  #
483
489
  # @option params [required, String] :name
484
490
  # The name you want to assign to this Object Lambda Access Point.
@@ -715,7 +721,7 @@ module Aws::S3Control
715
721
  # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_JobOperation.html
716
722
  #
717
723
  # @option params [required, String] :account_id
718
- # The account ID that creates the job.
724
+ # The Amazon Web Services account ID that creates the job.
719
725
  #
720
726
  # @option params [Boolean] :confirmation_required
721
727
  # Indicates whether confirmation is required before Amazon S3 runs the
@@ -913,6 +919,94 @@ module Aws::S3Control
913
919
  req.send_request(options)
914
920
  end
915
921
 
922
+ # Creates a Multi-Region Access Point and associates it with the
923
+ # specified buckets. For more information about creating Multi-Region
924
+ # Access Points, see [Creating Multi-Region Access Points][1] in the
925
+ # *Amazon S3 User Guide*.
926
+ #
927
+ # This action will always be routed to the US West (Oregon) Region. For
928
+ # more information about the restrictions around managing Multi-Region
929
+ # Access Points, see [Managing Multi-Region Access Points][2] in the
930
+ # *Amazon S3 User Guide*.
931
+ #
932
+ # This request is asynchronous, meaning that you might receive a
933
+ # response before the command has completed. When this request provides
934
+ # a response, it provides a token that you can use to monitor the status
935
+ # of the request with `DescribeMultiRegionAccessPointOperation`.
936
+ #
937
+ # The following actions are related to `CreateMultiRegionAccessPoint`\:
938
+ #
939
+ # * [DeleteMultiRegionAccessPoint][3]
940
+ #
941
+ # * [DescribeMultiRegionAccessPointOperation][4]
942
+ #
943
+ # * [GetMultiRegionAccessPoint][5]
944
+ #
945
+ # * [ListMultiRegionAccessPoints][6]
946
+ #
947
+ #
948
+ #
949
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/CreatingMultiRegionAccessPoints.html
950
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ManagingMultiRegionAccessPoints.html
951
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteMultiRegionAccessPoint.html
952
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeMultiRegionAccessPointOperation.html
953
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPoint.html
954
+ # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListMultiRegionAccessPoints.html
955
+ #
956
+ # @option params [required, String] :account_id
957
+ # The Amazon Web Services account ID for the owner of the Multi-Region
958
+ # Access Point. The owner of the Multi-Region Access Point also must own
959
+ # the underlying buckets.
960
+ #
961
+ # @option params [required, String] :client_token
962
+ # An idempotency token used to identify the request and guarantee that
963
+ # requests are unique.
964
+ #
965
+ # **A suitable default value is auto-generated.** You should normally
966
+ # not need to pass this option.**
967
+ #
968
+ # @option params [required, Types::CreateMultiRegionAccessPointInput] :details
969
+ # A container element containing details about the Multi-Region Access
970
+ # Point.
971
+ #
972
+ # @return [Types::CreateMultiRegionAccessPointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
973
+ #
974
+ # * {Types::CreateMultiRegionAccessPointResult#request_token_arn #request_token_arn} => String
975
+ #
976
+ # @example Request syntax with placeholder values
977
+ #
978
+ # resp = client.create_multi_region_access_point({
979
+ # account_id: "AccountId", # required
980
+ # client_token: "MultiRegionAccessPointClientToken", # required
981
+ # details: { # required
982
+ # name: "MultiRegionAccessPointName", # required
983
+ # public_access_block: {
984
+ # block_public_acls: false,
985
+ # ignore_public_acls: false,
986
+ # block_public_policy: false,
987
+ # restrict_public_buckets: false,
988
+ # },
989
+ # regions: [ # required
990
+ # {
991
+ # bucket: "BucketName", # required
992
+ # },
993
+ # ],
994
+ # },
995
+ # })
996
+ #
997
+ # @example Response structure
998
+ #
999
+ # resp.request_token_arn #=> String
1000
+ #
1001
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateMultiRegionAccessPoint AWS API Documentation
1002
+ #
1003
+ # @overload create_multi_region_access_point(params = {})
1004
+ # @param [Hash] params ({})
1005
+ def create_multi_region_access_point(params = {}, options = {})
1006
+ req = build_request(:create_multi_region_access_point, params)
1007
+ req.send_request(options)
1008
+ end
1009
+
916
1010
  # Deletes the specified access point.
917
1011
  #
918
1012
  # All Amazon S3 on Outposts REST API requests for this action require an
@@ -1280,21 +1374,22 @@ module Aws::S3Control
1280
1374
  #
1281
1375
  # This implementation of the DELETE action uses the policy subresource
1282
1376
  # to delete the policy of a specified Amazon S3 on Outposts bucket. If
1283
- # you are using an identity other than the root user of the account that
1284
- # owns the bucket, the calling identity must have the
1285
- # `s3-outposts:DeleteBucketPolicy` permissions on the specified Outposts
1286
- # bucket and belong to the bucket owner's account to use this action.
1287
- # For more information, see [Using Amazon S3 on Outposts][2] in *Amazon
1288
- # S3 User Guide*.
1377
+ # you are using an identity other than the root user of the Amazon Web
1378
+ # Services account that owns the bucket, the calling identity must have
1379
+ # the `s3-outposts:DeleteBucketPolicy` permissions on the specified
1380
+ # Outposts bucket and belong to the bucket owner's account to use this
1381
+ # action. For more information, see [Using Amazon S3 on Outposts][2] in
1382
+ # *Amazon S3 User Guide*.
1289
1383
  #
1290
1384
  # If you don't have `DeleteBucketPolicy` permissions, Amazon S3 returns
1291
1385
  # a `403 Access Denied` error. If you have the correct permissions, but
1292
1386
  # you're not using an identity that belongs to the bucket owner's
1293
1387
  # account, Amazon S3 returns a `405 Method Not Allowed` error.
1294
1388
  #
1295
- # As a security precaution, the root user of the account that owns a
1296
- # bucket can always use this action, even if the policy explicitly
1297
- # denies the root user the ability to perform this action.
1389
+ # As a security precaution, the root user of the Amazon Web Services
1390
+ # account that owns a bucket can always use this action, even if the
1391
+ # policy explicitly denies the root user the ability to perform this
1392
+ # action.
1298
1393
  #
1299
1394
  # For more information about bucket policies, see [Using Bucket Policies
1300
1395
  # and User Policies][3].
@@ -1395,7 +1490,8 @@ module Aws::S3Control
1395
1490
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html
1396
1491
  #
1397
1492
  # @option params [required, String] :account_id
1398
- # The account ID of the Outposts bucket tag set to be removed.
1493
+ # The Amazon Web Services account ID of the Outposts bucket tag set to
1494
+ # be removed.
1399
1495
  #
1400
1496
  # @option params [required, String] :bucket
1401
1497
  # The bucket ARN that has the tag set to be removed.
@@ -1454,7 +1550,8 @@ module Aws::S3Control
1454
1550
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutJobTagging.html
1455
1551
  #
1456
1552
  # @option params [required, String] :account_id
1457
- # The account ID associated with the S3 Batch Operations job.
1553
+ # The Amazon Web Services account ID associated with the S3 Batch
1554
+ # Operations job.
1458
1555
  #
1459
1556
  # @option params [required, String] :job_id
1460
1557
  # The ID for the S3 Batch Operations job whose tags you want to delete.
@@ -1477,8 +1574,83 @@ module Aws::S3Control
1477
1574
  req.send_request(options)
1478
1575
  end
1479
1576
 
1480
- # Removes the `PublicAccessBlock` configuration for an account. For more
1481
- # information, see [ Using Amazon S3 block public access][1].
1577
+ # Deletes a Multi-Region Access Point. This action does not delete the
1578
+ # buckets associated with the Multi-Region Access Point, only the
1579
+ # Multi-Region Access Point itself.
1580
+ #
1581
+ # This action will always be routed to the US West (Oregon) Region. For
1582
+ # more information about the restrictions around managing Multi-Region
1583
+ # Access Points, see [Managing Multi-Region Access Points][1] in the
1584
+ # *Amazon S3 User Guide*.
1585
+ #
1586
+ # This request is asynchronous, meaning that you might receive a
1587
+ # response before the command has completed. When this request provides
1588
+ # a response, it provides a token that you can use to monitor the status
1589
+ # of the request with `DescribeMultiRegionAccessPointOperation`.
1590
+ #
1591
+ # The following actions are related to `DeleteMultiRegionAccessPoint`\:
1592
+ #
1593
+ # * [CreateMultiRegionAccessPoint][2]
1594
+ #
1595
+ # * [DescribeMultiRegionAccessPointOperation][3]
1596
+ #
1597
+ # * [GetMultiRegionAccessPoint][4]
1598
+ #
1599
+ # * [ListMultiRegionAccessPoints][5]
1600
+ #
1601
+ #
1602
+ #
1603
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ManagingMultiRegionAccessPoints.html
1604
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateMultiRegionAccessPoint.html
1605
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeMultiRegionAccessPointOperation.html
1606
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPoint.html
1607
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListMultiRegionAccessPoints.html
1608
+ #
1609
+ # @option params [required, String] :account_id
1610
+ # The Amazon Web Services account ID for the owner of the Multi-Region
1611
+ # Access Point.
1612
+ #
1613
+ # @option params [required, String] :client_token
1614
+ # An idempotency token used to identify the request and guarantee that
1615
+ # requests are unique.
1616
+ #
1617
+ # **A suitable default value is auto-generated.** You should normally
1618
+ # not need to pass this option.**
1619
+ #
1620
+ # @option params [required, Types::DeleteMultiRegionAccessPointInput] :details
1621
+ # A container element containing details about the Multi-Region Access
1622
+ # Point.
1623
+ #
1624
+ # @return [Types::DeleteMultiRegionAccessPointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1625
+ #
1626
+ # * {Types::DeleteMultiRegionAccessPointResult#request_token_arn #request_token_arn} => String
1627
+ #
1628
+ # @example Request syntax with placeholder values
1629
+ #
1630
+ # resp = client.delete_multi_region_access_point({
1631
+ # account_id: "AccountId", # required
1632
+ # client_token: "MultiRegionAccessPointClientToken", # required
1633
+ # details: { # required
1634
+ # name: "MultiRegionAccessPointName", # required
1635
+ # },
1636
+ # })
1637
+ #
1638
+ # @example Response structure
1639
+ #
1640
+ # resp.request_token_arn #=> String
1641
+ #
1642
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteMultiRegionAccessPoint AWS API Documentation
1643
+ #
1644
+ # @overload delete_multi_region_access_point(params = {})
1645
+ # @param [Hash] params ({})
1646
+ def delete_multi_region_access_point(params = {}, options = {})
1647
+ req = build_request(:delete_multi_region_access_point, params)
1648
+ req.send_request(options)
1649
+ end
1650
+
1651
+ # Removes the `PublicAccessBlock` configuration for an Amazon Web
1652
+ # Services account. For more information, see [ Using Amazon S3 block
1653
+ # public access][1].
1482
1654
  #
1483
1655
  # Related actions include:
1484
1656
  #
@@ -1493,8 +1665,8 @@ module Aws::S3Control
1493
1665
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutPublicAccessBlock.html
1494
1666
  #
1495
1667
  # @option params [required, String] :account_id
1496
- # The account ID for the account whose `PublicAccessBlock` configuration
1497
- # you want to remove.
1668
+ # The account ID for the Amazon Web Services account whose
1669
+ # `PublicAccessBlock` configuration you want to remove.
1498
1670
  #
1499
1671
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1500
1672
  #
@@ -1619,7 +1791,8 @@ module Aws::S3Control
1619
1791
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html
1620
1792
  #
1621
1793
  # @option params [required, String] :account_id
1622
- # The account ID associated with the S3 Batch Operations job.
1794
+ # The Amazon Web Services account ID associated with the S3 Batch
1795
+ # Operations job.
1623
1796
  #
1624
1797
  # @option params [required, String] :job_id
1625
1798
  # The ID for the job whose information you want to retrieve.
@@ -1728,6 +1901,84 @@ module Aws::S3Control
1728
1901
  req.send_request(options)
1729
1902
  end
1730
1903
 
1904
+ # Retrieves the status of an asynchronous request to manage a
1905
+ # Multi-Region Access Point. For more information about managing
1906
+ # Multi-Region Access Points and how asynchronous requests work, see
1907
+ # [Managing Multi-Region Access Points][1] in the *Amazon S3 User
1908
+ # Guide*.
1909
+ #
1910
+ # The following actions are related to `GetMultiRegionAccessPoint`\:
1911
+ #
1912
+ # * [CreateMultiRegionAccessPoint][2]
1913
+ #
1914
+ # * [DeleteMultiRegionAccessPoint][3]
1915
+ #
1916
+ # * [GetMultiRegionAccessPoint][4]
1917
+ #
1918
+ # * [ListMultiRegionAccessPoints][5]
1919
+ #
1920
+ #
1921
+ #
1922
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ManagingMultiRegionAccessPoints.html
1923
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateMultiRegionAccessPoint.html
1924
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteMultiRegionAccessPoint.html
1925
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPoint.html
1926
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListMultiRegionAccessPoints.html
1927
+ #
1928
+ # @option params [required, String] :account_id
1929
+ # The Amazon Web Services account ID for the owner of the Multi-Region
1930
+ # Access Point.
1931
+ #
1932
+ # @option params [required, String] :request_token_arn
1933
+ # The request token associated with the request you want to know about.
1934
+ # This request token is returned as part of the response when you make
1935
+ # an asynchronous request. You provide this token to query about the
1936
+ # status of the asynchronous action.
1937
+ #
1938
+ # @return [Types::DescribeMultiRegionAccessPointOperationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1939
+ #
1940
+ # * {Types::DescribeMultiRegionAccessPointOperationResult#async_operation #async_operation} => Types::AsyncOperation
1941
+ #
1942
+ # @example Request syntax with placeholder values
1943
+ #
1944
+ # resp = client.describe_multi_region_access_point_operation({
1945
+ # account_id: "AccountId", # required
1946
+ # request_token_arn: "AsyncRequestTokenARN", # required
1947
+ # })
1948
+ #
1949
+ # @example Response structure
1950
+ #
1951
+ # resp.async_operation.creation_time #=> Time
1952
+ # resp.async_operation.operation #=> String, one of "CreateMultiRegionAccessPoint", "DeleteMultiRegionAccessPoint", "PutMultiRegionAccessPointPolicy"
1953
+ # resp.async_operation.request_token_arn #=> String
1954
+ # resp.async_operation.request_parameters.create_multi_region_access_point_request.name #=> String
1955
+ # resp.async_operation.request_parameters.create_multi_region_access_point_request.public_access_block.block_public_acls #=> Boolean
1956
+ # resp.async_operation.request_parameters.create_multi_region_access_point_request.public_access_block.ignore_public_acls #=> Boolean
1957
+ # resp.async_operation.request_parameters.create_multi_region_access_point_request.public_access_block.block_public_policy #=> Boolean
1958
+ # resp.async_operation.request_parameters.create_multi_region_access_point_request.public_access_block.restrict_public_buckets #=> Boolean
1959
+ # resp.async_operation.request_parameters.create_multi_region_access_point_request.regions #=> Array
1960
+ # resp.async_operation.request_parameters.create_multi_region_access_point_request.regions[0].bucket #=> String
1961
+ # resp.async_operation.request_parameters.delete_multi_region_access_point_request.name #=> String
1962
+ # resp.async_operation.request_parameters.put_multi_region_access_point_policy_request.name #=> String
1963
+ # resp.async_operation.request_parameters.put_multi_region_access_point_policy_request.policy #=> String
1964
+ # resp.async_operation.request_status #=> String
1965
+ # resp.async_operation.response_details.multi_region_access_point_details.regions #=> Array
1966
+ # resp.async_operation.response_details.multi_region_access_point_details.regions[0].name #=> String
1967
+ # resp.async_operation.response_details.multi_region_access_point_details.regions[0].request_status #=> String
1968
+ # resp.async_operation.response_details.error_details.code #=> String
1969
+ # resp.async_operation.response_details.error_details.message #=> String
1970
+ # resp.async_operation.response_details.error_details.resource #=> String
1971
+ # resp.async_operation.response_details.error_details.request_id #=> String
1972
+ #
1973
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DescribeMultiRegionAccessPointOperation AWS API Documentation
1974
+ #
1975
+ # @overload describe_multi_region_access_point_operation(params = {})
1976
+ # @param [Hash] params ({})
1977
+ def describe_multi_region_access_point_operation(params = {}, options = {})
1978
+ req = build_request(:describe_multi_region_access_point_operation, params)
1979
+ req.send_request(options)
1980
+ end
1981
+
1731
1982
  # Returns configuration information about the specified access point.
1732
1983
  #
1733
1984
  #
@@ -2105,12 +2356,13 @@ module Aws::S3Control
2105
2356
  # Gets an Amazon S3 on Outposts bucket. For more information, see [
2106
2357
  # Using Amazon S3 on Outposts][1] in the *Amazon S3 User Guide*.
2107
2358
  #
2108
- # If you are using an identity other than the root user of the account
2109
- # that owns the Outposts bucket, the calling identity must have the
2110
- # `s3-outposts:GetBucket` permissions on the specified Outposts bucket
2111
- # and belong to the Outposts bucket owner's account in order to use
2112
- # this action. Only users from Outposts bucket owner account with the
2113
- # right permissions can perform actions on an Outposts bucket.
2359
+ # If you are using an identity other than the root user of the Amazon
2360
+ # Web Services account that owns the Outposts bucket, the calling
2361
+ # identity must have the `s3-outposts:GetBucket` permissions on the
2362
+ # specified Outposts bucket and belong to the Outposts bucket owner's
2363
+ # account in order to use this action. Only users from Outposts bucket
2364
+ # owner account with the right permissions can perform actions on an
2365
+ # Outposts bucket.
2114
2366
  #
2115
2367
  # If you don't have `s3-outposts:GetBucket` permissions or you're not
2116
2368
  # using an identity that belongs to the bucket owner's account, Amazon
@@ -2142,7 +2394,7 @@ module Aws::S3Control
2142
2394
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucket.html
2143
2395
  #
2144
2396
  # @option params [required, String] :account_id
2145
- # The account ID of the Outposts bucket.
2397
+ # The Amazon Web Services account ID of the Outposts bucket.
2146
2398
  #
2147
2399
  # @option params [required, String] :bucket
2148
2400
  # Specifies the bucket.
@@ -2243,7 +2495,7 @@ module Aws::S3Control
2243
2495
  # [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html
2244
2496
  #
2245
2497
  # @option params [required, String] :account_id
2246
- # The account ID of the Outposts bucket.
2498
+ # The Amazon Web Services account ID of the Outposts bucket.
2247
2499
  #
2248
2500
  # @option params [required, String] :bucket
2249
2501
  # The Amazon Resource Name (ARN) of the bucket.
@@ -2316,10 +2568,10 @@ module Aws::S3Control
2316
2568
  # information, see [Using Amazon S3 on Outposts][2] in the *Amazon S3
2317
2569
  # User Guide*.
2318
2570
  #
2319
- # If you are using an identity other than the root user of the account
2320
- # that owns the bucket, the calling identity must have the
2321
- # `GetBucketPolicy` permissions on the specified bucket and belong to
2322
- # the bucket owner's account in order to use this action.
2571
+ # If you are using an identity other than the root user of the Amazon
2572
+ # Web Services account that owns the bucket, the calling identity must
2573
+ # have the `GetBucketPolicy` permissions on the specified bucket and
2574
+ # belong to the bucket owner's account in order to use this action.
2323
2575
  #
2324
2576
  # Only users from Outposts bucket owner account with the right
2325
2577
  # permissions can perform actions on an Outposts bucket. If you don't
@@ -2327,9 +2579,10 @@ module Aws::S3Control
2327
2579
  # identity that belongs to the bucket owner's account, Amazon S3
2328
2580
  # returns a `403 Access Denied` error.
2329
2581
  #
2330
- # As a security precaution, the root user of the account that owns a
2331
- # bucket can always use this action, even if the policy explicitly
2332
- # denies the root user the ability to perform this action.
2582
+ # As a security precaution, the root user of the Amazon Web Services
2583
+ # account that owns a bucket can always use this action, even if the
2584
+ # policy explicitly denies the root user the ability to perform this
2585
+ # action.
2333
2586
  #
2334
2587
  # For more information about bucket policies, see [Using Bucket Policies
2335
2588
  # and User Policies][3].
@@ -2361,7 +2614,7 @@ module Aws::S3Control
2361
2614
  # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketPolicy.html
2362
2615
  #
2363
2616
  # @option params [required, String] :account_id
2364
- # The account ID of the Outposts bucket.
2617
+ # The Amazon Web Services account ID of the Outposts bucket.
2365
2618
  #
2366
2619
  # @option params [required, String] :bucket
2367
2620
  # Specifies the bucket.
@@ -2448,7 +2701,7 @@ module Aws::S3Control
2448
2701
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketTagging.html
2449
2702
  #
2450
2703
  # @option params [required, String] :account_id
2451
- # The account ID of the Outposts bucket.
2704
+ # The Amazon Web Services account ID of the Outposts bucket.
2452
2705
  #
2453
2706
  # @option params [required, String] :bucket
2454
2707
  # Specifies the bucket.
@@ -2515,7 +2768,8 @@ module Aws::S3Control
2515
2768
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteJobTagging.html
2516
2769
  #
2517
2770
  # @option params [required, String] :account_id
2518
- # The account ID associated with the S3 Batch Operations job.
2771
+ # The Amazon Web Services account ID associated with the S3 Batch
2772
+ # Operations job.
2519
2773
  #
2520
2774
  # @option params [required, String] :job_id
2521
2775
  # The ID for the S3 Batch Operations job whose tags you want to
@@ -2547,8 +2801,206 @@ module Aws::S3Control
2547
2801
  req.send_request(options)
2548
2802
  end
2549
2803
 
2550
- # Retrieves the `PublicAccessBlock` configuration for an account. For
2551
- # more information, see [ Using Amazon S3 block public access][1].
2804
+ # Returns configuration information about the specified Multi-Region
2805
+ # Access Point.
2806
+ #
2807
+ # This action will always be routed to the US West (Oregon) Region. For
2808
+ # more information about the restrictions around managing Multi-Region
2809
+ # Access Points, see [Managing Multi-Region Access Points][1] in the
2810
+ # *Amazon S3 User Guide*.
2811
+ #
2812
+ # The following actions are related to `GetMultiRegionAccessPoint`\:
2813
+ #
2814
+ # * [CreateMultiRegionAccessPoint][2]
2815
+ #
2816
+ # * [DeleteMultiRegionAccessPoint][3]
2817
+ #
2818
+ # * [DescribeMultiRegionAccessPointOperation][4]
2819
+ #
2820
+ # * [ListMultiRegionAccessPoints][5]
2821
+ #
2822
+ #
2823
+ #
2824
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ManagingMultiRegionAccessPoints.html
2825
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateMultiRegionAccessPoint.html
2826
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteMultiRegionAccessPoint.html
2827
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeMultiRegionAccessPointOperation.html
2828
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListMultiRegionAccessPoints.html
2829
+ #
2830
+ # @option params [required, String] :account_id
2831
+ # The Amazon Web Services account ID for the owner of the Multi-Region
2832
+ # Access Point.
2833
+ #
2834
+ # @option params [required, String] :name
2835
+ # The name of the Multi-Region Access Point whose configuration
2836
+ # information you want to receive. The name of the Multi-Region Access
2837
+ # Point is different from the alias. For more information about the
2838
+ # distinction between the name and the alias of an Multi-Region Access
2839
+ # Point, see [Managing Multi-Region Access Points][1] in the *Amazon S3
2840
+ # User Guide*.
2841
+ #
2842
+ #
2843
+ #
2844
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/CreatingMultiRegionAccessPoints.html#multi-region-access-point-naming
2845
+ #
2846
+ # @return [Types::GetMultiRegionAccessPointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2847
+ #
2848
+ # * {Types::GetMultiRegionAccessPointResult#access_point #access_point} => Types::MultiRegionAccessPointReport
2849
+ #
2850
+ # @example Request syntax with placeholder values
2851
+ #
2852
+ # resp = client.get_multi_region_access_point({
2853
+ # account_id: "AccountId", # required
2854
+ # name: "MultiRegionAccessPointName", # required
2855
+ # })
2856
+ #
2857
+ # @example Response structure
2858
+ #
2859
+ # resp.access_point.name #=> String
2860
+ # resp.access_point.alias #=> String
2861
+ # resp.access_point.created_at #=> Time
2862
+ # resp.access_point.public_access_block.block_public_acls #=> Boolean
2863
+ # resp.access_point.public_access_block.ignore_public_acls #=> Boolean
2864
+ # resp.access_point.public_access_block.block_public_policy #=> Boolean
2865
+ # resp.access_point.public_access_block.restrict_public_buckets #=> Boolean
2866
+ # resp.access_point.status #=> String, one of "READY", "INCONSISTENT_ACROSS_REGIONS", "CREATING", "PARTIALLY_CREATED", "PARTIALLY_DELETED", "DELETING"
2867
+ # resp.access_point.regions #=> Array
2868
+ # resp.access_point.regions[0].bucket #=> String
2869
+ # resp.access_point.regions[0].region #=> String
2870
+ #
2871
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetMultiRegionAccessPoint AWS API Documentation
2872
+ #
2873
+ # @overload get_multi_region_access_point(params = {})
2874
+ # @param [Hash] params ({})
2875
+ def get_multi_region_access_point(params = {}, options = {})
2876
+ req = build_request(:get_multi_region_access_point, params)
2877
+ req.send_request(options)
2878
+ end
2879
+
2880
+ # Returns the access control policy of the specified Multi-Region Access
2881
+ # Point.
2882
+ #
2883
+ # This action will always be routed to the US West (Oregon) Region. For
2884
+ # more information about the restrictions around managing Multi-Region
2885
+ # Access Points, see [Managing Multi-Region Access Points][1] in the
2886
+ # *Amazon S3 User Guide*.
2887
+ #
2888
+ # The following actions are related to
2889
+ # `GetMultiRegionAccessPointPolicy`\:
2890
+ #
2891
+ # * [GetMultiRegionAccessPointPolicyStatus][2]
2892
+ #
2893
+ # * [PutMultiRegionAccessPointPolicy][3]
2894
+ #
2895
+ #
2896
+ #
2897
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ManagingMultiRegionAccessPoints.html
2898
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPointPolicyStatus.html
2899
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutMultiRegionAccessPointPolicy.html
2900
+ #
2901
+ # @option params [required, String] :account_id
2902
+ # The Amazon Web Services account ID for the owner of the Multi-Region
2903
+ # Access Point.
2904
+ #
2905
+ # @option params [required, String] :name
2906
+ # Specifies the Multi-Region Access Point. The name of the Multi-Region
2907
+ # Access Point is different from the alias. For more information about
2908
+ # the distinction between the name and the alias of an Multi-Region
2909
+ # Access Point, see [Managing Multi-Region Access Points][1] in the
2910
+ # *Amazon S3 User Guide*.
2911
+ #
2912
+ #
2913
+ #
2914
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/CreatingMultiRegionAccessPoints.html#multi-region-access-point-naming
2915
+ #
2916
+ # @return [Types::GetMultiRegionAccessPointPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2917
+ #
2918
+ # * {Types::GetMultiRegionAccessPointPolicyResult#policy #policy} => Types::MultiRegionAccessPointPolicyDocument
2919
+ #
2920
+ # @example Request syntax with placeholder values
2921
+ #
2922
+ # resp = client.get_multi_region_access_point_policy({
2923
+ # account_id: "AccountId", # required
2924
+ # name: "MultiRegionAccessPointName", # required
2925
+ # })
2926
+ #
2927
+ # @example Response structure
2928
+ #
2929
+ # resp.policy.established.policy #=> String
2930
+ # resp.policy.proposed.policy #=> String
2931
+ #
2932
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetMultiRegionAccessPointPolicy AWS API Documentation
2933
+ #
2934
+ # @overload get_multi_region_access_point_policy(params = {})
2935
+ # @param [Hash] params ({})
2936
+ def get_multi_region_access_point_policy(params = {}, options = {})
2937
+ req = build_request(:get_multi_region_access_point_policy, params)
2938
+ req.send_request(options)
2939
+ end
2940
+
2941
+ # Indicates whether the specified Multi-Region Access Point has an
2942
+ # access control policy that allows public access.
2943
+ #
2944
+ # This action will always be routed to the US West (Oregon) Region. For
2945
+ # more information about the restrictions around managing Multi-Region
2946
+ # Access Points, see [Managing Multi-Region Access Points][1] in the
2947
+ # *Amazon S3 User Guide*.
2948
+ #
2949
+ # The following actions are related to
2950
+ # `GetMultiRegionAccessPointPolicyStatus`\:
2951
+ #
2952
+ # * [GetMultiRegionAccessPointPolicy][2]
2953
+ #
2954
+ # * [PutMultiRegionAccessPointPolicy][3]
2955
+ #
2956
+ #
2957
+ #
2958
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ManagingMultiRegionAccessPoints.html
2959
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPointPolicy.html
2960
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutMultiRegionAccessPointPolicy.html
2961
+ #
2962
+ # @option params [required, String] :account_id
2963
+ # The Amazon Web Services account ID for the owner of the Multi-Region
2964
+ # Access Point.
2965
+ #
2966
+ # @option params [required, String] :name
2967
+ # Specifies the Multi-Region Access Point. The name of the Multi-Region
2968
+ # Access Point is different from the alias. For more information about
2969
+ # the distinction between the name and the alias of an Multi-Region
2970
+ # Access Point, see [Managing Multi-Region Access Points][1] in the
2971
+ # *Amazon S3 User Guide*.
2972
+ #
2973
+ #
2974
+ #
2975
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/CreatingMultiRegionAccessPoints.html#multi-region-access-point-naming
2976
+ #
2977
+ # @return [Types::GetMultiRegionAccessPointPolicyStatusResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2978
+ #
2979
+ # * {Types::GetMultiRegionAccessPointPolicyStatusResult#established #established} => Types::PolicyStatus
2980
+ #
2981
+ # @example Request syntax with placeholder values
2982
+ #
2983
+ # resp = client.get_multi_region_access_point_policy_status({
2984
+ # account_id: "AccountId", # required
2985
+ # name: "MultiRegionAccessPointName", # required
2986
+ # })
2987
+ #
2988
+ # @example Response structure
2989
+ #
2990
+ # resp.established.is_public #=> Boolean
2991
+ #
2992
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetMultiRegionAccessPointPolicyStatus AWS API Documentation
2993
+ #
2994
+ # @overload get_multi_region_access_point_policy_status(params = {})
2995
+ # @param [Hash] params ({})
2996
+ def get_multi_region_access_point_policy_status(params = {}, options = {})
2997
+ req = build_request(:get_multi_region_access_point_policy_status, params)
2998
+ req.send_request(options)
2999
+ end
3000
+
3001
+ # Retrieves the `PublicAccessBlock` configuration for an Amazon Web
3002
+ # Services account. For more information, see [ Using Amazon S3 block
3003
+ # public access][1].
2552
3004
  #
2553
3005
  # Related actions include:
2554
3006
  #
@@ -2563,8 +3015,8 @@ module Aws::S3Control
2563
3015
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutPublicAccessBlock.html
2564
3016
  #
2565
3017
  # @option params [required, String] :account_id
2566
- # The account ID for the account whose `PublicAccessBlock` configuration
2567
- # you want to retrieve.
3018
+ # The account ID for the Amazon Web Services account whose
3019
+ # `PublicAccessBlock` configuration you want to retrieve.
2568
3020
  #
2569
3021
  # @return [Types::GetPublicAccessBlockOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2570
3022
  #
@@ -2743,8 +3195,8 @@ module Aws::S3Control
2743
3195
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPoint.html
2744
3196
  #
2745
3197
  # @option params [required, String] :account_id
2746
- # The account ID for owner of the bucket whose access points you want to
2747
- # list.
3198
+ # The Amazon Web Services account ID for owner of the bucket whose
3199
+ # access points you want to list.
2748
3200
  #
2749
3201
  # @option params [String] :bucket
2750
3202
  # The name of the bucket whose associated access points you want to
@@ -2881,9 +3333,9 @@ module Aws::S3Control
2881
3333
  end
2882
3334
 
2883
3335
  # Lists current S3 Batch Operations jobs and jobs that have ended within
2884
- # the last 30 days for the account making the request. For more
2885
- # information, see [S3 Batch Operations][1] in the *Amazon S3 User
2886
- # Guide*.
3336
+ # the last 30 days for the Amazon Web Services account making the
3337
+ # request. For more information, see [S3 Batch Operations][1] in the
3338
+ # *Amazon S3 User Guide*.
2887
3339
  #
2888
3340
  # Related actions include:
2889
3341
  #
@@ -2906,7 +3358,8 @@ module Aws::S3Control
2906
3358
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html
2907
3359
  #
2908
3360
  # @option params [required, String] :account_id
2909
- # The account ID associated with the S3 Batch Operations job.
3361
+ # The Amazon Web Services account ID associated with the S3 Batch
3362
+ # Operations job.
2910
3363
  #
2911
3364
  # @option params [Array<String>] :job_statuses
2912
3365
  # The `List Jobs` request returns jobs that match the statuses listed in
@@ -2963,6 +3416,85 @@ module Aws::S3Control
2963
3416
  req.send_request(options)
2964
3417
  end
2965
3418
 
3419
+ # Returns a list of the Multi-Region Access Points currently associated
3420
+ # with the specified Amazon Web Services account. Each call can return
3421
+ # up to 100 Multi-Region Access Points, the maximum number of
3422
+ # Multi-Region Access Points that can be associated with a single
3423
+ # account.
3424
+ #
3425
+ # This action will always be routed to the US West (Oregon) Region. For
3426
+ # more information about the restrictions around managing Multi-Region
3427
+ # Access Points, see [Managing Multi-Region Access Points][1] in the
3428
+ # *Amazon S3 User Guide*.
3429
+ #
3430
+ # The following actions are related to `ListMultiRegionAccessPoint`\:
3431
+ #
3432
+ # * [CreateMultiRegionAccessPoint][2]
3433
+ #
3434
+ # * [DeleteMultiRegionAccessPoint][3]
3435
+ #
3436
+ # * [DescribeMultiRegionAccessPointOperation][4]
3437
+ #
3438
+ # * [GetMultiRegionAccessPoint][5]
3439
+ #
3440
+ #
3441
+ #
3442
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ManagingMultiRegionAccessPoints.html
3443
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateMultiRegionAccessPoint.html
3444
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteMultiRegionAccessPoint.html
3445
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeMultiRegionAccessPointOperation.html
3446
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPoint.html
3447
+ #
3448
+ # @option params [required, String] :account_id
3449
+ # The Amazon Web Services account ID for the owner of the Multi-Region
3450
+ # Access Point.
3451
+ #
3452
+ # @option params [String] :next_token
3453
+ # Not currently used. Do not use this parameter.
3454
+ #
3455
+ # @option params [Integer] :max_results
3456
+ # Not currently used. Do not use this parameter.
3457
+ #
3458
+ # @return [Types::ListMultiRegionAccessPointsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3459
+ #
3460
+ # * {Types::ListMultiRegionAccessPointsResult#access_points #access_points} => Array&lt;Types::MultiRegionAccessPointReport&gt;
3461
+ # * {Types::ListMultiRegionAccessPointsResult#next_token #next_token} => String
3462
+ #
3463
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3464
+ #
3465
+ # @example Request syntax with placeholder values
3466
+ #
3467
+ # resp = client.list_multi_region_access_points({
3468
+ # account_id: "AccountId", # required
3469
+ # next_token: "NonEmptyMaxLength1024String",
3470
+ # max_results: 1,
3471
+ # })
3472
+ #
3473
+ # @example Response structure
3474
+ #
3475
+ # resp.access_points #=> Array
3476
+ # resp.access_points[0].name #=> String
3477
+ # resp.access_points[0].alias #=> String
3478
+ # resp.access_points[0].created_at #=> Time
3479
+ # resp.access_points[0].public_access_block.block_public_acls #=> Boolean
3480
+ # resp.access_points[0].public_access_block.ignore_public_acls #=> Boolean
3481
+ # resp.access_points[0].public_access_block.block_public_policy #=> Boolean
3482
+ # resp.access_points[0].public_access_block.restrict_public_buckets #=> Boolean
3483
+ # resp.access_points[0].status #=> String, one of "READY", "INCONSISTENT_ACROSS_REGIONS", "CREATING", "PARTIALLY_CREATED", "PARTIALLY_DELETED", "DELETING"
3484
+ # resp.access_points[0].regions #=> Array
3485
+ # resp.access_points[0].regions[0].bucket #=> String
3486
+ # resp.access_points[0].regions[0].region #=> String
3487
+ # resp.next_token #=> String
3488
+ #
3489
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListMultiRegionAccessPoints AWS API Documentation
3490
+ #
3491
+ # @overload list_multi_region_access_points(params = {})
3492
+ # @param [Hash] params ({})
3493
+ def list_multi_region_access_points(params = {}, options = {})
3494
+ req = build_request(:list_multi_region_access_points, params)
3495
+ req.send_request(options)
3496
+ end
3497
+
2966
3498
  # Returns a list of all Outposts buckets in an Outpost that are owned by
2967
3499
  # the authenticated sender of the request. For more information, see
2968
3500
  # [Using Amazon S3 on Outposts][1] in the *Amazon S3 User Guide*.
@@ -2977,7 +3509,7 @@ module Aws::S3Control
2977
3509
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListRegionalBuckets.html#API_control_ListRegionalBuckets_Examples
2978
3510
  #
2979
3511
  # @option params [required, String] :account_id
2980
- # The account ID of the Outposts bucket.
3512
+ # The Amazon Web Services account ID of the Outposts bucket.
2981
3513
  #
2982
3514
  # @option params [String] :next_token
2983
3515
  #
@@ -3165,8 +3697,8 @@ module Aws::S3Control
3165
3697
  # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointPolicy.html
3166
3698
  #
3167
3699
  # @option params [required, String] :account_id
3168
- # The account ID for owner of the bucket associated with the specified
3169
- # access point.
3700
+ # The Amazon Web Services account ID for owner of the bucket associated
3701
+ # with the specified access point.
3170
3702
  #
3171
3703
  # @option params [required, String] :name
3172
3704
  # The name of the access point that you want to associate with the
@@ -3295,7 +3827,7 @@ module Aws::S3Control
3295
3827
  # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html
3296
3828
  #
3297
3829
  # @option params [required, String] :account_id
3298
- # The account ID of the Outposts bucket.
3830
+ # The Amazon Web Services account ID of the Outposts bucket.
3299
3831
  #
3300
3832
  # @option params [required, String] :bucket
3301
3833
  # The name of the bucket for which to set the configuration.
@@ -3379,19 +3911,21 @@ module Aws::S3Control
3379
3911
  # information, see [Using Amazon S3 on Outposts][2] in the *Amazon S3
3380
3912
  # User Guide*.
3381
3913
  #
3382
- # If you are using an identity other than the root user of the account
3383
- # that owns the Outposts bucket, the calling identity must have the
3384
- # `PutBucketPolicy` permissions on the specified Outposts bucket and
3385
- # belong to the bucket owner's account in order to use this action.
3914
+ # If you are using an identity other than the root user of the Amazon
3915
+ # Web Services account that owns the Outposts bucket, the calling
3916
+ # identity must have the `PutBucketPolicy` permissions on the specified
3917
+ # Outposts bucket and belong to the bucket owner's account in order to
3918
+ # use this action.
3386
3919
  #
3387
3920
  # If you don't have `PutBucketPolicy` permissions, Amazon S3 returns a
3388
3921
  # `403 Access Denied` error. If you have the correct permissions, but
3389
3922
  # you're not using an identity that belongs to the bucket owner's
3390
3923
  # account, Amazon S3 returns a `405 Method Not Allowed` error.
3391
3924
  #
3392
- # As a security precaution, the root user of the account that owns a
3393
- # bucket can always use this action, even if the policy explicitly
3394
- # denies the root user the ability to perform this action.
3925
+ # As a security precaution, the root user of the Amazon Web Services
3926
+ # account that owns a bucket can always use this action, even if the
3927
+ # policy explicitly denies the root user the ability to perform this
3928
+ # action.
3395
3929
  #
3396
3930
  # For more information about bucket policies, see [Using Bucket Policies
3397
3931
  # and User Policies][3].
@@ -3420,7 +3954,7 @@ module Aws::S3Control
3420
3954
  # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketPolicy.html
3421
3955
  #
3422
3956
  # @option params [required, String] :account_id
3423
- # The account ID of the Outposts bucket.
3957
+ # The Amazon Web Services account ID of the Outposts bucket.
3424
3958
  #
3425
3959
  # @option params [required, String] :bucket
3426
3960
  # Specifies the bucket.
@@ -3479,13 +4013,14 @@ module Aws::S3Control
3479
4013
  # [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
3480
4014
  #
3481
4015
  # Use tags to organize your Amazon Web Services bill to reflect your own
3482
- # cost structure. To do this, sign up to get your account bill with tag
3483
- # key values included. Then, to see the cost of combined resources,
3484
- # organize your billing information according to resources with the same
3485
- # tag key values. For example, you can tag several resources with a
3486
- # specific application name, and then organize your billing information
3487
- # to see the total cost of that application across several services. For
3488
- # more information, see [Cost allocation and tagging][3].
4016
+ # cost structure. To do this, sign up to get your Amazon Web Services
4017
+ # account bill with tag key values included. Then, to see the cost of
4018
+ # combined resources, organize your billing information according to
4019
+ # resources with the same tag key values. For example, you can tag
4020
+ # several resources with a specific application name, and then organize
4021
+ # your billing information to see the total cost of that application
4022
+ # across several services. For more information, see [Cost allocation
4023
+ # and tagging][3].
3489
4024
  #
3490
4025
  # <note markdown="1"> Within a bucket, if you add a tag that has the same key as an existing
3491
4026
  # tag, the new value overwrites the old value. For more information, see
@@ -3561,7 +4096,7 @@ module Aws::S3Control
3561
4096
  # [11]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketTagging.html
3562
4097
  #
3563
4098
  # @option params [required, String] :account_id
3564
- # The account ID of the Outposts bucket.
4099
+ # The Amazon Web Services account ID of the Outposts bucket.
3565
4100
  #
3566
4101
  # @option params [required, String] :bucket
3567
4102
  # The Amazon Resource Name (ARN) of the bucket.
@@ -3671,7 +4206,8 @@ module Aws::S3Control
3671
4206
  # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateJob.html
3672
4207
  #
3673
4208
  # @option params [required, String] :account_id
3674
- # The account ID associated with the S3 Batch Operations job.
4209
+ # The Amazon Web Services account ID associated with the S3 Batch
4210
+ # Operations job.
3675
4211
  #
3676
4212
  # @option params [required, String] :job_id
3677
4213
  # The ID for the S3 Batch Operations job whose tags you want to replace.
@@ -3703,9 +4239,75 @@ module Aws::S3Control
3703
4239
  req.send_request(options)
3704
4240
  end
3705
4241
 
4242
+ # Associates an access control policy with the specified Multi-Region
4243
+ # Access Point. Each Multi-Region Access Point can have only one policy,
4244
+ # so a request made to this action replaces any existing policy that is
4245
+ # associated with the specified Multi-Region Access Point.
4246
+ #
4247
+ # This action will always be routed to the US West (Oregon) Region. For
4248
+ # more information about the restrictions around managing Multi-Region
4249
+ # Access Points, see [Managing Multi-Region Access Points][1] in the
4250
+ # *Amazon S3 User Guide*.
4251
+ #
4252
+ # The following actions are related to
4253
+ # `PutMultiRegionAccessPointPolicy`\:
4254
+ #
4255
+ # * [GetMultiRegionAccessPointPolicy][2]
4256
+ #
4257
+ # * [GetMultiRegionAccessPointPolicyStatus][3]
4258
+ #
4259
+ #
4260
+ #
4261
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ManagingMultiRegionAccessPoints.html
4262
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPointPolicy.html
4263
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPointPolicyStatus.html
4264
+ #
4265
+ # @option params [required, String] :account_id
4266
+ # The Amazon Web Services account ID for the owner of the Multi-Region
4267
+ # Access Point.
4268
+ #
4269
+ # @option params [required, String] :client_token
4270
+ # An idempotency token used to identify the request and guarantee that
4271
+ # requests are unique.
4272
+ #
4273
+ # **A suitable default value is auto-generated.** You should normally
4274
+ # not need to pass this option.**
4275
+ #
4276
+ # @option params [required, Types::PutMultiRegionAccessPointPolicyInput] :details
4277
+ # A container element containing the details of the policy for the
4278
+ # Multi-Region Access Point.
4279
+ #
4280
+ # @return [Types::PutMultiRegionAccessPointPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4281
+ #
4282
+ # * {Types::PutMultiRegionAccessPointPolicyResult#request_token_arn #request_token_arn} => String
4283
+ #
4284
+ # @example Request syntax with placeholder values
4285
+ #
4286
+ # resp = client.put_multi_region_access_point_policy({
4287
+ # account_id: "AccountId", # required
4288
+ # client_token: "MultiRegionAccessPointClientToken", # required
4289
+ # details: { # required
4290
+ # name: "MultiRegionAccessPointName", # required
4291
+ # policy: "Policy", # required
4292
+ # },
4293
+ # })
4294
+ #
4295
+ # @example Response structure
4296
+ #
4297
+ # resp.request_token_arn #=> String
4298
+ #
4299
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutMultiRegionAccessPointPolicy AWS API Documentation
4300
+ #
4301
+ # @overload put_multi_region_access_point_policy(params = {})
4302
+ # @param [Hash] params ({})
4303
+ def put_multi_region_access_point_policy(params = {}, options = {})
4304
+ req = build_request(:put_multi_region_access_point_policy, params)
4305
+ req.send_request(options)
4306
+ end
4307
+
3706
4308
  # Creates or modifies the `PublicAccessBlock` configuration for an
3707
- # account. For more information, see [ Using Amazon S3 block public
3708
- # access][1].
4309
+ # Amazon Web Services account. For more information, see [ Using Amazon
4310
+ # S3 block public access][1].
3709
4311
  #
3710
4312
  # Related actions include:
3711
4313
  #
@@ -3721,11 +4323,11 @@ module Aws::S3Control
3721
4323
  #
3722
4324
  # @option params [required, Types::PublicAccessBlockConfiguration] :public_access_block_configuration
3723
4325
  # The `PublicAccessBlock` configuration that you want to apply to the
3724
- # specified account.
4326
+ # specified Amazon Web Services account.
3725
4327
  #
3726
4328
  # @option params [required, String] :account_id
3727
- # The account ID for the account whose `PublicAccessBlock` configuration
3728
- # you want to set.
4329
+ # The account ID for the Amazon Web Services account whose
4330
+ # `PublicAccessBlock` configuration you want to set.
3729
4331
  #
3730
4332
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3731
4333
  #
@@ -3937,7 +4539,8 @@ module Aws::S3Control
3937
4539
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html
3938
4540
  #
3939
4541
  # @option params [required, String] :account_id
3940
- # The account ID associated with the S3 Batch Operations job.
4542
+ # The Amazon Web Services account ID associated with the S3 Batch
4543
+ # Operations job.
3941
4544
  #
3942
4545
  # @option params [required, String] :job_id
3943
4546
  # The ID for the job whose priority you want to update.
@@ -3998,7 +4601,8 @@ module Aws::S3Control
3998
4601
  # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html
3999
4602
  #
4000
4603
  # @option params [required, String] :account_id
4001
- # The account ID associated with the S3 Batch Operations job.
4604
+ # The Amazon Web Services account ID associated with the S3 Batch
4605
+ # Operations job.
4002
4606
  #
4003
4607
  # @option params [required, String] :job_id
4004
4608
  # The ID of the job whose status you want to update.
@@ -4053,7 +4657,7 @@ module Aws::S3Control
4053
4657
  params: params,
4054
4658
  config: config)
4055
4659
  context[:gem_name] = 'aws-sdk-s3control'
4056
- context[:gem_version] = '1.39.0'
4660
+ context[:gem_version] = '1.42.0'
4057
4661
  Seahorse::Client::Request.new(handlers, context)
4058
4662
  end
4059
4663